/* ============================================================
   FinegirlDami — purple / white / black
   ============================================================ */

:root{
  /* Core palette */
  --black:        #0B0910;
  --black-soft:   #13101C;
  --black-line:   rgba(255,255,255,.10);

  --white:        #FFFFFF;
  --mist:         #F7F5FB;
  --mist-line:    #E7E2F0;

  --violet:       #8B5CF6;
  --violet-mid:   #7C3AED;
  --violet-deep:  #6D28D9;   /* AA on white */
  --violet-ink:   #4C1D95;
  --violet-pale:  #EDE7FD;
  --violet-glow:  rgba(139,92,246,.55);

  --text-dark:    #16121F;
  --text-mute:    #57506B;
  --text-on-black:#EDE9F5;
  --text-on-black-mute: #A79FBC;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }

body{
  margin:0;
  background:var(--white);
  color:var(--text-dark);
  font-family:var(--sans);
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; }

h1,h2,h3{ margin:0; line-height:1.08; letter-spacing:-.02em; }
p{ margin:0 0 1em; }
ul,ol{ margin:0; padding:0; list-style:none; }

::selection{ background:var(--violet); color:#fff; }

:focus-visible{
  outline:2px solid var(--violet);
  outline-offset:3px;
  border-radius:4px;
}

.skip-link{
  position:absolute; left:-9999px; top:0;
  background:var(--violet-deep); color:#fff;
  padding:12px 18px; z-index:200; border-radius:0 0 10px 0;
  font-weight:600; text-decoration:none;
}
.skip-link:focus{ left:0; }

/* ---------- Layout ---------- */
.wrap{
  width:100%;
  max-width:1180px;
  margin-inline:auto;
  padding-inline:var(--gutter);
}
.wrap--narrow{ max-width:820px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:.5em;
  font-family:var(--sans);
  font-size:.95rem; font-weight:600; letter-spacing:.005em;
  text-decoration:none;
  padding:.85em 1.6em;
  border-radius:999px;
  border:1px solid transparent;
  transition:transform .25s var(--ease), background-color .25s var(--ease),
             border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space:nowrap;
}
.btn--solid{
  background:linear-gradient(135deg, var(--violet) 0%, var(--violet-deep) 100%);
  color:#fff;
  box-shadow:0 8px 24px -10px var(--violet-glow);
}
.btn--solid:hover{ transform:translateY(-2px); box-shadow:0 14px 30px -10px var(--violet-glow); }

.btn--ghost{
  border-color:rgba(255,255,255,.28);
  color:var(--text-on-black);
  background:rgba(255,255,255,.03);
}
.btn--ghost:hover{ border-color:var(--violet); background:rgba(139,92,246,.14); transform:translateY(-2px); }

.btn--ghost-dark{
  border-color:rgba(11,9,16,.22);
  color:var(--text-dark);
  background:transparent;
}
.btn--ghost-dark:hover{ border-color:var(--violet-deep); background:var(--violet-pale); color:var(--violet-ink); }

.btn--sm{ padding:.6em 1.2em; font-size:.875rem; }
.btn--lg{ padding:1em 2em; font-size:1rem; }

/* ---------- Nav ---------- */
.nav{
  position:fixed; inset:0 0 auto 0; z-index:100;
  transition:background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom:1px solid transparent;
}
.nav.is-stuck{
  background:rgba(11,9,16,.82);
  backdrop-filter:blur(14px) saturate(140%);
  border-bottom-color:var(--black-line);
}
.nav__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:20px;
  height:74px;
}
.brand{
  display:inline-flex; align-items:center; gap:10px;
  text-decoration:none; color:var(--white);
}
.brand__mark{
  display:grid; place-items:center;
  width:34px; height:34px; border-radius:10px;
  background:linear-gradient(135deg, var(--violet) 0%, var(--violet-deep) 100%);
  font-size:.78rem; font-weight:700; letter-spacing:.04em; color:#fff;
}
.brand__name{ font-weight:600; font-size:1rem; letter-spacing:-.01em; }

.nav__links{ display:flex; align-items:center; gap:28px; }
.nav__links a{
  color:var(--text-on-black-mute);
  text-decoration:none;
  font-size:.925rem; font-weight:500;
  transition:color .2s var(--ease);
}
.nav__links a:hover{ color:var(--white); }
.nav__links a.btn{ color:#fff; }
.nav__links a.is-active{ color:var(--white); }

.nav__toggle{
  display:none;
  width:42px; height:42px;
  background:none; border:1px solid var(--black-line); border-radius:11px;
  cursor:pointer; padding:0;
  place-items:center; gap:5px;
}
.nav__toggle span{
  display:block; width:17px; height:1.5px; background:var(--white);
  transition:transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  background:var(--black);
  color:var(--text-on-black);
  padding-block:clamp(130px, 18vh, 190px) clamp(80px, 12vh, 130px);
  overflow:hidden;
  isolation:isolate;
}
.hero__glow{
  position:absolute; z-index:-1;
  top:-28vh; right:-12vw;
  width:min(900px, 105vw); aspect-ratio:1;
  background:radial-gradient(circle at 50% 50%,
      rgba(139,92,246,.42) 0%,
      rgba(109,40,217,.20) 38%,
      rgba(11,9,16,0) 70%);
  filter:blur(10px);
  animation:drift 17s ease-in-out infinite alternate;
}
.hero__grid-lines{
  position:absolute; inset:0; z-index:-1;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size:min(140px, 22vw) 100%;
  mask-image:linear-gradient(to bottom, #000 0%, transparent 85%);
  -webkit-mask-image:linear-gradient(to bottom, #000 0%, transparent 85%);
}
@keyframes drift{
  from{ transform:translate3d(0,0,0) scale(1); }
  to  { transform:translate3d(-5%, 5%, 0) scale(1.1); }
}

.eyebrow{
  font-size:.78rem; font-weight:600;
  letter-spacing:.2em; text-transform:uppercase;
  color:var(--violet);
  margin:0 0 22px;
}
.eyebrow::before{
  content:""; display:inline-block;
  width:26px; height:1px; background:var(--violet);
  vertical-align:middle; margin-right:12px;
}

.hero__title{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(2.6rem, 8vw, 5.4rem);
  letter-spacing:-.035em;
  color:var(--white);
  margin-bottom:34px;
  max-width:16ch;
}
.hero__title em{
  font-style:italic;
  background:linear-gradient(100deg, var(--violet) 10%, #C4B5FD 90%);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
}

.hero__lede{
  max-width:60ch;
  font-size:clamp(1rem, 1.6vw, 1.13rem);
  color:var(--text-on-black);
  line-height:1.7;
}
.hero__lede--dim{ color:var(--text-on-black-mute); }

.hero__cta{ display:flex; flex-wrap:wrap; gap:14px; margin-top:38px; }

/* Hero becomes two columns once there's room for the portrait */
.hero__inner{
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(36px, 6vw, 68px);
  align-items:center;
}
@media (min-width:920px){
  .hero__inner{ grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr); }
  .hero__social{ grid-column:1 / -1; }
  /* The column is narrower than the full-width hero, so ease the display size
     back down — the title is written to break across three lines, not five. */
  .hero__title{ font-size:clamp(2.4rem, 4vw, 3.9rem); max-width:none; }
}

/* ---------- Typewriter line ---------- */
.sr-only{
  position:absolute; width:1px; height:1px;
  padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.typeline{
  font-family:var(--serif);
  font-size:clamp(1.05rem, 2.2vw, 1.45rem);
  font-style:italic; font-weight:300;
  letter-spacing:-.015em;
  color:var(--text-on-black);
  margin:0 0 30px;
  min-height:1.6em;         /* hold the line so nothing below jumps while typing */
}
.typeline__out{ color:#C4B5FD; font-style:normal; }
.typeline__caret{
  display:inline-block;
  width:2px; height:1.05em;
  margin-left:3px;
  vertical-align:-.16em;
  background:var(--violet);
  animation:blink 1.05s steps(1) infinite;
}
@keyframes blink{ 0%,45%{ opacity:1; } 55%,100%{ opacity:0; } }

/* ---------- Portrait ---------- */
.portrait{
  position:relative;
  margin:0;
  justify-self:center;
  width:min(100%, 380px);
  aspect-ratio:1;
  display:grid;
  place-items:center;
  isolation:isolate;
}
.portrait__halo{
  position:absolute; z-index:-1;
  inset:-14%;
  border-radius:50%;
  background:radial-gradient(circle at 50% 45%,
      rgba(139,92,246,.50) 0%,
      rgba(109,40,217,.22) 45%,
      rgba(11,9,16,0) 72%);
  animation:halo 9s ease-in-out infinite alternate;
}
@keyframes halo{
  from{ transform:scale(1); opacity:.85; }
  to  { transform:scale(1.09); opacity:1; }
}
.portrait__img,
.portrait__monogram{
  width:100%; height:100%;
  border-radius:50%;
  object-fit:cover;
  border:1px solid rgba(196,181,253,.34);
  box-shadow:0 30px 60px -28px rgba(76,29,149,.85);
  background:var(--black-soft);
  animation:float 7.5s ease-in-out infinite alternate;
}
@keyframes float{
  from{ transform:translateY(0) rotate(-1.4deg); }
  to  { transform:translateY(-12px) rotate(1.4deg); }
}
/* The monogram only stands in when no image file is present */
.portrait__monogram{
  display:none;
  place-items:center;
  font-family:var(--serif);
  font-size:clamp(3rem, 9vw, 5rem);
  letter-spacing:.02em;
  color:var(--violet);
  background:linear-gradient(150deg, var(--black-soft) 0%, #241a3d 100%);
}
.portrait--empty .portrait__frame{ display:none; }
.portrait--empty .portrait__monogram{ display:grid; }

/* The frame carries the float so the lids ride along with the face */
.portrait__frame{
  position:relative;
  display:block;
  width:100%; height:100%;
  border-radius:50%;
  overflow:hidden;
  border:2px solid rgba(196,181,253,.38);
  box-shadow:0 30px 60px -28px rgba(76,29,149,.85);
  animation:float 7.5s ease-in-out infinite alternate;
}
.portrait__frame .portrait__img{
  border:0; border-radius:0; box-shadow:none; animation:none;
}

/* ---------- Blink ----------
   Each lid is clipped to that eye's own almond outline, traced from the
   artwork, so a descending fill covers the opening exactly and no sclera
   peeks out at the slanted outer corners. The clip sits on the wrapper and
   the fill animates inside it, since a transform would otherwise drag the
   clip along with it. Geometry is a percentage of the image, so it holds
   at any rendered size.                                                   */
.lid{
  position:absolute;
  overflow:hidden;
  pointer-events:none;
}
.lid__fill{
  position:absolute; inset:0;
  transform:scaleY(0);
  transform-origin:top center;
  will-change:transform;
}
/* the lash line, carried down along the fill's leading edge */
.lid__fill::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0;
  height:14%; min-height:1px;
  background:linear-gradient(rgba(24,13,15,0), rgba(24,13,15,.78));
}

.lid--l{
  left:42.68%; top:46.68%; width:10.94%; height:3.71%;
  clip-path:polygon(0% 31.6%, 16.1% 7.9%, 38.4% 2.6%, 60.7% 0%, 78.6% 7.9%,
                    97.3% 39.5%, 100% 63.2%, 90.2% 84.2%, 69.6% 100%,
                    47.3% 94.7%, 23.2% 73.7%, 6.3% 52.6%);
}
.lid--l .lid__fill{ background:linear-gradient(#6d3a2a, #5d2e22); }

.lid--r{
  left:58.98%; top:47.07%; width:7.62%; height:4.10%;
  clip-path:polygon(0% 40.5%, 14.1% 11.9%, 39.7% 0%, 65.4% 2.4%, 85.9% 19.0%,
                    100% 40.5%, 87.2% 64.3%, 66.7% 85.7%, 42.3% 100%,
                    17.9% 88.1%, 3.8% 64.3%);
}
.lid--r .lid__fill{ background:linear-gradient(#5e3327, #4c2620); }

.is-blinking .lid__fill{ animation:blinkLid 150ms ease-in-out; }
@keyframes blinkLid{
  0%   { transform:scaleY(0); }
  45%  { transform:scaleY(1); }
  55%  { transform:scaleY(1); }
  100% { transform:scaleY(0); }
}

/* Below the two-column breakpoint the portrait leads, avatar-style, so the
   page opens on her face rather than burying it under the copy. Declared
   after the base .portrait rule so it isn't overridden by it. */
@media (max-width:919px){
  .portrait{ order:-1; width:min(44vw, 178px); margin-bottom:2px; }
  .hero__inner{ gap:clamp(22px, 4vw, 34px); }
}

/* A thin orbit ring around the circle */
.portrait__rule{
  position:absolute; z-index:-1;
  inset:-5%;
  border-radius:50%;
  border:1px solid rgba(196,181,253,.20);
}

.hero__social{
  display:flex; flex-wrap:wrap; gap:10px 28px;
  margin-top:52px;
  padding-top:26px;
  border-top:1px solid var(--black-line);
}
.hero__social a{
  font-size:.86rem; font-weight:500; letter-spacing:.02em;
  color:var(--text-on-black-mute); text-decoration:none;
  transition:color .2s var(--ease);
}
.hero__social a:hover{ color:var(--violet); }

/* ---------- Stats ---------- */
.stats{
  background:var(--black);
  color:var(--white);
  padding-block:0 clamp(60px, 9vh, 96px);
}
.stats__grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:2px;
  background:var(--black-line);
  border:1px solid var(--black-line);
  border-radius:var(--radius);
  overflow:hidden;
}
.stat{
  background:var(--black-soft);
  padding:clamp(24px, 3.4vw, 40px);
  display:flex; flex-direction:column; gap:8px;
}
.stat__num{
  font-family:var(--serif);
  font-size:clamp(2.1rem, 4.6vw, 3.1rem);
  font-weight:500; letter-spacing:-.03em; line-height:1;
  background:linear-gradient(120deg, #fff 0%, var(--violet) 130%);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
}
.stat__label{
  font-size:.92rem; color:var(--text-on-black-mute); line-height:1.5;
  max-width:26ch;
}

/* ---------- Manifesto ---------- */
.manifesto{
  background:var(--black);
  padding-block:0 clamp(80px, 12vh, 130px);
}
.manifesto__quote{ margin:0; }
.manifesto__quote p{
  margin:0;
  font-family:var(--serif);
  font-style:italic;
  font-weight:300;
  font-size:clamp(1.4rem, 3.5vw, 2.4rem);
  line-height:1.38;
  letter-spacing:-.02em;
  color:var(--white);
  max-width:24ch;
  max-width:min(100%, 22ch);
  padding-left:clamp(18px, 3vw, 34px);
  border-left:2px solid var(--violet);
}
@media (min-width:700px){ .manifesto__quote p{ max-width:30ch; } }
.hl{
  background:linear-gradient(100deg, var(--violet) 0%, #C4B5FD 100%);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
  font-style:normal;
}

/* ---------- Sections ---------- */
.section{ padding-block:clamp(72px, 11vh, 128px); }
.section--light{ background:var(--white); }
.section--dark{ background:var(--black); color:var(--text-on-black); }
.section--band{ background:var(--mist); }

.section__head{ max-width:62ch; margin-bottom:clamp(38px, 6vh, 64px); }
.section__kicker{
  font-size:.76rem; font-weight:600;
  letter-spacing:.2em; text-transform:uppercase;
  color:var(--violet-deep);
  margin:0 0 16px;
}
.section--dark .section__kicker{ color:var(--violet); }

.section__title{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(2rem, 5vw, 3.2rem);
  letter-spacing:-.032em;
  margin-bottom:.45em;
}
.section--dark .section__title{ color:var(--white); }

.section__sub{
  font-size:clamp(1rem, 1.5vw, 1.08rem);
  color:var(--text-mute);
  line-height:1.7;
  margin:0;
}
.section--dark .section__sub{ color:var(--text-on-black-mute); }
.section__sub em{ color:var(--violet-deep); font-style:italic; }
.section--dark .section__sub em{ color:#C4B5FD; }

/* ---------- Work cards ---------- */
.cards{
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(16px, 2vw, 22px);
}
@media (min-width:760px){
  .cards{ grid-template-columns:repeat(2, 1fr); }
}
.card{
  position:relative;
  display:flex; flex-direction:column;
  padding:clamp(24px, 3vw, 34px);
  background:var(--white);
  border:1px solid var(--mist-line);
  border-radius:var(--radius);
  text-decoration:none;
  overflow:hidden;
  transition:transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.card::after{
  content:"";
  position:absolute; inset:auto 0 0 0; height:3px;
  background:linear-gradient(90deg, var(--violet) 0%, var(--violet-deep) 100%);
  transform:scaleX(0); transform-origin:left;
  transition:transform .4s var(--ease);
}
.card:hover{
  transform:translateY(-4px);
  border-color:#D9CFF0;
  box-shadow:0 22px 44px -28px rgba(76,29,149,.42);
}
.card:hover::after{ transform:scaleX(1); }

.card__tag{
  display:inline-block; align-self:flex-start;
  font-size:.7rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:var(--violet-ink);
  background:var(--violet-pale);
  padding:.42em .85em; border-radius:999px;
  margin-bottom:18px;
}
.card__title{
  font-family:var(--serif);
  font-size:1.32rem; font-weight:500; letter-spacing:-.02em;
  margin-bottom:12px;
}
.card__text{
  font-size:.945rem; color:var(--text-mute); line-height:1.65;
  margin-bottom:22px;
}
.card__link{
  margin-top:auto;
  font-size:.875rem; font-weight:600;
  color:var(--violet-deep);
}
.card__link span{ display:inline-block; transition:transform .28s var(--ease); }
.card:hover .card__link span{ transform:translateX(5px); }

/* ---------- Featured projects ---------- */
.projects{
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(16px, 2vw, 22px);
}
@media (min-width:820px){
  .projects{ grid-template-columns:repeat(2, 1fr); }
  /* the current work leads, so the first card takes the full row */
  .proj:first-child{ grid-column:1 / -1; }
}
.proj{
  background:var(--white);
  border:1px solid var(--mist-line);
  border-radius:var(--radius);
  padding:clamp(24px, 3vw, 34px);
  display:flex; flex-direction:column;
  transition:border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.proj:hover{
  transform:translateY(-3px);
  border-color:#D9CFF0;
  box-shadow:0 22px 44px -30px rgba(76,29,149,.40);
}
.proj__head{
  display:flex; flex-wrap:wrap; align-items:baseline; gap:10px 14px;
  margin-bottom:16px;
}
.proj__name{
  font-family:var(--serif);
  font-size:clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight:500; letter-spacing:-.025em;
}
.proj__role{
  font-size:.7rem; font-weight:600; letter-spacing:.13em; text-transform:uppercase;
  color:var(--violet-ink); background:var(--violet-pale);
  padding:.42em .85em; border-radius:999px;
  white-space:nowrap;
}
/* a live engagement gets the solid accent, a finished one the quiet chip */
.proj__role--live{
  color:#fff;
  background:linear-gradient(135deg, var(--violet) 0%, var(--violet-deep) 100%);
}
.proj__text{
  font-size:.95rem; line-height:1.68; color:var(--text-mute);
  margin-bottom:.9em;
}
.proj__text--dim{ color:#6B6480; }
/* Her results sit inside the copy where she wrote them, not pinned to the
   bottom of the card, so they no longer carry a footer rule. */
.proj__stats{
  display:flex; flex-wrap:wrap; gap:8px;
  margin:2px 0 18px;
}
.proj__text--after{ margin-top:0; }
.proj__stats li{
  font-size:.82rem; color:var(--text-mute);
  background:var(--mist);
  border:1px solid var(--mist-line);
  border-radius:999px;
  padding:.45em .9em;
  font-variant-numeric:tabular-nums;
}
.proj__stats b{
  color:var(--violet-deep); font-weight:700;
}

/* Optional proof screenshots. Hidden until a file actually loads, so a card
   with no image looks deliberate rather than broken. */
.proof{
  margin:4px 0 20px;
  border:1px solid var(--mist-line);
  border-radius:12px;
  overflow:hidden;
  background:#100C1A;      /* the screenshots are dark UI; contain-fit onto dark */
}
.proof img{
  display:block;
  width:100%;
  max-height:230px;
  object-fit:contain;
}
.proof--square img{ max-height:300px; }
.proof figcaption{
  font-size:.76rem; letter-spacing:.04em;
  color:var(--text-on-black-mute);
  padding:8px 12px;
  border-top:1px solid rgba(255,255,255,.07);
}

/* ---------- Featured threads ---------- */
/* Its own dark section, so it reads as a destination rather than a footnote
   at the bottom of the projects list. Each item is an X embed: widgets.js
   swaps the blockquote for a live iframe of the thread. Until that lands —
   or if it never does, because the script is blocked — the blockquote below
   is styled as a plain link card, so the section is never broken. */
.threads__list{
  list-style:none;
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(14px, 1.8vw, 20px);
  align-items:start;
}
@media (min-width:640px){  .threads__list{ grid-template-columns:repeat(2, 1fr); } }
@media (min-width:1040px){ .threads__list{ grid-template-columns:repeat(3, 1fr); } }

.thread{ min-width:0; }

/* live embed — all five locked to one height so the frames match.
   X sizes each iframe to its own content, which otherwise makes a long
   thread tower over a short one. The overflow clip plus the fade below
   makes the cut look deliberate, and thread__more carries the reader on. */
.thread--embedded .thread__embed{
  position:relative;
  height:420px;
  overflow:hidden;
  border-radius:14px;
  background:#000;
}
.thread--embedded .thread__embed::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0; height:96px;
  background:linear-gradient(rgba(0,0,0,0), #000 88%);
  pointer-events:none;
}
.thread--embedded iframe{ height:420px !important; }
.thread--embedded .thread__more{ display:flex; }

.thread__more{
  display:none;                      /* only shown once an embed is in place */
  align-items:center; justify-content:center; gap:8px;
  margin-top:10px;
  padding:11px 14px;
  font-size:.85rem; font-weight:600;
  color:var(--violet);
  text-decoration:none;
  border:1px solid var(--black-line);
  border-radius:11px;
  transition:border-color .25s var(--ease), background-color .25s var(--ease);
}
.thread__more:hover{ border-color:rgba(139,92,246,.55); background:rgba(139,92,246,.10); }

/* live embed */
.thread .twitter-tweet-rendered{ margin:0 !important; }
.thread iframe{ max-width:100% !important; border-radius:14px; }

/* pre-render / no-script card */
.thread .twitter-tweet:not(.twitter-tweet-rendered){
  margin:0;
  padding:0;
  background:var(--black-soft);
  border:1px solid var(--black-line);
  border-radius:14px;
  transition:border-color .25s var(--ease), transform .25s var(--ease), background-color .25s var(--ease);
}
.thread .twitter-tweet:not(.twitter-tweet-rendered):hover{
  border-color:rgba(139,92,246,.55);
  background:rgba(139,92,246,.09);
  transform:translateY(-3px);
}
.thread .twitter-tweet:not(.twitter-tweet-rendered) a{
  display:flex; align-items:center; gap:13px;
  padding:22px 20px;
  text-decoration:none;
  color:var(--text-on-black);
  font-size:.92rem; font-weight:500;
}
.thread .twitter-tweet:not(.twitter-tweet-rendered) a span[aria-hidden]{
  margin-left:auto; color:var(--violet); font-size:1.05rem;
}
.thread__n{
  font-family:var(--serif);
  font-size:1.45rem; line-height:1;
  font-variant-numeric:tabular-nums;
  background:linear-gradient(120deg, #fff 0%, var(--violet) 140%);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
}

/* ---------- Services ---------- */
.services{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap:clamp(20px, 2.4vw, 30px);
}
.svc{
  background:var(--black-soft);
  border:1px solid var(--black-line);
  border-radius:var(--radius);
  padding:clamp(24px, 3vw, 36px);
  transition:border-color .3s var(--ease), transform .3s var(--ease);
}
.svc:hover{ border-color:rgba(139,92,246,.5); transform:translateY(-3px); }

.svc__head{ margin-bottom:22px; padding-bottom:20px; border-bottom:1px solid var(--black-line); }
.svc__num{
  display:block;
  font-family:var(--serif);
  font-size:.95rem; letter-spacing:.1em;
  color:var(--violet);
  margin-bottom:10px;
}
.svc__title{
  font-family:var(--serif);
  font-size:1.42rem; font-weight:500; letter-spacing:-.022em;
  color:var(--white);
}
.svc__list li{
  font-size:.93rem; line-height:1.62;
  color:var(--text-on-black-mute);
  padding-left:20px; position:relative;
  margin-bottom:14px;
}
.svc__list li:last-child{ margin-bottom:0; }
.svc__list li::before{
  content:""; position:absolute; left:0; top:.62em;
  width:7px; height:7px; border-radius:2px;
  background:var(--violet);
}
.svc__list strong{ color:var(--white); font-weight:600; }

/* ---------- Testimonials ---------- */
.quotes{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap:clamp(18px, 2.4vw, 28px);
}
.quote{
  margin:0;
  background:var(--mist);
  border:1px solid var(--mist-line);
  border-radius:var(--radius);
  padding:clamp(26px, 3.2vw, 40px);
  position:relative;
}
.quote::before{
  content:"\201C";
  position:absolute; top:6px; left:18px;
  font-family:var(--serif); font-size:5rem; line-height:1;
  color:var(--violet); opacity:.22;
}
.quote blockquote{
  margin:0 0 22px;
  position:relative;
  font-family:var(--serif);
  font-size:clamp(1.02rem, 1.7vw, 1.18rem);
  font-style:italic; font-weight:300;
  line-height:1.6; letter-spacing:-.012em;
  color:var(--text-dark);
}
.quote figcaption{ display:flex; flex-direction:column; gap:2px; }
.quote__name{ font-weight:600; font-size:.95rem; }
.quote__role{ font-size:.85rem; color:var(--violet-deep); }

/* ---------- Band ---------- */
.band{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap:clamp(24px, 4vw, 50px);
}
.band__text{ max-width:52ch; }
.band__text .section__title{ margin-bottom:.4em; }
.band__actions{ display:flex; flex-wrap:wrap; gap:12px; }

/* ---------- FAQ ---------- */
.faq{ border-top:1px solid var(--mist-line); }
.faq__item{ border-bottom:1px solid var(--mist-line); }
.faq__item summary{
  list-style:none;
  cursor:pointer;
  padding:22px 44px 22px 0;
  position:relative;
  font-size:1.03rem; font-weight:600; letter-spacing:-.012em;
  transition:color .2s var(--ease);
}
.faq__item summary::-webkit-details-marker{ display:none; }
.faq__item summary:hover{ color:var(--violet-deep); }
.faq__item summary::after{
  content:""; position:absolute; right:6px; top:50%;
  width:11px; height:11px;
  border-right:2px solid var(--violet-deep);
  border-bottom:2px solid var(--violet-deep);
  transform:translateY(-70%) rotate(45deg);
  transition:transform .3s var(--ease);
}
.faq__item[open] summary{ color:var(--violet-deep); }
.faq__item[open] summary::after{ transform:translateY(-25%) rotate(-135deg); }
.faq__body{ padding:0 8% 26px 0; }
.faq__body p{ margin:0; color:var(--text-mute); font-size:.97rem; line-height:1.72; }

/* ---------- Contact ---------- */
.contact{
  position:relative;
  background:var(--black);
  color:var(--text-on-black);
  padding-block:clamp(84px, 14vh, 150px);
  overflow:hidden;
  isolation:isolate;
  text-align:center;
}
.contact__glow{
  position:absolute; z-index:-1;
  bottom:-45%; left:50%; transform:translateX(-50%);
  width:min(1000px, 130vw); aspect-ratio:1.4;
  background:radial-gradient(ellipse at 50% 50%,
      rgba(139,92,246,.40) 0%,
      rgba(109,40,217,.16) 42%,
      rgba(11,9,16,0) 72%);
}
.contact__inner{ display:flex; flex-direction:column; align-items:center; }
.contact .section__kicker::before{ display:none; }
.contact__title{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(2.1rem, 6vw, 4rem);
  letter-spacing:-.035em;
  color:var(--white);
  margin-bottom:22px;
}
.contact__sub{
  max-width:52ch;
  color:var(--text-on-black-mute);
  font-size:clamp(1rem, 1.5vw, 1.08rem);
  line-height:1.7;
}
.contact__actions{ display:flex; flex-wrap:wrap; justify-content:center; gap:14px; margin-top:16px; }
.contact__links{
  display:flex; flex-wrap:wrap; justify-content:center; gap:10px 26px;
  margin-top:46px; padding-top:26px;
  border-top:1px solid var(--black-line);
  width:min(100%, 620px);
}
.contact__links a{
  font-size:.86rem; font-weight:500;
  color:var(--text-on-black-mute); text-decoration:none;
  transition:color .2s var(--ease);
}
.contact__links a:hover{ color:var(--violet); }

/* ---------- Footer ---------- */
.footer{
  background:var(--black);
  border-top:1px solid var(--black-line);
  padding-block:30px;
}
.footer__inner{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap:10px 24px;
}
.footer p{ margin:0; font-size:.85rem; }
.footer__brand{ color:var(--text-on-black); font-weight:500; }
.footer__handle{ color:var(--violet); }
.footer__note{ color:var(--text-on-black-mute); }

/* ---------- Reveal animation ---------- */
.js .reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible{ opacity:1; transform:none; }

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .stats__grid{ grid-template-columns:1fr; }
  .stat__label{ max-width:none; }
}

@media (max-width:820px){
  .nav__toggle{ display:grid; }
  .nav{ background:rgba(11,9,16,.86); backdrop-filter:blur(14px); }

  .nav__links{
    position:absolute; top:74px; left:0; right:0;
    flex-direction:column; align-items:stretch;
    gap:4px;
    padding:14px var(--gutter) 26px;
    background:var(--black);
    border-bottom:1px solid var(--black-line);
    /* hidden state */
    opacity:0; visibility:hidden; transform:translateY(-10px);
    transition:opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  }
  .nav__links.is-open{ opacity:1; visibility:visible; transform:none; }
  .nav__links a{ padding:12px 2px; font-size:1rem; border-bottom:1px solid rgba(255,255,255,.06); }
  .nav__links a.btn{
    border-bottom:none; margin-top:14px; justify-content:center; padding-block:.9em;
  }
}

@media (max-width:620px){
  body{ font-size:16px; }
  .hero__title{ max-width:none; }
  .band__actions{ width:100%; }
  .band__actions .btn{ flex:1 1 auto; }
  .footer__inner{ flex-direction:column; align-items:flex-start; }
}

/* ---------- Motion / print ---------- */
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }
  .js .reveal{ opacity:1; transform:none; }
  .portrait__img,
  .portrait__frame,
  .portrait__monogram{ transform:none; animation:none; }
  .lid{ display:none; }
  .typeline__caret{ opacity:1; }
}

@media print{
  .nav,.hero__glow,.contact__glow,.hero__grid-lines{ display:none; }
  body{ background:#fff; color:#000; }
  .hero,.section--dark,.contact,.footer{ background:#fff; color:#000; }
}

/* Anchor targets clear the fixed header */
main section[id]{ scroll-margin-top:84px; }
