/* palette: bg=#F4ECE7 fg=#2C2724 accent=#D18C7F */
/* fonts: display="Fraunces" body="Inter" mono="IBM Plex Mono" */
:root {
  --bg: #F4ECE7;        /* warm blush-white background from reference */
  --bg-alt: #EDE0DA;    /* soft rose-beige alternating section */
  --fg: #2C2724;        /* warm charcoal text */
  --fg-soft: #4A423E;   /* slightly lighter foreground */
  --muted: #8A7D76;     /* secondary text */
  --accent: #D18C7F;    /* dusty-rose / salmon accent (CTA pills) */
  --accent-deep: #B9705F; /* darker accent for hover */
  --border: rgba(44, 39, 36, 0.14);
  --serif: 'Fraunces', ui-serif, Georgia, serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 20px;
  display: block;
}

/* ---------- Announcement bar ---------- */
.topbar {
  background: var(--fg);
  color: var(--bg);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 9px 20px;
  font-family: var(--mono);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 236, 231, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  box-shadow: 0 6px 30px -12px rgba(44, 39, 36, 0.18);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.02em;
  font-weight: 500;
  line-height: 1;
}
.brand span { color: var(--accent-deep); }
.nav {
  display: none;
  gap: 34px;
}
@media (min-width: 1024px) { .nav { display: flex; } }
.nav a {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--fg-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent-deep);
  transition: width 0.35s var(--ease);
}
.nav a:hover { color: var(--fg); }
.nav a:hover::after { width: 100%; }
.header__cta {
  display: none;
}
@media (min-width: 1024px) {
  .header__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    padding: 10px 22px;
    border: 1px solid var(--fg);
    border-radius: 9999px;
    transition: background 0.3s var(--ease), color 0.3s var(--ease);
  }
  .header__cta:hover { background: var(--fg); color: var(--bg); }
}

/* hamburger */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 8px;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block;
  height: 1.5px;
  width: 22px;
  background: var(--fg);
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: 110px 28px 40px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
  display: flex;
  flex-direction: column;
}
.mobile-menu[data-open="true"] { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 34px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.02em;
}
.mobile-menu .header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  font-size: 14px;
  padding: 14px 26px;
  border: 1px solid var(--fg);
  border-radius: 9999px;
  align-self: flex-start;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 15px 32px;
  border-radius: 9999px;
  background: var(--accent);
  color: #fff;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--fg);
}
.btn--ghost:hover { background: var(--fg); color: var(--bg); }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--fg);
  border-bottom: 1px solid var(--accent-deep);
  padding-bottom: 3px;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.link-arrow:hover { gap: 14px; color: var(--accent-deep); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 8s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44,39,36,0.10) 0%, rgba(44,39,36,0.05) 40%, rgba(44,39,36,0.62) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: clamp(48px, 9vw, 110px);
  padding-top: 120px;
  color: #fff;
}
.hero .eyebrow { color: rgba(255,255,255,0.85); }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 300;
  max-width: 15ch;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero__sub {
  margin-top: 30px;
  max-width: 46ch;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
}
.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero__actions .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.6); }
.hero__actions .btn--ghost:hover { background: #fff; color: var(--fg); }

/* ---------- Section base ---------- */
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section--alt { background: var(--bg-alt); }
.section__head {
  max-width: 820px;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.section__head h2 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 300;
}
.section__head p {
  margin-top: 24px;
  font-size: 18px;
  color: var(--fg-soft);
  max-width: 60ch;
}

/* ---------- Story (OUR STORY equiv) ---------- */
.story__grid {
  display: grid;
  gap: clamp(40px, 6vw, 80px);
}
@media (min-width: 900px) {
  .story__grid { grid-template-columns: 1.15fr 1fr; align-items: center; }
}
.story__text h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 300;
}
.story__text h2 em { font-style: italic; color: var(--accent-deep); }
.story__text p {
  margin-top: 28px;
  font-size: 18px;
  color: var(--fg-soft);
  max-width: 54ch;
}
.story__text .link-arrow { margin-top: 34px; }
.story__media {
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 5;
}
.story__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cards grid (services / recreate) ---------- */
.cards {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  box-shadow: 0 4px 24px -4px rgba(44,39,36,0.08);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px -8px rgba(44,39,36,0.16); }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 28px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 {
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.card__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent-deep);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.card__body p { margin-top: 12px; color: var(--fg-soft); font-size: 16px; }
.card__body .link-arrow { margin-top: 22px; align-self: flex-start; }

/* ---------- Timeline (progression) ---------- */
.timeline { display: grid; gap: 0; }
.tl-item {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.tl-item:last-child { border-bottom: 1px solid var(--border); }
@media (min-width: 820px) {
  .tl-item { grid-template-columns: 130px 1fr 1.1fr; gap: 40px; align-items: baseline; }
}
.tl-step {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
  text-transform: uppercase;
}
.tl-item h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.tl-item p { color: var(--fg-soft); font-size: 17px; }

/* ---------- Manifesto (dark band) ---------- */
.manifesto {
  background: var(--fg);
  color: var(--bg);
  padding: clamp(90px, 14vw, 180px) 0;
  text-align: center;
}
.manifesto .quote-mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: 0.5;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.manifesto p {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 300;
  max-width: 16ch;
  margin: 0 auto;
}
.manifesto p em { font-style: italic; color: var(--accent); }
.manifesto .cite {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,236,231,0.6);
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat__label {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq__item { border-top: 1px solid var(--border); }
.faq__item:last-child { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.faq__icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  position: relative;
}
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  background: var(--accent-deep);
  transition: transform 0.35s var(--ease);
}
.faq__icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq__icon::after { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.faq__item[data-open="true"] .faq__icon::after { transform: translateX(-50%) scaleY(0); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq__a p {
  padding: 0 0 30px;
  color: var(--fg-soft);
  font-size: 17px;
  max-width: 62ch;
}

/* ---------- CTA ---------- */
.cta {
  text-align: center;
}
.cta h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 18ch;
  margin: 0 auto;
}
.cta h2 em { font-style: italic; color: var(--accent-deep); }
.cta p { margin: 26px auto 40px; max-width: 52ch; font-size: 18px; color: var(--fg-soft); }

/* ---------- Contact / Form ---------- */
.contact__grid { display: grid; gap: clamp(40px, 6vw, 72px); }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1.1fr; } }
.contact__info h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 6px;
  font-weight: 400;
}
.contact__block { padding: 26px 0; border-top: 1px solid var(--border); }
.contact__block:first-of-type { border-top: 0; }
.contact__block .lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.contact__block p, .contact__block a { font-size: 17px; color: var(--fg-soft); }
.contact__block a:hover { color: var(--accent-deep); }

.form { display: grid; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  font: inherit;
  font-size: 16px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--fg);
  transition: border-color 0.3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent-deep);
}
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { justify-content: center; margin-top: 4px; }
.form__note { font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer {
  background: var(--fg);
  color: var(--bg);
  padding: clamp(64px, 9vw, 110px) 0 40px;
}
.footer__top {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer .brand { color: var(--bg); font-size: 30px; }
.footer .brand span { color: var(--accent); }
.footer__tag { margin-top: 18px; color: rgba(244,236,231,0.7); max-width: 34ch; font-size: 16px; }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,236,231,0.5);
  margin-bottom: 20px;
}
.footer__col a, .footer__col p {
  display: block;
  color: rgba(244,236,231,0.82);
  font-size: 15px;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: 28px;
  border-top: 1px solid rgba(244,236,231,0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(244,236,231,0.6);
}
.footer__bottom a { color: rgba(244,236,231,0.6); }
.footer__bottom a:hover { color: var(--accent); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img { animation: none; }
}

/* ---------- Cookie popup ---------- */
.cookie-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: rgba(44,39,36,0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg);
  padding: 32px 36px;
  max-width: 480px;
  border-radius: 4px;
  box-shadow: 0 20px 60px -12px rgba(44,39,36,0.4);
}
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 12px;
}
.cookie-popup__card h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; }
.cookie-popup__card p { margin-top: 12px; font-size: 14px; color: var(--fg-soft); line-height: 1.65; }
.cookie-popup__card a { color: var(--accent-deep); text-decoration: underline; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 20px; }
.cookie-popup__actions button {
  padding: 12px 26px;
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 14px;
  border-radius: 9999px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.cookie-popup__actions button:first-child:hover { background: var(--bg-alt); }
.cookie-popup__actions button:last-child { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

/* ---------- Legal / prose ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.prose .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; margin-bottom: 48px; }
.prose h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  margin: 48px 0 14px;
  letter-spacing: -0.01em;
}
.prose p { color: var(--fg-soft); margin-bottom: 16px; font-size: 17px; }
.prose ul { color: var(--fg-soft); font-size: 17px; padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent-deep); text-decoration: underline; }

/* page hero small */
.page-hero { padding: clamp(120px, 16vw, 200px) 0 clamp(48px, 7vw, 80px); }
.page-hero .eyebrow { color: var(--accent-deep); }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  max-width: 16ch;
}
.page-hero h1 em { font-style: italic; color: var(--accent-deep); }
.page-hero p { margin-top: 26px; max-width: 56ch; font-size: 19px; color: var(--fg-soft); }

/* thanks page */
.thanks { min-height: 72vh; display: flex; align-items: center; text-align: center; }
.thanks h1 { font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 300; letter-spacing: -0.02em; }
.thanks h1 em { font-style: italic; color: var(--accent-deep); }
.thanks p { margin: 22px auto 36px; max-width: 48ch; font-size: 18px; color: var(--fg-soft); }
