:root {
  --bg: #F7F4EC; --bg-alt: #EFEADF; --bg-dark: #1D1C18;
  --ink: #24211C; --muted: #5F5A4F; --hair: #D9D2C3; --accent: #94512F;
  --max: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 400; letter-spacing: -0.01em; }
a { color: inherit; }
.eyebrow { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent); font-weight: 500; }

nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background 0.3s ease, border-color 0.3s ease; border-bottom: 1px solid transparent; }
nav.scrolled { background: rgba(247, 244, 236, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--hair); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { font-family: 'Fraunces', serif; font-size: 1.32rem; font-weight: 500; letter-spacing: -0.01em; text-decoration: none; }
.wordmark span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { text-decoration: none; font-size: 0.92rem; color: var(--muted); transition: color 0.2s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.4rem; }

.hero { padding: 220px 0 130px; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.7rem); line-height: 1.06; max-width: 18ch; margin-bottom: 34px; }
.hero p { font-size: 1.2rem; color: var(--muted); max-width: 56ch; margin-bottom: 42px; }
.btn { display: inline-block; text-decoration: none; background: var(--ink); color: var(--bg); padding: 15px 30px; border-radius: 100px; font-size: 0.95rem; font-weight: 500; transition: background 0.2s ease, color 0.2s ease; }
.btn:hover { background: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--hair); margin-left: 12px; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

section { padding: 110px 0; }
.section-head { max-width: 62ch; margin-bottom: 56px; }
.section-head .eyebrow { display: block; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.12; }
.section-head p { color: var(--muted); margin-top: 20px; font-size: 1.1rem; }

.statement { background: var(--bg-dark); color: var(--bg); }
.statement .wrap { padding-top: 130px; padding-bottom: 130px; }
.statement p { font-family: 'Fraunces', serif; font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.3; max-width: 24ch; }
.statement p em { color: #E2956F; font-style: normal; }

.sub-h { font-family: 'Fraunces', serif; font-weight: 400; font-size: 1.35rem; margin: 60px 0 20px; letter-spacing: -0.01em; }
.usecase-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.usecase-grid li { background: var(--bg); padding: 24px 26px; font-size: 1rem; color: var(--ink); display: flex; gap: 10px; align-items: baseline; }
.usecase-grid li::before { content: "—"; color: var(--accent); font-family: 'Fraunces', serif; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.card { background: var(--bg); padding: 40px 34px; min-height: 248px; display: flex; flex-direction: column; }
.card .num { font-family: 'Fraunces', serif; font-size: 0.95rem; color: var(--accent); margin-bottom: 26px; }
.card h3 { font-size: 1.32rem; margin-bottom: 14px; line-height: 1.25; }
.card p { color: var(--muted); font-size: 0.97rem; }

.approach { background: var(--bg-alt); }
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px 80px; margin-top: 12px; }
.approach-item { border-top: 1px solid var(--hair); padding-top: 24px; }
.approach-item h3 { font-size: 1.3rem; margin-bottom: 12px; }
.approach-item p { color: var(--muted); font-size: 1rem; }
.responsible { margin-top: 80px; padding-top: 48px; border-top: 1px solid var(--hair); max-width: 64ch; }
.responsible h3 { font-family: 'Fraunces', serif; font-size: 1.5rem; margin: 16px 0 16px; }
.responsible p { color: var(--muted); }

.process-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 64px; margin-top: 8px; }
.process-item { display: flex; gap: 22px; align-items: flex-start; padding-top: 22px; border-top: 1px solid var(--hair); }
.process-num { font-family: 'Fraunces', serif; color: var(--accent); font-size: 1.4rem; line-height: 1; flex-shrink: 0; min-width: 38px; }
.process-item h3 { font-size: 1.18rem; margin-bottom: 8px; font-weight: 500; }
.process-item p { color: var(--muted); font-size: 0.97rem; }

/* Insights / blog listing */
.insights { background: var(--bg-alt); }
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 8px; }
.insight-card { background: var(--bg); border: 1px solid var(--hair); padding: 32px 30px 30px; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.insight-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -28px rgba(29,28,24,0.45); border-color: #C9C0AE; }
.insight-card .tag { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent); font-weight: 500; margin-bottom: 18px; }
.insight-card h3 { font-size: 1.3rem; line-height: 1.22; margin-bottom: 14px; }
.insight-card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 22px; }
.insight-card .read { margin-top: auto; font-size: 0.88rem; color: var(--ink); font-weight: 500; }
.insight-card .read::after { content: " →"; color: var(--accent); }

.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; }
.about-grid h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.12; }
.about-body p { color: var(--muted); margin-bottom: 22px; font-size: 1.06rem; }
.about-body p strong { color: var(--ink); font-weight: 500; }
.founder-photo { display: block; width: 100%; max-width: 360px; aspect-ratio: 4 / 5; object-fit: cover; margin-top: 36px; background: var(--bg-alt); }

.contact { background: var(--bg-dark); color: var(--bg); padding: 0; }
.contact .wrap { padding-top: 120px; padding-bottom: 70px; }
.contact h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 16ch; line-height: 1.1; }
.contact p { color: #BDB6A8; margin-top: 22px; max-width: 46ch; }
.contact .btn { background: var(--bg); color: var(--ink); margin-top: 38px; }
.contact .btn:hover { background: var(--bg); color: var(--ink); }

footer { border-top: 1px solid #34322B; margin-top: 96px; padding-top: 38px; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; }
footer .f-mark { font-family: 'Fraunces', serif; font-size: 1.15rem; }
footer .f-meta { color: #BDB6A8; font-size: 0.86rem; line-height: 1.7; }
footer .f-meta a { color: #BDB6A8; }
footer .f-links { display: flex; gap: 22px; font-size: 0.86rem; }
footer .f-links a { color: #BDB6A8; text-decoration: none; }
footer .f-links a:hover { color: var(--bg); }

/* Article / blog post pages */
.article-hero { padding: 168px 0 0; }
.article-hero .wrap { max-width: 760px; }
.article-back { display: inline-block; font-size: 0.86rem; color: var(--muted); text-decoration: none; margin-bottom: 34px; }
.article-back:hover { color: var(--ink); }
.article-back::before { content: "← "; color: var(--accent); }
.article-meta { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent); font-weight: 500; margin-bottom: 20px; }
.article-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1.12; margin-bottom: 22px; }
.article-hero .standfirst { font-size: 1.18rem; color: var(--muted); line-height: 1.55; }
.article-byline { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--hair); font-size: 0.92rem; color: var(--muted); }
.article-byline strong { color: var(--ink); font-weight: 500; }

.article-body { max-width: 760px; margin: 0 auto; padding: 56px 32px 40px; }
.article-body p { margin-bottom: 24px; font-size: 1.08rem; color: #34312B; }
.article-body h2 { font-size: 1.7rem; margin: 52px 0 18px; line-height: 1.2; }
.article-body h3 { font-size: 1.28rem; margin: 38px 0 14px; font-weight: 500; }
.article-body ul { margin: 0 0 24px 0; padding-left: 22px; }
.article-body li { margin-bottom: 10px; color: #34312B; font-size: 1.06rem; }
.article-body li::marker { color: var(--accent); }
.article-body a { color: var(--accent); text-underline-offset: 3px; }
.article-body strong { font-weight: 600; color: var(--ink); }
.pullquote { font-family: 'Fraunces', serif; font-size: 1.55rem; line-height: 1.32; color: var(--ink); border-left: 3px solid var(--accent); padding: 4px 0 4px 26px; margin: 40px 0; }
.article-foot { max-width: 760px; margin: 0 auto; padding: 8px 32px 0; }
.article-foot .note { font-size: 0.86rem; color: var(--muted); border-top: 1px solid var(--hair); padding-top: 26px; line-height: 1.6; }
.article-cta { background: var(--bg-alt); margin-top: 70px; }
.article-cta .wrap { max-width: 760px; padding-top: 64px; padding-bottom: 64px; }
.article-cta h2 { font-size: 1.7rem; margin-bottom: 14px; }
.article-cta p { color: var(--muted); margin-bottom: 26px; }

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

@media (max-width: 880px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; gap: 38px; }
  .process-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 22px; }
  .nav-inner { padding: 16px 22px; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--hair); padding: 8px 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 22px; font-size: 1rem; }
  .nav-toggle { display: block; }
  .hero { padding: 150px 0 90px; }
  section { padding: 78px 0; }
  .grid { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: 1fr; }
  .btn-ghost { margin-left: 0; margin-top: 12px; }
  .founder-photo { max-width: 320px; margin-top: 24px; }
  .article-hero { padding: 130px 0 0; }
  .article-body { padding: 44px 22px 32px; }
  .article-foot, .article-cta .wrap { padding-left: 22px; padding-right: 22px; }
}
