/* ══════════════════════════════════════════════════
   Ruth Renner May — landing page
   One language at a time. Palette swappable at the top.
   Folder rebuilt from the inspected source element.
   ══════════════════════════════════════════════════ */

/* ── PALETTES ──────────────────────────────────── */
/* "ruth" is her live brand, sampled from ruthrennermay.com:
   near-black #1B1C1B, off-white #F2F2F2, teal #60999A,
   slate #59646B. It is the default. */
:root,
[data-theme="ruth"]{
  --bg:#222321; --bg-hi:#2d2f2c; --bg-lo:#191a18;
  --accent:#588c8d;
  --ink:#fdfdfd; --body:#bfd0cc; --tint:rgba(191,208,204,.20);
  --paper:#f2f2f2; --paper-ink:rgba(27,28,27,.86);
  --folder-1:#4d7473; --folder-2:#35514f;
  --glass-1:rgba(88,140,141,.34); --glass-2:rgba(77,116,115,.34); --glass-3:rgba(34,35,33,.46);
  --glass-lip:rgba(178,206,206,.45); --glass-under:rgba(18,28,30,.6); --glass-cast:rgba(0,0,0,.35);
  --cover-a1:#f4f2ec; --cover-a2:#d6c7a0; --cover-b:#588c8d; --cover-c:#3f6b6c;
  --mark:#588c8d; --tile-dark:#16211f; --tile-rust:#8a6a55; --tile-deep:#588c8d;
  --halo:rgba(88,140,141,.38); --logo-bub:#588c8d; --logo-2:#b6c8c5;
  --frost:rgba(88,140,141,.17); --frost-bd:rgba(88,140,141,.40);
  --rule:rgba(88,140,141,.34);
}
[data-theme="sky"]{
  --bg:#2ec4e6; --bg-hi:#63d8f2; --bg-lo:#26b6da;
  --ink:#07171c; --body:rgba(6,45,58,.78); --tint:rgba(6,60,74,.28);
  --paper:#f8f7f3; --paper-ink:rgba(6,30,38,.86);
  --folder-1:#93e4f8; --folder-2:#6ed5f1;
  --glass-1:rgba(255,181,255,.5); --glass-2:rgba(32,200,232,.5); --glass-3:rgba(0,185,222,.5);
  --glass-lip:rgba(191,248,255,.8); --glass-under:rgba(0,185,222,.5); --glass-cast:rgba(0,117,138,.2);
  --cover-a1:#f4f3ee; --cover-a2:#fed922; --cover-b:#2d6a4f; --cover-c:#9d4edd;
  --mark:#ffe45e; --tile-dark:#0f2b3a; --tile-rust:#d5714f; --tile-deep:#166b70;
  --halo:rgba(160,226,246,.55); --logo-bub:#7fb0af; --logo-2:#5d7f88; --accent:#7fb0af;
  --frost:rgba(255,255,255,.36); --frost-bd:rgba(255,255,255,.55); --rule:rgba(6,60,74,.20);
}
[data-theme="bone"]{
  --bg:#e7e0d3; --bg-hi:#f3ede2; --bg-lo:#dcd3c3;
  --ink:#1a1712; --body:rgba(26,23,18,.72); --tint:rgba(26,23,18,.26);
  --paper:#fffdf8; --paper-ink:rgba(26,23,18,.86);
  --folder-1:#dbd0bb; --folder-2:#cabda4;
  --glass-1:rgba(255,244,222,.5); --glass-2:rgba(226,213,188,.5); --glass-3:rgba(198,182,152,.5);
  --glass-lip:rgba(255,250,236,.85); --glass-under:rgba(190,172,138,.5); --glass-cast:rgba(120,100,66,.2);
  --cover-a1:#faf8f2; --cover-a2:#c9922b; --cover-b:#57634e; --cover-c:#7a5c46;
  --mark:#e0cb96; --tile-dark:#2b2519; --tile-rust:#b4713f; --tile-deep:#5c6a4e;
  --halo:rgba(214,203,180,.6); --logo-bub:#8a9e86; --logo-2:#8e8676; --accent:#8a9e86;
  --frost:rgba(255,255,255,.46); --frost-bd:rgba(255,255,255,.72); --rule:rgba(26,23,18,.18);
}
[data-theme="ink"]{
  --bg:#0e2230; --bg-hi:#173447; --bg-lo:#0a1a25;
  --ink:#eef6f9; --body:rgba(238,246,249,.70); --tint:rgba(238,246,249,.22);
  --paper:#17303e; --paper-ink:rgba(238,246,249,.84);
  --folder-1:#1f4a61; --folder-2:#153546;
  --glass-1:rgba(130,190,255,.26); --glass-2:rgba(40,115,155,.34); --glass-3:rgba(10,52,78,.46);
  --glass-lip:rgba(150,215,240,.5); --glass-under:rgba(10,60,85,.6); --glass-cast:rgba(0,0,0,.35);
  --cover-a1:#f4f3ee; --cover-a2:#e0b64a; --cover-b:#2f6b53; --cover-c:#6a4fbd;
  --mark:#2fd0bd; --tile-dark:#061520; --tile-rust:#c56445; --tile-deep:#12565c;
  --halo:rgba(60,120,150,.55); --logo-bub:#79b3b2; --logo-2:#7f97a3; --accent:#79b3b2;
  --frost:rgba(121,179,178,.17); --frost-bd:rgba(121,179,178,.40); --rule:rgba(121,179,178,.32);
}
[data-theme="sage"]{
  --bg:#c6d3c3; --bg-hi:#dae3d7; --bg-lo:#b5c5b2;
  --ink:#14231a; --body:rgba(20,35,26,.72); --tint:rgba(20,35,26,.26);
  --paper:#f8faf6; --paper-ink:rgba(20,35,26,.86);
  --folder-1:#b6c9b2; --folder-2:#a3b89f;
  --glass-1:rgba(236,255,226,.45); --glass-2:rgba(163,197,163,.45); --glass-3:rgba(120,160,125,.45);
  --glass-lip:rgba(240,252,236,.85); --glass-under:rgba(110,150,115,.5); --glass-cast:rgba(50,80,58,.2);
  --cover-a1:#f7f6ef; --cover-a2:#c9a227; --cover-b:#37604a; --cover-c:#6d5aa8;
  --mark:#bfe39a; --tile-dark:#1c2c22; --tile-rust:#a86c46; --tile-deep:#3f6a56;
  --halo:rgba(178,201,175,.6); --logo-bub:#6f9a92; --logo-2:#69796d; --accent:#6f9a92;
  --frost:rgba(255,255,255,.42); --frost-bd:rgba(255,255,255,.66); --rule:rgba(20,35,26,.18);
}
[data-theme="oxblood"]{
  --bg:#e9dbd8; --bg-hi:#f4e8e5; --bg-lo:#ddc9c5;
  --ink:#2a1013; --body:rgba(42,16,19,.72); --tint:rgba(42,16,19,.26);
  --paper:#fffaf8; --paper-ink:rgba(42,16,19,.86);
  --folder-1:#dcc2bd; --folder-2:#ccaba5;
  --glass-1:rgba(255,224,228,.5); --glass-2:rgba(220,182,182,.45); --glass-3:rgba(176,128,128,.45);
  --glass-lip:rgba(255,242,240,.85); --glass-under:rgba(170,120,120,.5); --glass-cast:rgba(90,40,44,.2);
  --cover-a1:#fbf6f3; --cover-a2:#b8863b; --cover-b:#5c4a3f; --cover-c:#7c2733;
  --mark:#efb9ad; --tile-dark:#2d1216; --tile-rust:#a4423f; --tile-deep:#6a3a3f;
  --halo:rgba(219,195,190,.6); --logo-bub:#a8807c; --logo-2:#9a7d7c; --accent:#a8807c;
  --frost:rgba(255,255,255,.46); --frost-bd:rgba(255,255,255,.70); --rule:rgba(42,16,19,.18);
}
[data-theme="graphite"]{
  --bg:#ccd2d4; --bg-hi:#dfe4e6; --bg-lo:#bcc4c8;
  --ink:#101416; --body:rgba(16,20,22,.72); --tint:rgba(16,20,22,.26);
  --paper:#fbfcfc; --paper-ink:rgba(16,20,22,.86);
  --folder-1:#bcc5c9; --folder-2:#a8b3b8;
  --glass-1:rgba(244,249,252,.5); --glass-2:rgba(190,201,208,.45); --glass-3:rgba(148,161,170,.45);
  --glass-lip:rgba(250,253,255,.85); --glass-under:rgba(140,155,164,.5); --glass-cast:rgba(40,52,58,.2);
  --cover-a1:#f7f8f8; --cover-a2:#c8a04a; --cover-b:#3c5560; --cover-c:#5b5f8a;
  --mark:#a9bfc8; --tile-dark:#151a1d; --tile-rust:#9b6250; --tile-deep:#3d5a63;
  --halo:rgba(180,192,198,.6); --logo-bub:#7d9aa3; --logo-2:#727d82; --accent:#7d9aa3;
  --frost:rgba(255,255,255,.44); --frost-bd:rgba(255,255,255,.68); --rule:rgba(16,20,22,.18);
}

:root{
  --ease:cubic-bezier(.22,1,.36,1);
  --display:"Playfair Display",Georgia,"Times New Roman",serif;
  --text:"Lato",system-ui,sans-serif;
}

/* Playfair carries its own width — the tight negative
   tracking that suited the geometric sans would crush it */
.hero__h1,.say__ghost,.area__title,.notes__h,.echo__line,
.outro__h,.tools__line,.reveal__p,.bubble p,.vol h3,.seam__page p{
  font-family:var(--display);
  font-weight:700;
  letter-spacing:.002em;
}
.hero__sub,.area__note,.creds__cap,.note p,.outro__p,
.tool__name,.tools__todo,.affil{font-family:var(--text);font-weight:300}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:"Lato",system-ui,sans-serif;
  font-weight:300;
  color:var(--ink);
  background:var(--bg);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  transition:background-color .5s var(--ease),color .5s var(--ease);
}
img{max-width:100%;display:block}
h1,h2,h3,h4,p,figure,blockquote{margin:0}
a{color:inherit;text-decoration:none}
main{position:relative;z-index:1}

/* atmosphere only — kept huge and low-contrast so the
   gradient edge never lands on screen as a visible arc */
body::before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:0;
  background:
    linear-gradient(180deg,var(--bg-hi) 0%,transparent 55%),
    linear-gradient(0deg,var(--bg-hi) 0%,transparent 42%);
  opacity:.34;
}

/* ── LANGUAGE VISIBILITY ───────────────────────── */
[data-lang="en"] .l--es,
[data-lang="es"] .l--en{display:none !important}

/* ── NAV ───────────────────────────────────────── */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:60;
  display:flex;align-items:center;gap:14px;
  padding:18px clamp(16px,4vw,44px);
}
/* logo — her mark redrawn: the RR monogram (two offset
   R's, Ruth Renner) with the speech bubble overlapping,
   set in the site's own face rather than a second one */
.nav__mark{display:block}
.logo{
  position:relative;display:block;
  width:56px;height:40px;
}
.logo__r{
  position:absolute;
  font-family:var(--display);
  font-weight:700;font-size:44px;line-height:1;
  letter-spacing:-.01em;color:var(--ink);
}
/* her mark: solid R behind on the left, lighter R in
   front on the right, teal bubble over the shoulder */
.logo__r--back{left:11px;top:0;opacity:1}
.logo__r--front{left:22px;top:3px;color:var(--logo-2)}
.logo__bub{
  position:absolute;left:-4px;top:-1px;z-index:3;
  width:34px;height:27px;overflow:visible;
}
.logo__bub-fill{fill:var(--logo-bub)}
.logo__bub circle{fill:var(--ink)}
.nav__links{
  display:flex;gap:22px;margin-left:auto;
  background:var(--frost);
  border:1px solid var(--frost-bd);
  border-radius:999px;padding:9px 20px;
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
}
.nav__links a{
  font-size:12.5px;font-weight:700;letter-spacing:.11em;
  color:var(--ink);opacity:.92;transition:color .28s var(--ease);
}
.nav__links a:hover{opacity:1;color:var(--accent)}

/* palette picker */
.swatches{
  display:flex;gap:6px;align-items:center;
  background:var(--frost);
  border:1px solid var(--frost-bd);
  border-radius:999px;padding:6px 9px;
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
}
.sw{
  width:17px;height:17px;border-radius:50%;cursor:pointer;padding:0;
  border:1.5px solid rgba(255,255,255,.85);
  box-shadow:0 1px 3px rgba(0,0,0,.2);
  transition:transform .25s var(--ease);
}
.sw:hover{transform:scale(1.18)}
.sw.is-on{box-shadow:0 0 0 2.5px var(--ink)}
.sw--ruth{background:linear-gradient(135deg,#1b1c1b 55%,#60999a 55%)}
.sw--sky{background:#2ec4e6}
.sw--bone{background:#e7e0d3}
.sw--ink{background:#0e2230}
.sw--sage{background:#c6d3c3}
.sw--oxblood{background:#7c2733}
.sw--graphite{background:#ccd2d4}

.langswitch{
  position:relative;display:flex;align-items:center;
  background:var(--frost);border:1px solid var(--frost-bd);
  border-radius:999px;padding:3px;backdrop-filter:blur(8px);
}
.langswitch__opt{
  position:relative;z-index:2;border:0;background:none;cursor:pointer;
  font:inherit;font-size:12px;font-weight:800;letter-spacing:.08em;
  padding:5px 12px;color:var(--ink);opacity:.55;transition:opacity .3s;
}
.langswitch__opt.is-on{opacity:1;color:var(--bg)}
.langswitch__thumb{
  position:absolute;z-index:1;top:3px;left:3px;
  width:42px;height:calc(100% - 6px);border-radius:999px;
  background:var(--ink);box-shadow:0 2px 8px rgba(0,0,0,.22);
  transition:transform .42s var(--ease);
}
[data-lang="es"] .langswitch__thumb{transform:translateX(42px)}

/* ── RULED PAGE BREAK ──────────────────────────── */
/* a ruled sheet edge: dashed rule + faint punch holes */
.ruled{
  position:relative;height:2px;margin:0 clamp(20px,6vw,90px);
  background:repeating-linear-gradient(
    to right,var(--accent) 0 14px,transparent 14px 28px);
  opacity:.5;
}
.ruled::before,.ruled::after{
  content:"";position:absolute;top:50%;width:7px;height:7px;
  border-radius:50%;background:var(--accent);opacity:.9;
  transform:translateY(-50%);
}
.ruled::before{left:-14px}
.ruled::after{right:-14px}

/* ── HERO ──────────────────────────────────────── */
.hero{
  position:relative;min-height:100svh;
  display:flex;flex-direction:column;justify-content:center;
  padding:clamp(150px,19vh,200px) 0 0;
}
.hero__inner{
  position:relative;z-index:5;
  max-width:1240px;margin-inline:auto;width:100%;
  padding:0 clamp(20px,6vw,90px);
}
.hero__h1{
  font-size:clamp(34px,5.5vw,78px);
  line-height:1.04;letter-spacing:0;word-spacing:.04em;font-weight:700;
  max-width:17ch;
}
.hero__sub{
  margin-top:30px;max-width:58ch;
  font-size:clamp(15px,1.5vw,21px);line-height:1.42;
  font-weight:500;color:var(--body);
}
.cta{
  display:inline-flex;align-items:center;gap:12px;margin-top:42px;
  background:var(--paper);border-radius:999px;padding:15px 15px 15px 26px;
  font-size:15px;font-weight:700;color:var(--paper-ink);
  box-shadow:0 10px 26px rgba(0,40,55,.20);
  transition:transform .4s var(--ease),box-shadow .4s var(--ease);
}
.cta em{
  font-style:normal;display:grid;place-items:center;
  width:32px;height:32px;border-radius:50%;
  background:var(--accent);color:#fff;
  transition:transform .4s var(--ease);
}
.cta:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(0,40,55,.26)}
.cta:hover em{transform:translateX(3px)}
.cta--dark{background:var(--paper-ink);color:var(--paper)}
.cta--dark em{background:var(--accent);color:#fff}

.rail{
  margin-top:clamp(56px,9vh,110px);
  padding:0 0 clamp(44px,7vh,84px);
  overflow:hidden;position:relative;z-index:4;
}
.rail__track{display:flex;gap:14px;width:max-content;will-change:transform}
.pill{
  white-space:nowrap;border-radius:999px;padding:11px 20px;
  font-size:13.5px;font-weight:600;
  background:var(--frost);
  border:1px solid var(--frost-bd);
  color:var(--ink);
  backdrop-filter:blur(4px);
}
.pill--solid{background:var(--paper);border-color:var(--paper)}
.pill--dark{background:var(--ink);color:var(--bg);border-color:var(--ink);font-weight:700}

/* ── SPEECH BUBBLE ─────────────────────────────── */
/* the words are the point — the bubble sits clear of them,
   overlapping only the empty space past the last letter */
.say{
  position:relative;
  padding:clamp(80px,14vh,170px) clamp(20px,6vw,90px);
  min-height:70svh;display:flex;align-items:center;
}
.say__inner{position:relative;width:100%;max-width:1240px;margin-inline:auto}
.say__ghost{
  font-size:clamp(52px,9.6vw,140px);line-height:1;
  letter-spacing:.004em;word-spacing:.06em;font-weight:700;text-align:left;
  color:var(--ink);opacity:.9;
}
.say__ghost--sm{font-size:clamp(38px,6.4vw,94px);line-height:.94}
.bubble{
  position:absolute;z-index:5;
  right:0;bottom:-9%;
  width:min(430px,72vw);
  transform:rotate(-1.8deg);
  background:var(--paper);border-radius:28px;
  padding:26px 30px;
  box-shadow:0 26px 60px rgba(0,40,55,.24);
  transform-origin:10% 82%;
}
.bubble::after{
  content:"";position:absolute;left:-20px;bottom:54px;
  width:44px;height:42px;background:var(--paper);
  clip-path:polygon(100% 0,100% 100%,0 42%);
}
.bubble p{
  font-size:clamp(16px,1.75vw,22px);line-height:1.28;
  letter-spacing:-.02em;font-weight:700;color:var(--paper-ink);
}

/* ── SCRUBBED REVEAL ───────────────────────────── */
.reveal{
  position:relative;
  padding:clamp(70px,12vh,150px) clamp(20px,6vw,90px);
  max-width:1120px;margin-inline:auto;
}
.reveal__p{
  font-size:clamp(23px,3.4vw,44px);
  line-height:1.34;letter-spacing:.002em;word-spacing:.04em;font-weight:700;
  margin-bottom:clamp(38px,6vh,72px);
}
.reveal__p:last-child{margin-bottom:0}
.w{color:var(--tint)}
.term{
  display:inline-flex;align-items:baseline;
  background:var(--paper);color:var(--paper-ink);border-radius:8px;
  padding:.02em .34em;
  box-shadow:0 5px 14px rgba(0,40,55,.16);
}
.term i{font-style:normal;font-weight:700;color:var(--paper-ink)}
.term::before{content:"“";margin-right:.04em;color:var(--paper-ink);opacity:.42;font-weight:700}
.term::after{content:"”";margin-left:.04em;color:var(--paper-ink);opacity:.42;font-weight:700}

/* ── PINNED HORIZONTAL AREAS ───────────────────── */
.areas{position:relative}
.areas__viewport{
  height:100svh;overflow:hidden;position:relative;
  display:flex;align-items:center;
}
.areas__track{display:flex;width:max-content;align-items:flex-start;will-change:transform}
.area{
  flex:none;padding:0 clamp(24px,5vw,80px);
  display:grid;
  grid-template-columns:max-content clamp(200px,20vw,270px);
  gap:0 clamp(28px,3.5vw,60px);align-items:start;
}
.area__num{
  grid-column:1/-1;font-size:13px;font-weight:700;letter-spacing:.1em;
  color:var(--accent);margin-bottom:14px;
}
.area__title{
  font-size:clamp(42px,7vw,98px);line-height:1.02;
  letter-spacing:.004em;word-spacing:.05em;font-weight:700;
}
.area__note{
  font-size:14.5px;line-height:1.55;font-weight:500;
  color:var(--body);padding-top:.8em;
}

/* ── CREDENTIALS FOLDER ────────────────────────── */
/* Rebuilt from the source element: two stacked glass
   layers, the outer one skewed -12deg, covers stacked
   in Z behind it and tucked low until hover. */
.creds{
  position:relative;
  padding:clamp(80px,13vh,160px) clamp(20px,6vw,90px) clamp(60px,9vh,110px);
  overflow:hidden;
}
/* (ghost word removed — it read as stray arcs behind the
   folder and added nothing) */
.folder{
  position:relative;z-index:3;
  width:min(880px,92vw);margin:0 auto;
  aspect-ratio:11/7.2;
  perspective:1200px;
  cursor:pointer;
}
/* body sits just above the covers — no empty cyan field.
   Single hairline rule only; the double ring was reading
   as a stray white band across the folder. */
/* top-left corner is SQUARE — the tab sits on it and
   supplies the rounding, so the left edge reads as one
   continuous line instead of two corners fighting.
   No inset ring either: it drew a hairline along the top
   edge that showed straight through the tab. */
.folder__back{
  position:absolute;left:0;right:0;bottom:0;height:76%;
  background:linear-gradient(178deg,var(--folder-1),var(--folder-2));
  border-radius:0 18px 24px 24px;
  box-shadow:0 34px 64px rgba(0,40,55,.20);
}
/* tab overlaps the body by 1% so the two never show a seam */
.folder__back::before{
  content:"";position:absolute;left:0;top:-13.5%;
  width:36%;height:14.5%;
  background:var(--folder-1);
  border-radius:16px 0 0 0;
  clip-path:polygon(0 0,74% 0,100% 100%,0 100%);
}

.folder__contents{position:absolute;inset:0;z-index:2;transform-style:preserve-3d}
/* tucked low at rest — only the top edges clear the
   glass until you hover, exactly as the source does */
.vol{
  position:absolute;bottom:3%;
  width:27%;aspect-ratio:5/6.9;
  border-radius:2.5%/2.1%;
  padding:8% 9% 0 12%;
  box-shadow:0 20px 38px rgba(0,40,55,.24);
  will-change:transform;
}
.vol h3{
  font-size:clamp(11px,1.3vw,17px);line-height:1.12;
  letter-spacing:-.024em;font-weight:800;
}
.vol__spine{
  position:absolute;left:0;top:0;bottom:0;width:7%;
  border-radius:2px 0 0 2px;
  background:linear-gradient(90deg,
    rgba(255,255,255,.30) 0%,rgba(255,255,255,.55) 34%,rgba(0,0,0,.10) 100%);
  box-shadow:inset -1px 0 0 rgba(0,0,0,.10);
}
/* four covers, centred as a group */
.vol--a{left:4%;  background:linear-gradient(var(--cover-a1) 50.27%,var(--cover-a2) 100%);color:#151310;transform:translateZ(0)      rotate(-3.4deg)}
.vol--b{left:26%; background:var(--cover-b);color:#fff;                                       transform:translateZ(-16px) rotate(-1deg)}
.vol--c{left:48%; background:var(--cover-c);color:#fff;                                       transform:translateZ(-32px) rotate(1.4deg)}
.vol--d{left:70%; background:var(--folder-2);color:#fff;                                      transform:translateZ(-48px) rotate(3.2deg)}
.vol__meta{
  margin-top:.55em;font-family:var(--text);font-weight:400;
  font-size:clamp(9px,.88vw,11px);line-height:1.32;opacity:.72;
}
.vol--a .vol__spine{background:linear-gradient(90deg,#d9d6cd,#f4f2ec 46%,rgba(0,0,0,.06))}

/* ONE pane. The source stacks two, but two panes with
   different corner radii read as a duplicated panel —
   so this merges both layers' effects into a single
   element: tint + blur + inner lip + outer cast. */
.folder__glass{
  position:absolute;z-index:4;pointer-events:none;
  left:1%;right:1%;bottom:1.5%;height:56%;
  border-radius:26px;
  background:linear-gradient(var(--glass-1) 0%,var(--glass-2) 32%,var(--glass-3) 89%);
  backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,.55),
    inset 0 -2px 8px var(--glass-under),
    inset -2px 4px 18px 2px var(--glass-lip),
    0 0 18px var(--glass-cast);
  transform:skewX(-9deg);transform-origin:50% 100%;
}
.folder__label{
  position:absolute;z-index:5;left:7%;bottom:9%;
  transform:translateY(-12px);
  background:linear-gradient(rgba(255,255,255,.1) 43%,rgba(0,188,217,.1) 100%);
  border-radius:8px;padding:7px 16px;
  font-size:clamp(13px,1.5vw,18px);font-weight:700;font-style:italic;color:#fff;
  box-shadow:-1px 1px 2px rgba(0,139,163,.2);
  text-shadow:0 1px 5px rgba(0,60,80,.30);
}
/* affiliations sit beneath the folder as a plain list —
   they're memberships, not certifications, so they don't
   compete with the covers */
.affil{max-width:760px;margin:clamp(48px,7vh,86px) auto 0;text-align:center}
.affil__h{
  font-family:var(--text);
  font-size:11px;font-weight:700;letter-spacing:.19em;text-transform:uppercase;
  color:var(--accent);margin-bottom:22px;
}
.affil__list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.affil__list li{
  font-size:15px;line-height:1.45;font-weight:300;color:var(--ink);
  padding-bottom:12px;border-bottom:1px solid var(--rule);
}
.affil__list li:last-child{border-bottom:0}
.affil__list span{
  display:block;margin-top:3px;
  font-size:12.5px;letter-spacing:.03em;color:var(--accent);
}

/* ── TOOLS ─────────────────────────────────────── */
.tools{
  position:relative;min-height:78svh;
  display:grid;place-items:center;
  padding:clamp(80px,14vh,180px) clamp(20px,6vw,90px);
  overflow:hidden;
}
.tools__field{position:absolute;inset:0;pointer-events:none}
.toolwrap{
  position:absolute;left:var(--x);top:var(--y);
  transform:translate(-50%,-50%);
  display:flex;flex-direction:column;align-items:center;gap:11px;
  will-change:transform;
}
.tool{
  width:clamp(54px,5.4vw,78px);aspect-ratio:1;
  display:grid;place-items:center;border-radius:24%;
  background:var(--paper);color:var(--paper-ink);
  box-shadow:0 0 0 6px var(--halo),0 14px 26px rgba(0,40,55,.20);
  will-change:transform;
}
.tool svg{
  width:52%;height:52%;fill:none;stroke:currentColor;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round;
}
.tool--dark{background:var(--tile-dark);color:#fff}
.tool--rust{background:var(--tile-rust);color:#fff}
.tool--deep{background:var(--tile-deep);color:#fff}
.tool__name{
  font-style:normal;font-size:12.5px;font-weight:700;
  letter-spacing:-.01em;white-space:nowrap;color:var(--body);
}
.tools__say{position:relative;z-index:3;text-align:center;max-width:min(940px,88vw)}
.tools__line{
  font-size:clamp(26px,4.4vw,62px);line-height:1.14;
  letter-spacing:.004em;word-spacing:.05em;font-weight:700;text-wrap:balance;
}
.tools__todo{
  margin-top:18px;font-size:12px;font-weight:400;
  color:var(--accent);
}

/* ── TESTIMONIALS ──────────────────────────────── */
.notes{padding:clamp(60px,10vh,120px) clamp(20px,6vw,90px)}
.notes__h{
  text-align:center;font-size:clamp(30px,4.4vw,62px);
  letter-spacing:.004em;word-spacing:.05em;font-weight:700;margin-bottom:56px;
}
.notes__grid{
  display:grid;gap:clamp(22px,3vw,40px);
  grid-template-columns:repeat(auto-fit,minmax(270px,1fr));
  max-width:1140px;margin-inline:auto;
}
.note{
  position:relative;background:var(--paper);border-radius:16px;
  padding:44px 30px 32px;
  box-shadow:0 2px 2px rgba(0,40,55,.08),0 14px 30px rgba(0,40,55,.16);
  will-change:transform,opacity;
  transition:box-shadow .45s var(--ease);
}
/* the pin holds, the sheet lifts and straightens */
.note:hover{
  box-shadow:0 4px 4px rgba(0,40,55,.10),0 30px 54px rgba(0,40,55,.26);
}
.note:hover .note__pin{
  transform:translateX(-50%) scale(1.12);
  box-shadow:0 6px 14px rgba(0,40,55,.38);
}
.note__pin{transition:transform .45s var(--ease),box-shadow .45s var(--ease)}
.note::after{
  content:"";position:absolute;inset:0;border-radius:16px;pointer-events:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='.5'/></svg>");
  opacity:.22;mix-blend-mode:multiply;
}
.note__pin{
  position:absolute;top:-11px;left:50%;transform:translateX(-50%);
  width:23px;height:23px;border-radius:50%;
  background:radial-gradient(circle at 34% 30%,#fff,var(--accent) 60%,var(--folder-2));
  box-shadow:0 4px 9px rgba(0,40,55,.30);
}
.note h4{
  font-size:15px;font-weight:800;color:var(--paper-ink);
  padding-bottom:16px;margin-bottom:18px;
  border-bottom:1px solid var(--rule);
}
.note p{font-size:15px;line-height:1.58;font-weight:500;color:var(--paper-ink)}

/* ── CLOSING LINE + HIGHLIGHTER ────────────────── */
.echo{padding:clamp(70px,13vh,160px) clamp(20px,6vw,90px);text-align:center}
.echo__line{
  font-size:clamp(32px,6vw,88px);line-height:1.2;
  letter-spacing:.004em;word-spacing:.05em;font-weight:700;
}
/* marker swipe: a bar wiped in behind the word, with the
   uneven ends a real highlighter leaves */
.mark{position:relative;display:inline-block;isolation:isolate;padding:0 .06em}
.mark::before{
  content:"";position:absolute;z-index:-1;
  left:-.08em;right:-.08em;top:.14em;bottom:.06em;
  background:var(--mark);
  border-radius:.34em .5em .3em .46em / .8em .6em .9em .7em;
  transform:scaleX(0);transform-origin:0 50%;
  opacity:.9;
}
.mark.is-on::before{
  transform:scaleX(1);
  transition:transform .85s cubic-bezier(.16,.84,.3,1);
}

/* ── OUTRO ─────────────────────────────────────── */
/* a sheet of paper laid on the page, not a full-bleed band */
.outro{
  position:relative;background:var(--paper);
  width:min(1240px,94vw);margin:0 auto;
  padding:clamp(80px,13vh,140px) clamp(28px,5vw,80px) clamp(70px,10vh,116px);
  text-align:center;border-radius:30px 30px 0 0;
  box-shadow:0 -14px 60px rgba(0,0,0,.28);
}
.outro__inner{max-width:900px;margin-inline:auto}
.outro__h{
  font-size:clamp(30px,4.8vw,70px);line-height:1.1;
  letter-spacing:.004em;word-spacing:.05em;font-weight:700;color:var(--paper-ink);
}
.outro__p{
  margin-top:24px;font-size:clamp(15px,1.6vw,20px);line-height:1.5;
  font-weight:500;color:var(--paper-ink);
}

/* ── FOOTER ────────────────────────────────────── */
/* footer sits on the page itself, so the sheet above it
   reads as the only piece of paper */
/* the sheet continues to the bottom edge of the page */
.foot{
  position:relative;z-index:1;
  width:min(1240px,94vw);margin:0 auto;
  background:var(--paper);color:var(--paper-ink);
  display:flex;flex-wrap:wrap;gap:26px;
  padding:34px clamp(24px,4vw,60px) 48px;
  border-top:1px solid var(--rule);
  font-size:14px;font-weight:600;
}
.foot__col{display:flex;flex-direction:column;gap:5px}
.foot__col span:first-child{color:var(--accent);font-size:12px;letter-spacing:.09em;font-weight:700}
.foot__col--end{margin-left:auto}
.foot a{border-bottom:1px solid var(--accent);padding-bottom:1px}
.foot a:hover{color:var(--accent)}

/* ── RESPONSIVE ────────────────────────────────── */
@media (max-width:980px){
  .swatches{order:3}
}
@media (max-width:820px){
  .nav__links{display:none}
  .bubble{position:static;transform:rotate(-1.2deg);width:100%;margin-top:28px}
  .say{min-height:0}
  .say__ghost{font-size:clamp(56px,17vw,120px)}
  .areas__viewport{height:auto;padding:80px 0 60px;display:block}
  .areas__track{flex-direction:column;width:100%;gap:56px}
  .area{width:100%;grid-template-columns:1fr;gap:16px}
  .folder{aspect-ratio:4/5;perspective:none}
  .vol{width:44%;aspect-ratio:5/7}
  .vol--a{left:2%}.vol--b{left:29%}.vol--c{left:55%}
}

@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
  .w{color:var(--ink)!important}
  .mark::before{transform:scaleX(1)}
}
