/* Film grain over the whole page. One fixed layer of SVG fractal noise,
   multiplied over the warm ground so it reads as paper tooth rather than
   a grey wash. It never intercepts clicks. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.082;
  /* No mix-blend-mode: a blended full-viewport layer forces the browser to
     re-composite the entire page underneath it on every single frame, which
     is what made scrolling feel heavy. Instead the turbulence is reduced to
     pure black at a sparse alpha (feColorMatrix zeroes RGB and keeps the
     shaped alpha), so painting it normally darkens exactly the way multiply
     did - measured to within a pixel level on cream, card and honey, and
     still invisible over the dark footer. */
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feComponentTransfer><funcA type='linear' slope='6' intercept='-3.4'/></feComponentTransfer><feColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
  /* One tile, rasterised once and repeated, instead of one rect stretched
     over four viewports' worth of area. Own layer, so it never repaints. */
  background-size: 180px 180px;
  transform: translateZ(0);
}

/* ---- Page container ---------------------------------------------------
   One gutter and one content rail for the whole page. Section bands stay
   full-bleed so their colour still runs edge to edge; everything *inside*
   a band sits on `.shell`, and that is what makes the copy and card edges
   line up from the nav all the way down to the footer. Change --rail here
   and the whole page follows. */
:root { --rail: 1280px; }
.shell { width: 100%; max-width: var(--rail); margin-inline: auto; }

/* Lucide icons are stroke-drawn: without these they render as black fills. */
.icon { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.icon-brand { fill: currentColor; stroke: none; }

/* Hero doodles - the pen marks in the notebook margin around the headline.
   Three jobs, three wrappers, so no two of them ever fight over `transform`:
   the pointer drift lives on the outer [data-drift], the entry tween on the
   [data-enter] inside it, and the idle float on the innermost `.prop`. Each
   drift layer travels its own distance; that difference is the depth. */
.prop-layer { transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes prop-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, var(--rise, -12px), 0); }
}
@media (prefers-reduced-motion: no-preference) {
  .prop { animation: prop-float var(--dur, 8s) ease-in-out var(--delay, 0s) infinite; }
}

/* A CSS animation set to `infinite` keeps asking the compositor for frames
   even after it has scrolled out of view, so the hero's doodles and the team
   wall's drifting columns go on costing the whole page for their entire
   life. `.is-still` is switched on by an observer once a section is off
   screen, and off again before it comes back. */
.is-still .prop,
.is-still .bee-wing, .is-still .hero-bee svg { animation-play-state: paused; }

/* The marked word. The honey block sits behind the glyphs on its own span,
   so the motion layer can wipe it in while the letters flick up on top.
   Sized in em off the headline, so it tracks the type at every width. */
.hl-pill {
  position: relative;
  isolation: isolate;
  display: inline-block;
  padding-inline: 0.16em 0.2em;
}
.hl-pill-bg {
  position: absolute;
  inset: 0.06em 0 -0.1em;
  z-index: -1;
  border-radius: 0.2em;
  background-image: linear-gradient(135deg, #FFC24D 0%, #F5A521 62%, #E8931A 100%);
  box-shadow: 0 0.16em 0.4em -0.2em rgba(138, 101, 8, 0.55);
}

/* Its wingbeat. Each wing sits in its own <g> so the flap doesn't
   overwrite the rotate() already on the ellipse, and pivots on its root,
   which is just inside the body so the joint never shows. One cycle holds
   seven beats of uneven height, so the loop reads as a live buzz rather
   than a metronome, and the front wing trails the back by a hair. The
   body gets a quicker, smaller hover on top of the slow `.prop` float
   the other doodles share - a couple of pixels, no more. */
.bee-wing { transform-box: view-box; }
.bee-wing--back  { --tilt: -13deg; transform-origin: 49px 56px; }
.bee-wing--front { --tilt: 10deg;  transform-origin: 56px 53px; }
@keyframes bee-flap {
  0%, 14%, 28.5%, 42.5%, 57%, 71.5%, 86%, 100% { transform: rotate(0deg) scaleY(1); }
  7%    { transform: rotate(var(--tilt)) scaleY(0.82); }
  21.5% { transform: rotate(calc(var(--tilt) * 0.75)) scaleY(0.87); }
  35.5% { transform: rotate(calc(var(--tilt) * 0.95)) scaleY(0.83); }
  50%   { transform: rotate(calc(var(--tilt) * 0.6)) scaleY(0.9); }
  64%   { transform: rotate(var(--tilt)) scaleY(0.8); }
  78.5% { transform: rotate(calc(var(--tilt) * 0.8)) scaleY(0.86); }
  93%   { transform: rotate(calc(var(--tilt) * 0.9)) scaleY(0.84); }
}
@keyframes bee-hover {
  0%, 100% { transform: translate3d(0, 0, 0); }
  28%      { transform: translate3d(0, -2.4%, 0); }
  52%      { transform: translate3d(0, 0.6%, 0); }
  76%      { transform: translate3d(0, -1.4%, 0); }
}
@media (prefers-reduced-motion: no-preference) {
  .bee-wing { animation: bee-flap 1.05s ease-in-out infinite; }
  .bee-wing--front { animation-delay: -0.03s; }
  .hero-bee svg { animation: bee-hover 1.7s ease-in-out infinite; }
}

/* ---- Motion layer (js/motion.js) --------------------------------------
   Nothing here animates on its own. These are the states the page holds
   *before* the motion layer boots, plus the two pieces of structure GSAP
   cannot express in a tween: the word clipping box and the wipe panels.
   `html.motion-ready` is added the moment motion.js has built its tweens
   (or decided not to), and every pre-state below is scoped to its absence,
   so a blocked CDN or reduced-motion preference leaves a plain page. */

html:not(.motion-ready) [data-reveal],
html:not(.motion-ready) [data-enter],
html:not(.motion-ready) [data-reveal-group] > * { opacity: 0; }
html:not(.motion-ready) [data-reveal="clip"] { opacity: 1; clip-path: inset(46% 8% 46% 8% round 36px); }

/* Type splitting. A word stays one unit so lines still break on spaces,
   and the characters inside it are what actually move. No clipping box:
   each glyph rotates as it rises, and a mask would shear the corners. */
.rv-w { display: inline-block; white-space: nowrap; }

/* One clipping box per word, split further into characters. Each glyph
   pivots about a point near its own baseline (50% 90%) as it rises, which
   is what gives the reveal its flick rather than a flat slide. */
.rv-c { display: inline-block; transform-origin: 50% 90%; }
/* will-change only while a heading is actually typing. Left on permanently
   it hands every single glyph on the page its own compositor layer, which
   costs memory and slows every frame for motion that has already finished.
   motion.js adds .is-typing for the length of the tween and takes it off. */
.is-typing .rv-c { will-change: transform, opacity; }

/* The curtain covers the viewport from first paint. Its path is drawn at
   the covered position so there is no flash of page before motion.js
   takes over; the failsafe below hides the whole layer if it never does. */
#curtain { display: block; }

/* Sticker eyebrows - the rotated, offset-shadowed label CRAV uses to tag a
   section. Kept to honey on ink so it reads as a label, not a callout. */
.sticker {
  display: inline-block;
  transform: rotate(-2.5deg);
  border-radius: 999px;
  background: #FFFFFF;
  padding: 0.3rem 0.85rem;
  box-shadow: 2px 2px 0 rgba(20, 20, 15, 0.82);
}


/* Footer. Links sit at cream on the ink sheet and warm to honey on hover;
   keyboard focus gets its own honey ring, since the hover shift alone is
   too quiet to find on a dark ground. */
.footer-link {
  color: rgba(253, 252, 247, 0.78);
  text-decoration: none;
  width: fit-content;
  border-radius: 6px;
  transition: color 0.2s ease;
}
.footer-link:hover { color: #FFC24D; }
.footer-link:focus-visible { outline: 2px solid #FFC24D; outline-offset: 3px; }
/* The comb only shows at the top-right corner and thins out across the
   sheet, so it reads as texture behind the columns, never under the copy. */
.footer-comb {
  -webkit-mask-image: radial-gradient(75% 110% at 100% 0%, #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 75%);
  mask-image: radial-gradient(75% 110% at 100% 0%, #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 75%);
}

/* ---- Nav dropdowns ----------------------------------------------------
   Courses and Resources each gather their links behind one button.
   From `menu` up the list drops as a card under the button; below that,
   inside the Menu sheet, it opens in place as an indented group. The
   button's aria-expanded is the only state - the script flips it and
   everything here reads it. */
.nav-dd { position: relative; }
.nav-dd-link {
  display: block;
  white-space: nowrap;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: #55554B;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.nav-dd-link:hover,
.nav-dd-link[aria-current="page"] { background: #F2EEE3; color: #14140F; }
/* Current page in the main nav: ink text over a honey bar the width of the label, rather
   than the grey chip that hover already uses. The mobile menu stacks the
   links, so there the bar moves to the left edge over a honey wash. */
#navLinks > li > a[aria-current="page"],
#navLinks > li > button[data-current] { position: relative; color: #14140F; }
#navLinks > li > a[aria-current="page"]::after,
#navLinks > li > button[data-current]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: #F5A521;
}
@media (max-width: 1023.98px) {
  #navLinks > li > a[aria-current="page"],
  #navLinks > li > button[data-current] {
    background: linear-gradient(135deg, rgba(255,194,77,0.26) 0%, rgba(245,165,33,0.17) 62%, rgba(232,147,26,0.14) 100%);
  }
  #navLinks > li > a[aria-current="page"]::after,
  #navLinks > li > button[data-current]::after {
    left: 0; right: auto; top: 50%; bottom: auto;
    width: 3px; height: 60%;
    transform: translateY(-50%);
  }
}
@media (min-width: 1024px) {
  .nav-dd-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    min-width: 180px;
    padding: 6px;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 2px 6px rgba(20, 20, 15, 0.05), 0 18px 44px rgba(138, 101, 8, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -6px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  }
  /* bridges the gap under the button, so the pointer can cross to the card
     without the group closing on the way */
  .nav-dd-panel::before { content: ''; position: absolute; inset: -10px 0 auto; height: 10px; }
  [aria-expanded="true"] + .nav-dd-panel {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition: opacity .18s ease, transform .18s ease, visibility 0s;
  }
}
@media (max-width: 1023.98px) {
  .nav-dd-panel { margin: 2px 0 4px 14px; padding-left: 10px; border-left: 2px solid #E9E3D3; }
  [aria-expanded="false"] + .nav-dd-panel { display: none; }
  .nav-dd-link { padding: 10px 14px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-dd-panel { transition: none !important; }
}

/* ---- Menu sheet (below `menu`) ----------------------------------------
   Stays laid out while closed so it can animate: it unrolls downward from
   the bar and the rows follow one after another. On close it rolls back
   up quicker than it came down. The script only toggles .is-open. */
@media (max-width: 1023.98px) {
  #navLinks {
    display: flex;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    clip-path: inset(0 0 100% 0);
    transition: clip-path .32s cubic-bezier(.4,0,.2,1), transform .32s cubic-bezier(.4,0,.2,1), opacity .24s ease .06s, visibility 0s linear .32s;
  }
  #navLinks.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    clip-path: inset(0 -60px -60px -60px);
    transition: clip-path .5s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1), opacity .2s ease, visibility 0s;
  }
  #navLinks > li { opacity: 0; transform: translateY(-8px); transition: opacity .15s ease, transform .15s ease; }
  #navLinks.is-open > li {
    opacity: 1;
    transform: none;
    transition: opacity .35s ease var(--d, 0s), transform .5s cubic-bezier(.22,1,.36,1) var(--d, 0s);
  }
  #navLinks.is-open > li:nth-child(1) { --d: .06s; }
  #navLinks.is-open > li:nth-child(2) { --d: .1s; }
  #navLinks.is-open > li:nth-child(3) { --d: .14s; }
  #navLinks.is-open > li:nth-child(4) { --d: .18s; }
  #navLinks.is-open > li:nth-child(5) { --d: .22s; }
  #navLinks.is-open > li:nth-child(6) { --d: .26s; }
  #navLinks.is-open > li:nth-child(7) { --d: .3s; }
  #navLinks.is-open > li:nth-child(8) { --d: .34s; }
}
@media (max-width: 1023.98px) and (prefers-reduced-motion: reduce) {
  #navLinks, #navLinks > li { transform: none !important; transition: none !important; }
}

/* M4Tech "Read more". Below `nav` the copy is held to four lines with the
   last of them fading out; the script opens it to its full height. */
@media (max-width: 899.98px) {
  .m4tech-more {
    overflow: hidden;
    max-height: 6.8em;
    transition: max-height .5s cubic-bezier(.22,1,.36,1);
    -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent);
            mask-image: linear-gradient(to bottom, #000 45%, transparent);
  }
  .m4tech-more.is-open { -webkit-mask-image: none; mask-image: none; }
}
@media (prefers-reduced-motion: reduce) {
  .m4tech-more { transition: none !important; }
}

/* Back to top. Held out of sight until the reader is most of a screen down,
   then it rises into the corner. The honey ring fills with how far through
   the page they are - pathLength="1" on the circle makes its dash offset a
   plain 0-1 fraction. Visibility flips at the end of the fade, so a hidden
   button can be neither clicked nor tabbed to. */
.to-top {
  margin-bottom: env(safe-area-inset-bottom);
  opacity: 0;
  visibility: hidden;
  translate: 0 14px;
  scale: 0.9;
  transition: opacity 0.25s ease, translate 0.35s cubic-bezier(0.22, 1, 0.36, 1), scale 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, visibility 0s linear 0.35s;
}
.to-top.is-shown { opacity: 1; visibility: visible; translate: 0 0; scale: 1; transition-delay: 0s; }
.to-top.is-shown:hover { translate: 0 -2px; box-shadow: 0 16px 34px -10px rgba(20,20,15,0.6); }
.to-top-ring { stroke-dasharray: 1; stroke-dashoffset: 1; }
@media (prefers-reduced-motion: reduce) {
  .to-top, .to-top.is-shown, .to-top.is-shown:hover { translate: none; scale: none; }
}

/* ---- About: hero stage --------------------------------------------------
   One box, every piece placed in % of it, so the hive, the flight and the
   bee keep their places against each other at every width. The box is cut
   to the hive's own shape plus a strip above it for the bee's flight, so
   the comb sits right under the calls. On a phone the hive is widened past
   the edges and the flight and bee are left out. */
.about-stage { aspect-ratio: 1 / 0.31; overflow: hidden; }
/* A phone runs the hive out to the screen edges (past the panel's 5%
   gutter), so the clipped comb never shows a hard side. */
@media (max-width: 639px) { .about-stage.about-stage { width: auto; margin-inline: -5.5556%; } }
/* The comb fades in from the top, so the upper cells melt into the paper
   and it reads as rising out of the panel floor rather than sitting on it. */
.stage-hive {
  position: absolute; bottom: 0; left: -45%; width: 190%; height: auto;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.35) 30%, #000 72%);
          mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.35) 30%, #000 72%);
}
/* Every cell of the comb is its own shape. On the way in they rise off
   the floor row by row, middle first (motion.js, data-enter="comb");
   after that a warm glow keeps sweeping across them left to right, and
   the cell under the pointer lifts and fills with honey. The hover is a
   plain translate, so it needs no transform-box - one here would throw
   off the origin GSAP works out for the entrance scale. */
.hive-cell { --c: #FBE3AE; --g: #F7C866; fill: var(--c); transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1); }
.hive-cell--white { --c: #FFFFFF; --g: #FFE7B0; }
.hive-cell--honey { --c: #F5A521; --g: #FFC24D; }
@keyframes hive-glow {
  0%, 62%, 100% { fill: var(--c); }
  76% { fill: var(--g); }
}
@media (prefers-reduced-motion: no-preference) {
  .hive-cell { animation: hive-glow 6.5s ease-in-out infinite; animation-delay: var(--w, 0s); }
  .hive-cell:hover { transform: translateY(-5px); fill: #F5A521 !important; }
}
.is-still .hive-cell { animation-play-state: paused; }
.stage-flight, .stage-bee, .stage-arc { display: none; }
@media (min-width: 640px) {
  /* On a short laptop screen the stage narrows (and so shortens) to keep
     the whole hero inside one viewport. */
  .about-stage { aspect-ratio: 1180 / 229; max-width: min(1180px, 26svh * 1180 / 229); }
  .stage-hive { left: 0; width: 100%; }
  .stage-flight { display: block; position: absolute; left: 0; top: 0; z-index: 4; width: 100%; height: auto; aspect-ratio: 1180 / 440; overflow: visible; pointer-events: none; }
  .stage-bee { display: block; position: absolute; z-index: 5; left: 86.6%; top: 10%; width: 5.2%; }
  .stage-arc { display: block; }
}

/* The bee's hover, on top of its slow float. */
@media (prefers-reduced-motion: no-preference) {
  .stage-bee svg { animation: bee-hover 1.7s ease-in-out infinite; }
}
.is-still .stage-bee svg { animation-play-state: paused; }

/* ---- About: story -------------------------------------------------------
   One honey line draws itself along the years when the list comes into
   view - down the left edge on a phone, across the top from `nav` up -
   and each year's stop and copy follow it in, one after the other. The
   years wear the thin honey numerals of the home page's course list. */
.story { position: relative; display: grid; gap: 2.25rem; padding-left: 2.25rem; }
.story::before,
.story::after { content: ''; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; }
.story::before { background: rgba(20, 20, 15, 0.08); }
.story::after {
  background: linear-gradient(180deg, #FFC24D 0%, #F5A521 62%, #E8931A 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.story.is-in::after { transform: scaleY(1); }
.story-item {
  position: relative;
  opacity: 0;
  translate: 0 16px;
  transition: opacity 0.5s ease calc(var(--i, 0) * 160ms + 150ms),
              translate 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) calc(var(--i, 0) * 160ms + 150ms);
}
.story.is-in .story-item { opacity: 1; translate: 0 0; }
.story-dot {
  position: absolute;
  left: calc(-2.25rem + 1px);
  top: 0.55rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FDFCF7;
  box-shadow: inset 0 0 0 3px #F5A521;
}
.story-item:last-child .story-dot { background: #F5A521; box-shadow: 0 0 0 5px rgba(245, 165, 33, 0.22); }
.story-year {
  font-size: clamp(2.25rem, 3.4vw, 2.9rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(138, 101, 8, 0.32);
  transition: color 0.5s ease;
}
.story-item:hover .story-year { color: rgba(138, 101, 8, 0.7); }
.story-item:last-child .story-year { color: #8A6508; }
.story-item:last-child .story-year::after {
  content: 'Today';
  display: inline-block;
  margin-left: 0.6rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #FFC24D 0%, #F5A521 62%, #E8931A 100%);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
  color: #14140F;
}
.story-text { margin-top: 0.75rem; max-width: 36ch; font-size: 0.92rem; line-height: 1.65; color: #55554B; }
@media (min-width: 900px) {
  .story { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; padding-left: 0; padding-top: 2.75rem; }
  .story::before,
  .story::after { left: 0; right: 0; top: 6px; bottom: auto; width: auto; height: 2px; }
  .story::after { transform: scaleX(0); transform-origin: left; }
  .story.is-in::after { transform: scaleX(1); }
  .story-dot { left: 0; top: -2.75rem; }
  .story-item:last-child .story-year::after { display: block; width: fit-content; margin: 0.75rem 0 0; }
}

/* ---- About: what we do --------------------------------------------------
   Four cards in the site's warm set - pale honey, apricot, sage and
   sand - all light with ink drawings, honey for the accents. The drawing sits on a patch of honeycomb that runs edge to edge
   across the card. The drawings hold still; the lift and the
   arrow's nudge are the whole hover. */
.wwd-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  border-radius: 21px;
  padding: 1.5rem;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 18px 34px -26px rgba(20, 20, 15, 0.55);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.45s ease;
}
.wwd-a { background: #FCE3A6; color: #14140F; }
.wwd-b { background: #F6D5BC; color: #14140F; }
.wwd-c { background: #DCE5CB; color: #14140F; }
.wwd-d { background: #E8DCC6; color: #14140F; }
.wwd-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(20, 20, 15, 0.6); }
.wwd-card:focus-visible { outline: 3px solid #14140F; outline-offset: 4px; }
.wwd-title { font-family: 'Sora', system-ui, sans-serif; font-size: clamp(1.35rem, 1.8vw, 1.6rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; }
/* The strip is shorter on a phone, where the cards stack one to a row;
   the drawing keeps its proportions and the comb fills out the sides. */
.wwd-art { margin: 1.25rem -1.5rem; aspect-ratio: 24 / 13; overflow: hidden; }
@media (min-width: 640px) { .wwd-art { aspect-ratio: 24 / 17; } }
.wwd-art svg { display: block; width: 100%; height: 100%; overflow: visible; }
.wwd-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.wwd-foot p { max-width: 30ch; font-size: 0.9rem; line-height: 1.55; }
.wwd-go {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: transform 0.2s ease;
}
.wwd-card:hover .wwd-go { transform: translateX(3px); }

/* ---- About: values ------------------------------------------------------
   One band, not a stack. On a wide screen the five values stand side by
   side in five columns between two thin rules, split by hairlines - the
   name over its line - so the whole set reads in one glance and takes
   about the height of a paragraph. Under 1200px each value becomes one
   row (name and line side by side from 640px, stacked on a phone).
   Nothing is ever hidden and nothing changes on hover. */
.vc { border-top: 1px solid rgba(20, 20, 15, 0.12); }
.vc-item {
  position: relative;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(20, 20, 15, 0.12);
}
.vc-name {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.vc-text { margin-top: 0.3rem; font-size: 0.9375rem; line-height: 1.6; color: #55554B; }
@media (min-width: 640px) {
  .vc-item { display: grid; grid-template-columns: 11rem minmax(0, 1fr); column-gap: 1.25rem; align-items: baseline; }
  .vc-text { margin-top: 0; }
}
@media (min-width: 1200px) {
  .vc { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid rgba(20, 20, 15, 0.12); }
  .vc-item {
    display: block;
    padding: 1.5rem 1.5rem 1.75rem;
    border-bottom: 0;
    border-left: 1px solid rgba(20, 20, 15, 0.12);
  }
  .vc-item:first-child { padding-left: 0; border-left: 0; }
  .vc-item:last-child { padding-right: 0; }
  .vc-text { margin-top: 0.5rem; max-width: 24ch; }
}

/* ---- About: team --------------------------------------------------------
   The home page's team card on an endless strip that runs edge to edge
   of the screen. The script repeats the roster until it more than fills
   the strip and wraps the offset, so there is never a first or a last
   card. It drifts left on its own, eases to a stop under the mouse, and
   can be dragged, flung, swiped or trackpad-scrolled either way; a
   vertical swipe still scrolls the page (`pan-y`). The edges fade out so
   cards slide in from nowhere. The strip moves the <ul> with `transform`;
   the cards keep `translate` for their entry and `transform` for hover. */
.tm-loop { position: relative; border-radius: 12px; }
.tm-loop:focus-visible { outline: 2px solid #8A6508; outline-offset: 6px; }
.tm-view {
  overflow: hidden;
  /* Room for the hover lift and its shadow, taken back so the section's
     rhythm is unchanged. */
  padding: 14px 0 32px;
  margin: -14px 0 -32px;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.tm-loop.is-dragging .tm-view { cursor: grabbing; }
.tm-track { display: flex; width: max-content; gap: clamp(12px, 1.6vw, 22px); will-change: transform; }
.tm-track > .tm-card { flex: 0 0 clamp(150px, 40vw, 220px); }
.tm-card {
  --d: calc(min(var(--i, 0), 8) * 60ms);
  padding: 6px 6px 14px;
  border-radius: 21px;
  background: #fff;
  text-align: center;
  box-shadow: 0 12px 26px -20px rgba(20, 20, 15, 0.5);
  opacity: 0; translate: 0 18px;
  transition: opacity .35s ease var(--d), translate .45s cubic-bezier(.2,.7,.3,1) var(--d),
              transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s;
}
.tm-loop.is-in .tm-card { opacity: 1; translate: 0 0; }
.tm-loop:not(.is-dragging) .tm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 40px -22px rgba(138, 101, 8, 0.45);
}
.tm-photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10px; background: #EDE8DC; }
.tm-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.tm-loop:not(.is-dragging) .tm-card:hover .tm-photo img { transform: scale(1.05); }
.tm-card h3 { margin-top: 12px; font-family: 'Sora', system-ui, sans-serif; font-size: clamp(.9rem, 1.1vw, 1.05rem); font-weight: 600; line-height: 1.25; color: #14140F; }
.tm-card p { margin-top: 3px; font-size: .875rem; line-height: 1.35; color: #8A6508; }

@media (prefers-reduced-motion: reduce) {
  .story::after, .story-item, .tm-card, .tm-photo img, .wwd-card { transition: none !important; }
  .story::after { transform: none; }
  .story-item, .tm-card { opacity: 1; translate: none; }
}
