/* ==========================================================
   Kmode Interiors — main site styles
   Colours and type match the "Website Redesign" Shopify pages.
   ========================================================== */

:root {
  --brand: #563331;        /* burgundy-brown: heroes, stats, CTA bands */
  --brand-dark: #44282a;
  --brand-light: #6e4643; /* a few shades lighter than --brand */
  --tan-header: #916c5c;  /* header: warm tan, a touch deeper than --accent so white text stays readable */
  --accent: #a17864;       /* tan: eyebrow labels, numbers */
  --blush: #f0e6e1;        /* feature grid background */
  --stone: #f7f7f5;        /* light section background */
  --cream: #fbf8f3;        /* light button on dark */
  --ink: #0f0f0f;          /* headings */
  --text: #2e2e2e;         /* body copy */
  --muted: #6b6461;
  --line: #e4dcd7;
  --white: #ffffff;

  --font: "Poppins", Helvetica, Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(34px, 4.6vw, 52px); }
h2 { font-size: clamp(26px, 3.1vw, 38px); }
h3 { font-size: 18px; font-weight: 500; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--stone { background: #eeeae6; } /* light warm grey, a shade darker than --stone */
.section--blush { background: var(--blush); }
.section--brand { background: var(--brand); color: var(--stone); }
.section--brand h2, .section--brand h3 { color: var(--stone); }

.eyebrow {
  display: block;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.section--brand .eyebrow { color: #d9b9a8; }
.hero .eyebrow, .page-head .eyebrow { color: var(--stone); }
.lede { font-size: 18px; max-width: 640px; }
.small { font-size: 14px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 28px;
  font: 500 13px/1 var(--font);
  letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--dark { background: var(--brand); color: var(--cream); }
.btn--dark:hover { background: var(--brand-dark); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: var(--white); }
.btn--outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--brand); color: var(--white); border-color: var(--brand); }
.btn--outline-light { border-color: rgba(247,247,245,.6); color: var(--stone); }
.btn--outline-light:hover { background: var(--stone); color: var(--brand); }
.link-arrow {
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link-arrow:hover, .service:hover .link-arrow { color: var(--brand); }

/* ---------- Header ---------- */
/* Inner pages: burgundy header with white logo and text, matching the burgundy opening section.
   (To go back to the blush header: background var(--blush), text var(--brand), and swap the logo display rules below.) */
.announce {
  background: var(--brand-dark); color: var(--stone);
  text-align: center; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  padding: 9px var(--gutter);
}
.announce a { color: inherit; }
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--brand); border-bottom: 1px solid rgba(255,255,255,.07); /* very faint line under the menu */
}
.header__in {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 86px;
}
/* Header spans the screen with a moderate inset: logo a little in from the left, menu a little in from the right */
.header .wrap { max-width: none; padding-left: clamp(20px, 4vw, 64px); padding-right: clamp(20px, 4vw, 64px); }
/* Logo: left-aligned version, dark in the header (kmode-logo-dark.png) and white in the footer (kmode-logo-white.png), saved at 4x for sharp screens.
   --logo-h sets the height. */
.logo { --logo-h: 42px; display: block; line-height: 0; text-decoration: none; }
.logo img { height: var(--logo-h); width: auto; display: block; }
.header .logo { position: relative; top: 4px; } /* sits slightly lower than centre */
.header .logo__on-light { display: none; }
.header .logo__on-dark { display: block; }
.nav { display: flex; align-items: center; gap: 26px; white-space: nowrap; }
@media (min-width: 1101px) { .nav { margin-right: clamp(0px, 2.5vw, 44px); } } /* menu sits slightly in from the right edge */
.nav a {
  font-size: 12.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; color: var(--white);
}
.nav a:hover { color: #e6cfc3; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }
.menu-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--white);
}
.menu-toggle svg { width: 26px; height: 26px; }
.header__shop-mobile { display: none; }

@media (max-width: 1100px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--brand); border-bottom: 1px solid rgba(255,255,255,.14);
    padding: 8px var(--gutter) 24px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 14px; }
  .logo { --logo-h: 34px; }
  .header__in { height: 56px; }
  /* Keep Shop visible next to the menu button on phones, styled like the menu links */
  .header__shop-mobile {
    display: inline-block; margin-left: auto; padding: 8px 4px;
    color: var(--white); text-decoration: none;
    font-size: 12.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  }
}

/* ---------- Full-screen photo hero (homepage) ---------- */
.hero.hero--full { display: flex; align-items: center; position: relative; overflow: hidden; }
.hero--full .hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* Soft burgundy shade on the left so white text stays readable on bright photos */
.hero--full .hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(58, 32, 31, .78) 0%, rgba(58, 32, 31, .55) 32%, rgba(58, 32, 31, .12) 62%, rgba(58, 32, 31, 0) 80%);
}
.hero--full .hero__inner { position: relative; width: 100%; }
.hero--full .hero__copy { padding: 48px 0; max-width: 560px; }
.hero--full h1, .hero--full p { text-shadow: 0 1px 18px rgba(30, 15, 15, .25); }
@media (max-width: 800px) {
  .hero.hero--full { align-items: flex-end; min-height: max(520px, calc(100svh - 57px)); }
  .hero.hero--full:has(+ .paylater-band) { min-height: max(480px, calc(100svh - 57px - 149px)); }
  .hero--full .hero__shade { background: linear-gradient(0deg, rgba(58, 32, 31, .88) 0%, rgba(58, 32, 31, .6) 45%, rgba(58, 32, 31, .1) 80%); }
  .hero--full .hero__copy { padding: 40px 0 36px; }
}

/* ---------- Homepage: see-through header over the full-screen photo ---------- */
.home .header {
  position: fixed; top: 0; left: 0; right: 0;
  background: transparent; border-bottom-color: transparent;
  transition: background-color .35s ease, border-color .35s ease;
}
.home .header.is-solid { background: var(--brand); border-bottom-color: rgba(255,255,255,.07); }
.home .header .nav a, .home .header .header__shop-mobile, .home .header .menu-toggle { color: var(--white); }
.home .header .nav a:hover { color: #e6cfc3; }
.home .header .nav a { border-bottom-color: rgba(255,255,255,.16); }
.home .header:not(.is-solid) .nav a, .home .header:not(.is-solid) .header__shop-mobile { text-shadow: 0 1px 10px rgba(30,15,15,.35); }
/* The photo now runs to the very top, behind the header */
.home .hero.hero--full { min-height: max(560px, 100vh); min-height: max(560px, 100svh); }
.home .hero.hero--full:has(+ .paylater-band) { min-height: max(520px, calc(100vh - 68px)); min-height: max(520px, calc(100svh - 68px)); }
/* Extra shade at the top so the white logo and menu read on bright photos */
.home .hero--full .hero__shade::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 180px;
  background: linear-gradient(180deg, rgba(40, 22, 22, .45), rgba(40, 22, 22, 0));
}
/* Headline lines up with the logo */
.home .hero--full .hero__inner { max-width: none; padding-left: clamp(20px, 4vw, 64px); padding-right: clamp(20px, 4vw, 64px); }
.home .hero--full .hero__copy { padding-top: 80px; padding-bottom: 180px; margin-left: clamp(0px, 12vw, 230px); } /* extra space below lifts the headline higher; margin nudges it in from the left */
@media (max-width: 800px) { .home .hero--full .hero__copy { padding-top: 90px; padding-bottom: 36px; margin-left: 0; } }
@media (max-width: 1100px) {
  .home .header .nav { background: var(--brand); }
}
@media (max-width: 800px) {
  .home .hero.hero--full:has(+ .paylater-band) { min-height: max(480px, calc(100svh - 149px)); }
}

/* Tall opening (About page): on wide screens the section grows taller than the screen
   so a portrait photo shows (almost) in full at half width, like on narrower windows */
@media (min-width: 801px) {
  .hero.hero--tall { min-height: max(520px, min(75vw, 115vh)); }
  /* keep the text where it sits on a normal-height opening: centred on the first screen */
  .hero--tall .hero__copy { justify-content: flex-start; padding-top: max(64px, calc((100vh - 87px - 340px) / 2)); }
}

/* ---------- Pay Later band (below the opening section) ---------- */
/* When the band follows the opening section, shorten the section so the band shows on the first screen */
.hero:has(+ .paylater-band) {
  min-height: max(480px, calc(100vh - 87px - 68px));
  min-height: max(480px, calc(100svh - 87px - 68px));
}
.paylater-band { min-height: 68px; display: flex; align-items: center; justify-content: center; }
.paylater-band { background: var(--brand); padding: 22px var(--gutter); text-align: center; }
.paylater-band p { margin: 0; font-size: 15px; color: var(--stone); }
.paylater-band strong { font-weight: 600; color: #d9b9a8; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; margin-right: 12px; }
.paylater-band a { color: var(--white); font-weight: 600; margin-left: 10px; text-underline-offset: 4px; }
@media (max-width: 640px) {
  .paylater-band strong { display: block; margin: 0 0 6px; }
  .paylater-band a { display: block; margin: 8px 0 0; }
}

/* ---------- Split hero ---------- */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  /* Fill the rest of the first screen below the header (~63px) */
  min-height: max(520px, calc(100vh - 87px));
  min-height: max(520px, calc(100svh - 87px));
  background: var(--brand); color: var(--stone);
}
.hero__copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(48px, 7vw, 96px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.hero h1 { color: var(--stone); }
.hero__rule { width: 56px; height: 1px; background: rgba(247,247,245,.5); margin: 4px 0 24px; }
.hero p { font-size: 18px; max-width: 460px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 16px; }
.hero__actions .small { color: rgba(247,247,245,.8); }
.hero__actions .small a { color: var(--stone); }
.hero__img { position: relative; overflow: hidden; }
.hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__img { aspect-ratio: 4 / 3; order: -1; }
  .hero__copy { padding: 48px var(--gutter); }
}

/* ---------- Stats + testimonials ---------- */
.proof { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.stats { display: grid; gap: 28px; }
.stats--row { grid-template-columns: repeat(3, 1fr); }
.stat__num { font-size: 36px; font-weight: 500; color: var(--brand); line-height: 1.1; }
.stat__label { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text); margin-top: 6px; }
.quotes { display: grid; gap: 36px; }
.quote p { font-size: 18px; font-weight: 500; font-style: italic; color: var(--ink); }
.quote cite { font-style: normal; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }

@media (max-width: 800px) {
  .proof { grid-template-columns: 1fr; }
  .stats--row { grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
  .stat__num { font-size: 28px; }
}

/* ---------- Numbered feature grid ---------- */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(40px, 6vw, 96px); grid-auto-flow: column; grid-template-rows: repeat(3, auto); margin-top: 32px; }
.feature { display: grid; grid-template-columns: 40px 1fr; gap: 0 12px; }
.feature__n { font-size: 14px; color: var(--accent); padding-top: 3px; }
.feature h3 { margin-bottom: 6px; }
.feature p { margin: 0; font-size: 15px; }

@media (max-width: 800px) {
  .features { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; gap: 28px; }
}

/* ---------- Photo strip ---------- */
.strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 4px; }
.strip img { width: 100%; height: clamp(240px, 32vw, 460px); object-fit: cover; }
@media (max-width: 800px) {
  .strip { grid-template-columns: 1fr 1fr; }
  .strip img:first-child { grid-column: 1 / -1; }
  .strip img { height: 260px; }
}

/* ---------- Cards (pricing / steps / services) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.card { background: var(--blush); padding: 32px 28px; }
.section--blush .card, .section--stone .card { background: var(--white); }
.card h3 { font-size: 20px; }
.card p:last-child { margin-bottom: 0; }
.card__n { font-size: 14px; color: var(--accent); margin-bottom: 16px; display: block; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Two services (homepage) ---------- */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: 48px; }
.service { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.service__img { overflow: hidden; aspect-ratio: 4 / 5; background: var(--blush); }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service:hover .service__img img { transform: scale(1.03); }
.service__body { padding-top: 28px; }
.service__tag { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.service h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; margin: 8px 0 12px; }
.service p { max-width: 480px; }
@media (max-width: 800px) { .services { grid-template-columns: 1fr; gap: 56px; } }

/* ---------- Split feature (image + copy) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.split__img { position: relative; min-height: 420px; overflow: hidden; }
.split__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__copy { padding: clamp(48px, 7vw, 96px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.split__copy > * { max-width: 520px; }
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .split__img { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ---------- Shop ---------- */
.shop-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.shop-head p { max-width: 560px; margin: 0; }
.collections { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.collection { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; text-decoration: none; background: var(--blush); }
.collection img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.collection:hover img { transform: scale(1.04); }
.collection span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 48px 20px 18px;
  background: linear-gradient(transparent, rgba(20,12,12,.55));
  color: var(--white); font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 16px; margin-top: 56px; }
.product { text-decoration: none; color: inherit; }
.product__img { aspect-ratio: 1; background: var(--stone); overflow: hidden; }
.product__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.product__t { font-size: 15px; margin: 12px 0 2px; }
.product__p { font-size: 14px; color: var(--muted); }
@media (max-width: 1100px) {
  .collections, .products { grid-template-columns: 1fr 1fr; }
}

/* ---------- CTA band + form ---------- */
.cta { text-align: center; }
.cta h2 { max-width: 720px; margin-left: auto; margin-right: auto; }
.cta .lede { margin: 0 auto 32px; }
.form { max-width: 760px; margin: 0 auto; text-align: left; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form input, .form textarea, .form select {
  width: 100%; font: 400 15px/1.4 var(--font);
  padding: 14px 16px; border: 1px solid rgba(247,247,245,.35);
  background: rgba(255,255,255,.06); color: var(--stone);
}
.form select option { color: var(--ink); }
.form input::placeholder, .form textarea::placeholder { color: rgba(247,247,245,.65); }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--cream); outline-offset: 1px; }
.form__submit { text-align: center; margin-top: 20px; }
.form .hidden { display: none; }
@media (max-width: 640px) { .form__grid { grid-template-columns: 1fr; } }

.quote--feature { max-width: 860px; margin: 0 auto; text-align: center; }
.quote--feature p { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.5; }

/* ---------- Projects gallery ---------- */
.project-filters { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 8px 0 36px; }
.project-filters button {
  background: none; border: 0; padding: 6px 0; cursor: pointer;
  font: 500 13px var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid transparent;
}
.project-filters button:hover { color: var(--brand); }
.project-filters button[aria-pressed="true"] { color: var(--brand); border-bottom-color: var(--brand); }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 20px; }
.project { display: block; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.project__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--blush); }
.project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; transform: scale(var(--zoom, 1)); transform-origin: var(--origin, 50% 50%); }
.project:hover .project__img img, .project:focus-visible .project__img img { transform: scale(calc(var(--zoom, 1) * 1.04)); }
.project:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.project__meta { display: block; margin-top: 16px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.project__title { display: block; margin-top: 6px; font-size: 18px; font-weight: 500; color: var(--ink); }
.project__count { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.projects-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.projects-head h2 { margin: 0; }
@media (max-width: 900px) { .projects { grid-template-columns: 1fr 1fr; gap: 32px 14px; } .project__title { font-size: 16px; } }
@media (max-width: 520px) { .projects { grid-template-columns: 1fr; } }

/* Photo viewer */
.viewer {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(30, 18, 18, .96); color: var(--stone);
  align-items: center; justify-content: center; padding: 56px 72px;
}
.viewer.is-open { display: flex; }
.viewer__fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.viewer__fig img { max-width: 100%; max-height: calc(100vh - 190px); width: auto; height: auto; object-fit: contain; }
.viewer__cap { margin-top: 16px; text-align: center; max-width: 640px; font-size: 14px; line-height: 1.5; }
.viewer__cap strong { display: block; font-size: 16px; font-weight: 500; color: var(--white); }
.viewer__cap span { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #d9b9a8; margin-top: 4px; }
.viewer__cap em { display: block; font-style: normal; margin-top: 8px; color: rgba(247,247,245,.85); }
.viewer__close, .viewer__nav {
  position: absolute; background: none; border: 0; color: var(--white); cursor: pointer; line-height: 1;
}
.viewer__close { top: 14px; right: 20px; font-size: 40px; padding: 6px 10px; }
.viewer__nav { top: 50%; transform: translateY(-50%); font-size: 56px; padding: 10px 18px; opacity: .8; }
.viewer__nav:hover, .viewer__close:hover { opacity: 1; color: #f3e3da; }
.viewer__prev { left: 8px; }
.viewer__next { right: 8px; }
@media (max-width: 640px) {
  .viewer { padding: 56px 12px 24px; }
  .viewer__nav { top: auto; bottom: 18px; transform: none; font-size: 44px; }
  .viewer__fig img { max-height: calc(100vh - 230px); }
}

/* ---------- Simple page header ---------- */
.page-head { padding: clamp(56px, 8vw, 104px) 0; }
.page-head h1 { color: var(--stone); }
.page-head .lede { color: rgba(247,247,245,.9); margin: 0; }

/* ---------- About story ---------- */
.story { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); }
.story p { font-size: 17px; }
@media (max-width: 800px) { .story { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact h2 { margin-bottom: 28px; }
.contact__info { display: grid; gap: 32px; padding-top: 8px; }
.contact__block h3 { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.contact__block p { margin-bottom: 8px; }
.contact__block a:not(.link-arrow) { text-decoration: none; color: var(--ink); }
.contact__block a:not(.link-arrow):hover { color: var(--brand); }
.form--light { max-width: none; margin: 0; }
.form--light input, .form--light textarea, .form--light select {
  border-color: var(--line); background: var(--white); color: var(--ink);
}
.form--light input::placeholder, .form--light textarea::placeholder { color: var(--muted); }
.form--light input:focus, .form--light textarea:focus, .form--light select:focus { outline-color: var(--brand); }
.form__submit--left { text-align: left; }
.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.4); }
@media (max-width: 800px) { .contact { grid-template-columns: 1fr; } .map iframe { height: 320px; } }

/* ---------- Footer ---------- */
.footer { background: var(--blush); color: var(--text); padding: 72px 0 32px; font-size: 14px; }
.footer a { text-decoration: none; color: var(--text); }
.footer a:hover { color: var(--brand); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; }
.footer__logo { --logo-h: 37px; margin-bottom: 22px; }
.footer h4 { color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__base { border-top: 1px solid #ddcdc5; margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr 1fr; } .footer__grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */
@media (max-width: 640px) { .br-wide { display: none; } } /* line breaks for wider screens only */
.center { text-align: center; }
.mt-lg { margin-top: 48px; }
.note { font-size: 15px; color: var(--muted); margin-top: 32px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }

/* ---------- Blush header on the main website (shop pages keep the burgundy header: see css/shop.css) ---------- */
.header { background: var(--blush, #f0e6e1); border-bottom-color: rgba(86, 51, 49, .08); }
.header .logo__on-light { display: block; }
.header .logo__on-dark { display: none; }
.nav a, .header__shop-mobile, .menu-toggle { color: var(--brand); }
.nav a:hover { color: var(--accent); }
@media (max-width: 1100px) {
  .nav { background: var(--blush, #f0e6e1); border-bottom-color: rgba(86, 51, 49, .1); }
  .nav a { border-bottom-color: rgba(86, 51, 49, .12); }
}
/* Homepage: header stays see-through with white text over the photo, then turns blush once you scroll */
.home .header:not(.is-solid) .logo__on-light { display: none; }
.home .header:not(.is-solid) .logo__on-dark { display: block; }
.home .header.is-solid { background: var(--blush, #f0e6e1); border-bottom-color: rgba(86, 51, 49, .08); }
.home .header.is-solid .nav a, .home .header.is-solid .header__shop-mobile, .home .header.is-solid .menu-toggle { color: var(--brand); }
.home .header.is-solid .nav a:hover { color: var(--accent); }
@media (max-width: 1100px) {
  .home .header .nav { background: var(--blush, #f0e6e1); }
  .home .header .nav a { color: var(--brand); text-shadow: none; border-bottom-color: rgba(86, 51, 49, .12); }
}

/* ---------- "Book a free quote" menu button + pop-up ---------- */
.nav a.nav__quote { border: 1px solid currentColor; padding: 9px 16px; margin-left: -6px; }
.nav a.nav__quote:hover { background: var(--brand); border-color: var(--brand); color: var(--white); }
.home .header:not(.is-solid) .nav a.nav__quote:hover
  { background: var(--white); border-color: var(--white); color: var(--brand); }
@media (max-width: 1100px) {
  .nav a.nav__quote { border: 0; border-bottom: 1px solid; padding: 15px 0; margin: 0; font-weight: 600; }
  .nav a.nav__quote:hover { background: none; color: var(--accent); }
}
.quote-dialog { width: min(640px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; background: var(--stone); color: var(--ink); box-shadow: 0 24px 80px rgba(30,15,15,.35); overflow: auto; }
.quote-dialog::backdrop { background: rgba(44,26,26,.55); }
.quote-dialog__body { padding: clamp(28px, 5vw, 48px); }
.quote-dialog h2 { font-size: clamp(26px, 3vw, 34px); margin: 8px 0 10px; color: var(--brand); }
.quote-dialog__intro { color: var(--muted); margin-bottom: 24px; }
.quote-dialog__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; padding: 8px; border: 0; background: none; color: var(--brand); cursor: pointer; }
.quote-dialog__close svg { width: 100%; height: 100%; }
.quote-dialog__error { color: #a3312b; margin-top: 12px; }
.quote-dialog__thanks p { margin-bottom: 24px; }
body:has(.quote-dialog[open]) { overflow: hidden; }
/* With the quote button the menu is wider, so keep the logo full size and tighten the menu on smaller laptops */
.header .logo { flex-shrink: 0; }
@media (min-width: 1101px) and (max-width: 1380px) {
  .nav { gap: clamp(14px, calc(1.2vw + 2px), 22px); margin-right: 0; }
  .nav a { font-size: 11.5px; letter-spacing: .08em; }
  .nav a.nav__quote { padding: 8px 12px; margin-left: 0; }
}
/* Quote button outline: one even, light line on all four sides (overrides the menu's own bottom-line colours) */
@media (min-width: 1101px) {
  .header .nav a.nav__quote, .home .header .nav a.nav__quote { border: 1px solid rgba(86, 51, 49, .12); }
  .home .header:not(.is-solid) .nav a.nav__quote { border-color: rgba(255, 255, 255, .28); }
  .header .nav a.nav__quote:hover { border-color: var(--brand); }
  .home .header:not(.is-solid) .nav a.nav__quote:hover { border-color: var(--white); }
}
