:root {
  --butter: #F5F0C0;
  --butter-soft: #FBF8E4;
  --blue: #8FAFC8;
  --blue-deep: #6E92AE;
  --ink: #1A1A1A;
  --ink-soft: #4A4A46;
  --paper: #FCFBF6;
  --line: #E7E3D6;
  --accent: var(--blue);
  --accent-deep: var(--blue-deep);
  --radius: 16px;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -0.01em; line-height: 1.08; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-deep); margin: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  padding: 15px 28px; border-radius: 100px; cursor: pointer; border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(26,26,26,.6); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
header.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mono {
  width: 38px; height: 38px; border-radius: 50%; background: var(--butter);
  display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 17px;
  color: var(--ink); border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
}
.brand .name { font-family: var(--serif); font-size: 20px; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a.link { font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color .2s ease; position: relative; }
.nav-links a.link::after {
  content: ''; position: absolute; left: 0; bottom: -4px; height: 1.5px; width: 0; background: var(--accent-deep); transition: width .25s ease;
}
.nav-links a.link:hover { color: var(--ink); }
.nav-links a.link:hover::after { width: 100%; }
.nav-cta { padding: 11px 22px; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(48px, 8vh, 96px); padding-bottom: clamp(56px, 9vh, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 76px); margin: 22px 0 0; max-width: 13ch; }
.hero h1 em { font-style: italic; color: var(--accent-deep); }
.hero .lede { margin-top: 26px; font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-soft); max-width: 46ch; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin-top: 34px; display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--ink-soft); }
.hero-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.hero-photo { position: relative; }
.hero-photo .frame {
  position: relative; border-radius: 220px 220px 24px 24px; overflow: hidden;
  aspect-ratio: 4/5; box-shadow: 0 40px 80px -50px rgba(26,26,26,.55);
}
.hero-photo .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .blob {
  position: absolute; inset: -8% -10% auto auto; width: 62%; aspect-ratio: 1;
  background: var(--butter); border-radius: 50%; z-index: -1; filter: blur(2px);
}
.hero-photo .tag {
  position: absolute; left: -22px; bottom: 40px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px;
  box-shadow: 0 20px 40px -28px rgba(26,26,26,.5); max-width: 200px;
}
.hero-photo .tag .t1 { font-family: var(--serif); font-size: 17px; }
.hero-photo .tag .t2 { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }

/* ---------- stat strip ---------- */
.stats { border-block: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 38px 24px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat .n { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 44px); line-height: 1; }
.stat .l { font-size: 13.5px; color: var(--ink-soft); margin-top: 10px; letter-spacing: 0.01em; }

/* ---------- section scaffolding ---------- */
section.block { padding-block: clamp(64px, 11vh, 128px); }
.sec-head { max-width: 60ch; }
.sec-head h2 { font-size: clamp(30px, 4vw, 50px); margin-top: 16px; }
.sec-head .sub { margin-top: 18px; color: var(--ink-soft); font-size: 19px; max-width: 52ch; }

/* ---------- services ---------- */
.services-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.4vw, 34px); }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 36px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -44px rgba(26,26,26,.45); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.svc .num { font-family: var(--serif); font-size: 15px; color: var(--accent-deep); letter-spacing: 0.04em; }
.svc h3 { font-size: 26px; margin: 14px 0 0; }
.svc p { margin-top: 14px; color: var(--ink-soft); font-size: 16.5px; }
.svc .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--butter-soft); display: grid; place-items: center; margin-bottom: 22px; border: 1px solid color-mix(in srgb, var(--butter) 60%, var(--line)); }
.svc .ico svg { width: 22px; height: 22px; stroke: var(--ink); }

/* ---------- how it works ---------- */
.how { background: var(--butter-soft); border-block: 1px solid color-mix(in srgb, var(--butter) 55%, var(--line)); }
.steps { margin-top: 54px; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); counter-reset: step; }
.step { position: relative; }
.step .k { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--accent); }
.step h3 { font-size: 23px; margin: 14px 0 0; }
.step p { margin-top: 12px; color: var(--ink-soft); font-size: 16.5px; max-width: 34ch; }

/* ---------- who I work with ---------- */
.niche-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.niche { padding: 40px 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; gap: 20px; align-items: flex-start; background: #fff; transition: background .3s ease; }
.niche:nth-child(2n) { border-right: none; }
.niche:nth-last-child(-n+2) { border-bottom: none; }
.niche:hover { background: var(--butter-soft); }
.niche .mk { font-family: var(--serif); font-size: 22px; color: var(--accent-deep); min-width: 30px; }
.niche h3 { font-size: 22px; }
.niche p { margin-top: 8px; color: var(--ink-soft); font-size: 16px; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.about-photo { position: relative; }
.about-photo .frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 36px 70px -50px rgba(26,26,26,.5); }
.about-photo .frame img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .accent-bar { position: absolute; left: -14px; top: 30px; bottom: 30px; width: 14px; background: var(--blue); border-radius: 8px; z-index: -1; }
.about-body h2 { font-size: clamp(30px, 4vw, 50px); margin-top: 14px; }
.about-body p { margin-top: 20px; color: var(--ink-soft); font-size: 18.5px; }
.about-body p strong { color: var(--ink); font-weight: 600; }
.about-sign { margin-top: 26px; font-family: var(--serif); font-style: italic; font-size: 26px; }

/* ---------- testimonial ---------- */
.quote { background: var(--ink); color: var(--paper); }
.quote .wrap { text-align: center; max-width: 920px; }
.quote .mark { font-family: var(--serif); font-size: 90px; line-height: .6; color: var(--blue); height: 50px; }
.quote blockquote { font-family: var(--serif); font-size: clamp(24px, 3.2vw, 38px); line-height: 1.3; margin: 0; font-weight: 400; }
.quote .who { margin-top: 30px; font-size: 15px; letter-spacing: 0.04em; color: color-mix(in srgb, var(--paper) 70%, transparent); }
.quote .ph { color: color-mix(in srgb, var(--paper) 55%, transparent); font-style: italic; }

/* ---------- CTA ---------- */
.cta { background: var(--butter); }
.cta .wrap { text-align: center; padding-block: clamp(72px, 12vh, 130px); }
.cta h2 { font-size: clamp(34px, 5vw, 62px); max-width: 16ch; margin: 0 auto; }
.cta p { margin: 22px auto 0; font-size: 19px; color: var(--ink-soft); max-width: 46ch; }
.cta .cta-actions { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta .small { margin-top: 26px; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- footer ---------- */
footer.foot { background: var(--paper); border-top: 1px solid var(--line); padding-block: 52px; }
.foot-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.foot .name { font-family: var(--serif); font-size: 24px; }
.foot .tl { color: var(--ink-soft); font-size: 15px; margin-top: 8px; max-width: 32ch; }
.foot .cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot .col h4 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 14px; font-family: var(--sans); font-weight: 600; }
.foot .col a, .foot .col span { display: block; font-size: 15px; color: var(--ink); margin-bottom: 9px; }
.foot .col a:hover { color: var(--accent-deep); }
.foot-base { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); flex-wrap: wrap; gap: 10px; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 360px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 380px; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .services-grid, .steps, .niche-grid { grid-template-columns: 1fr; }
  .niche { border-right: none; }
  .niche:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .nav-links { position: fixed; inset: 76px 0 auto 0; flex-direction: column; background: var(--paper); border-bottom: 1px solid var(--line); padding: 28px var(--gutter) 36px; gap: 22px; align-items: flex-start; transform: translateY(-130%); transition: transform .35s ease; }
  .nav-links.open { transform: none; }
  .menu-toggle { display: block; }
  .nav-links .nav-cta { width: 100%; justify-content: center; }
}
@media (max-width: 520px) {
  .stats .wrap { grid-template-columns: 1fr; }
  .stat { border-left: none !important; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
