/* ════════════════════════════════════════════════════════════════
   AYOMIDE VICTOR — Copywriter & Content Writer
   Editorial portfolio · Light, typographic, restrained
   ════════════════════════════════════════════════════════════════ */

/* ── Design tokens ─────────────────────────────────────────────── */
:root {
  --bg: #F7F3EC;            /* warm paper */
  --bg-soft: #F1ECE1;       /* deeper paper */
  --ink: #16120E;           /* near-black warm */
  --ink-soft: #5C554B;      /* muted body text */
  --ink-faint: #93887A;     /* whispers */
  --accent: #B5501E;         /* burnt sienna — editorial orange */
  --accent-deep: #8F3D14;
  --accent-soft: #E8CDBB;
  --cream: #FBF8F2;
  --line: rgba(22, 18, 14, 0.14);
  --line-soft: rgba(22, 18, 14, 0.08);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 22px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);

  --header-h: 76px;
}

/* ── Reset / base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--accent); color: var(--cream); }

/* Focus — always visible */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}
.reader-panel :focus-visible { outline-color: var(--cream); }

.container {
  width: min(var(--container), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

/* ── Typography helpers ───────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow .num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--accent);
  font-size: 13px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}
.eyebrow-light { color: rgba(251, 248, 242, 0.72); }

.section { padding: clamp(90px, 11vw, 150px) 0; }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(48px, 6vw, 76px);
  text-align: center;
}
.section-head .eyebrow { justify-content: center; }
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-top: 18px;
}
.section-sub {
  margin-top: 18px;
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--ink-soft);
  max-width: 56ch;
  margin-inline: auto;
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 30px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.35s, color 0.35s;
  will-change: transform;
}
.btn .btn-label { position: relative; z-index: 2; }
.btn-arrow {
  position: relative;
  z-index: 2;
  width: 17px;
  height: 17px;
  transition: transform 0.35s var(--ease-out);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.42s var(--ease-out);
  z-index: 1;
}
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-solid {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 12px 28px -14px rgba(22, 18, 14, 0.55);
}
.btn-solid::after { background: var(--accent); }
.btn-solid:hover { box-shadow: 0 18px 34px -14px rgba(181, 80, 30, 0.5); }
.btn-solid:hover::after { transform: translateY(0); }

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-ghost::after { background: var(--ink); }
.btn-ghost:hover { color: var(--cream); }
.btn-ghost:hover::after { transform: translateY(0); }

.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream::after { background: var(--accent); }
.btn-cream:hover { color: var(--cream); }
.btn-cream:hover::after { transform: translateY(0); }

.btn-lg { padding: 20px 40px; font-size: 16px; }

/* ── Progress bar ──────────────────────────────────────────────── */
.progress-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 1000;
  background: transparent;
  pointer-events: none;
}
.progress-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  transition: width 0.12s linear;
}

/* ── Header ────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 900;
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.site-header.is-scrolled {
  background: rgba(247, 243, 236, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 600;
}
.brand-mark {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: inline-block;
  transition: transform 0.4s var(--ease-out);
}
.brand-mark em { color: var(--accent); font-style: normal; }
.brand:hover .brand-mark { transform: rotate(-6deg); }
.brand-name {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
}
.nav-desktop a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 2px;
  transition: color 0.3s;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 2px;
  height: 1.5px;
  background: var(--accent);
  transition: right 0.35s var(--ease-out);
}
.nav-desktop a:hover { color: var(--ink); }
.nav-desktop a:hover::after { right: 0; }

.nav-cta {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 10px 22px !important;
  color: var(--ink) !important;
  transition: background 0.35s, color 0.35s, border-color 0.35s !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--ink);
  color: var(--cream) !important;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 6px;
}
.menu-box {
  width: 34px;
  height: 22px;
  position: relative;
  display: inline-block;
}
.menu-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out), opacity 0.3s;
}
.menu-line:nth-child(1) { top: 5px; }
.menu-line:nth-child(2) { top: 15px; }
.menu-word {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
body.menu-open .menu-line:nth-child(1) { top: 10px; transform: rotate(45deg); }
body.menu-open .menu-line:nth-child(2) { top: 10px; transform: rotate(-45deg); }
body.menu-open .menu-word { opacity: 0; }

/* Header adapts to dark menu overlay */
body.menu-open .site-header {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.menu-open .brand-mark,
body.menu-open .brand-name,
body.menu-open .menu-word { color: var(--cream); }
body.menu-open .brand-mark em { color: var(--accent-soft); }
body.menu-open .menu-line { background: var(--cream); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 880;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 100px var(--gutter) 48px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.65s var(--ease-out), visibility 0s 0.65s;
}
body.menu-open .mobile-menu {
  clip-path: inset(0 0 0% 0);
  visibility: visible;
  transition: clip-path 0.65s var(--ease-out), visibility 0s;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1.6vh, 14px);
}
.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--serif);
  font-size: clamp(34px, 8vw, 56px);
  font-weight: 400;
  padding: 8px 0;
  border-bottom: 1px solid rgba(251, 248, 242, 0.12);
  transform: translateY(26px);
  opacity: 0;
  transition: transform 0.6s var(--ease-out), opacity 0.6s var(--ease-out), color 0.3s, padding-left 0.4s var(--ease-out);
  transition-delay: 0s;
}
body.menu-open .mobile-menu nav a {
  transform: translateY(0);
  opacity: 1;
  transition-delay: calc(0.18s + var(--i, 0) * 0.07s);
}
.mobile-menu nav a:hover { color: var(--accent-soft); padding-left: 12px; }
.mm-num {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent-soft);
  opacity: 0.7;
}
.mm-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 248, 242, 0.55);
}

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + clamp(40px, 6vh, 70px)) 0 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-word {
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px rgba(22, 18, 14, 0.10);
  font-size: clamp(90px, 16vw, 230px);
  white-space: nowrap;
  user-select: none;
}
.hw-1 { top: 12%; left: -4%; }
.hw-2 { bottom: 20%; right: -6%; }
.hw-3 { top: 4%; right: 8%; font-size: clamp(60px, 9vw, 130px); opacity: 0.8; }

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: multiply;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
  padding-bottom: clamp(60px, 9vh, 110px);
}

.hero-eyebrow { margin-bottom: clamp(20px, 3vh, 30px); }
.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(181, 80, 30, 0.4); }
  50% { box-shadow: 0 0 0 7px rgba(181, 80, 30, 0); }
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7.6vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.ht-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.04em; }
.ht-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
}
.hero.loaded .ht-line:nth-child(1) .ht-inner { transform: translateY(0); transition-delay: 0.12s; }
.hero.loaded .ht-line:nth-child(2) .ht-inner { transform: translateY(0); transition-delay: 0.26s; }
.hero-title em { font-style: italic; color: var(--accent); font-weight: 400; }

.hero-support {
  margin-top: clamp(22px, 3.4vh, 34px);
  max-width: 46ch;
  font-size: clamp(16px, 1.5vw, 18.5px);
  color: var(--ink-soft);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease-out) 0.5s, transform 0.9s var(--ease-out) 0.5s;
}
.hero.loaded .hero-support { opacity: 1; transform: none; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(30px, 4.4vh, 44px);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease-out) 0.66s, transform 0.9s var(--ease-out) 0.66s;
}
.hero.loaded .hero-ctas { opacity: 1; transform: none; }

.hero-scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(36px, 6vh, 60px);
  font-size: 11.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-faint);
  opacity: 0;
  transition: opacity 1s ease 1.1s;
}
.hero.loaded .hero-scroll-cue { opacity: 1; }
.cue-line {
  width: 44px;
  height: 1px;
  background: var(--ink-faint);
  transform-origin: left;
  animation: cueGrow 2.6s var(--ease-soft) infinite;
}
@keyframes cueGrow {
  0%, 100% { transform: scaleX(0.3); opacity: 0.4; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* Portrait */
.hero-figure {
  position: relative;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 1.1s var(--ease-out) 0.4s, transform 1.1s var(--ease-out) 0.4s;
}
.hero.loaded .hero-figure { opacity: 1; transform: none; }

.portrait-frame {
  position: relative;
  width: min(100%, 430px);
  transition: transform 0.5s var(--ease-out);
  will-change: transform;
}
.portrait-shell {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 46% 46% 44% 44% / 42% 42% 48% 48%;
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: 0 40px 80px -34px rgba(22, 18, 14, 0.4);
  transform: translateZ(0);
}
.portrait-shell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 0.9s var(--ease-out), opacity 0.6s;
}
.portrait-frame:hover .portrait-shell img { transform: scale(1.1) translate(0, -1.5%); }

.portrait-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(181, 80, 30, 0.16), transparent 60%),
    var(--bg-soft);
  transition: opacity 0.5s;
}
.portrait-fallback.is-hidden { opacity: 0; pointer-events: none; }
.pf-mark {
  font-family: var(--serif);
  font-size: clamp(72px, 9vw, 110px);
  font-style: italic;
  color: var(--ink);
  opacity: 0.85;
}
.pf-note {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.portrait-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: 0.07;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.portrait-ring {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}
.ring-a {
  inset: -18px;
  animation: ringFloat 9s ease-in-out infinite;
}
.ring-b {
  inset: -38px;
  border-style: dashed;
  opacity: 0.5;
  animation: ringSpin 60s linear infinite;
}
@keyframes ringFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes ringSpin { to { transform: rotate(360deg); } }

.portrait-caption {
  position: absolute;
  left: 50%;
  bottom: -58px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  font-size: 12.5px;
}
.caption-block { display: flex; flex-direction: column; line-height: 1.3; }
.caption-block strong { font-weight: 600; letter-spacing: 0.04em; }
.caption-sub { color: var(--ink-faint); font-size: 11.5px; letter-spacing: 0.06em; }
.caption-rule { width: 1px; height: 30px; background: var(--line); }

/* Hero marquee */
.hero-marquee {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  margin-top: auto;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 42px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.marquee-track i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
  opacity: 0.75;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Stats ─────────────────────────────────────────────────────── */
.stats {
  padding: clamp(56px, 7vw, 90px) 0;
  background: var(--ink);
  color: var(--cream);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.stat {
  text-align: center;
  position: relative;
  padding: clamp(18px, 2.4vw, 28px) 8px;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: rgba(251, 248, 242, 0.14);
}
.stat-num {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 5.6vw, 74px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}
.stat-num.is-counting { color: var(--accent-soft); }
.stat-infinity { color: var(--accent-soft); }
.stat-label {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(251, 248, 242, 0.6);
}

/* ── About ─────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 200px 1fr 260px;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.section-head-left { padding-top: 10px; }

.about-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 16ch;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.about-title em { font-style: italic; color: var(--accent); }

.about-lead {
  font-size: clamp(17.5px, 1.9vw, 21px);
  line-height: 1.6;
  color: var(--ink);
  max-width: 54ch;
  margin-bottom: clamp(26px, 3.4vw, 36px);
}
.about-lead p + p { margin-top: 1em; }
.about-lead strong { font-weight: 600; }

.about-detail {
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: 16.5px;
  border-left: 2px solid var(--accent);
  padding-left: clamp(20px, 2.4vw, 30px);
}
.about-detail p + p { margin-top: 1em; }
.about-detail strong { color: var(--ink); font-weight: 600; }

.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(28px, 3.6vw, 40px);
}
.about-chips li {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.about-chips li:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

.about-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.aside-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  background: var(--cream);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.aside-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -26px rgba(22, 18, 14, 0.35);
}
.aside-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.aside-card p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.35;
}

/* ── Services ───────────────────────────────────────────────────── */
.services { background: var(--bg-soft); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 26px);
}

.service-card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(26px, 2.8vw, 36px);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s;
  cursor: default;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
  z-index: 0;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 60px -30px rgba(22, 18, 14, 0.45);
}
.service-card:hover::before { transform: translateY(0); }

.service-card > * { position: relative; z-index: 1; }

.sc-index {
  position: absolute;
  top: clamp(20px, 2.4vw, 28px);
  right: clamp(22px, 2.6vw, 30px);
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-faint);
  z-index: 1;
  transition: color 0.4s;
}
.service-card:hover .sc-index { color: rgba(251, 248, 242, 0.5); }

.sc-icon {
  width: 46px;
  height: 46px;
  color: var(--accent);
  margin-bottom: 22px;
  transition: transform 0.5s var(--ease-out), color 0.4s;
}
.sc-icon svg { width: 100%; height: 100%; }
.service-card:hover .sc-icon {
  color: var(--accent-soft);
  transform: rotate(-8deg) scale(1.06);
}

.sc-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(21px, 1.9vw, 25px);
  line-height: 1.2;
  margin-bottom: 12px;
  transition: color 0.4s;
}
.sc-text {
  font-size: 15px;
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 34ch;
  transition: color 0.4s;
}
.service-card:hover .sc-title { color: var(--cream); }
.service-card:hover .sc-text { color: rgba(251, 248, 242, 0.72); }

.sc-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), color 0.4s;
}
.sc-more svg { width: 15px; height: 15px; }
.service-card:hover .sc-more { opacity: 1; transform: none; color: var(--accent-soft); }

/* ── Portfolio ─────────────────────────────────────────────────── */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.filter-btn {
  padding: 10px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.35s var(--ease-out);
}
.filter-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-2px);
}
.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 26px);
}

.work-card {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--cream);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), opacity 0.4s, scale 0.4s;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.work-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 70px -34px rgba(22, 18, 14, 0.5);
}
.work-card.is-hidden { display: none; }
.work-card.is-filtering { opacity: 0; scale: 0.94; }

/* media area per category — each visually distinctive */
.wc-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wc-glyph {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(64px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
  transition: transform 0.6s var(--ease-out);
  z-index: 1;
}
.work-card:hover .wc-glyph { transform: scale(1.12) rotate(-4deg); }

.wc-blog .wc-media { background: linear-gradient(150deg, #EFE7D8, #E4D8C2); color: #6E5B3E; }
.wc-blog .wc-lines {
  position: absolute;
  inset: auto 14% 16% 14%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0.45;
}
.wc-lines span { height: 2px; background: #6E5B3E; border-radius: 2px; }
.wc-lines span:nth-child(1) { width: 100%; }
.wc-lines span:nth-child(2) { width: 86%; }
.wc-lines span:nth-child(3) { width: 92%; }
.wc-lines span:nth-child(4) { width: 55%; }
.work-card:hover .wc-lines span { animation: lineSweep 1s var(--ease-out) forwards; }
.wc-lines span:nth-child(1) { animation-delay: 0s; }
.wc-lines span:nth-child(2) { animation-delay: 0.08s; }
.wc-lines span:nth-child(3) { animation-delay: 0.16s; }
.wc-lines span:nth-child(4) { animation-delay: 0.24s; }
@keyframes lineSweep { from { transform: scaleX(0.3); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }

/* ── Compact grid for many samples ──────────────────────────────── */
.work-grid-compact {
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 20px);
}
.work-grid-compact .wc-media {
  aspect-ratio: 16 / 9;
}
.work-grid-compact .wc-glyph {
  font-size: clamp(36px, 4.5vw, 56px);
}
.work-grid-compact .wc-body {
  padding: clamp(14px, 1.8vw, 20px);
}
.work-grid-compact .wc-title {
  font-size: clamp(16px, 1.5vw, 20px);
}
.work-grid-compact .wc-sub {
  font-size: 12.5px;
}

/* ── Download button ──────────────────────────────────────────────── */
.wc-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.wc-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  color: var(--ink-soft);
  transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.35s var(--ease-out);
  flex-shrink: 0;
}
.wc-download svg {
  width: 16px;
  height: 16px;
}
.wc-download:hover {
  background: var(--accent);
  color: var(--cream);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ── Drive CTA ──────────────────────────────────────────────────── */
.work-drive-cta {
  margin-top: clamp(42px, 5vw, 64px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.work-drive-cta .work-note {
  margin-top: 0;
}

/* ── Media color variants ──────────────────────────────────────── */
.wc-media-blog { background: linear-gradient(150deg, #EFE7D8, #E4D8C2); color: #6E5B3E; }
.wc-media-ads { background: var(--accent); color: var(--cream); }
.wc-media-sales { background: var(--ink); color: var(--cream); }
.wc-media-email { background: linear-gradient(160deg, #DCE4DA, #C9D6C6); color: #33422F; }
.wc-media-news { background: linear-gradient(150deg, #E3E0D8, #D2CEC2); color: #2E2B26; }
.wc-media-social { background: linear-gradient(140deg, #E8D3D9, #DDBBC5); color: #6E3B4C; }
.wc-media-travel { background: linear-gradient(150deg, #D4E4EF, #B8D4E8); color: #2B4A5E; }


.wc-sales .wc-media { background: var(--ink); color: var(--cream); }
.wc-sales .wc-glyph { font-style: italic; }
.wc-sales .wc-arrow {
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease-out);
  opacity: 0.5;
}
.wc-sales .wc-arrow::before,
.wc-sales .wc-arrow::after {
  content: "";
  position: absolute;
  background: var(--accent-soft);
}
.wc-sales .wc-arrow::before {
  left: 12%; right: 12%; top: 50%;
  height: 1.5px;
}
.wc-sales .wc-arrow::after {
  right: 12%; top: 50%;
  width: 12px; height: 12px;
  border-top: 1.5px solid var(--accent-soft);
  border-right: 1.5px solid var(--accent-soft);
  transform: translateY(-50%) rotate(45deg);
}
.work-card:hover .wc-arrow { transform: translateX(10px); }

.wc-ads .wc-media { background: var(--accent); color: var(--cream); }
.wc-ads .wc-glyph { font-weight: 600; }
.wc-ads .wc-spark {
  position: absolute;
  width: 130px; height: 130px;
  border: 1px dashed rgba(251, 248, 242, 0.5);
  border-radius: 50%;
  animation: ringSpin 26s linear infinite;
}
.wc-ads .wc-spark::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(251, 248, 242, 0.3);
  border-radius: 50%;
}

.wc-emails .wc-media { background: linear-gradient(160deg, #DCE4DA, #C9D6C6); color: #33422F; }
.wc-emails .wc-glyph { font-weight: 400; }
.wc-emails .wc-bell {
  position: absolute;
  top: 18%; right: 14%;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid #33422F;
  opacity: 0.55;
  animation: ringFloat 5s ease-in-out infinite;
}
.wc-emails .wc-bell::before {
  content: "1";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
}

.wc-news .wc-media { background: linear-gradient(150deg, #E3E0D8, #D2CEC2); color: #2E2B26; }
.wc-news .wc-glyph { font-weight: 600; letter-spacing: 0; }
.wc-news .wc-bars {
  position: absolute;
  left: 12%; bottom: 18%;
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 44px;
  opacity: 0.5;
}
.wc-bars span { width: 9px; background: #2E2B26; border-radius: 2px 2px 0 0; }
.wc-bars span:nth-child(1) { height: 40%; }
.wc-bars span:nth-child(2) { height: 100%; }
.wc-bars span:nth-child(3) { height: 64%; }
.work-card:hover .wc-bars span { animation: barGrow 0.8s var(--ease-out); }
@keyframes barGrow { from { transform: scaleY(0.4); transform-origin: bottom; } to { transform: scaleY(1); transform-origin: bottom; } }

.wc-social .wc-media { background: linear-gradient(140deg, #E8D3D9, #DDBBC5); color: #6E3B4C; }
.wc-social .wc-glyph { font-style: italic; }
.wc-social .wc-heart {
  position: absolute;
  bottom: 16%; right: 14%;
  width: 22px; height: 22px;
}
.wc-social .wc-heart::before,
.wc-social .wc-heart::after {
  content: "";
  position: absolute;
  width: 11px; height: 17px;
  background: #A34D63;
  border-radius: 11px 11px 0 0;
  opacity: 0.8;
}
.wc-social .wc-heart::before { left: 11px; transform: rotate(-45deg); transform-origin: 0 100%; }
.wc-social .wc-heart::after { left: 0; transform: rotate(45deg); transform-origin: 100% 100%; }
.work-card:hover .wc-heart { animation: heartBeat 0.9s var(--ease-soft); }
@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.25); }
  45% { transform: scale(1); }
  65% { transform: scale(1.16); }
}

.wc-body {
  padding: clamp(20px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--line-soft);
}
.wc-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.wc-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.15;
}
.wc-sub {
  font-size: 14px;
  color: var(--ink-soft);
}
.wc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.wc-cta svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease-out); }
.work-card:hover .wc-cta svg { transform: translateX(5px); }
.work-card:hover .wc-cta { color: var(--accent); }

.work-note {
  margin-top: clamp(36px, 5vw, 52px);
  text-align: center;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.work-note a {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

/* ── Experience timeline ───────────────────────────────────────── */
.experience { background: var(--bg-soft); }

.timeline {
  position: relative;
  max-width: 880px;
  margin-inline: auto;
  padding-left: clamp(8px, 2vw, 16px);
}
.timeline::before {
  content: "";
  position: absolute;
  left: clamp(8px, 2vw, 16px);
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}
.timeline .tl-path {
  position: absolute;
  left: clamp(8px, 2vw, 16px);
  top: 6px;
  width: 1px;
  height: 0;
  background: var(--accent);
  transition: height 1.2s var(--ease-soft);
}

.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: clamp(54px, 7vw, 90px) 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(22px, 3vw, 34px) 0;
}
.tl-item + .tl-item { border-top: 1px solid var(--line-soft); }

.tl-marker {
  position: relative;
  display: flex;
  justify-content: flex-start;
  padding-top: 8px;
}
.tl-dot {
  position: relative;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid var(--ink-faint);
  margin-left: clamp(-6px, -0.5vw, -5px);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s, scale 0.4s var(--ease-out);
}
.tl-item.is-active .tl-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(181, 80, 30, 0.15);
  scale: 1.15;
}

.tl-card {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 38px);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s;
}
.tl-card:hover {
  transform: translateX(8px);
  box-shadow: 0 30px 60px -34px rgba(22, 18, 14, 0.4);
  border-color: var(--line);
}

.tl-period {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.tl-role {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.18;
}
.tl-org {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 6px 0 16px;
}
.tl-points { display: flex; flex-direction: column; gap: 9px; }
.tl-points li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.tl-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
  opacity: 0.85;
}

/* ── Philosophy ─────────────────────────────────────────────────── */
.philosophy {
  padding: clamp(110px, 14vw, 190px) 0;
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(181, 80, 30, 0.07), transparent 55%),
    var(--bg);
  overflow: hidden;
}
.phil-quote {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}
.phil-open {
  position: absolute;
  top: -0.55em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: clamp(120px, 16vw, 220px);
  line-height: 1;
  color: var(--accent);
  opacity: 0.14;
  pointer-events: none;
  user-select: none;
}
.phil-line {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 8vw, 108px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.phil-line::after {
  content: "";
  display: block;
  width: 68px;
  height: 2px;
  background: var(--accent);
  margin: clamp(28px, 4vw, 42px) auto 0;
}
.phil-caption {
  margin-top: clamp(28px, 4vw, 42px);
  font-size: clamp(16px, 1.8vw, 19.5px);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-inline: auto;
}
.phil-caption em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
}

/* ── Contact ───────────────────────────────────────────────────── */
.contact {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(100px, 13vw, 170px) 0;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -140px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(251, 248, 242, 0.09);
  border-radius: 50%;
  pointer-events: none;
}
.contact::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border: 1px dashed rgba(181, 80, 30, 0.35);
  border-radius: 50%;
  pointer-events: none;
  animation: ringSpin 80s linear infinite;
}

.contact-inner { position: relative; z-index: 1; }
.contact-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 7.4vw, 96px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin-top: 20px;
}
.contact-title em { font-style: italic; color: var(--accent-soft); }
.contact-lead {
  margin-top: 22px;
  font-size: clamp(17px, 1.8vw, 20px);
  color: rgba(251, 248, 242, 0.66);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: clamp(34px, 4.6vw, 50px);
}
.contact-alt-link {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: rgba(251, 248, 242, 0.72);
  border-bottom: 1px solid rgba(251, 248, 242, 0.3);
  transition: color 0.3s, border-color 0.3s;
}
.contact-alt-link:hover { color: var(--cream); border-color: var(--accent-soft); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 22px);
  margin-top: clamp(52px, 7vw, 80px);
}
.contact-card {
  border: 1px solid rgba(251, 248, 242, 0.14);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 32px);
  background: rgba(251, 248, 242, 0.03);
  transition: background 0.4s, transform 0.4s var(--ease-out), border-color 0.4s;
}
.contact-card:hover {
  background: rgba(251, 248, 242, 0.06);
  transform: translateY(-5px);
  border-color: rgba(251, 248, 242, 0.3);
}
.cc-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 12px;
}
.cc-value {
  display: block;
  font-family: var(--serif);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.4;
  color: var(--cream);
  overflow-wrap: anywhere;
}
.cc-value a {
  transition: color 0.3s;
  text-decoration: underline;
  text-decoration-color: rgba(251, 248, 242, 0.25);
  text-underline-offset: 4px;
}
.cc-value a:hover { color: var(--accent-soft); }
.cc-phones { display: flex; flex-direction: column; gap: 4px; }
.cc-hint {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: rgba(251, 248, 242, 0.5);
}

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(40px, 5vw, 56px) 0;
  border-top: 1px solid rgba(251, 248, 242, 0.1);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
}
.footer-name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
}
.footer-role {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251, 248, 242, 0.55);
  margin-top: 4px;
}
.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--accent-soft);
}
.footer-loc {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(251, 248, 242, 0.55);
}
.footer-copy {
  width: 100%;
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(251, 248, 242, 0.08);
  font-size: 12.5px;
  color: rgba(251, 248, 242, 0.42);
}

/* ── Portfolio reader (case-study overlay) ──────────────────────── */
.reader {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  visibility: hidden;
  pointer-events: none;
}
.reader.is-open {
  visibility: visible;
  pointer-events: auto;
}
.reader-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 18, 14, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.45s;
}
.reader.is-open .reader-backdrop { opacity: 1; }

.reader-panel {
  position: relative;
  width: min(760px, 100%);
  height: 100%;
  background: var(--cream);
  transform: translateX(100%);
  transition: transform 0.6s var(--ease-out);
  box-shadow: -30px 0 80px rgba(22, 18, 14, 0.35);
}
.reader.is-open .reader-panel { transform: translateX(0); }

.reader-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: grid;
  place-items: center;
  transition: transform 0.4s var(--ease-out), background 0.3s;
}
.reader-close svg { width: 18px; height: 18px; }
.reader-close:hover { transform: rotate(90deg); background: var(--accent); }

.reader-scroll {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.reader-article {
  max-width: 640px;
  margin-inline: auto;
  padding: clamp(56px, 8vh, 96px) clamp(24px, 5vw, 48px) 90px;
}
.reader-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.reader-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.015em;
}
.reader-meta {
  margin-top: 18px;
  font-size: 16px;
  font-style: italic;
  font-family: var(--serif);
  color: var(--ink-soft);
}
.reader-rule {
  height: 2px;
  width: 64px;
  background: var(--accent);
  margin: 30px 0 34px;
}
.reader-body {
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--ink);
}
.reader-body strong { font-weight: 600; }
.reader-body em { font-family: var(--serif); }
.reader-body p + p { margin-top: 1.1em; }

.reader-body .placeholder-note {
  display: block;
  margin-top: 1.6em;
  padding: 16px 20px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  font-size: 14.5px;
  font-style: italic;
  color: var(--ink-faint);
  background: var(--bg);
}

.reader-foot {
  margin-top: 54px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.reader-foot p {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 20px;
}

/* ── Reveal system ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

.reveal-item {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.reveal-item.is-visible { opacity: 1; transform: none; }

/* ── Custom cursor (fine pointers only) ────────────────────────── */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 2000;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid var(--accent);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s, width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s;
}
body.cursor-active .cursor-dot,
body.cursor-active .cursor-ring { opacity: 1; }
body.cursor-hover .cursor-ring {
  width: 56px;
  height: 56px;
  background: rgba(181, 80, 30, 0.08);
}

/* ══════════════════════ RESPONSIVE ══════════════════════ */

/* Laptop / small desktop */
@media (max-width: 1080px) {
  .about-grid { grid-template-columns: 180px 1fr; }
  .about-aside {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    position: static;
  }
  .about-aside .aside-card { flex: 1 1 200px; }
}

/* Tablet */
@media (max-width: 900px) {
  :root { --header-h: 66px; }

  .nav-desktop { display: none; }
  .menu-toggle { display: inline-flex; }

  .hero { min-height: auto; padding-bottom: 0; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: clamp(48px, 7vw, 70px);
    padding-top: clamp(10px, 2vh, 30px);
    padding-bottom: clamp(60px, 8vw, 90px);
    text-align: center;
  }
  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-support { margin-inline: auto; }
  .hero-scroll-cue { display: none; }

  .hero-figure { order: 2; }
  .portrait-frame { width: min(78%, 360px); }
  .portrait-caption { bottom: -52px; }

  .hw-1 { top: auto; bottom: 34%; left: -14%; }
  .hw-3 { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-title, .about-lead, .about-detail { max-width: none; }
  .section-head-left { margin-bottom: 26px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid-compact { grid-template-columns: repeat(3, 1fr); }

  .timeline { padding-left: 0; }
  .timeline::before { left: clamp(24px, 4vw, 40px); }
  .tl-path { left: clamp(24px, 4vw, 40px) !important; }
  .tl-item { grid-template-columns: 1fr; gap: 0; }
  .tl-marker { padding: 0 0 18px; }
  .tl-dot { margin-left: clamp(18px, 3.4vw, 34px); }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-actions { flex-direction: column; align-items: flex-start; }
}

/* Mobile — rethink layout */
@media (max-width: 600px) {
  body { font-size: 16px; }

  .brand-name { display: none; }

  .hero-title { font-size: clamp(42px, 12.5vw, 56px); }
  .hero-support { font-size: 16.5px; }
  .hero-ctas { flex-direction: column; width: 100%; margin-inline: auto; max-width: 340px; }
  .hero-ctas .btn { width: 100%; }

  .portrait-frame { width: min(86%, 340px); }
  .portrait-caption {
    position: static;
    transform: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 62px;
    border-top: 1px solid var(--line);
    padding-top: 18px;
    width: 100%;
    justify-content: center;
  }
  .caption-block { align-items: center; }
  .caption-rule { width: 26px; height: 1px; }

  .hero-marquee { padding: 14px 0; }
  .marquee-track span { font-size: 16px; }

  .stats { padding: 44px 0; }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 12px;
  }
  .stat + .stat::before { display: none; }
  .stat:nth-child(even) { border-left: 1px solid rgba(251,248,242,0.14); padding-left: 12px; }
  .stat-num { font-size: clamp(40px, 11vw, 52px); }

  .section { padding: 72px 0; }
  .section-head { margin-bottom: 42px; }

  .services-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-grid-compact { grid-template-columns: repeat(2, 1fr); }
  .filter-row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-bottom: 4px;
    mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-btn { flex: none; padding: 9px 18px; font-size: 13px; }

  .tl-card { padding: 22px; }
  .tl-card:hover { transform: none; }

  .philosophy { padding: 88px 0; }
  .phil-open { font-size: 110px; }

  .contact-actions { margin-top: 30px; }
  .contact-alt-link { font-size: 15.5px; overflow-wrap: anywhere; }

  .reader-panel { width: 100%; }
  .reader-close { top: 14px; right: 14px; width: 42px; height: 42px; }
  .reader-article { padding-top: 76px; }
  .reader-foot .btn { width: 100%; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-copy { text-align: left; }
}

/* ── Reduced motion ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .ht-inner { transform: none !important; }
  .hero-support, .hero-ctas, .hero-figure, .hero-scroll-cue { opacity: 1 !important; transform: none !important; }
  .reveal, .reveal-item { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* Also hide cursor for coarse pointers / touch */
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── sc-more as link (Talk to me) ─────────────────────────────── */
a.sc-more {
  cursor: pointer;
  text-decoration: none;
}
a.sc-more:hover { color: var(--accent-soft); }

/* ── About contact buttons ──────────────────────────────────────── */
.about-contact-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 3.6vw, 40px);
}
.about-contact-btns .btn {
  font-size: 14px;
  padding: 14px 26px;
}
.about-contact-btns .btn svg {
  flex-shrink: 0;
}

/* ── Mobile menu contact links ──────────────────────────────────── */
.mm-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid rgba(251, 248, 242, 0.12);
}
.mm-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
  padding: 12px 18px;
  border: 1px solid rgba(251, 248, 242, 0.2);
  border-radius: 999px;
  transition: background 0.3s, border-color 0.3s;
  text-decoration: none;
}
.mm-quick-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.mm-whatsapp:hover { background: #25D366; border-color: #25D366; }
.mm-email:hover { background: var(--accent); border-color: var(--accent); }

/* ── Mobile menu nav grows to push contact links down ─────────── */
.mobile-menu nav {
  flex: 1;
}

/* ── Articles section ───────────────────────────────────────────── */
.articles { background: var(--bg-soft); }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.2vw, 26px);
}

.article-card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.3s;
  overflow: hidden;
}
.article-card::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 52px -24px rgba(22, 18, 14, 0.35);
  border-color: var(--accent-soft);
}
.article-card:hover::before { transform: scaleX(1); }

.ac-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.ac-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.ac-read-time {
  font-size: 12px;
  color: var(--ink-faint);
}

.ac-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.3s;
}
.article-card:hover .ac-title { color: var(--accent); }

.ac-sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 52ch;
}

.ac-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  transition: gap 0.3s var(--ease-out);
}
.ac-cta svg { width: 15px; height: 15px; }
.article-card:hover .ac-cta { gap: 12px; }

/* reader-body article styles */
.reader-body h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  line-height: 1.25;
  margin: 28px 0 14px;
  color: var(--ink);
}
.reader-body h3:first-child { margin-top: 0; }
.reader-body h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  margin: 22px 0 10px;
  color: var(--ink);
}
.reader-body p { margin-bottom: 14px; line-height: 1.72; }
.reader-body ul { margin: 10px 0 18px 20px; list-style: disc; }
.reader-body ul li { margin-bottom: 6px; line-height: 1.6; }
.reader-body hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 30px 0;
}
.reader-body strong { font-weight: 600; }
.reader-body em { font-style: italic; }
.reader-lead-line {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}

/* ── Reader preview styles (sample document preview) ─────────────── */
.preview-doc {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(20px, 4vw, 34px);
  box-shadow: 0 2px 14px rgba(22, 18, 14, 0.06);
}
.preview-line {
  font-size: 15.5px;
  line-height: 1.66;
  color: var(--ink);
  margin: 0 0 4px;
  white-space: pre-wrap;
  word-break: break-word;
}
.preview-line.preview-spacer {
  margin: 0;
  line-height: 0.9;
  font-size: 8px;
  user-select: none;
}
.preview-note {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  font-style: italic;
  font-family: var(--serif);
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

/* Reader download block */
.reader-download {
  margin-top: 34px;
  text-align: center;
}
.reader-download .rd-label {
  font-size: 14.5px;
  font-style: italic;
  font-family: var(--serif);
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.reader-download .rd-btn {
  max-width: 320px;
  width: 100%;
}

@media (max-width: 640px) {
  .preview-doc { padding: 18px 16px; }
  .preview-line { font-size: 14.5px; }
}

/* ── Footer contact links ───────────────────────────────────────── */
.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid rgba(251, 248, 242, 0.2);
  border-radius: 999px;
  color: var(--cream);
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s;
}
.footer-wa:hover { background: #25D366; border-color: #25D366; }
.footer-em:hover { background: var(--accent); border-color: var(--accent); }

/* ── Responsive: Articles ────────────────────────────────────────── */
@media (max-width: 900px) {
  .articles-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .articles-grid { grid-template-columns: 1fr; }
  .about-contact-btns { flex-direction: column; }
  .about-contact-btns .btn { justify-content: center; }
  .mm-contact { padding-top: 20px; }
  .footer-links { flex-wrap: wrap; }
}

