/* ============================================================
   EASTERN HOUSE MEDIA — design tokens
   ============================================================ */
:root{
  --cream: #F1ECE1;
  --paper: #FBF9F4;
  --ink: #16150F;
  --ink-soft: #3A382E;
  --muted: #78715F;
  --line: rgba(22,21,15,0.14);
  --line-strong: rgba(22,21,15,0.28);
  --blue: #2A3EDB;
  --blue-deep: #121B63;
  --blue-ink: #E7E9FB;

  --font-display: 'Archivo Expanded', 'Archivo', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --gutter: clamp(20px, 4vw, 40px);

  --ease: cubic-bezier(.22,.68,0,1);
}

*, *::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; }
}

body{
  margin:0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3{
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
}

p{ margin: 0; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
ol{ margin:0; padding:0; list-style:none; }

.skip-link{
  position:absolute; left:-9999px; top:0;
  background: var(--ink); color: var(--cream); padding: 12px 18px; z-index: 200;
}
.skip-link:focus{ left: 12px; top: 12px; }

:focus-visible{
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.section-lede{
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 640px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(241,236,225,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex; align-items: center; gap: 28px;
}
.logo{
  display:flex; align-items:baseline; gap:10px;
  font-family: var(--font-display);
  margin-right: auto;
}
.logo-mark{
  font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em;
}
.logo-full{
  font-family: var(--font-body); font-weight: 500; font-size: 0.82rem;
  color: var(--muted);
  display: none;
}
@media (min-width: 560px){ .logo-full{ display:inline; } }

.main-nav{ display:none; gap: 28px; font-size: 0.95rem; font-weight: 500; }
.main-nav a{ position:relative; padding: 4px 0; }
.main-nav a::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:1px;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.main-nav a:hover::after{ transform: scaleX(1); }

.talk-link{
  display:none;
  font-weight: 600; font-size: 0.95rem;
  border: 1px solid var(--ink); padding: 9px 16px; border-radius: 3px;
  transition: background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.talk-link:hover{ background: var(--ink); color: var(--cream); }

@media (min-width: 760px){
  .main-nav{ display:flex; }
  .talk-link{ display:inline-block; }
  .menu-toggle{ display:none !important; }
}

.menu-toggle{
  width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 3px;
  background: transparent; display:flex; align-items:center; justify-content:center;
  flex-direction:column; gap:5px; cursor:pointer;
}
.menu-toggle span{ width: 18px; height: 1.5px; background: var(--ink); transition: transform .2s var(--ease), opacity .2s var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child{ transform: translateY(3.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child{ transform: translateY(-3.25px) rotate(-45deg); }

.mobile-nav{
  display:flex; flex-direction:column;
  max-height: 0; overflow:hidden;
  transition: max-height .3s var(--ease);
  border-top: 1px solid transparent;
}
.mobile-nav.open{ max-height: 400px; border-top-color: var(--line); }
.mobile-nav a{
  padding: 16px var(--pad); border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.mobile-nav-cta{ color: var(--blue) !important; font-weight: 600 !important; }

@media (min-width: 760px){ .mobile-nav{ display:none; } }

/* ============================================================
   BUTTONS / LINKS
   ============================================================ */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-weight: 600; font-size: 0.98rem;
  padding: 14px 24px; border-radius: 3px;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn span{ transition: transform .2s var(--ease); }
.btn:hover span{ transform: translate(2px,-2px); }
.btn-primary{ background: var(--ink); color: var(--cream); }
.btn-primary:hover{ background: var(--blue); }
.btn-ghost{ border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover{ border-color: var(--ink); }
.btn-primary-inverse{ background: var(--cream); color: var(--ink); }
.btn-primary-inverse:hover{ background: var(--paper); }

.text-link{
  display:inline-flex; gap:8px; font-weight:600; padding-bottom:2px;
  border-bottom: 1px solid var(--ink);
}
.text-link:hover{ color: var(--blue); border-color: var(--blue); }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position: relative;
  padding: clamp(64px, 12vh, 128px) var(--pad) 0;
  overflow: hidden;
}
.hero-grain{
  position:absolute; inset:0; pointer-events:none; opacity: .5;
  background-image: radial-gradient(rgba(22,21,15,0.05) 1px, transparent 1px);
  background-size: 3px 3px;
}
.hero-inner{
  max-width: var(--wrap); margin: 0 auto; position: relative;
}
.hero-kicker{
  font-weight: 600; font-size: 0.9rem; color: var(--muted);
  margin-bottom: 22px;
  opacity: 0; transform: translateY(8px);
  animation: reveal .7s var(--ease) forwards;
  animation-delay: .05s;
}
.hero-headline{
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  max-width: 16ch;
  overflow: hidden;
}
.hero-headline br{ content:""; }
.hero-headline{
  opacity: 0; transform: translateY(24px);
  animation: reveal .8s var(--ease) forwards;
  animation-delay: .15s;
}
.hero-sub{
  margin-top: 28px;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 42ch;
  opacity: 0; transform: translateY(16px);
  animation: reveal .7s var(--ease) forwards;
  animation-delay: .32s;
}
.hero-ctas{
  margin-top: 40px;
  display:flex; flex-wrap:wrap; gap: 16px;
  opacity: 0; transform: translateY(16px);
  animation: reveal .7s var(--ease) forwards;
  animation-delay: .44s;
}
@keyframes reveal{ to{ opacity:1; transform: translateY(0); } }

.hero-strip{
  margin-top: clamp(56px, 9vh, 96px);
  border-top: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
}
.hero-strip-track{
  display: inline-flex;
  animation: marquee 26s linear infinite;
  padding: 16px 0;
}
.hero-strip-track span{
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em;
  color: var(--muted);
  padding: 0 22px;
  border-right: 1px solid var(--line);
}
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* ============================================================
   SHARED SECTION RHYTHM
   ============================================================ */
section{
  padding: clamp(64px, 10vh, 108px) var(--pad);
  border-top: 1px solid var(--line);
}
.proof, .problem, .approach, .services, .who, .how, .insights, .work, .faq{
  max-width: var(--wrap); margin: 0 auto;
  border-top: none;
}
.proof{ padding-top: clamp(48px, 8vh, 80px); border-top: 1px solid var(--line); }

/* ============================================================
   PROOF
   ============================================================ */
.proof-grid{
  margin-top: 36px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 720px){ .proof-grid{ grid-template-columns: repeat(4, 1fr); } }
.proof-stat{
  background: var(--cream);
  padding: 28px 20px;
  display:flex; flex-direction:column; gap: 6px;
}
.proof-number{
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}
.proof-label{ color: var(--muted); font-size: 0.9rem; font-weight: 500; }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem-head h2{
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 14ch;
}
.problem-head p{
  margin-top: 20px;
  max-width: 56ch;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
}
.problem-cols{
  margin-top: 56px;
  display:grid; gap: 32px;
}
@media (min-width: 720px){ .problem-cols{ grid-template-columns: repeat(3, 1fr); gap: var(--gutter); } }
.problem-col{ border-top: 1px solid var(--line-strong); padding-top: 18px; }
.problem-col-num{ font-family: var(--font-display); font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.problem-col h3{ margin-top: 10px; font-size: 1.4rem; }
.problem-col p{ margin-top: 8px; color: var(--ink-soft); }

/* ============================================================
   APPROACH
   ============================================================ */
.approach-head h2{
  font-size: clamp(2rem, 5vw, 3.2rem);
}
.approach-head h2 span{ color: var(--blue); }
.approach-steps{
  margin-top: 56px;
  display:grid; gap: 0;
}
@media (min-width: 720px){ .approach-steps{ grid-template-columns: repeat(4, 1fr); } }
.approach-step{
  border-top: 1px solid var(--line-strong);
  padding: 22px 20px 22px 0;
}
.approach-step-num{
  display:block;
  font-family: var(--font-display); font-weight: 800; font-size: 1.6rem;
  color: var(--blue);
}
.approach-step h3{ margin-top: 14px; font-size: 1.25rem; }
.approach-step p{ margin-top: 8px; color: var(--ink-soft); font-size: 0.96rem; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-list{ margin-top: 32px; }
.service{
  border-top: 1px solid var(--line-strong);
  padding: 36px 0;
  display:grid; gap: 18px;
}
@media (min-width: 760px){
  .service{ grid-template-columns: 100px 1fr; gap: var(--gutter); align-items:baseline; }
}
.service:last-child{ border-bottom: 1px solid var(--line-strong); }
.service-num{
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--muted);
}
.service-body h3{ font-size: clamp(1.6rem, 3vw, 2.1rem); }
.service-intro{ margin-top: 10px; max-width: 52ch; color: var(--ink-soft); font-size: 1.05rem; }
.service-tags{
  margin-top: 18px;
  display:flex; flex-wrap:wrap; gap: 10px 14px;
}
.service-tags li{
  font-size: 0.88rem; color: var(--ink-soft);
  padding: 6px 0;
  position: relative;
}
.service-tags li:not(:last-child)::after{
  content: "·"; margin-left: 14px; color: var(--line-strong);
}

/* ============================================================
   NOT JUST AN AGENCY
   ============================================================ */
.notjust{
  background: var(--ink); color: var(--cream);
}
.notjust h2{
  max-width: var(--wrap); margin: 0 auto;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  max-width: 18ch;
}
.notjust-sub{
  max-width: var(--wrap); margin: 20px auto 0;
  color: rgba(241,236,225,0.72);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 52ch;
}
.notjust-cols{
  max-width: var(--wrap); margin: 52px auto 0;
  display:grid; gap: 28px;
}
@media (min-width: 720px){ .notjust-cols{ grid-template-columns: repeat(3, 1fr); gap: var(--gutter); } }
.notjust-col{ border-top: 1px solid rgba(241,236,225,0.24); padding-top: 18px; }
.notjust-col h3{ font-size: 1.3rem; color: var(--cream); }
.notjust-col p{ margin-top: 8px; color: rgba(241,236,225,0.68); }

/* ============================================================
   WHO WE WORK WITH
   ============================================================ */
.who-list{
  margin-top: 30px;
  display:flex; flex-wrap:wrap; gap: 12px;
}
.who-list li{
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.95rem; font-weight: 500;
}

/* ============================================================
   HELLO EHM
   ============================================================ */
.hello-ehm{
  background: var(--blue-deep); color: var(--blue-ink);
  border-top: 1px solid var(--line);
}
.hello-ehm-inner{ max-width: var(--wrap); margin: 0 auto; max-width: 640px; }
.hello-ehm-eyebrow{ color: rgba(231,233,251,0.66); font-weight: 500; }
.hello-ehm h2{
  margin-top: 14px;
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: #fff;
}
.hello-ehm-price{
  margin-top: 18px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}
.hello-ehm-price span{
  font-family: var(--font-display); font-weight: 800; font-size: 1.2em; color: #fff;
}
.hello-ehm-includes{
  margin-top: 24px;
  display:flex; flex-wrap:wrap; gap: 10px 18px;
}
.hello-ehm-includes li{
  font-size: 0.9rem;
  color: rgba(231,233,251,0.8);
}
.hello-ehm-includes li:not(:last-child)::after{ content:"·"; margin-left: 18px; color: rgba(231,233,251,0.35); }
.hello-ehm-tag{ margin-top: 26px; font-weight: 600; color: #fff; }
.hello-ehm .btn{ margin-top: 26px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-steps{
  margin-top: 36px;
  display:grid; gap: 0;
}
@media (min-width: 720px){ .how-steps{ grid-template-columns: repeat(4, 1fr); } }
.how-steps li{ border-top: 1px solid var(--line-strong); padding: 20px 20px 20px 0; }
.how-num{ font-family: var(--font-display); font-weight: 800; color: var(--muted); }
.how-steps h3{ margin-top: 12px; font-size: 1.2rem; }
.how-steps p{ margin-top: 6px; color: var(--ink-soft); font-size: 0.95rem; }
.how .text-link{ margin-top: 40px; }

/* ============================================================
   INSIGHTS
   ============================================================ */
.insights-grid{
  margin-top: 32px;
  display:grid; gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}
@media (min-width: 760px){ .insights-grid{ grid-template-columns: repeat(3, 1fr); } }
.insight-card{
  background: var(--cream);
  padding: 28px 24px;
  display:flex; flex-direction:column; gap: 16px; min-height: 220px;
}
.insight-tag{ font-size: 0.8rem; font-weight: 600; color: var(--blue); }
.insight-card h3{ font-family: var(--font-body); font-weight: 600; font-size: 1.08rem; line-height: 1.35; }
.insight-link{ margin-top: auto; display:inline-flex; gap:6px; font-weight:600; font-size: 0.92rem; }
.insights-note{ margin-top: 20px; font-size: 0.82rem; color: var(--muted); font-style: italic; }

/* ============================================================
   WORK
   ============================================================ */
.work-grid{
  margin-top: 32px;
  display:grid; gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}
@media (min-width: 760px){ .work-grid{ grid-template-columns: repeat(2, 1fr); } }
.work-card{ background: var(--cream); padding: 30px 26px; }
.work-tag{
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  display:block; margin-bottom: 20px;
}
.work-arc div{ padding: 10px 0; border-top: 1px solid var(--line); display:grid; grid-template-columns: 90px 1fr; gap: 14px; }
.work-arc div:first-child{ border-top: none; }
.work-arc dt{ font-size: 0.78rem; text-transform: lowercase; color: var(--muted); font-weight: 600; }
.work-arc dd{ margin:0; font-size: 0.92rem; color: var(--ink-soft); }
.work-note{ margin-top: 20px; font-size: 0.82rem; color: var(--muted); font-style: italic; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-inner{ max-width: 720px; }
.about h2{ font-size: clamp(2.2rem, 6vw, 3.6rem); }
.about p{ margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 54ch; }
.about-sign{ margin-top: 30px; font-weight: 600; color: var(--ink); font-size: 1rem !important; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list{ margin-top: 30px; }
.faq-item{
  border-top: 1px solid var(--line-strong);
}
.faq-item:last-child{ border-bottom: 1px solid var(--line-strong); }
.faq-item summary{
  cursor:pointer; padding: 20px 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  display:flex; justify-content:space-between; align-items:center; gap: 20px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:"+"; font-size: 1.4rem; color: var(--muted); flex-shrink:0;
  transition: transform .2s var(--ease);
}
.faq-item[open] summary::after{ transform: rotate(45deg); }
.faq-item p{ padding-bottom: 22px; color: var(--ink-soft); max-width: 56ch; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta{
  text-align: left;
  background: var(--ink); color: var(--cream);
}
.final-cta h2{
  font-size: clamp(2.4rem, 8vw, 5rem);
  max-width: 14ch;
}
.final-cta p{
  margin-top: 22px;
  max-width: 46ch;
  color: rgba(241,236,225,0.72);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}
.final-cta .btn{ margin-top: 34px; }
.final-cta-contacts{
  margin-top: 44px;
  display:flex; flex-wrap:wrap; gap: 10px 28px;
  padding-top: 24px; border-top: 1px solid rgba(241,236,225,0.2);
  font-size: 0.95rem;
}
.final-cta-contacts a{ color: rgba(241,236,225,0.85); }
.final-cta-contacts a:hover{ color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{ background: var(--cream); padding: 56px var(--pad) 0; }
.footer-top{
  max-width: var(--wrap); margin: 0 auto;
  display:grid; gap: 32px;
  padding-bottom: 40px; border-bottom: 1px solid var(--line);
}
@media (min-width: 760px){ .footer-top{ grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-brand p{ margin-top: 10px; color: var(--muted); font-size: 0.9rem; }
.footer-nav, .footer-contact{ display:flex; flex-direction:column; gap: 10px; font-size: 0.92rem; }
.footer-nav a:hover, .footer-contact a:hover{ color: var(--blue); }
.footer-bottom{
  max-width: var(--wrap); margin: 0 auto;
  padding: 20px 0 96px;
  font-size: 0.82rem; color: var(--muted);
}
@media (min-width: 760px){ .footer-bottom{ padding-bottom: 28px; } }

/* ============================================================
   STICKY MOBILE WHATSAPP
   ============================================================ */
.sticky-whatsapp{
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  background: var(--ink); color: var(--cream);
  padding: 15px 20px; border-radius: 4px;
  display:flex; align-items:center; justify-content:center; gap: 8px;
  font-weight: 600; font-size: 0.98rem;
  box-shadow: 0 8px 24px rgba(22,21,15,0.25);
}
@media (min-width: 760px){ .sticky-whatsapp{ display:none; } }
