/* ═══════════════════════════════════════════════════════════════════════
   agentic.adam . THE SYSTEM, V2
   Palette from AGENTIC_ADAM_DNA.md section 01, extracted from the one
   artifact already built for this brand. Not defaulted from MATIER.
   Type and materials from MATERIALS_V2.md, built and looked at first.
   Never write a hex anywhere else.
   ═══════════════════════════════════════════════════════════════════════ */

:root{
  /* the paint . eleven roles, each with one job */
  --paper:#F7F4F3;          /* the ground of every act. never white, never cool */
  --paper-2:#EFE7DC;        /* act two, a shade deeper */
  --ink:#2B1A1C;            /* body, line art, the spine's stroke */
  --burg:#8E2440;           /* ledger burgundy . active, the cta, act one's accent */
  --burg-mid:#6B1A30;       /* deep wine . act two's ground, dividers */
  --burg-deep:#420C12;      /* oxblood . the act three slab. the one inversion */
  --ochre:#A9714A;          /* ONE hot spot per screen. a mark, never a wash */
  --umber:#7A4E31;          /* second line art stroke where ink reads too hard */
  --mut:#7B6669;            /* captions, secondary labels */
  --faint:#A2908F;          /* hairlines, rules between sections */
  --shadow:#1D0A0C;         /* under the slab. the deepest value on the page */
  --lift:#FBF8F4;           /* the specular edge where glass catches light */
  --hair:color-mix(in srgb,var(--ink) 11%,transparent);
  --hair-2:color-mix(in srgb,var(--ink) 20%,transparent);

  /* shape . he does not like sharp edges */
  --r-slab:32px;--r-xl:26px;--r-lg:20px;--r-md:16px;--r-sm:12px;--r-pill:999px;

  --sh-1:0 1px 2px rgba(29,10,12,.05);
  --sh-2:0 2px 4px rgba(29,10,12,.04),0 18px 38px -22px rgba(29,10,12,.34);
  --sh-3:0 6px 14px rgba(29,10,12,.06),0 34px 70px -26px rgba(29,10,12,.44);
  --sh-slab:0 40px 90px -40px rgba(29,10,12,.6);

  /* type . three roles, never a fourth */
  --body:"Archivo",system-ui,-apple-system,sans-serif;
  --accent:"Instrument Serif",Georgia,serif;

  --ease:cubic-bezier(.32,.72,0,1);
  --ease-out:cubic-bezier(.22,1,.36,1);
  --gut:clamp(20px,5vw,72px);
  --measure:60ch;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
html,body{overflow-x:clip}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);
  font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased}
img,svg{max-width:100%;display:block}
a{color:inherit}

/* ── THE GROUND . five layers, and it changes between the three acts ───── */
.act{position:relative;isolation:isolate;overflow:hidden;
  padding-block:clamp(72px,11vw,150px)}
.L{position:absolute;inset:0;pointer-events:none}
/* 1 . the column rules . an eight column grid you feel rather than see */
.L-rules{z-index:1;background-image:repeating-linear-gradient(90deg,
  color-mix(in srgb,var(--ink) 7%,transparent) 0 1px,transparent 1px 12.5%)}
/* 2 . the dot field . HIS OWN REQUEST, 13 sep. masked so the type has a home */
.L-dots{z-index:1;background-image:radial-gradient(
  color-mix(in srgb,var(--ink) 20%,transparent) 1.4px,transparent 1.4px);
  background-size:26px 26px;
  -webkit-mask-image:radial-gradient(82% 64% at 50% 42%,transparent 6%,#000 70%);
  mask-image:radial-gradient(82% 64% at 50% 42%,transparent 6%,#000 70%)}
/* 3 . the weather . three bodies, never synced, transform only */
.L-wx{z-index:2;filter:blur(74px)}
.L-wx i{position:absolute;display:block;border-radius:50%}
.L-wx .a{width:48vw;height:48vw;left:-10%;top:-14%;background:color-mix(in srgb,var(--burg) 34%,transparent);
  animation:wx1 52s var(--ease) infinite alternate}
.L-wx .b{width:42vw;height:42vw;right:-8%;top:18%;background:color-mix(in srgb,var(--ochre) 34%,transparent);
  animation:wx2 67s var(--ease) infinite alternate}
.L-wx .c{width:36vw;height:36vw;left:32%;bottom:-16%;background:color-mix(in srgb,var(--umber) 26%,transparent);
  animation:wx3 81s var(--ease) infinite alternate}
@keyframes wx1{to{transform:translate(15vw,9vh) scale(1.2)}}
@keyframes wx2{to{transform:translate(-13vw,-7vh) scale(.84)}}
@keyframes wx3{to{transform:translate(8vw,-11vh) scale(1.12)}}
/* 4 . the hairline structure . the only geometry that is not a rectangle */
.L-arc{z-index:2}
.L-arc svg{position:absolute;right:-8%;top:-12%;width:76%;height:auto;opacity:.5}
/* 5 . the tooth . paper you can see, not a whisper */
.L-tooth{z-index:3;opacity:.13;mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>")}

/* the three rooms */
.act-1{background:var(--paper)}
.act-2{background:var(--paper-2)}
.act-2 .L-dots{background-size:20px 20px;
  background-image:radial-gradient(color-mix(in srgb,var(--ink) 26%,transparent) 1.5px,transparent 1.5px)}
.act-3{background:#1A1012;color:var(--lift)}
.act-3 .L-dots{background-image:radial-gradient(rgba(255,235,225,.16) 1.4px,transparent 1.4px)}
.act-3 .L-rules{background-image:repeating-linear-gradient(90deg,
  rgba(255,235,225,.06) 0 1px,transparent 1px 12.5%)}
.act-3 .L-tooth{mix-blend-mode:screen;opacity:.09}
.act-3 .mut{color:rgba(251,248,244,.62)}

/* ── TYPE ──────────────────────────────────────────────────────────────── */
.wrap{position:relative;z-index:5;max-width:1200px;margin:0 auto;padding-inline:var(--gut)}
.kick{font-size:11px;letter-spacing:.18em;text-transform:uppercase;font-weight:700;
  color:var(--burg);margin:0}
.act-3 .kick{color:#E0A0B0}
h1,h2{font-family:var(--accent);font-weight:400;letter-spacing:-.022em;line-height:1.02;
  margin:0;text-wrap:balance}
h1{font-size:clamp(42px,7.6vw,104px)}
h2{font-size:clamp(30px,5vw,62px)}
/* THE SIGNATURE . one italic phrase per act, set in burgundy */
h1 em,h2 em{font-style:italic;color:var(--burg)}
.act-3 h1 em,.act-3 h2 em{color:#E0A0B0}
h3{font-family:var(--body);font-weight:700;font-size:clamp(18px,2.2vw,23px);
  letter-spacing:-.022em;line-height:1.16;margin:0}
p{margin:14px 0 0;max-width:var(--measure);text-wrap:pretty}
.lede{font-size:clamp(17px,1.9vw,21px);line-height:1.5;color:var(--mut);margin-top:16px}
.mut{color:var(--mut)}
/* the number reads like a media buyer's number, not a magazine pull quote */
.num{font-family:var(--body);font-weight:800;font-variant-numeric:tabular-nums;
  letter-spacing:-.05em;line-height:.84;color:var(--burg);font-size:clamp(78px,15vw,190px)}

/* ── REFRACTIVE GLASS . three times on the page, never on a small card ─── */
.glass{position:relative;border-radius:var(--r-slab);
  padding:clamp(26px,4vw,56px);overflow:hidden;
  background:linear-gradient(135deg,rgba(255,255,255,.34),rgba(255,255,255,.10) 42%,
    rgba(255,255,255,.26));
  backdrop-filter:blur(26px) saturate(190%) brightness(1.06);
  -webkit-backdrop-filter:blur(26px) saturate(190%) brightness(1.06);
  box-shadow:var(--sh-slab),inset 0 1px 0 rgba(255,255,255,.7),
    inset 0 -1px 0 rgba(255,255,255,.22)}
/* THE SIGNATURE, in material: a bent chromatic hairline at the threshold */
.glass::before{content:"";position:absolute;inset:0;border-radius:var(--r-slab);
  padding:1.4px;background:linear-gradient(135deg,rgba(255,255,255,.95),
    rgba(255,214,224,.55) 22%,rgba(255,255,255,.12) 48%,rgba(214,232,255,.5) 76%,
    rgba(255,255,255,.9));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
/* one specular sweep, on entry, never a loop */
.glass.lit::after{content:"";position:absolute;top:0;left:-45%;width:40%;height:100%;
  background:linear-gradient(105deg,transparent,rgba(255,255,255,.5),transparent);
  transform:skewX(-14deg);animation:sweep 5.5s var(--ease) 1;pointer-events:none}
@keyframes sweep{0%{left:-45%}55%,100%{left:125%}}
.act-3 .glass{background:linear-gradient(135deg,rgba(255,230,220,.14),
  rgba(255,230,220,.04) 42%,rgba(255,230,220,.10));
  box-shadow:0 46px 100px -44px #000,inset 0 1px 0 rgba(255,235,225,.3)}

/* ── BUTTONS ───────────────────────────────────────────────────────────── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:54px;
  padding:0 28px;border-radius:var(--r-pill);border:1px solid transparent;background:var(--burg);
  color:var(--lift);font:inherit;font-size:16px;font-weight:700;letter-spacing:-.01em;
  cursor:pointer;text-decoration:none;
  transition:background .2s var(--ease),transform .2s var(--ease)}
.btn:hover{background:var(--burg-mid);transform:translateY(-1px)}
.btn-ghost{background:transparent;color:inherit;border-color:var(--hair-2)}
.btn-ghost:hover{background:transparent;border-color:var(--burg);color:var(--burg)}
.act-3 .btn-ghost:hover{border-color:#E0A0B0;color:#E0A0B0}

/* ── MOTION . four distinct entrances, and every one reserves its space ── */
.rv{opacity:0;transition:opacity .8s var(--ease-out),transform .8s var(--ease-out),
  filter .8s var(--ease-out)}
.rv-up{transform:translateY(22px)}
.rv-mat{transform:scale(.97);filter:blur(10px)}      /* materialise, not fade */
.rv-slide{transform:translateX(-26px)}
.rv-rise{transform:translateY(52px) scale(.985)}
.rv.in{opacity:1;transform:none;filter:none}

a:focus-visible,button:focus-visible{outline:2px solid var(--burg);outline-offset:3px;
  border-radius:var(--r-sm)}
.act-3 a:focus-visible{outline-color:#E0A0B0}
.skip{position:absolute;left:-9999px;top:0;z-index:60;background:var(--burg);color:var(--lift);
  padding:12px 20px;border-radius:0 0 var(--r-md) 0;font-weight:700;text-decoration:none}
.skip:focus{left:0}

@media (prefers-reduced-motion:reduce){
  *{animation-duration:.01ms!important;animation-iteration-count:1!important;
    transition-duration:.01ms!important;scroll-behavior:auto!important}
  .rv{opacity:1;transform:none;filter:none}
  .L-wx i{animation:none}
}

/* ── the nav and the foot . dropped in the V2 rewrite, do not drop again ── */
.nav{position:sticky;top:0;z-index:40;
  backdrop-filter:blur(16px) saturate(150%);-webkit-backdrop-filter:blur(16px) saturate(150%);
  background:color-mix(in srgb,var(--paper) 82%,transparent);
  border-bottom:1px solid var(--hair)}
.nav .in{display:flex;align-items:center;gap:26px;min-height:68px}
.nav a{text-decoration:none;font-size:15px;font-weight:600;color:var(--mut);
  transition:color .2s var(--ease)}
.nav a:hover{color:var(--ink)}
.nav .brand{font-family:var(--accent);font-weight:400;font-size:20px;letter-spacing:-.01em;
  color:var(--ink);margin-right:auto}
.foot{border-top:1px solid var(--hair);padding-block:42px 60px;background:#1A1012;
  color:rgba(251,248,244,.7)}
.foot .in{display:flex;flex-wrap:wrap;gap:18px;align-items:center;font-size:14.5px}
.foot a{color:rgba(251,248,244,.86);text-decoration:none}
.foot a:hover{color:#E8A8B6}
@media(max-width:560px){.nav .in{gap:16px;min-height:60px}.nav a{font-size:13.5px}
  .nav .brand{font-size:17px}}
