:root {
  --ink: #14241c;
  --ink-soft: #3e4d45;
  --forest: #163828;
  --forest-2: #1e4d36;
  --leaf: #2c6b48;
  --brass: #8a6230;
  --brass-bright: #c6a15b;
  --cream: #f3efe6;
  --paper: #faf8f4;
  --white: #fffcf8;
  --line: #e4dccf;
  --danger: #8c2e2e;
  --ok: #1d5c3a;
  --shadow: 0 22px 50px rgba(20, 36, 28, 0.12);
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --max: 1160px;
  --header: 78px;
  --radius: 18px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 100% -10%, rgba(198, 161, 91, 0.16), transparent 55%),
    var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--brass-bright);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--forest);
  color: var(--cream);
  padding: 0.7rem 1rem;
  z-index: 80;
  border-radius: 8px;
}

.skip-link:focus { top: 0.75rem; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3, .logo-word {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.35rem, 5.4vw, 4.5rem);
}

h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
}

h3 { margin: 0 0 0.45rem; font-size: 1.35rem; }

p { margin: 0 0 1rem; }

.lede {
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  background: #faf8f4;
}

.site-header::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  background: rgba(250, 248, 244, 0.9);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 3px 0 var(--forest);
  z-index: -1;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-height: 44px;
}

.logo img {
  width: 46px;
  height: 46px;
  flex: none;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.logo-word {
  display: block;
  font-size: 1.15rem;
  line-height: 1;
}

.logo small {
  display: block;
  margin-top: 0.22rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--brass);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 0 0.95rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.75rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 500;
}

.site-nav a[aria-current="page"] {
  color: var(--forest);
  background: rgba(22, 56, 40, 0.08);
}

.nav-cta {
  margin-left: 0.4rem;
  background: var(--forest) !important;
  color: var(--cream) !important;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: end;
  padding: 2.2rem 0 3.5rem;
}

.hero-copy { padding-bottom: 0.5rem; }

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 620;
  border: 1px solid transparent;
}

.btn-primary { background: var(--forest); color: var(--cream); }
.btn-primary:hover { background: var(--forest-2); }

.btn-ghost {
  background: transparent;
  border-color: #cfc4b2;
  color: var(--ink);
}

.btn-ghost:hover { border-color: var(--forest); }

.hero-figure {
  position: relative;
  margin: 0;
}

.hero-figure img,
.frame img {
  width: 100%;
  border-radius: 28px 28px 80px 28px;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.hero-figure figcaption,
.caption {
  margin-top: 0.65rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.badge {
  position: absolute;
  left: -1rem;
  bottom: 3.2rem;
  width: min(220px, 70%);
  background: var(--forest);
  color: var(--cream);
  padding: 1rem 1.1rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 560;
  line-height: 1;
}

.badge span { display: block; margin-top: 0.35rem; font-size: 0.86rem; color: #e7d7b4; }

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.trust article {
  padding: 1.15rem 1.2rem 1.25rem;
  border-right: 1px solid var(--line);
}

.trust article:last-child { border-right: 0; }

.trust strong { display: block; margin-bottom: 0.25rem; }

.trust p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

.section { padding: 4.5rem 0; }

.section-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-head p:last-child { margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.problem-list,
.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.problem-list li,
.step {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.problem-list li:last-child,
.step:last-child { border-bottom: 1px solid var(--line); }

.kicker {
  display: block;
  color: var(--brass);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 650;
  margin-bottom: 0.25rem;
}

.band {
  background: var(--forest);
  color: var(--cream);
  border-radius: 32px;
  padding: 2.2rem 1.4rem;
}

.band .eyebrow { color: var(--brass-bright); }
.band p { color: #e6efe8; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat {
  background: rgba(255, 252, 248, 0.06);
  border: 1px solid rgba(231, 215, 180, 0.22);
  border-radius: 16px;
  padding: 1.1rem;
}

.stat b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.45rem;
}

.stat span { color: #e6efe8; font-size: 0.95rem; }

.note { font-size: 0.86rem; color: #d5e2da; margin: 1rem 0 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

.card-body { padding: 1.15rem 1.2rem 1.3rem; }

.card p { color: var(--ink-soft); }

.card a { color: var(--forest); font-weight: 650; }

.icon-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.2rem 1.2rem 1.3rem;
}

.icon-card h2,
.panel h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); }

.icon-card p { color: var(--ink-soft); margin-bottom: 0; }

.contact-cards strong,
.site-footer a { overflow-wrap: anywhere; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }

.people { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.person {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.1rem;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.3rem;
  flex: none;
}

.person p { margin: 0; color: var(--ink-soft); }

.faq details { border-top: 1px solid var(--line); }

.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 0;
  font-weight: 630;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--brass);
  line-height: 1;
}

.faq details[open] summary::after { content: "–"; }

.faq details p { color: var(--ink-soft); margin-top: 0; }

.page-hero { padding: 2.4rem 0 1rem; }

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.4rem; color: #b3a894; }
.crumbs a { color: var(--forest); }

.product {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.product:last-child { border-bottom: 1px solid var(--line); }
.product img { border-radius: 20px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.product.reverse { direction: rtl; }
.product.reverse > * { direction: ltr; }

.quote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.quote footer { margin-top: 0.8rem; font-family: var(--sans); font-size: 0.95rem; color: var(--ink-soft); letter-spacing: 0; }

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 4rem;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.25rem;
}

.contact-cards { display: grid; gap: 0.75rem; margin-bottom: 0.9rem; }

.contact-cards a, .contact-cards .static {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  background: var(--paper);
  min-height: 44px;
}

.contact-cards span {
  display: block;
  color: var(--brass);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 650;
}

.contact-cards strong { font-weight: 600; }

.map {
  border: 0;
  width: 100%;
  height: 280px;
  border-radius: 16px;
  background: var(--cream);
}

form { display: grid; gap: 0.9rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }

.field { display: grid; gap: 0.35rem; }
.field.span-2 { grid-column: 1 / -1; }

label { font-weight: 600; font-size: 0.95rem; }

input, select, textarea {
  width: 100%;
  border: 1px solid #d9d0c2;
  background: var(--paper);
  color: var(--ink);
  border-radius: 12px;
  padding: 0.8rem 0.85rem;
  font: inherit;
  min-height: 48px;
}

textarea { min-height: 140px; resize: vertical; }

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--brass-bright);
  border-color: var(--brass);
}

.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-weight: 500;
}

.check input { width: 1.15rem; height: 1.15rem; min-height: 0; margin-top: 0.2rem; }

.field-error { min-height: 1.1rem; margin: 0; color: var(--danger); font-size: 0.86rem; }

.form-status {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
}

.form-status.is-error { background: #f8e8e6; color: var(--danger); }
.form-status.is-success { background: #e5f3ea; color: var(--ok); }

.fine { color: var(--ink-soft); font-size: 0.88rem; }

.site-footer {
  background: var(--ink);
  color: #efe8dc;
  padding: 3rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr;
  gap: 1.5rem;
}

.site-footer a { color: #efe8dc; }
.site-footer h2 { font-size: 1.05rem; font-family: var(--sans); letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.35rem 0; }
.site-footer p { color: #d9d0c3; }

.legal {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 252, 248, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: #cfc4b4;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero, .section-head, .split, .contact-layout, .product, .product.reverse { grid-template-columns: 1fr; direction: ltr; }
  .trust, .stats, .grid-3, .footer-grid { grid-template-columns: 1fr 1fr; }
  .badge { left: 0.8rem; bottom: 2.6rem; }
}

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    inset: var(--header) 0 0 0;
    margin: 0;
    padding: 1rem 1rem 2rem;
    background: var(--paper);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 60;
    overflow: auto;
  }

  .no-js .site-nav {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    padding: 0;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a { padding: 0.85rem 0.9rem; font-size: 1.05rem; }
  .nav-cta { margin: 0.6rem 0 0; justify-content: center; }
}

@media (max-width: 760px) {
  .trust, .stats, .cards, .grid-3, .grid-2, .people, .footer-grid, .form-grid {
    grid-template-columns: 1fr;
  }

  .trust article { border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 3.2rem 0; }
  .hero { padding-top: 1.2rem; }
  .legal { flex-direction: column; }
  h1 { font-size: clamp(2.1rem, 10vw, 3rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.pin-panel { max-width: 38rem; }
.pin-panel code { font-size: 0.92em; }

.desk-bar,
.desk-actions,
.lines-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.desk-bar { margin-bottom: 1rem; }

.search-field { flex: 1; min-width: min(100%, 16rem); }
.search-field input { min-height: 48px; }

.quote-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

.quote-form { margin-top: 1rem; }

.quote-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  max-height: 24rem;
  overflow: auto;
}

.quote-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem;
  align-items: stretch;
}

.row-action {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--forest);
  border-radius: 14px;
  padding: 0.45rem 0.75rem;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.quote-row {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "id total" "name total";
  gap: 0.1rem 0.8rem;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: inherit;
  cursor: pointer;
  min-height: 44px;
}

.quote-row.is-current { border-color: var(--forest); background: #eef5f0; }
.quote-row-id { grid-area: id; color: var(--brass); font-size: 0.82rem; font-weight: 650; text-transform: capitalize; }
.quote-row-name { grid-area: name; font-weight: 620; }
.quote-row-total { grid-area: total; align-self: center; font-variant-numeric: tabular-nums; }

.table-scroll { overflow-x: auto; }

.line-table,
.sheet-table {
  width: 100%;
  border-collapse: collapse;
}

.line-table th,
.sheet-table th {
  text-align: left;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  padding: 0.4rem;
}

.line-table td,
.sheet-table td { padding: 0.35rem; vertical-align: top; }

.line-table input { min-width: 0; }
.line-amount,
.sheet-table td:nth-child(n+2),
.totals dd { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.text-btn {
  border: 0;
  background: transparent;
  color: var(--danger);
  font: inherit;
  font-weight: 620;
  min-height: 44px;
  cursor: pointer;
}

.quote-sheet {
  background: #fff;
  color: #111;
  border: 1px solid #222;
  border-radius: 0;
  padding: 1.15rem 1rem 0.85rem;
  box-shadow: none;
  margin-top: 1rem;
  font-family: Calibri, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.35;
}

.voucher-title {
  margin: 0 0 0.85rem;
  text-align: center;
  font-family: Calibri, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
}

.voucher-top,
.voucher-mid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.5rem;
  margin-bottom: 0.85rem;
}

.voucher-top p,
.voucher-mid p,
.voucher-words p,
.sign-block p { margin: 0; }

#sheet-customer { white-space: pre-line; }

.voucher-table {
  width: 100%;
  border-collapse: collapse;
}

.voucher-table th,
.voucher-table td {
  border: 1px solid #111;
  padding: 0.28rem 0.35rem;
  vertical-align: top;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #111;
}

.voucher-table th { font-weight: 700; }
.voucher-table td:nth-child(2) { text-align: left; }
.voucher-table td:nth-child(4),
.voucher-table td:nth-child(5),
.voucher-table td:nth-child(7) { text-align: right; white-space: nowrap; }
.voucher-table tfoot td { font-weight: 700; text-align: right; }

.voucher-words { margin-top: 0.85rem; }
.eoe { margin-top: 0.7rem; }

.sign-block {
  margin-top: 0.6rem;
  margin-left: auto;
  width: max-content;
  text-align: right;
}

.sign-block img {
  width: 110px;
  height: auto;
  display: block;
  margin: 0.15rem 0 0.15rem auto;
  mix-blend-mode: multiply;
}

.gen-note {
  text-align: center;
  margin: 1.1rem 0 0;
  font-size: 12px;
}

@media (max-width: 720px) {
  .voucher-top,
  .voucher-mid { grid-template-columns: 1fr; }
}

@media print {
  @page { size: letter; margin: 12mm; }
  .site-header, .site-footer, .skip-link, .no-print { display: none !important; }
  body { background: white; }
  .quote-layout { display: block; }
  .quote-sheet { border: 0; box-shadow: none; border-radius: 0; padding: 0; margin: 0; }
  .section { padding: 0; }
}
