:root {
  --ink: #120d0b;
  --ink-2: #1c1613;
  --panel: #241c18;
  --paper: #f6efe6;
  --paper-soft: #e8ddd0;
  --muted: #b9ada0;
  --barn: #e8505b;
  --barn-deep: #2a1638;
  --copper: #ffb4a2;
  --line: rgba(246, 239, 230, 0.12);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --max: 1180px;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Fraunces", "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--paper);
  background: var(--ink);
  line-height: 1.55;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--copper); }
button, input, select, textarea { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(18, 13, 11, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}
.logo-link { display: flex; align-items: center; flex: 0 0 auto; }
.logo-link img { height: 56px; width: auto; }
.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--paper);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.nav-links a:hover { color: var(--copper); }

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(18,13,11,0.25) 0%, rgba(18,13,11,0.2) 40%, rgba(18,13,11,0.88) 100%),
    linear-gradient(90deg, rgba(18,13,11,0.55), transparent 55%);
}
.hero-copy { padding: 48px 0 72px; max-width: 760px; }
.eyebrow {
  display: inline-block;
  color: var(--copper);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 560;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.02;
  margin: 0 0 18px;
  letter-spacing: -0.03em;
}
.tagline {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--paper-soft);
  margin: 0 0 18px;
  max-width: 36ch;
}
.pull-quote {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--copper);
  margin: 0 0 28px;
  border-left: 3px solid var(--barn);
  padding-left: 16px;
}
.hero-actions, .cta-row, .form-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.btn-primary { background: var(--barn); color: #fff; }
.btn-primary:hover { background: #ff6b6b; }
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(246,239,230,0.35);
}
.btn-ghost:hover { border-color: var(--copper); color: var(--copper); }
.btn-copper { background: var(--copper); color: var(--ink); }
.btn-copper:hover { filter: brightness(1.08); }

/* Sections */
section { padding: 84px 0; }
.section-head { margin-bottom: 32px; max-width: 680px; }
.section-head h2, .panel h2, .form-card h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}
.lede { color: var(--muted); margin: 0; }

/* Shed of the week */
.sotw { background: var(--ink-2); }
.sotw-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 36px;
  align-items: center;
}
.photo-frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--panel);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.sotw-copy h3 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 10px 0 12px;
}
.caption {
  font-size: 1.15rem;
  color: var(--paper-soft);
  margin: 0 0 20px;
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.stat {
  border: 1px dashed rgba(215, 178, 122, 0.55);
  color: var(--copper);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.86rem;
  font-weight: 600;
}
.placeholder-note {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}
.card {
  background: var(--panel);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 70%;
}
.card-body { padding: 16px 16px 18px; }
.card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-family: var(--display);
}
.card p { margin: 0 0 12px; color: var(--paper-soft); font-size: 0.95rem; }
.photo-credit {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* CTA band */
.cta-band { background: linear-gradient(180deg, #1a1210, #2a1613); }
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.panel {
  background: rgba(18, 13, 11, 0.45);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.panel p { color: var(--paper-soft); }

/* Lead + design */
.lead-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}
.form-card, .design-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
label { display: block; font-weight: 650; margin: 0 0 6px; font-size: 0.92rem; }
.field { margin-bottom: 16px; }
input, select, textarea {
  width: 100%;
  background: #0e0a09;
  color: var(--paper);
  border: 1px solid rgba(246,239,230,0.18);
  border-radius: 12px;
  padding: 12px 14px;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--copper);
  border-color: transparent;
}
.form-note, .mock-banner {
  background: rgba(215, 178, 122, 0.1);
  border: 1px dashed rgba(215, 178, 122, 0.5);
  color: var(--copper);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.9rem;
  margin: 0 0 18px;
}
.mock-banner[hidden] { display: none; }
.design-card p { color: var(--paper-soft); }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: end;
}
.footer-logo { height: 44px; width: auto; opacity: 0.9; }

@media (max-width: 980px) {
  .sotw-grid, .cta-grid, .lead-grid, .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .nav-inner { flex-direction: column; align-items: flex-start; padding: 12px 0; min-height: 0; }
  .logo-link img { height: 48px; }
  .nav-links { gap: 8px 14px; }
  .hero { min-height: 100vh; }
  .hero-copy { padding: 32px 0 48px; }
  section { padding: 56px 0; }
  .sotw-grid, .cta-grid, .lead-grid, .gallery-grid { grid-template-columns: 1fr; }
  .photo-frame img, .card img { aspect-ratio: 5 / 4; }
  .wrap, .nav-inner { width: min(var(--max), calc(100% - 28px)); }
}

/* Forms */
.osf-form { margin-top: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.opt { color: var(--muted); font-weight: 400; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; margin: 4px 0 18px; }
.check input { width: auto; margin-top: 4px; }
input[type=file] { padding: 10px; }
.form-success { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(120, 200, 140, .12); border: 1px solid rgba(120, 200, 140, .5); color: #c9f0d2; }
.form-error { margin: 14px 0 0; color: #ffb4a2; font-weight: 600; }
.privacy { margin: 14px 0 0; font-size: .86rem; color: var(--muted); }
.panel .btn, .form-card .btn { margin-top: 4px; }
button[disabled] { opacity: .6; cursor: wait; }
@media (max-width: 720px) { .row2 { grid-template-columns: 1fr; } }
