/* ============================================================
   Beyond The Brush Painters — design system
   Palette: warm plaster / deep ink / ochre gold
   Type:    Fraunces (display) + Instrument Sans (body)
   ============================================================ */

:root {
  /* colour tokens */
  --bg:          #FAF5EE;
  --bg-deep:     #1A1613;
  --surface:     #FFFDF8;
  --ink:         #1C1814;
  --ink-soft:    #5C544A;
  --ink-faint:   #8A8177;
  --gold:        #A16207;   /* text-safe on --bg (4.5:1) */
  --gold-bright: #C9862B;   /* large decorative only */
  --cream:       #EFE6D3;
  --line:        #E4DACB;
  --line-dark:   #372F28;
  --muted:       #F2EBE0;

  /* type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", -apple-system, "Segoe UI", sans-serif;

  /* spacing scale — spacious (density 3) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --space-7: clamp(6rem, 12vw, 10rem);

  --radius: 2px;
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* plaster grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
em { font-style: italic; }

::selection { background: var(--gold); color: #fff; }

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

.skip-link {
  position: fixed;
  top: -100%;
  left: var(--space-2);
  z-index: 10001;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: var(--space-2); }

/* ---------- typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
}
h2 em, h1 em { color: var(--gold); }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
}
.eyebrow--light { color: var(--gold-bright); }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  overflow: hidden;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.2s var(--ease-out);
  cursor: pointer;
}
.btn:active { transform: scale(0.97); }

.btn--fill {
  background: var(--ink);
  color: var(--bg);
  z-index: 0;
}
.btn--fill::before {
  content: "";
  position: absolute;
  inset: -1px -15%;
  z-index: -1;
  background: var(--gold);
  transform: translateX(-115%) skewX(-12deg);
  transition: transform 0.45s var(--ease-out);
}
.btn--fill:hover::before, .btn--fill:focus-visible::before { transform: translateX(0) skewX(0); }
.btn--fill:hover { color: #fff; }

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--gold); color: var(--gold); }

/* ---------- intro curtain ---------- */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none; /* enabled by JS so no-JS visitors never see it */
  align-items: center;
  justify-content: center;
  background: var(--bg-deep);
  color: var(--gold-bright);
}
.curtain.is-active { display: flex; }
.curtain__mark { width: clamp(3rem, 8vw, 5rem); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: transform 0.4s var(--ease-out), background-color 0.4s, box-shadow 0.4s;
}
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  margin-right: auto;
}
.brand__mark { width: 2rem; color: var(--gold); flex-shrink: 0; }
.brand__word {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.brand__word em {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.nav__links { display: flex; gap: var(--space-3); }
.nav__links a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.5rem 0;
  transition: color 0.25s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0.2rem;
  width: 100%; height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__phone { min-height: 2.75rem; padding: 0.6rem 1.4rem; font-size: 0.875rem; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px; height: 44px;
  align-items: center;
}
.nav__burger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out), opacity 0.3s;
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-5);
  padding: var(--gutter);
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu__links { display: flex; flex-direction: column; gap: var(--space-2); }
.menu__links a {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 9vw, 3.5rem);
  text-decoration: none;
  line-height: 1.15;
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.5s;
}
.menu.is-open .menu__links a { transform: translateY(0); opacity: 1; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 0.05s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: 0.1s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 0.15s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: 0.2s; }
.menu.is-open .menu__links a:nth-child(6) { transition-delay: 0.25s; }
.menu__links a:hover { color: var(--gold); }
.menu__meta { display: flex; flex-direction: column; gap: 0.5rem; color: var(--ink-soft); }
.menu__meta a { text-decoration: none; font-weight: 500; }

/* ---------- layout helpers ---------- */
.section {
  max-width: var(--container);
  margin-inline: auto;
  padding: var(--space-7) var(--gutter);
}
.section__head { margin-bottom: var(--space-6); }

/* ---------- hero ---------- */
.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(7rem, 16vh, 10rem) var(--gutter) var(--space-4);
  position: relative;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--space-6);
  align-items: center;
  flex: 1;
}

.hero__title {
  font-size: clamp(2.5rem, 5.9vw, 5.25rem);
  font-weight: 500;
  margin-bottom: var(--space-4);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; white-space: nowrap; }
.hero__title .line__inner { display: inline-block; position: relative; }
.line__inner--accent em { color: var(--gold); }

.stroke {
  position: absolute;
  left: 0; bottom: -0.12em;
  width: 100%;
  height: 0.18em;
  color: var(--gold-bright);
  opacity: 0.55;
  pointer-events: none;
}
.stroke path { stroke-dasharray: 320; stroke-dashoffset: 0; }

.hero__sub {
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  margin-bottom: var(--space-4);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* swatch stack */
.hero__visual {
  position: relative;
  height: clamp(320px, 44vw, 520px);
}
.swatch {
  position: absolute;
  width: clamp(150px, 17vw, 230px);
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  box-shadow: 0 24px 48px -18px rgba(28, 24, 20, 0.35);
  display: flex;
  align-items: flex-end;
  padding: 0.9rem 1rem;
  transition: transform 0.5s var(--ease-out);
}
.swatch span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.swatch:hover { transform: translateY(-8px) rotate(0deg) !important; }
.swatch--1 { background: #EFE6D3; color: #1C1814; top: 4%;  left: 2%;  transform: rotate(-7deg); z-index: 1; }
.swatch--2 { background: #AEBFC5; color: #16191A; top: 16%; left: 34%; transform: rotate(4deg);  z-index: 2; }
.swatch--3 { background: #33473C; color: #F4F1EA; top: 40%; left: 10%; transform: rotate(-3deg); z-index: 3; }
.swatch--4 { background: #B4552D; color: #FBF3EC; top: 50%; left: 44%; transform: rotate(6deg);  z-index: 4; }

.hero__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-faint);
}
.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero__scroll svg { width: 10px; }

/* ---------- marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 1.1rem 0;
  background: var(--surface);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  white-space: nowrap;
  color: var(--ink-soft);
}
.marquee__track i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-bright);
  flex-shrink: 0;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ---------- services ---------- */
.services__list { border-top: 1px solid var(--line); }

.service { border-bottom: 1px solid var(--line); }
.service__row {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1.1fr) minmax(0, 1.4fr) 3rem;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  text-decoration: none;
  position: relative;
  transition: padding-left 0.4s var(--ease-out);
}
.service__row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--muted);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease-out);
  z-index: -1;
}
.service__row:hover::before { transform: scaleY(1); transform-origin: top; }
.service__row:hover { padding-left: var(--space-3); }

.service__num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.05rem;
}
.service__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.1;
}
.service__desc { color: var(--ink-soft); font-size: 0.975rem; }
.service__arrow {
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  justify-self: end;
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.4s var(--ease-out);
}
.service__arrow svg { width: 1.1rem; }
.service__row:hover .service__arrow {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: rotate(-45deg);
}

/* ---------- craft (dark) ---------- */
.craft {
  max-width: none;
  background: var(--bg-deep);
  color: #EFE9E0;
}
.craft__inner { max-width: var(--container); margin-inline: auto; }
.craft h2 { color: #F7F2E9; }
.craft h2 em { color: var(--gold-bright); }
.craft__lede {
  max-width: 40rem;
  margin-top: var(--space-3);
  color: #B9AFA2;
  font-size: 1.1rem;
}

.craft__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-block: 1px solid var(--line-dark);
  margin-bottom: var(--space-6);
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: #B9AFA2;
}

.craft__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5) var(--space-4);
}
.craft__grid svg {
  width: 2rem;
  color: var(--gold-bright);
  margin-bottom: var(--space-2);
}
.craft__grid h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: #F7F2E9;
}
.craft__grid p { color: #B9AFA2; font-size: 0.95rem; }

.craft__note {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: #D8CFC2;
  text-align: center;
}
.craft__note em { color: var(--gold-bright); }

/* ---------- process ---------- */
.process__list {
  position: relative;
  display: grid;
  gap: var(--space-5);
  padding-left: clamp(2.5rem, 6vw, 4rem);
}
.process__line {
  position: absolute;
  left: 0.7rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: var(--line);
}
.process__line-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: start;
  max-width: 46rem;
}
.step::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(2.5rem, 6vw, 4rem) + 0.7rem - 4.5px);
  top: 0.65rem;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
}
.step__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1.3;
}
.step h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin-bottom: 0.4rem; }
.step p { color: var(--ink-soft); }

/* ---------- reviews ---------- */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.review:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px -22px rgba(28, 24, 20, 0.25);
}
.review blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.4;
  flex: 1;
}
.review figcaption {
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.review figcaption span {
  font-weight: 400;
  color: var(--ink-faint);
  font-size: 0.8rem;
}

/* ---------- contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: var(--space-6);
  align-items: start;
}
.contact__lede { color: var(--ink-soft); margin: var(--space-3) 0 var(--space-5); max-width: 30rem; }

.contact__details { display: grid; gap: var(--space-3); }
.contact__details div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: var(--space-2);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
}
.contact__details dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: 0.2rem;
}
.contact__details dd a { text-decoration: none; font-weight: 500; }
.contact__details dd a:hover { color: var(--gold); }

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  display: grid;
  gap: var(--space-3);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.field { display: grid; gap: 0.45rem; }
.field label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.field label span { color: var(--gold); }
.field input, .field select, .field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  min-height: 3rem;
  width: 100%;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 18%, transparent);
}
.field input[aria-invalid="true"] { border-color: #B3261E; }

.form__error { color: #B3261E; font-size: 0.9rem; }
.form__success { color: #3D6B44; font-size: 0.9rem; }
.form__submit { width: 100%; }

/* ---------- subpage hero ---------- */
.page-hero {
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(8.5rem, 18vh, 11rem) var(--gutter) var(--space-5);
}
.page-hero h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  margin-bottom: var(--space-3);
  max-width: 16ch;
}
.page-hero .lede {
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}
.page-hero__foot {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

/* ---------- split feature ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-6);
  align-items: start;
}
.split h2 { margin-bottom: var(--space-3); }
.split p + p { margin-top: var(--space-2); }
.split .body-copy { color: var(--ink-soft); }

/* ---------- checklist ---------- */
.checklist { display: grid; gap: 0; }
.checklist li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.checklist li:first-child { border-top: 1px solid var(--line); }
.checklist svg { width: 1.25rem; color: var(--gold); flex-shrink: 0; margin-top: 0.25rem; }
.checklist strong { display: block; font-weight: 600; }
.checklist span { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- values (light 3-up grid) ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5) var(--space-4);
}
.values svg { width: 2rem; color: var(--gold); margin-bottom: var(--space-2); }
.values h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.values p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--bg-deep);
  color: #EFE9E0;
  text-align: center;
  padding: var(--space-7) var(--gutter);
}
.cta-band h2 { color: #F7F2E9; }
.cta-band h2 em { color: var(--gold-bright); }
.cta-band__sub {
  max-width: 34rem;
  margin: var(--space-3) auto var(--space-4);
  color: #B9AFA2;
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
}
.btn--gold {
  background: var(--gold-bright);
  color: #1A1613;
}
.btn--gold:hover, .btn--gold:focus-visible { background: #D69A45; }
.btn--ghost-light { border-color: var(--line-dark); color: #EFE9E0; }
.btn--ghost-light:hover, .btn--ghost-light:focus-visible { border-color: var(--gold-bright); color: var(--gold-bright); }

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.gallery-tile {
  aspect-ratio: 4 / 3;
  background: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--ink-faint);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gallery-tile--photo {
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.gallery-tile--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.gallery-tile--photo:hover img { transform: scale(1.04); }
.gallery-tile--wide { grid-column: span 2; }
.gallery-tile--full { grid-column: 1 / -1; aspect-ratio: 21 / 9; }

/* ---------- nav current page ---------- */
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- footer ---------- */
.footer {
  background: var(--bg-deep);
  color: #B9AFA2;
  padding: var(--space-6) var(--gutter) var(--space-4);
  overflow: hidden;
}
.footer__giant {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 11rem);
  line-height: 0.95;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-dark);
  user-select: none;
  margin-bottom: var(--space-6);
  white-space: nowrap;
}
.footer__inner {
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.9rem;
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #F7F2E9;
  margin-bottom: 0.4rem;
}
.footer__links, .footer__contact { display: flex; flex-direction: column; gap: 0.6rem; }
.footer a { text-decoration: none; transition: color 0.25s; }
.footer a:hover { color: var(--gold-bright); }
.footer__legal {
  max-width: var(--container);
  margin-inline: auto;
  padding-top: var(--space-3);
  font-size: 0.8rem;
  color: #6E655A;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1023px) {
  .nav__links, .nav__phone { display: none; }
  .nav__burger { display: flex; }

  .hero { min-height: auto; padding-top: 7.5rem; }
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-5); }
  .hero__visual { height: clamp(300px, 60vw, 420px); max-width: 480px; }

  .craft__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: var(--space-5); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .service__row {
    grid-template-columns: 2.5rem 1fr 2.75rem;
    grid-template-areas:
      "num name arrow"
      ".   desc arrow";
    row-gap: 0.5rem;
  }
  .service__num { grid-area: num; }
  .service__name { grid-area: name; }
  .service__desc { grid-area: desc; }
  .service__arrow { grid-area: arrow; }
  .service__row:hover { padding-left: 0; }

  .craft__stats { grid-template-columns: 1fr; gap: var(--space-4); }
  .craft__grid { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-tile--wide { grid-column: auto; }
  .gallery-tile--full { grid-column: auto; aspect-ratio: 16 / 9; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__foot { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Reduced motion — everything readable, nothing required moves
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .process__line-fill { transform: scaleY(1); }
}
