:root {
  --ink: #2b1d18;
  --cocoa: #42291f;
  --cocoa-soft: #674536;
  --copper: #87543d;
  --rose: #dcc5b5;
  --sand: #eadfd4;
  --ivory: #f8f3ec;
  --paper: #fffaf4;
  --gold: #b58a4b;
  --gold-light: #e5c98d;
  --muted: #74655d;
  --line: rgba(59, 38, 29, 0.18);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", Arial, sans-serif;
  --shell: min(1320px, calc(100vw - 10vw));
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open,
body.dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
::selection { color: var(--paper); background: var(--cocoa-soft); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.section-shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 60;
  top: 0;
  height: 88px;
  border-bottom: 1px solid rgba(73, 49, 38, 0.1);
  background: rgba(255, 251, 246, 0.97);
  transition: height 240ms ease, box-shadow 240ms ease;
}
.site-header.is-scrolled {
  height: 76px;
  box-shadow: 0 8px 28px rgba(53, 34, 26, 0.09);
  backdrop-filter: blur(16px);
}
.header-inner {
  display: flex;
  width: var(--shell);
  height: 100%;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: grid;
  width: 78px;
  place-items: center;
  flex: 0 0 auto;
}
.brand-logo {
  display: block;
  width: 100%;
  background: transparent;
  filter: brightness(0) saturate(100%) invert(63%) sepia(42%) saturate(765%) hue-rotate(357deg) brightness(92%) contrast(87%) drop-shadow(0 2px 2px rgba(81, 47, 22, 0.13));
}
.site-nav { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 40px); }
.site-nav a {
  position: relative;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}
.site-nav a:not(.nav-contact)::after {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-contact {
  padding: 13px 17px;
  color: var(--paper);
  border-radius: 999px;
  background: var(--cocoa);
  transition: background-color 200ms ease;
}
.nav-contact:hover,
.nav-contact:focus-visible { background: var(--copper); }
.menu-toggle { display: none; }

.hero {
  display: grid;
  min-height: 680px;
  grid-template-columns: 54% 46%;
  background: linear-gradient(135deg, #e9d8ca 0%, #d7b9a6 100%);
}
.hero-visual {
  position: relative;
  min-width: 0;
  min-height: 680px;
  margin: 0;
  overflow: hidden;
  background: #8f7768;
}
.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 52%, rgba(35, 22, 17, 0.66) 100%),
    linear-gradient(90deg, rgba(31, 21, 17, 0.05), transparent 45%);
}
.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
  filter: saturate(0.82) contrast(0.98);
}
.hero-visual figcaption {
  position: absolute;
  z-index: 2;
  bottom: 46px;
  left: 5vw;
  display: grid;
  min-width: min(390px, calc(100% - 10vw));
  padding: 17px 20px;
  color: white;
  border-left: 2px solid var(--gold-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: linear-gradient(90deg, rgba(38, 24, 18, 0.55), transparent);
}
.hero-visual figcaption span {
  margin-bottom: 3px;
  font-size: 0.75rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.hero-visual figcaption strong {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 400;
  line-height: 1.25;
}
.hero-copy {
  position: relative;
  display: flex;
  min-width: 0;
  padding: clamp(76px, 8vw, 124px) clamp(38px, 7vw, 110px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 104% 8%, rgba(255,255,255,0.45), transparent 34%),
    radial-gradient(circle at 72% 96%, rgba(149, 82, 51, 0.16), transparent 38%),
    linear-gradient(145deg, #eee0d4 0%, #d8b9a7 100%);
}
.hero-copy::before,
.hero-copy::after {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(143, 91, 60, 0.18);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.hero-copy::before { top: -145px; right: -90px; }
.hero-copy::after { right: -180px; bottom: -120px; }
.eyebrow {
  display: flex;
  margin: 0 0 22px;
  align-items: center;
  gap: 14px;
  color: var(--copper);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.45;
  text-transform: uppercase;
}
.eyebrow::before { width: 32px; height: 1px; content: ""; background: var(--gold); }
.eyebrow-light { color: var(--gold-light); }
.eyebrow-light::before { background: var(--gold-light); }
.hero h1,
.story-title,
.section-heading h2,
.services-copy h2,
.process h2,
.reviews h2,
.closing h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.hero h1 {
  position: relative;
  z-index: 1;
  max-width: 620px;
  font-size: clamp(3rem, 4.2vw, 5.4rem);
  line-height: 1.06;
}
.hero h1 em,
.story-title em,
.manifesto em,
.closing h2 em {
  color: var(--copper);
  font-weight: 400;
}
.hero-text {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 31px 0 30px;
  color: #64554d;
  font-size: 1rem;
  line-height: 1.85;
}
.button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 48px;
  padding: 0 23px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}
.button:hover,
.button:focus-visible { transform: translateY(-2px); }
.button-brown {
  color: var(--paper);
  background: linear-gradient(120deg, var(--cocoa), var(--copper));
  box-shadow: 0 15px 32px rgba(69, 39, 27, 0.2);
}
.button-gold {
  color: var(--ink);
  background: linear-gradient(110deg, #d7b777, #f0dca8);
  box-shadow: 0 14px 32px rgba(19, 12, 8, 0.2);
}
.hero-signature {
  position: relative;
  z-index: 1;
  margin: 30px 0 0;
  color: #776259;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.value-strip {
  display: grid;
  padding: 26px 5vw;
  grid-template-columns: repeat(3, 1fr);
  background: var(--paper);
}
.value-strip article {
  display: flex;
  min-height: 72px;
  padding: 0 clamp(22px, 4vw, 68px);
  align-items: center;
  gap: 18px;
  border-right: 1px solid var(--line);
}
.value-strip article:last-child { border-right: 0; }
.value-strip article > span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.45rem;
}
.value-strip h2 {
  margin: 0 0 2px;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.value-strip p { margin: 0; color: var(--muted); font-size: 0.86rem; }

.manifesto {
  position: relative;
  padding: clamp(82px, 9vw, 145px) 0;
  overflow: hidden;
  background: #e4d2c4;
}
.manifesto::after {
  position: absolute;
  top: -90px;
  right: -55px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(121, 77, 55, 0.18);
  border-radius: 50%;
  content: "";
}
.manifesto-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, 0.7fr);
  align-items: end;
  gap: 8vw;
}
.manifesto blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 5.8rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.manifesto-note {
  margin: 0 0 12px;
  color: #74645d;
  font-size: 0.9rem;
  line-height: 1.8;
}

.story {
  padding: clamp(90px, 10vw, 150px) 0 clamp(85px, 9vw, 135px);
  color: var(--paper);
  background:
    radial-gradient(circle at 91% 18%, rgba(181, 112, 76, 0.38), transparent 31%),
    linear-gradient(120deg, #321f18 0%, #654032 100%);
}
.story-title {
  max-width: 1000px;
  font-size: clamp(2.8rem, 5.8vw, 6.4rem);
  line-height: 1.08;
}
.story-title em { color: #c9966f; }
.story-intro {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 249, 241, 0.72);
}
.chapters {
  display: grid;
  margin-top: 58px;
  padding-top: 34px;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(25px, 5vw, 75px);
  border-top: 1px solid rgba(255,255,255,0.2);
}
.chapters article > span {
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.chapters h3 {
  max-width: 330px;
  margin: 14px 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
}
.chapters p { max-width: 300px; margin: 0; color: rgba(255,255,255,0.68); font-size: 0.9rem; }

.projects {
  padding: clamp(78px, 8vw, 125px) 0;
  background: var(--ivory);
}
.section-heading {
  display: flex;
  margin-bottom: 42px;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.section-heading h2,
.services-copy h2,
.process h2,
.reviews h2 {
  font-size: clamp(2.5rem, 4.6vw, 5.1rem);
  line-height: 1.06;
}
.section-heading > p {
  max-width: 400px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.88rem;
}
.gallery-grid {
  display: grid;
  height: 650px;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 18px;
}
.gallery-card {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-lg);
  background: #7c685d;
  cursor: zoom-in;
}
.gallery-card-tall { grid-row: 1 / 3; }
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86);
  transition: transform 600ms cubic-bezier(.2,.7,.2,1), filter 300ms ease;
}
.gallery-card-tall img { object-position: 50% 55%; }
.gallery-card:not(.gallery-card-tall) img { object-position: 50% 49%; }
.gallery-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 45%, rgba(35, 22, 17, 0.76));
}
.gallery-card:hover img,
.gallery-card:focus-visible img { transform: scale(1.035); filter: saturate(1); }
.gallery-meta {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 23px;
  left: 24px;
  display: grid;
  color: white;
  text-align: left;
}
.gallery-meta small {
  margin-bottom: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.gallery-meta strong {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
}

.work-gallery {
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.work-gallery + .work-gallery { margin-top: 70px; }
.work-gallery-header {
  display: flex;
  margin-bottom: 25px;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}
.work-gallery-header .eyebrow { margin-bottom: 11px; }
.work-gallery-header h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.5vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.15;
}
.carousel-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
}
.carousel-controls > span {
  margin-right: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  white-space: nowrap;
}
.carousel-controls button {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  color: var(--cocoa);
  border: 1px solid rgba(75, 49, 38, 0.35);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 1.05rem;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.carousel-controls button:hover:not(:disabled),
.carousel-controls button:focus-visible:not(:disabled) {
  color: var(--paper);
  border-color: var(--cocoa);
  background: var(--cocoa);
  transform: translateY(-2px);
}
.carousel-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}
.gallery-viewport { overflow: hidden; }
.gallery-track {
  display: flex;
  gap: 14px;
  transform: translate3d(0, 0, 0);
  transition: transform 520ms cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.work-gallery .gallery-card {
  flex: 0 0 calc((100% - 28px) / 3);
  height: 365px;
}
.work-gallery-landscape .gallery-card { height: 310px; }
.work-gallery-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.services {
  display: grid;
  min-height: 700px;
  grid-template-columns: 50% 50%;
  background: #ddcabb;
}
.services-visual {
  position: relative;
  min-height: 700px;
  margin: 0;
  overflow: hidden;
}
.services-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(52, 31, 22, 0.24), transparent 55%);
}
.services-visual > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  filter: saturate(0.84);
}
.services-logo {
  position: absolute;
  z-index: 2;
  top: 50px;
  left: 5vw;
  width: clamp(130px, 13vw, 200px);
  background: transparent;
  filter: drop-shadow(0 4px 5px rgba(30, 17, 10, 0.35));
}
.services-copy {
  display: flex;
  padding: clamp(70px, 8vw, 120px) clamp(40px, 7vw, 105px);
  flex-direction: column;
  justify-content: center;
}
.service-list {
  margin: 43px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.service-list li {
  display: grid;
  padding: 21px 0;
  grid-template-columns: 45px 1fr;
  gap: 15px;
  border-bottom: 1px solid var(--line);
}
.service-list li > span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.15rem;
}
.service-list h3 {
  margin: 0 0 5px;
  font-size: 0.92rem;
  font-weight: 600;
}
.service-list p { margin: 0; color: #726158; font-size: 0.88rem; }

.process {
  padding: clamp(80px, 9vw, 130px) 0;
  background: var(--paper);
}
.process-grid {
  display: grid;
  margin: 48px 0 0;
  padding: 32px 0 0;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  border-top: 1px solid var(--line);
}
.process-grid li {
  min-height: 160px;
  padding: 0 clamp(18px, 3vw, 42px);
  border-right: 1px solid var(--line);
}
.process-grid li:first-child { padding-left: 0; }
.process-grid li:last-child { padding-right: 0; border-right: 0; }
.process-grid span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.25rem;
}
.process-grid h3 {
  margin: 18px 0 6px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.process-grid p { margin: 0; color: var(--muted); font-size: 0.88rem; }

.reviews {
  padding: clamp(82px, 9vw, 135px) 0;
  background: #e8dacf;
}
.reviews-heading {
  display: grid;
  margin-bottom: 42px;
  grid-template-columns: minmax(0, 1.4fr) minmax(270px, 0.6fr);
  align-items: end;
  gap: 7vw;
}
.preview-label {
  margin: 0 0 8px;
  padding-left: 18px;
  color: #75645a;
  border-left: 1px solid var(--gold);
  font-size: 0.88rem;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.review-card {
  display: flex;
  min-height: 285px;
  padding: 32px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(78, 49, 37, 0.1);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  background: rgba(255, 251, 246, 0.82);
  box-shadow: 0 16px 36px rgba(65, 39, 29, 0.07);
}
.stars { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.18em; }
.review-card blockquote {
  margin: 26px 0;
  font-family: var(--serif);
  font-size: clamp(1.22rem, 1.8vw, 1.55rem);
  line-height: 1.43;
}
.review-card footer { display: grid; gap: 3px; }
.review-card footer strong { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.review-card footer span { color: var(--muted); font-size: 0.82rem; }
.info-panels {
  display: grid;
  margin-top: 16px;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.info-panel {
  min-height: 245px;
  padding: 38px;
  color: var(--ink);
  border: 1px solid rgba(69, 45, 35, 0.12);
  border-radius: var(--radius-lg);
  background: #f6eee6;
}
.info-panel-dark {
  color: var(--paper);
  border-color: transparent;
  background: linear-gradient(120deg, var(--cocoa), var(--cocoa-soft));
}
.info-panel > span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}
.info-panel h3 {
  margin: 13px 0 8px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
}
.info-panel p { max-width: 500px; margin: 0 0 22px; color: var(--muted); font-size: 0.9rem; }
.info-panel-dark p { color: rgba(255,255,255,0.68); }
.text-button {
  display: inline-flex;
  padding: 0 0 5px;
  align-items: center;
  gap: 12px;
  color: var(--cocoa);
  border: 0;
  border-bottom: 1px solid var(--gold);
  background: none;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.text-button-light { color: var(--paper); }
.text-button i { font-style: normal; transition: transform 200ms ease; }
.text-button:hover i,
.text-button:focus-visible i { transform: translate(3px, -3px); }

.closing {
  padding: clamp(82px, 9vw, 135px) 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 83% 45%, rgba(177, 110, 71, 0.44), transparent 32%),
    linear-gradient(110deg, #321f18 0%, #684334 100%);
}
.closing-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.5fr);
  align-items: center;
  gap: 7vw;
}
.closing h2 {
  max-width: 900px;
  font-size: clamp(2.7rem, 5vw, 5.5rem);
  line-height: 1.04;
}
.closing h2 em { color: #d3a17b; }
.closing .button { margin-top: 33px; }
.contact-channels {
  display: grid;
  max-width: 800px;
  margin-top: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.contact-channel {
  display: grid;
  min-width: 0;
  padding: 14px 16px;
  gap: 3px;
  border: 1px solid rgba(240, 220, 168, 0.24);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 244, 0.06);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}
.contact-channel:hover,
.contact-channel:focus-visible {
  border-color: rgba(240, 220, 168, 0.62);
  background: rgba(255, 250, 244, 0.11);
  transform: translateY(-2px);
}
.contact-channel span {
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact-channel strong {
  color: var(--paper);
  font-size: 0.86rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.closing-logo {
  width: min(100%, 280px);
  justify-self: end;
  background: transparent;
  filter: drop-shadow(0 5px 8px rgba(16, 8, 5, 0.35));
}

.site-footer {
  padding: 24px 0;
  color: rgba(255,255,255,0.66);
  background: #201511;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.footer-inner img { width: 58px; background: transparent; }
.footer-inner p { margin: 0; font-size: 0.76rem; letter-spacing: 0.06em; }
.footer-inner p:last-child { text-align: right; }
.footer-details { display: grid; gap: 5px; }
.footer-credit {
  width: fit-content;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
  transition: color 180ms ease;
}
.footer-credit:hover,
.footer-credit:focus-visible { color: #f2d79c; }

.lightbox {
  width: min(920px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: hidden;
  color: white;
  border: 0;
  border-radius: var(--radius-lg);
  background: #1d130f;
  box-shadow: 0 30px 90px rgba(0,0,0,0.5);
}
.lightbox::backdrop { background: rgba(24, 15, 11, 0.86); backdrop-filter: blur(5px); }
.lightbox figure { display: grid; min-height: 80vh; margin: 0; grid-template-rows: minmax(0, 1fr) auto; }
.lightbox figure img { width: 100%; height: calc(80vh - 74px); object-fit: contain; background: #140d0a; }
.lightbox figcaption { display: flex; min-height: 74px; padding: 0 28px; align-items: center; justify-content: space-between; gap: 18px; }
.lightbox figcaption span { color: var(--gold-light); font-size: 0.75rem; letter-spacing: 0.12em; }
.lightbox figcaption strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; }
.lightbox-close,
.lightbox-nav {
  position: fixed;
  z-index: 3;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: white;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  background: rgba(30,19,14,0.72);
  cursor: pointer;
}
.lightbox-close { top: 24px; right: 24px; font-size: 1.7rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.whatsapp-float {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  display: flex;
  padding: 7px 7px 7px 18px;
  align-items: center;
  gap: 13px;
  color: var(--paper);
  border: 1px solid rgba(229, 201, 141, 0.42);
  border-radius: 999px;
  background: linear-gradient(125deg, #2d1d17 0%, #664334 100%);
  box-shadow: 0 18px 44px rgba(43, 29, 24, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(43, 29, 24, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.whatsapp-float-label {
  display: grid;
  line-height: 1.15;
  text-align: right;
}
.whatsapp-float-label small {
  color: var(--gold-light);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.whatsapp-float-label strong {
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.whatsapp-float-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  color: #2b1d18;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: linear-gradient(145deg, #f2dda4 0%, #d5a75b 58%, #b77e32 100%);
  box-shadow: 0 8px 20px rgba(18, 11, 8, 0.24), inset 0 1px 1px rgba(255, 255, 255, 0.55);
}
.whatsapp-float-icon svg { width: 25px; height: 25px; }

.toast {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 100px;
  display: flex;
  width: min(430px, calc(100vw - 32px));
  padding: 17px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--paper);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-md);
  background: var(--cocoa);
  box-shadow: 0 20px 50px rgba(40,24,18,0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 200ms ease, transform 200ms ease;
}
.toast.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.toast span { font-size: 0.82rem; }
.toast button { padding: 0; color: var(--gold-light); border: 0; background: none; cursor: pointer; font-size: 1.4rem; }

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(.22,.7,.25,1);
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 70ms; }
.reveal:nth-child(3) { transition-delay: 140ms; }
.reveal:nth-child(4) { transition-delay: 210ms; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

@media (max-width: 1050px) {
  :root { --shell: min(100% - 48px, 1100px); }
  .site-nav { gap: 20px; }
  .site-nav a { font-size: 0.76rem; }
  .hero { grid-template-columns: 52% 48%; }
  .hero-copy { padding-inline: 45px; }
  .hero h1 { font-size: clamp(3rem, 5.3vw, 4.5rem); }
  .review-grid { grid-template-columns: 1fr; }
  .review-card { min-height: 230px; }
  .contact-channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-channel:last-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 36px, 760px); }
  html { scroll-padding-top: 76px; }
  .site-header,
  .site-header.is-scrolled { height: 74px; }
  .brand { width: 72px; }
  .menu-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-content: center;
    gap: 7px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .menu-toggle span { display: block; width: 25px; height: 1px; background: var(--ink); transition: transform 220ms ease; }
  .menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    z-index: 1;
    top: 74px;
    right: 0;
    left: 0;
    display: flex;
    min-height: calc(100svh - 74px);
    padding: 42px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    color: var(--paper);
    background: linear-gradient(145deg, #2b1b15, #674232);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 200ms ease, transform 200ms ease;
  }
  .menu-open .site-nav { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .site-nav a {
    padding: 19px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.14);
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
  }
  .site-nav a::after { display: none; }
  .nav-contact { margin-top: 18px; text-align: center; background: var(--gold); }

  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-visual { min-height: 56svh; }
  .hero-visual figcaption { bottom: 28px; left: 18px; min-width: 0; width: calc(100% - 36px); }
  .hero-copy { min-height: 520px; padding: 70px 9vw 62px; }
  .hero h1 { font-size: clamp(3.15rem, 10.5vw, 5.6rem); }
  .hero-text { font-size: 0.95rem; }
  .value-strip { padding: 0 18px; grid-template-columns: 1fr; }
  .value-strip article { min-height: 92px; padding: 0 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .value-strip article:last-child { border-bottom: 0; }

  .manifesto-inner,
  .closing-inner,
  .reviews-heading { grid-template-columns: 1fr; }
  .manifesto-note { margin-top: 35px; }
  .manifesto blockquote { font-size: clamp(2.45rem, 9.5vw, 4rem); }

  .story-title { font-size: clamp(2.8rem, 10vw, 4.7rem); }
  .chapters { grid-template-columns: 1fr; gap: 32px; }
  .chapters article { padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .chapters article:last-child { padding-bottom: 0; border-bottom: 0; }

  .section-heading { display: grid; }
  .gallery-grid { height: auto; grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery-card,
  .gallery-card-tall { height: 350px; grid-row: auto; }
  .gallery-card-tall { height: 530px; }
  .work-gallery-header { display: grid; align-items: start; }
  .work-gallery-header h3 { max-width: 560px; }
  .work-gallery .gallery-card,
  .work-gallery-landscape .gallery-card { flex-basis: 82%; height: 360px; }
  .work-gallery-landscape .gallery-card { height: 275px; }

  .services { min-height: 0; grid-template-columns: 1fr; }
  .services-visual { min-height: 560px; }
  .services-copy { padding: 75px 9vw 82px; }

  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid li { margin-bottom: 35px; border-right: 1px solid var(--line); }
  .process-grid li:nth-child(2) { padding-right: 0; border-right: 0; }
  .process-grid li:nth-child(3) { padding-left: 0; }

  .info-panels { grid-template-columns: 1fr; }
  .closing-logo { width: 190px; margin-top: 24px; justify-self: start; }
  .footer-inner { grid-template-columns: auto 1fr; }
  .footer-inner p:last-child { grid-column: 1 / 3; text-align: left; }
}

@media (max-width: 520px) {
  :root { --shell: calc(100% - 32px); }
  .hero-visual { min-height: 50svh; }
  .hero-copy { min-height: 500px; padding: 60px 24px 54px; }
  .hero h1 { font-size: clamp(2.9rem, 12vw, 3.7rem); line-height: 1.02; }
  .hero-text { margin: 24px 0; }
  .hero-signature { font-size: 0.68rem; letter-spacing: 0.1em; }
  .eyebrow { font-size: 0.68rem; letter-spacing: 0.14em; }
  .manifesto,
  .story,
  .projects,
  .process,
  .reviews,
  .closing { padding-block: 76px; }
  .manifesto blockquote { font-size: 2.35rem; }
  .story-title,
  .section-heading h2,
  .services-copy h2,
  .process h2,
  .reviews h2,
  .closing h2 { font-size: 2.75rem; }
  .gallery-card { height: 280px; }
  .gallery-card-tall { height: 440px; }
  .work-gallery { margin-top: 40px; padding-top: 22px; }
  .work-gallery + .work-gallery { margin-top: 54px; }
  .work-gallery-header { gap: 22px; }
  .work-gallery-header h3 { font-size: 2rem; }
  .carousel-controls > span { margin-right: 3px; font-size: 0.7rem; }
  .carousel-controls button { width: 37px; height: 37px; }
  .work-gallery .gallery-card { flex-basis: 88%; height: 330px; }
  .work-gallery-landscape .gallery-card { height: 250px; }
  .work-gallery-note { font-size: 0.78rem; }
  .services-visual { min-height: 490px; }
  .services-logo { top: 28px; left: 24px; width: 130px; }
  .services-copy { padding: 68px 24px 75px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li,
  .process-grid li:first-child,
  .process-grid li:nth-child(2),
  .process-grid li:nth-child(3),
  .process-grid li:last-child {
    min-height: 0;
    margin: 0;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .process-grid li:last-child { border-bottom: 0; }
  .review-card,
  .info-panel { padding: 28px 24px; }
  .review-card { min-height: 260px; }
  .contact-channels { margin-top: 24px; grid-template-columns: 1fr; }
  .contact-channel:last-child { grid-column: auto; }
  .closing-logo { width: 160px; }
  .footer-inner { gap: 16px; }
  .footer-inner img { width: 48px; }
  .lightbox figcaption { align-items: flex-start; flex-direction: column; justify-content: center; }
  .lightbox-nav { top: auto; bottom: 84px; }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
  .whatsapp-float {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    padding: 6px;
  }
  .whatsapp-float-label { display: none; }
  .whatsapp-float-icon { width: 52px; height: 52px; flex-basis: 52px; }
  .toast { right: 16px; bottom: calc(86px + env(safe-area-inset-bottom)); }
}

@media (min-width: 821px) {
  :root {
    --shell: min(1080px, calc(100vw - 96px));
  }

  .site-header {
    height: 74px;
  }

  .site-header.is-scrolled {
    height: 68px;
  }

  .brand {
    width: 74px;
  }

  .site-nav {
    gap: clamp(18px, 2vw, 32px);
  }

  .site-nav a {
    font-size: 0.78rem;
  }

  .nav-contact {
    padding: 11px 15px;
  }

  .hero {
    height: 520px;
    min-height: 0;
    max-width: 1440px;
    margin-inline: auto;
    overflow: hidden;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    box-shadow: 0 24px 60px rgba(70, 44, 33, 0.08);
  }

  .hero-visual {
    height: 520px;
    min-height: 0;
  }

  .hero-visual figcaption {
    bottom: 28px;
  }

  .hero-copy {
    padding: 56px clamp(48px, 5vw, 82px);
  }

  .hero h1 {
    max-width: 650px;
    font-size: clamp(2.85rem, 3vw, 3.65rem);
    line-height: 1.02;
  }

  .hero-text {
    max-width: 440px;
    margin: 22px 0 23px;
    line-height: 1.7;
  }

  .button {
    min-height: 44px;
    padding-inline: 20px;
  }

  .hero-signature {
    margin-top: 22px;
  }

  .value-strip {
    padding-block: 17px;
  }

  .value-strip article {
    min-height: 56px;
  }

  .manifesto {
    padding-block: 72px;
  }

  .manifesto-inner {
    gap: 5vw;
  }

  .manifesto blockquote {
    font-size: clamp(2.7rem, 2.9vw, 3.35rem);
    line-height: 1.08;
  }

  .story {
    padding: 76px 0 72px;
  }

  .story-title {
    max-width: 960px;
    font-size: clamp(2.9rem, 3.1vw, 3.65rem);
    line-height: 1.04;
  }

  .story-intro {
    margin-top: 20px;
  }

  .chapters {
    margin-top: 38px;
    padding-top: 25px;
    gap: clamp(24px, 4vw, 58px);
  }

  .chapters h3 {
    margin: 10px 0 8px;
    font-size: clamp(1.25rem, 1.45vw, 1.5rem);
  }

  .projects {
    padding-block: 72px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2,
  .services-copy h2,
  .process h2,
  .reviews h2 {
    font-size: clamp(2.4rem, 2.6vw, 2.9rem);
    line-height: 1.08;
  }

  .gallery-grid {
    height: 480px;
    gap: 14px;
  }

  .services {
    height: 500px;
    min-height: 500px;
    max-width: 1440px;
    margin-inline: auto;
    overflow: hidden;
    grid-template-rows: minmax(0, 1fr);
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 60px rgba(70, 44, 33, 0.08);
  }

  .services-visual {
    height: 100%;
    min-height: 500px;
    min-width: 0;
  }

  .services-copy {
    min-height: 0;
    padding: 58px clamp(48px, 5vw, 80px);
    overflow: hidden;
  }

  .services-logo {
    top: 34px;
    width: clamp(112px, 8vw, 145px);
  }

  .service-list {
    margin-top: 28px;
  }

  .service-list li {
    padding-block: 15px;
  }

  .process {
    padding-block: 70px;
  }

  .process-grid {
    margin-top: 32px;
    padding-top: 23px;
  }

  .process-grid li {
    min-height: 120px;
  }

  .process-grid h3 {
    margin-top: 12px;
  }

  .reviews {
    padding-block: 70px;
  }

  .reviews-heading {
    margin-bottom: 30px;
    gap: 5vw;
  }

  .review-card {
    min-height: 225px;
    padding: 27px;
  }

  .review-card blockquote {
    margin-block: 20px;
    font-size: clamp(1.08rem, 1.25vw, 1.25rem);
  }

  .info-panel {
    min-height: 195px;
    padding: 30px;
  }

  .info-panel h3 {
    font-size: clamp(1.55rem, 2vw, 2rem);
  }

  .closing {
    padding-block: 70px;
  }

  .closing h2 {
    font-size: clamp(2.65rem, 3vw, 3.3rem);
    line-height: 1.06;
  }

  .closing .button {
    margin-top: 26px;
  }

  .closing-logo {
    width: min(100%, 220px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
