/* ===================================================================
   TRINITY TALENT HOUSE — "Salu-Salo"
   Styling from INITIAL TRINITY BRANDING '26.

   The discipline here: ivory is the default and colour is punctuation.
   One idea per screen, a lot of air around it, and the type carries
   the page. Motion is used three times, not everywhere.
   =================================================================== */
@font-face{font-family:"Maragsa";src:url("fonts/MaragsaDisplay-GO6PD.otf") format("opentype");
  font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"General Sans";src:url("fonts/GeneralSans-Regular.otf") format("opentype");
  font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"General Sans";src:url("fonts/GeneralSans-Medium.otf") format("opentype");
  font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"General Sans";src:url("fonts/GeneralSans-Semibold.otf") format("opentype");
  font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"General Sans";src:url("fonts/GeneralSans-Bold.otf") format("opentype");
  font-weight:700;font-style:normal;font-display:swap}

:root{
  --ivory:#FFF8EE; --peach:#FFE1C5; --yellow:#FFCC1E; --golden:#FFA103;
  --empanada:#E74820; --kutsinta:#AC4C02; --cocoa:#663924;
  --pandan:#5E9F33; --mango:#AAE044; --indigo:#3C3487; --ink:#2B1B10;
  --display:"Maragsa","Hoefler Text",Georgia,serif;
  --sans:"General Sans",system-ui,sans-serif;
  --pad:clamp(22px,5vw,88px);
  --max:1180px;
}
*{box-sizing:border-box}
/* No smooth scrolling. The hero and the process are both pinned stages
   several screens tall, so any in-page jump animates through the whole
   site before it lands. A jump should just arrive. */
html{scroll-behavior:auto}
body{margin:0;background:var(--ivory);color:var(--ink);font-family:var(--sans);
  font-size:17px;line-height:1.62;-webkit-font-smoothing:antialiased}
a{color:inherit}
.in{max-width:var(--max);margin:0 auto}
.sec{padding:clamp(84px,12vw,190px) var(--pad)}

.dsp{font-family:var(--display);font-weight:400;letter-spacing:-.015em;line-height:.97;margin:0}
h1.dsp{font-size:clamp(2.5rem,6.4vw,5.5rem);letter-spacing:-.025em}
h2.dsp{font-size:clamp(2.1rem,5.2vw,4.1rem)}
/* each section is marked with one of the brand elements, inline with its
   eyebrow — the shapes become wayfinding instead of ornament */
.eb{display:inline-block;width:.92em;vertical-align:-.14em;margin-right:.75em}
.eb svg{display:block;width:100%}
/* and the bullet between items in the fine print is one too */
.sep{display:inline-block;width:.52em;vertical-align:-.04em;margin:0 .85em;opacity:.55}
.sep svg{display:block;width:100%}
.eyebrow{font-size:.64rem;letter-spacing:.24em;text-transform:uppercase;font-weight:700;
  margin:0 0 20px;color:var(--empanada)}
.lede{font-size:clamp(1.05rem,1.5vw,1.26rem);max-width:44ch;margin:0}

/* section heads sit in a column of their own, with room to breathe */
.shead{margin-bottom:clamp(44px,6vw,86px)}
.shead p{max-width:44ch}

/* ── the floating pair: a CTA and a menu, present on every screen
      including the hero, so nothing appears or disappears as you scroll ── */
.pill{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:clamp(40px,4vw,48px);padding:0 clamp(16px,1.6vw,22px);border:0;cursor:pointer;
  border-radius:999px;font-family:var(--sans);font-weight:700;font-size:.85rem;
  text-decoration:none;background:var(--yellow);color:var(--ink);
  box-shadow:0 6px 18px rgba(43,27,16,.14);transition:transform .18s ease,background-color .18s ease}
.pill:hover{transform:translateY(-2px)}
.menubtn{width:clamp(40px,4vw,48px);padding:0;background:var(--ink);color:var(--ivory)}
.menubtn:hover{background:var(--empanada)}
.bars{display:block;width:17px;height:11px;position:relative}
.bars i{position:absolute;left:0;right:0;height:2px;background:currentColor;border-radius:2px;
  transition:transform .28s cubic-bezier(.3,.8,.3,1),opacity .2s ease}
.bars i:nth-child(1){top:0}
.bars i:nth-child(2){bottom:0}
.menubtn[aria-expanded="true"] .bars i:nth-child(1){transform:translateY(4.5px) rotate(45deg)}
.menubtn[aria-expanded="true"] .bars i:nth-child(2){transform:translateY(-4.5px) rotate(-45deg)}

/* ── back to top ──
   The homepage is fifteen screens deep once the two pinned stages are
   counted, so there needs to be a way back that is not the scroll wheel.
   Uses the supplied arrow artwork, carried as a mask so the button can
   still colour it. ── */
.totop{position:fixed;right:clamp(14px,2.4vw,32px);bottom:clamp(14px,2.4vw,32px);z-index:600;
  width:clamp(44px,4.4vw,54px);height:clamp(44px,4.4vw,54px);padding:0;border:0;
  cursor:pointer;border-radius:50%;background:var(--ink);color:var(--yellow);
  display:grid;place-items:center;
  box-shadow:0 6px 18px rgba(43,27,16,.2);
  opacity:0;transform:translateY(10px);pointer-events:none;
  transition:opacity .3s ease,transform .3s cubic-bezier(.3,.85,.3,1),background-color .2s ease}
.totop.on{opacity:1;transform:none;pointer-events:auto}
.totop:hover{background:var(--empanada)}
.totop span{display:block;width:52%;aspect-ratio:256/211;background:currentColor;
  -webkit-mask:url(img/arrow.png) center/contain no-repeat;
          mask:url(img/arrow.png) center/contain no-repeat}
@media (prefers-reduced-motion:reduce){.totop{transition:none}}

/* ── THE BAR ──
   Ink, so it never has to fight whatever section is passing underneath it.
   On the homepage it is not there for the hero — the mark opening is the
   whole of that screen — and it arrives once the hero is behind you. On
   every other page it is there from the top. ── */
.nb{position:fixed;top:0;left:0;right:0;z-index:600;background:var(--ink);
  transform:translateY(-100%);transition:transform .34s cubic-bezier(.3,.85,.3,1)}
.nb.on{transform:none}
.nb-in{max-width:var(--max);margin:0 auto;padding:0 var(--pad);
  height:clamp(58px,5.6vw,72px);display:flex;align-items:center;gap:clamp(16px,3vw,44px)}
.nb-logo{display:block;flex:none}
.nb-logo img{display:block;width:clamp(108px,12vw,148px);height:auto}
.nb-links{display:flex;gap:clamp(14px,2.2vw,32px);margin-left:auto}
.nb-links a{text-decoration:none;font-size:.78rem;font-weight:600;white-space:nowrap;
  color:rgba(255,248,238,.8);transition:color .2s ease}
.nb-links a:hover{color:var(--yellow)}
.nb-cta{display:inline-flex;align-items:center;height:clamp(36px,3.6vw,44px);
  padding:0 clamp(14px,1.6vw,22px);border-radius:999px;text-decoration:none;
  background:var(--yellow);color:var(--ink);font-weight:700;font-size:.82rem;
  white-space:nowrap;transition:transform .18s ease,background-color .18s ease}
.nb-cta:hover{transform:translateY(-2px);background:var(--ivory)}
.nb-menu{display:none;margin-left:10px}
@media(max-width:900px){
  .nb-links{display:none}
  .nb-cta{margin-left:auto}
  .nb-menu{display:inline-flex}
}

/* ── the menu itself: the house, opened out ── */
.menu{position:fixed;inset:0;z-index:590;background:var(--indigo);color:var(--ivory);
  display:grid;place-items:center;padding:clamp(70px,10vw,110px) var(--pad) var(--pad);
  opacity:0;pointer-events:none;transition:opacity .34s ease}
/* display:grid above beats the hidden attribute's own display:none, which left
   a full-screen invisible sheet over every page swallowing clicks. Both guards
   are here on purpose: the attribute takes it out of the layout, and
   pointer-events keeps it out of the way during the fade. */
.menu[hidden]{display:none}
.menu.open{opacity:1;pointer-events:auto}
.menuin{width:100%;max-width:var(--max);display:grid;gap:clamp(22px,3vw,40px)}
.menumark{display:block;width:clamp(78px,9vw,130px)}
.menumark img{display:block;width:100%;height:auto}
.menumark svg{display:block;width:100%}
.menu nav{display:grid;gap:clamp(2px,.6vw,8px)}
.menu nav a{display:flex;align-items:baseline;gap:clamp(14px,2vw,28px);text-decoration:none;
  font-family:var(--display);font-size:clamp(1.8rem,5.4vw,4.2rem);line-height:1.04;
  color:var(--ivory);transition:color .2s ease,padding-left .26s cubic-bezier(.3,.8,.3,1)}
.menu nav a span{font-family:var(--sans);font-size:.6rem;font-weight:700;letter-spacing:.2em;
  color:var(--yellow);opacity:.7;flex:none}
.menu nav a:hover{color:var(--yellow);padding-left:14px}
.menufoot{margin:0;font-size:.64rem;letter-spacing:.14em;text-transform:uppercase;
  font-weight:700;color:rgba(255,248,238,.6)}
body.locked{overflow:hidden}

/* this is worn by both links and buttons, and a <button> arrives with a
   border, a system font and no pointer of its own */
.btn{display:inline-block;appearance:none;border:0;cursor:pointer;
  font-family:var(--sans);line-height:1.15;text-align:center;
  text-decoration:none;font-weight:700;font-size:.92rem;
  padding:14px 26px;border-radius:999px;transition:transform .18s ease,background-color .18s ease}
.btn:hover{transform:translateY(-2px)}
.btn.sun{background:var(--yellow);color:var(--ink)}
.btn.fire{background:var(--empanada);color:var(--ivory)}
.btn.ink{background:var(--ink);color:var(--ivory)}
.btn.line{background:none;color:currentColor;box-shadow:inset 0 0 0 1.5px currentColor}
.btn.big{font-size:1rem;padding:17px 34px}

/* ═══════════ HERO — the house ═══════════
   Five beats over one pinned stage:
     shut → the figures part and the name is read in the gap →
     they close again → the house they make is drawn →
     the house fills and swallows the screen, and we are inside.
   The stage is ivory; the two figures are the two palette yellows,
   so the mark reads as two people rather than one silhouette. */
.herowrap{height:420vh;position:relative}
.hero{position:sticky;top:0;height:100vh;overflow:hidden;background:var(--ivory);
  display:grid;place-items:center;text-align:center}

/* the mark is the whole of the first screen, so it is sized off the
   viewport in both directions — 150vh is the width at which the 2.06:1
   lockup stands about 72vh tall, which keeps it off the edges on a
   short laptop screen without shrinking it on a tall one */
.heromark{position:absolute;z-index:2;overflow:visible;
  width:min(94vw,1240px,150vh);height:auto}
.heromark > g{will-change:transform}
#houseFill{will-change:transform,opacity}

/* the name, read through the opening — set as the brandbook cover sets it */
.heroword{position:relative;z-index:1;opacity:0;will-change:transform,opacity;
  padding:0 var(--pad)}
/* the word mark exactly as the brandbook draws it on the cover and on the
   logo-system page: lowercase "trinity" in the display face with a
   superscript ©, and "talent house" ranged right underneath it */
.heroword .wmlock{display:inline-block;text-align:left}
.heroword .wm{display:block;font-family:var(--display);font-weight:400;
  font-size:clamp(2.7rem,8.4vw,6.6rem);letter-spacing:-.012em;line-height:.84;
  color:var(--kutsinta)}
.heroword .wmsub{display:block;font-family:var(--sans);font-weight:700;
  font-size:clamp(.58rem,1.25vw,.92rem);letter-spacing:.2em;color:var(--kutsinta);
  opacity:.82;margin-top:7px;text-align:right;padding-right:.7em}
.heroword .wmtag{display:block;font-family:var(--sans);font-weight:500;
  font-size:clamp(.72rem,1.1vw,.9rem);color:var(--golden);margin-top:clamp(18px,2.4vw,30px);
  max-width:34ch;margin-inline:auto;line-height:1.5}

.scrollcue{position:absolute;left:50%;bottom:clamp(24px,4vw,48px);transform:translateX(-50%);
  z-index:4;font-size:.6rem;letter-spacing:.24em;text-transform:uppercase;font-weight:700;
  color:var(--kutsinta);opacity:.6;animation:cue 2.4s ease-in-out infinite}
@keyframes cue{50%{transform:translate(-50%,7px);opacity:.28}}

.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);
  clip-path:inset(50%);white-space:nowrap}

/* ── the proof band: a rule, not a section ── */
/* ── the two sides: one figure per band, leaning in from its own edge.
      The first stays indigo so it continues straight out of the hero. ── */
.peek{position:relative;display:grid;align-items:center;overflow:hidden;
  min-height:clamp(380px,60vh,580px);padding:clamp(54px,8vw,118px) var(--pad);
  text-decoration:none;isolation:isolate}
.pk-l{background:var(--kutsinta);color:var(--ivory);
  grid-template-columns:minmax(0,1.1fr) minmax(0,1.25fr)}
.pk-r{background:var(--peach);color:var(--ink);
  grid-template-columns:minmax(0,1.25fr) minmax(0,1.1fr)}
.peekfig{position:absolute;top:50%;translate:0 -50%;z-index:0;pointer-events:none;
  width:clamp(290px,38vw,560px);transition:translate .5s cubic-bezier(.25,.8,.3,1)}
.peekfig svg{display:block;width:100%}
.pk-l .peekfig{left:clamp(-104px,-8vw,-46px);color:var(--yellow)}
.pk-r .peekfig{right:clamp(-104px,-8vw,-46px);color:var(--golden)}
.pk-l:hover .peekfig{translate:18px -50%}
.pk-r:hover .peekfig{translate:-18px -50%}
.peektx{position:relative;z-index:1;display:grid;gap:0;max-width:46ch}
.pk-l .peektx{grid-column:2}
.pk-r .peektx{grid-column:1;text-align:right;justify-items:end}
.peek .eyebrow{margin:0 0 14px}
.pk-l .eyebrow{color:var(--yellow)}
.pk-r .eyebrow{color:var(--empanada)}
.peek .h{display:block;font-size:clamp(2.4rem,6vw,4.6rem);line-height:.96}
.peek .p{display:block;margin:clamp(16px,2vw,24px) 0 0;max-width:38ch;font-weight:500}
.pk-l .p{color:rgba(255,248,238,.88)}
.pk-r .p{color:var(--cocoa)}
.peek .go{display:block;margin-top:clamp(20px,2.4vw,30px);font-weight:700;font-size:.9rem}
.pk-l .go{color:var(--yellow)}
.pk-r .go{color:var(--empanada)}
.peek:hover .go{text-decoration:underline}
@media(max-width:760px){
  .peek{grid-template-columns:1fr!important;min-height:0}
  .pk-r .peektx{text-align:left;justify-items:start}
  .peekfig{width:230px;opacity:.26}
}

/* ── the definition ── */
/* what is inside the house — revealed on the indigo as it fills, so the
   fill never lands on an empty screen */
.inside{position:absolute;inset:0;z-index:3;display:grid;place-items:center;
  padding:0 var(--pad);opacity:0;pointer-events:none;will-change:opacity,transform}
.inside.lit{pointer-events:auto}
.inside p{font-family:var(--display);font-weight:400;font-size:clamp(1.3rem,3.2vw,2.6rem);
  line-height:1.32;max-width:21ch;margin:0;color:var(--ivory);letter-spacing:-.01em;
  text-align:center}
.mark-hl{position:relative;isolation:isolate;display:inline-block;padding:.02em .3em;
  color:var(--ink)}
.mark-hl::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--yellow);
  clip-path:polygon(1% 12%,99% 4%,100% 84%,97% 98%,3% 96%,0 88%);
  transform-origin:left center;transform:scaleX(0)}
.mark-hl.is-in::before{transform:scaleX(1);
  transition:transform .6s cubic-bezier(.3,.8,.3,1);transition-delay:var(--d,0ms)}
.mark-hl.red::before{background:var(--empanada)}
.mark-hl.red{color:var(--ivory)}

/* ── COMPANIES: each point led by one of the brandbook's cut-paper
      shapes, lifted as vector from the Brand Elements page ── */
.kit{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:clamp(30px,4.4vw,64px)}
.bit .shp{display:block;width:clamp(78px,8.4vw,112px);margin-bottom:clamp(18px,2.2vw,28px);
  transition:rotate .45s cubic-bezier(.3,.9,.3,1),scale .45s cubic-bezier(.3,.9,.3,1);
  opacity:0}
.bit .shp svg{display:block;width:100%;transform-origin:50% 55%}
.bit.is-in .shp{opacity:1;animation:place .72s cubic-bezier(.24,1.25,.4,1) backwards;
  animation-delay:calc(var(--i,0) * 110ms)}
.bit.is-in .shp svg{animation:sway var(--t,7s) ease-in-out infinite alternate;
  animation-delay:calc(var(--i,0) * 240ms)}
.bit:hover .shp{rotate:-9deg;scale:1.08}
@keyframes place{from{opacity:0;transform:scale(.42) rotate(-26deg)}
  to{opacity:1;transform:none}}
@keyframes sway{from{rotate:-4deg}to{rotate:4deg}}
.bit h4{font-family:var(--display);font-weight:400;margin:0;
  font-size:clamp(1.18rem,2.1vw,1.6rem);line-height:1.06}
.bit p{margin:12px 0 0;color:var(--cocoa);font-size:.97rem}

/* ── THE PROCESS: the crowd becomes a shortlist ──
   A pinned screen scrubbed by scroll. Nothing reflows: every figure is
   absolutely placed and moved only with transforms, so a single one can be
   followed from the crowd, into the line, and down to the one that stays. */
.stage{height:300vh;position:relative}
.stage .pin{position:sticky;top:0;height:100vh;overflow:hidden;
  display:grid;grid-template-rows:auto 1fr;
  padding:clamp(40px,7vh,96px) var(--pad) clamp(48px,8vh,104px)}
.stair .pin{background:var(--indigo);color:var(--ivory)}
/* empanada on indigo is both low contrast and the wrong pairing */
.stair .eyebrow{color:var(--yellow)}
.pinhead{margin:0;max-width:var(--max);width:100%;justify-self:center}
.pinhead h2{font-size:clamp(1.9rem,4.4vw,3.4rem)}
.crowdwrap{position:relative;place-self:center;width:min(88vw,940px);text-align:center}
/* 940 wide over 12 columns is a 78px pitch; 320 tall over 4 rows is 80 —
   near enough square that the lattice reads as a crowd, not as strings */
.crowd{position:relative;height:min(36vh,320px)}
.pip{position:absolute;left:0;top:0;width:100px}
/* forty-eight promoted layers is expensive to carry down the whole
   page, so they are only promoted while the section is in view */
.stage.hot .pip{will-change:transform,opacity}
.pip svg{display:block;width:100%;fill:rgba(255,248,238,.3);transition:fill .55s ease}
.pip.keep.lit svg{fill:var(--yellow)}
.ccap{display:block;margin-top:clamp(18px,3vh,38px);
  font-family:var(--display);font-weight:400;color:var(--ivory);
  font-size:clamp(1.5rem,3.8vw,3rem);line-height:1}
.stillsay{display:none}

/* ── TALENT: a globe that turns, with Manila pinned to it ──
   The land is one strip drawn once and used twice, side by side; the pair
   slides exactly one strip-width per cycle, so the roll has no seam. The
   pin and its label are outside that group and never move. ── */
.orb{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:clamp(30px,5vw,80px);
  align-items:center;margin-top:clamp(20px,3vw,40px)}
.globe{display:block;width:100%;max-width:min(100%,540px);margin:0 auto;overflow:visible}
.globe .spin{animation:roll 38s linear infinite}
@keyframes roll{to{transform:translateX(-600px)}}
.globe text{font-family:var(--display);font-weight:400}

.terms{list-style:none;margin:0;padding:0}
.terms li{padding:clamp(16px,2vw,26px) 0;border-top:1px solid rgba(43,27,16,.26);
  display:grid;grid-template-columns:minmax(0,12rem) 1fr;gap:clamp(16px,2.2vw,32px);
  align-items:baseline;opacity:0;translate:0 12px}
.terms li:last-child{border-bottom:1px solid rgba(43,27,16,.26)}
.terms.is-in li{opacity:1;translate:0 0;
  transition:opacity .5s ease,translate .6s cubic-bezier(.2,.85,.3,1);
  transition-delay:calc(var(--i,0) * 110ms)}
.terms b{font-family:var(--display);font-weight:400;font-size:clamp(1.05rem,1.9vw,1.4rem)}
.terms span{color:var(--cocoa);font-size:.95rem}
@media(max-width:900px){
  .orb{grid-template-columns:1fr;gap:clamp(26px,5vw,44px)}
  .terms li{grid-template-columns:1fr;gap:6px}
}

/* ── OPEN ROLES: one coloured tile per role ──
   Each tile takes a brandbook colour and a different brand element, bled off
   the bottom corner at low opacity so the shape reads as texture rather than
   as an icon. ── */
.tiles{display:grid;grid-template-columns:1fr 1fr;gap:clamp(12px,1.6vw,22px)}
.tile{background:var(--bg);color:var(--fg);text-decoration:none;
  padding:clamp(24px,3.2vw,44px);display:flex;flex-direction:column;
  gap:clamp(10px,1.4vw,16px);min-height:clamp(210px,24vw,300px);
  position:relative;overflow:hidden;
  transition:translate .3s cubic-bezier(.3,.85,.3,1)}
.tile .shp{position:absolute;right:-8%;bottom:-14%;width:46%;opacity:.24;
  transition:rotate .6s cubic-bezier(.3,.85,.3,1),scale .6s cubic-bezier(.3,.85,.3,1)}
.tile .shp svg{display:block;width:100%;transform-origin:50% 50%}
.tile.rise.is-in .shp svg{animation:tiledrift var(--t,8s) ease-in-out infinite alternate}
@keyframes tiledrift{
  from{rotate:-7deg;translate:-9px 5px;scale:1}
  to{rotate:7deg;translate:9px -5px;scale:1.05}}
.tile b{position:relative;font-family:var(--display);font-weight:400;line-height:1;
  font-size:clamp(1.45rem,2.9vw,2.4rem);max-width:12ch}
.tile .m{position:relative;font-size:.6rem;letter-spacing:.18em;text-transform:uppercase;
  font-weight:700;opacity:.7}
.tile .go{position:relative;margin-top:auto;font-weight:700;font-size:.84rem}
.tile:hover{translate:0 -8px}
.tile:hover .shp{rotate:16deg;scale:1.12}
@media(max-width:640px){.tiles{grid-template-columns:1fr}}


/* ── about: the one dark section ── */
.about{background:var(--cocoa);color:var(--ivory)}
.about .eyebrow{color:var(--yellow)}
.abgrid{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(30px,6vw,96px);align-items:start}
.abgrid .shead{margin-bottom:0}
.abtext p{margin:0 0 20px;font-size:1.06rem;line-height:1.66;color:rgba(255,248,238,.9)}
.abtext p:last-child{margin-bottom:0}
@media(max-width:820px){.abgrid{grid-template-columns:1fr}}

/* ── THE TEAM ──
   A photo slot per person with a brand element standing in until the picture
   arrives, so the section is presentable while it is half filled. ── */
.team{background:var(--peach)}
.team .eyebrow{color:var(--kutsinta)}
.mates{list-style:none;margin:0;padding:0;display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:clamp(24px,3.4vw,52px)}
.mate .shot{display:block;position:relative;aspect-ratio:4/5;overflow:hidden;
  background:var(--ivory);margin-bottom:clamp(16px,2vw,24px)}
.mate .shot img{display:block;width:100%;height:100%;object-fit:cover}
.mate .noshot{position:absolute;inset:0;display:grid;place-items:center;padding:24%;
  opacity:.34}
.mate .noshot svg{display:block;width:100%}
.mate b{display:block;font-family:var(--display);font-weight:400;
  font-size:clamp(1.15rem,2.1vw,1.55rem);line-height:1.04}
.mate .rl{display:block;margin-top:7px;font-size:.58rem;letter-spacing:.18em;
  text-transform:uppercase;font-weight:700;color:var(--kutsinta)}
.mate .ln{display:block;margin-top:12px;font-size:.94rem;color:var(--cocoa);
  max-width:30ch}

/* ── close: the form ──
   One form, two shapes. The switch changes which pair of fields is on show
   rather than sending people to a second page. ── */
.close{background:var(--yellow);text-align:center}
.close h2{max-width:20ch;margin:0 auto;font-size:clamp(2.1rem,5.4vw,4.2rem)}
.close .cts{margin-top:clamp(34px,4vw,52px);font-size:.64rem;letter-spacing:.16em;
  text-transform:uppercase;font-weight:700;color:var(--kutsinta)}

.switch{display:inline-flex;gap:6px;margin:clamp(30px,4vw,48px) auto 0;
  padding:5px;border-radius:999px;background:rgba(43,27,16,.1)}
.switch button{appearance:none;border:0;cursor:pointer;border-radius:999px;
  font-family:var(--sans);font-weight:700;font-size:.72rem;letter-spacing:.1em;
  text-transform:uppercase;padding:11px clamp(16px,2vw,26px);
  background:none;color:rgba(43,27,16,.62);transition:background .22s ease,color .22s ease}
.switch button[aria-selected="true"]{background:var(--ink);color:var(--ivory)}

.sali{max-width:560px;margin:clamp(26px,3.2vw,40px) auto 0;text-align:left}
/* belt and braces: the attribute hides them, and so does the state on the form */
.sali[data-mode="hiring"] .only.looking,
.sali[data-mode="looking"] .only.hiring{display:none}
.sali .only[hidden]{display:none}
.sali .row{display:block;margin-bottom:clamp(14px,1.8vw,20px)}
.sali label{display:block;font-size:.58rem;letter-spacing:.18em;text-transform:uppercase;
  font-weight:700;color:var(--kutsinta);margin-bottom:7px}
.sali input,.sali textarea{display:block;width:100%;box-sizing:border-box;
  font-family:var(--sans);font-size:1rem;color:var(--ink);
  background:var(--ivory);border:2px solid transparent;border-radius:0;
  padding:13px 15px;transition:border-color .2s ease}
.sali textarea{resize:vertical;min-height:96px}
.sali input:focus,.sali textarea:focus{outline:0;border-color:var(--ink)}
.sali input:user-invalid{border-color:var(--empanada)}
.sali .btn{margin-top:clamp(8px,1.4vw,14px)}
.formnote{margin:16px 0 0;font-size:.82rem;color:var(--kutsinta);min-height:1.2em}
.formnote.bad{color:var(--empanada);font-weight:700}

/* ── footer ── */
.foot{background:var(--ink);color:var(--ivory);padding:clamp(56px,7vw,100px) var(--pad) 28px}
.foot .top{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr 1fr;
  gap:clamp(22px,3.2vw,46px);
  max-width:var(--max);margin:0 auto}
/* the lockup only survives in the footer now that the header bar is gone,
   so it carries its own styles rather than inheriting the old header's */
.foot .lock{display:inline-block;text-decoration:none}
.foot .lock img{display:block;width:clamp(160px,17vw,215px);height:auto}
.foot .mk{color:var(--yellow)}
.foot .tag{font-family:var(--display);font-size:1.15rem;margin:18px 0 0;
  color:rgba(255,248,238,.78);max-width:24ch}
.foot h5{font-size:.6rem;letter-spacing:.2em;text-transform:uppercase;color:var(--yellow);
  margin:0 0 16px;font-weight:700}
.foot ul{list-style:none;margin:0;padding:0;display:grid;gap:10px;font-size:.92rem}
.foot a{color:rgba(255,248,238,.74);text-decoration:none}
.foot a:hover{color:var(--yellow)}
.foot .bar{max-width:var(--max);margin:clamp(44px,5vw,72px) auto 0;
  border-top:1px solid rgba(255,248,238,.18);padding-top:20px;display:flex;gap:20px;
  flex-wrap:wrap;font-size:.6rem;letter-spacing:.14em;text-transform:uppercase;
  color:rgba(255,248,238,.5)}
.foot .bar .r{margin-left:auto}
@media(max-width:1000px){.foot .top{grid-template-columns:1fr 1fr 1fr}
  .foot .top > div:first-child{grid-column:1/-1}}
@media(max-width:640px){.foot .top{grid-template-columns:1fr 1fr}}

/* ═══════════ MOTION — three moves, and that is all ═══════════ */
.rise{opacity:0;transform:translateY(16px)}
.rise.is-in{opacity:1;transform:none;
  transition:opacity .55s ease,transform .7s cubic-bezier(.2,.8,.3,1);
  transition-delay:calc(var(--i,0) * 80ms)}
.lines span{display:block;overflow:hidden;padding:0 .1em .06em;margin:0 -.1em -.06em}
.lines span > i{display:block;font-style:inherit;transform:translateY(105%)}
.lines.is-in span > i{transform:none;
  transition:transform .85s cubic-bezier(.16,.84,.3,1);
  transition-delay:calc(var(--i,0) * 100ms)}
.mk .rh,.mk .lh{transition:transform 1s cubic-bezier(.2,.75,.25,1),opacity .6s ease}
.mk.meet .rh{transform:translateX(74px);opacity:0}
.mk.meet .lh{transform:translateX(-74px);opacity:0}
.mk.meet.is-in .rh,.mk.meet.is-in .lh{transform:translateX(0);opacity:1}

@media (prefers-reduced-motion:reduce){
  .bit .shp{opacity:1!important}
  .bit.is-in .shp,.bit.is-in .shp svg{animation:none!important}
  /* collapse the pinned stage so there is no dead scroll to wade through */
  .herowrap{height:auto}
  .hero{position:static;height:auto;padding:clamp(56px,9vw,110px) 0;display:block}
  .heroword{opacity:1!important;transform:none!important}
  .heromark{position:static;margin:clamp(28px,4vw,48px) auto 0;width:min(82vw,760px);
    display:block}
  #houseLine,#houseFill{display:none}
  .scrollcue{display:none}
  .rise,.lines span > i,.mk.meet .rh,.mk.meet .lh{opacity:1!important;transform:none!important}
  .mark-hl::before{transform:scaleX(1)!important}
  *{transition:none!important}
}


/* ═══════════════════════════════════════════════════════════════════
   MOTION, SECTION BY SECTION
   Each one gets a single move that suits its own form — the figures
   arrive from their edge, the staircase builds a step at a time, the
   cards are dealt, the roles land in order. All of it stops dead
   under prefers-reduced-motion.
   =================================================================== */

/* the two characters walk in from their own side */
.peek .peekfig{opacity:0;transition:translate .8s cubic-bezier(.2,.85,.3,1),
  opacity .6s ease,rotate .8s cubic-bezier(.2,.85,.3,1)}
.pk-l .peekfig{translate:-90px -50%;rotate:-12deg}
.pk-r .peekfig{translate:90px -50%;rotate:12deg}
.peek.is-in .peekfig{opacity:1;translate:0 -50%;rotate:0deg}
.peek.is-in .peekfig svg{animation:sway 8.5s ease-in-out infinite alternate;
  transform-origin:50% 90%}
.pk-r.is-in .peekfig svg{animation-duration:7.2s}
.pk-l:hover .peekfig{translate:18px -50%}
.pk-r:hover .peekfig{translate:-18px -50%}

/* the tiles land in order */
.tile.rise,.mate.rise{opacity:0;translate:0 18px}
.tile.rise.is-in,.mate.rise.is-in{opacity:1;translate:0 0;
  transition:opacity .5s ease,translate .6s cubic-bezier(.2,.85,.3,1);
  transition-delay:calc(var(--i,0) * 100ms)}
.tile.rise.is-in:hover{translate:0 -8px;transition-delay:0s}

/* shapes drifting behind the last two sections */
.drift{position:absolute;z-index:0;pointer-events:none;opacity:.14;
  animation:float var(--t,18s) ease-in-out infinite alternate}
.drift svg{display:block;width:100%}
.about{position:relative;overflow:hidden}
.about .in{position:relative;z-index:1}
.d1{width:clamp(150px,18vw,280px);right:-4%;top:-8%;--t:16s}
.d2{width:clamp(110px,13vw,200px);left:-3%;bottom:-10%;--t:21s}
.close{position:relative;overflow:hidden}
.close .in{position:relative;z-index:1}
.c1{width:clamp(130px,16vw,240px);left:-3%;top:6%;--t:19s;opacity:.4}
.c2{width:clamp(110px,13vw,190px);right:-2%;bottom:4%;--t:24s;opacity:.28}
@keyframes float{from{translate:0 0;rotate:-6deg}to{translate:0 -26px;rotate:6deg}}

@media (prefers-reduced-motion:reduce){
  .peek .peekfig{opacity:1!important;translate:0 -50%!important;rotate:0!important}
  .peek.is-in .peekfig svg,.drift{animation:none!important}
  /* the crowd is a scrubbed stage, so with motion off it collapses to the
     sentence it was illustrating */
  .stage{height:auto}
  .stage .pin{position:static;height:auto;display:block}
  .crowdwrap{display:none}
  .stillsay{display:block;margin:clamp(26px,4vw,44px) 0 0;max-width:52ch;
    font-size:1.06rem;line-height:1.66;color:rgba(255,248,238,.9)}
  .tile.rise,.mate.rise,.terms li{opacity:1!important;translate:0 0!important}
  .tile.rise.is-in .shp svg{animation:none!important}
  .globe .spin{animation:none!important}
}

/* on narrow screens the figures stay a faint backdrop, so the reveal
   should land at that opacity rather than full strength */
@media(max-width:760px){
  .peek.is-in .peekfig{opacity:.26}
}

/* ═══════════════════════════════════════════════════════════════════
   OFF-SCREEN IDLE
   Every looping animation on the page is paused while its section is
   out of view. Running them the whole way down was costing paint on
   frames where nothing was visible, which is what made the scroll
   feel heavy.
   =================================================================== */
.idle .shp svg,
.idle .peekfig svg,
.idle .globe .spin,
.idle .drift{animation-play-state:paused}

/* ═══════════════════════════════════════════════════════════════════
   KWENTUHAN — the reading room
   Two shelves, one per reader. The covers are typographic rather than
   illustrated: a hook from the piece, set large on a brandbook pair.
   =================================================================== */
/* the header sits on the indigo so it cannot be mistaken for the first
   shelf — both shelves are light, and an ivory header ran straight into
   the one underneath it */
.kw{background:var(--indigo);color:var(--ivory);
  padding-top:clamp(104px,15vh,180px);padding-bottom:clamp(56px,7vw,96px)}
.kw .eyebrow{color:var(--yellow)}
.kw h1.dsp{font-size:clamp(3.4rem,11vw,9rem);margin-top:10px;line-height:.86}
.kwsay{margin:clamp(20px,2.6vw,34px) 0 0;max-width:46ch;font-size:1.06rem;
  line-height:1.6;color:rgba(255,248,238,.82)}
/* the two shelves, named at the top so the split is obvious before you scroll */
.kwshelves{display:flex;flex-wrap:wrap;gap:clamp(10px,1.4vw,18px);
  margin:clamp(28px,3.4vw,44px) 0 0}
.kwshelves a{display:inline-block;text-decoration:none;
  border:2px solid rgba(255,248,238,.5);color:var(--ivory);
  padding:11px clamp(16px,2vw,26px);border-radius:999px;
  font-size:.62rem;letter-spacing:.18em;text-transform:uppercase;font-weight:700;
  transition:background .25s ease,color .25s ease,border-color .25s ease}
.kwshelves a:hover{background:var(--yellow);border-color:var(--yellow);color:var(--ink)}
.shelf.alt{background:var(--peach)}
.shelf.alt .eyebrow{color:var(--kutsinta)}
.shelfsay{margin:clamp(16px,2vw,24px) 0 0;max-width:44ch;color:var(--cocoa)}
.posts{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:clamp(24px,3.4vw,52px)}
.post{display:block;text-decoration:none;color:inherit}
.post .cov{display:block;aspect-ratio:16/9;overflow:hidden;background:var(--bg)}
.post .cov img{display:block;width:100%;height:100%;object-fit:cover;
  transition:scale .5s cubic-bezier(.3,.85,.3,1)}
.post:hover .cov img{scale:1.04}
.post .tx{display:block;padding-top:clamp(16px,2vw,24px)}
.post .cat{display:block;font-size:.58rem;letter-spacing:.18em;text-transform:uppercase;
  font-weight:700;color:var(--kutsinta)}
.post b{display:block;margin-top:10px;font-family:var(--display);font-weight:400;
  font-size:clamp(1.1rem,1.9vw,1.4rem);line-height:1.12}
.post .dk{display:block;margin-top:10px;font-size:.94rem;color:var(--cocoa);max-width:36ch}
.post .rd{display:block;margin-top:14px;font-weight:700;font-size:.84rem;
  color:var(--empanada)}
.post:hover .rd{text-decoration:underline}
.post.rise{opacity:0;translate:0 18px}
.post.rise.is-in{opacity:1;translate:0 0;
  transition:opacity .5s ease,translate .6s cubic-bezier(.2,.85,.3,1);
  transition-delay:calc(var(--i,0) * 100ms)}
@media (prefers-reduced-motion:reduce){
  .post.rise{opacity:1!important;translate:0 0!important}
  .post:hover .cov img{scale:1}
}

/* ── the two landing pages ── */
.land{padding-top:clamp(96px,14vh,170px);padding-bottom:clamp(56px,7vw,100px)}
.land h1.dsp{font-size:clamp(2.6rem,6.6vw,5.4rem);max-width:16ch}
.landsay{margin:clamp(24px,3vw,38px) 0 0;max-width:52ch;font-size:1.08rem;
  line-height:1.62;color:var(--cocoa)}
.land .go{display:block;margin-top:clamp(26px,3.2vw,42px)}

/* ═══════════════════════════════════════════════════════════════════
   AN ARTICLE
   One column, wide margins, the display face for headings and General
   Sans for the reading. Nothing else on the page competes with it.
   =================================================================== */
.art{background:var(--ivory)}
.arthead{padding:clamp(104px,15vh,180px) var(--pad) clamp(30px,4vw,54px)}
.arthead .eyebrow{color:var(--empanada)}
.arthead .eyebrow a{color:inherit;text-decoration:none}
.arthead .eyebrow a:hover{text-decoration:underline}
.arthead h1.dsp{font-size:clamp(2.1rem,5vw,3.9rem);max-width:20ch;margin-top:12px;
  line-height:1.02}
.arthead .dek{margin:clamp(20px,2.6vw,32px) 0 0;max-width:54ch;font-size:1.12rem;
  line-height:1.6;color:var(--cocoa)}
.artshot{max-width:var(--max);margin:0 auto;padding:0 var(--pad)}
.artshot img{display:block;width:100%;height:auto}
.artbody{padding:clamp(40px,5vw,72px) var(--pad) clamp(50px,6vw,90px)}
.artbody .in{max-width:66ch}
.artbody p{margin:0 0 1.15em;font-size:1.08rem;line-height:1.72;color:var(--ink)}
.artbody h2,.artbody h3{font-family:var(--display);font-weight:400;line-height:1.08;
  letter-spacing:-.015em;margin:clamp(34px,4vw,56px) 0 .5em}
.artbody h2{font-size:clamp(1.5rem,3vw,2.2rem)}
.artbody h3{font-size:clamp(1.3rem,2.4vw,1.8rem)}
.artbody ul,.artbody ol{margin:0 0 1.15em;padding-left:1.25em}
.artbody li{margin:0 0 .5em;font-size:1.06rem;line-height:1.66}
.artbody strong{font-weight:700}
.artbody a{color:var(--empanada)}
.artbody blockquote{margin:clamp(28px,3.4vw,44px) 0;padding-left:clamp(18px,2.4vw,30px);
  border-left:3px solid var(--yellow);font-family:var(--display);
  font-size:clamp(1.2rem,2.2vw,1.65rem);line-height:1.26}
.artbody blockquote p{font-family:inherit;font-size:inherit;line-height:inherit;margin:0}
/* the shelf below this one is peach, so the close takes the yellow the
   homepage's close uses — two peach blocks in a row read as one section */
.artend{background:var(--yellow);padding:clamp(54px,6.6vw,92px) var(--pad);
  text-align:center}
.artend .dsp{margin:0 auto;max-width:22ch;font-size:clamp(1.5rem,3.4vw,2.6rem)}
.artend .go{display:block;margin-top:clamp(22px,2.8vw,34px)}
.artmore .posts .tx{padding-top:14px}
