/* Joel Dyter Cabinet Maker: site styles */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Mulish"; src: url("../fonts/mulish.woff2") format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; }

:root {
  --paper: #f6f1e7;
  --paper-2: #ede5d5;
  --card: #fbf8f2;
  --ink: #22262a;
  --ink-soft: #50565a;
  --line: rgba(34, 38, 42, 0.14);
  --green: #2e3a35;
  --green-2: #3c4b44;
  --oak: #a8713a;
  --oak-dark: #8a5a2b;
  --teal: #1f4a52;
  --wa: #1f8f4e;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 4px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --section: clamp(56px, 8vw, 112px);
  --shadow: 0 1px 2px rgba(34, 38, 42, 0.06), 0 8px 24px rgba(34, 38, 42, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.small { font-size: 0.875rem; color: var(--ink-soft); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--oak); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * 0.5) 0 var(--section); }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--green); color: #eef0ea; }
.section--dark .section-title { color: #fff; }

.eyebrow { font: 700 0.75rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--oak-dark); margin: 0 0 0.9rem; }
.eyebrow--light { color: #d6b48a; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); text-wrap: balance; }
.section-title--small { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 40px); }
.section-head .section-title { margin: 0; }
.section-head__intro { margin: 12px 0 0; max-width: 75ch; color: var(--ink-soft); font-size: 1.05rem; text-wrap: pretty; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 60ch; }
.text-link { font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--oak); padding-bottom: 2px; display: inline-flex; align-items: center; gap: 6px; }
.text-link:hover { color: var(--oak-dark); }

/* Buttons */
.btn {
  --bg: var(--green); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  background: var(--bg); color: var(--fg);
  border: 1.5px solid var(--bg); border-radius: var(--radius);
  font: 700 0.95rem/1 var(--sans); letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { --bg: var(--green-2); }
.btn:active { transform: translateY(1px); }
.btn--small { min-height: 40px; padding: 8px 18px; font-size: 0.875rem; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { --bg: #fff; --fg: var(--green); }
.btn--light:hover { --bg: var(--paper); }
.btn--wa { --bg: var(--wa); --fg: #fff; }
.btn--wa:hover { --bg: #18773f; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

/* Logo */
.logo { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; }
.logo__name { font: 600 1.7rem/1 var(--serif); letter-spacing: 0.08em; text-transform: uppercase; }
.logo__trade { font: 700 0.62rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--oak-dark); margin-top: 6px; }

/* Header: dark bar, matching Joel's black workshop sign */
.site-header { --nav-bg: #1f2426; --nav-fg: #ece8e0; --nav-muted: #b9b6ae; --nav-accent: #d6b48a; --header-h: 76px;
  position: sticky; top: 0; z-index: 40; background: var(--nav-bg); color: var(--nav-fg); transition: box-shadow 0.2s; }
.site-header.is-scrolled { box-shadow: 0 2px 18px rgba(0, 0, 0, 0.25); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.site-header__brand { text-decoration: none; color: #fff; }
.site-header .logo__trade { color: var(--nav-accent); }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav__list > li > a, .site-nav__sub-toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; text-decoration: none;
  font: 600 0.92rem/1 var(--sans); color: var(--nav-fg); background: none; border: 0; cursor: pointer;
}
.site-nav__list > li > a:hover, .site-nav__sub-toggle:hover { color: var(--nav-accent); }
.site-nav a[aria-current="page"] { color: var(--nav-accent); box-shadow: inset 0 -2px 0 var(--nav-accent); }
.site-nav__cta { margin-left: 8px; }
.site-nav__list > li > a.btn { background: var(--paper); color: var(--ink); border-color: var(--paper); padding: 8px 18px; border-radius: var(--radius); box-shadow: none; }
.site-nav__list > li > a.btn:hover { background: #fff; color: var(--ink); }
.has-sub { position: relative; }
.site-nav__sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 250px; background: var(--nav-bg); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); display: none; }
.has-sub.is-open .site-nav__sub { display: block; }
.site-nav__sub a { display: block; padding: 10px 12px; text-decoration: none; font-weight: 600; font-size: 0.92rem; border-radius: 3px; color: var(--nav-fg); }
.site-nav__sub a:hover { background: rgba(255, 255, 255, 0.07); color: var(--nav-accent); }
.site-nav__sub a[aria-current="page"] { box-shadow: none; }
.site-nav__sub-toggle svg { transition: transform 0.2s; }
.has-sub.is-open .site-nav__sub-toggle svg { transform: rotate(180deg); }
.site-nav__contact { display: none; }
.nav-toggle { display: none; }

@media (min-width: 1000px) {
  .has-sub:hover .site-nav__sub, .has-sub:focus-within .site-nav__sub { display: block; }
}

@media (max-width: 999px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -10px; background: none; border: 0; cursor: pointer; color: #fff; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 24px; height: 2px; background: currentColor; position: relative; transition: transform 0.25s, background 0.25s; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -7px; }
  .nav-toggle__bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }
  /* Full-height panel directly under the header */
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    background: var(--nav-bg); border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 8px var(--gutter) 48px; overflow-y: auto; overscroll-behavior: contain; display: none; }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list > li { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .site-nav__list > li > a, .site-nav__sub-toggle { width: 100%; justify-content: space-between; padding: 16px 0; font: 600 1.55rem/1 var(--serif); }
  .site-nav a[aria-current="page"] { box-shadow: none; }
  .site-nav__sub { position: static; display: block; box-shadow: none; border: 0; background: none; padding: 0 0 12px; min-width: 0; }
  .site-nav__sub-toggle svg { display: none; }
  .site-nav__sub-toggle { pointer-events: none; }
  .site-nav__sub a { font-size: 1rem; padding: 9px 0 9px 14px; border-left: 1.5px solid rgba(214, 180, 138, 0.4); border-radius: 0; }
  .site-nav__cta { margin: 24px 0 0; border: 0 !important; }
  .site-nav__list > li > a.btn { width: 100%; min-height: 54px; font: 700 1rem/1 var(--sans); justify-content: center; }
  .site-nav__contact { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; font-weight: 600; }
  .site-nav__contact a { text-decoration: none; color: var(--nav-fg); }
  body.nav-open { overflow: hidden; }
}

/* Hero */
.hero { padding: clamp(24px, 5vw, 64px) 0 clamp(40px, 6vw, 72px); }
.hero__grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__title { font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: 1.02; margin-bottom: 0.4em; text-wrap: balance; }
.hero__title em { font-style: italic; font-weight: 500; color: var(--oak-dark); }
.hero__wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; font-size: 0.95rem; color: var(--wa); text-decoration: none; }
.hero__wa:hover { text-decoration: underline; }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.hero__tag { position: absolute; left: 14px; bottom: 14px; margin: 0; padding: 8px 14px; background: rgba(251, 248, 242, 0.94); border-radius: 3px; font-size: 0.8rem; font-weight: 600; }
.hero__tag a { color: var(--oak-dark); }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; }
  .hero__media img { aspect-ratio: 1 / 1.08; }
}

.trust { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px; font-size: 0.92rem; color: var(--ink-soft); }
.trust strong { display: block; font: 600 1.4rem/1.1 var(--serif); color: var(--ink); }
@media (min-width: 800px) { .trust { grid-template-columns: repeat(4, 1fr); } }

/* Page hero */
.page-hero { padding: clamp(32px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); }
.page-hero--plain { padding-bottom: clamp(16px, 3vw, 32px); }
.page-title { font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: 1.04; }
.page-hero__grid { display: grid; gap: clamp(24px, 5vw, 56px); align-items: center; }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) { .page-hero__grid { grid-template-columns: 1fr 1fr; } .page-hero__media img { aspect-ratio: 1 / 1; } }

/* Service tiles */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(20px, 3vw, 32px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile a { display: block; text-decoration: none; color: inherit; }
.tile__media { overflow: hidden; border-radius: var(--radius); margin-bottom: 16px; }
.tile__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tile a:hover img { transform: scale(1.04); }
.tile__title { font-size: 1.7rem; margin-bottom: 0.25em; }
.tile p { color: var(--ink-soft); font-size: 0.97rem; margin: 0; }

/* Split */
.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
}

/* Prose */
.prose { max-width: 66ch; }
.prose p, .prose li { color: var(--ink-soft); }
.prose h2 { margin-top: 0.4em; }
.prose a { color: var(--oak-dark); font-weight: 600; }
.prose ul { padding-left: 1.2em; }
.pull-quote { margin: 0.4em 0 1.4em; padding-left: 20px; border-left: 3px solid var(--oak); }
.pull-quote blockquote { margin: 0; }
.prose .pull-quote p { font: 500 italic clamp(1.45rem, 2.4vw, 1.85rem)/1.3 var(--serif); color: var(--ink); margin: 0 0 8px; text-wrap: balance; }
.pull-quote figcaption { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--oak-dark); }
.prose li { margin-bottom: 0.5em; }
.prose-wrap { padding-bottom: var(--section); }
.prose-wrap--split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; padding-bottom: 0; }
.prose-wrap__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) { .prose-wrap--split { grid-template-columns: 1.2fr 1fr; } }
.prose-wrap--split .prose p:first-child { font: 500 clamp(1.4rem, 2.2vw, 1.75rem)/1.35 var(--serif); color: var(--ink); }

/* Highlights */
.highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 800px) { .highlights { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.highlights li { border-top: 2px solid var(--oak); padding-top: 18px; }
.highlights__title { font-size: 1.55rem; }
.highlights p { color: var(--ink-soft); margin: 0; }

/* Project cards */
.cards { display: grid; gap: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 32px); grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card__link { display: block; text-decoration: none; color: inherit; }
.card__media { overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.card__link:hover img { transform: scale(1.04); }
.card__body { padding-top: 14px; }
.card__body .eyebrow { margin-bottom: 6px; font-size: 0.7rem; }
.card__title { font-size: 1.6rem; margin: 0; }
.card__link:hover .card__title { color: var(--oak-dark); }
.card__meta { margin: 6px 0 0; font-size: 0.85rem; color: var(--ink-soft); }
.cards--list > li[hidden] { display: none; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { min-height: 40px; padding: 8px 16px; border: 1.5px solid var(--line); background: transparent; border-radius: 999px; font: 600 0.88rem/1 var(--sans); color: var(--ink); cursor: pointer; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Steps */
.steps { list-style: none; counter-reset: step; margin: 32px 0 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); row-gap: 40px; } }
.steps li { counter-increment: step; border-top: 1px solid rgba(255, 255, 255, 0.22); padding-top: 18px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 500 italic 2.2rem/1 var(--serif); color: #d6b48a; margin-bottom: 12px; }
.steps h3 { font-size: 1.5rem; color: #fff; }
.steps p { color: #c9cec8; font-size: 0.95rem; margin: 0; }
.steps__note { margin: 36px 0 0; color: #c9cec8; font-style: italic; }

/* Reviews marquee */
.reviews-band { padding: var(--section) 0; overflow: hidden; }
.marquee { margin-top: 16px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { list-style: none; margin: 0; padding: 12px var(--gutter); display: flex; gap: 24px; width: max-content; }
.marquee.is-animated .marquee__track { animation: marquee var(--marquee-duration, 60s) linear infinite; padding-left: 0; }
.marquee.is-animated:hover .marquee__track, .marquee.is-animated:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 12px)); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; scroll-snap-type: x mandatory; mask-image: none; }
  .marquee.is-animated .marquee__track { animation: none; }
  .quote-card { scroll-snap-align: start; }
}
.quote-card { width: min(82vw, 400px); flex: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(34, 38, 42, 0.04); }
.quote-card blockquote { margin: 0 0 18px; flex: 1; }
.quote-card blockquote p { font: 500 1.3rem/1.35 var(--serif); margin: 0; }
.quote-card__who { margin: 0; font-weight: 700; font-size: 0.92rem; }
.quote-card__who span { display: block; font-weight: 400; color: var(--ink-soft); }
.stars { color: var(--oak); letter-spacing: 3px; font-size: 1rem; margin-bottom: 14px; }
.reviews-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }

.reviews-list { display: grid; gap: 28px; max-width: 900px; }
.review { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.review blockquote { margin: 0 0 18px; }
.review blockquote p { font: 500 clamp(1.2rem, 2vw, 1.4rem)/1.45 var(--serif); }
.review figcaption a { color: var(--oak-dark); font-weight: 600; }

.big-quote { margin: 0 auto; text-align: center; }
.big-quote blockquote { margin: 0 0 16px; }
.big-quote blockquote p { font: 500 italic clamp(1.6rem, 3.4vw, 2.4rem)/1.25 var(--serif); }
.big-quote figcaption { color: var(--ink-soft); font-weight: 600; }
.big-quote a { color: var(--oak-dark); }

/* CTA */
.cta { background: var(--teal); color: #e7efee; padding: clamp(56px, 8vw, 96px) 0; }
.cta__inner { display: grid; gap: 32px; align-items: center; }
.cta__title { font-size: clamp(2.2rem, 4.5vw, 3.4rem); color: #fff; }
.cta p { max-width: 54ch; color: #cfdedd; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta__phone { color: #fff; font-weight: 700; text-align: center; margin-top: 4px; }
@media (min-width: 900px) { .cta__inner { grid-template-columns: 1.5fr 1fr; } .cta__actions { max-width: 340px; justify-self: end; width: 100%; } }

/* Footer */
.site-footer { background: #1d2124; color: #b9bdb8; padding: clamp(48px, 7vw, 80px) 0 calc(24px + var(--bar-h, 0px)); font-size: 0.95rem; }
.site-footer a { color: #e9e6df; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .logo__name { color: #fff; }
.site-footer .logo__trade { color: #d6b48a; }
.site-footer__grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer__brand p { margin: 18px 0; max-width: 34ch; }
.site-footer__heading { font: 700 0.75rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: #d6b48a; margin-bottom: 16px; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__base { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 48px; padding-top: 20px; font-size: 0.85rem; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; }
.social a:hover { background: rgba(255, 255, 255, 0.08); text-decoration: none; }

/* Mobile action bar + WhatsApp float */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(34, 38, 42, 0.08); padding-bottom: env(safe-area-inset-bottom); }
.action-bar__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 60px; text-decoration: none; color: var(--ink); font: 700 0.78rem/1 var(--sans); }
.action-bar__item--wa { color: var(--wa); }
.action-bar__item--primary { background: var(--green); color: #fff; }
body { --bar-h: 60px; }
.wa-float { display: none; }
@media (min-width: 900px) {
  .action-bar { display: none; }
  body { --bar-h: 0px; }
  .wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 50; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px; border-radius: 28px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 700; font-size: 0.92rem; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2); transition: transform 0.2s; }
  .wa-float:hover { transform: translateY(-2px); }
  .wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width 0.3s; }
  .wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 160px; }
}
body.nav-open .action-bar { display: none; }

/* Project page */
.project-hero { padding: clamp(24px, 5vw, 56px) 0 clamp(32px, 5vw, 56px); }
.project-hero__grid { display: grid; gap: clamp(24px, 5vw, 56px); align-items: center; }
.project-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) { .project-hero__grid { grid-template-columns: 1fr 1.25fr; } }
.project-hero__loc { font-weight: 700; color: var(--oak-dark); margin-top: -0.4em; }
.crumbs { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 14px; }
.crumbs a { color: var(--ink-soft); }
.stepper { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stepper li { display: flex; align-items: center; }
@media (min-width: 600px) { .stepper li + li::before { content: ""; width: 18px; height: 1.5px; background: var(--oak); margin-right: 8px; } }
.stepper a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 0.9rem; padding: 6px 14px 6px 6px; border: 1.5px solid var(--line); border-radius: 999px; }
.stepper a:hover { border-color: var(--oak); }
.stepper__n { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 0.78rem; }

.journey { background: var(--paper-2); }
.journey__track { display: grid; gap: 40px; }
.stage { scroll-margin-top: 96px; }
.stage__head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.stage__n { position: relative; z-index: 1; display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: var(--green); color: #fff; font: 700 1rem/1 var(--sans); flex: none; }
.stage__title { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0; }
.stage__caption { color: var(--ink-soft); max-width: 60ch; }
.stage__photos { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.stage__photos--1 { grid-template-columns: 1fr; }
.stage__photo { display: block; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; }
.stage__photo img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.5s; }
.stage__photo:hover img { transform: scale(1.04); }
.stage__photos--1 .stage__photo img { aspect-ratio: 4 / 3; max-height: 640px; }
.stage__photos--many .stage__photo:first-child, .stage__photos--3 .stage__photo:first-child { grid-column: span 2; }
.stage__photos--many .stage__photo:first-child img, .stage__photos--3 .stage__photo:first-child img { aspect-ratio: 16 / 10; }
@media (min-width: 900px) {
  .stage__photos--many, .stage__photos--3 { grid-template-columns: repeat(4, 1fr); }
  .stage__photos--many .stage__photo:first-child, .stage__photos--3 .stage__photo:first-child { grid-column: span 2; grid-row: span 2; }
  .stage__photos--many .stage__photo:first-child img, .stage__photos--3 .stage__photo:first-child img { aspect-ratio: 1 / 1; }
  .stage__photos--3 { grid-template-columns: 2fr 1fr; }
  .stage__photos--3 .stage__photo:first-child { grid-column: 1; grid-row: span 2; }
  .stage__photos--1 { max-width: 900px; }
}

/* Journey: timeline rail on desktop, swipeable on phones */
@media (min-width: 900px) {
  .journey .journey__track { position: relative; padding-left: 64px; gap: 64px; }
  .journey .journey__track::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(var(--oak), rgba(168, 113, 58, 0.2)); }
  .journey .stage__head { margin-left: -64px; }
  .journey .stage__n { box-shadow: 0 0 0 6px var(--paper-2); }
}
@media (max-width: 899px) {
  .journey .journey__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px; scrollbar-width: thin; }
  .journey .stage { flex: 0 0 86%; scroll-snap-align: start; background: var(--card); border-radius: var(--radius); padding: 18px; border: 1px solid var(--line); }
  .journey .stage__photos--many, .journey .stage__photos--3 { grid-template-columns: repeat(2, 1fr); }
}

/* Compare slider */
.compare { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: #fff; user-select: none; touch-action: pan-y; }
.compare picture, .compare__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.compare__img { object-fit: cover; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15); pointer-events: none; }
.compare__handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; box-shadow: var(--shadow); }
.compare__tag { position: absolute; top: 12px; padding: 5px 10px; background: rgba(34, 38, 42, 0.75); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 3px; pointer-events: none; }
.compare__tag--before { left: 12px; }
.compare__tag--after { right: 12px; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* Masonry gallery */
.masonry { columns: 2 200px; column-gap: 12px; }
.masonry__item { display: block; margin-bottom: 12px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.masonry__item img { width: 100%; transition: transform 0.5s; }
.masonry__item:hover img { transform: scale(1.03); }
@media (min-width: 900px) { .masonry { columns: 3; } }

/* FAQs */
.faqs { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 600 1.35rem/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 1.8rem/1 var(--sans); color: var(--oak); }
.faq[open] summary::after { content: "−"; }
.faq p { color: var(--ink-soft); padding-bottom: 12px; max-width: 70ch; }

/* Pricing */
.draft-flag { background: #fff4d6; border: 1px dashed #c99a2e; padding: 12px 16px; border-radius: var(--radius); font-size: 0.92rem; }
.price-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .price-grid { grid-template-columns: 1fr 1fr; } }
.price-table { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.price-table h3 { font-size: 1.7rem; }
.price-table dl { margin: 0; }
.price-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; padding: 14px 0; border-top: 1px solid var(--line); align-items: baseline; }
.price-row dt { color: var(--ink-soft); font-size: 0.95rem; }
.price-row dd { margin: 0; text-align: right; font-size: 0.85rem; color: var(--ink-soft); }
.price-row dd strong { font: 600 1.45rem/1 var(--serif); color: var(--ink); }
.price-row dd span { display: block; }
@media (max-width: 520px) { .price-row { grid-template-columns: 1fr; } .price-row dd { text-align: left; } }
.price-typical { font: 500 clamp(1.3rem, 2.2vw, 1.6rem)/1.35 var(--serif); margin: 28px 0 8px; }

/* Contact */
.contact { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact { grid-template-columns: 1.6fr 1fr; align-items: start; } .contact__aside { position: sticky; top: 100px; } }
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 700; font-size: 0.9rem; }
.field i { color: var(--oak-dark); font-style: normal; }
.field small { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--card); border: 1.5px solid rgba(34, 38, 42, 0.22); border-radius: var(--radius);
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(46, 58, 53, 0.15); }
.field--file input { padding: 10px; background: transparent; border-style: dashed; }
.field__hint { margin: -10px 0 0; font-size: 0.85rem; color: var(--ink-soft); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: var(--ink-soft); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none; }
.hp { position: absolute; left: -9999px; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__status { margin: 0; font-weight: 600; }
.form__status.is-error { color: #a12d2d; }
.form__status.is-ok { color: var(--wa); }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 20px; }
.contact-card__title { font-size: 1.7rem; }
.contact-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; font-weight: 600; }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list a { text-decoration: none; }
.address-block { margin-bottom: 1em; font-weight: 600; }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(15, 17, 18, 0.96); color: #fff; }
.lightbox::backdrop { background: rgba(15, 17, 18, 0.96); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 56px 12px 40px; max-height: 100%; }
.lightbox__img { max-width: min(96vw, 1600px); max-height: calc(100vh - 140px); object-fit: contain; }
.lightbox__caption { font-size: 0.92rem; color: #cfd2cf; text-align: center; max-width: 70ch; }
.lightbox__btn { position: absolute; background: rgba(255, 255, 255, 0.1); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; top: 24px; left: 20px; margin: 0; font-size: 0.85rem; color: #cfd2cf; }
@media (max-width: 700px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; transform: none; } }

/* Consent */
.consent { position: fixed; left: 16px; right: 16px; bottom: calc(16px + var(--bar-h)); z-index: 60; max-width: 460px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; font-size: 0.92rem; }
.consent__actions { display: flex; gap: 10px; }

/* Demo banner (GitHub Pages preview) */
.demo-banner { background: #fff4d6; color: var(--ink); text-align: center; font-size: 0.85rem; padding: 8px 16px; border-bottom: 1px dashed #c99a2e; }
