/* Studio site, direction 1c "White Gallery" (service section: photo beside two text cards).
   Tokens and component styles from design_handoff/ (tokens.css + base.css + reference.html).
   Fonts are self-hosted (variable, Latin subset) so no request goes to Google. */

@font-face {
  font-family: 'Literata';
  src: url('../fonts/literata-normal.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Literata';
  src: url('../fonts/literata-italic.woff2') format('woff2');
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/work-sans-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colour */
  --color-bg: #fffdf9;          /* page background, warm white */
  --color-surface: #f6f4ef;     /* form fields, service cards */
  --color-tint-green: #eef6ee;  /* tinted section band (pricing) */
  --color-placeholder: #ece9e2; /* image placeholder / hairlines */
  --color-ink: #1d1d1b;         /* primary text */
  --color-ink-muted: #55534e;   /* body copy, secondary text */
  --color-red: #e2402f;         /* bright accent: ✦, rules, rings, logo dot, headings 24px+ */
  --color-green: #2b9a4f;       /* bright accent: italic words in headings 24px+ */
  /* Strong shades for small text and button backgrounds (4.5:1 or better with white text) */
  --color-red-strong: #c8321f;
  --color-red-strong-hover: #a82919;
  --color-green-strong: #1f7a3b;
  --color-green-strong-hover: #19652f;
  --color-on-accent: #ffffff;

  /* Type */
  --font-display: 'Literata', Georgia, serif;
  --font-body: 'Work Sans', system-ui, sans-serif;

  --text-hero: 96px;
  --text-h2: 60px;
  --text-statement: 44px;
  --text-h3: 44px;
  --text-price: 60px;
  --text-logo: 28px;
  --text-lead: 19px;
  --text-body: 17px;
  --text-ui: 16px;
  --text-nav: 15px;
  --text-eyebrow: 14px;

  /* Spacing */
  --page-gutter: 64px;
  --section-y: 136px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 20px;
  --space-lg: 28px;
  --space-xl: 48px;
  --space-2xl: 56px;
  --space-3xl: 96px;

  /* Radius */
  --radius-field: 14px;
  --radius-image: 16px;
  --radius-card: 20px;
  --radius-pill: 999px;

  --content-max: 1280px;
  --nav-h: 88px;                /* sticky nav height, used for anchor offset and the mobile menu */
}

/* Mobile: designed at 390px */
@media (max-width: 900px) {
  :root {
    --page-gutter: 24px;
    --section-y: 88px;
    --text-hero: 46px;
    --text-h2: 44px;
    --text-statement: 30px;
    --text-h3: 32px;
    --text-price: 52px;
    --text-logo: 24px;
    --text-lead: 17px;
    --text-body: 16px;
    --nav-h: 76px;
  }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
input, textarea, button { font: inherit; }
:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

.wrap { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--page-gutter); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.accent-red { color: var(--color-red); }
.accent-green { color: var(--color-green); }
.italic { font-style: italic; }
.link { border-bottom: 1.5px solid var(--color-red); }

.skip-link {
  position: absolute;
  left: var(--space-sm);
  top: -100px;
  z-index: 20;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--color-ink);
  color: var(--color-bg);
}
.skip-link:focus { top: var(--space-sm); }

/* Buttons: strong shades behind white text, so the text passes 4.5:1 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-pill);
  font-size: var(--text-ui);
  font-weight: 500;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--color-red-strong); color: var(--color-on-accent); padding: 18px 36px; }
.btn--primary:hover { background: var(--color-red-strong-hover); }
.btn--secondary { background: var(--color-green-strong); color: var(--color-on-accent); padding: 18px 44px; }
.btn--secondary:hover { background: var(--color-green-strong-hover); }
.btn--outline {
  background: transparent;
  color: var(--color-ink);
  padding: 11px 22px;
  box-shadow: inset 0 0 0 1.5px var(--color-ink);
  font-size: var(--text-nav);
}
.btn--outline:hover { background: var(--color-ink); color: var(--color-bg); }

/* Nav (sticky so the menu works from anywhere on the page) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--color-bg);
}
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: var(--text-nav);
}
.nav__links { display: flex; gap: 32px; }
.nav__links a:hover { color: var(--color-red-strong); }
.nav__end { justify-self: end; display: flex; align-items: center; gap: 20px; }
.logo { font-family: var(--font-display); font-size: var(--text-logo); font-weight: 600; }

/* Language switch: current language in ink, the other muted */
.lang { display: flex; gap: 10px; color: var(--color-ink-muted); }
.lang a:hover { color: var(--color-red-strong); }
.lang [aria-current] { color: var(--color-ink); font-weight: 500; }

/* Mobile menu: a <details>, so it opens and closes without JavaScript (js/menu.js only closes it after a tap) */
.menu { display: none; }
.menu summary {
  list-style: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 1.5px var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu summary::-webkit-details-marker { display: none; }
.menu__close { display: none; }
.menu[open] .menu__open { display: none; }
.menu[open] .menu__close { display: block; }
.menu__panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100vh - var(--nav-h));
  height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
  background: var(--color-bg);
  padding: 24px var(--page-gutter) 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-xl);
}
.menu__links { display: flex; flex-direction: column; border-top: 1px solid var(--color-placeholder); }
.menu__links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-placeholder);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  letter-spacing: -.02em;
}
.menu__links .accent-red { font-family: var(--font-body); font-size: 20px; letter-spacing: 0; }
.menu__bottom { display: flex; flex-direction: column; gap: var(--space-md); }
.menu__bottom .btn { width: 100%; min-height: 52px; }
.menu .lang { justify-content: center; gap: 4px; font-size: var(--text-ui); }
.menu .lang a { min-width: 48px; min-height: 44px; display: flex; align-items: center; justify-content: center; }

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-lg);
  padding-top: 64px;
}
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-hero);
  line-height: 1;
  letter-spacing: -.03em;
  max-width: 1000px;
  text-wrap: balance;
}
.lead { margin: 0; font-size: var(--text-lead); line-height: 1.6; color: var(--color-ink-muted); max-width: 540px; }
.hero-gallery {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: var(--space-md);
  align-items: end;
  padding-top: 80px;
}
.photo {
  border-radius: var(--radius-image);
  background: var(--color-placeholder);
  overflow: hidden;
  object-fit: cover;
  width: 100%;
}
.photo--sm { height: 360px; }
.photo--lg { height: 500px; }
.photo--md { height: 420px; }

/* Section scaffolding */
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section--flush-top { padding-top: 0; }
.section--tint { background: var(--color-tint-green); }
.section--pricing { padding-top: 128px; padding-bottom: 128px; }
.eyebrow {
  margin: 0;
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-green-strong);
}
.eyebrow-rule { width: 40px; height: 3px; background: var(--color-red); border-radius: 2px; }
.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-h2);
  line-height: 1.1;
  letter-spacing: -.02em;
}

/* About: label column + content */
.split { display: grid; grid-template-columns: 280px 1fr; gap: var(--space-3xl); }
.split__label { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }
.split__body { display: flex; flex-direction: column; gap: 32px; }
.statement {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-statement);
  line-height: 1.25;
  letter-spacing: -.015em;
  text-wrap: pretty;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--color-ink-muted);
}
.two-col p { margin: 0; }

/* Service: label column + three rows, each a large photo beside two stacked text cards.
   The photo alternates sides (--flip); on mobile every row stacks with the photo first. */
.service-intro { display: flex; flex-direction: column; gap: 24px; }
.service-intro .h2 { text-wrap: balance; }
.service-intro p { margin: 0; font-size: 18px; line-height: 1.7; color: var(--color-ink-muted); max-width: 600px; text-wrap: pretty; }
.svc-rows { display: flex; flex-direction: column; gap: 24px; margin-top: 80px; }
.svc-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: stretch; }
.svc-row--flip { grid-template-columns: 1fr 1.1fr; }
.svc-row__photo { height: auto; min-height: 420px; }
.svc-row__cards { display: flex; flex-direction: column; gap: 24px; }
.svc-card {
  flex: 1;
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.svc-card__title { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 28px; line-height: 1.2; letter-spacing: -.01em; }
.svc-card p { margin: 0; font-size: var(--text-ui); line-height: 1.6; color: var(--color-ink-muted); text-wrap: pretty; }

/* Pricing */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-bottom: var(--space-2xl);
}
.section-head__note { font-size: var(--text-ui); color: var(--color-ink-muted); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.card {
  background: var(--color-bg);
  border-radius: var(--radius-card);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card--featured { box-shadow: inset 0 0 0 2px var(--color-red); }
.card__name { margin: 0; font-size: var(--text-ui); font-weight: 500; display: flex; justify-content: space-between; }
.card__price { font-family: var(--font-display); font-weight: 500; font-size: var(--text-price); line-height: 1; }
.card--featured .card__price { color: var(--color-red); }
.card__desc { margin: 0; font-size: var(--text-ui); line-height: 1.6; color: var(--color-ink-muted); }
.note {
  max-width: 640px;
  margin-top: var(--space-2xl);
  background: var(--color-bg);
  border-radius: var(--radius-image);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.note__label {
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-green-strong);
}
.note p:not(.note__label) { margin: 0; font-size: 15px; line-height: 1.65; color: var(--color-ink-muted); text-wrap: pretty; }

/* Contact */
.contact { display: flex; flex-direction: column; align-items: center; gap: var(--space-xl); }
.contact__head { display: flex; flex-direction: column; align-items: center; gap: var(--space-sm); text-align: center; }
.contact__head .lead { font-size: 18px; }
.form { width: 100%; max-width: 680px; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
.field {
  background: var(--color-surface);
  border: none;
  border-radius: var(--radius-field);
  padding: 18px 20px;
  font-size: var(--text-ui);
  color: var(--color-ink);
  outline: none;
  width: 100%;
}
.field::placeholder { color: #8a877f; }
.field:focus { box-shadow: inset 0 0 0 2px var(--color-green); }
.field--full { grid-column: 1 / -1; resize: vertical; }
.form__note { grid-column: 1 / -1; margin: 0; font-size: 14px; line-height: 1.6; color: var(--color-ink-muted); text-align: center; text-wrap: balance; }
.form .btn { grid-column: 1 / -1; justify-self: center; margin-top: var(--space-xs); }
/* Honeypot: hidden from people and screen readers */
.form__hp { position: absolute; left: -9999px; }

/* Footer */
.footer {
  border-top: 1px solid var(--color-placeholder);
  padding-top: 36px;
  padding-bottom: 36px;
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  font-size: 15px;
  color: var(--color-ink-muted);
}
.footer .logo { font-size: 20px; color: var(--color-ink); }
.footer .link { border-bottom-width: 1px; }
.footer a:hover { color: var(--color-red-strong); }

/* Privacy page: label column + text */
.section--page { padding-top: 80px; }
.doc { display: flex; flex-direction: column; gap: var(--space-2xl); max-width: 760px; }
.doc__head { display: flex; flex-direction: column; gap: var(--space-md); }
.doc h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 72px;
  line-height: 1.05;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.doc__intro { margin: 0; font-size: var(--text-lead); line-height: 1.6; color: var(--color-ink-muted); text-wrap: pretty; }
.doc__block { display: flex; flex-direction: column; gap: 12px; }
.doc h2 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 30px; letter-spacing: -.015em; }
.doc__block p { margin: 0; font-size: var(--text-body); line-height: 1.7; color: var(--color-ink-muted); text-wrap: pretty; }
.doc .btn { align-self: flex-start; }

/* Thanks page (same type as the hero) */
.thanks {
  min-height: 640px;
  padding-top: 96px;
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-lg);
}
.thanks__mark { font-size: 48px; line-height: 1; color: var(--color-red); }
.thanks h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-hero);
  line-height: 1;
  letter-spacing: -.03em;
  max-width: 1000px;
  text-wrap: balance;
}
.thanks .lead { text-wrap: pretty; }
.thanks__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm); margin-top: var(--space-xs); }
.btn--outline-lg { padding: 16px 32px; font-size: var(--text-ui); }

/* Simple pages (404) */
.simple { max-width: 720px; padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: var(--space-lg); }
.simple p { margin: 0; font-size: var(--text-body); line-height: 1.7; color: var(--color-ink-muted); }
.simple a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.simple .btn { align-self: flex-start; }

@media (max-width: 900px) {
  /* Only the logo and the menu button stay in the bar */
  .nav { grid-template-columns: 1fr auto; padding-top: 16px; padding-bottom: 16px; }
  .nav__links, .nav__end { display: none; }
  .menu { display: block; }
  .footer { flex-direction: column; gap: var(--space-xs); padding-top: 32px; padding-bottom: 32px; }

  .hero { padding-top: 32px; gap: var(--space-md); }
  .hero-gallery { grid-template-columns: 1fr 1fr; gap: 12px; padding-top: var(--space-xl); }
  .hero-gallery .photo--lg { grid-column: 1 / -1; order: -1; height: 400px; }
  .photo--sm, .photo--md { height: 200px; }
  .split, .two-col, .cards, .form { grid-template-columns: 1fr; }
  .split { gap: 24px; }
  .split__body, .two-col { gap: 24px; }
  .service-intro { gap: var(--space-md); }
  .service-intro .h2 { font-size: 38px; }
  .service-intro p { font-size: var(--text-ui); }
  .svc-rows { gap: 56px; margin-top: 56px; }
  .svc-row, .svc-row--flip { grid-template-columns: 1fr; gap: 12px; }
  .svc-row__photo { order: -1; min-height: 0; height: 260px; }
  .svc-row__cards { gap: 12px; }
  .svc-card { padding: 24px; gap: var(--space-xs); }
  .svc-card__title { font-size: 22px; }
  .svc-card p { font-size: 15px; }
  .section--pricing { padding-top: 72px; padding-bottom: 72px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: var(--space-xs); margin-bottom: 32px; }
  .section-head__note { font-size: 15px; }
  .cards { gap: var(--space-sm); }
  .card { padding: 32px 28px; gap: 12px; }
  .note { margin-top: 32px; padding: 24px; }
  .contact { gap: 32px; }
  .contact__head .lead { font-size: var(--text-lead); }
  .form { gap: 14px; }
  .field { padding: 16px 20px; min-height: 52px; }
  .form .btn { width: 100%; min-height: 52px; }
  .section--page { padding-top: 48px; }
  .doc { gap: 40px; }
  .doc h1 { font-size: 44px; }
  .thanks { min-height: 0; padding-top: 64px; padding-bottom: 88px; }
}
