@font-face{font-family:Geist;src:url('fonts/geist-400.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Geist;src:url('fonts/geist-500.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:Geist;src:url('fonts/geist-600.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:Geist;src:url('fonts/geist-700.ttf') format('truetype');font-weight:700;font-display:swap}

:root {
  --accent: #d7a969;
  --ink: #163a31;
  --muted: #65766a;
  --line: #dddcd2;
  --paper: #fcfaf5;
  --button: #204d3e;
  --button-text: #fbf9f4;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
html { scroll-behavior: auto; }
body {
  color: var(--ink);
  background: var(--paper);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
button, a { font: inherit; color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: 0; }
button:focus-visible, a:focus-visible { outline: 3px solid #ec973d; outline-offset: 4px; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }

.skip { position: absolute; left: 16px; top: -80px; }
.skip:focus { top: 12px; z-index: 20; background: #fff; padding: 12px; }

.deck {
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}

.deck-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 28px;
  border-bottom: 1px solid var(--line);
  min-height: 72px;
}
.brand { display: flex; align-items: center; }
.brand-logo { width: 168px; height: 42px; display: block; }
.header-home {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 8px;
  font-weight: 550;
}

.stage {
  flex: 1;
  display: flex;
  min-height: 0;
  overflow: auto;
}
.slide {
  display: none;
  width: 100%;
  padding: 28px 40px 24px;
}
.slide.is-on { display: flex; flex: 1; }
.slide-inner {
  width: min(1180px, 100%);
  margin: auto;
}
.slide-split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #657653;
  margin-bottom: 14px;
}
.slide h1, .slide h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.15;
}
.slide h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.slide h1 em, .slide h2 em { font-style: italic; color: #7c572b; }
.slide h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.lead { color: var(--muted); font-size: 18px; margin-top: 16px; max-width: 36em; }
.body { color: var(--muted); margin-top: 14px; max-width: 38em; }
.kicker { font-size: 13px; font-weight: 550; color: #8b7959; margin-bottom: 8px; }

.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
}
.trio article { padding-top: 18px; border-top: 1px solid var(--line); }
.trio h3 { font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.trio p { color: var(--muted); font-size: 15px; }

.section-hero { text-align: left; max-width: 820px; }
.section-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4rem;
  color: #ae8956;
  line-height: 1;
  margin-bottom: 12px;
}

.shot-wrap { display: flex; justify-content: center; }
.shot-phone {
  width: min(100%, 240px);
  max-height: min(56vh, 520px);
  object-fit: contain;
  object-position: top;
  border-radius: 28px;
  box-shadow: 0 24px 50px #163a3126;
}
.shot-desk {
  width: 100%;
  max-height: min(48vh, 430px);
  object-fit: contain;
  object-position: top;
  border-radius: 12px;
  border: 1px solid #e3ddcf;
  box-shadow: 0 18px 40px #163a3118;
}

.cta { text-align: center; max-width: 640px; margin: auto; }
.cta h1 { margin-bottom: 16px; }
.cta .lead { margin-left: auto; margin-right: auto; }
.cta .btn { margin-top: 28px; }

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  background: var(--button);
  color: var(--button-text);
  border-radius: 3px;
  font-weight: 600;
  font-size: 15px;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { filter: brightness(.96); }

.deck-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 28px 16px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.nav-btn {
  min-width: 120px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-weight: 550;
}
.nav-btn:hover { background: #f5f1e9; }
.nav-btn:disabled { opacity: .35; cursor: default; }
.counter { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 550; }
.hint { display: none; color: var(--muted); font-size: 13px; }

.contact-dialog {
  background: var(--paper);
  border: 1px solid #dcded2;
  border-radius: 12px;
  width: calc(100% - 32px);
  max-width: 660px;
  max-height: calc(100dvh - 32px);
  padding: 38px;
  overflow: hidden;
  color: var(--ink);
}
.contact-dialog::backdrop { background: #163a318c; }
.contact-dialog[open] { display: flex; flex-direction: column; }
.contact-dialog-header { position: relative; }
.dialog-close {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 44px;
  min-height: 44px;
  font-size: 28px;
  color: #52685c;
}
.contact-dialog h2 {
  font: 400 2rem/1.15 'Playfair Display', Georgia, serif;
  margin: 10px 0 12px;
}
.contact-dialog #contact-description { color: var(--muted); margin-bottom: 16px; }
#contact-form { overflow-y: auto; min-height: 0; }
.contact-required, .contact-privacy { font-size: 12px; color: var(--muted); }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 14px 0; }
.contact-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.contact-wide { grid-column: 1 / -1; }
.contact-field label { font-size: 14px; font-weight: 550; }
.contact-field input, .contact-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #c9d1c7;
  border-radius: 5px;
  background: #fff;
  padding: 11px 12px;
  font: 400 16px/1.4 'DM Sans', sans-serif;
}
.contact-field textarea { min-height: 96px; resize: vertical; }
.contact-submit { width: 100%; margin-top: 8px; }
.contact-status { font-size: 14px; padding: 12px 14px; border-radius: 5px; margin: 12px 0; background: #f2eddf; }
.contact-status[hidden] { display: none; }
.contact-status[data-state='success'] { background: #e7eee4; color: #245438; }
.contact-status[data-state='error'] { background: #faeae5; color: #8b382b; }
html.contact-open { overflow: hidden; }

@media (min-width: 900px) {
  .hint { display: block; }
}
@media (max-width: 900px) {
  .slide-split { grid-template-columns: 1fr; gap: 24px; }
  .shot-phone { width: min(100%, 200px); max-height: min(42vh, 360px); margin: auto; }
  .trio { grid-template-columns: 1fr; gap: 18px; }
  .slide { padding: 20px 20px 12px; }
  .deck-header, .deck-nav { padding-inline: 16px; }
  .nav-btn { min-width: 96px; }
  .brand-logo { width: 140px; height: 35px; }
}
@media (max-width: 600px) {
  .contact-fields { grid-template-columns: 1fr; }
  .contact-dialog { padding: 22px 18px; }
  .slide h1 { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
