/* ==========================================================================
   Nuvel — Bespoke Cupboards & Cabinetry
   ========================================================================== */

:root {
  --bg: #0c0a08;
  --bg-2: #12100d;
  --surface: #17140f;
  --line: rgba(201, 164, 106, 0.16);
  --line-strong: rgba(201, 164, 106, 0.35);
  --text: #ece4d8;
  --text-soft: #c9bfb1;
  --muted: #8f8577;
  --gold: #c9a46a;
  --gold-soft: #d8c3a0;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--gold); color: #120f0b; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; color: var(--text); letter-spacing: -0.005em; }
h1 { font-size: clamp(48px, 6.4vw, 92px); }
h2 { font-size: clamp(36px, 4vw, 56px); }
h3 { font-size: clamp(22px, 2vw, 28px); }
p { margin: 0 0 1em; color: var(--text-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 11px; font-weight: 400;
  letter-spacing: .28em; text-transform: uppercase; color: var(--text-soft);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 7px;
  border-top: 1px solid var(--gold); border-left: 1px solid var(--gold);
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before { display: none; }

.lead { font-size: 17px; color: var(--text-soft); max-width: 46ch; }

/* ---------- Links & Buttons ---------- */
.link-arrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 14px; color: var(--gold-soft);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: color .3s var(--ease), gap .3s var(--ease);
}
.link-arrow:hover { color: var(--text); gap: 20px; }
.arrow { width: 16px; height: 10px; flex: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 14px 28px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 14px; letter-spacing: .02em; color: var(--text);
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: #120f0b; }
.btn--solid { background: var(--gold); border-color: var(--gold); color: #120f0b; }
.btn--solid:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn--sm { padding: 9px 22px; font-size: 13px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease), height .4s var(--ease);
}
.site-header.is-scrolled, .site-header--solid {
  background: rgba(12, 10, 8, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 38px; width: auto; }

.nav { display: flex; gap: clamp(20px, 3vw, 48px); }
.nav a {
  position: relative; font-size: 13.5px; color: var(--text-soft); padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after, .nav a:hover::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: none; width: 44px; height: 44px; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--text); transition: transform .35s var(--ease), opacity .3s; }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a { font-family: var(--serif); font-size: 40px; line-height: 1.5; color: var(--text); }
.mobile-menu a[aria-current="page"] { color: var(--gold); }
.mobile-menu .btn { margin-top: 32px; align-self: flex-start; font-family: var(--sans); font-size: 14px; line-height: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; transform: scale(1.06);
  transition: opacity 1.6s var(--ease), transform 7s linear;
}
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12,10,8,.92) 0%, rgba(12,10,8,.7) 30%, rgba(12,10,8,.1) 62%, rgba(12,10,8,0) 100%),
    linear-gradient(0deg, rgba(12,10,8,.85) 0%, rgba(12,10,8,0) 28%),
    linear-gradient(180deg, rgba(12,10,8,.55) 0%, rgba(12,10,8,0) 20%);
}
.hero .container { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 40px); padding-bottom: 80px; }
.hero__content { max-width: 560px; }
.hero h1 { margin-bottom: 28px; }
.hero .lead { margin-bottom: 36px; }
.hero__dots { display: flex; gap: 14px; margin-top: 56px; }
.hero__dot { width: 60px; text-align: left; font-size: 11px; letter-spacing: .1em; color: var(--muted); padding-bottom: 10px; position: relative; }
.hero__dot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.hero__dot i { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold-soft); z-index: 1; }
.hero__dot.is-active { color: var(--text); }
.hero__dot.is-active i { animation: dotfill 7s linear forwards; }
@keyframes dotfill { to { width: 100%; } }
.hero__tag {
  position: absolute; right: var(--gutter); bottom: 64px; z-index: 2;
  font-size: 10.5px; letter-spacing: .3em; line-height: 2.1; text-transform: uppercase; color: var(--text-soft);
  display: flex; gap: 14px;
}
.hero__tag::before { content: ""; width: 22px; height: 7px; margin-top: 8px; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: calc(var(--header-h) + 120px) 0 90px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,10,8,.95) 10%, rgba(12,10,8,.4) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 50%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(44px, 5.6vw, 80px); max-width: 14ch; margin-bottom: 24px; }
.breadcrumb { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.breadcrumb a:hover { color: var(--gold-soft); }
.breadcrumb span { margin: 0 10px; color: var(--line-strong); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 110px) 0; border-bottom: 1px solid var(--line); }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--alt { background: var(--bg-2); }

.split { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.split__head h2 { margin-bottom: 28px; }

/* Philosophy + stats */
.philosophy { display: grid; grid-template-columns: 1fr 1.2fr 1.6fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
.philosophy p { margin-bottom: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 8px 0 8px clamp(20px, 3vw, 44px); border-left: 1px solid var(--line); }
.stat__num { font-family: var(--serif); font-size: clamp(40px, 4vw, 54px); line-height: 1; color: var(--text); margin-bottom: 12px; }
.stat__label { font-size: 14px; line-height: 1.5; color: var(--text-soft); }

/* Service cards */
.services-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 32px; align-items: end; }
.services-row { display: grid; grid-template-columns: minmax(280px, 0.9fr) 2.4fr; gap: clamp(32px, 4vw, 60px); align-items: start; }
.services-row__head { display: grid; grid-template-columns: 1fr; gap: 20px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  transition: border-color .4s var(--ease), transform .5s var(--ease);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 21px; margin-bottom: 8px; }
.card__body p { font-size: 13.5px; line-height: 1.55; margin: 0; color: var(--muted); }
.card__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: auto; padding-top: 12px; }
.card__foot .arrow { color: var(--gold-soft); transition: transform .3s var(--ease); }
.card:hover .card__foot .arrow { transform: translateX(4px); }

/* Project tiles */
.projects-row { display: grid; grid-template-columns: minmax(240px, 0.75fr) 3fr; gap: clamp(32px, 4vw, 60px); }
.projects-row__head { display: flex; flex-direction: column; justify-content: space-between; }
.projects-row__head h2 { margin-bottom: 28px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { display: block; }
.tile__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.05); }
.tile__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; }
.tile__title { font-family: var(--serif); font-size: 21px; line-height: 1.2; color: var(--text); }
.tile__loc { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.tile .arrow { color: var(--gold-soft); transition: transform .3s var(--ease); }
.tile:hover .arrow { transform: translateX(4px); }
.tile__cat { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }

/* Craft */
.craft { display: grid; grid-template-columns: 1fr 1.25fr; border-bottom: 1px solid var(--line); }
.craft__img { position: relative; min-height: 380px; }
.craft__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.craft__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 50%, var(--bg) 100%); }
.craft__body { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 4vw, 56px); padding: clamp(56px, 6vw, 90px) var(--gutter) clamp(56px, 6vw, 90px) clamp(24px, 3vw, 40px); align-items: center; }
.craft__body h2 { margin-bottom: 24px; }
.features { list-style: none; margin: 0; padding: 0 0 0 clamp(24px, 3vw, 44px); border-left: 1px solid var(--line); display: grid; gap: 22px; }
.features li { display: flex; align-items: center; gap: 18px; font-size: 14px; color: var(--text-soft); }
.features svg { width: 24px; height: 24px; flex: none; color: var(--gold); }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: minmax(240px, 0.8fr) repeat(3, 1fr); gap: 0; }
.testimonials__head { padding-right: 32px; }
.quote { padding: 0 clamp(20px, 2.6vw, 40px); border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.quote blockquote { margin: 0; font-size: 15px; line-height: 1.7; color: var(--text-soft); }
.quote cite { font-style: normal; display: flex; gap: 14px; }
.quote cite::before { content: ""; width: 14px; height: 6px; margin-top: 7px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); flex: none; }
.quote cite strong { display: block; font-weight: 400; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--text); }
.quote cite span { font-size: 13px; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; text-align: center; padding: clamp(72px, 9vw, 120px) 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(12,10,8,.35) 0%, rgba(12,10,8,.85) 100%); }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { max-width: 14ch; margin: 0 auto 36px; }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0; background: var(--bg); }
.site-footer .container { display: grid; grid-template-columns: auto 1fr auto auto; gap: clamp(24px, 4vw, 56px); align-items: center; }
.footer-brand small { display: block; margin-top: 10px; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 36px; justify-content: center; padding: 0 clamp(16px, 3vw, 48px); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.footer-nav a { font-size: 13.5px; color: var(--text-soft); }
.footer-nav a:hover { color: var(--gold-soft); }
.social { display: flex; gap: 20px; }
.social a { color: var(--text-soft); transition: color .3s; }
.social a:hover { color: var(--gold); }
.social svg { width: 18px; height: 18px; }
.copyright { font-size: 12.5px; color: var(--muted); padding-left: clamp(16px, 3vw, 48px); border-left: 1px solid var(--line); }

/* ---------- Projects archive ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; margin-bottom: 44px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter {
  padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; color: var(--text-soft); transition: all .3s var(--ease);
}
.filter:hover { border-color: var(--line-strong); color: var(--text); }
.filter.is-active { background: var(--gold); border-color: var(--gold); color: #120f0b; }
.search {
  display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line-strong);
  padding: 6px 2px; min-width: 240px;
}
.search svg { width: 16px; height: 16px; color: var(--muted); }
.search input { background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 14px; width: 100%; }
.search input::placeholder { color: var(--muted); }
.results-count { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.tiles--archive { grid-template-columns: repeat(3, 1fr); gap: 40px 22px; }
.load-more { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 64px; }
.load-more small { font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.progress { width: 220px; height: 1px; background: var(--line); position: relative; }
.progress i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--gold); transition: width .5s var(--ease); }
.empty { text-align: center; padding: 60px 0; color: var(--muted); }

/* ---------- Project detail ---------- */
.project-hero { position: relative; height: 82vh; min-height: 520px; overflow: hidden; }
.project-hero img { width: 100%; height: 100%; object-fit: cover; }
.project-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(12,10,8,.2) 45%, rgba(12,10,8,.55) 100%); }
.project-hero .container { position: absolute; left: 0; right: 0; bottom: 56px; z-index: 2; margin: 0 auto; }
.project-hero h1 { margin-bottom: 14px; }
.project-info { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 6vw, 100px); }
.project-info .lead { max-width: none; font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.4; color: var(--text); margin-bottom: 28px; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts span:first-child { color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: 11px; padding-top: 3px; }
.facts span:last-child { text-align: right; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gallery button { display: block; overflow: hidden; aspect-ratio: 4 / 3; padding: 0; background: var(--surface); }
.gallery button:first-child { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
.project-nav { display: flex; justify-content: space-between; gap: 24px; }
.project-nav a { display: flex; flex-direction: column; gap: 6px; max-width: 45%; }
.project-nav a:last-child { text-align: right; align-items: flex-end; }
.project-nav small { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.project-nav strong { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.4vw, 32px); }
.project-nav a:hover strong { color: var(--gold-soft); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,7,5,.96); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; }
.lightbox button { position: absolute; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; }
.lightbox button:hover { border-color: var(--gold); color: var(--gold); }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- About / Services / Process ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.media-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--wide { aspect-ratio: 4 / 3; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.value { padding: 36px 28px 8px 0; }
.value + .value { padding-left: 28px; border-left: 1px solid var(--line); }
.value svg { width: 28px; height: 28px; color: var(--gold); margin-bottom: 22px; }
.value h3 { margin-bottom: 12px; }
.value p { font-size: 14.5px; }

.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); }
.service-detail:last-child { border-bottom: 0; }
.service-detail:nth-child(even) .media-frame { order: 2; }
.service-detail__num { font-family: var(--serif); font-size: 15px; color: var(--gold); letter-spacing: .1em; margin-bottom: 14px; display: block; }
.service-detail h2 { margin-bottom: 22px; }
.checklist { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checklist li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--text-soft); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 1px; background: var(--gold); }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); counter-reset: step; }
.step { padding: 32px 24px 0 0; position: relative; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step__num { font-family: var(--serif); font-size: 44px; color: var(--gold); line-height: 1; margin-bottom: 18px; }
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { font-size: 14px; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--serif); font-size: clamp(20px, 2vw, 25px); color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 200; font-size: 26px; color: var(--gold); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; max-width: 70ch; }

/* ---------- Quote form ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.4fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; border-top: 1px solid var(--line); }
.contact-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-list small { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-list a, .contact-list span { font-family: var(--serif); font-size: 22px; color: var(--text); }
.contact-list a:hover { color: var(--gold-soft); }

.form { background: var(--surface); border: 1px solid var(--line); padding: clamp(28px, 4vw, 52px); }
.form h2 { font-size: clamp(30px, 3vw, 40px); margin-bottom: 8px; }
.form > p { margin-bottom: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-soft); padding: 0; }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
  color: var(--text); font: inherit; font-size: 15px; padding: 10px 0; outline: 0; border-radius: 0;
  transition: border-color .3s var(--ease);
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c9a46a'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; padding-right: 24px; }
.field select option { background: var(--surface); color: var(--text); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: #6d6458; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chip { position: relative; }
.chip input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--text-soft); cursor: pointer; transition: all .25s var(--ease); }
.chip input:checked + span { background: var(--gold); border-color: var(--gold); color: #120f0b; }
.chip input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; margin-top: 36px; }
.form-foot small { color: var(--muted); font-size: 12.5px; max-width: 40ch; }
.form-status { margin-top: 24px; padding: 16px 20px; border: 1px solid var(--line-strong); font-size: 14.5px; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-success { border-color: var(--gold); color: var(--gold-soft); }
.form-status.is-error { border-color: #b4574a; color: #e3a397; }
.hp { display: none !important; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .philosophy { grid-template-columns: 1fr 1fr; }
  .philosophy .stats { grid-column: 1 / -1; }
  .stat:first-child { border-left: 0; padding-left: 0; }
  .services-row, .projects-row { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .testimonials__head { grid-column: 1 / -1; }
  .quote:nth-child(2) { border-left: 0; padding-left: 0; }
  .craft { grid-template-columns: 1fr; }
  .craft__img { min-height: 340px; }
  .craft__img::after { background: linear-gradient(0deg, var(--bg) 0%, transparent 50%); }
  .craft__body { padding-left: var(--gutter); }
  .site-footer .container { grid-template-columns: 1fr auto; }
  .footer-nav { grid-column: 1 / -1; order: 3; border: 0; padding: 24px 0; border-top: 1px solid var(--line); justify-content: flex-start; }
  .copyright { grid-column: 1 / -1; order: 4; border: 0; padding: 0; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .step:nth-child(4) { border-left: 0; padding-left: 0; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .value:nth-child(3) { border-left: 0; padding-left: 0; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: block; }
  .tiles, .tiles--archive { grid-template-columns: repeat(2, 1fr); }
  .craft__body { grid-template-columns: 1fr; }
  .features { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
  .two-col, .service-detail, .contact-grid, .project-info { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) .media-frame { order: 0; }
  .hero__tag { display: none; }
}

@media (max-width: 640px) {
  .philosophy { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding-top: 26px; }
  .stat { padding: 0 0 0 16px; }
  .stat:first-child { border-left: 0; padding-left: 0; }
  .stat__num { font-size: 36px; margin-bottom: 8px; }
  .stat__label { font-size: 12.5px; }
  .cards, .tiles, .tiles--archive { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .quote { border-left: 0; padding: 28px 0 0; border-top: 1px solid var(--line); }
  .quote:nth-child(2) { padding-top: 28px; }
  .form-grid, .checklist { grid-template-columns: 1fr; }
  .steps, .values { grid-template-columns: 1fr; }
  .step + .step, .value + .value { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .site-footer .container { grid-template-columns: 1fr; }
  .search { min-width: 0; width: 100%; }
  .gallery { grid-template-columns: 1fr; }
  .gallery button:first-child { aspect-ratio: 4 / 3; }
  .lightbox { padding: 60px 12px; }
  .hero::after { background: linear-gradient(0deg, rgba(12,10,8,.95) 0%, rgba(12,10,8,.55) 60%, rgba(12,10,8,.6) 100%); }
}
