/* =====================================================================
   Bremerton Wallpaper Installation — styles.css
   Palette: espresso / warm ivory / muted sage-gray / soft stone / brass
   Type: Petrona (display serif) + Instrument Sans (body)
   ===================================================================== */

/* ---------- Fonts (self-hosted variable woff2, Latin subset) ---------- */
@font-face {
  font-family: "Petrona";
  src: url("fonts/petrona-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Petrona";
  src: url("fonts/petrona-italic-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrumentsans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ivory: #F4EFE7;
  --paper: #FBF8F2;
  --stone: #E7E0D3;
  --stone-line: #D8CFBE;
  --ink: #2B2521;
  --muted: #6A6055;
  --sage: #5E6B5C;
  --brass: #8A6A2F;         /* large/decorative */
  --brass-deep: #7E6029;    /* small text/links on light */
  --brass-hover: #6A511F;
  --brass-dark: #C6A15B;    /* brass on dark bands */
  --espresso: #241E19;
  --espresso-deep: #1E1915;
  --on-dark: #EAE2D6;
  --on-dark-muted: #B8AD9C;
  --sage-dark: #9FAE97;
  --error: #A5342A;

  --serif: "Petrona", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --shell: 1200px;
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --radius: 3px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.15; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }
button { font-family: inherit; }

.h-serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }

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

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--espresso); color: var(--on-dark);
  padding: .7rem 1.1rem; border-radius: var(--radius);
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Section rhythm ---------- */
.section { padding-block: clamp(3.6rem, 8vw, 7rem); }
.section--stone { background: var(--stone); }
.section--dark { background: var(--espresso); color: var(--on-dark); }

.eyebrow {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .22em;
  font-weight: 600; color: var(--brass-deep); margin: 0 0 1rem;
}
.eyebrow--light { color: var(--brass-dark); }

.section-head { max-width: 640px; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.section-head h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.section-head__lead { margin-top: 1.1rem; color: var(--muted); font-size: 1.06rem; }
.section-head--light .section-head__lead { color: var(--on-dark-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  padding: .95rem 1.7rem; border-radius: var(--radius); border: 1px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--brass { background: var(--brass); color: #fff; }
.btn--brass:hover { background: var(--brass-hover); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--stone-line); }
.btn--outline:hover { border-color: var(--ink); }
.btn--outline-light { background: transparent; color: var(--on-dark); border-color: rgba(234,226,214,.5); }
.btn--outline-light:hover { border-color: var(--on-dark); background: rgba(255,255,255,.06); }
.btn--ghost { background: transparent; color: var(--ink); border-color: transparent; padding: .5rem .6rem; letter-spacing: .04em; text-transform: none; font-size: .92rem; }
.btn--ghost:hover { color: var(--brass-deep); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244,239,231,.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--stone-line);
  box-shadow: 0 6px 24px -18px rgba(43,37,33,.5);
}
.header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand__mark { color: var(--brass); display: inline-flex; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; letter-spacing: .01em; }
.brand__sub { font-size: .64rem; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(1rem, 2.2vw, 2rem); list-style: none; }
.nav__list a {
  text-decoration: none; color: var(--ink); font-size: .9rem; font-weight: 500;
  letter-spacing: .02em; padding: .4rem 0; position: relative;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px;
  background: var(--brass); transition: right .3s var(--ease);
}
.nav__list a:hover::after, .nav__list a:focus-visible::after { right: 0; }
.header__cta { flex-shrink: 0; white-space: nowrap; }

.hamburger {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: transparent; border: 0; cursor: pointer; padding: 10px;
}
.hamburger span {
  display: block; height: 2px; width: 100%; background: var(--ink);
  margin: 4px 0; transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 90;
  background: var(--ivory); border-bottom: 1px solid var(--stone-line);
  transform: translateY(-14px); opacity: 0; pointer-events: none;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu ul { list-style: none; padding: 1rem var(--gutter); }
.mobile-menu li { border-bottom: 1px solid var(--stone-line); }
.mobile-menu li:last-child { border-bottom: 0; }
.mobile-menu a { display: block; padding: 1rem .2rem; text-decoration: none; color: var(--ink); font-size: 1.05rem; }
.mobile-menu__call { margin: 1rem var(--gutter) 1.6rem; }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: flex-end; min-height: min(88vh, 780px); color: var(--on-dark); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(26,21,17,.86) 0%, rgba(26,21,17,.45) 42%, rgba(26,21,17,.22) 100%),
    linear-gradient(to right, rgba(26,21,17,.55) 0%, rgba(26,21,17,0) 60%);
}
.hero__inner { padding-block: clamp(3rem, 8vw, 6rem); }
.hero__content { max-width: 680px; }
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.3rem, 6vw, 4.1rem); line-height: 1.08; letter-spacing: -0.015em;
  margin: .3rem 0 1.3rem;
}
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 52ch; color: rgba(234,226,214,.94); margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__area { margin: 1.8rem 0 0; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); display: inline-flex; align-items: center; gap: .6rem; }
.hero__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brass-dark); box-shadow: 0 0 0 4px rgba(198,161,91,.2); }

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.intro__text h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 1.2rem; max-width: 14ch; }
.intro__points { list-style: none; margin-top: 1.6rem; display: grid; gap: .7rem; }
.intro__points li { position: relative; padding-left: 1.6rem; color: var(--ink); }
.intro__points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border: 1.5px solid var(--brass); transform: rotate(45deg); }
.intro__figure { position: relative; }
.intro__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.intro__figure::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--brass); border-radius: var(--radius); z-index: -1; }

/* ---------- Services (editorial) ---------- */
.services__editorial {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.4vw, 1.6rem);
  align-items: start;
}
.svc { border-radius: var(--radius); overflow: hidden; }
.svc--feature { grid-column: 1 / 2; grid-row: 1 / 3; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--stone-line); }
.svc--feature .svc__media img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; }
.svc--tall { grid-column: 2 / 3; grid-row: 3 / 5; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--stone-line); }
.svc--tall .svc__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.svc__body { padding: 1.5rem 1.6rem 1.7rem; }
.svc__num { font-family: var(--serif); font-size: 1rem; color: var(--brass-deep); font-weight: 600; letter-spacing: .1em; display: block; margin-bottom: .5rem; }
.svc h3 { font-family: var(--serif); font-size: 1.35rem; margin-bottom: .5rem; }
.svc p { color: var(--muted); margin: 0; font-size: .98rem; }
.svc__col { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
.svc--card { background: var(--paper); border: 1px solid var(--stone-line); padding: 1.6rem 1.6rem 1.7rem; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.svc--card:hover { border-color: var(--brass); transform: translateY(-3px); }
.svc__col:first-of-type { grid-row: 1 / 3; grid-column: 2 / 3; }
.svc__col:last-of-type { grid-row: 3 / 5; grid-column: 1 / 2; }

/* ---------- Visual break ---------- */
.break { position: relative; min-height: min(58vh, 520px); display: flex; align-items: center; color: var(--on-dark); isolation: isolate; }
.break__media { position: absolute; inset: 0; z-index: -1; }
.break__media img { width: 100%; height: 100%; object-fit: cover; }
.break__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,16,12,.82) 0%, rgba(20,16,12,.55) 55%, rgba(20,16,12,.4) 100%); }
.break__inner { padding-block: 3rem; }
.break__statement { font-size: clamp(1.7rem, 4.5vw, 3.1rem); line-height: 1.18; max-width: 18ch; }

/* ---------- Process ---------- */
.process__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.4rem, 3vw, 2.6rem); counter-reset: none; }
.process__step { position: relative; padding-top: 1.6rem; border-top: 1px solid var(--stone-line); }
.process__num { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 500; color: var(--brass); display: block; line-height: 1; margin-bottom: .8rem; }
.process__step h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: .5rem; }
.process__step p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.about__text h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 1.2rem; }
.about__owner { margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--stone-line); display: flex; flex-direction: column; }
.about__owner-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.about__owner-role { font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; }

/* ---------- Gallery ---------- */
.gallery__grid { columns: 3 260px; column-gap: clamp(.8rem, 1.8vw, 1.2rem); }
.gallery__item { margin: 0 0 clamp(.8rem, 1.8vw, 1.2rem); break-inside: avoid; }
.gallery__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery__btn img { width: 100%; display: block; transition: transform .6s var(--ease); }
.gallery__btn::after { content: ""; position: absolute; inset: 0; background: rgba(36,30,25,0); transition: background .35s var(--ease); }
.gallery__btn:hover img { transform: scale(1.05); }
.gallery__btn:hover::after { background: rgba(36,30,25,.12); }
.gallery__btn:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

/* ---------- Why (dark) ---------- */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 3.2vw, 2.8rem); }
.why__item { }
.why__rule { display: block; width: 34px; height: 2px; background: var(--brass-dark); margin-bottom: 1rem; }
.why__item h3 { font-family: var(--serif); font-size: 1.28rem; margin-bottom: .5rem; color: var(--on-dark); }
.why__item p { color: var(--on-dark-muted); margin: 0; font-size: .97rem; }

/* ---------- Service area + map ---------- */
.area__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.area__text h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); margin-bottom: 1.1rem; max-width: 16ch; }
.area__address { font-style: normal; color: var(--ink); margin: 1.2rem 0 1.6rem; font-size: 1.05rem; line-height: 1.6; }
.map-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--stone-line); aspect-ratio: 4 / 3; background: var(--stone); }
.map-card iframe { position: relative; z-index: 2; width: 100%; height: 100%; border: 0; }
.map-card__fallback {
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem; text-align: center; padding: 1.5rem;
  background:
    repeating-linear-gradient(45deg, rgba(126,96,41,.06) 0 14px, transparent 14px 28px),
    var(--stone);
}
.map-card__label { font-family: var(--serif); font-size: 1.3rem; margin: 0; color: var(--ink); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__intro h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 1rem; }
.contact__details { list-style: none; margin-top: 2rem; display: grid; gap: 1.3rem; }
.contact__details li { display: flex; flex-direction: column; gap: .2rem; }
.contact__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: var(--sage); font-weight: 600; }
.contact__details a { color: var(--brass-deep); text-decoration: none; font-size: 1.05rem; word-break: break-word; }
.contact__details a:hover { text-decoration: underline; }

.contact__form-wrap { background: var(--paper); border: 1px solid var(--stone-line); border-radius: var(--radius); padding: clamp(1.5rem, 3.5vw, 2.4rem); position: relative; }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .04em; margin-bottom: .4rem; color: var(--ink); }
.field__opt { font-weight: 400; color: var(--muted); letter-spacing: 0; }
.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--ivory); border: 1px solid var(--stone-line); border-radius: var(--radius);
  padding: .8rem .9rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #a79c8c; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(138,106,47,.16); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: .8rem; color: var(--muted); margin: .9rem 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error-message { color: var(--error) !important; }

.form-success { display: none; text-align: center; padding: 1rem .5rem; }
.form-success__mark { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sage); color: #fff; font-size: 1.5rem; margin-bottom: 1rem; }
.form-success h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: .5rem; }
.form-success p { color: var(--muted); margin: 0; }

/* ---------- Final CTA ---------- */
.cta { position: relative; color: var(--on-dark); isolation: isolate; text-align: center; }
.cta__media { position: absolute; inset: 0; z-index: -1; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__scrim { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20,16,12,.78), rgba(20,16,12,.72)); }
.cta__inner { padding-block: clamp(4rem, 10vw, 8rem); max-width: 720px; margin-inline: auto; }
.cta__title { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1.1rem; }
.cta__lead { color: rgba(234,226,214,.92); font-size: 1.1rem; margin-bottom: 2rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--espresso-deep); color: var(--on-dark); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(1.8rem, 4vw, 3rem); padding-bottom: 2.6rem; }
.footer__name { display: block; font-size: 1.3rem; margin-bottom: .6rem; }
.footer__brand p { color: var(--on-dark-muted); max-width: 34ch; }
.footer__col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--brass-dark); margin-bottom: 1rem; font-weight: 600; }
.footer__col ul { list-style: none; display: grid; gap: .6rem; }
.footer__col a { color: var(--on-dark); text-decoration: none; word-break: break-word; }
.footer__col a:hover { color: var(--brass-dark); }
.footer__col li { color: var(--on-dark-muted); }
.footer__bar { border-top: 1px solid rgba(234,226,214,.14); padding-block: 1.5rem; }
.footer__bar p { margin: 0; font-size: .84rem; color: var(--on-dark-muted); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  background: rgba(20,16,12,.94); padding: clamp(1rem, 4vw, 3rem);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img { max-width: 100%; max-height: 88vh; width: auto; height: auto; border-radius: var(--radius); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); transform: scale(.97); transition: transform .3s var(--ease); }
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  color: #fff; cursor: pointer; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: background .25s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.24); }
.lightbox__close { top: clamp(1rem,3vw,2rem); right: clamp(1rem,3vw,2rem); width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; line-height: 1; }
.lightbox__nav--prev { left: clamp(.5rem,2vw,1.5rem); }
.lightbox__nav--next { right: clamp(.5rem,2vw,1.5rem); }
.lightbox__close:focus-visible, .lightbox__nav:focus-visible { outline: 3px solid var(--brass-dark); outline-offset: 2px; }

/* ---------- Reveal animation (progressive enhancement) ----------
   Visible by default. Only when JS confirms IntersectionObserver support
   (adds .js-enhanced on <html>) do reveal targets start hidden & animate in. */
.js-enhanced [data-reveal] { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js-enhanced [data-reveal] {
    opacity: 0; transform: translateY(22px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    will-change: opacity, transform;
  }
  .js-enhanced [data-reveal].is-in { opacity: 1; transform: none; }
}
@media print {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--brass); outline-offset: 2px;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1000px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .process__list { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 860px) {
  .nav, .header__cta { display: none; }
  .hamburger { display: block; }

  .intro__grid, .about__grid, .area__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__figure { order: -1; }
  .intro__figure::after { inset: 10px -10px -10px 10px; }

  /* Services: collapse editorial grid to a clean single column */
  .services__editorial { grid-template-columns: 1fr; }
  .svc--feature, .svc--tall, .svc__col:first-of-type, .svc__col:last-of-type {
    grid-column: auto; grid-row: auto;
  }
}

@media (max-width: 640px) {
  body { font-size: .98rem; }
  .hero { min-height: 82vh; }
  .why__grid { grid-template-columns: 1fr; }
  .process__list { grid-template-columns: 1fr; }
  .gallery__grid { columns: 2 160px; }
  .hero__actions .btn, .cta__actions .btn { flex: 1 1 auto; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .gallery__grid { columns: 1; }
  .btn { padding: .85rem 1.3rem; }
}
