:root {
  --ink: #12241e;
  --paper: #f4efe6;
  --card: #fffdf8;
  --line: #e3d9c8;
  --muted: #4d5c55;
  --spruce: #16332c;
  --header: #101c18;
  --amber: #e07020;
  --amber-deep: #b45314;
  --steel: #7087a3;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-deep); }
a:hover { color: var(--ink); }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}
h1 { font-size: clamp(2.15rem, 4.4vw, 3.55rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 0.9rem; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: white;
  color: var(--ink);
  padding: 8px 12px;
  z-index: 5;
}
.skip:focus { top: 12px; }

.top {
  background: var(--header);
  color: var(--paper);
  position: sticky;
  top: 0;
  z-index: 4;
  border-bottom: 3px solid var(--amber);
}
.bar {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 42px; width: auto; }
.nav-wide, .nav-small nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-wide a, .nav-small a {
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
}
.nav-wide a:hover, .nav-small a:hover { color: white; }
.nav-wide a[aria-current="page"]:not(.button),
.nav-small a[aria-current="page"]:not(.button) {
  color: var(--steel);
}
.nav-small { display: none; position: relative; }
.nav-small summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--paper);
}
.nav-small summary::-webkit-details-marker { display: none; }
.nav-small nav {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  background: var(--header);
  border: 1px solid #2a4038;
  padding: 14px;
  display: grid;
  gap: 12px;
  min-width: 200px;
}

.button, button.button {
  display: inline-block;
  background: var(--amber);
  color: #1a120c;
  text-decoration: none;
  font-weight: 700;
  border: 0;
  border-radius: 4px;
  padding: 12px 16px;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.2;
}
.button:hover, button.button:hover { background: #c85d14; color: #1a120c; }
.button.ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.button.ghost:hover { background: var(--ink); color: var(--paper); }
.button.wide { width: 100%; text-align: center; }
p .button { margin: 0 8px 8px 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section.tight { padding-top: 28px; }
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 10px;
}
.lede { font-size: 1.18rem; max-width: 40rem; color: #24312c; }
.muted { color: var(--muted); }
.quiet { color: var(--muted); font-size: 0.92rem; }

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 28px 40px;
  align-items: start;
  padding-top: 42px;
}
.hero-form { grid-column: 2; grid-row: 1 / span 2; }
.hero-photo { grid-column: 1; margin: 0; }
.hero-photo img, .frame img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(16, 28, 24, 0.08);
}
.card h2 { font-size: 1.55rem; }
.field { margin-bottom: 12px; }
label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 4px; }
input, select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: white;
  border: 1px solid #cfc3b0;
  border-radius: 4px;
  padding: 11px 12px;
}
input:focus, select:focus, a:focus, button:focus, summary:focus {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
.sent {
  background: #e7f2ea;
  border: 1px solid #b7d4c0;
  padding: 10px 12px;
  border-radius: 4px;
}
.error {
  background: #fde8e4;
  border: 1px solid #e7b2a8;
  padding: 10px 12px;
  border-radius: 4px;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.grid-3, .grid-2, .modules { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.modules { grid-template-columns: repeat(4, 1fr); }
.tile, .quote, .price {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}
.tile p, .price p { margin-bottom: 0; }
.tile h3, .price h3 { margin-bottom: 8px; }
.index {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--amber-deep);
  font-weight: 700;
  margin-bottom: 8px;
}

.band {
  background: var(--spruce);
  color: var(--paper);
}
.band a { color: #f3c39a; }
.band .button { color: #1a120c; }
.band .button.ghost { color: var(--paper); border-color: var(--paper); }
.band .button.ghost:hover { background: var(--paper); color: var(--ink); }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center; }
.jobs { columns: 2; padding-left: 1.1rem; margin: 0 0 1rem; }
.jobs li { margin-bottom: 0.35rem; break-inside: avoid; }

.quote { margin: 0; }
.quote p {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.35;
}
.quote footer { color: var(--muted); font-size: 0.95rem; }

.prose { max-width: 46rem; }
.prose.wide { max-width: 54rem; }
.prose h2 { margin-top: 2.2rem; }
.prose li { margin: 0.28rem 0; }
.contract h2 { font-size: 1.45rem; }
.contract h3 { font-size: 1.12rem; margin-top: 1.35rem; }
.notice {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  padding: 16px 18px;
  margin: 0 0 1.4rem;
}
.notice p:last-child { margin-bottom: 0; }
.table-scroll { overflow-x: auto; margin: 0 0 1.2rem; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.legal-table th, .legal-table td {
  border-bottom: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
.legal-table th { font-weight: 700; }
.jump { display: flex; flex-wrap: wrap; gap: 10px 16px; padding: 0; margin: 18px 0 0; list-style: none; }
.page-hero { padding: 42px 0 10px; }

footer.site {
  background: var(--header);
  color: #d5ddd8;
  padding: 36px 0 28px;
}
footer.site a { color: var(--paper); }
footer.site .wrap { display: grid; gap: 18px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-nav a { text-decoration: none; font-weight: 600; }

@media (max-width: 900px) {
  .nav-wide { display: none; }
  .nav-small { display: block; }
  .hero, .split, .grid-2, .grid-3, .modules { grid-template-columns: 1fr; }
  .hero-form, .hero-photo { grid-column: auto; grid-row: auto; }
  .jobs { columns: 1; }
  .section { padding: 52px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
