/* ==========================================================================
   Kannapolis Wallpaper Installer — Editorial Interior Studio design system
   ========================================================================== */

:root {
  --plum-900: #2E1C28;
  --plum-700: #4A2C3F;
  --plum-500: #6B4459;
  --ivory: #F7F1E8;
  --paper: #FCF9F4;
  --stone: #E8E1D6;
  --stone-deep: #CFC5B7;
  --clay: #A85736;
  --clay-deep: #8F4A2E;
  --clay-soft: #E2B9A4;
  --sage: #6F7B6C;
  --sage-soft: #D9DED3;
  --ink: #2A2528;
  --ink-soft: #55494F;
  --line: rgba(46, 28, 40, 0.14);
  --line-on-dark: rgba(247, 241, 232, 0.18);

  --serif: 'Newsreader', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', 'Segoe UI', system-ui, -apple-system, Helvetica, Arial, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --measure: 62ch;
  --radius: 3px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.skip-link {
  position: absolute; left: 0; top: -100%; z-index: 999;
  background: var(--plum-700); color: var(--ivory); padding: .75rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Paper texture: extremely subtle fibre for ivory surfaces */
.paper-surface {
  background-color: var(--ivory);
  background-image:
    repeating-linear-gradient(0deg, rgba(46,28,40,.018) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(90deg, rgba(46,28,40,.012) 0 1px, transparent 1px 11px);
}

/* ---------- Layout primitives ---------- */
.wrap { width: min(100% - 2 * var(--gutter), 1280px); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.eyebrow {
  font-family: var(--sans); font-size: .75rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 600; color: var(--clay-deep); display: inline-flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--clay-soft); }
.h-display { font-size: clamp(2.5rem, 6vw, 5rem); }
.h-section { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
.h-sub { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.lede { font-size: clamp(1.1rem, 1.4vw, 1.25rem); color: var(--ink-soft); max-width: var(--measure); }
.muted { color: var(--ink-soft); }
.on-dark { color: var(--ivory); }
.on-dark .muted, .on-dark .lede { color: rgba(247,241,232,.78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3rem; padding: .8rem 1.6rem; border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .02em; text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--plum-700); color: var(--ivory); border-color: var(--plum-700); }
.btn--primary:hover { background: var(--plum-900); border-color: var(--plum-900); }
.btn--clay { background: var(--clay); color: #fff; border-color: var(--clay); }
.btn--clay:hover { background: var(--clay-deep); border-color: var(--clay-deep); }
.btn--outline { background: transparent; color: var(--plum-700); border-color: var(--plum-700); }
.btn--outline:hover { background: var(--plum-700); color: var(--ivory); }
.btn--ghost-light { background: transparent; color: var(--ivory); border-color: rgba(247,241,232,.55); }
.btn--ghost-light:hover { background: var(--ivory); color: var(--plum-900); border-color: var(--ivory); }
.btn svg { width: 1rem; height: 1rem; flex: none; }
.link-arrow {
  font-weight: 600; text-decoration: none; color: var(--plum-700); display: inline-flex; align-items: center; gap: .5rem;
  border-bottom: 1px solid var(--clay-soft); padding-bottom: .15rem; transition: gap .25s var(--ease), border-color .25s var(--ease);
}
.link-arrow:hover { gap: .85rem; border-color: var(--clay); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252,249,244,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -20px rgba(46,28,40,.5); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.75rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--plum-900); }
.brand__mark { width: 2.1rem; height: 2.1rem; flex: none; }
.brand__text { font-family: var(--serif); font-size: 1.15rem; line-height: 1.05; }
.brand__text small { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin-top: .2rem; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.75rem); }
.nav a { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink); position: relative; padding: .25rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--clay); transition: right .3s var(--ease); }
.nav a:hover::after { right: 0; }
.header__actions { display: flex; align-items: center; gap: 1rem; }
.header__phone { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--plum-700); white-space: nowrap; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius);
  width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; color: var(--plum-900);
}
.nav-toggle span { display: block; width: 1.25rem; height: 2px; background: currentColor; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

.mobile-nav {
  position: fixed; inset: 0; z-index: 60; background: var(--plum-900); color: var(--ivory);
  display: flex; flex-direction: column; padding: 1.25rem var(--gutter) 2rem;
  transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s;
}
.mobile-nav.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; min-height: 3.5rem; }
.mobile-nav__close { background: none; border: 1px solid var(--line-on-dark); color: var(--ivory); width: 2.75rem; height: 2.75rem; border-radius: var(--radius); font-size: 1.4rem; line-height: 1; }
.mobile-nav ul { margin-top: 2rem; border-top: 1px solid var(--line-on-dark); }
.mobile-nav li { border-bottom: 1px solid var(--line-on-dark); }
.mobile-nav li a { display: block; padding: 1rem 0; font-family: var(--serif); font-size: 1.9rem; text-decoration: none; color: var(--ivory); }
.mobile-nav__cta { margin-top: auto; display: grid; gap: .75rem; padding-top: 2rem; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--plum-900); color: var(--ivory); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: min(88vh, 860px); }
.hero__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 6vw, 6rem) var(--gutter) clamp(3rem, 6vw, 6rem) 0; position: relative; z-index: 2; }
.hero__copy-inner { width: min(100%, 34rem); margin-left: auto; padding-left: var(--gutter); }
.hero h1 { color: var(--ivory); text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--clay-soft); }
.hero .lede { margin-top: 1.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }
.hero__location { margin-top: 2.5rem; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: rgba(247,241,232,.7); display: flex; align-items: center; gap: .75rem; }
.hero__location::before { content: ""; width: 6px; height: 6px; background: var(--clay); transform: rotate(45deg); }
.hero__media { position: relative; min-height: 420px; }
.hero__media picture, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--plum-900) 0, rgba(46,28,40,0) 18%); pointer-events: none; }
.hero__frame { position: absolute; inset: 1.5rem; border: 1px solid rgba(247,241,232,.35); pointer-events: none; z-index: 1; }

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 1fr) minmax(0, 7fr); gap: 2rem; align-items: start; }
.intro__figure { position: relative; margin: 0; }
.intro__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.intro__figure figcaption { position: absolute; left: -1px; bottom: -1px; background: var(--paper); padding: .75rem 1rem .25rem 0; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.intro__rule { align-self: stretch; border-left: 1px solid var(--line); justify-self: center; }
.intro__text { padding-top: clamp(1rem, 4vw, 4rem); }
.intro__text h2 { text-wrap: balance; }
.intro__text .lede { margin-top: 1.5rem; }
.intro__points { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 2.5rem; border-top: 1px solid var(--line); padding-top: 1.75rem; }
.intro__points li { font-size: .95rem; color: var(--ink-soft); padding-left: 1.25rem; position: relative; }
.intro__points li::before { content: ""; position: absolute; left: 0; top: .6em; width: .5rem; height: 1px; background: var(--clay); }
.intro__points strong { color: var(--ink); font-weight: 600; display: block; }

/* ---------- Services ---------- */
.services { background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service { padding: clamp(1.5rem, 2.5vw, 2.5rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; background: transparent; transition: background-color .3s var(--ease); }
.service:hover { background: var(--paper); }
.service__num { font-family: var(--serif); font-style: italic; color: var(--clay-deep); font-size: 1.05rem; }
.service h3 { margin-top: 2.5rem; font-size: 1.45rem; }
.service p { margin-top: .85rem; color: var(--ink-soft); font-size: .97rem; }
.service::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--clay); transition: width .4s var(--ease); }
.service:hover::after { width: 100%; }

/* ---------- Feature (visual service section) ---------- */
.feature { position: relative; }
.feature__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: center; }
.feature__media { position: relative; }
.feature__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature__media::before { content: ""; position: absolute; inset: 1.25rem; border: 1px solid rgba(247,241,232,.5); pointer-events: none; }
.feature__panel { background: var(--plum-700); color: var(--ivory); padding: clamp(2rem, 4vw, 3.5rem); margin-left: -12%; position: relative; z-index: 1; box-shadow: 0 30px 60px -40px rgba(46,28,40,.6); }
.feature__panel h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.feature__panel p { margin-top: 1rem; color: rgba(247,241,232,.8); }
.feature__panel .btn { margin-top: 1.75rem; }

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); }
.why__sticky { position: sticky; top: 6rem; }
.why__sticky .lede { margin-top: 1.25rem; }
.why__list { counter-reset: why; border-top: 1px solid var(--line); }
.why__item { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.why__item::before { counter-increment: why; content: counter(why, decimal-leading-zero); font-family: var(--serif); font-size: 1.4rem; color: var(--clay); line-height: 1.1; }
.why__item h3 { font-size: 1.3rem; }
.why__item p { margin-top: .4rem; color: var(--ink-soft); font-size: .97rem; }

/* ---------- Process ---------- */
.process { background: var(--plum-900); color: var(--ivory); position: relative; }
.process::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, rgba(247,241,232,.05) 0 1px, transparent 1px calc(100% / 12)); pointer-events: none; }
.process .wrap { position: relative; }
.process__head { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.process__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-on-dark); }
.step { padding: 2rem 1.75rem 2.5rem 0; border-right: 1px solid var(--line-on-dark); padding-left: 1.5rem; }
.step:first-child { padding-left: 0; }
.step:last-child { border-right: 0; }
.step__num { font-family: var(--serif); font-size: clamp(3rem, 5vw, 4.5rem); line-height: 1; color: var(--clay-soft); font-style: italic; }
.step h3 { margin-top: 1.5rem; font-size: 1.35rem; color: var(--ivory); }
.step p { margin-top: .6rem; color: rgba(247,241,232,.75); font-size: .96rem; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 1fr) minmax(0, 5fr); gap: 2rem; align-items: center; }
.about__text { order: 1; }
.about__media { order: 3; position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__media::after { content: ""; position: absolute; top: 1.5rem; right: -1.5rem; bottom: -1.5rem; left: 1.5rem; border: 1px solid var(--clay-soft); z-index: -1; }
.about__spacer { order: 2; }
.about__owner { margin-top: 2rem; padding: 1.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; gap: 1.25rem; align-items: center; }
.about__owner-mark { width: 3.25rem; height: 3.25rem; border: 1px solid var(--clay); display: grid; place-items: center; font-family: var(--serif); font-size: 1.4rem; color: var(--clay-deep); flex: none; }
.about__owner strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.about__owner span { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.about__text .lede { margin-top: 1.5rem; }
.about__text p + p { margin-top: 1rem; }

/* ---------- Gallery ---------- */
.gallery { background: var(--ivory); border-top: 1px solid var(--line); }
.gallery__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.gallery__masonry { columns: 3; column-gap: 1.25rem; }
.gallery__item { display: block; break-inside: avoid; margin-bottom: 1.25rem; position: relative; overflow: hidden; text-decoration: none; color: var(--ivory); background: var(--plum-900); }
.gallery__item figure { margin: 0; }
.gallery__item img { width: 100%; transition: transform .8s var(--ease), opacity .5s; }
.gallery__item:hover img { transform: scale(1.03); opacity: .92; }
.gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.1rem .9rem; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; background: linear-gradient(0deg, rgba(46,28,40,.85), rgba(46,28,40,0)); opacity: 0; transition: opacity .35s var(--ease); }
.gallery__item:hover figcaption, .gallery__item:focus-visible figcaption { opacity: 1; }

.lightbox { position: fixed; inset: 0; z-index: 70; background: rgba(46,28,40,.94); display: none; align-items: center; justify-content: center; padding: 3rem 1rem; }
.lightbox.is-open { display: flex; }
.lightbox__fig { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox__fig img { max-height: 80vh; width: auto; max-width: 100%; margin-inline: auto; }
.lightbox__fig figcaption { color: var(--ivory); margin-top: .75rem; font-size: .9rem; letter-spacing: .05em; }
.lightbox__btn { position: absolute; background: none; border: 1px solid var(--line-on-dark); color: var(--ivory); width: 2.75rem; height: 2.75rem; border-radius: var(--radius); font-size: 1.3rem; line-height: 1; display: grid; place-items: center; }
.lightbox__btn:hover { background: var(--ivory); color: var(--plum-900); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- Local + Map ---------- */
.local__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: stretch; }
.local__text .lede { margin-top: 1.25rem; }
.local__address { margin-top: 2rem; display: grid; gap: .35rem; font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; padding-left: 1.25rem; border-left: 2px solid var(--clay); }
.local__address span { font-family: var(--sans); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.local__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .85rem; }
.map { position: relative; background: var(--stone); min-height: 380px; border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.75) contrast(.95); }
.map__fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 2rem; color: var(--ink-soft); z-index: -1; }
.map__fallback strong { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); display: block; margin-bottom: .5rem; font-weight: 400; }
.map__tag { position: absolute; left: 1rem; bottom: 1rem; background: var(--paper); padding: .75rem 1rem; border: 1px solid var(--line); font-size: .85rem; line-height: 1.4; max-width: 18rem; }
.map__tag strong { font-family: var(--serif); font-weight: 400; font-size: 1.05rem; display: block; }

/* ---------- Contact ---------- */
.contact { background: var(--plum-700); color: var(--ivory); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 42%; background: var(--plum-900); }
.contact .wrap { position: relative; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); }
.contact__intro h2 { color: var(--ivory); }
.contact__intro .lede { margin-top: 1.25rem; }
.contact__details { margin-top: 2.5rem; display: grid; gap: 1.25rem; border-top: 1px solid var(--line-on-dark); padding-top: 1.75rem; }
.contact__details span { display: block; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: rgba(247,241,232,.6); margin-bottom: .2rem; }
.contact__details a { color: var(--ivory); text-decoration: none; font-family: var(--serif); font-size: 1.3rem; overflow-wrap: anywhere; border-bottom: 1px solid transparent; transition: border-color .25s; }
.contact__details a:hover { border-bottom-color: var(--clay-soft); }
.form { background: var(--paper); color: var(--ink); padding: clamp(1.5rem, 3vw, 2.75rem); border: 1px solid var(--line); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.25rem; min-width: 0; }
.field label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--stone-deep); border-radius: var(--radius);
  padding: .8rem .95rem; width: 100%; min-height: 3rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--plum-700); box-shadow: 0 0 0 3px rgba(74,44,63,.15); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.field small { font-size: .82rem; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .5rem; }
.form__foot small { color: var(--ink-soft); font-size: .82rem; }
.error-message { color: #A3261D !important; font-weight: 600; }
#form-success { display: none; background: var(--paper); color: var(--ink); padding: clamp(2rem, 4vw, 3rem); border: 1px solid var(--line); border-left: 3px solid var(--clay); }
#form-success h3 { font-size: 1.8rem; }
#form-success p { margin-top: .75rem; color: var(--ink-soft); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
.footer { background: var(--plum-900); color: var(--ivory); border-top: 1px solid var(--line-on-dark); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 2.5rem; padding-block: clamp(3rem, 6vw, 5rem); }
.footer__brand .brand { color: var(--ivory); }
.footer__brand .brand__text small { color: rgba(247,241,232,.6); }
.footer__brand p { margin-top: 1.25rem; color: rgba(247,241,232,.72); max-width: 32ch; font-size: .95rem; }
.footer h4 { font-family: var(--sans); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(247,241,232,.6); margin-bottom: 1.1rem; font-weight: 600; }
.footer__nav li + li { margin-top: .5rem; }
.footer a { color: var(--ivory); text-decoration: none; }
.footer__nav a, .footer__contact a { border-bottom: 1px solid transparent; transition: border-color .25s; overflow-wrap: anywhere; }
.footer__nav a:hover, .footer__contact a:hover { border-bottom-color: var(--clay-soft); }
.footer__contact li + li { margin-top: .75rem; }
.footer__contact .btn { margin-top: 1.5rem; }
.footer__bottom { border-top: 1px solid var(--line-on-dark); padding-block: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; font-size: .85rem; color: rgba(247,241,232,.6); }

/* ---------- Reveal (progressive) ---------- */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  html.js-reveal-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  html.js-reveal-ready .reveal.is-in { opacity: 1; transform: none; }
  html.js-reveal-ready .reveal--img { transform: none; clip-path: inset(0 0 12% 0); transition: opacity .9s var(--ease), clip-path .9s var(--ease); }
  html.js-reveal-ready .reveal--img.is-in { clip-path: inset(0); }
  html.js-reveal-ready .reveal[data-delay="1"] { transition-delay: .12s; }
  html.js-reveal-ready .reveal[data-delay="2"] { transition-delay: .24s; }
  html.js-reveal-ready .reveal[data-delay="3"] { transition-delay: .36s; }
}
@media print { .reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; } .site-header, .mobile-nav, .lightbox { display: none !important; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { padding-left: 1.5rem; border-bottom: 1px solid var(--line-on-dark); }
  .step:nth-child(odd) { padding-left: 0; }
  .step:nth-child(even) { border-right: 0; }
  .step:nth-last-child(-n+2) { border-bottom: 0; }
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 960px) {
  .nav, .header__phone--desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__actions .btn { display: none; }
  .header__phone--mobile { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: var(--radius); }
  .header__phone--mobile svg { width: 1.1rem; height: 1.1rem; }

  .hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__media { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
  .hero__media::after { background: linear-gradient(0deg, var(--plum-900) 0, rgba(46,28,40,0) 22%); }
  .hero__copy { padding: 1.5rem var(--gutter) 3.5rem; }
  .hero__copy-inner { margin-left: 0; padding-left: 0; width: 100%; }
  .hero__frame { inset: 1rem; }

  .intro__grid { grid-template-columns: minmax(0, 1fr); }
  .intro__rule { display: none; }
  .intro__figure { max-width: 22rem; }
  .services__head { grid-template-columns: minmax(0, 1fr); }
  .feature__grid { grid-template-columns: minmax(0, 1fr); }
  .feature__panel { margin: -3rem var(--gutter) 0; }
  .why__grid { grid-template-columns: minmax(0, 1fr); }
  .why__sticky { position: static; }
  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .about__media { order: -1; max-width: 26rem; }
  .about__media::after { display: none; }
  .about__spacer { display: none; }
  .gallery__masonry { columns: 2; }
  .local__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .contact::before { width: 100%; height: 40%; }
}

@media (max-width: 960px) and (min-width: 600px) { .header__phone--mobile { display: inline-flex; } }
@media (min-width: 961px) { .header__phone--mobile { display: none; } }

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .brand__text { font-size: 1rem; }
  .brand__text small { display: none; }
  .hero__actions .btn { width: 100%; }
  .hero__media { aspect-ratio: 5 / 4; }
  .services__grid { grid-template-columns: minmax(0, 1fr); }
  .service h3 { margin-top: 1.5rem; }
  .process__steps { grid-template-columns: minmax(0, 1fr); }
  .step { padding-left: 0; border-right: 0; border-bottom: 1px solid var(--line-on-dark); }
  .step:nth-last-child(-n+2) { border-bottom: 1px solid var(--line-on-dark); }
  .step:last-child { border-bottom: 0; }
  .intro__points { grid-template-columns: minmax(0, 1fr); }
  .why__item { grid-template-columns: 2.75rem minmax(0, 1fr); }
  .gallery__masonry { columns: 1; }
  .gallery__item figcaption { opacity: 1; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .feature__panel { margin: -1.5rem 0 0; }
  .lightbox { padding: 4rem .5rem; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; transform: none; }
}
