/* ==========================================================================
   Wallpaper Installation — template stylesheet
   Palette: warm ivory / stone / graphite with a muted olive accent
   Type: Bodoni Moda (display) + Manrope (text)
   ========================================================================== */

:root {
  --ivory: #F4F0E8;
  --paper: #FBF9F4;
  --stone: #E9E2D6;
  --line: #D9CFBF;
  --ink: #26241F;
  --graphite: #1B1C1A;
  --muted: #635B51;
  --accent: #4D5A3B;
  --accent-hover: #3C4730;
  --accent-lite: #C3CAA2;
  --dark: #1F2320;
  --dark-2: #29302B;
  --dark-line: #3A413B;
  --on-dark: #EEEAE1;
  --on-dark-mute: #B9B4A8;
  --error: #A1321E;

  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, "Times New Roman", serif;
  --font-text: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --header-h: 76px;
  --radius: 2px;
  --shadow-soft: 0 24px 60px -30px rgba(27, 28, 26, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: clamp(16px, .25vw + 15px, 17.5px);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg,
picture { display: block; max-width: 100%; }

img { height: auto; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  color: var(--graphite);
}

h2 { font-size: clamp(2rem, 3.2vw + .8rem, 3.35rem); }
h3 { font-size: clamp(1.3rem, .6vw + 1.1rem, 1.6rem); }

p { margin: 0 0 1.1em; }

em { font-style: italic; }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  background: var(--graphite);
  color: var(--paper);
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

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

.eyebrow {
  font-family: var(--font-text);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: .9rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.eyebrow-light { color: var(--accent-lite); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 52px;
  padding: .85rem 1.7rem;
  font-family: var(--font-text);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  line-height: 1.3;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); }

.btn-outline { border-color: var(--graphite); color: var(--graphite); background: transparent; }
.btn-outline:hover { background: var(--graphite); color: var(--paper); }

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

.btn-sm { min-height: 44px; padding: .6rem 1.2rem; font-size: .75rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .8125rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
/* The translucent/blurred backdrop lives on a pseudo-element: a backdrop-filter
   on the header itself would trap the fixed-position mobile menu inside it. */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(251, 249, 244, .9);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  transition: background-color .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(27, 28, 26, .5);
}
.site-header.is-scrolled::before,
body.nav-open .site-header::before { background: rgba(251, 249, 244, .98); }

.header-inner {
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--graphite);
  min-width: 0;
  flex: 0 1 auto;
}
.brand-mark { width: 34px; height: 34px; flex: none; color: var(--accent); }
.brand-text {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.primary-nav { margin-left: auto; }
.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(1rem, 1.8vw, 2rem);
}
.primary-nav a {
  position: relative;
  display: inline-block;
  padding: .5rem 0;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.primary-nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.primary-nav ul a:hover::after,
.primary-nav ul a[aria-current="true"]::after { transform: scaleX(1); }

.nav-mobile-extra { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex: none;
}
.header-phone {
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  white-space: nowrap;
  color: var(--graphite);
}
.header-phone:hover { color: var(--accent); }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--graphite);
}
.menu-bars { display: grid; gap: 5px; width: 20px; }
.menu-bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: var(--header-h);
  background: var(--graphite);
}
.hero-media img {
  width: 100%;
  height: clamp(600px, calc(100svh - var(--header-h)), 900px);
  object-fit: cover;
  object-position: 42% 50%;
}
.hero-caption {
  position: absolute;
  right: var(--gutter);
  top: calc(var(--header-h) + 24px);
  margin: 0;
  padding: .45rem .8rem;
  background: rgba(27, 28, 26, .72);
  color: var(--on-dark);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-caption span {
  font-family: var(--font-display);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  margin-right: .5rem;
  color: var(--accent-lite);
}

.hero-panel {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(32px, 5vh, 56px);
  z-index: 2;
  width: min(720px, calc(100% - var(--gutter) * 2));
  background: var(--paper);
  padding: clamp(2rem, 3.2vw, 3.2rem) clamp(2rem, 3.5vw, 3.5rem);
  box-shadow: var(--shadow-soft);
  border-top: 3px solid var(--accent);
}
.hero-panel h1 {
  font-size: clamp(2.2rem, 3vw + 1rem, 3.7rem);
  line-height: 1.05;
  margin-bottom: 1.1rem;
}
.hero-panel h1 em { color: var(--accent); font-weight: 500; }
.hero-lead {
  color: var(--muted);
  font-size: 1.03rem;
  max-width: 52ch;
  margin-bottom: 1.8rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

/* ---------- Intro ---------- */
.intro {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0 clamp(4.5rem, 8vw, 7rem);
  background: var(--ivory);
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}
.intro-statement {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 1.6vw + 1rem, 2.35rem);
  line-height: 1.32;
  color: var(--graphite);
  margin: 0;
}
.intro-notes {
  border-left: 1px solid var(--line);
  padding-left: clamp(1.25rem, 2.5vw, 2rem);
  color: var(--muted);
}

/* ---------- Services ---------- */
.services {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.services-intro {
  position: -webkit-sticky;
  position: sticky;
  top: calc(var(--header-h) + 40px);
}
.services-intro > p:not(.eyebrow) { color: var(--muted); margin-bottom: 2rem; }

.service-index {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.service-row {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr) auto;
  gap: 1.5rem;
  padding: 2.1rem 0;
  border-bottom: 1px solid var(--line);
  transition: background-color .4s var(--ease);
}
.service-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
  transition: transform .4s var(--ease);
}
.service-row h3 { margin-bottom: .45rem; }
.service-row p { margin: 0; color: var(--muted); max-width: 56ch; }
.service-tag {
  align-self: start;
  margin-top: .35rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: .3rem .65rem;
  white-space: nowrap;
}
.service-row:hover .service-num { transform: translateX(6px); }

/* ---------- Why ---------- */
.why {
  background: var(--dark);
  color: var(--on-dark);
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  overflow: hidden;
}
.why h2 { color: var(--paper); }
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.why-figure {
  position: relative;
  margin: 0;
}
.why-figure::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 1px solid var(--dark-line);
  pointer-events: none;
}
.why-figure picture { position: relative; }
.why-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 45% 50%;
}
.why-figure figcaption {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--on-dark-mute);
}
.why-lead { color: var(--on-dark-mute); font-size: 1.05rem; max-width: 54ch; }

.why-list {
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2.5rem;
}
.why-list > div {
  padding: 1.3rem 0;
  border-top: 1px solid var(--dark-line);
}
.why-list dt {
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: var(--paper);
  margin-bottom: .3rem;
}
.why-list dd {
  margin: 0;
  font-size: .95rem;
  color: var(--on-dark-mute);
}

/* ---------- Band ---------- */
.band {
  position: relative;
  background: var(--graphite);
}
.band-media img {
  width: 100%;
  height: clamp(460px, 78vh, 760px);
  object-fit: cover;
  object-position: 50% 55%;
}
.band-card {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(2rem, 6vw, 5rem);
  width: min(480px, calc(100% - var(--gutter) * 2));
  background: var(--paper);
  padding: clamp(1.8rem, 3vw, 2.8rem);
  box-shadow: var(--shadow-soft);
}
.band-card h2 { font-size: clamp(1.7rem, 1.8vw + 1rem, 2.4rem); }
.band-card p:not(.eyebrow) { color: var(--muted); }

/* ---------- Section heads ---------- */
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 720px; }
.section-head-split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: end;
}
.section-head-split h2 { margin-bottom: 0; }
.section-note { color: var(--muted); margin: 0; max-width: 46ch; }

/* ---------- Process ---------- */
.process {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  background: var(--ivory);
}
.process-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  position: relative;
}
.process-track::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 3.1rem;
  height: 1px;
  background: var(--line);
}
.step { position: relative; padding-top: 0; }
.step:nth-child(even) { margin-top: 3.5rem; }
.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 5vw, 5.4rem);
  line-height: 1;
  font-weight: 400;
  color: var(--ivory);
  -webkit-text-stroke: 1px var(--accent);
  paint-order: stroke fill;
  background: var(--ivory);
  padding-right: .8rem;
  position: relative;
  margin-bottom: 1.4rem;
}
.step h3 { margin-bottom: .6rem; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ---------- Gallery ---------- */
.gallery {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(46px, 5.4vw, 74px);
  gap: clamp(10px, 1.4vw, 18px);
}
.g-item {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--stone);
  text-decoration: none;
}
.g-item picture,
.g-item img { width: 100%; height: 100%; }
.g-item img {
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.g-item:hover img,
.g-item:focus-visible img { transform: scale(1.035); }
.g-cap {
  position: absolute;
  left: 0; bottom: 0;
  padding: .55rem .9rem;
  background: rgba(27, 28, 26, .8);
  color: var(--on-dark);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform .45s var(--ease);
}
.g-item:hover .g-cap,
.g-item:focus-visible .g-cap { transform: translateY(0); }
@media (hover: none) {
  .g-cap { transform: none; }
}

.g-a { grid-column: 1 / 8;  grid-row: 1 / 6; }
.g-b { grid-column: 8 / 13; grid-row: 1 / 8; }
.g-c { grid-column: 1 / 5;  grid-row: 6 / 10; }
.g-d { grid-column: 5 / 8;  grid-row: 6 / 10; }
.g-e { grid-column: 8 / 13; grid-row: 8 / 13; }
.g-f { grid-column: 1 / 8;  grid-row: 10 / 15; }
.g-g { grid-column: 8 / 13; grid-row: 13 / 17; }
.g-h { grid-column: 1 / 4;  grid-row: 15 / 20; }
.g-i { grid-column: 4 / 8;  grid-row: 15 / 20; }
.g-j { grid-column: 8 / 13; grid-row: 17 / 20; }

.g-b img { object-position: 50% 60%; }
.g-e img { object-position: 50% 40%; }
.g-h img { object-position: 50% 30%; }
.g-i img { object-position: 20% 50%; }
.g-j img { object-position: 50% 45%; }

/* ---------- About ---------- */
.about {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  background: var(--stone);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}
.about-figure { margin: 0; position: relative; }
.about-figure::after {
  content: "";
  position: absolute;
  right: -18px; bottom: -18px;
  width: 42%;
  height: 38%;
  border-right: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  pointer-events: none;
}
.about-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 45%;
}
.about-lead {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, .8vw + 1rem, 1.55rem);
  line-height: 1.4;
  color: var(--graphite);
}
.about-copy > p:not(.eyebrow):not(.about-lead):not(.about-sign) { color: var(--muted); }
.about-points {
  list-style: none;
  margin: 1.8rem 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.about-points li {
  display: flex;
  gap: .9rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.about-points span { color: var(--accent); }
.about-sign { display: flex; flex-direction: column; margin: 2rem 0 1.8rem; }
.about-sign-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--graphite);
  line-height: 1.2;
}
.about-sign-role {
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- Contact ---------- */
.contact {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  background: var(--dark);
  color: var(--on-dark);
}
.contact h2 { color: var(--paper); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.contact-lead { color: var(--on-dark-mute); font-size: 1.05rem; max-width: 46ch; }
.contact-info { margin: 2.5rem 0 0; }
.contact-info > div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--dark-line);
}
.contact-info > div:last-child { border-bottom: 1px solid var(--dark-line); }
.contact-info dt {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-lite);
  padding-top: .2rem;
}
.contact-info dd { margin: 0; color: var(--on-dark); overflow-wrap: anywhere; }
.contact-info a { text-decoration: none; border-bottom: 1px solid var(--dark-line); }
.contact-info a:hover { border-bottom-color: var(--accent-lite); }

.form-card {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(1.5rem, 3.5vw, 3rem);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .6);
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.25rem;
}
.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .45rem;
}
.req { color: var(--error); }
.field input,
.field textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: .8rem 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #8F8578;
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(77, 90, 59, .22);
}
.field input::placeholder,
.field textarea::placeholder { color: #736A5F; }
.field.has-error input,
.field.has-error textarea { border-color: var(--error); }
.error-message { color: var(--error); font-size: .875rem; margin-top: .4rem; }

.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0 0 1rem;
  padding: .8rem 1rem;
  border-left: 3px solid var(--error);
  background: #F6E9E4;
  color: #7A2616;
  font-size: .94rem;
}
.form-note { margin: 1rem 0 0; font-size: .875rem; color: var(--muted); }
.form-note a { color: var(--accent); font-weight: 600; }

#wallpaperContactForm button[disabled] { opacity: .65; cursor: progress; }

.form-success {
  display: none;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) 1rem;
}
.form-success svg { width: 56px; height: 56px; margin: 0 auto 1.2rem; color: var(--accent); }
.form-success h3 { font-size: clamp(1.4rem, 1vw + 1.1rem, 1.8rem); }
.form-success p { color: var(--muted); margin: 0; }

/* ---------- Location ---------- */
.location {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background: var(--ivory);
}
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
}
.map-panel {
  grid-column: 1 / 2;
  grid-row: 1;
  background: var(--stone);
  border: 1px solid var(--line);
  min-height: 420px;
  overflow: hidden;
  position: relative;
}
.map-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #CDC2B0;
}
.map-pin-halo { fill: rgba(77, 90, 59, .16); }
.map-pin-dot { fill: var(--accent); stroke: var(--paper); stroke-width: 3; }
.location-card {
  grid-column: 2 / 3;
  grid-row: 1;
  margin-left: clamp(-7rem, -6vw, -3rem);
  position: relative;
  z-index: 1;
  background: var(--paper);
  padding: clamp(1.8rem, 3.5vw, 3rem);
  box-shadow: var(--shadow-soft);
}
.location-card h2 { font-size: clamp(1.7rem, 1.6vw + 1rem, 2.4rem); overflow-wrap: anywhere; }
.location-card address {
  font-style: normal;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 1rem;
}
.location-card p:not(.eyebrow) { color: var(--muted); }
.location-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--graphite);
  color: var(--on-dark-mute);
  padding: clamp(3.5rem, 6vw, 5rem) 0 0;
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--paper);
  line-height: 1.2;
  margin-bottom: .8rem;
}
.footer-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-lite);
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; overflow-wrap: anywhere; }
.site-footer a { text-decoration: none; color: var(--on-dark); }
.site-footer a:hover { color: var(--accent-lite); }
.site-footer .btn-accent { color: #fff; margin-top: .4rem; }
.site-footer .btn-accent:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid #34372F;
  font-size: .85rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(18, 19, 17, .95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 72px;
}
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lb-figure img {
  max-width: 100%;
  max-height: calc(100vh - 170px);
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}
.lb-figure figcaption {
  color: var(--on-dark);
  margin-top: 1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
}
.lb-btn {
  position: absolute;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--on-dark);
  border: 1px solid #4C5048;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.lb-btn:hover { background: #2C302A; border-color: var(--accent-lite); }
.lb-close { top: 16px; right: 16px; font-size: 1.8rem; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }

/* ---------- Reveal (progressive enhancement) ---------- */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js-enhanced .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
  }
  .js-enhanced .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
  .js-enhanced .g-item.reveal img,
  .js-enhanced .why-figure.reveal img,
  .js-enhanced .about-figure.reveal img {
    -webkit-clip-path: inset(0 0 12% 0);
    clip-path: inset(0 0 12% 0);
    transition: -webkit-clip-path 1.2s var(--ease), clip-path 1.2s var(--ease), transform 1.1s var(--ease);
  }
  .js-enhanced .g-item.reveal.is-visible img,
  .js-enhanced .why-figure.reveal.is-visible img,
  .js-enhanced .about-figure.reveal.is-visible img {
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
  }
  .js-enhanced .hero-panel.reveal { transform: translateY(18px); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1120px) {
  .header-phone { display: none; }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }

  .menu-toggle { display: inline-flex; }
  .header-actions .btn-sm { display: none; }

  .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    background: var(--paper);
    padding: 1.5rem var(--gutter) 2.5rem;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
    border-top: 1px solid var(--line);
  }
  .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s;
  }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav ul li { border-bottom: 1px solid var(--line); }
  .primary-nav ul a {
    display: block;
    padding: 1.05rem 0;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--graphite);
  }
  .primary-nav ul a::after { display: none; }
  .nav-mobile-extra {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
  }
  .nav-phone {
    display: block;
    text-align: center;
    padding: .8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--accent);
    font-size: 1.05rem;
  }
  body.nav-open { overflow: hidden; }

  .intro-grid,
  .services-grid,
  .why-grid,
  .about-grid,
  .contact-grid { grid-template-columns: minmax(0, 1fr); }

  .services-intro { position: static; }
  .why-figure { max-width: 620px; }
  .about-figure { max-width: 520px; }

  .process-track { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .process-track::before { display: none; }
  .step:nth-child(even) { margin-top: 0; }
  .step { border-top: 1px solid var(--line); padding-top: 1.5rem; }
  .step-num { padding-right: 0; }

  .section-head-split { grid-template-columns: minmax(0, 1fr); }

  .gallery-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: auto;
    grid-auto-flow: dense;
  }
  .g-item { grid-row: auto !important; aspect-ratio: 3 / 2; }
  .g-a, .g-f, .g-i { grid-column: span 6; aspect-ratio: 16 / 9; }
  .g-b, .g-d, .g-e, .g-h { grid-column: span 2; aspect-ratio: 3 / 4; }
  .g-c { grid-column: span 4; aspect-ratio: 3 / 2; }
  .g-g, .g-j { grid-column: span 3; aspect-ratio: 3 / 2; }

  .location-grid { grid-template-columns: minmax(0, 1fr); }
  .map-panel { grid-column: 1; grid-row: 1; min-height: 300px; }
  .location-card { grid-column: 1; grid-row: 2; margin: -4rem var(--gutter) 0; }

  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .hero-media img {
    height: 58svh;
    min-height: 360px;
    max-height: 520px;
    object-position: 30% 50%;
  }
  .hero-caption { display: none; }
  .hero-panel {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin: -64px var(--gutter) 0;
    padding: 1.8rem 1.4rem 2rem;
  }
  .hero-ctas .btn { flex: 1 1 100%; }
  .intro { padding-top: clamp(3.5rem, 12vw, 5rem); }

  .service-row {
    grid-template-columns: 2.8rem minmax(0, 1fr);
    gap: 1rem;
    padding: 1.7rem 0;
  }
  .service-num { font-size: 1.6rem; }
  .service-tag { grid-column: 2; justify-self: start; margin-top: 0; }

  .why-list { grid-template-columns: minmax(0, 1fr); }
  .why-figure::before { inset: -10px 10px 10px -10px; }

  .band { display: flex; flex-direction: column; }
  .band-media img { height: 340px; }
  .band-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: -56px var(--gutter) 0;
    z-index: 1;
  }
  .band { background: var(--ivory); padding-bottom: 1px; }

  .process-track { grid-template-columns: minmax(0, 1fr); row-gap: 2.2rem; }
  .step { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); column-gap: 1rem; }
  .step-num { font-size: 3rem; grid-row: 1 / span 2; margin: 0; background: none; }
  .step h3, .step p { grid-column: 2; }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .g-a, .g-c, .g-f, .g-g, .g-i, .g-j { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .g-b, .g-d, .g-e, .g-h { grid-column: span 1; aspect-ratio: 3 / 4; }
  .g-cap { font-size: .62rem; padding: .45rem .6rem; }

  .about-figure::after { right: -10px; bottom: -10px; }

  .form-row { grid-template-columns: minmax(0, 1fr); }
  .contact-info > div { grid-template-columns: minmax(0, 1fr); gap: .25rem; }

  .location-card { margin: -3rem 0 0; }
  .location-ctas .btn { flex: 1 1 100%; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); }

  .lightbox { padding: 64px 12px 90px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}

@media (max-width: 380px) {
  .brand-text { font-size: .98rem; }
  .brand-mark { width: 28px; height: 28px; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .lightbox, .menu-toggle, .hero-caption { display: none !important; }
  .reveal, .js-enhanced .reveal { opacity: 1 !important; transform: none !important; }
  .js-enhanced .reveal img { clip-path: none !important; -webkit-clip-path: none !important; }
  .hero { padding-top: 0; }
  .hero-panel { position: static; box-shadow: none; }
  body { background: #fff; }
}
