/* =========================================================
   North House Medical Clinic — Brand Proposal
   Design system
   ========================================================= */

:root {
  /* Client palette */
  --espresso: #4a4036;   /* Warm Espresso Brown — logo, headings, key elements */
  --ivory:    #f7f4ef;   /* Soft Ivory/Cream — backgrounds */
  --stone:    #d8d0c5;   /* Warm Stone — secondary backgrounds */
  --taupe:    #b3a79a;   /* Taupe — icons, borders, supporting graphics */
  --green:    #2f3a34;   /* Deep Botanical Green — accent, CTAs, foliage */

  /* Supporting metallic drawn from the interior materials (walnut + brass) */
  --brass:    #a9885e;
  --brass-lt: #c6a878;

  /* Functional */
  --ink:      #2c2620;
  --muted:    #7d7266;
  --line:     rgba(74, 64, 54, 0.16);
  --line-soft:rgba(74, 64, 54, 0.09);
  --white:    #fffdf9;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--espresso);
  margin: 0;
  line-height: 1.1;
}

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

/* ---------- Shared layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.section--stone { background: var(--stone); }
.section--espresso { background: var(--espresso); color: var(--ivory); }
.section--green { background: var(--green); color: var(--ivory); }
.section--espresso h1,.section--espresso h2,.section--espresso h3,.section--espresso h4,
.section--green h1,.section--green h2,.section--green h3,.section--green h4 { color: var(--ivory); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--brass);
  display: inline-block;
}
.section--espresso .eyebrow, .section--green .eyebrow { color: var(--brass-lt); }
.section--espresso .eyebrow::before, .section--green .eyebrow::before { background: var(--brass-lt); }

.section-title {
  font-size: clamp(30px, 4.4vw, 52px);
  letter-spacing: 0.01em;
  max-width: 20ch;
  margin-bottom: 26px;
}
.lead {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--muted);
  max-width: 62ch;
  font-weight: 300;
}
.section--espresso .lead, .section--green .lead { color: rgba(247,244,239,0.78); }

.sec-index {
  position: absolute;
  top: clamp(28px, 5vw, 54px);
  right: var(--gutter);
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--taupe);
  letter-spacing: 0.1em;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,244,239,0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav__brand {
  font-family: var(--serif); font-size: 20px; letter-spacing: 0.22em;
  color: var(--espresso); text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.nav__links { display: flex; gap: 26px; flex-wrap: wrap; }
.nav__links a {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color .2s;
}
.nav__links a:hover { color: var(--green); }
@media (max-width: 860px) { .nav__links { display: none; } }

/* ---------- Hero / cover ---------- */
.cover {
  min-height: 94vh;
  display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(120% 80% at 80% 10%, rgba(169,136,94,0.10), transparent 60%),
    linear-gradient(180deg, var(--ivory), #efe9e0);
  position: relative; overflow: hidden;
}
.cover__arch {
  position: absolute; right: -6%; bottom: -8%;
  width: min(48vw, 560px); opacity: 0.5; pointer-events: none;
}
.cover__inner { position: relative; z-index: 2; }
.cover__monogram { width: 96px; height: auto; margin-bottom: 40px; }
.cover h1 {
  font-size: clamp(46px, 9vw, 118px);
  letter-spacing: 0.06em;
  line-height: 0.98;
  margin-bottom: 8px;
}
.cover__sub {
  font-family: var(--sans); font-weight: 300;
  letter-spacing: 0.5em; text-transform: uppercase;
  font-size: clamp(12px, 1.6vw, 16px); color: var(--brass);
  margin: 14px 0 40px; padding-left: 6px;
}
.cover__essence {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(20px, 2.6vw, 30px); color: var(--espresso);
  max-width: 24ch; line-height: 1.3;
}
.cover__meta {
  margin-top: 54px; display: flex; gap: 40px; flex-wrap: wrap;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.cover__meta span { display: block; color: var(--espresso); font-size: 14px; letter-spacing: 0.08em; margin-top: 6px; text-transform: none; }

/* ---------- Palette strip ---------- */
.palette-strip { display: flex; height: 10px; }
.palette-strip > span { flex: 1; }

/* ---------- Generic grids ---------- */
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.mt-lg { margin-top: clamp(40px, 6vw, 72px); }
.mt-md { margin-top: 34px; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  padding: 34px 30px;
  border-radius: 2px;
}
.card h3 { font-size: 24px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15.5px; margin-bottom: 0; }
.card__num {
  font-family: var(--serif); font-style: italic; color: var(--brass);
  font-size: 18px; margin-bottom: 14px;
}

.pillar { border-top: 2px solid var(--green); }

/* ---------- Two column feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.split--rev { grid-template-columns: 0.95fr 1.05fr; }
@media (max-width: 860px) { .split, .split--rev { grid-template-columns: 1fr; } }
.split img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; display: block; }

.figure { position: relative; }
.figure img { width: 100%; display: block; border-radius: 2px; }
.figure figcaption {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-top: 12px;
}

/* ---------- Audience list ---------- */
.deflist { list-style: none; margin: 0; padding: 0; }
.deflist li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 200px 1fr; gap: 24px; }
.deflist li:first-child { border-top: 1px solid var(--line); }
.deflist dt { font-family: var(--serif); font-size: 21px; color: var(--espresso); }
.deflist dd { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 640px) { .deflist li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Moodboard ---------- */
.mood {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
}
.mood figure { margin: 0; overflow: hidden; border-radius: 2px; position: relative; }
.mood img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.mood figure:hover img { transform: scale(1.04); }
.mood .tall { grid-row: span 2; }
.mood .wide { grid-column: span 2; }
.mood figcaption {
  position: absolute; left: 14px; bottom: 12px;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
@media (max-width: 900px) { .mood { grid-template-columns: repeat(2, 1fr); } .mood .wide { grid-column: span 2; } }

/* ---------- Logo showcase ---------- */
.logo-stage {
  background: var(--ivory); border: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: center;
  padding: 64px 30px; border-radius: 2px; min-height: 230px;
}
.logo-stage--dark { background: var(--espresso); }
.logo-stage--green { background: var(--green); }
.logo-note { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 14px; text-align: center; }

/* ---------- Palette detail ---------- */
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .swatches { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .swatches { grid-template-columns: 1fr; } }
.swatch { border: 1px solid var(--line-soft); border-radius: 2px; overflow: hidden; background: var(--white); }
.swatch__chip { height: 118px; }
.swatch__body { padding: 16px 18px 20px; }
.swatch__name { font-family: var(--serif); font-size: 19px; color: var(--espresso); }
.swatch__hex { font-size: 12px; letter-spacing: 0.16em; color: var(--brass); text-transform: uppercase; margin: 4px 0 8px; }
.swatch__use { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Type specimen ---------- */
.type-spec { border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.type-row { padding: 30px clamp(22px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.type-row:last-child { border-bottom: 0; }
.type-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); margin-bottom: 16px; }
.type-display { font-family: var(--serif); font-size: clamp(34px, 6vw, 68px); color: var(--espresso); line-height: 1; }
.type-alpha { font-family: var(--serif); font-size: 26px; letter-spacing: 0.04em; color: var(--muted); }
.type-body-sample { font-family: var(--sans); font-weight: 300; color: var(--ink); max-width: 58ch; }
.type-meta { font-family: var(--sans); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Application mocks ---------- */
.browser {
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(74,64,54,0.4); background: #fff;
}
.browser__bar { background: #ece6dc; padding: 11px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line-soft); }
.browser__dot { width: 10px; height: 10px; border-radius: 50%; background: #c9bfb1; }
.browser__url { margin-left: 14px; font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
.hero-mock { position: relative; min-height: 440px; display: flex; align-items: flex-end; color: #fff; }
.hero-mock img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-mock__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(44,38,32,0.15), rgba(44,38,32,0.72)); }
.hero-mock__content { position: relative; z-index: 2; padding: clamp(30px, 5vw, 64px); }
.hero-mock__content .kicker { letter-spacing: 0.4em; text-transform: uppercase; font-size: 12px; color: var(--brass-lt); margin-bottom: 18px; }
.hero-mock__content h3 { color: #fff; font-size: clamp(30px, 5vw, 58px); line-height: 1.02; max-width: 16ch; }
.hero-mock__content p { color: rgba(255,255,255,0.85); max-width: 44ch; margin-top: 16px; }
.btn-ghost {
  display: inline-block; margin-top: 26px; padding: 13px 30px;
  border: 1px solid rgba(255,255,255,0.6); color: #fff; text-decoration: none;
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
}

/* Instagram tiles */
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 720px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }
.ig {
  aspect-ratio: 1/1; border-radius: 2px; overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 22px;
}
.ig--espresso { background: var(--espresso); color: var(--ivory); }
.ig--green { background: var(--green); color: var(--ivory); }
.ig--stone { background: var(--stone); color: var(--espresso); }
.ig--photo { padding: 0; }
.ig--photo img { width: 100%; height: 100%; object-fit: cover; }
.ig__kicker { position: absolute; top: 18px; left: 0; right: 0; font-size: 9.5px; letter-spacing: 0.32em; text-transform: uppercase; opacity: 0.8; }
.ig__title { font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); line-height: 1.12; }
.ig__foot { position: absolute; bottom: 16px; left: 0; right: 0; font-size: 9px; letter-spacing: 0.34em; text-transform: uppercase; opacity: 0.7; }
.ig svg { display: block; }

/* Highlight covers */
.highlights { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.hl { text-align: center; }
.hl__circle {
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--ivory); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 10px;
}
.hl__circle--green { background: var(--green); }
.hl__circle--espresso { background: var(--espresso); }
.hl__label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

/* Gift voucher */
.voucher {
  aspect-ratio: 1.6/1; border-radius: 4px; padding: clamp(24px, 4vw, 42px);
  background: linear-gradient(135deg, var(--green), #253029);
  color: var(--ivory); position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 30px 60px -34px rgba(47,58,52,0.7);
}
.voucher__arch { position: absolute; right: -40px; top: -30px; opacity: 0.18; width: 260px; }
.voucher__top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 2; }
.voucher__brand { font-family: var(--serif); letter-spacing: 0.22em; text-transform: uppercase; font-size: 18px; }
.voucher__brand small { display: block; font-size: 9px; letter-spacing: 0.4em; opacity: 0.7; margin-top: 4px; }
.voucher__value { text-align: right; }
.voucher__value b { font-family: var(--serif); font-size: 40px; font-weight: 500; display: block; line-height: 1; }
.voucher__value span { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.75; }
.voucher__mid { position: relative; z-index: 2; }
.voucher__mid h4 { color: var(--ivory); font-size: clamp(24px, 4vw, 36px); font-style: italic; font-weight: 500; }
.voucher__foot { position: relative; z-index: 2; display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.7; }

/* ---------- Positioning map ---------- */
.map {
  position: relative; border: 1px solid var(--line); border-radius: 2px;
  background: var(--white); aspect-ratio: 1.35/1; margin-top: 20px;
}
.map__axis { position: absolute; background: var(--line); }
.map__axis--x { left: 8%; right: 8%; top: 50%; height: 1px; }
.map__axis--y { top: 8%; bottom: 8%; left: 50%; width: 1px; }
.map__cap { position: absolute; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.map__cap--t { top: 12px; left: 50%; transform: translateX(-50%); }
.map__cap--b { bottom: 12px; left: 50%; transform: translateX(-50%); }
.map__cap--l { left: 14px; top: 50%; transform: translateY(-50%) rotate(-90deg); transform-origin: left center; }
.map__cap--r { right: 14px; top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: right center; }
.dot { position: absolute; transform: translate(-50%, -50%); text-align: center; }
.dot i {
  width: 12px; height: 12px; border-radius: 50%; background: var(--taupe);
  display: block; margin: 0 auto 7px; font-style: normal;
}
.dot span { font-size: 11.5px; color: var(--muted); letter-spacing: 0.04em; white-space: nowrap; }
.dot--us i { width: 18px; height: 18px; background: var(--green); box-shadow: 0 0 0 6px rgba(47,58,52,0.14); }
.dot--us span { color: var(--espresso); font-family: var(--serif); font-size: 15px; font-style: italic; }

/* ---------- Competitor table ---------- */
.ctable { width: 100%; border-collapse: collapse; margin-top: 8px; }
.ctable th, .ctable td { text-align: left; padding: 18px 18px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.ctable th { font-family: var(--sans); font-weight: 400; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); }
.ctable td:first-child { font-family: var(--serif); font-size: 19px; color: var(--espresso); width: 24%; }
.ctable td { color: var(--muted); }
.ctable tr:last-child td { border-bottom: 0; }
@media (max-width: 760px) {
  .ctable, .ctable tbody, .ctable tr, .ctable td { display: block; width: 100%; }
  .ctable thead { display: none; }
  .ctable tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .ctable td { border: 0; padding: 4px 0; }
  .ctable td:first-child { padding-top: 14px; }
}

/* ---------- Pricing ---------- */
.ptable { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.ptable th, .ptable td { padding: 20px 22px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ptable thead th { font-family: var(--sans); font-weight: 400; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); background: var(--ivory); }
.ptable td:first-child { font-family: var(--serif); font-size: 20px; color: var(--espresso); width: 26%; }
.ptable td p { margin: 0; color: var(--muted); font-size: 14.5px; }
.ptable td.price { font-family: var(--serif); font-size: 20px; color: var(--green); text-align: right; white-space: nowrap; width: 14%; }
.ptable tfoot td { border-bottom: 0; background: var(--ivory); }
.ptable tfoot .total { font-family: var(--serif); font-size: 15px; color: var(--espresso); letter-spacing: 0.02em; }
.ptable tfoot .total b { color: var(--green); font-size: 24px; }
@media (max-width: 760px) {
  .ptable, .ptable thead, .ptable tbody, .ptable tfoot, .ptable tr, .ptable th, .ptable td { display: block; width: 100%; }
  .ptable thead { display: none; }
  .ptable td { border: 0; padding: 3px 22px; }
  .ptable td:first-child { padding-top: 20px; }
  .ptable td.price { text-align: left; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
}

.callout {
  background: var(--white); border: 1px solid var(--line-soft); border-left: 3px solid var(--brass);
  padding: 26px 30px; border-radius: 2px;
}
.callout h4 { font-size: 20px; margin-bottom: 8px; }
.callout p { color: var(--muted); font-size: 15px; margin-bottom: 0; }

.chip {
  display: inline-block; padding: 7px 16px; border: 1px solid var(--line); border-radius: 40px;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 8px 10px 0;
}

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.timeline li { position: relative; padding: 0 0 40px 56px; }
.timeline li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -4px;
  font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--brass);
}
.timeline li::after {
  content: ""; position: absolute; left: 12px; top: 26px; bottom: 6px; width: 1px; background: var(--line);
}
.timeline li:last-child::after { display: none; }
.timeline h4 { font-size: 22px; margin-bottom: 6px; }
.timeline p { color: var(--muted); font-size: 15px; margin: 0; }
.section--espresso .timeline p { color: rgba(247,244,239,0.72); }
.section--espresso .timeline li::after { background: rgba(247,244,239,0.2); }

/* ---------- Footer ---------- */
.foot { padding: 70px 0 60px; text-align: center; }
.foot__mono { width: 64px; margin: 0 auto 22px; }
.foot h3 { font-size: 28px; letter-spacing: 0.06em; }
.foot p { color: rgba(247,244,239,0.7); margin-top: 10px; }
.foot small { display: block; margin-top: 34px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(247,244,239,0.45); }

/* utilities */
.center { text-align: center; }
.muted-sm { font-size: 13.5px; color: var(--muted); }
.divider-arch { display: block; margin: 0 auto; width: 60px; opacity: 0.6; }

/* ============================================================
   CONCEPT 2 — additional components
   ============================================================ */

/* Version badge on cover */
.badge-v {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 40px;
  padding: 8px 18px; margin-bottom: 26px;
  font-family: var(--sans); font-weight: 400; font-size: 11px;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--brass);
}
.badge-v b { color: var(--espresso); font-weight: 500; }

/* Value / "what's already gone in" numbered list */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 4px; overflow: hidden; }
.value-grid .val { background: var(--white); padding: 26px 28px; display: flex; gap: 18px; align-items: flex-start; }
.val__n { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--brass); line-height: 1; padding-top: 2px; }
.val h4 { font-size: 18px; margin: 0 0 5px; }
.val p { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 720px) { .value-grid { grid-template-columns: 1fr; } }

/* Material palette (named textures) */
.materials { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.mat { text-align: center; }
.mat__chip { aspect-ratio: 1/1; border-radius: 4px; border: 1px solid var(--line-soft); margin-bottom: 10px; box-shadow: inset 0 -18px 30px -20px rgba(0,0,0,0.25); }
.mat__name { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
@media (max-width: 900px) { .materials { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .materials { grid-template-columns: repeat(3, 1fr); } }

/* Reference boards */
.boards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.boards figure { margin: 0; }
.boards img { width: 100%; border-radius: 4px; border: 1px solid rgba(247,244,239,0.14); display: block; }
.boards figcaption { margin-top: 12px; font-size: 12px; letter-spacing: 0.04em; color: rgba(247,244,239,0.6); }
@media (max-width: 820px) { .boards { grid-template-columns: 1fr; } }

/* Holmfirth logo concept tiles */
.concepts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.concept { border: 1px solid var(--line); border-radius: 4px; padding: 30px 26px; background: var(--white); }
.concept__icon { height: 66px; display: flex; align-items: flex-end; margin-bottom: 20px; }
.concept__icon svg { display: block; }
.concept h4 { font-size: 19px; margin: 0 0 6px; }
.concept p { font-size: 13.5px; color: var(--muted); margin: 0; }
@media (max-width: 820px) { .concepts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .concepts { grid-template-columns: 1fr; } }

/* ---------- The Building: room-by-room before → after ---------- */
.spaces { display: grid; gap: 40px; }
.space {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 5px; overflow: hidden; background: var(--white);
}
.space:nth-child(even) { grid-template-columns: 1fr 1.35fr; }
.space:nth-child(even) .space__media { order: 2; }
.space__media { position: relative; background: var(--stone); min-height: 320px; }
.space__media > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.space__before {
  position: absolute; right: 16px; bottom: 16px; width: 33%; max-width: 190px;
  border: 3px solid var(--white); border-radius: 3px; box-shadow: 0 14px 30px -12px rgba(0,0,0,0.5); overflow: hidden;
}
.space__before img { width: 100%; display: block; }
.space__before span {
  position: absolute; top: 0; left: 0; background: var(--espresso); color: var(--ivory);
  font-size: 8.5px; letter-spacing: 0.18em; text-transform: uppercase; padding: 3px 8px;
}
.space__body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.space__tag { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass); margin-bottom: 12px; }
.space__body h3 { font-family: var(--serif); font-weight: 500; color: var(--espresso); font-size: clamp(24px, 3vw, 32px); margin: 0 0 14px; line-height: 1.1; }
.space__body p { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.space__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.space__list li { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 40px; padding: 6px 13px; }
@media (max-width: 860px) {
  .space, .space:nth-child(even) { grid-template-columns: 1fr; }
  .space:nth-child(even) .space__media { order: 0; }
  .space__body { padding: 30px 26px; }
}

/* Scent feature */
.scent { display: grid; grid-template-columns: 64px 1fr; gap: 26px; align-items: start; }
.scent__ic { width: 64px; }
.scent h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; color: var(--espresso); margin: 0 0 10px; }
.scent p { color: var(--muted); margin: 0; max-width: 62ch; }
@media (max-width: 560px) { .scent { grid-template-columns: 1fr; } }
