/* ==========================================================================
   Marion Wallpaper Installers — styles.css
   Type: Literata (display serif) + Hanken Grotesk (UI/body sans)
   Palette: warm ivory / terracotta clay / espresso
   ========================================================================== */

/* ----- Fonts (self-hosted, variable) ----- */
@font-face {
  font-family: "Literata";
  src: url("assets/fonts/Literata.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("assets/fonts/Literata-Italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/HankenGrotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ----- Design tokens ----- */
:root {
  --ivory: #F7F1E8;
  --paper: #FCF8F1;
  --cream: #F0E7D8;
  --stone: #E6DBC8;
  --espresso: #2B211A;
  --espresso-2: #1E1712;

  --ink: #241E17;
  --body: #453D33;
  --muted: #5F5648;

  --on-dark: #F3EBDD;
  --on-dark-muted: #C0B4A0;

  --accent: #A8432A;         /* terracotta — text + filled buttons */
  --accent-hover: #8E3620;
  --accent-dark: #E0A47C;    /* on espresso only */
  --clay: #C06B44;           /* DECORATIVE only, never text */

  --rule: #E0D6C4;
  --rule-dark: #3C3229;
  --line: #8A7C6A;           /* control borders (non-text) */
  --error: #A32B22;

  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 2px 10px rgba(43, 33, 26, 0.06);
  --shadow-md: 0 18px 44px -22px rgba(43, 33, 26, 0.34);
  --shadow-lg: 0 34px 70px -30px rgba(43, 33, 26, 0.42);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----- Reset / base ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 86px;
}
body {
  font-family: var(--sans);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  line-height: 1.7;
  color: var(--body);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 560;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ----- Layout helpers ----- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(52px, 6.5vw, 92px); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--clay);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--accent-dark); }
.eyebrow--light::before { background: var(--accent-dark); }

.section-head { max-width: 720px; margin-bottom: clamp(38px, 4.5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title {
  font-size: clamp(1.9rem, 1.35rem + 2.4vw, 3.05rem);
  margin-top: 0.42em;
}
.section-intro {
  margin-top: 1em;
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
  color: var(--muted);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.92em 1.7em;
  font-family: var(--sans);
  font-weight: 640;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: transform .35s var(--ease), background-color .3s var(--ease),
              color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  will-change: transform;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 26px -12px rgba(168, 67, 42, 0.7);
}
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--light {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(243, 235, 221, 0.34);
}
.btn--light:hover { background: rgba(243, 235, 221, 0.1); border-color: var(--on-dark); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--lg { padding: 1.05em 2em; font-size: 1rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 640;
  color: var(--accent);
  font-size: 0.95rem;
}
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 84px;
  transition: height .4s var(--ease);
}
.header.is-scrolled {
  background: rgba(250, 246, 239, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom-color: var(--rule);
  box-shadow: var(--shadow-sm);
}
.header.is-scrolled .header__inner { height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mark {
  width: 42px; height: 42px; flex: none;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--espresso);
  transition: transform .4s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-4deg); }
.brand__mark svg { width: 26px; height: 26px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.06rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand__tag {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
/* header over hero (pre-scroll): lighten brand text */
.header:not(.is-scrolled) .brand__name { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  padding: 8px 14px;
  font-size: 0.925rem;
  font-weight: 560;
  color: var(--body);
  border-radius: 8px;
  position: relative;
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--accent); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--accent); }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 640;
  font-size: 0.925rem;
  color: var(--ink);
  white-space: nowrap;
}
.header__phone svg { width: 16px; height: 16px; color: var(--accent); }
.header__phone:hover { color: var(--accent); }

.hamburger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: rgba(252, 248, 241, 0.7);
  position: relative;
}
.hamburger span {
  position: absolute; left: 12px; right: 12px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .35s var(--ease), opacity .2s var(--ease), top .35s var(--ease);
}
.hamburger span:nth-child(1) { top: 16px; }
.hamburger span:nth-child(2) { top: 22px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: grid;
  grid-template-rows: 84px 1fr;
  background: var(--paper);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .45s var(--ease), visibility .45s;
}
.drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer__body {
  padding: 18px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.drawer__link {
  padding: 16px 6px;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer__link span { font-family: var(--sans); font-size: 0.8rem; color: var(--accent); font-weight: 700; }
.drawer__cta { margin-top: 26px; display: grid; gap: 12px; }
.drawer__phone {
  margin-top: 8px; text-align: center; font-weight: 640; color: var(--muted);
}

/* ==========================================================================
   Hero (split)
   ========================================================================== */
.hero {
  position: relative;
  padding-top: 84px;
  background:
    radial-gradient(120% 80% at 8% 0%, var(--paper) 0%, var(--ivory) 46%, var(--cream) 100%);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  min-height: min(88vh, 780px);
  padding-block: clamp(40px, 6vw, 84px);
}
.hero__copy { max-width: 560px; }
.hero__title {
  font-size: clamp(2.5rem, 1.6rem + 3.8vw, 4.35rem);
  margin-top: 0.5em;
  letter-spacing: -0.02em;
  line-height: 1.04;
}
.hero__title em { font-style: italic; color: var(--accent); font-weight: 500; }
.hero__sub {
  margin-top: 1.15em;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.24rem);
  color: var(--muted);
  max-width: 46ch;
}
.hero__cta {
  margin-top: 2.1em;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__meta {
  margin-top: 2.4em;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 1.6em;
  border-top: 1px solid var(--rule);
}
.hero__meta-item { display: flex; flex-direction: column; }
.hero__meta-item b { font-family: var(--serif); font-size: 1.02rem; color: var(--ink); font-weight: 600; }
.hero__meta-item span { font-size: 0.82rem; color: var(--muted); }
.hero__meta-div { width: 1px; height: 34px; background: var(--rule); }

/* hero visual */
.hero__visual { position: relative; }
.hero__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 4.1;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual::before {
  content: "";
  position: absolute;
  inset: 22px -20px -20px 22px;
  border: 1.5px solid var(--clay);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.6;
}
.hero__caption {
  position: absolute;
  left: 18px; bottom: 18px;
  background: rgba(30, 23, 18, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--on-dark);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  display: flex; align-items: center; gap: 9px;
}
.hero__caption::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-dark); }

.scroll-cue {
  position: absolute;
  left: var(--gutter); bottom: 22px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue__line { width: 46px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue__line::after {
  content: ""; position: absolute; inset: 0; width: 40%; background: var(--accent);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0%{transform:translateX(-100%)} 60%,100%{transform:translateX(260%)} }

/* ==========================================================================
   Intro / value blocks
   ========================================================================== */
.value {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 26px);
}
.value__card {
  padding: 28px 24px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.value__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--stone); }
.value__icon {
  width: 50px; height: 50px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--cream);
  color: var(--accent);
  margin-bottom: 18px;
}
.value__icon svg { width: 26px; height: 26px; }
.value__card h3 { font-size: 1.16rem; margin-bottom: 8px; }
.value__card p { font-size: 0.94rem; color: var(--muted); line-height: 1.6; }

/* ==========================================================================
   Services
   ========================================================================== */
.services { background: var(--paper); position: relative; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.service {
  position: relative;
  padding: 34px 30px 32px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--ivory);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.service::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--clay));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service__num {
  font-family: var(--serif);
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.service__icon { margin: 14px 0 16px; color: var(--ink); }
.service__icon svg { width: 34px; height: 34px; stroke-width: 1.4; }
.service h3 { font-size: 1.28rem; margin-bottom: 10px; }
.service p { font-size: 0.95rem; color: var(--muted); line-height: 1.62; }

/* ==========================================================================
   Feature (split)
   ========================================================================== */
.feature__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.feature__media { position: relative; }
.feature__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.feature__badge {
  position: absolute;
  right: -18px; bottom: 28px;
  background: var(--espresso);
  color: var(--on-dark);
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  max-width: 200px;
}
.feature__badge b { font-family: var(--serif); font-size: 1.5rem; color: #fff; display: block; }
.feature__badge span { font-size: 0.78rem; color: var(--on-dark-muted); letter-spacing: 0.04em; }
.feature__copy p { color: var(--muted); margin-top: 1.1em; }
.flow {
  margin-top: 2em;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 10px;
}
.flow__step {
  flex: 1 1 auto;
  min-width: 120px;
  padding: 16px 18px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  background: var(--paper);
  position: relative;
}
.flow__step b {
  font-family: var(--serif);
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.flow__step span { font-size: 0.98rem; color: var(--ink); font-weight: 560; }
.flow__arrow { align-self: center; color: var(--clay); flex: none; }
.flow__arrow svg { width: 20px; height: 20px; }

/* ==========================================================================
   Process (dark band)
   ========================================================================== */
.process {
  background: var(--espresso);
  color: var(--on-dark);
  position: relative;
}
.process .section-title { color: #fff; }
.process .section-intro { color: var(--on-dark-muted); }
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
  counter-reset: step;
}
.pstep { position: relative; padding-top: 34px; }
.pstep::before {
  content: "";
  position: absolute;
  top: 12px; left: 0; right: 0;
  height: 1px;
  background: var(--rule-dark);
}
.pstep::after {
  content: "";
  position: absolute;
  top: 8px; left: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent-dark);
  box-shadow: 0 0 0 4px rgba(224, 164, 124, 0.14);
}
.pstep__num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 1.6rem + 2vw, 3.4rem);
  color: rgba(243, 235, 221, 0.16);
  font-weight: 600;
  line-height: 1;
}
.pstep h3 { color: #fff; font-size: 1.28rem; margin: 12px 0 10px; }
.pstep p { color: var(--on-dark-muted); font-size: 0.95rem; line-height: 1.62; }

/* ==========================================================================
   Gallery (masonry via CSS columns)
   ========================================================================== */
.gallery__masonry {
  columns: 3;
  column-gap: clamp(14px, 1.8vw, 22px);
}
.gallery__item {
  break-inside: avoid;
  margin-bottom: clamp(14px, 1.8vw, 22px);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  display: block;
  width: 100%;
  background: var(--stone);
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.gallery__item img {
  width: 100%;
  transition: transform .8s var(--ease);
}
.gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,23,18,0.5), transparent 46%);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.gallery__cap {
  position: absolute;
  left: 16px; bottom: 14px;
  color: var(--on-dark);
  font-size: 0.85rem;
  font-weight: 560;
  letter-spacing: 0.02em;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.gallery__view {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(252,248,241,0.92);
  display: grid; place-items: center;
  color: var(--ink);
  opacity: 0; transform: scale(0.8);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  z-index: 2;
}
.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after,
.gallery__item:hover .gallery__cap,
.gallery__item:hover .gallery__view { opacity: 1; }
.gallery__item:hover .gallery__cap { transform: translateY(0); }
.gallery__item:hover .gallery__view { transform: scale(1); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(20, 15, 11, 0.9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: min(1000px, 92vw);
  max-height: 82vh;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}
.lightbox__cap {
  position: absolute;
  bottom: max(18px, 4vh);
  left: 0; right: 0;
  text-align: center;
  color: var(--on-dark-muted);
  font-size: 0.9rem;
}
.lightbox__btn {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(252, 248, 241, 0.12);
  border: 1px solid rgba(243, 235, 221, 0.28);
  color: var(--on-dark);
  display: grid; place-items: center;
  transition: background-color .3s var(--ease);
}
.lightbox__btn:hover { background: rgba(252, 248, 241, 0.24); }
.lightbox__btn--close { top: max(18px, 4vh); right: max(18px, 4vw); }
.lightbox__btn--prev { left: max(10px, 2vw); top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: max(10px, 2vw); top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   About
   ========================================================================== */
.about { background: var(--cream); }
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.about__media { position: relative; }
.about__media img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.about__media::before {
  content: "";
  position: absolute;
  inset: -18px -18px 40px 34px;
  border: 1.5px solid var(--clay);
  border-radius: var(--radius);
  z-index: 0;
  opacity: 0.55;
}
.about__media img { position: relative; z-index: 1; }
.about__owner {
  position: absolute;
  z-index: 2;
  left: -14px; bottom: 24px;
  background: var(--paper);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
}
.about__owner-mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--espresso); color: var(--accent-dark);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600; font-size: 1.02rem;
  letter-spacing: 0.02em;
}
.about__owner b { font-family: var(--serif); color: var(--ink); font-size: 1rem; display: block; line-height: 1.2; }
.about__owner span { font-size: 0.78rem; color: var(--muted); }
.about__copy p { color: var(--body); margin-top: 1.1em; }
.about__copy p + p { margin-top: 0.9em; }
.about__sign {
  margin-top: 1.6em;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.32rem;
  color: var(--accent);
}
.about__points {
  margin-top: 1.6em;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  list-style: none;
  padding: 0;
}
.about__points li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.95rem; color: var(--body);
}
.about__points svg { flex: none; margin-top: 3px; color: var(--accent); width: 18px; height: 18px; }

/* ==========================================================================
   Local area
   ========================================================================== */
.area__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 4vw, 64px);
  align-items: center;
}
.area__copy p { color: var(--muted); margin-top: 1.1em; }
.area__tags {
  margin-top: 1.7em;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.area__tag {
  padding: 8px 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.85rem;
  color: var(--body);
  font-weight: 540;
}
.area__tag::before { content: "•"; color: var(--accent); margin-right: 7px; }
.area__visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
}
.area__visual img { width: 100%; height: 100%; object-fit: cover; }
.area__pin {
  position: absolute;
  left: 20px; bottom: 20px; right: 20px;
  background: rgba(30, 23, 18, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--on-dark);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex; align-items: center; gap: 14px;
}
.area__pin svg { flex: none; color: var(--accent-dark); width: 26px; height: 26px; }
.area__pin b { font-family: var(--serif); color: #fff; display: block; font-size: 1rem; }
.area__pin span { font-size: 0.82rem; color: var(--on-dark-muted); }

/* ==========================================================================
   Contact + form + map
   ========================================================================== */
.contact { background: var(--espresso); color: var(--on-dark); }
.contact .section-title { color: #fff; }
.contact .section-intro { color: var(--on-dark-muted); }
.contact__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: start;
}
.contact__info { padding-top: 6px; }
.contact__list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; }
.contact__row {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-dark);
}
.contact__row-ic {
  width: 44px; height: 44px; flex: none;
  border-radius: 11px;
  background: rgba(224, 164, 124, 0.12);
  color: var(--accent-dark);
  display: grid; place-items: center;
}
.contact__row-ic svg { width: 20px; height: 20px; }
.contact__row dt { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 3px; }
.contact__row dd { margin: 0; font-size: 1.05rem; color: var(--on-dark); font-weight: 540; }
.contact__row dd a:hover { color: var(--accent-dark); }

.map-card {
  margin-top: 22px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--rule-dark);
  background: var(--espresso-2);
}
.map-card__frame { position: relative; aspect-ratio: 16 / 10; background: var(--espresso-2); }
.map-card__frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.9); }
.map-card__fallback {
  position: absolute; inset: 0;
  display: grid; place-content: center; text-align: center; gap: 6px;
  padding: 20px; color: var(--on-dark-muted); z-index: 0;
}
.map-card__fallback svg { width: 30px; height: 30px; margin: 0 auto; color: var(--accent-dark); }
.map-card__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 18px;
}
.map-card__bar b { font-family: var(--serif); color: #fff; font-size: 0.98rem; }
.map-card__bar span { font-size: 0.82rem; color: var(--on-dark-muted); display: block; }

/* Form */
.form-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.form-card__head { margin-bottom: 22px; }
.form-card__head h3 { font-size: 1.5rem; }
.form-card__head p { color: var(--muted); font-size: 0.92rem; margin-top: 6px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.78rem;
  font-weight: 640;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label .req { color: var(--accent); }
.field input,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--ivory);
  border: 1.5px solid var(--rule);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: #9a8f7d; }
.field input:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(168, 67, 42, 0.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-note { font-size: 0.8rem; color: var(--muted); flex: 1; min-width: 180px; }
.error-message { color: var(--error) !important; margin-top: 5px; font-size: 0.82rem; font-weight: 540; }

.form-success {
  display: none;
  text-align: center;
  padding: clamp(30px, 5vw, 56px) 20px;
}
.form-success__ic {
  width: 66px; height: 66px; border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--cream); color: var(--accent);
  display: grid; place-items: center;
}
.form-success__ic svg { width: 32px; height: 32px; }
.form-success h3 { font-size: 1.5rem; margin-bottom: 8px; }
.form-success p { color: var(--muted); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--espresso-2);
  color: var(--on-dark-muted);
  padding-top: clamp(56px, 7vw, 88px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 44px;
  border-bottom: 1px solid var(--rule-dark);
}
.footer__brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__brand .brand__mark { background: rgba(224, 164, 124, 0.14); }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__tag { color: var(--on-dark-muted); }
.footer__about { max-width: 34ch; font-size: 0.94rem; line-height: 1.7; }
.footer__col h4 {
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: 16px;
  font-weight: 700;
}
.footer__links { list-style: none; padding: 0; display: grid; gap: 11px; }
.footer__links a { font-size: 0.95rem; transition: color .25s var(--ease); }
.footer__links a:hover { color: var(--accent-dark); }
.footer__contact { display: grid; gap: 13px; font-size: 0.95rem; }
.footer__contact a { display: inline-flex; gap: 9px; align-items: flex-start; }
.footer__contact svg { flex: none; margin-top: 3px; color: var(--accent-dark); width: 16px; height: 16px; }
.footer__contact a:hover { color: var(--accent-dark); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding-block: 26px;
  font-size: 0.85rem;
}
.footer__bottom p { color: var(--on-dark-muted); }

/* ==========================================================================
   Mobile sticky CTA bar
   ========================================================================== */
.mobilebar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 246, 239, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--rule);
  transform: translateY(120%);
  transition: transform .4s var(--ease);
}
.mobilebar.is-visible { transform: translateY(0); }
.mobilebar .btn { flex: 1; padding: 0.85em 1em; }

/* ==========================================================================
   Reveal animation — visible by default; enhanced only when JS + IO present
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js-enhanced [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .js-enhanced [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .header, .mobilebar, .drawer, .scroll-cue, .lightbox { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .value { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .gallery__masonry { columns: 2; }
}

@media (max-width: 940px) {
  .nav, .header__phone { display: none; }
  .hamburger { display: block; }
  .header__actions .btn--primary { display: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .hero__visual { order: -1; max-width: 560px; }
  .hero__visual::before { inset: 16px -12px -12px 16px; }
  .feature__grid { grid-template-columns: 1fr; gap: 44px; }
  .feature__media { max-width: 460px; }
  .feature__badge { right: 18px; }
  .about__grid { grid-template-columns: 1fr; gap: 60px; }
  .about__media { max-width: 420px; }
  .area__grid { grid-template-columns: 1fr; gap: 40px; }
  .area__visual { max-width: 460px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .scroll-cue { display: none; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 74px; }
  .mobilebar { display: flex; }
  body { padding-bottom: 0; }
  .value { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr; row-gap: 30px; }
  .gallery__masonry { columns: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .about__points { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__meta { gap: 16px; }
  .feature__badge { position: static; margin-top: 16px; max-width: none; box-shadow: var(--shadow-sm); }
  .about__owner { left: 12px; }
}

@media (max-width: 400px) {
  .hero__meta-div { display: none; }
  .about__media::before, .hero__visual::before { display: none; }
}
