/* ==========================================================================
   Dzulkarnain Kamsani — Photography Portfolio
   Design system + shared components
   ========================================================================== */

/* ------------------------------------------------------------------ TOKENS */
:root {
  --ink: #14110f;
  --ink-soft: #4a443f;
  --ink-mute: #8b827a;
  --paper: #fbfaf7;
  --paper-alt: #f2efe9;
  --line: #e2ddd4;
  --accent: #9a7b4f;
  --accent-soft: #c9ab7d;
  --white: #ffffff;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1240px;
  --gut: 24px;
  --radius: 2px;
  --shadow: 0 18px 50px -22px rgba(20, 17, 15, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
figure, figcaption, blockquote { margin: 0; }

::selection { background: var(--ink); color: var(--paper); }

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

/* --------------------------------------------------------------- TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}

h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }

.eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  margin: 0 0 18px;
}

.lede {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.75;
}

.muted { color: var(--ink-mute); }
.serif { font-family: var(--font-display); }
.center { text-align: center; }

/* ------------------------------------------------------------------ LAYOUT */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section { padding: clamp(64px, 10vw, 130px) 0; }
.section--tight { padding: clamp(44px, 6vw, 74px) 0; }
.section--alt { background: var(--paper-alt); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .eyebrow,
.section--ink .muted { color: rgba(251, 250, 247, 0.55); }
.section--ink .lede { color: rgba(251, 250, 247, 0.72); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ------------------------------------------------------------------ HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 250, 247, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-stuck { border-bottom-color: var(--line); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand { display: flex; flex-direction: column; line-height: 1.1; }

/* Logo image (falls back to the text wordmark below if no logo is set). */
.brand__logo {
  display: block;
  height: 34px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  object-position: left center;
  transition: opacity 0.25s ease;
}
.brand:hover .brand__logo { opacity: 0.72; }

.footer-logo {
  display: block;
  height: 58px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 16px;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  letter-spacing: 0.01em;
}
.brand__sub {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 34px; }

.nav__link {
  position: relative;
  font-size: 0.8rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.25s ease;
  padding: 6px 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--ink); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ------------------------------------------------------------------ BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); transform: translateY(-2px); }

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

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

.btn--sm { padding: 11px 22px; font-size: 0.68rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: gap 0.3s var(--ease);
}
.link-arrow:hover { gap: 18px; }

/* -------------------------------------------------------------------- HERO */
.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.82;
  animation: heroZoom 16s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  /* Two layers: a left-biased scrim so the headline and copy stay legible over
     busy detail, plus the bottom fade that anchors the text block. */
  background:
    linear-gradient(to right,
      rgba(10, 9, 8, 0.62) 0%,
      rgba(10, 9, 8, 0.38) 42%,
      rgba(10, 9, 8, 0.06) 72%,
      rgba(10, 9, 8, 0) 100%),
    linear-gradient(to top,
      rgba(10, 9, 8, 0.88) 0%,
      rgba(10, 9, 8, 0.3) 45%,
      rgba(10, 9, 8, 0.28) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--gut) clamp(56px, 9vw, 110px);
  color: var(--paper);
}
.hero__inner h1 { max-width: 16ch; }
.hero__inner .lede { color: rgba(251, 250, 247, 0.8); margin-top: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 40px;
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid rgba(251, 250, 247, 0.24);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251, 250, 247, 0.66);
}

/* --------------------------------------------------------------- PAGE HEAD */
.page-head {
  padding: clamp(56px, 9vw, 108px) 0 clamp(30px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4.25rem); }
.page-head .lede { margin-top: 22px; }

/* ------------------------------------------------------------ REVEAL ANIM */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img { animation: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------- GRID CARDS */
.grid { display: grid; gap: var(--gut); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

/* -------------------------------------------------------------- GALLERY */
.gallery-feature {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  /* One explicit row so the tiles inside fill the block instead of
     growing it — without this the slots overflow their own container. */
  grid-template-rows: 100%;
  gap: var(--gut);
  height: clamp(400px, 62vh, 660px);
}
.gallery-feature__main,
.gallery-feature__side { position: relative; overflow: hidden; cursor: zoom-in; height: 100%; }
.gallery-feature__col {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: var(--gut);
  height: 100%;
}

.gallery-feature img,
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s ease;
}
.gallery-feature__main:hover img,
.gallery-feature__side:hover img,
.tile:hover img { transform: scale(1.045); }

/* filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.filter {
  padding: 10px 22px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: all 0.28s var(--ease);
}
.filter:hover { border-color: var(--ink-mute); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* masonry-ish thumbnail grid */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: zoom-in;
  background: var(--paper-alt);
  animation: tileIn 0.6s var(--ease) both;
}
.tile--tall { aspect-ratio: 3 / 4; grid-row: span 2; }
@keyframes tileIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: none; }
}
.tile.is-hidden { display: none; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #0c0b0a;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.is-open { display: flex; animation: fadeIn 0.3s ease both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox__stage {
  max-width: min(1200px, 92vw);
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.lightbox__img {
  max-width: 100%;
  max-height: 74vh;
  object-fit: contain;
  animation: lbIn 0.45s var(--ease) both;
}
@keyframes lbIn { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
.lightbox__close,
.lightbox__nav {
  position: absolute;
  color: var(--paper);
  border: 1px solid rgba(251, 250, 247, 0.3);
  width: 52px; height: 52px;
  border-radius: 100px;
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.lightbox__close { top: 28px; right: 28px; }
.lightbox__nav--prev { left: 28px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 28px; top: 50%; transform: translateY(-50%); }
.lightbox__count {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  color: rgba(251, 250, 247, 0.6);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
}

/* ------------------------------------------------------------- QUOTATION */
.quote-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(30px, 4vw, 56px);
  align-items: start;
}

.pkg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.pkg {
  position: relative;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.pkg:hover { border-color: var(--accent-soft); transform: translateY(-3px); box-shadow: var(--shadow); }
.pkg.is-selected { border-color: var(--ink); box-shadow: var(--shadow); }
.pkg.is-selected::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
}

.pkg__flag {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 100px;
}
.pkg__name { font-size: 1.5rem; margin-bottom: 6px; }
.pkg__price {
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
  margin: 14px 0 4px;
}
.pkg__price small {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-left: 6px;
}
.pkg__blurb { font-size: 0.9rem; color: var(--ink-soft); margin: 14px 0 18px; }
.pkg__includes { display: grid; gap: 9px; margin-top: auto; }
.pkg__includes li {
  display: flex;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.pkg__includes li::before {
  content: "";
  flex: none;
  width: 5px; height: 5px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.pkg__check {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pkg.is-selected .pkg__check { color: var(--ink); }

/* add-ons */
.addon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.addon:hover { border-color: var(--accent-soft); }
.addon.is-on { border-color: var(--ink); background: #fdfbf7; }
.addon__label { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.addon__price { font-size: 0.85rem; color: var(--ink-soft); white-space: nowrap; }

.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); }
.qty button {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease;
}
.qty button:hover { background: var(--ink); color: var(--paper); }
.qty span { min-width: 34px; text-align: center; font-size: 0.9rem; }
.qty--lg button { width: 46px; height: 46px; font-size: 1.15rem; }
.qty--lg span { min-width: 58px; font-size: 1.25rem; font-family: var(--font-display); }

/* ------------------------------------------- "Build Your Own" hours builder */
.hours-builder {
  margin-top: 20px;
  padding: 24px 26px;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hours-builder__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.hours-builder__rate {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hours-builder__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.hours-builder__total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}
.hours-builder__total span {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hours-builder__total strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
}
.hours-builder__slider {
  width: 100%;
  margin: 20px 0 0;
  accent-color: var(--ink);
  cursor: pointer;
}
.hours-builder__scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 6px;
}
.hours-builder__hint {
  margin: 16px 0 0;
  font-size: 0.78rem;
  color: var(--ink-mute);
  line-height: 1.5;
}

/* custom switch-style checkbox */
.check,
.field .check {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  padding: 0;
  flex: none;
  border: 1px solid var(--ink-mute);
  border-radius: 2px;
  background: var(--white);
  display: grid;
  place-items: center;
  transition: all 0.22s var(--ease);
  cursor: pointer;
}
.check::after {
  content: "";
  width: 9px; height: 5px;
  border-left: 1.6px solid var(--paper);
  border-bottom: 1.6px solid var(--paper);
  transform: rotate(-45deg) scale(0);
  transition: transform 0.2s var(--ease);
  margin-top: -2px;
}
.check:checked { background: var(--ink); border-color: var(--ink); }
.check:checked::after { transform: rotate(-45deg) scale(1); }

/* summary panel */
.summary {
  position: sticky;
  top: 100px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.summary h3 { font-size: 1.45rem; }
.summary__body { margin: 22px 0; display: grid; gap: 13px; }
.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.summary__row span:last-child { white-space: nowrap; }
.summary__row--sub { color: var(--ink-mute); font-size: 0.82rem; padding-left: 14px; }
.summary__empty { font-size: 0.88rem; color: var(--ink-mute); font-style: italic; }
.summary__totals { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 10px; }
.summary__row--total {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--ink);
  align-items: baseline;
}
.summary__row--total span:last-child { font-family: var(--font-display); }
.summary__deposit {
  margin-top: 20px;
  padding: 16px 18px;
  background: var(--paper-alt);
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.summary__deposit strong { color: var(--ink); }
.summary__actions { display: grid; gap: 10px; margin-top: 22px; }

/* Transient confirmation message */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 18px);
  z-index: 300;
  max-width: calc(100vw - 40px);
  padding: 14px 26px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }
.toast--err { background: #b4402f; }

/* ------------------------------------------------------------------- FORMS */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field label .req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(154, 123, 79, 0.12);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #b4402f; }
.field__error {
  font-size: 0.76rem;
  color: #b4402f;
  min-height: 0;
  display: none;
}
.field__error.is-shown { display: block; }
.field__hint { font-size: 0.76rem; color: var(--ink-mute); }

.check-row,
.field .check-row,
.field label.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  line-height: 1.6;
  cursor: pointer;
}

.form-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 2px solid var(--accent);
  background: var(--paper-alt);
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.form-status {
  display: none;
  margin-top: 24px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.form-status.is-shown { display: block; animation: fadeIn 0.4s ease both; }
.form-status--ok { border-color: #4c7a52; background: #f3f8f3; }
.form-status--err { border-color: #b4402f; background: #fdf4f2; }
.form-status h3 { font-size: 1.35rem; margin-bottom: 8px; }
.form-status p { margin: 0 0 6px; font-size: 0.9rem; color: var(--ink-soft); }

.spinner {
  width: 15px; height: 15px;
  border: 2px solid rgba(251, 250, 247, 0.35);
  border-top-color: var(--paper);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------- FAQ */
.faq-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.faq-nav { position: sticky; top: 100px; display: grid; gap: 4px; }
.faq-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 9px 0;
  transition: color 0.25s ease, padding-left 0.3s var(--ease);
}
.faq-nav a:hover,
.faq-nav a.is-active { color: var(--ink); padding-left: 8px; }

.faq-group { margin-bottom: 54px; }
.faq-group > h2 { font-size: 1.9rem; margin-bottom: 8px; }

.accordion { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__trigger {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.9vw, 1.35rem);
  line-height: 1.35;
  transition: color 0.25s ease;
}
.acc__trigger:hover { color: var(--accent); }
.acc__icon {
  flex: none;
  position: relative;
  width: 16px; height: 16px;
  margin-top: 8px;
}
.acc__icon::before,
.acc__icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.3s ease;
}
.acc__icon::before { top: 7.5px; left: 0; width: 16px; height: 1px; }
.acc__icon::after { left: 7.5px; top: 0; width: 1px; height: 16px; }
.acc__item.is-open .acc__icon::after { transform: rotate(90deg); opacity: 0; }
.acc__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s var(--ease), opacity 0.35s ease;
  opacity: 0;
}
.acc__item.is-open .acc__panel { opacity: 1; }
.acc__panel p {
  margin: 0;
  padding: 0 60px 28px 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* --------------------------------------------------------------- PROCESS */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gut); }
.step { border-top: 1px solid var(--line); padding-top: 22px; }
.step__num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 14px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }

/* ----------------------------------------------------------------- FOOTER */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(56px, 8vw, 96px) 0 36px; }
.site-footer a { color: rgba(251, 250, 247, 0.72); transition: color 0.25s ease; }
.site-footer a:hover { color: var(--paper); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(251, 250, 247, 0.16);
}
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(251, 250, 247, 0.5);
  margin-bottom: 18px;
}
.footer-grid ul { display: grid; gap: 10px; font-size: 0.9rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-top: 26px;
  font-size: 0.76rem;
  color: rgba(251, 250, 247, 0.5);
}

/* -------------------------------------------------------------- UTILITIES */
.hide { display: none !important; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.stack { display: grid; gap: 18px; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 12px 20px; z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ------------------------------------------------------------- RESPONSIVE */
@media (max-width: 1080px) {
  .quote-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 10px var(--gut) 28px;
    transform: translateY(-130%);
    transition: transform 0.5s var(--ease);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav__link {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.88rem;
  }
  .nav .btn { margin-top: 20px; width: 100%; }
  .nav-toggle { display: block; }

  .gallery-feature { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .gallery-feature__main { aspect-ratio: 16 / 10; height: auto; }
  .gallery-feature__col { grid-template-rows: none; grid-template-columns: 1fr 1fr; height: auto; }
  .gallery-feature__side { aspect-ratio: 4 / 5; height: auto; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .pkg-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
  }
  .faq-nav a {
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 8px 16px;
    font-size: 0.68rem;
  }
  .faq-nav a:hover, .faq-nav a.is-active { padding-left: 16px; }
}

@media (max-width: 620px) {
  :root { --gut: 18px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile--tall { grid-row: span 1; aspect-ratio: 1 / 1; }
  .gallery-feature__col { grid-template-columns: 1fr; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .card, .summary, .pkg { padding: 22px; }
  .lightbox { padding: 18px; }
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__nav--prev { left: 12px; }
  .lightbox__nav--next { right: 12px; }
  .lightbox__close { top: 14px; right: 14px; width: 44px; height: 44px; }
  .acc__panel p { padding-right: 0; }
}

/* ------------------------------------------------------------------- PRINT */
@media print {
  .site-header, .site-footer, .summary__actions, .filters, .form-note { display: none !important; }
  .summary { position: static; box-shadow: none; border-color: #999; }
  body { background: #fff; }
}
