/* Hero scene mock, round 3: one illustrated world; a camera pans from the skyline down to Waterfront Park. */
.scene-hero{
  --p:0; --sun:0; --part:0; --focus:0; --emerge:1;
  --sky1:#b9d6e4; --sky2:#dde6e0; --sky3:#fbe7c8; --warm1:#f8c49a; --warm2:#f3cdb8; --warm-op:calc(1 - var(--sun));
  --sunc:#fff3d1; --water1:#5a9a9c; --water2:#2f6772; --shim:#e9f4ef; --shore:#6f8a62;
  --brg:#f2eee6; --brg2:#b9b2a6; --cable:#fbf8f2; --beacon:#e5574c; --tree:#5f7f57; --win:#3a4650; --wall:#cdbfa6; --land:#7d8f63;
  --white:#f7f3ea; --tan:#d6b183; --palm:#4f7a45; --trunkc:#8a6a4a;
  --lawn:#8fab5f; --walk:#e4d6bd; --rail:#2e3438; --stone:#d9d2c3; --stone2:#b5ab98; --stone3:#8f8676; --poolw:#9fd2d8; --ripple:#e8f7f8; --jet:#ffffff;
  --lip:#b48d58; --stem:#5a3f22; --stem2:#9c7a4a;
  --mud:#6a5139; --soil:#5d4733; --soil2:#4a3727;
  --blade0:#c6a24a; --blade1:#8fa548; --blade2:#6f8c3c;
  --ph:#56624a; --phline:#2f3a2a; --phfill:#9aa982; --bird:#46525c;
  --ship:#f7f4ee; --ship2:#cfc9bd; --navy:#234260; --stripe:#c8553d; --glass:#4a5a66; --lifeboat:#e58a3c;
  position:relative;
}
@scope (:root[data-mode="dark"]){
  .scene-hero{
    --sky1:#1c2741; --sky2:#4b3a5c; --sky3:#c77a5a; --warm1:#e5915d; --warm2:#f3c58a; --warm-op:calc(var(--sun) * .8);
    --sunc:#ffd9a0; --water1:#2c5561; --water2:#142c35; --shim:#f0c89a; --shore:#33453a;
    --brg:#d6cfc2; --brg2:#7c766c; --cable:#ece4d6; --beacon:#ff6a55; --tree:#2f4a36; --win:#ffd98f; --wall:#6b6152; --land:#3d4a35;
    --white:#d9d3c8; --tan:#a9875f; --palm:#2f4f30; --trunkc:#5b4632;
    --lawn:#4d6236; --walk:#8d8170; --rail:#141719; --stone:#8a8275; --stone2:#5f584e; --stone3:#403b34; --poolw:#4f7f8a; --ripple:#a7c8cc; --jet:#f3ead8;
    --lip:#806540; --stem:#3f2c18; --stem2:#6e5634;
    --mud:#43331f; --soil:#3a2b1f; --soil2:#2b1f16;
    --blade0:#9c7f37; --blade1:#6d7f34; --blade2:#4f652b;
    --ph:#7f8f6c; --phline:#c8d4b8; --phfill:#46563f; --bird:#f0cfa6;
    --ship:#cfc8bb; --ship2:#8d877c; --navy:#152a3f; --stripe:#8f4030; --glass:#ffd98f; --lifeboat:#b56c30;
  }
}
/* The stage stays pinned for one screen of scrolling, the length of the scene. The track ends there, so once the
   text has landed the stage scrolls away with it and the text keeps its place on the picture. */
.scene-hero > .track{position:absolute;inset:0 0 auto 0;height:200vh;height:200lvh}
.stage{position:sticky;top:0;height:100vh;height:100lvh;overflow:hidden;z-index:0}
/* measures the screen with the phone browser's bars showing; the opening shot is framed for that height */
.small-screen-probe{position:fixed;top:0;left:0;width:0;height:100vh;height:100svh;visibility:hidden;pointer-events:none}
/* when the text is taller than the screen it runs on below the picture; the picture's foot fades into the page there */
.foot{display:none}
.scene-hero.long .foot{display:block;inset:auto 0 0 0;height:22%;background:linear-gradient(transparent,var(--bg));opacity:var(--focus);pointer-events:none}
.stage > *{position:absolute}
.world{inset:0;width:100%;height:100%;display:block}
/* with the script running, the world is one layer drawn once; the camera moves it (hero-scene.js, place and draw) */
.world.cam{inset:auto;left:0;top:0;transform-origin:0 0;will-change:transform}
.sky-warm{opacity:calc(1 - var(--sun))}
@scope (:root[data-mode="dark"]){ .sky-warm{opacity:calc(var(--sun) * .8)} }
.sun{transform:translateY(calc(var(--sun) * -170px))}
.cloudart{opacity:.85}
.backrow{opacity:.8}
.far-shore{fill:var(--shore)}
.water-marks .sh{fill:var(--shim);opacity:.4}
.water-marks .glint{fill:var(--sunc);opacity:.9;transform-box:fill-box;transform-origin:center}
.water-marks .glint.side{opacity:.7}
/* the glints brighten with the sunrise as one group, so the browser fades one layer instead of restyling each glint */
#glints{opacity:calc(.67 + var(--sun) * .33)}
/* Parts that change while the reader scrolls each get a layer of their own, so the browser moves or fades that
   layer and does not redraw the picture around it (traced 2026-12-03: each of these redrew the scene every frame). */
.sun,#boat,.oak-side,.marsh-side{will-change:transform}
.sky-warm,#glints,.fish,.title-screen h1{will-change:opacity}
.fish{fill:var(--shim);opacity:0}
/* the Ravenel Bridge: the asset-sheet drawing, scaled down inside .rb */
.neck{fill:var(--shore)}
.rb .refl{fill:var(--brg);opacity:.14}
.rb .pier,.rb .leg-shade,.rb .strut,.rb .footing,.rb .girder-shade{fill:var(--brg2)}
.rb .pier-lit{fill:var(--brg);opacity:.7}
.rb .leg-lit,.rb .girder{fill:var(--brg)}
.rb .rail{fill:none;stroke:var(--cable);stroke-width:2}
.rb .cables path{stroke:var(--cable);stroke-width:2.6;fill:none}
.rb .cables.far path{opacity:.45;stroke-width:1.9}
.rb .beacon{fill:var(--beacon)}
/* redraw: sand-toned concrete, a finer cable fan */
.rb.v2{--brg:#dcc594;--brg2:#84836c;--cable:#fffdf6}
.rb.v2 .cables path{stroke-width:1.9} .rb.v2 .cables.far path{stroke-width:1.3;opacity:.55}
.rb.v2 .girder{fill:var(--brg2)} .rb.v2 .girder-shade{fill:#5f6252} .rb.v2 .rail{stroke-width:3}
@scope (:root[data-mode="dark"]){ .rb.v2{--brg:#c9b994;--brg2:#6c6b5a;--cable:#efe6d2} }
.boat .hull{fill:#6b4b35}.boat .mast{stroke:#4a3a2c;stroke-width:3}
.boat .sail{fill:#fbf7ef;stroke:#d8cfbf;stroke-width:1.5}
.city .land{fill:var(--land)}
.city .tree{fill:var(--tree)}
.city .win{fill:var(--win);opacity:.5}
.city .roofline{stroke:var(--wall);stroke-width:5}
.city .seawall{fill:var(--wall)}
.steeple.white{fill:var(--white)}
.steeple.tan{fill:var(--tan)}
.city .clock{fill:#2d3a44;opacity:.75}
.city .arch{fill:#2d3a44;opacity:.45}
.palm-trunk{fill:none;stroke:var(--trunkc);stroke-width:9;stroke-linecap:round}
.palm.small .palm-trunk{stroke-width:5}
.fronds path{fill:none;stroke:var(--palm);stroke-width:9;stroke-linecap:round}
.palm.small .fronds path{stroke-width:6}
.lawn{fill:var(--lawn)}
.walk{fill:var(--walk)}
.rail path{fill:none;stroke:var(--rail);stroke-width:5}
.rail path:first-child{stroke-width:7}
.rail path.thin{stroke-width:3}
.coping-top{fill:var(--stone)}
.coping-edge{fill:none;stroke:var(--stone2);stroke-width:5}
.wall-face{fill:var(--stone2)}
.wall-joint{fill:none;stroke:var(--stone3);stroke-width:2;opacity:.6}
.wall-cut{fill:var(--stone2);stroke:var(--stone3);stroke-width:2}
.shade{fill:#1d2a16;opacity:.22}
/* the pineapple fountain: the asset-sheet drawing, scaled down inside .pf */
.pf .coping{fill:var(--stone2)} .pf .coping-top{fill:var(--stone)}
.pf .poolw,.pf .basin-water{fill:var(--poolw)}
.pf .ripple{fill:none;stroke:var(--ripple);stroke-width:2;opacity:.5}
.pf .lip{fill:none;stroke:var(--lip);stroke-width:7}
.pf path[stroke]{stroke-width:1.2}
.pf .stem{fill:var(--stem)} .pf .stem-lit{fill:var(--stem2)}
.pf .stream,.pf .spout,.pf .arc,.pf .trickle{fill:none;stroke:var(--jet);stroke-linecap:round}
.pf .stream{stroke-width:2.8;stroke-dasharray:16 9}
.pf .spout{stroke-width:6;opacity:.7}
.pf .wall{fill:var(--stone2)} .pf path.joint{fill:none;stroke:var(--stone3);stroke-width:1.6;opacity:.55}
.pf path.stream.w2{stroke-width:3.4;stroke-dasharray:40 8}
.pf .splash{fill:none;stroke:var(--jet);stroke-width:1.4}
.pf .arc{stroke-width:3.4;opacity:.7;stroke-dasharray:14 8}
.pf .trickle{stroke-width:2.8;opacity:.55;stroke-dasharray:18 12}
@scope (:root[data-mode="dark"]){ .pf [style*="--d"]{fill:var(--d)} .pf [style*="--e"]{stroke:var(--e)} }
.mud{fill:var(--mud)}
.blade{fill:none;stroke-width:4;stroke-linecap:round}
.blade.b0{stroke:var(--blade0)}.blade.b1{stroke:var(--blade1)}.blade.b2{stroke:var(--blade2)}
.sway{transform-box:fill-box;transform-origin:bottom center}
/* illustrated cut-outs (oak, heron, palmettos, cordgrass, dog); they are painted in dawn light, so night dims them */
@scope (:root[data-mode="dark"]){ .art{filter:brightness(.58) saturate(.8)} }
/* placeholders for art still to come */
.ph text{font:600 22px var(--sans);fill:var(--phline);text-anchor:middle;letter-spacing:.02em}
.ph text.sub{font-weight:400;font-size:17px;opacity:.85}
.moss{fill:none;stroke:color-mix(in srgb,var(--ph) 70%,#b8c4a8);stroke-width:4;stroke-linecap:round;transform-box:fill-box;transform-origin:top center}
/* at the end the oak and the marsh ease outward to frame the text */
.oak-side{transform:translateX(calc(var(--part) * -40px))}
.marsh-side{transform:translateX(calc(var(--part) * 40px))}
/* the focus pull: the centre softens behind the text, the margins stay sharp */
.focus{inset:0;backdrop-filter:blur(calc(var(--focus) * 7px));-webkit-backdrop-filter:blur(calc(var(--focus) * 7px));
  -webkit-mask-image:linear-gradient(90deg,transparent calc(50% - 37rem),#000 calc(50% - 28rem),#000 calc(50% + 28rem),transparent calc(50% + 37rem));
  mask-image:linear-gradient(90deg,transparent calc(50% - 37rem),#000 calc(50% - 28rem),#000 calc(50% + 28rem),transparent calc(50% + 37rem))}
.focus::before{content:"";position:absolute;inset:0;background:var(--bg);opacity:calc(var(--focus) * .62)}
.scene-hero:not(.focused) .focus{display:none}
.scene-alt{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.scene-hero{min-height:200vh;min-height:200lvh}
.scene-flow{position:relative;z-index:1}
.title-screen{height:118vh;height:118lvh;padding-top:12svh;text-align:center}
.title-screen h1{font-size:clamp(2.5rem,6.2vw,7rem)!important;white-space:normal!important;line-height:1.02;letter-spacing:-.02em;margin:0 auto;max-width:14ch;
  color:#1e2329;text-shadow:0 1px 24px color-mix(in srgb,var(--sky3) 80%,transparent);opacity:calc(1 - var(--p) * 1.6)}
@scope (:root[data-mode="dark"]){ .title-screen h1{color:#f6efe4;text-shadow:0 1px 24px rgba(0,0,0,.45)} }
/* The headline stands off the picture: a toned fill, light at the top of each letter, a
   tight edge shadow and a wide soft one. The shadows are filters because a text-shadow would paint over a clipped fill. */
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .title-screen h1{--t1:#0f1317;--t2:#2b333d;--edge:rgba(255,250,240,.85);--halo:rgba(251,231,200,.95);
    background:linear-gradient(180deg,var(--t1),var(--t2));-webkit-background-clip:text;background-clip:text;
    color:transparent;-webkit-text-fill-color:transparent;text-shadow:none;padding:.12em .08em .2em;
    filter:drop-shadow(0 1px 0 var(--edge)) drop-shadow(0 4px 22px var(--halo))}
  @scope (:root[data-mode="dark"]){
    .title-screen h1{--t1:#fffaf0;--t2:#f0cf9a;--edge:rgba(12,10,22,.7);--halo:rgba(8,8,20,.75);
      filter:drop-shadow(0 2px 1px var(--edge)) drop-shadow(0 8px 26px var(--halo))}
  }
}
.bird{fill:var(--bird);opacity:.9}
.bird .p{opacity:0}.bird .pg{opacity:1}   /* still, or motion off: the glide pose */
.overview{max-width:46rem;margin-inline:auto;padding-bottom:0;text-align:center;
  opacity:var(--emerge);filter:blur(calc((1 - var(--emerge)) * 8px));transform:scale(calc(.97 + var(--emerge) * .03))}
@font-face{font-family:"Cormorant Garamond";src:url(fonts/cormorant-italic.ttf) format("truetype");font-style:italic;font-weight:300 700;font-display:swap}
.overview .lede,.overview .bio{font-family:"Cormorant Garamond",var(--serif);font-style:italic;font-weight:500;line-height:1.24}
.overview .lede{font-size:clamp(1.75rem,1.3rem + 1vw,2.15rem)}
.overview .bio{font-size:clamp(1.4rem,1.15rem + .6vw,1.7rem)}
/* "your business" must catch the eye: colour, weight and a thick warm underline */
.overview .lede strong{color:var(--accent);font-weight:700;white-space:nowrap}
/* the bio is a second, separate statement at the same size: a short rule sets it apart */
.overview .bio::before{content:"";display:block;width:3.5rem;height:2px;margin:1.5rem auto;background:var(--warm);border-radius:1px}
.overview .where{color:var(--muted);margin-bottom:0}

/* Idle motion: slow, transform and opacity only */
@media (prefers-reduced-motion: no-preference){
  .scene-hero:not(.paused) .sway{animation:sway 7s ease-in-out infinite alternate}
  .scene-hero:not(.paused) .sway.w1{animation-duration:9s;animation-delay:-3s}
  .scene-hero:not(.paused) .sway.w2{animation-duration:11s;animation-delay:-6s}
  .scene-hero:not(.paused) .moss{animation:sway 8s ease-in-out infinite alternate}
  .scene-hero:not(.paused) .moss.m1{animation-delay:-2.5s}.scene-hero:not(.paused) .moss.m2{animation-delay:-5s}
  .scene-hero:not(.paused) .fronds{transform-box:fill-box;transform-origin:bottom center;animation:sway 9s ease-in-out infinite alternate}
  .scene-hero:not(.paused) .bob{animation:bob 5s ease-in-out infinite alternate}
  /* birds: each flock crosses the sky on its own clock, whatever the scroll position; wings beat out of step */
  .scene-hero:not(.paused) .flock{animation:cross 78s linear infinite}
  .scene-hero:not(.paused) .flock.f1{animation-duration:96s;animation-delay:-58s}
  .scene-hero:not(.paused) .flock.f2{animation-duration:112s;animation-delay:-30s}
  .scene-hero:not(.paused) .drift{animation:drift var(--dt) ease-in-out infinite alternate;animation-delay:var(--dd)}
  /* water: every glint fades and slides on its own clock; the sun's streaks also stretch and shrink */
  .scene-hero:not(.paused) .water-marks .sh{animation:shim var(--dt) ease-in-out infinite alternate;animation-delay:var(--dd)}
  .scene-hero:not(.paused) .water-marks .glint{animation:twinkle var(--dt) ease-in-out infinite alternate;animation-delay:var(--dd)}
  /* a third of the falling streams move; the rest stay still, so a phone repaints fewer strokes per frame */
  .scene-hero:not(.paused) .pf .stream:nth-of-type(3n),.scene-hero:not(.paused) .pf .arc,
  .scene-hero:not(.paused) .pf .trickle{animation:fall 1.3s steps(16) infinite}
  /* Falling water is the one motion the browser must redraw, not just move. It steps 12 times a second instead of
     every frame, and holds still while the camera moves. */
  .scene-hero.moving .pf *{animation-play-state:paused}
}
@keyframes sway{from{transform:rotate(-1.6deg)}to{transform:rotate(1.6deg)}}
@keyframes cross{from{transform:translate(var(--a),0)}50%{transform:translate(var(--m),-22px)}to{transform:translate(var(--b),0)}}
@keyframes drift{from{transform:translate(-3px,-2px)}to{transform:translate(4px,2.5px)}}
@keyframes bob{from{transform:translateY(0) rotate(-1.5deg)}to{transform:translateY(3px) rotate(1.5deg)}}
@keyframes shim{from{transform:translateX(-8px);opacity:0}to{transform:translateX(10px);opacity:.6}}
@keyframes twinkle{from{transform:scaleX(.55);opacity:.25}to{transform:scaleX(1.1)}}
@keyframes fall{to{stroke-dashoffset:-50}}

/* Narrow screens: no side margins, so the scene softens behind the whole text column */
@media (max-width:68.75rem){
  .focus{-webkit-mask-image:none;mask-image:none}
  .focus::before{opacity:calc(var(--focus) * .74)}
  .title-screen{padding-top:9svh}
  .overview{padding:0 var(--s5)}
  .scene-hero.long .overview{padding-bottom:3rem}
}
@media (min-width:68.8125rem){@scope (:root[data-mode="dark"]){ .focus::before{opacity:calc(var(--focus) * .72)}}}
/* cruise ship (asset sheet drawing) */
.cs .hull,.cs .deck{fill:var(--ship)} .cs .hull-shade{fill:var(--ship2);opacity:.6}
.cs .boot{fill:var(--navy)} .cs .stripe{fill:var(--stripe)}
.cs .port,.cs .glass{fill:var(--glass)}
.cs .deck-edge{fill:none;stroke:var(--ship2);stroke-width:5}
.cs .lifeboat{fill:var(--lifeboat)} .cs .davit{fill:none;stroke:var(--ship2);stroke-width:3}
.cs .funnel{fill:var(--navy)} .cs .funnel-band{fill:var(--stripe)}
.cs .mast{fill:none;stroke:var(--ship2);stroke-width:5} .cs .dome{fill:var(--ship)}
/* birds:generated */
@keyframes bird0g{0.00%{opacity:0}35.90%{opacity:1}}
@keyframes bird0u{0.00%{opacity:1}2.15%{opacity:0}8.97%{opacity:1}11.13%{opacity:0}17.95%{opacity:1}20.10%{opacity:0}26.92%{opacity:1}29.08%{opacity:0}}
@keyframes bird0d1{0.00%{opacity:0}2.15%{opacity:1}3.50%{opacity:0}11.13%{opacity:1}12.47%{opacity:0}20.10%{opacity:1}21.45%{opacity:0}29.08%{opacity:1}30.42%{opacity:0}}
@keyframes bird0d{0.00%{opacity:0}3.50%{opacity:1}5.74%{opacity:0}12.47%{opacity:1}14.72%{opacity:0}21.45%{opacity:1}23.69%{opacity:0}30.42%{opacity:1}32.67%{opacity:0}}
@keyframes bird0u1{0.00%{opacity:0}5.74%{opacity:1}8.97%{opacity:0}14.72%{opacity:1}17.95%{opacity:0}23.69%{opacity:1}26.92%{opacity:0}32.67%{opacity:1}35.90%{opacity:0}}
@keyframes bob0{0.00%{transform:translateY(1.40px)}5.74%{transform:translateY(0.25px)}8.97%{transform:translateY(1.00px)}14.72%{transform:translateY(-0.40px)}17.95%{transform:translateY(0.35px)}23.69%{transform:translateY(-1.05px)}26.92%{transform:translateY(-0.30px)}32.67%{transform:translateY(-1.70px)}35.90%{transform:translateY(-0.95px)}100.00%{transform:translateY(1.40px)}}
@keyframes bird1g{0.00%{opacity:0}47.62%{opacity:1}}
@keyframes bird1u{0.00%{opacity:1}2.29%{opacity:0}9.52%{opacity:1}11.81%{opacity:0}19.05%{opacity:1}21.33%{opacity:0}28.57%{opacity:1}30.86%{opacity:0}38.10%{opacity:1}40.38%{opacity:0}}
@keyframes bird1d1{0.00%{opacity:0}2.29%{opacity:1}3.71%{opacity:0}11.81%{opacity:1}13.24%{opacity:0}21.33%{opacity:1}22.76%{opacity:0}30.86%{opacity:1}32.29%{opacity:0}40.38%{opacity:1}41.81%{opacity:0}}
@keyframes bird1d{0.00%{opacity:0}3.71%{opacity:1}6.10%{opacity:0}13.24%{opacity:1}15.62%{opacity:0}22.76%{opacity:1}25.14%{opacity:0}32.29%{opacity:1}34.67%{opacity:0}41.81%{opacity:1}44.19%{opacity:0}}
@keyframes bird1u1{0.00%{opacity:0}6.10%{opacity:1}9.52%{opacity:0}15.62%{opacity:1}19.05%{opacity:0}25.14%{opacity:1}28.57%{opacity:0}34.67%{opacity:1}38.10%{opacity:0}44.19%{opacity:1}47.62%{opacity:0}}
@keyframes bob1{0.00%{transform:translateY(1.40px)}6.10%{transform:translateY(0.38px)}9.52%{transform:translateY(1.13px)}15.62%{transform:translateY(-0.14px)}19.05%{transform:translateY(0.61px)}25.14%{transform:translateY(-0.66px)}28.57%{transform:translateY(0.09px)}34.67%{transform:translateY(-1.18px)}38.10%{transform:translateY(-0.43px)}44.19%{transform:translateY(-1.70px)}47.62%{transform:translateY(-0.95px)}100.00%{transform:translateY(1.40px)}}
@keyframes bird2g{0.00%{opacity:0}26.29%{opacity:1}}
@keyframes bird2u{0.00%{opacity:1}2.10%{opacity:0}8.76%{opacity:1}10.87%{opacity:0}17.53%{opacity:1}19.63%{opacity:0}}
@keyframes bird2d1{0.00%{opacity:0}2.10%{opacity:1}3.42%{opacity:0}10.87%{opacity:1}12.18%{opacity:0}19.63%{opacity:1}20.95%{opacity:0}}
@keyframes bird2d{0.00%{opacity:0}3.42%{opacity:1}5.61%{opacity:0}12.18%{opacity:1}14.37%{opacity:0}20.95%{opacity:1}23.14%{opacity:0}}
@keyframes bird2u1{0.00%{opacity:0}5.61%{opacity:1}8.76%{opacity:0}14.37%{opacity:1}17.53%{opacity:0}23.14%{opacity:1}26.29%{opacity:0}}
@keyframes bob2{0.00%{transform:translateY(1.40px)}5.61%{transform:translateY(0.03px)}8.76%{transform:translateY(0.78px)}14.37%{transform:translateY(-0.83px)}17.53%{transform:translateY(-0.08px)}23.14%{transform:translateY(-1.70px)}26.29%{transform:translateY(-0.95px)}100.00%{transform:translateY(1.40px)}}
@media (prefers-reduced-motion: no-preference){
  .scene-hero:not(.paused) .bird.c0 .pg{animation:bird0g 4.68s step-end infinite;animation-delay:var(--d)}
  .scene-hero:not(.paused) .bird.c0 .pu{animation:bird0u 4.68s step-end infinite;animation-delay:var(--d)}
  .scene-hero:not(.paused) .bird.c0 .pd1{animation:bird0d1 4.68s step-end infinite;animation-delay:var(--d)}
  .scene-hero:not(.paused) .bird.c0 .pd{animation:bird0d 4.68s step-end infinite;animation-delay:var(--d)}
  .scene-hero:not(.paused) .bird.c0 .pu1{animation:bird0u1 4.68s step-end infinite;animation-delay:var(--d)}
  .scene-hero:not(.paused) .bird.c0{animation:bob0 4.68s linear infinite;animation-delay:var(--d)}
  .scene-hero:not(.paused) .bird.c1 .pg{animation:bird1g 4.20s step-end infinite;animation-delay:var(--d)}
  .scene-hero:not(.paused) .bird.c1 .pu{animation:bird1u 4.20s step-end infinite;animation-delay:var(--d)}
  .scene-hero:not(.paused) .bird.c1 .pd1{animation:bird1d1 4.20s step-end infinite;animation-delay:var(--d)}
  .scene-hero:not(.paused) .bird.c1 .pd{animation:bird1d 4.20s step-end infinite;animation-delay:var(--d)}
  .scene-hero:not(.paused) .bird.c1 .pu1{animation:bird1u1 4.20s step-end infinite;animation-delay:var(--d)}
  .scene-hero:not(.paused) .bird.c1{animation:bob1 4.20s linear infinite;animation-delay:var(--d)}
  .scene-hero:not(.paused) .bird.c2 .pg{animation:bird2g 5.02s step-end infinite;animation-delay:var(--d)}
  .scene-hero:not(.paused) .bird.c2 .pu{animation:bird2u 5.02s step-end infinite;animation-delay:var(--d)}
  .scene-hero:not(.paused) .bird.c2 .pd1{animation:bird2d1 5.02s step-end infinite;animation-delay:var(--d)}
  .scene-hero:not(.paused) .bird.c2 .pd{animation:bird2d 5.02s step-end infinite;animation-delay:var(--d)}
  .scene-hero:not(.paused) .bird.c2 .pu1{animation:bird2u1 5.02s step-end infinite;animation-delay:var(--d)}
  .scene-hero:not(.paused) .bird.c2{animation:bob2 5.02s linear infinite;animation-delay:var(--d)}
}
/* birds:end */

/* the heron's take-off: painted poses on their own layer, started once by hero-scene.js when the heron is in view */
.flight{display:none;pointer-events:none}
.flight.cam{display:block}
.bird{position:absolute;left:calc(var(--x) * var(--u));top:calc(var(--y) * var(--u));width:0;height:0;will-change:transform}
.pose{position:absolute;left:calc(var(--x) * var(--u));top:calc(var(--y) * var(--u));width:calc(var(--w) * var(--u));max-width:none;height:auto;opacity:0}
.scene-hero.flown #heron{visibility:hidden}
/* phones: the heron stands mirrored in place, and its flight poses are mirrored about the bird's own origin */
.scene-hero.heron-left #heron{transform:translate(2272px,0) scale(-1,1)}
.scene-hero.heron-left .pose{transform:scaleX(-1);transform-origin:calc(var(--x) * var(--u) * -1) 0}
/* flight:generated */
@keyframes pose0{0.0%{opacity:1}12.0%{opacity:0}100%{opacity:0}}
.scene-hero.flown .pose.p0{animation:pose0 2.6s steps(1,end) forwards}
@keyframes pose1{0%{opacity:0}12.0%{opacity:1}17.0%{opacity:0}32.0%{opacity:1}37.0%{opacity:0}52.0%{opacity:1}57.0%{opacity:0}72.0%{opacity:1}77.0%{opacity:0}92.0%{opacity:1}97.0%{opacity:0}100%{opacity:0}}
.scene-hero.flown .pose.p1{animation:pose1 2.6s steps(1,end) forwards}
@keyframes pose2{0%{opacity:0}22.0%{opacity:1}27.0%{opacity:0}42.0%{opacity:1}47.0%{opacity:0}62.0%{opacity:1}67.0%{opacity:0}82.0%{opacity:1}87.0%{opacity:0}100%{opacity:0}}
.scene-hero.flown .pose.p2{animation:pose2 2.6s steps(1,end) forwards}
@keyframes pose3{0%{opacity:0}17.0%{opacity:1}22.0%{opacity:0}27.0%{opacity:1}32.0%{opacity:0}37.0%{opacity:1}42.0%{opacity:0}47.0%{opacity:1}52.0%{opacity:0}57.0%{opacity:1}62.0%{opacity:0}67.0%{opacity:1}72.0%{opacity:0}77.0%{opacity:1}82.0%{opacity:0}87.0%{opacity:1}92.0%{opacity:0}97.0%{opacity:1}100%{opacity:0}}
.scene-hero.flown .pose.p3{animation:pose3 2.6s steps(1,end) forwards}
@keyframes fly{0%,12%{transform:translate3d(0,0,0)}100%{transform:translate3d(calc(var(--fx) * var(--u)),calc(var(--fy) * var(--u)),0)}}
.scene-hero.flown .bird{animation:fly 2.6s cubic-bezier(.4,0,.8,.7) forwards}
/* flight:end */

.water-layer{position:sticky;top:0;height:0;z-index:3;pointer-events:none}
.water-invite{position:absolute;left:42%;top:var(--water-y,45vh);transform:translate(-50%,-50%);text-align:center;width:min(36rem,90vw);color:#102528;opacity:var(--water-alpha,0);line-height:1.35}
.water-invite p{font-size:clamp(1rem,1.4vw,1.3rem);margin:0 auto .45rem;text-wrap:balance;max-width:30rem}
.water-invite a{color:inherit;font-weight:600;text-underline-offset:.2em;pointer-events:auto;padding:.25em}
.water-links{display:flex;justify-content:center;flex-wrap:wrap;gap:.25em .8em}
.scene-flow{pointer-events:none}.scene-flow a,.overview{pointer-events:auto}
/* phones: the overview fades in sharp; a blurred fade read as blurry text while scrolling by thumb */
@media(max-width:699px){.overview{filter:none;transform:none}}
@media(max-width:699px){.water-invite{left:50%;width:93vw}.water-links{gap:.1rem;flex-direction:column}.water-invite a{font-size:.95rem}}
@scope (:root[data-mode="dark"]){.water-invite{color:#fff4e1;text-shadow:0 1px 5px #102629}}
@font-face{font-family:Baskervville;src:url(fonts/baskervville-normal.ttf);font-weight:400;font-display:swap}
@font-face{font-family:"Cormorant Garamond";src:url(fonts/cormorant-garamond-normal.ttf);font-weight:400;font-display:swap}
.title-screen{padding-top:6svh}
.title-screen h1{max-width:none;font:400 clamp(1.6rem,6vw,6.3rem)/1.04 Baskervville,serif!important;letter-spacing:-.025em;background:none;filter:none;-webkit-text-fill-color:currentColor;color:#192727}
.title-screen h1 span{display:block;white-space:nowrap}
.water-invite,.water-links a{font-family:"Cormorant Garamond",serif;font-weight:400}
.water-invite p{font-size:clamp(1.25rem,1.85vw,1.65rem);line-height:1.12}
.water-links{flex-direction:row;align-items:center;justify-content:center;gap:.35rem}
.water-invite .water-links a{display:inline-flex;align-items:center;justify-content:center;gap:.35em;border:1px solid #255754;border-radius:999px;background:#eff6eadf;color:#132e2d;padding:.35em .8em;font-size:clamp(1rem,1.35vw,1.2rem);line-height:1.15;text-decoration:none}
.water-links a::after{content:"→";font-family:system-ui;font-size:.8em}
.water-links a:hover,.water-links a:focus-visible{background:#fffaf0;outline:2px solid #244c49;outline-offset:2px}
@media(max-width:699px){.title-screen{padding-top:4svh}.title-screen h1{font-size:clamp(1.6rem,8.3vw,3.5rem)!important}.water-links{gap:.2rem}.water-invite .water-links a{padding:.36em .55em}}
@scope (:root[data-mode="dark"]){.title-screen h1{color:#fff3db}}
/* Calm water behind the paragraph on the water, so sun glints do not run through the letters. hero-scene.js copies
   the paragraph into .calm; each copied line carries its own background, so the blurred shape follows the ragged
   edge of the text instead of a box. The opacity sits on .calm so overlapping lines do not double up.
   Light mode: pale haze under dark text. Dark mode: deeper water under light text. Not backdrop-filter (see .focus). */
.water-invite{isolation:isolate}
.water-invite p{position:relative;--calm:#e0efe8;--calm-a:.56;text-shadow:0 0 1px var(--calm),0 0 6px var(--calm)}
.water-invite .calm{position:absolute;inset:0;z-index:-1;opacity:var(--calm-a);filter:blur(14px);color:transparent;text-shadow:none;pointer-events:none;user-select:none}
.water-invite .calm span{background:var(--calm);padding:.22em .4em;border-radius:1em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
:root[data-mode="dark"] .water-invite p{--calm:#0d2226;--calm-a:.72}
/* The third link over the water is the quiet one: plain text under the two buttons that jumps to the contact section. */
.water-invite p.water-talk{margin:.5rem auto 0;font-size:clamp(1.1rem,1.5vw,1.35rem)}
.water-invite p.water-talk::before{display:none}
.water-invite .water-talk a{font-weight:400;font-style:italic;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em;text-shadow:0 0 1px var(--calm),0 0 5px var(--calm),0 0 10px var(--calm),0 0 16px var(--calm)}
.water-talk a::after{content:" ↓";font-family:system-ui;font-size:.75em;font-style:normal}
.water-talk a:focus-visible{outline:2px solid currentColor;outline-offset:2px}
