/* =========================================================
   Dratva — rodinné financie šité na mieru
   Dizajnový systém: koža, réžia, ručný steh
   ========================================================= */

:root {
  --ink: #2E1F17;
  --ink-soft: #5A4436;
  --saddle: #9A5B34;
  --saddle-dark: #7A4426;
  --brass: #C08A4E;
  --parchment: #F3E9DC;
  --parchment-light: #FBF5EC;
  --pine: #3D5A4A;
  --line: rgba(46, 31, 23, 0.16);
  --thread: rgba(243, 233, 220, 0.55);

  --shadow-sm: 0 2px 6px rgba(46, 31, 23, 0.08);
  --shadow-md: 0 14px 34px -18px rgba(46, 31, 23, 0.45);
  --shadow-lg: 0 30px 60px -30px rgba(46, 31, 23, 0.55);

  --radius: 14px;
  --radius-sm: 8px;

  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --body: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Courier New", monospace;

  --wrap: 1140px;
  --gutter: clamp(18px, 4vw, 40px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  background-color: var(--parchment);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(192, 138, 78, 0.14), transparent 45%),
    radial-gradient(circle at 88% 0%, rgba(154, 91, 52, 0.12), transparent 40%);
  background-attachment: fixed;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

p { margin: 0 0 1.1em; }
a { color: var(--saddle-dark); }

:focus-visible {
  outline: 3px solid var(--pine);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--parchment);
  padding: 12px 18px;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Značkovací štítok (eyebrow) ---------- */
.patch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--saddle-dark);
  background: rgba(192, 138, 78, 0.16);
  border: 1px solid rgba(154, 91, 52, 0.32);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.patch::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--saddle);
}

/* ---------- Steh (signature) ---------- */
.stitched {
  position: relative;
  background: var(--parchment-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.stitched::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1.5px dashed rgba(154, 91, 52, 0.42);
  border-radius: calc(var(--radius) - 6px);
  pointer-events: none;
}

.seam {
  height: 2px;
  border: 0;
  margin: 0;
  background-image: repeating-linear-gradient(
    to right,
    rgba(154, 91, 52, 0.55) 0 14px,
    transparent 14px 26px
  );
}

/* ---------- Tlačidlá ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(180deg, var(--saddle) 0%, var(--saddle-dark) 100%);
  color: #FFF7EC;
  box-shadow: inset 0 1px 0 rgba(255, 236, 214, 0.35), var(--shadow-md);
}
.btn--primary:hover { background: linear-gradient(180deg, #A9663B 0%, #6E3A1E 100%); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(46, 31, 23, 0.35);
}
.btn--ghost:hover { background: rgba(154, 91, 52, 0.1); }

.btn--pine {
  background: var(--pine);
  color: #F1F6F1;
  box-shadow: var(--shadow-md);
}
.btn--pine:hover { background: #334B3E; }

.btn--block { width: 100%; }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(243, 233, 220, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand img { width: 38px; height: 38px; }
.brand-name {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand-tag {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--saddle-dark);
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--saddle); }

.header-cta { display: inline-flex; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(46, 31, 23, 0.3);
  border-radius: 8px;
  width: 46px; height: 42px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(44px, 6vw, 84px) 0 clamp(48px, 7vw, 92px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.hero-lede {
  font-size: clamp(1.03rem, 1.5vw, 1.18rem);
  max-width: 52ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 30px; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 22px;
  border-top: 1.5px dashed rgba(154, 91, 52, 0.4);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--saddle-dark);
}

.hero-media { position: relative; }
.hero-photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--parchment-light);
  outline: 1.5px dashed rgba(154, 91, 52, 0.5);
  outline-offset: -14px;
}
.hero-photo img {
  width: 100%;
  height: clamp(320px, 46vw, 470px);
  object-fit: cover;
}
.ledger-card {
  position: absolute;
  right: -6px;
  bottom: -34px;
  width: min(280px, 82%);
  padding: 18px 20px;
  background: var(--ink);
  color: var(--parchment);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}
.ledger-card h3 {
  color: var(--parchment);
  font-size: 0.95rem;
  font-family: var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ledger-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.84rem;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(243, 233, 220, 0.28);
}
.ledger-row:last-child { border-bottom: 0; color: var(--brass); }

/* ---------- Mriežky ---------- */
.section-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 46px); }
.section-head p { font-size: 1.04rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

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

/* ---------- Postup ---------- */
.step { padding: 26px 24px 24px; }
.step-no {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  color: var(--saddle);
  display: block;
  margin-bottom: 10px;
}
.step h3 { margin-bottom: 8px; }
.step p { margin-bottom: 0; font-size: 0.97rem; }

/* ---------- Služby ---------- */
.service {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service::after { inset: 7px; }
.service img { width: 100%; height: 190px; object-fit: cover; }
.service-body { padding: 22px 24px 26px; }
.service-body p { font-size: 0.97rem; margin-bottom: 0; }
.service-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.93rem;
}
.service-list li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 6px;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 10px; height: 2px;
  background: var(--saddle);
}

/* ---------- Kalkulačka ---------- */
.calc {
  background:
    linear-gradient(180deg, rgba(46, 31, 23, 0.97), rgba(46, 31, 23, 0.99)),
    radial-gradient(circle at 20% 20%, rgba(192, 138, 78, 0.3), transparent 55%);
  color: var(--parchment);
  border-radius: 20px;
  padding: clamp(26px, 4vw, 48px);
  position: relative;
  box-shadow: var(--shadow-lg);
}
.calc::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1.5px dashed var(--thread);
  border-radius: 14px;
  pointer-events: none;
}
.calc h2, .calc h3 { color: var(--parchment); }
.calc p { color: rgba(243, 233, 220, 0.82); }
.calc-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
  position: relative;
  z-index: 1;
}
.field-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--brass);
}
.calc input[type="number"] {
  width: 100%;
  font-family: var(--mono);
  font-size: 1.3rem;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(243, 233, 220, 0.3);
  background: rgba(243, 233, 220, 0.06);
  color: var(--parchment);
}
.calc input[type="number"]:focus { border-color: var(--brass); }
.calc-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  font-family: var(--mono);
  font-size: 0.8rem;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(243, 233, 220, 0.35);
  background: transparent;
  color: var(--parchment);
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.chip:hover, .chip[aria-pressed="true"] { background: rgba(192, 138, 78, 0.35); }

.band { margin-bottom: 20px; }
.band-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.band-value { font-size: 1.12rem; color: var(--brass); }
.band-track {
  height: 16px;
  border-radius: 999px;
  background: rgba(243, 233, 220, 0.1);
  overflow: hidden;
}
.band-fill {
  height: 100%;
  border-radius: 999px;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.14) 0 6px,
    transparent 6px 12px
  );
  transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.band--needs .band-fill { background-color: var(--saddle); }
.band--wants .band-fill { background-color: var(--brass); }
.band--reserve .band-fill { background-color: #7FA089; }
.calc-note {
  font-size: 0.88rem;
  border-top: 1.5px dashed var(--thread);
  padding-top: 16px;
  margin-bottom: 0;
}

/* ---------- Cenník ---------- */
.plan {
  display: flex;
  flex-direction: column;
  padding: 30px 26px 28px;
}
.plan--featured {
  background: var(--ink);
  color: rgba(243, 233, 220, 0.86);
  border-color: var(--ink);
  transform: translateY(-8px);
}
.plan--featured h3, .plan--featured .price { color: var(--parchment); }
.plan--featured::after { border-color: var(--thread); }
.plan--featured .plan-feature li::before { background: var(--brass); }

.plan-flag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 10px;
  display: block;
}
.price {
  font-family: var(--display);
  font-size: 2.6rem;
  color: var(--ink);
  line-height: 1;
  margin: 6px 0 4px;
}
.price span {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: inherit;
  opacity: 0.75;
}
.plan-desc { font-size: 0.95rem; min-height: 3.4em; }
.plan-feature {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  font-size: 0.94rem;
  flex: 1;
}
.plan-feature li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
}
.plan-feature li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 10px; height: 2px;
  background: var(--saddle);
}

.price-note {
  margin-top: 26px;
  padding: 22px 24px;
  font-size: 0.93rem;
}
.price-note p:last-child { margin-bottom: 0; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 8px;
  font-size: 0.94rem;
}
.price-table th, .price-table td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px dashed var(--line);
}
.price-table th {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saddle-dark);
}
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; }

/* ---------- Referencie ---------- */
.quote { padding: 26px 24px; }
.quote blockquote {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.5;
}
.quote-person { display: flex; align-items: center; gap: 12px; }
.quote-person img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brass);
}
.quote-person strong { display: block; color: var(--ink); font-size: 0.95rem; }
.quote-person span { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; }

/* ---------- Otázky ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  padding: 4px 22px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: 1.08rem;
  color: var(--ink);
  padding: 18px 34px 18px 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 2px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.3rem;
  color: var(--saddle);
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin: 0 0 18px;
  font-size: 0.97rem;
  padding-right: 20px;
}

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}
.form-card { padding: 30px 28px 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saddle-dark);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid rgba(46, 31, 23, 0.24);
  border-radius: 10px;
  background: #FFFDF9;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--saddle); }
.field-error {
  display: block;
  color: #8C2F1D;
  font-size: 0.83rem;
  margin-top: 5px;
  min-height: 1px;
}
.consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.88rem;
  margin: 6px 0 18px;
}
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; }

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(61, 90, 74, 0.12);
  border: 1px solid rgba(61, 90, 74, 0.4);
  color: #2C4437;
  font-size: 0.94rem;
  display: none;
}
.form-status.is-visible { display: block; }

.contact-card { padding: 28px 26px; margin-bottom: 20px; }
.contact-card h3 { margin-bottom: 14px; }
.contact-list { list-style: none; margin: 0; padding: 0; font-size: 0.97rem; }
.contact-list li { margin-bottom: 14px; }
.contact-list strong {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saddle-dark);
  margin-bottom: 3px;
}
.contact-list a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--saddle); }
.contact-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.contact-photo img { width: 100%; height: 220px; object-fit: cover; }

/* ---------- Pätička ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(243, 233, 220, 0.72);
  padding: clamp(44px, 6vw, 70px) 0 30px;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
}
.site-footer h4 {
  color: var(--parchment);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer a { color: rgba(243, 233, 220, 0.82); text-decoration: none; }
.site-footer a:hover { color: var(--brass); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand .brand-name { color: var(--parchment); }
.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px dashed rgba(243, 233, 220, 0.25);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* ---------- Cookies ---------- */
.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 140%);
  width: min(920px, calc(100% - 28px));
  background: var(--parchment-light);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 22px 24px;
  z-index: 90;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.cookie-bar.is-open { transform: translate(-50%, 0); }
.cookie-inner {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cookie-inner p { margin: 0; font-size: 0.92rem; max-width: 60ch; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 11px 20px; font-size: 0.92rem; }

/* ---------- Právne stránky ---------- */
.legal-hero { padding: clamp(40px, 6vw, 72px) 0 8px; }
.legal-body { max-width: 820px; padding-bottom: clamp(50px, 7vw, 90px); }
.legal-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-top: 40px; }
.legal-body h3 { margin-top: 26px; }
.legal-body ul { padding-left: 20px; }
.legal-body li { margin-bottom: 8px; }
.legal-meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--saddle-dark);
}
.legal-box { padding: 22px 24px; margin: 26px 0; }
.legal-box p:last-child { margin-bottom: 0; }

/* ---------- Odhalenie pri scrollovaní ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responzivita ---------- */
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .plan--featured { transform: none; }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--parchment-light);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 18px;
    display: none;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px dashed var(--line); }
  .hero-grid, .calc-grid, .contact-grid { grid-template-columns: 1fr; }
  .ledger-card { position: static; width: 100%; margin-top: 18px; }
  .hero-photo img { height: clamp(260px, 52vw, 380px); }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .cookie-actions .btn { flex: 1 1 auto; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
