/* ============================================================
   MALLIKA SONI — Journalist. Storyteller.
   Editorial / newsroom design system.
   ============================================================ */

:root{
  --charcoal: #13171B;
  --charcoal-soft: #2A2F35;
  --blue: #0030CF;
  --blue-deep: #001F8A;
  --mist: #D7E1EC;
  --mist-soft: #EEF2F7;
  --white: #FFFFFF;
  --ink-muted: #565F6B;

  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;
  --font-mono: "Poppins", "Segoe UI", sans-serif;

  --max-width: 1180px;
  --edge: clamp(1.25rem, 5vw, 4rem);
  --rule: 1px solid rgba(19, 23, 27, 0.14);
  --rule-light: 1px solid rgba(215, 225, 236, 0.5);
}

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

html{ scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body{
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  animation: page-enter 0.7s ease-out both;
}

.scroll-progress{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

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

.wrap{
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--edge);
  padding-right: var(--edge);
}

::selection{ background: var(--blue); color: var(--white); }

/* ---------- focus states ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible{
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ---------- eyebrow / mono labels ---------- */
.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before{
  content: "";
  width: 0.45em;
  height: 0.45em;
  background: var(--blue);
  border-radius: 50%;
  flex: none;
}

/* ============================================================
   MASTHEAD / NAV
   ============================================================ */
.masthead{
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: var(--rule);
}
.masthead-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--edge);
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 1.5rem;
}
.brand-group{
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.brand{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--charcoal);
  white-space: nowrap;
}
.brand em{
  font-style: italic;
  color: var(--blue);
}
.brand{ transition: color 0.2s ease; }
.brand:hover{ color: var(--blue); }
.brand-tagline{
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--ink-muted);
  font-weight: 400;
  max-width: 300px;
}

.nav-toggle{
  display: none;
  background: none;
  border: 1px solid var(--charcoal);
  border-radius: 3px;
  width: 40px;
  height: 36px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after{
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span{ top: 17px; }
.nav-toggle span::before{ top: -6px; }
.nav-toggle span::after{ top: 6px; }
.nav-toggle[aria-expanded="true"] span{ background: transparent; }
.nav-toggle[aria-expanded="true"] span::before{ transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after{ transform: translateY(-6px) rotate(-45deg); }

.nav-links{
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.2rem);
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-links a{
  text-decoration: none;
  color: var(--ink-muted);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover{ color: var(--charcoal); }
.nav-links a[aria-current="page"]{
  color: var(--charcoal);
  border-bottom-color: var(--blue);
}

@media (max-width: 720px){
  .nav-toggle{ display: block; }
  .nav-links{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
    border-bottom: var(--rule);
    padding: 0.5rem var(--edge) 1.25rem;
    gap: 0.9rem;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }
  .nav-links.is-open{
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
  .home-hero-grid{ grid-template-columns: 1fr; gap: 2.5rem; }
  .home-hero-visual{ width: min(100%, 280px); margin-top: 0; justify-self: center; }
  .home-hero-image{ padding-left: 1rem; }
  .home-hero-image::before{ inset: 1rem 1rem 0 0; }
  .home-hero-image::after{ left: 1rem; }
}

/* ============================================================
   RUNDOWN TICKER — signature element
   A newsroom "rundown" strip: the verbs of her process, always moving.
   ============================================================ */
.rundown{
  background: var(--charcoal);
  color: var(--mist);
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid rgba(215,225,236,0.12);
}
.rundown-track{
  display: inline-flex;
  align-items: center;
  animation: rundown-scroll 32s linear infinite;
  padding: 0.55rem 0;
}
.rundown-track span{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0 1.6rem;
  color: var(--mist);
  opacity: 0.85;
}
.rundown-track span b{
  color: var(--blue);
  font-weight: 500;
}
.rundown-track span::after{
  content: "—";
  margin-left: 1.6rem;
  color: rgba(215,225,236,0.3);
}
@keyframes rundown-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .rundown-track{ animation: none; }
  .rundown{ overflow-x: hidden; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  border-bottom: var(--rule);
}
.home-hero-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 27%);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.home-hero-copy{ min-width: 0; }
.home-hero-visual{
  width: min(100%, 280px);
  margin-top: clamp(1rem, 3vw, 2rem);
  justify-self: end;
}
.home-hero-image{
  margin: 0;
  position: relative;
  width: 100%;
  padding: 0 0 1.5rem 1.5rem;
  --image-x: 0px;
  --image-y: 0px;
  animation: hero-enter 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
  transition: transform 0.25s ease;
}
.home-hero-image img{
  animation: portrait-breathe 6s ease-in-out 1.1s infinite alternate;
}
.home-hero-image:hover{
  transform: translate(var(--image-x), var(--image-y));
}
.home-hero-image::before{
  content: "";
  position: absolute;
  inset: 1.5rem 1.5rem 0 0;
  border: 1px solid var(--blue);
  pointer-events: none;
}
.home-hero-image::after{
  content: "";
  position: absolute;
  top: 22%;
  right: 0;
  bottom: 22%;
  left: 1.5rem;
  border-left: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  pointer-events: none;
}
.home-hero-image img{
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(18%);
}
.home-hero-image figcaption{
  position: relative;
  margin-top: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hero .eyebrow{ margin-bottom: 1.4rem; }
.hero .eyebrow,
.hero h1,
.hero .dek,
.hero .hero-meta{
  animation: hero-enter 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero h1{ animation-delay: 0.08s; }
.hero .dek{ animation-delay: 0.16s; }
.hero .hero-meta{ animation-delay: 0.24s; }
.hero h1{
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
  font-kerning: normal;
  text-rendering: geometricPrecision;
  margin: 0 0 1.5rem;
  max-width: 16ch;
}
.hero h1 em{
  font-style: italic;
  font-weight: 500;
  color: var(--blue);
}
.hero .dek{
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 58ch;
  margin: 0;
}
.hero-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 2rem;
  margin-top: 2.2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hero-meta strong{ color: var(--charcoal); font-weight: 500; }

/* drop cap for lede paragraphs */
.lede::first-letter{
  font-family: var(--font-display);
  font-size: 3.4em;
  font-weight: 500;
  float: left;
  line-height: 0.82;
  padding-right: 0.09em;
  padding-top: 0.04em;
  color: var(--blue);
}

/* ============================================================
   SECTIONS
   ============================================================ */
section{ padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt{ background: var(--mist-soft); }
.section-dark{ background: var(--charcoal); color: var(--mist); }

.section-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: var(--rule);
  padding-bottom: 1.4rem;
}
.section-dark .section-head{ border-bottom-color: rgba(215,225,236,0.16); }

.section-head h2{
  font-family: var(--font-display);
  font-weight: 450;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  margin: 0.5rem 0 0;
  letter-spacing: -0.005em;
}
.section-intro{
  max-width: 68ch;
  font-size: 1.05rem;
  color: var(--ink-muted);
}
.section-dark .section-intro{ color: rgba(215,225,236,0.78); }

p{ margin: 0 0 1.15em; }
p:last-child{ margin-bottom: 0; }

/* ---------- what-i-do / cards grid ---------- */
.grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: rgba(19,23,27,0.14);
  border: var(--rule);
}
.card{
  background: var(--white);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  transition: transform 0.25s ease, background 0.25s ease;
}
.card:hover{
  transform: translateY(-5px);
  background: #f9fbfe;
}
.reveal.is-visible .grid .card,
.reveal.is-visible .pillars .pillar{
  animation: card-enter 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.reveal.is-visible .grid .card:nth-child(1),
.reveal.is-visible .pillars .pillar:nth-child(1){ animation-delay: 0.08s; }
.reveal.is-visible .grid .card:nth-child(2),
.reveal.is-visible .pillars .pillar:nth-child(2){ animation-delay: 0.16s; }
.reveal.is-visible .grid .card:nth-child(3){ animation-delay: 0.24s; }
.reveal.is-visible .grid .card:nth-child(4){ animation-delay: 0.32s; }
.card .num{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--blue);
  display: block;
  margin-bottom: 1rem;
}
.card h3{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.28rem;
  margin: 0 0 0.6rem;
}
.card p{
  color: var(--ink-muted);
  font-size: 0.96rem;
  margin: 0;
}

/* ---------- explore-work / pillar cards ---------- */
.pillars{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.pillar{
  border: var(--rule);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  position: relative;
}
.pillar:hover{
  border-color: var(--blue);
  background: var(--mist-soft);
  transform: translateY(-5px);
}
.pillar h3{
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0;
}
.pillar p{ color: var(--ink-muted); margin: 0; flex-grow: 1; }
.pillar .go{
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.pillar .go::after{ content: "→"; transition: transform 0.15s ease; }
.pillar:hover .go::after{ transform: translateX(4px); }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95em 1.6em;
  border: 1px solid currentColor;
  color: var(--charcoal);
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover{ background: var(--charcoal); color: var(--white); }
.btn-primary{
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.btn-primary:hover{ background: var(--blue-deep); border-color: var(--blue-deep); color: var(--white); }
.section-dark .btn{ color: var(--mist); }
.section-dark .btn:hover{ background: var(--mist); color: var(--charcoal); }

/* ---------- process steps (video work) ---------- */
.steps{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  counter-reset: step;
}
.step{
  border-top: 2px solid var(--charcoal);
  padding-top: 1.2rem;
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease;
}
.step:hover{
  transform: translateY(-6px);
  background: rgba(255,255,255,0.45);
}
.step::before{
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.35s ease;
}
.step:hover::before{
  width: 100%;
}
.steps .step{
  opacity: 0;
  transform: translateY(18px);
}
.reveal.is-visible .steps .step{
  animation: step-enter 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.reveal.is-visible .steps .step:nth-child(1){ animation-delay: 0.1s; }
.reveal.is-visible .steps .step:nth-child(2){ animation-delay: 0.2s; }
.reveal.is-visible .steps .step:nth-child(3){ animation-delay: 0.3s; }
.reveal.is-visible .steps .step:nth-child(4){ animation-delay: 0.4s; }
.reveal.is-visible .steps .step::before{
  animation: rule-draw 0.55s ease-out forwards;
}
.reveal.is-visible .steps .step:nth-child(1)::before{ animation-delay: 0.1s; }
.reveal.is-visible .steps .step:nth-child(2)::before{ animation-delay: 0.2s; }
.reveal.is-visible .steps .step:nth-child(3)::before{ animation-delay: 0.3s; }
.reveal.is-visible .steps .step:nth-child(4)::before{ animation-delay: 0.4s; }
.step .num{
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--blue);
  display: block;
  margin-bottom: 0.9rem;
}
.step h3{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}
.step p{ color: var(--ink-muted); font-size: 0.96rem; margin: 0; }

/* ---------- work sub-sections (written / video) ---------- */
.work-block{ padding-top: clamp(2.4rem, 5vw, 3.5rem); }
.work-block + .work-block{
  border-top: var(--rule);
}
.work-block-head{
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 2.5rem;
  margin-bottom: 2.2rem;
}
.work-block-head h2{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin: 0;
}
.work-block-head p{ color: var(--ink-muted); margin: 0; }
@media (max-width: 720px){
  .work-block-head{ grid-template-columns: 1fr; gap: 0.9rem; }
}

/* ---------- placeholder link slots ---------- */
.slot-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}
.slot{
  border: 1.5px dashed rgba(19,23,27,0.3);
  padding: 1.5rem 1.5rem 1.4rem;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink-muted);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.sheet-card{
  animation: sheet-card-enter 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--card-delay, 0ms) both;
}
@keyframes sheet-card-enter{
  from{ opacity: 0; transform: translateY(16px); }
  to{ opacity: 1; transform: translateY(0); }
}
.slot:hover{
  border-color: var(--blue);
  background: rgba(238,242,247,0.55);
  transform: translateY(-3px);
}
.slot .slot-tag{
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.slot .slot-title{
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--charcoal);
  margin: 0.6rem 0 0;
}
.slot .slot-note{
  font-size: 0.82rem;
  margin-top: 0.9rem;
}
/* filled variant, ready for real links */
.slot.is-filled{
  border-style: solid;
  border-color: rgba(19,23,27,0.14);
}
.slot a.slot-link{
  text-decoration: none;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}
.slot a.slot-link:hover{ text-decoration: underline; }
.sheet-status{
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.embedded-video-card{ gap: 1.2rem; }
.video-embed{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: var(--charcoal);
}
.video-source-link{
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-decoration: none;
}
.video-source-link:hover{ text-decoration: underline; }

/* video slot with 16:9 frame */
.video-slot{
  border: 1.5px dashed rgba(19,23,27,0.3);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--ink-muted);
  text-align: center;
  padding: 1rem;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.video-slot:hover{
  border-color: var(--blue);
  background: rgba(238,242,247,0.55);
  transform: scale(1.01);
}
.video-slot .slot-tag{
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.video-slot p{ margin: 0; font-size: 0.85rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 820px){
  .contact-grid{ grid-template-columns: 1fr; }
}
.contact-card{
  border: var(--rule);
  padding: clamp(1.8rem, 3vw, 2.5rem);
}
.contact-row{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: var(--rule);
}
.contact-row:last-child{ border-bottom: none; }
.contact-row .label{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.contact-row .value{
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.contact-row a{ text-decoration: none; color: var(--charcoal); }
.contact-row a:hover{ color: var(--blue); }

/* ============================================================
   FOOTER
   ============================================================ */
footer{
  background: var(--charcoal);
  color: var(--mist);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.8rem;
}
.footer-top{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(215,225,236,0.16);
}
.footer-brand{
  font-family: var(--font-display);
  font-size: 1.5rem;
}
.footer-brand em{ font-style: italic; color: var(--blue); }
.footer-tagline{
  color: rgba(215,225,236,0.7);
  max-width: 34ch;
  margin-top: 0.6rem;
  font-size: 0.92rem;
}
.footer-links{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-links a{ text-decoration: none; color: var(--mist); opacity: 0.85; }
.footer-links a:hover{ opacity: 1; color: var(--blue); }
.footer-bottom{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: rgba(215,225,236,0.55);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-item{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
.reveal.is-visible .reveal-item{
  opacity: 1;
  transform: translateY(0);
}
@keyframes hero-enter{
  from{ opacity: 0; transform: translateY(14px); }
  to{ opacity: 1; transform: translateY(0); }
}
@keyframes page-enter{
  from{ opacity: 0; }
  to{ opacity: 1; }
}
@keyframes portrait-breathe{
  from{ transform: scale(1); }
  to{ transform: scale(1.025); }
}
@keyframes card-enter{
  from{ opacity: 0; transform: translateY(18px); }
  to{ opacity: 1; transform: translateY(0); }
}
@keyframes step-enter{
  from{ opacity: 0; transform: translateY(18px); }
  to{ opacity: 1; transform: translateY(0); }
}
@keyframes rule-draw{
  from{ width: 0; }
  to{ width: 100%; }
}
@media (prefers-reduced-motion: reduce){
  body,
  .hero .eyebrow,
  .hero h1,
  .hero .dek,
  .hero .hero-meta,
  .home-hero-image,
  .home-hero-image img,
  .sheet-card,
  .reveal.is-visible .grid .card,
  .reveal.is-visible .pillars .pillar,
  .reveal-item,
  .steps .step{ opacity: 1; transform: none; animation: none; }
  .step::before{ width: 100%; animation: none; }
}

@media (max-width: 480px){
  :root{ --edge: 1rem; }
  body{ font-size: 15px; }
  .masthead-inner{ padding-top: 0.85rem; padding-bottom: 0.85rem; }
  .brand{ font-size: 1.1rem; }
  .hero{ padding-top: 3.75rem; padding-bottom: 3.75rem; }
  .hero .eyebrow{ margin-bottom: 1.8rem; }
  .hero h1{
    font-size: clamp(2.35rem, 12vw, 3.4rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
  }
  .hero .dek{ font-size: 1rem; line-height: 1.7; }
  .hero-meta{
    display: grid;
    gap: 0.65rem;
    margin-top: 2.2rem;
    font-size: 0.68rem;
  }
  .hero-meta span{
    display: block;
    padding: 0.2rem 0;
    border-left: 0;
  }
  .hero-meta strong{ color: var(--charcoal); margin-right: 0.35rem; }
  .home-hero-grid{
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .home-hero-image{
    margin-top: 0;
  }
  section{ padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .section-head{
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2.2rem;
    padding-bottom: 1.2rem;
  }
  .section-head h2{ font-size: clamp(1.55rem, 8vw, 2rem); }
  .grid,
  .pillars,
  .slot-grid{ grid-template-columns: 1fr; }
  .card,
  .pillar,
  .slot{ padding: 1.25rem; }
  .work-block-head{ margin-bottom: 1.5rem; }
  .contact-row{
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .contact-row .value{ font-size: 1rem; }
  .footer-top{ flex-direction: column; gap: 1.5rem; }
  .footer-bottom{ flex-direction: column; gap: 0.4rem; }
  .embedded-video-card{ padding: 0.85rem; }
  .video-embed{ min-height: 185px; }
}
