/* Deeni Hass — Methodology Strategist
   Brand colours taken from her Instagram grid. Change them here and the whole site updates. */
:root {
  --cream: #F4ECE1;
  --paper: #FAF6F0;
  --brown: #4A3022;
  --brown-deep: #3A251A;
  --rust: #C2643C;
  --rust-deep: #A6512C;
  --olive: #6F7350;
  --ink: #2E211A;
  --muted: #74604F;
  --line: rgba(74, 48, 34, .16);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  font-variation-settings: "opsz" 120, "SOFT" 30;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.55rem; line-height: 1.2; }
em, .accent { font-style: italic; color: var(--rust); font-weight: 500; }
.on-dark em, .on-dark .accent { color: #E58A5E; }
.on-rust em { color: var(--brown); }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
@media (min-width: 700px) { .wrap { width: min(var(--wrap), 100% - 64px); } }

/* little rule above headings, like on her posts */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--rust); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.on-dark .eyebrow { color: #E58A5E; }
.on-rust .eyebrow, .on-olive .eyebrow { color: var(--cream); }

.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 40em; }
.on-dark .lead, .on-rust .lead, .on-olive .lead { color: rgba(244, 236, 225, .85); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font: 600 1rem/1 var(--sans); text-decoration: none;
  background: var(--rust); color: #fff; border: 2px solid var(--rust);
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.btn:hover { background: var(--rust-deep); border-color: var(--rust-deep); transform: translateY(-2px); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--brown); border-color: var(--brown); }
.btn-ghost:hover { background: var(--brown); color: var(--cream); border-color: var(--brown); }
.btn-light { background: var(--cream); color: var(--brown); border-color: var(--cream); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--brown); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 36px; height: 36px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--brown); line-height: 1; }
.brand-name span { display: block; font-family: var(--sans); font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--rust); margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--brown); position: relative; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--rust); transition: width .25s;
}
.nav-links a:not(.btn):hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links .btn { padding: 11px 20px; color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--brown); }
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 16px 24px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a:not(.btn) { display: block; padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 18px; }
}

/* ---------- Sections ---------- */
section { padding: clamp(72px, 10vw, 128px) 0; }
.bg-cream { background: var(--cream); }
.bg-brown { background: var(--brown); color: var(--cream); }
.bg-rust { background: var(--rust); color: var(--cream); }
.bg-olive { background: var(--olive); color: var(--cream); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow { justify-content: center; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(72px, 9vw, 120px); background: var(--cream); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 64px; align-items: center; }
.hero h1 { color: var(--brown); }
.hero-art {
  aspect-ratio: 4/5; border-radius: var(--radius);
  background: var(--rust); overflow: hidden;
  display: flex; flex-direction: column; padding: 28px;
}
.hero-art svg { flex: 1 1 auto; min-height: 0; width: 100%; height: 100%; padding: 6% 12% 4%; }
.hero-art .tag {
  flex: none; gap: 12px;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(244,236,225,.75);
  display: flex; justify-content: space-between; border-top: 1px solid rgba(244,236,225,.35); padding-top: 14px;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-art { aspect-ratio: auto; max-width: 520px; }
  .hero-art svg { flex: none; height: 260px; }
}

/* ---------- Big statement ---------- */
.statement { text-align: center; }
.statement blockquote { margin: 0 auto; max-width: 900px; }
.statement p.big {
  font-family: var(--serif); font-size: clamp(2.2rem, 5.5vw, 4.2rem); line-height: 1.1; margin: 0 0 22px; font-weight: 500;
}
.statement cite { font-style: normal; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px; display: flex; flex-direction: column;
}
.bg-cream .card { background: var(--paper); }
.card .num { font-family: var(--serif); font-style: italic; color: var(--rust); font-size: 1.1rem; margin-bottom: 18px; }
.card h3 { color: var(--brown); }
.card p { color: var(--muted); font-size: 1rem; }
.card ul { margin: 6px 0 0; padding: 0; list-style: none; font-size: .97rem; }
.card li { padding: 9px 0 9px 26px; border-top: 1px solid var(--line); position: relative; }
.card li::before { content: "→"; position: absolute; left: 0; color: var(--rust); }
.card .card-foot { margin-top: auto; padding-top: 22px; }
.card-link { color: var(--rust); font-weight: 600; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

.card.feature { background: var(--brown); color: var(--cream); border-color: var(--brown); }
.card.feature h3 { color: var(--cream); }
.card.feature p, .card.feature li { color: rgba(244,236,225,.82); }
.card.feature .num, .card.feature li::before { color: #E58A5E; }
.card.feature li { border-color: rgba(244,236,225,.18); }

/* ---------- Problem list ---------- */
.problems { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.problem { padding: 28px 0; border-top: 1px solid var(--line); display: flex; gap: 22px; }
.problem .x { font-family: var(--serif); color: var(--rust); font-size: 1.6rem; line-height: 1.1; flex: none; width: 34px; }
.problem h3 { font-size: 1.3rem; margin-bottom: .3em; color: var(--brown); }
.problem p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 800px) { .problems { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { border-top: 2px solid rgba(244,236,225,.35); padding-top: 24px; }
.step .n { font-family: var(--serif); font-size: 3rem; line-height: 1; color: #E58A5E; font-style: italic; margin-bottom: 16px; }
.step h3 { font-size: 1.3rem; color: var(--cream); }
.step p { font-size: .98rem; color: rgba(244,236,225,.8); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Meet Deeni ---------- */
.meet { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.arch {
  background: var(--paper); border: 2px solid var(--rust);
  border-radius: 999px 999px var(--radius) var(--radius);
  aspect-ratio: 4/5; display: grid; place-items: center; padding: 30px; max-width: 400px; width: 100%; margin-inline: auto;
}
.arch img { width: 64%; height: auto; aspect-ratio: 1; margin-inline: auto; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 8px var(--cream); }
.arch .hello { font-family: var(--serif); font-size: 1.9rem; color: var(--brown); text-align: center; margin-top: 18px; line-height: 1.1; }
.arch .hello em { font-weight: 600; }
@media (max-width: 900px) { .meet { grid-template-columns: 1fr; gap: 44px; } }

/* ---------- Hills (beliefs) ---------- */
.hills { list-style: none; margin: 0; padding: 0; }
.hills li { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 30px 0; border-top: 1px solid rgba(244,236,225,.28); }
.hills li:last-child { border-bottom: 1px solid rgba(244,236,225,.28); }
.hills .n { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--cream); opacity: .7; }
.hills h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--cream); margin-bottom: .3em; }
.hills p { margin: 0; color: rgba(244,236,225,.82); max-width: 44em; }
@media (max-width: 560px) { .hills li { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta h2 { max-width: 820px; margin-inline: auto; }
.cta .lead { margin-inline: auto; }
.cta .btn-row { justify-content: center; }

/* ---------- Page header (inner pages) ---------- */
.page-hero { background: var(--cream); padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); }
.page-hero h1 { color: var(--brown); max-width: 15em; }

/* ---------- Prose ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-top: 1.6em; color: var(--brown); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #4B3A2E; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--rust); }
.pullquote {
  font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; color: var(--brown);
  border-left: 3px solid var(--rust); padding: 6px 0 6px 28px; margin: 44px 0;
}

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 40px 0; }
.compare > div { border-radius: var(--radius); padding: 30px; }
.compare .before { background: var(--cream); }
.compare .after { background: var(--brown); color: var(--cream); }
.compare h3 { font-size: 1.25rem; }
.compare ul { margin: 0; padding-left: 1.1em; font-size: 1rem; }
.compare .after li { color: rgba(244,236,225,.85); }
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.contact-card { background: var(--brown); color: var(--cream); border-radius: var(--radius); padding: 40px 36px; }
.contact-card h3 { color: var(--cream); }
.contact-card p { color: rgba(244,236,225,.82); }
.contact-card .meta { font-size: .95rem; border-top: 1px solid rgba(244,236,225,.2); padding-top: 20px; margin-top: 26px; }
.contact-card .meta div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.contact-card .meta span:first-child { opacity: .65; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.25rem; color: var(--brown); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--rust); font-family: var(--sans); font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; color: var(--muted); font-size: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown-deep); color: rgba(244,236,225,.75); padding: 64px 0 36px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .brand-name { color: var(--cream); }
.site-footer h4 { font-family: var(--sans); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: #E58A5E; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--cream); }
.footer-bottom {
  margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(244,236,225,.15);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; opacity: .7;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--brown); color: #fff; padding: 10px 16px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }
