:root {
  --bg: #f4ede1;
  --panel: #fbf7ee;
  --panel-2: #ede4d2;
  --ink: #1d2330;
  --ink-2: #4a5160;
  --ink-faint: #8a8378;
  --line: #e3d8c2;
  --line-strong: #c9bca0;
  --accent: #c2451f;
  --accent-soft: #f3d9cd;
  --shadow-sm: 0 1px 2px rgba(60, 40, 15, 0.06);
  --shadow: 0 2px 4px rgba(60, 40, 15, 0.06), 0 8px 24px rgba(60, 40, 15, 0.04);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; background: var(--bg); }
body {
  color: var(--ink);
  font-family: "Lexend", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }

.loading {
  position: fixed; inset: 0;
  display: grid; place-items: center;
  background: var(--bg);
  z-index: 100;
}

.brand-mark {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 6px;
  display: grid; place-items: center;
  color: #fbf7ee;
  font-weight: 700;
  font-size: 18px;
}

.tour-header {
  position: absolute; top: 0; left: 0; right: 0;
  padding: 24px 32px;
  z-index: 10;
}
.tour-header .brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
  color: #fbf7ee;
  font-weight: 600;
}
.tour-header .brand-name { font-size: 17px; letter-spacing: -0.2px; }

.hero {
  position: relative;
  min-height: 520px;
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  display: flex; align-items: flex-end;
  padding: 48px 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(29, 35, 48, 0.85), rgba(29, 35, 48, 0.25) 60%, rgba(29, 35, 48, 0.45));
}
.hero-content {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  color: #fbf7ee;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  line-height: 1.15;
  max-width: 780px;
}
.hero .subheadline {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--accent-soft);
  margin: 0;
  max-width: 600px;
  line-height: 1.5;
}

.story { padding: 80px 0; background: var(--panel); }
.story-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: start;
}
.story-text p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0 0 18px;
}
.specs {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  position: sticky; top: 24px;
}
.specs h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--ink-faint);
  margin: 0 0 16px;
  font-weight: 600;
}
.specs dl { margin: 0; }
.specs dl div {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.specs dl div:last-child { border-bottom: none; }
.specs dt { color: var(--ink-faint); font-size: 14px; }
.specs dd { margin: 0; font-weight: 600; font-size: 14px; }

.gallery { padding: 80px 0; }
.gallery h2, .differentiators h2, .intake h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  color: var(--ink);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-item {
  background: var(--panel-2);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.03); }

.differentiators { padding: 80px 0; background: var(--panel); }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.diff-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 24px 26px;
}
.diff-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.diff-card p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }

.intake { padding: 80px 0; }
.intake-sub {
  color: var(--ink-2);
  margin: -24px 0 32px;
  font-size: 16px;
  max-width: 560px;
}
.intake-form {
  display: flex; flex-direction: column;
  gap: 16px;
  max-width: 600px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.intake-form label {
  display: flex; flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
}
.intake-form input,
.intake-form textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}
.intake-form input:focus,
.intake-form textarea:focus {
  outline: 2px solid var(--accent-soft);
  outline-offset: 1px;
  border-color: var(--accent);
}
.intake-form textarea { resize: vertical; min-height: 100px; }

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.intake-form button {
  background: var(--accent);
  color: #fbf7ee;
  border: none;
  padding: 14px 28px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.15s;
}
.intake-form button:hover:not(:disabled) { background: #d65028; }
.intake-form button:disabled { opacity: 0.6; cursor: not-allowed; }

.intake-status {
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 14px;
  margin-top: 4px;
}
.intake-status.success { background: #dde7d2; color: #3f5a30; }
.intake-status.error { background: #ecd1c6; color: #7a2d1c; }

.tour-footer {
  background: var(--ink);
  color: var(--bg);
  padding: 32px 0;
  font-size: 14px;
}
.tour-footer p { margin: 0 0 4px; opacity: 0.85; }
.tour-footer p:first-child { opacity: 1; font-size: 15px; margin-bottom: 8px; }

@media (max-width: 760px) {
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .specs { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .gallery, .differentiators, .intake, .story { padding: 56px 0; }
  .container { padding: 0 24px; }
}
