/* ============================================================
   mockmodels.com — editorial minimal
   ============================================================ */

/* Fonts — self-hosted, GDPR-safe */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/InstrumentSerif-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/InstrumentSerif-Italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Inter-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Inter-Medium.woff2') format('woff2');
}

/* Tokens */
:root {
  --bg:        #f6f2ec;   /* off-white, warm beige */
  --bg-2:      #ede7dd;   /* softer band */
  --ink:       #1c1a17;   /* near-black */
  --ink-2:     #4a4640;   /* secondary text */
  --ink-3:     #8a847a;   /* tertiary */
  --line:      #d8d0c2;   /* subtle border */
  --accent:    #b6533a;   /* terracotta */
  --accent-2:  #8f3d28;   /* terracotta deep */

  --serif: 'Instrument Serif', ui-serif, Georgia, 'Times New Roman', serif;
  --sans:  'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  --container: 1200px;
  --pad-x: clamp(20px, 4vw, 48px);

  --radius: 2px;
  --ease: cubic-bezier(.2,.6,.2,1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

/* Layout */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
section { padding: clamp(72px, 10vw, 140px) 0; scroll-margin-top: 72px; }
.section-alt { background: var(--bg-2); }

/* Typography */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(44px, 7.5vw, 104px); line-height: 0.98; }
h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1.02; }
h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; }
p  { margin: 0 0 1em; color: var(--ink-2); }
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 20px;
}
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 62ch; }
.italic { font-style: italic; }

/* ==== Nav ==== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
}
.brand em { font-style: italic; color: var(--accent); }
.nav-links {
  display: flex; gap: clamp(14px, 2.4vw, 32px);
  list-style: none; margin: 0; padding: 0;
  font-size: 14px;
}
.nav-links a {
  color: var(--ink-2);
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.nav-cta:hover { background: var(--accent); color: #fff; }

/* Mobile nav toggle */
.nav-toggle { display: none; }
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 20px var(--pad-x) 28px;
    gap: 18px;
  }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: transparent; border: 1px solid var(--line);
    border-radius: 999px;
  }
  .nav-toggle span {
    display: block; width: 16px; height: 1.5px;
    background: var(--ink);
    position: relative;
  }
  .nav-toggle span::before, .nav-toggle span::after {
    content: ''; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink);
  }
  .nav-toggle span::before { top: -5px; }
  .nav-toggle span::after  { top:  5px; }
  .nav-cta { padding: 8px 14px; font-size: 12px; }
}

/* ==== Buttons ==== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  border: 1px solid transparent;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ==== Hero ==== */
.hero { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(72px, 10vw, 140px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.hero-title { max-width: 12ch; }
.hero-title .em { font-style: italic; color: var(--accent); }
.hero-sub {
  margin-top: 32px;
  font-size: clamp(17px, 1.4vw, 20px);
  max-width: 46ch;
  color: var(--ink-2);
}
.hero-ctas { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta {
  margin-top: 44px;
  display: flex; gap: 28px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-3);
  padding-top: 24px; border-top: 1px solid var(--line);
}
.hero-meta strong { color: var(--ink); font-weight: 500; }

.hero-media { position: relative; }
.hero-slider {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-2);
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero-slide.active { opacity: 1; }
.hero-slider-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
  z-index: 2;
}
.hero-slider-dots button {
  width: 24px; height: 2px; padding: 0;
  background: rgba(255,255,255,0.4);
  border: 0; border-radius: 0;
}
.hero-slider-dots button.active { background: #fff; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-slider { aspect-ratio: 4/5; max-height: 60vh; }
}

/* ==== Placeholder images ==== */
.ph {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(
      45deg,
      #e7dfd1 0 2px,
      #ede6d8 2px 14px
    );
  color: #6d6558;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border-radius: var(--radius);
}
.ph::after {
  content: attr(data-label);
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6d6558;
  padding: 6px 10px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 2px;
}
.ph-ratio-4x5 { aspect-ratio: 4/5; }
.ph-ratio-1x1 { aspect-ratio: 1/1; }
.ph-ratio-9x16 { aspect-ratio: 9/16; }

/* ==== Problem ==== */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}
.problem-grid .lead { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; color: var(--ink); font-family: var(--serif); }
.problem-stats { display: grid; gap: 32px; margin-top: 8px; }
.problem-stat {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.problem-stat .big {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: var(--accent);
  margin-bottom: 8px;
}
.problem-stat p { margin: 0; font-size: 14px; color: var(--ink-2); }
@media (max-width: 780px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* ==== Process ==== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: 60px;
}
.step {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.step:hover { transform: translateY(-2px); border-color: var(--accent); }
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 40px;
}
.step h3 { margin-bottom: 12px; }
.step p { font-size: 15px; margin: 0; }
.step-meta {
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
@media (max-width: 860px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ==== Portfolio ==== */
.portfolio-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end; margin-bottom: 40px;
}
.portfolio-head p { margin: 0; }
.portfolio-note {
  background: transparent;
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 20px;
  font-size: 14px;
  color: var(--ink-2);
}
.portfolio-note strong { color: var(--ink); font-weight: 500; }

.filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 24px 0 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.filter-btn {
  padding: 10px 18px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  transition: all .2s var(--ease);
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}

.personas {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
}
.persona {
  display: grid;
  gap: 16px;
}
.persona-header {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; margin-bottom: 4px;
}
.persona-name { font-family: var(--serif); font-size: clamp(28px, 3vw, 36px); }
.persona-tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  white-space: nowrap;
}
.persona-meta { font-size: 13px; color: var(--ink-3); margin: 0 0 8px; }
.persona-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
  grid-template-areas:
    "main main"
    "sq   tall";
}
.persona-grid .p-main { grid-area: main; }
.persona-grid .p-sq   { grid-area: sq; }
.persona-grid .p-tall { grid-area: tall; }

.persona-caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-2);
  margin-top: 4px;
}

@media (max-width: 780px) {
  .portfolio-head { grid-template-columns: 1fr; }
  .personas { grid-template-columns: 1fr; }
}

/* Filter transition */
.persona-grid { transition: opacity .35s var(--ease); }
.personas.is-changing .persona-grid { opacity: 0; }

/* ==== Offer ==== */
.offer-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: 60px;
}
.offer-title { margin-bottom: 8px; }
.offer-sub {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--ink-2);
  margin-bottom: 32px;
}
.offer-price {
  font-family: var(--serif);
  font-size: clamp(44px, 5.5vw, 68px);
  line-height: 1;
  color: var(--ink);
  margin-bottom: 6px;
}
.offer-price .from {
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3); display: block; margin-bottom: 8px;
}
.offer-anchor {
  font-family: var(--serif); font-style: italic;
  font-size: 16px; color: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-top: 20px; margin-top: 20px;
}
.offer-anchor s { color: var(--ink-3); text-decoration-thickness: 1px; }

.offer-list { list-style: none; margin: 0; padding: 0; }
.offer-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.offer-list li:last-child { border-bottom: 1px solid var(--line); }
.offer-list .n {
  font-family: var(--serif); font-style: italic;
  color: var(--accent); font-size: 18px;
}
.offer-list .t { font-size: 15px; color: var(--ink); }
.offer-list .t small { display: block; color: var(--ink-3); font-size: 13px; margin-top: 4px; }
.offer-cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Big number statements */
.big-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(60px, 8vw, 100px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.big-num {
  text-align: left;
}
.big-num .val {
  font-family: var(--serif);
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.95;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.big-num .val em { color: var(--accent); font-style: italic; }
.big-num .lbl {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
@media (max-width: 860px) {
  .offer-card { grid-template-columns: 1fr; }
  .big-numbers { grid-template-columns: 1fr; gap: 32px; }
}

/* ==== FAQ ==== */
.faq-list { max-width: 860px; margin: 60px auto 0; }
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-list .faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: transparent; border: 0;
  padding: 28px 0;
  display: flex; justify-content: space-between; align-items: center;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  color: var(--ink);
  transition: color .2s var(--ease);
}
.faq-q:hover { color: var(--accent); }
.faq-q .icon {
  width: 24px; height: 24px;
  position: relative; flex-shrink: 0;
  margin-left: 20px;
}
.faq-q .icon::before, .faq-q .icon::after {
  content: ''; position: absolute; background: currentColor;
  transition: transform .3s var(--ease);
}
.faq-q .icon::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.faq-q .icon::after  { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.faq-item.open .faq-q .icon::after { transform: translateX(-50%) rotate(90deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq-a-inner {
  padding: 0 0 28px;
  font-size: 16px;
  color: var(--ink-2);
  max-width: 60ch;
}

/* ==== Contact ==== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.contact-side .h { font-family: var(--serif); font-size: clamp(30px, 3.5vw, 44px); line-height: 1.05; margin-bottom: 20px; }
.contact-side .lead { margin-bottom: 32px; }
.dm-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 26px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.dm-btn:hover { background: var(--accent-2); color: #fff; transform: translateY(-1px); }
.dm-btn svg { width: 20px; height: 20px; }
.dm-hint { display: block; margin-top: 14px; font-size: 13px; color: var(--ink-3); }

form.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  display: grid; gap: 18px;
}
.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  font: inherit; color: var(--ink);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}
.consent input {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.form-submit { margin-top: 6px; justify-self: start; }
.form-note { font-size: 12px; color: var(--ink-3); margin-top: -4px; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ==== Footer ==== */
.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 40px;
  font-size: 13px;
  color: var(--ink-3);
}
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px;
}
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--accent); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-note {
  margin-top: 24px;
  font-size: 11px;
  color: var(--ink-3);
  max-width: 60ch;
  line-height: 1.6;
}

/* ==== Reveal on scroll ==== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
