/* Water footer (round 2, 10.10.2026). Broad, soft, layered waves lead from the page into
   a "water" body that holds the contact actions, the site map and the large MICHAELOV
   wordmark (the logo's own letter paths). The back waves drift very slowly while the footer
   is on screen; the front edge stays still. No layout shift.
   Inverted footer (owner request, 11.10.2026): the footer always shows the other look —
   deep night water under the light site, pale pearl water under the dark site. Its lowest
   colour is the other look's paper, so on the home page the water can flow straight into
   it (footer-water.js). footer[data-tone] (deep|pearl) follows the theme; without
   JavaScript the theme alone decides.
   Logo ending (owner request, 11.10.2026 evening): the copyright, legal and back-to-top row sits
   above the wordmark, so the logo alone ends the page; where the water passes under the screen
   edges and the header logo they follow its front wave exactly, with no colour jump. */
.site-footer.brand-footer.water-footer{
  --wave-h:clamp(92px,12.5vw,196px);
  --depth-top:#24364b;--depth-bottom:#131a25;--depth-ink:#eef2f6;--depth-muted:#b3c1cd;--depth-line:rgba(238,242,246,.16);
  --depth-cta-ink:#18202b;--depth-focus:var(--gold,#efbf04);--glow-a:rgba(107,174,191,.22);--glow-b:rgba(212,151,178,.16);
  --wave-1:linear-gradient(90deg,#dfeaef 0%,#eee0e8 25%,#dfeaef 50%,#eee0e8 75%,#dfeaef 100%);--wave-2:#b4ceda;--wave-3:#7f9eb0;
  position:relative;width:100%;max-width:none;margin:clamp(48px,7vw,110px) 0 0;padding:0;color:var(--depth-ink);background:none;isolation:isolate}
/* Pearl: from the dark page the waves lighten step by step (the mirror of the deep water's
   darkening) into a pale body that ends in the light paper (#f3f3f6). */
html[data-theme=dark] .site-footer.brand-footer.water-footer:not([data-tone=deep]),
.site-footer.brand-footer.water-footer[data-tone=pearl]{
  --depth-top:#d3dee6;--depth-bottom:#f3f3f6;--depth-ink:#151a22;--depth-muted:#485566;--depth-line:rgba(21,26,34,.15);
  --depth-cta-ink:#f3f3f6;--depth-focus:#1f5f6e;--glow-a:rgba(107,174,191,.2);--glow-b:rgba(212,151,178,.15);
  --wave-1:linear-gradient(90deg,#26303d 0%,#2d2735 25%,#26303d 50%,#2d2735 75%,#26303d 100%);--wave-2:#5a6d7e;--wave-3:#8fa5b5}
.water-surface{position:absolute;inset:0 0 auto;height:var(--wave-h);overflow:hidden;pointer-events:none;z-index:0}
.water-wave{position:absolute;left:0;bottom:0;width:200%;height:100%;
  -webkit-mask:var(--wave-shape) repeat-x 0 100%/50% 100%;mask:var(--wave-shape) repeat-x 0 100%/50% 100%}
.water-wave-1{--wave-shape:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath d='M0 200 L0 94.3 C20.0 96.7 40.0 98.6 60.0 99.9 C80.0 101.3 100.0 101.9 120.0 102.2 C140.0 102.6 160.0 102.3 180.0 102.0 C200.0 101.6 220.0 100.9 240.0 100.2 C260.0 99.5 280.0 98.6 300.0 97.8 C320.0 97.1 340.0 96.3 360.0 95.5 C380.0 94.8 400.0 94.2 420.0 93.4 C440.0 92.6 460.0 92.0 480.0 91.0 C500.0 90.0 520.0 89.0 540.0 87.5 C560.0 86.1 580.0 84.4 600.0 82.2 C620.0 80.1 640.0 77.5 660.0 74.6 C680.0 71.7 700.0 68.2 720.0 64.7 C740.0 61.1 760.0 57.1 780.0 53.2 C800.0 49.4 820.0 45.2 840.0 41.6 C860.0 38.0 880.0 34.4 900.0 31.6 C920.0 28.7 940.0 26.3 960.0 24.8 C980.0 23.3 1000.0 22.4 1020.0 22.6 C1040.0 22.7 1060.0 23.7 1080.0 25.5 C1100.0 27.4 1120.0 30.2 1140.0 33.4 C1160.0 36.7 1180.0 40.9 1200.0 45.2 C1220.0 49.4 1240.0 54.3 1260.0 58.9 C1280.0 63.6 1300.0 68.5 1320.0 72.8 C1340.0 77.2 1360.0 81.5 1380.0 85.0 C1400.0 88.6 1420.0 91.8 1440.0 94.3 L1440 200 Z'/%3E%3C/svg%3E");background:var(--wave-1);opacity:.95}
.water-wave-2{--wave-shape:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath d='M0 200 L0 126.1 C20.0 125.9 40.0 125.2 60.0 124.0 C80.0 122.7 100.0 120.9 120.0 118.6 C140.0 116.2 160.0 113.2 180.0 109.9 C200.0 106.5 220.0 102.5 240.0 98.5 C260.0 94.5 280.0 90.0 300.0 85.8 C320.0 81.6 340.0 77.1 360.0 73.3 C380.0 69.5 400.0 65.8 420.0 63.0 C440.0 60.1 460.0 57.7 480.0 56.2 C500.0 54.6 520.0 53.8 540.0 53.8 C560.0 53.8 580.0 54.7 600.0 56.1 C620.0 57.5 640.0 59.8 660.0 62.3 C680.0 64.8 700.0 68.0 720.0 71.2 C740.0 74.3 760.0 77.9 780.0 81.2 C800.0 84.5 820.0 88.0 840.0 91.0 C860.0 94.0 880.0 96.9 900.0 99.3 C920.0 101.8 940.0 103.9 960.0 105.7 C980.0 107.5 1000.0 108.9 1020.0 110.2 C1040.0 111.5 1060.0 112.4 1080.0 113.3 C1100.0 114.3 1120.0 115.0 1140.0 115.8 C1160.0 116.7 1180.0 117.4 1200.0 118.3 C1220.0 119.2 1240.0 120.1 1260.0 121.0 C1280.0 121.9 1300.0 122.9 1320.0 123.7 C1340.0 124.5 1360.0 125.3 1380.0 125.7 C1400.0 126.1 1420.0 126.4 1440.0 126.1 L1440 200 Z'/%3E%3C/svg%3E");background:var(--wave-2);height:96%}
.water-wave-3{--wave-shape:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath d='M0 200 L0 103.2 C20.0 100.7 40.0 98.0 60.0 95.8 C80.0 93.7 100.0 91.6 120.0 90.2 C140.0 88.9 160.0 87.8 180.0 87.6 C200.0 87.3 220.0 87.6 240.0 88.6 C260.0 89.6 280.0 91.3 300.0 93.5 C320.0 95.7 340.0 98.7 360.0 101.8 C380.0 104.9 400.0 108.6 420.0 112.2 C440.0 115.8 460.0 119.8 480.0 123.4 C500.0 127.0 520.0 130.6 540.0 133.7 C560.0 136.7 580.0 139.6 600.0 141.8 C620.0 144.0 640.0 145.8 660.0 147.0 C680.0 148.2 700.0 148.8 720.0 149.0 C740.0 149.3 760.0 148.9 780.0 148.4 C800.0 147.9 820.0 147.0 840.0 146.0 C860.0 145.1 880.0 143.8 900.0 142.7 C920.0 141.6 940.0 140.4 960.0 139.4 C980.0 138.4 1000.0 137.4 1020.0 136.5 C1040.0 135.6 1060.0 134.8 1080.0 134.0 C1100.0 133.1 1120.0 132.4 1140.0 131.5 C1160.0 130.5 1180.0 129.6 1200.0 128.4 C1220.0 127.1 1240.0 125.7 1260.0 124.0 C1280.0 122.3 1300.0 120.4 1320.0 118.2 C1340.0 116.0 1360.0 113.5 1380.0 111.0 C1400.0 108.5 1420.0 105.7 1440.0 103.2 L1440 200 Z'/%3E%3C/svg%3E");background:var(--wave-3);height:92%;opacity:.92}
.water-footer.is-drifting .water-wave-1{animation:water-drift 46s linear infinite}
.water-footer.is-drifting .water-wave-2{animation:water-drift 34s linear infinite reverse}
.water-footer.is-drifting .water-wave-3{animation:water-drift 27s linear infinite}
@keyframes water-drift{to{transform:translateX(-50%)}}
/* The deep body: its own top edge is the front wave, so glow and edge never seam. */
.water-depth{position:relative;z-index:1;padding-top:calc(var(--wave-h) * .82);
  background:radial-gradient(52% 46% at 12% 14%,var(--glow-a),transparent 72%),radial-gradient(42% 50% at 92% 82%,var(--glow-b),transparent 72%),linear-gradient(180deg,var(--depth-top) 0%,var(--depth-bottom) 78%);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath d='M0 200 L0 137.5 C20.0 139.4 40.0 141.3 60.0 143.0 C80.0 144.7 100.0 146.2 120.0 147.5 C140.0 148.9 160.0 150.0 180.0 151.0 C200.0 152.0 220.0 152.7 240.0 153.5 C260.0 154.3 280.0 154.9 300.0 155.6 C320.0 156.3 340.0 157.0 360.0 157.7 C380.0 158.5 400.0 159.3 420.0 160.1 C440.0 160.9 460.0 161.8 480.0 162.7 C500.0 163.5 520.0 164.5 540.0 165.2 C560.0 165.9 580.0 166.6 600.0 166.9 C620.0 167.2 640.0 167.4 660.0 167.1 C680.0 166.8 700.0 166.3 720.0 165.2 C740.0 164.2 760.0 162.8 780.0 161.0 C800.0 159.2 820.0 156.9 840.0 154.5 C860.0 152.1 880.0 149.3 900.0 146.5 C920.0 143.7 940.0 140.6 960.0 137.9 C980.0 135.1 1000.0 132.2 1020.0 129.8 C1040.0 127.5 1060.0 125.2 1080.0 123.6 C1100.0 121.9 1120.0 120.7 1140.0 119.9 C1160.0 119.2 1180.0 119.0 1200.0 119.2 C1220.0 119.5 1240.0 120.3 1260.0 121.4 C1280.0 122.5 1300.0 124.1 1320.0 125.8 C1340.0 127.4 1360.0 129.5 1380.0 131.4 C1400.0 133.4 1420.0 135.5 1440.0 137.5 L1440 200 Z'/%3E%3C/svg%3E") repeat-x 0 0/100% var(--wave-h),linear-gradient(#000,#000) no-repeat 0 var(--wave-h)/100% calc(100% - var(--wave-h) + 1px);
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath d='M0 200 L0 137.5 C20.0 139.4 40.0 141.3 60.0 143.0 C80.0 144.7 100.0 146.2 120.0 147.5 C140.0 148.9 160.0 150.0 180.0 151.0 C200.0 152.0 220.0 152.7 240.0 153.5 C260.0 154.3 280.0 154.9 300.0 155.6 C320.0 156.3 340.0 157.0 360.0 157.7 C380.0 158.5 400.0 159.3 420.0 160.1 C440.0 160.9 460.0 161.8 480.0 162.7 C500.0 163.5 520.0 164.5 540.0 165.2 C560.0 165.9 580.0 166.6 600.0 166.9 C620.0 167.2 640.0 167.4 660.0 167.1 C680.0 166.8 700.0 166.3 720.0 165.2 C740.0 164.2 760.0 162.8 780.0 161.0 C800.0 159.2 820.0 156.9 840.0 154.5 C860.0 152.1 880.0 149.3 900.0 146.5 C920.0 143.7 940.0 140.6 960.0 137.9 C980.0 135.1 1000.0 132.2 1020.0 129.8 C1040.0 127.5 1060.0 125.2 1080.0 123.6 C1100.0 121.9 1120.0 120.7 1140.0 119.9 C1160.0 119.2 1180.0 119.0 1200.0 119.2 C1220.0 119.5 1240.0 120.3 1260.0 121.4 C1280.0 122.5 1300.0 124.1 1320.0 125.8 C1340.0 127.4 1360.0 129.5 1380.0 131.4 C1400.0 133.4 1420.0 135.5 1440.0 137.5 L1440 200 Z'/%3E%3C/svg%3E") repeat-x 0 0/100% var(--wave-h),linear-gradient(#000,#000) no-repeat 0 var(--wave-h)/100% calc(100% - var(--wave-h) + 1px)}
.water-inner{box-sizing:border-box;width:100%;max-width:calc(var(--content-max,1480px) + var(--content-gutter,84px) * 2);margin-inline:auto;padding:clamp(18px,3vw,40px) var(--content-gutter,84px) clamp(24px,3.4vw,52px)}
.water-footer .brand-footer-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,1fr);gap:clamp(36px,6vw,110px);align-items:start}
.water-footer .brand-footer-contact h2{font-size:clamp(34px,4.2vw,60px);line-height:1.12;margin:0 0 18px;color:var(--depth-ink)}
.water-footer .brand-footer-lead{font-size:clamp(17px,1.4vw,21px);line-height:1.7;margin:0;color:var(--depth-ink);max-width:34ch}
.water-footer .brand-footer-promise{font-size:15px;line-height:1.75;margin:6px 0 0;color:var(--depth-muted);max-width:44ch}
.water-footer .brand-footer-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 14px;margin-top:28px}
.water-footer .brand-footer-actions>a{display:inline-flex;align-items:center;gap:12px;min-height:50px;padding:12px 22px;border-radius:999px;font-size:16px;line-height:1.3;text-decoration:none;transition:background-color .3s ease,color .3s ease,border-color .3s ease}
.water-footer .brand-footer-cta{background:var(--depth-ink);color:var(--depth-cta-ink);border:1px solid var(--depth-ink)}
.water-footer .brand-footer-wa{border:1px solid color-mix(in srgb,var(--depth-ink) 42%,transparent);color:var(--depth-ink);margin:0}
.water-footer .brand-footer-actions svg{width:18px;height:18px;flex:none}
html[dir=ltr] .water-footer .brand-footer-actions svg{transform:scaleX(-1)}
.water-footer .brand-footer-direct{display:flex;flex-wrap:wrap;gap:4px 26px;margin-top:22px}
.water-footer .brand-footer-direct a{display:inline-flex;align-items:center;min-height:44px;color:var(--depth-muted);font-size:16px}
.water-footer .brand-footer-map h3{font-size:15px;letter-spacing:.02em;color:var(--depth-muted);margin:6px 0 12px}
.water-footer .brand-footer-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}
.water-footer .brand-footer-columns ul{list-style:none;margin:0;padding:0}
.water-footer .brand-footer-map a{display:flex;align-items:center;min-height:44px;font-size:16px;color:var(--depth-ink)}
/* The wordmark sinks into the water: full colour on top, fading toward the depth. It is the last
   thing on the page. */
.water-wordmark{max-width:none;margin:clamp(34px,4.6vw,72px) 0 0;color:var(--depth-ink);line-height:0;
  -webkit-mask-image:linear-gradient(180deg,#000 42%,rgba(0,0,0,.26) 100%);mask-image:linear-gradient(180deg,#000 42%,rgba(0,0,0,.26) 100%)}
.water-footer .water-wordmark-svg{display:block;width:100%;height:auto;overflow:visible;flex:none}
/* Copyright, legal links and back to top: one quiet row between the contact area and the wordmark. */
.water-footer .brand-footer-bottom{display:flex;flex-wrap:wrap;align-items:center;gap:2px 28px;margin-top:clamp(40px,5vw,76px);padding:10px 0 0;border-top:1px solid var(--depth-line);color:var(--depth-muted);font-size:14px}
.water-footer .brand-footer-copy{margin-inline-end:auto}
.water-footer .brand-footer-legal{display:flex;flex-wrap:wrap;gap:0 22px}
.water-footer .brand-footer-bottom a{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:var(--depth-muted)}
.water-footer .brand-footer-bottom svg{width:18px;height:18px}
.water-footer a{color:inherit}
.water-footer a:focus-visible{outline:2px solid var(--depth-focus);outline-offset:4px;border-radius:6px}
@media(hover:hover) and (pointer:fine){
  .water-footer .brand-footer-cta:hover{background:transparent;color:var(--depth-ink)}
  .water-footer .brand-footer-wa:hover{border-color:var(--depth-ink);text-decoration:none}
  .water-footer .brand-footer-actions>a:hover{text-decoration:none}
}
/* Where the footer's water passes under the screen edges and the header logo, they follow the
   water's own front wave (the edge of .water-depth) exactly, so nothing changes colour at once.
   footer-water.js places that wave relative to each element: --wx/--wy (tile origin), --ww/--wh
   (tile size), --we (where the water ends, during the home loop) and --ws (its soft end), with
   data-water (deep|pearl). Paper fog covers all but the water, the water fog only the water; the
   header logo shows its page version above the wave and its water version below it. */
:root{--water-front:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath d='M0 200 L0 137.5 C20.0 139.4 40.0 141.3 60.0 143.0 C80.0 144.7 100.0 146.2 120.0 147.5 C140.0 148.9 160.0 150.0 180.0 151.0 C200.0 152.0 220.0 152.7 240.0 153.5 C260.0 154.3 280.0 154.9 300.0 155.6 C320.0 156.3 340.0 157.0 360.0 157.7 C380.0 158.5 400.0 159.3 420.0 160.1 C440.0 160.9 460.0 161.8 480.0 162.7 C500.0 163.5 520.0 164.5 540.0 165.2 C560.0 165.9 580.0 166.6 600.0 166.9 C620.0 167.2 640.0 167.4 660.0 167.1 C680.0 166.8 700.0 166.3 720.0 165.2 C740.0 164.2 760.0 162.8 780.0 161.0 C800.0 159.2 820.0 156.9 840.0 154.5 C860.0 152.1 880.0 149.3 900.0 146.5 C920.0 143.7 940.0 140.6 960.0 137.9 C980.0 135.1 1000.0 132.2 1020.0 129.8 C1040.0 127.5 1060.0 125.2 1080.0 123.6 C1100.0 121.9 1120.0 120.7 1140.0 119.9 C1160.0 119.2 1180.0 119.0 1200.0 119.2 C1220.0 119.5 1240.0 120.3 1260.0 121.4 C1280.0 122.5 1300.0 124.1 1320.0 125.8 C1340.0 127.4 1360.0 129.5 1380.0 131.4 C1400.0 133.4 1420.0 135.5 1440.0 137.5 L1440 200 Z'/%3E%3C/svg%3E")}
.edge-glass.has-water,.site-head .wordmark.has-water{--wx:0px;--wy:300000px;--ww:1440px;--wh:180px;--we:600000px;--ws:1px}
.edge-glass-top.has-water{--edge-fade:linear-gradient(to bottom,#000 0%,#000 26%,transparent 92%)}
.edge-glass-bottom.has-water{--edge-fade:linear-gradient(to top,#000 0%,transparent 72%)}
.edge-glass.has-water::before{-webkit-mask-image:var(--edge-fade),linear-gradient(#000 calc(100% - var(--ws)),transparent),var(--water-front);mask-image:var(--edge-fade),linear-gradient(#000 calc(100% - var(--ws)),transparent),var(--water-front);-webkit-mask-position:0 0,0 calc(var(--wy) + var(--wh) - 1px),var(--wx) var(--wy);mask-position:0 0,0 calc(var(--wy) + var(--wh) - 1px),var(--wx) var(--wy);-webkit-mask-size:100% 100%,100% max(0px,calc(var(--we) - var(--wy) - var(--wh) + 1px)),var(--ww) var(--wh);mask-size:100% 100%,100% max(0px,calc(var(--we) - var(--wy) - var(--wh) + 1px)),var(--ww) var(--wh);-webkit-mask-repeat:no-repeat,no-repeat,repeat-x;mask-repeat:no-repeat,no-repeat,repeat-x;-webkit-mask-composite:source-out,source-over,source-over;mask-composite:subtract,add,add}
.edge-glass.has-water>.edge-water{position:absolute;inset:0;pointer-events:none;opacity:0;-webkit-mask-image:var(--edge-fade),linear-gradient(#000 calc(100% - var(--ws)),transparent),var(--water-front);mask-image:var(--edge-fade),linear-gradient(#000 calc(100% - var(--ws)),transparent),var(--water-front);-webkit-mask-position:0 0,0 calc(var(--wy) + var(--wh) - 1px),var(--wx) var(--wy);mask-position:0 0,0 calc(var(--wy) + var(--wh) - 1px),var(--wx) var(--wy);-webkit-mask-size:100% 100%,100% max(0px,calc(var(--we) - var(--wy) - var(--wh) + 1px)),var(--ww) var(--wh);mask-size:100% 100%,100% max(0px,calc(var(--we) - var(--wy) - var(--wh) + 1px)),var(--ww) var(--wh);-webkit-mask-repeat:no-repeat,no-repeat,repeat-x;mask-repeat:no-repeat,no-repeat,repeat-x;-webkit-mask-composite:source-in,source-over,source-over;mask-composite:intersect,add,add}
.edge-glass-top[data-water=deep]>.edge-water{background:#1c2737;opacity:.9}
.edge-glass-top[data-water=pearl]>.edge-water{background:#e2e9ee;opacity:.9}
.edge-glass-bottom[data-water=deep]>.edge-water{background:#141b26;opacity:.62}
.edge-glass-bottom[data-water=pearl]>.edge-water{background:#f1f2f5;opacity:.62}
@media(prefers-reduced-transparency:reduce){.edge-glass-top[data-water]>.edge-water{opacity:.97}.edge-glass-bottom[data-water]>.edge-water{opacity:.8}}
.site-head .wordmark.has-water{display:grid}
.site-head .wordmark.has-water>img{display:block;grid-area:1/1;transition:opacity .45s ease}
html:not([data-theme=dark]) .site-head .wordmark.has-water>.brand-light,
html[data-theme=dark] .site-head .wordmark.has-water>.brand-dark{-webkit-mask-image:linear-gradient(#000,#000),linear-gradient(#000 calc(100% - var(--ws)),transparent),var(--water-front);mask-image:linear-gradient(#000,#000),linear-gradient(#000 calc(100% - var(--ws)),transparent),var(--water-front);-webkit-mask-position:0 0,0 calc(var(--wy) + var(--wh) - 1px),var(--wx) var(--wy);mask-position:0 0,0 calc(var(--wy) + var(--wh) - 1px),var(--wx) var(--wy);-webkit-mask-size:100% 100%,100% max(0px,calc(var(--we) - var(--wy) - var(--wh) + 1px)),var(--ww) var(--wh);mask-size:100% 100%,100% max(0px,calc(var(--we) - var(--wy) - var(--wh) + 1px)),var(--ww) var(--wh);-webkit-mask-repeat:no-repeat,no-repeat,repeat-x;mask-repeat:no-repeat,no-repeat,repeat-x;-webkit-mask-composite:source-out,source-over,source-over;mask-composite:subtract,add,add}
html:not([data-theme=dark]) .site-head .wordmark.has-water>.brand-dark,
html[data-theme=dark] .site-head .wordmark.has-water>.brand-light{-webkit-mask-image:linear-gradient(#000 calc(100% - var(--ws)),transparent),var(--water-front);mask-image:linear-gradient(#000 calc(100% - var(--ws)),transparent),var(--water-front);-webkit-mask-position:0 calc(var(--wy) + var(--wh) - 1px),var(--wx) var(--wy);mask-position:0 calc(var(--wy) + var(--wh) - 1px),var(--wx) var(--wy);-webkit-mask-size:100% max(0px,calc(var(--we) - var(--wy) - var(--wh) + 1px)),var(--ww) var(--wh);mask-size:100% max(0px,calc(var(--we) - var(--wy) - var(--wh) + 1px)),var(--ww) var(--wh);-webkit-mask-repeat:no-repeat,repeat-x;mask-repeat:no-repeat,repeat-x;-webkit-mask-composite:source-over,source-over;mask-composite:add,add}
/* Home loop: while the footer's wordmark travels up to become the header logo, the header logo
   itself waits out of sight, then completes around it. */
body[data-logo-travel] .site-head .wordmark.has-water>img{opacity:0;transition-duration:.22s}
/* Home: the way on into the other look, beside the way back up. Its line fills while the visitor
   keeps scrolling. */
.footer-loop-hint{position:relative;display:inline-flex;align-items:center;gap:10px;min-height:44px;color:var(--depth-muted);opacity:.82;transition:opacity .4s ease}
.footer-loop-meter{position:absolute;inset-inline:0;bottom:6px;height:1px;background:var(--depth-line);overflow:hidden;direction:ltr}
.footer-loop-meter i{position:absolute;inset:0;background:linear-gradient(90deg,#6baebf,#d497b2);transform:scaleX(var(--loop-progress,0));transform-origin:center}
/* The descent: one fixed sheet that carries a frozen copy of the footer, the water that
   continues below it (the next look's paper) and a mist into that look's live background.
   Under the edge blur, glass and header (z 24-30), above the content (z 2), like scrolling. */
.footer-loop-sheet{position:fixed;top:0;left:0;right:0;z-index:20;pointer-events:none;will-change:transform;contain:layout style}
/* The copy sits exactly where the real footer is: without its top margin (the footer's own rule is
   more specific than a plain child selector). */
.footer-loop-sheet>.site-footer.brand-footer.water-footer{margin:0}
.footer-loop-deep,.footer-loop-mist{display:block;width:100%}
/* The water overlaps the copy's last pixel row: no hairline between them at any position. */
.footer-loop-sheet>.water-footer+.footer-loop-deep{margin-top:-1px}
/* The footer's wordmark on its way up into the header (one fixed layer above the edge fog). */
.footer-loop-logo{position:fixed;z-index:29;margin:0;pointer-events:none;line-height:0;transform-origin:50% 50%;will-change:transform;
  -webkit-mask-image:linear-gradient(180deg,#000 42%,rgba(0,0,0,var(--wm-fade,.26)) 100%);mask-image:linear-gradient(180deg,#000 42%,rgba(0,0,0,var(--wm-fade,.26)) 100%)}
.footer-loop-logo>svg{display:block;width:100%;height:100%;overflow:visible}
/* The live background changes look at once while it is hidden (it would otherwise fade for .65 s). */
html.footer-loop-cut .live-atmosphere,html.footer-loop-cut .live-atmosphere *{transition:none!important}
@media(max-width:860px){
  .water-footer .brand-footer-grid{grid-template-columns:1fr;gap:34px}
  .water-footer .brand-footer-actions>a{flex:1 1 auto;justify-content:center}
}
@media(max-width:760px){.water-inner{padding-inline:24px}.water-footer .brand-footer-bottom{gap:0 22px}.water-footer .brand-footer-copy{flex-basis:100%;margin:0 0 2px}}
@media(prefers-reduced-motion:reduce){.water-footer.is-drifting .water-wave{animation:none}.water-footer .brand-footer-actions>a{transition:none}}
body[data-motion-paused=true] .water-footer .water-wave{animation:none}
@media(forced-colors:active){.water-depth{-webkit-mask:none;mask:none}.water-surface{display:none}.edge-glass.has-water>.edge-water{display:none}}

/* Round 2 polish: the tagline stays one phrase. */
.water-footer .brand-footer-copy>span{white-space:nowrap}
@media(max-width:800px){
  .water-footer .brand-footer-copy{min-width:0;max-width:100%;overflow-wrap:anywhere}
  .water-footer .brand-footer-copy>span{white-space:normal}
}
/* The page scrollbar keeps the site's own colours (as on the body) from the start; near the footer
   footer-water.js blends it toward the water (inline on html), and hides the thumb during the loop. */
html:has(.water-footer){scrollbar-color:#8c9ba6 var(--paper)}
