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

:root {
  --bg: #F8F5F0;
  --bg-alt: #F2EDE6;
  --ink: #1C1917;
  --ink-light: #6B6560;
  --ink-xlight: #A89E98;
  --accent: #2C4A3E;
  --rule: #DDD8D0;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --max: 860px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 60px;
  background: rgba(248, 245, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
nav.scrolled { border-bottom-color: var(--rule); }

.nav-identity { display: flex; flex-direction: column; gap: 1px; }

.nav-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}

.nav-sub {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-xlight);
}

.nav-links { display: flex; gap: 40px; list-style: none; }

.nav-links a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
}

nav.nav-open .hamburger::before { transform: translateY(8px) rotate(45deg); }
nav.nav-open .hamburger::after  { transform: translateY(-8px) rotate(-45deg); }

/* ── LAYOUT ── */
section { padding: 120px 60px; }
.container { max-width: var(--max); margin: 0 auto; }
.bg-alt { background: var(--bg-alt); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 160px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(44,74,62,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-greeting {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-xlight);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}
.hero-title em { font-style: italic; color: var(--accent); }

.hero-sub {
  max-width: 520px;
  color: var(--ink-light);
  font-size: 16px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-sub a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(44,74,62,0.3);
  transition: border-color 0.2s;
}
.hero-sub a:hover { border-color: var(--accent); }

.hero-scroll {
  position: absolute;
  bottom: 48px; left: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-xlight);
  opacity: 0;
  animation: fadeIn 1s ease 1.2s forwards;
}

.scroll-line {
  width: 40px; height: 1px;
  background: var(--ink-xlight);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--ink);
  animation: slideRight 2s ease 1.5s infinite;
}

/* ── LOGOS ── */
#logos {
  padding: 56px 60px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg-alt);
}

.logos-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-xlight);
  margin-bottom: 36px;
  text-align: center;
}

.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}

.logo-img-wrap { display: flex; align-items: center; }

.logo-img {
  height: 32px;
  width: auto;
  display: block;
  filter: grayscale(100%) opacity(0.5);
  transition: filter 0.35s ease;
}
.logo-img:hover { filter: grayscale(0%) opacity(1); }

.logo-fallback {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink-xlight);
  letter-spacing: 0.02em;
  display: none;
}

.logo-divider { width: 1px; height: 28px; background: var(--rule); }

.logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(44,74,62,0.08);
  padding: 5px 14px;
}
.logo-badge::before { content: '◆'; font-size: 7px; }

/* ── SECTION HEADERS ── */
.section-header {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 72px;
}

.section-num { font-size: 11px; letter-spacing: 0.12em; color: var(--ink-xlight); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -0.01em;
}

.section-rule { flex: 1; height: 1px; background: var(--rule); margin-left: 8px; }

/* ── WORK ── */
.work-grid {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.work-card {
  background: var(--bg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  transition: background 0.2s;
}
.work-card:hover { background: var(--bg-alt); }

.work-logo {
  height: 28px; width: auto;
  display: block;
  margin-bottom: 12px;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.35s ease;
}
.work-card:hover .work-logo { filter: grayscale(0%) opacity(1); }

.work-company {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.work-role {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 6px;
}

.work-period { font-size: 12px; color: var(--ink-xlight); }

.work-problem {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-xlight);
  margin-bottom: 12px;
}

.work-desc { color: var(--ink-light); font-size: 15px; margin-bottom: 28px; }

.work-outcomes { display: flex; gap: 32px; flex-wrap: wrap; margin-bottom: 24px; }

.outcome { border-left: 2px solid var(--accent); padding-left: 14px; }

.outcome-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 2px;
}

.outcome-label { font-size: 12px; color: var(--ink-xlight); }

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.2s;
}
.work-link:hover { gap: 12px; }
.work-link::after { content: '→'; }

/* ── GROWTHX ── */
.growthx-card {
  background: rgba(44,74,62,0.04);
  border: 1px solid rgba(44,74,62,0.14);
  padding: 40px 48px;
  margin-top: 2px;
}

.growthx-eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.growthx-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
}

.growthx-desc { font-size: 14px; color: var(--ink-light); max-width: 560px; line-height: 1.75; }

/* ── PROOF ── */
.proof-list {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.proof-item {
  background: var(--bg-alt);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}
.proof-item:hover { background: var(--bg); }

.proof-type {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-xlight);
  margin-bottom: 10px;
}

.proof-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--ink);
}

.proof-desc { font-size: 14px; color: var(--ink-light); max-width: 560px; line-height: 1.75; }

.arrow-icon {
  font-size: 18px;
  color: var(--ink-xlight);
  margin-top: 2px;
  transition: transform 0.2s;
}
.proof-item:hover .arrow-icon,
.writing-item:hover .arrow-icon { transform: translate(3px, -3px); }

/* ── WRITING ── */
.writing-list {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.writing-item {
  background: var(--bg);
  padding: 36px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}
.writing-item:hover { background: var(--bg-alt); }

.writing-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.writing-date { font-size: 12px; color: var(--ink-xlight); }

.writing-tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-xlight);
  background: var(--rule);
  padding: 2px 8px;
}

.writing-title {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
}

.writing-preview { font-size: 13px; color: var(--ink-light); max-width: 540px; line-height: 1.65; }

/* ── READING ── */
.reading-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.reading-category {
  background: var(--bg-alt);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.reading-cat-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-xlight);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}

.reading-item { display: flex; flex-direction: column; gap: 3px; }
.reading-title { font-size: 14px; color: var(--ink); font-weight: 400; line-height: 1.4; }
.reading-author { font-size: 12px; color: var(--ink-xlight); }
.reading-note { font-size: 13px; color: var(--ink-light); font-style: italic; line-height: 1.55; margin-top: 3px; }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.about-image {
  aspect-ratio: 3/4;
  background: var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink-xlight);
  overflow: hidden;
}

.about-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(15%);
  transition: filter 0.4s;
}
.about-image:hover img { filter: grayscale(0%); }

.about-body { color: var(--ink-light); font-size: 15px; line-height: 1.9; }
.about-body p + p { margin-top: 22px; }
.about-body strong { color: var(--ink); font-weight: 500; }

.about-principles { margin-top: 36px; display: flex; flex-direction: column; gap: 16px; }
.principle { display: flex; gap: 16px; align-items: baseline; }
.principle-marker { width: 20px; height: 1px; background: var(--accent); flex-shrink: 0; margin-top: 11px; }
.principle-text { font-size: 14px; color: var(--ink-light); }
.principle-text strong { color: var(--ink); font-weight: 500; }

/* ── CONTACT ── */
.contact-inner { max-width: 560px; }

.contact-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 20px;
}
.contact-title em { font-style: italic; color: var(--ink-light); }

.contact-note { color: var(--ink-light); font-size: 15px; line-height: 1.8; margin-bottom: 40px; max-width: 440px; }

.contact-links { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }

.contact-link {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.contact-link:hover { color: var(--accent); border-color: var(--accent); }
.contact-divider { width: 1px; height: 14px; background: var(--rule); }

/* ── FOOTER ── */
footer {
  padding: 28px 60px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-name { font-family: var(--serif); font-size: 15px; color: var(--ink-light); }
.footer-copy { font-size: 12px; color: var(--ink-xlight); }

/* ── INNER PAGES ── */
.page-wrapper { padding: 140px 60px 100px; }

.page-back { margin-bottom: 48px; }

.back-link {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-light);
  text-decoration: none;
  transition: color 0.2s;
}
.back-link:hover { color: var(--ink); }

.page-header { margin-bottom: 64px; }

.page-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.page-subtitle { font-size: 15px; color: var(--ink-light); }

/* ── CASE STUDY ── */
.case-header { margin-bottom: 48px; }

.case-logo {
  height: 32px; width: auto;
  display: block;
  margin-bottom: 20px;
  filter: grayscale(100%) opacity(0.6);
}

.case-company-fallback {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.case-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  margin-bottom: 8px;
}

.case-period { font-size: 13px; color: var(--ink-xlight); }

.case-outcomes {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding: 36px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 64px;
}

.case-body { max-width: 660px; }

.case-section { margin-bottom: 52px; }

.case-section-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-xlight);
  margin-bottom: 16px;
}

.case-section p { color: var(--ink-light); font-size: 15px; line-height: 1.85; }

.case-next {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}

.case-next-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-xlight);
  margin-bottom: 10px;
}

.case-next-link {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}
.case-next-link:hover { color: var(--accent); }

/* ── ESSAY ── */
.essay-header { margin-bottom: 56px; }

.essay-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-top: 16px;
}

.essay-body {
  max-width: 640px;
  color: var(--ink-light);
  font-size: 16px;
  line-height: 1.9;
}

.essay-body p { margin-bottom: 24px; }
.essay-body h2 { font-family: var(--serif); font-size: 26px; font-weight: 400; color: var(--ink); margin: 48px 0 16px; }
.essay-body strong { color: var(--ink); font-weight: 500; }
.essay-body em { font-style: italic; }
.essay-body blockquote {
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  margin: 32px 0;
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  color: var(--ink-light);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideRight {
  from { left: -100%; }
  to   { left: 100%; }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  #hero { padding-top: 100px; padding-bottom: 60px; min-height: auto; }
  nav { padding: 20px 24px; }
  .nav-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 101;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
  }

  .nav-links.open {
    display: flex;
  }
  .nav-links a { font-size: 16px; }
  .nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}
  section { padding: 56px 24px; }
  #logos { padding: 44px 24px; }
  footer { padding: 24px; flex-direction: column; gap: 8px; text-align: center; }
  .page-wrapper { padding: 90px 24px 60px; }
  .hero-scroll { left: 24px; }
  .work-card { grid-template-columns: 1fr; gap: 20px; padding: 32px 24px; }
  .reading-grid { gap: 8px; background: transparent; border: none; }
  .reading-category { border: 1px solid var(--rule); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .logos-row { gap: 32px; }
  .nav-sub { display: none; }
  .logo-divider { display: none; }
  .case-outcomes { gap: 24px; }
  .work-outcomes { gap: 20px; }
  .outcome-num { font-size: 22px; }
  .about-image { aspect-ratio: 4/3; max-height: 280px; }
  .proof-item, .writing-item { grid-template-columns: 1fr; }
  .arrow-icon { display: none; }
  .contact-links { gap: 16px; }
  .contact-divider { display: none; }
  .essay-body { font-size: 15px; line-height: 1.75; }
  .case-outcomes { flex-direction: column; gap: 20px; padding: 24px 0; }
}
