/* =========================================================
   Hudson Stove Services — homepage mock-up
   Design language after skantherm.de: warm paper, sand stone,
   Lora serif, Inter UI, hairline rules, full-bleed photography.
   ========================================================= */

:root {
  --paper: #f6f5f3;
  --paper-2: #efece7;
  --sand: #decfaa;
  --sand-deep: #bda87c;
  --ink: #161310;
  --ink-70: rgba(22, 19, 16, 0.72);
  --ink-55: rgba(22, 19, 16, 0.56);
  --ink-38: rgba(22, 19, 16, 0.38);
  --rule: rgba(22, 19, 16, 0.16);
  --ember: #a8431a;
  --void: #0e0c0a;

  --serif: "Lora", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1320px;
  --gut: clamp(20px, 4vw, 56px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.018em;
  margin: 0;
}

em { font-style: italic; }

::selection { background: var(--sand); color: var(--ink); }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}
.skip:focus { left: 12px; top: 12px; }

[id] { scroll-margin-top: 96px; }

.wrap {
  width: min(100% - (2 * var(--gut)), var(--wrap));
  margin-inline: auto;
}

/* ---------- type helpers ---------- */

.eyebrow {
  margin: 0 0 clamp(14px, 1.4vw, 20px);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-55);
}
.eyebrow--light { color: rgba(246, 245, 243, 0.7); }

.display {
  font-size: clamp(2.05rem, 4.4vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.display-sm {
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lede {
  margin: clamp(14px, 1.6vw, 20px) 0 0;
  font-size: clamp(1rem, 0.4vw + 0.95rem, 1.08rem);
  line-height: 1.8;
  color: var(--ink-70);
  max-width: 58ch;
}

/* ---------- buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { background: var(--ember); border-color: var(--ember); color: var(--paper); }

.btn--paper { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--sand); border-color: var(--sand); color: var(--ink); }

.btn--ghost { background: transparent; border-color: rgba(246, 245, 243, 0.45); color: var(--paper); }
.btn--ghost:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.btn--full { width: 100%; margin-top: 8px; }

.link {
  display: inline-block;
  margin-top: clamp(16px, 1.8vw, 24px);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.link:hover { color: var(--ember); border-bottom-color: var(--ember); }

/* ---------- mock-up ribbon ---------- */

.ribbon {
  background: var(--ink);
  color: rgba(246, 245, 243, 0.66);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ribbon .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 20px;
  padding: 9px 0;
}
.ribbon b { color: var(--paper); font-weight: 500; }
.ribbon a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(246, 245, 243, 0.3);
  padding-bottom: 1px;
}
.ribbon a:hover { color: var(--paper); border-bottom-color: var(--paper); }

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 245, 243, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-head.is-stuck { border-bottom-color: var(--rule); }

.head-bar {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 40px);
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-right: auto;
  text-decoration: none;
}
.brand-mark { color: var(--ember); flex: none; }
.brand-mark svg { width: 21px; height: 21px; display: block; }
.brand-mark path { fill: currentColor; }

.brand-line,
.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.brand-sub,
.brand-name span {
  display: block;
  margin-top: 2px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.nav { display: flex; gap: clamp(14px, 2vw, 32px); }
.nav a {
  padding: 4px 0;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-70);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.head-cta {
  padding: 13px 22px;
  border: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}
.head-cta:hover { background: var(--ink); color: var(--paper); }

.nav-toggle {
  display: none;
  padding: 11px 16px;
  border: 1px solid var(--rule);
  background: none;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 899px) {
  .head-bar {   min-height: 64px; }
  .head-cta { display: none; }
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    padding: 6px var(--gut) 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--rule);
    font-size: 13px;
    letter-spacing: 0.12em;
  }
  .nav a:hover { border-bottom-color: var(--rule); }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  min-height: clamp(500px, 74vh, 700px);
  background: var(--void);
}

.hero-media { position: absolute; inset: 0; margin: 0; z-index: -2; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(85% 65% at 6% 96%, rgba(168, 67, 26, 0.45), transparent 62%),
    linear-gradient(180deg, rgba(12, 10, 8, 0.52) 0%, rgba(12, 10, 8, 0.12) 30%, rgba(12, 10, 8, 0.5) 68%, rgba(12, 10, 8, 0.93) 100%);
}

.hero-body {
  position: relative;
  width: 100%;
  padding: clamp(96px, 14vh, 148px) 0 clamp(32px, 4.5vh, 52px);
}

.hero-title {
  font-size: clamp(2.75rem, 7vw, 6rem);
  line-height: 0.97;
  letter-spacing: -0.035em;
  color: var(--paper);
  max-width: 16ch;
  text-wrap: balance;
}

.hero-sub {
  margin: clamp(20px, 2.2vw, 28px) 0 0;
  max-width: 52ch;
  font-size: clamp(0.97rem, 0.3vw + 0.9rem, 1.06rem);
  line-height: 1.75;
  color: rgba(246, 245, 243, 0.78);
}

.hero-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 3.2vw, 40px);
}

.hero-foot { background: var(--paper); border-bottom: 1px solid var(--rule); }
.hero-foot-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 17px 0;
}

.factband {
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(20px, 3.4vw, 54px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.factband li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-70);
}
.factband .num {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0;
  color: var(--ember);
}

.scroll-cue {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-55);
  text-decoration: none;
  border-bottom: 1px solid var(--ink-38);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.scroll-cue:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- statement ---------- */

.statement {
  padding: clamp(56px, 8vw, 104px) 0;
  border-bottom: 1px solid var(--rule);
}
.statement-in {
  max-width: 940px;
  margin-inline: auto;
  text-align: center;
}
.statement .lede { margin-inline: auto; max-width: 62ch; }
.statement .link { margin-top: clamp(22px, 2.4vw, 32px); }

/* ---------- generic section + head ---------- */

.section {
  padding: clamp(52px, 6.5vw, 92px) 0;
  border-bottom: 1px solid var(--rule);
}

.sec-head {
  display: grid;
  gap: clamp(12px, 2vw, 34px);
  margin-bottom: clamp(26px, 3.2vw, 44px);
}
.sec-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.05rem);
  line-height: 1.04;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.sec-sub {
  margin: 0;
  max-width: 52ch;
  color: var(--ink-70);
  font-size: 0.98rem;
}
@media (min-width: 820px) {
  .sec-head {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: end;
  }
  .sec-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
  .sec-head h2 { margin-bottom: 4px; }
}

/* ---------- service tiles ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
}
@media (max-width: 1024px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles { grid-template-columns: minmax(0, 1fr); } }

.tile { margin: 0; display: flex; flex-direction: column; }

.tile-media {
  margin: 0 0 clamp(13px, 1.2vw, 18px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-2);
}
.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94);
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tile:hover .tile-media img { transform: scale(1.035); }

.tile-no {
  margin: 0 0 9px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--ember);
}

.tile-kicker {
  margin: 0 0 7px;
  font-size: 11px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.tile h3 {
  margin: 0 0 10px;
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.2rem);
  line-height: 1.28;
  letter-spacing: -0.012em;
}

.tile-copy {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.68;
  color: var(--ink-70);
}

.tile--sand {
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(20px, 2vw, 28px);
  background: var(--sand);
}
.tile--sand .tile-no {
  color: rgba(22, 19, 16, 0.42);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 3.2vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}
.tile--sand .tile-kicker { color: rgba(22, 19, 16, 0.6); }
.tile--sand .tile-copy { color: rgba(22, 19, 16, 0.76); }
.tile--sand .link { margin-top: 22px; }

.tile-body { display: flex; flex-direction: column; }

/* ---------- sweep steps ---------- */

.steps-sec {
  padding: clamp(52px, 6.5vw, 92px) 0;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}
.steps-grid { display: grid; gap: clamp(30px, 5vw, 76px); }
@media (min-width: 900px) {
  .steps-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
  }
  .steps-intro { position: sticky; top: 118px; }
}
.steps-intro .lede { max-width: 40ch; }

.steps { list-style: none; margin: 0; padding: 0; }
.steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(14px, 2.4vw, 34px);
  padding: clamp(20px, 2.2vw, 28px) 0;
  border-top: 1px solid var(--rule);
}
.steps li:last-child { border-bottom: 1px solid var(--rule); }

.step-no {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  line-height: 1;
  color: var(--sand-deep);
  min-width: 1.6ch;
}

.steps h3 {
  margin: 0 0 6px;
  font-size: clamp(1.02rem, 0.3vw + 0.98rem, 1.14rem);
  line-height: 1.3;
}
.steps p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--ink-70);
  max-width: 48ch;
}

/* ---------- snug ---------- */

.snug {
  padding: clamp(52px, 6.5vw, 92px) 0;
  border-bottom: 1px solid var(--rule);
}
.snug-grid { display: grid; gap: clamp(32px, 5vw, 82px); }
@media (min-width: 900px) {
  .snug-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: center;
  }
}

.snug h2 {
  margin: 0 0 clamp(16px, 1.6vw, 22px);
  font-size: clamp(1.95rem, 3.6vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: -0.024em;
  text-wrap: balance;
}
.snug-copy p {
  margin: 0 0 14px;
  max-width: 46ch;
  color: var(--ink-70);
  font-size: 0.98rem;
}

.toggle {
  display: inline-flex;
  margin-top: clamp(18px, 1.8vw, 24px);
  border: 1px solid var(--rule);
}
.toggle-btn {
  appearance: none;
  padding: 13px 20px;
  border: 0;
  background: none;
  color: var(--ink-70);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.toggle-btn + .toggle-btn { border-left: 1px solid var(--rule); }
.toggle-btn:hover { color: var(--ink); }
.toggle-btn.is-on { background: var(--ink); color: var(--paper); }

.toggle-note {
  margin: 14px 0 0;
  min-height: 3.2em;
  max-width: 44ch;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink-55);
}

.snug-media { margin: 0; }
.snug-frame {
  display: block;
  position: relative;
  aspect-ratio: 7 / 6;
  overflow: hidden;
  background: var(--paper-2);
}
.snug-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.65s ease;
}
.snug-frame img.is-shown { opacity: 1; }
.snug-media figcaption {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-55);
}

/* ---------- about ---------- */

.about { padding: clamp(52px, 6.5vw, 92px) 0; border-bottom: 1px solid var(--rule); }
.about-in { max-width: 860px; }
.about h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.026em;
  text-wrap: balance;
}
.about p.lede { max-width: 62ch; }

.facts {
  margin: clamp(26px, 3vw, 40px) 0 0;
  border-top: 1px solid var(--rule);
}
.facts > div {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 12px 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
}
.facts dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-55);
}
.facts dd { margin: 0; font-size: 0.95rem; line-height: 1.6; }

/* ---------- contact band ---------- */

.band {
  padding: clamp(52px, 6.5vw, 92px) 0;
  background: var(--sand);
}
.band-grid { display: grid; gap: clamp(36px, 5vw, 76px); }
@media (min-width: 940px) {
  .band-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: start;
  }
}
.band .eyebrow { color: rgba(22, 19, 16, 0.58); }
.band h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.026em;
  margin-bottom: clamp(14px, 1.6vw, 20px);
  text-wrap: balance;
}
.band-intro {
  margin: 0;
  max-width: 46ch;
  color: rgba(22, 19, 16, 0.74);
  font-size: 0.98rem;
}

.methods {
  margin-top: clamp(22px, 2.4vw, 32px);
  border-top: 1px solid rgba(22, 19, 16, 0.24);
}
.method {
  display: grid;
  grid-template-columns: minmax(88px, 0.34fr) minmax(0, 1fr);
  gap: 10px 20px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(22, 19, 16, 0.24);
}
.method > span {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(22, 19, 16, 0.55);
}
.method a {
  justify-self: start;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(22, 19, 16, 0.35);
  padding-bottom: 2px;
  word-break: break-word;
}
.method a:hover { border-bottom-color: var(--ink); }
.method p { margin: 0; font-size: 0.93rem; line-height: 1.65; color: rgba(22, 19, 16, 0.74); }

/* ---------- enquiry form ---------- */

.enquiry {
  padding: clamp(24px, 3vw, 42px);
  background: var(--paper);
}
.enquiry-title {
  margin: 0 0 clamp(20px, 2.4vw, 28px);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 0.5vw + 1.05rem, 1.35rem);
  line-height: 1.3;
}

.field { display: block; margin-bottom: 15px; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-55);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid rgba(22, 19, 16, 0.3);
  border-radius: 0;
  background-color: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.96rem;
  line-height: 1.5;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.field select {
  padding-right: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' fill='none' stroke='%23161310' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 11px 7px;
}
.field textarea { min-height: 78px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-38); }

.form-note {
  margin: 14px 0 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--ink-55);
}
.form-note.is-sent { color: var(--ember); }

/* ---------- footer ---------- */

.site-foot {
  padding: clamp(56px, 7vw, 92px) 0 34px;
  background: var(--void);
  color: rgba(246, 245, 243, 0.7);
  font-size: 0.9rem;
}
.foot-grid { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 820px) {
  .foot-grid { grid-template-columns: 1.35fr 0.85fr 0.8fr; }
}
.site-foot strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.06rem;
  color: var(--paper);
}
.site-foot p { margin: 0 0 10px; }
.site-foot ul { margin: 0; padding: 0; list-style: none; }
.site-foot li { margin-bottom: 8px; }
.site-foot a {
  text-decoration: none;
  border-bottom: 1px solid rgba(246, 245, 243, 0.22);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-foot a:hover { color: var(--paper); border-bottom-color: var(--paper); }

.foot-small {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  margin-top: clamp(28px, 3.4vw, 44px);
  padding-top: 20px;
  border-top: 1px solid rgba(246, 245, 243, 0.14);
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(246, 245, 243, 0.48);
}

/* ---------- notes page ---------- */

.notes-head { padding: clamp(56px, 8vw, 104px) 0 clamp(32px, 4vw, 48px); }
.notes-head .kicker,
.notes-head .eyebrow { margin-bottom: 18px; }
.notes-head h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.notes-head p {
  margin: clamp(16px, 2vw, 24px) 0 0;
  max-width: 60ch;
  color: var(--ink-70);
}

.notes-body { max-width: 760px; padding-bottom: clamp(64px, 8vw, 110px); }
.notes-body h2 {
  margin: clamp(44px, 5vw, 64px) 0 14px;
  padding-top: clamp(20px, 2.4vw, 28px);
  border-top: 1px solid var(--rule);
  font-size: clamp(1.3rem, 1.6vw, 1.6rem);
  line-height: 1.25;
}
.notes-body h2:first-of-type { margin-top: clamp(28px, 3vw, 40px); }
.notes-body p { margin: 0 0 15px; color: var(--ink-70); }
.notes-body ul { margin: 0 0 18px; padding: 0; list-style: none; }
.notes-body li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 20px;
  color: var(--ink-70);
}
.notes-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 1px;
  background: var(--sand-deep);
}
.notes-body strong { color: var(--ink); font-weight: 500; }
.notes-body code {
  padding: 1px 5px;
  background: var(--paper-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
}
.notes-body .button { margin-top: 6px; }

.notes-back { margin-top: 2rem; }

.callout {
  margin: 0 0 clamp(28px, 3vw, 40px);
  padding: clamp(20px, 2.4vw, 28px);
  background: var(--sand);
  color: rgba(22, 19, 16, 0.82) !important;
  font-size: 0.95rem;
}

/* ---------- quote banner ---------- */

.quote-banner {
  display: block;
  background: #ffc629;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
  padding-block: clamp(0.95rem, 1.8vw, 1.35rem);
  transition: background 0.2s ease;
}
.quote-banner:hover { background: #ffd451; }

.quote-banner-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.quote-banner-kicker {
  flex: none;
  padding: 0.38rem 0.6rem;
  background: var(--ink);
  color: #ffc629;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}

.quote-banner-text {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.95rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.quote-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
  white-space: nowrap;
}
.quote-banner-cta svg { transition: transform 0.2s ease; }
.quote-banner:hover .quote-banner-cta svg { transform: translateX(3px); }

@media (max-width: 620px) {
  .quote-banner { padding-block: 0.7rem; }
  .quote-banner-inner { gap: 0.4rem 0.6rem; }
  .quote-banner-cta { margin-left: 0; }
}

/* ---------- private quotation page ---------- */

.concept-bar {
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-55);
}
.concept-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 20px;
  padding: 9px 0;
}
.concept-bar b { color: var(--ink); font-weight: 500; }
.concept-links { display: flex; flex-wrap: wrap; gap: 16px; }
.concept-links a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--ink-38);
  padding-bottom: 1px;
}
.concept-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }

.head-quote {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink-38);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
}
.head-quote:hover { border-bottom-color: var(--ink); }

.doc { padding-bottom: clamp(56px, 7vw, 88px); }
.doc-wrap { max-width: 800px; }

.doc-kicker {
  margin: clamp(40px, 5vw, 64px) 0 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-55);
}
.doc-title {
  font-size: clamp(2.05rem, 4.2vw, 3.4rem);
  line-height: 1.03;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.doc-lede {
  margin: clamp(16px, 2vw, 24px) 0 0;
  max-width: 62ch;
  font-size: clamp(1rem, 0.3vw + 0.95rem, 1.06rem);
  line-height: 1.8;
  color: var(--ink-70);
}

.price-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: clamp(26px, 3vw, 40px);
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--sand);
}
.price-copy { display: flex; flex-direction: column; gap: 8px; max-width: 40ch; }
.price-label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(22, 19, 16, 0.58);
}
.price-note { font-size: 0.92rem; line-height: 1.55; color: rgba(22, 19, 16, 0.76); }
.price {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.6vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.doc-section {
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: clamp(20px, 2.2vw, 26px);
  border-top: 1px solid var(--rule);
}
.doc-section h2 {
  margin-bottom: 14px;
  font-size: clamp(1.24rem, 1.5vw, 1.5rem);
  line-height: 1.25;
}
.doc-section p { margin: 0 0 14px; color: var(--ink-70); }

.doc-grid { display: grid; gap: 18px 32px; margin-top: 16px; }
@media (min-width: 720px) { .doc-grid { grid-template-columns: 1fr 1fr; } }
.doc-grid h3 { margin-bottom: 6px; font-size: 1rem; line-height: 1.35; }
.doc-grid p { margin: 0; font-size: 0.92rem; line-height: 1.7; }

.doc-list { margin: 16px 0 0; padding: 0; list-style: none; }
.doc-list li {
  position: relative;
  margin-bottom: 11px;
  padding-left: 20px;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--ink-70);
}
.doc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 1px;
  background: var(--sand-deep);
}
.doc-list b { color: var(--ink); font-weight: 500; }

.doc-callout {
  margin-top: 18px;
  padding: 15px 20px;
  background: var(--paper-2);
  border-left: 2px solid var(--sand-deep);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-70);
}
.doc-small { font-size: 0.84rem !important; color: var(--ink-55) !important; }
.doc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.doc-actions .link { margin-top: 0; }
.doc-foot {
  margin-top: clamp(34px, 4vw, 50px);
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-size: 0.78rem;
  color: var(--ink-55);
}

/* ---------- motion ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .tile-media img,
  .snug-frame img,
  .site-head { transition: none; }
}
