/* =========================================================
   PRO LOCALS — Design System
   ========================================================= */

/* ---------- Tokens (default: cream warm theme) ---------- */
:root {
  /* Palette — warm cream */
  --bg: #f6efe2;
  --bg-soft: #fbf6ec;
  --bg-card: #ffffff;
  --surface-warm: #efe5d2;
  --surface-deep: #1f1a14;

  --ink: #1a1610;
  --ink-soft: #4a4036;
  --ink-mute: #786a5c;
  --ink-line: rgba(26, 22, 16, 0.12);

  --orange: #ee6b3a;        /* Brand primary */
  --orange-deep: #c84e21;
  --orange-soft: #fde2d3;

  --olive: #6b7d3a;         /* Secondary accent — warm olive/mustard */
  --olive-deep: #4f5e26;
  --olive-soft: #e8ecd5;
  --mustard: #d4a73a;
  --mustard-soft: #f4e6b8;

  /* Typography */
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-display: 'Fraunces', Georgia, serif;

  /* Radii (medium softness) */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* Shadow */
  --shadow-sm: 0 2px 6px rgba(26,22,16,0.06);
  --shadow-md: 0 8px 24px rgba(26,22,16,0.08);
  --shadow-lg: 0 24px 60px rgba(26,22,16,0.12);

  /* Layout */
  --container: 1180px;
  --gutter: 24px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'ss02';
  transition: background 0.25s ease, color 0.25s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 500; letter-spacing: -0.02em; }
p { margin: 0; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section {
  padding: var(--sp-9) 0;
}
.section--tight { padding: var(--sp-8) 0; }
.section--hero { padding: var(--sp-7) 0 var(--sp-9); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo {
  height: 44px;
  width: auto;
}
.nav__links {
  display: flex;
  gap: var(--sp-6);
  align-items: center;
  font-size: 15px;
  font-weight: 500;
}
.nav__links a {
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.15s ease;
}
.nav__links a:hover, .nav__links a[aria-current="page"] {
  color: var(--ink);
}
.nav__links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  transform: translateX(-50%);
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Burger button ---------- */
.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.15s ease;
}
.nav__burger:hover { background: var(--surface-warm); }
.nav__burger span {
  position: relative;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.28s cubic-bezier(.2,.7,.2,1), opacity 0.18s ease;
}
.nav__burger span::before,
.nav__burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.28s cubic-bezier(.2,.7,.2,1), opacity 0.18s ease;
}
.nav__burger span::before { top: -7px; }
.nav__burger span::after { top: 7px; }
.nav__burger[aria-expanded="true"] span { transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(-90deg); }
.nav__burger[aria-expanded="true"] span::after { opacity: 0; }

/* ---------- Mobile menu panel ---------- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 49;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 88px var(--gutter) var(--sp-6);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.36s cubic-bezier(.2,.7,.2,1), opacity 0.3s ease, visibility 0s linear 0.36s;
  overflow-y: auto;
}
.mobile-menu[data-open="true"] {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform 0.36s cubic-bezier(.2,.7,.2,1), opacity 0.3s ease;
}
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-menu__links a {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 9vw, 44px);
  letter-spacing: -0.02em;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.15s ease, padding-left 0.2s ease;
}
.mobile-menu__links a:hover,
.mobile-menu__links a[aria-current="page"] {
  color: var(--orange-deep);
  padding-left: 8px;
}
.mobile-menu__links a span {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mute);
}
.mobile-menu__cta {
  margin-top: auto;
  padding-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mobile-menu__cta .btn { width: 100%; }
.mobile-menu__contact {
  font-size: 14px;
  color: var(--ink-mute);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu__contact a { color: var(--orange-deep); font-weight: 600; }
body.menu-open { overflow: hidden; }

@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__logo { height: 36px; }
  .nav { height: 64px; }
}
@media (min-width: 821px) {
  .mobile-menu { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 18px color-mix(in oklab, var(--orange) 35%, transparent);
}
.btn--primary:hover {
  background: var(--orange-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px color-mix(in oklab, var(--orange) 45%, transparent);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink-line);
}
.btn--ghost:hover {
  border-color: var(--ink);
}
.btn--dark {
  background: var(--surface-deep);
  color: #f4ece0;
}
.btn--dark:hover {
  background: var(--ink);
  transform: translateY(-1px);
}
.btn--lg { padding: 18px 28px; font-size: 16px; }
.btn--sm { padding: 10px 16px; font-size: 14px; }

/* ---------- Eyebrow / Tag ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive-deep);
  background: var(--olive-soft);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
}
.eyebrow--orange { color: var(--orange-deep); background: var(--orange-soft); }
.eyebrow--mustard { color: #6e5a13; background: var(--mustard-soft); }
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}

/* ---------- Display headings ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--orange-deep);
}
.display--lg { font-size: clamp(48px, 8vw, 96px); }

.h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.03em; }
.h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -0.025em; }
.h3 { font-weight: 600; font-size: clamp(20px, 2vw, 24px); line-height: 1.25; letter-spacing: -0.015em; }

.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.55;
}

.muted { color: var(--ink-mute); }

/* ---------- Card ---------- */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  border: 1px solid var(--ink-line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card--dark {
  background: var(--surface-deep);
  color: #f4ece0;
  border: none;
}
.card--warm {
  background: var(--surface-warm);
  border: none;
}
.card--orange {
  background: var(--orange);
  color: #fff;
  border: none;
}
.card--olive {
  background: var(--olive);
  color: #fff;
  border: none;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card--static:hover {
  transform: none;
  box-shadow: none;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface-deep);
  color: #d4c8b6;
  padding: var(--sp-9) 0 var(--sp-6);
  margin-top: var(--sp-9);
}
.site-footer a { color: #d4c8b6; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-6);
  align-items: start;
}
.footer-brand__logo {
  height: 56px;
  width: auto;
  margin-bottom: var(--sp-4);
}
.footer-brand__tag {
  font-size: 14px;
  color: #9a8e7c;
  max-width: 30ch;
  line-height: 1.5;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f4ece0;
  margin-bottom: var(--sp-4);
}
.footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(244,236,224,0.1);
  font-size: 13px;
  color: #786a5c;
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

/* ---------- Form ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}
.field input, .field select, .field textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--ink-line);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  font-size: 15px;
  transition: border 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--orange) 16%, transparent);
}
.field--error input, .field--error select { border-color: #d33d2c; }
.field__error {
  color: #d33d2c;
  font-size: 12px;
  font-weight: 500;
  min-height: 16px;
}
.radio-group {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.radio-group label {
  cursor: pointer;
  padding: 10px 16px;
  border: 1.5px solid var(--ink-line);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s ease;
  background: var(--bg-card);
}
.radio-group input { display: none; }
.radio-group input:checked + label,
.radio-group label:has(input:checked) {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* ---------- Logo glyph ---------- */
.brand-logo {
  display: inline-flex;
  align-items: center;
}

/* ---------- Image placeholder system (for AI photos) ---------- */
.photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-warm);
  isolation: isolate;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo--rounded { border-radius: var(--radius-xl); }

/* Decorative scribble (from logo's swirl character) */
.scribble {
  display: inline-block;
  width: 1.1em; height: 1.1em;
  vertical-align: -0.15em;
  background: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0 16c-3.3 0-6-2.7-6-6s2.7-6 6-6 6 2.7 6 6-2.7 6-6 6zm0-9c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3z"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0 16c-3.3 0-6-2.7-6-6s2.7-6 6-6 6 2.7 6 6-2.7 6-6 6zm0-9c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3z"/></svg>') center/contain no-repeat;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  animation: fadeUp 0.7s cubic-bezier(.2,.7,.2,1) both;
}
.reveal--d1 { animation-delay: 0.05s; }
.reveal--d2 { animation-delay: 0.12s; }
.reveal--d3 { animation-delay: 0.20s; }
.reveal--d4 { animation-delay: 0.28s; }

/* ---------- Marquee strip ---------- */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee {
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
  background: var(--surface-deep);
  color: #f4ece0;
  padding: 18px 0;
}
.marquee__track {
  display: inline-flex;
  gap: 56px;
  animation: marquee 38s linear infinite;
  padding-right: 56px;
}
.marquee__item {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: #f4ece0;
  display: inline-flex;
  align-items: center;
  gap: 32px;
}
.marquee__item::after {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* ---------- Page transition ---------- */
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
main { animation: pageIn 0.5s cubic-bezier(.2,.7,.2,1) both; }

/* ---------- Utility ---------- */
.flex { display: flex; }
.col { flex-direction: column; }
.center { align-items: center; justify-content: center; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-5 { gap: var(--sp-5); }
.gap-6 { gap: var(--sp-6); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.mb-3 { margin-bottom: var(--sp-3); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-5 { margin-bottom: var(--sp-5); }
.mb-6 { margin-bottom: var(--sp-6); }
.text-center { text-align: center; }
