/* =========================================================
   Luxedwel — Interior Design Studio
   Global stylesheet
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  --cream: #faf6ee;
  --paper: #f2ebdf;
  --sand: #e8ddcc;
  --ink: #101915;
  --ink-soft: #2c3730;
  --forest: #15342a;
  --forest-deep: #0e251d;
  --gold: #b3894f;
  --gold-soft: #d8b77e;
  --muted: #6e6c62;
  --line: rgba(16, 25, 21, 0.14);
  --line-soft: rgba(16, 25, 21, 0.08);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 82px;
  --radius: 2px;
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; }

::selection { background: var(--forest); color: var(--cream); }

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

[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
}

.container--narrow { max-width: 900px; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 999;
  padding: 12px 18px;
  background: var(--forest);
  color: var(--cream);
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

/* ---------- 3. Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--gold-soft); }

.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.display em {
  font-style: italic;
  color: var(--gold);
}

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-top: 18px;
}
.section-title em { font-style: italic; color: var(--gold); }

.section-lead {
  max-width: 44ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

/* ---------- 4. Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 15px 30px;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease);
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--forest); border-color: var(--forest); color: var(--cream); }

.btn--light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--light:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

.btn--sm { padding: 11px 22px; font-size: 0.68rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 6px;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.link-arrow svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.link-arrow:hover { gap: 15px; color: var(--gold); }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(250, 246, 238, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 16px 40px -38px rgba(16, 25, 21, 0.9);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
  flex: none;
}
.logo__mark { width: 42px; height: 42px; flex: none; }
.logo__text { display: grid; gap: 4px; }
.logo__name {
  font-family: var(--serif);
  font-size: 1.16rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  white-space: nowrap;
}
.logo__sub {
  font-size: 0.47rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}
.logo--light { color: var(--cream); }
.logo--light .logo__sub { color: rgba(250, 246, 238, 0.55); }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-block: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__chevron {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform 0.3s var(--ease);
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 236px;
  padding: 12px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 30px 60px -32px rgba(16, 25, 21, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}
.dropdown__menu::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
}
.dropdown.is-open .dropdown__menu,
.dropdown:hover .dropdown__menu,
.dropdown:focus-within .dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown.is-open .nav__chevron { transform: rotate(180deg); }
.dropdown__link {
  display: block;
  padding: 10px 14px;
  font-size: 0.84rem;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.25s, color 0.25s, padding-left 0.25s;
}
.dropdown__link:hover { background: var(--paper); color: var(--ink); padding-left: 18px; }
.dropdown__link small {
  display: block;
  font-size: 0.66rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav__cta { margin-left: 4px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  z-index: 96;
  flex: none;
}
.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: translateX(-50%) rotate(-45deg); }

/* ---------- 6. Hero (home) ---------- */
.hero { padding-block: clamp(40px, 6vw, 84px) clamp(56px, 8vw, 104px); }
.hero__inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 6.4vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 24px 0 26px;
}
.hero__title em { font-style: italic; color: var(--gold); }
.hero__lead {
  max-width: 44ch;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.85;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}
.hero__proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__stars { color: var(--gold); letter-spacing: 0.18em; font-size: 0.8rem; }

.hero__media { position: relative; }
.hero__figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
}
.hero__figure::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(250, 246, 238, 0.45);
  pointer-events: none;
}
.hero__figure img {
  width: 100%;
  height: clamp(430px, 52vw, 610px);
  object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.hero__media:hover .hero__figure img { transform: scale(1.04); }

.hero__thumb {
  position: absolute;
  left: clamp(-46px, -3.5vw, -20px);
  bottom: -34px;
  width: clamp(140px, 18vw, 210px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 8px solid var(--cream);
  border-radius: var(--radius);
  box-shadow: 0 26px 50px -34px rgba(16, 25, 21, 0.6);
}
.hero__thumb img { width: 100%; height: 100%; object-fit: cover; }

.hero__label {
  position: absolute;
  top: 24px;
  right: 24px;
  writing-mode: vertical-rl;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.9);
  z-index: 1;
}

/* ---------- 7. Stats strip ---------- */
.stats { border-block: 1px solid var(--line); background: var(--paper); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: clamp(24px, 3vw, 38px) clamp(14px, 2vw, 30px);
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
}
.stat__label {
  display: block;
  margin-top: 8px;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 8. Sections ---------- */
.section { padding-block: clamp(68px, 9vw, 122px); }
.section--paper { background: var(--paper); }
.section--forest { background: var(--forest); color: var(--cream); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 70px);
  margin-bottom: clamp(38px, 5vw, 60px);
}
.section-head__side {
  max-width: 36ch;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--muted);
  padding-bottom: 4px;
}
.section-head--center {
  display: block;
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 62px);
}
.section-head--center .section-lead { margin: 18px auto 0; }

/* ---------- 9. Intro / studio ---------- */
.about-media {
  width: 100%;
  border-radius: var(--radius);
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
}
.intro__statement {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.intro__statement em { font-style: italic; color: var(--gold); }
.intro__copy p {
  margin-bottom: 18px;
  font-size: 0.96rem;
  line-height: 1.85;
  color: var(--muted);
}
.intro__copy p:first-child { color: var(--ink-soft); }
.intro__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.intro__facts dt {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.intro__facts dd {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 1.15rem;
}

/* ---------- 10. Services ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.service {
  padding: clamp(26px, 3vw, 40px) clamp(20px, 2.4vw, 34px);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 250px;
  transition: background 0.4s var(--ease);
}
.service:first-child { border-left: 0; padding-left: 0; }
.service:hover { background: rgba(232, 221, 204, 0.35); }
.service__num {
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.service__title {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.2;
}
.service__text {
  margin-top: 12px;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--muted);
}
.service__link {
  margin-top: auto;
  padding-top: 24px;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.service__link:hover { color: var(--gold); }

/* ---------- 11. Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 32px);
}
.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  group: card;
}
.card__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--sand);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  background: rgba(250, 246, 238, 0.94);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.card__body { padding-top: 18px; }
.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.card__title {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}
.card:hover .card__title { color: var(--gold); }
.card__text {
  margin-top: 10px;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--muted);
}
.card__more {
  margin-top: 16px;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.card__more::after {
  content: "→";
  color: var(--gold);
  transition: transform 0.3s var(--ease);
}
.card:hover .card__more::after { transform: translateX(4px); }

/* ---------- 12. Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(150px, 15vw, 210px);
  gap: 14px;
}
.gallery__item {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
  position: relative;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.gallery__item:nth-child(2) { grid-column: span 7; grid-row: span 1; }
.gallery__item:nth-child(3) { grid-column: span 3; grid-row: span 1; }
.gallery__item:nth-child(4) { grid-column: span 4; grid-row: span 1; }
.gallery__item:nth-child(5) { grid-column: span 5; grid-row: span 1; }
.gallery__item:nth-child(6) { grid-column: span 3; grid-row: span 1; }

/* ---------- 13. Quote band ---------- */
.quote-band { padding-block: clamp(64px, 8vw, 110px); text-align: center; }
.quote-band__mark {
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 0.6;
  color: var(--gold);
  display: block;
  margin-bottom: 22px;
}
.quote-band blockquote {
  max-width: 30ch;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.35;
}
.quote-band__by {
  margin-top: 26px;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* ---------- 14. CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(76px, 11vw, 138px);
  text-align: center;
  color: var(--cream);
}
.cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 17, 0.6), rgba(10, 22, 17, 0.82));
}
.cta__inner { position: relative; z-index: 1; }
.cta__title {
  margin: 18px auto 32px;
  max-width: 20ch;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 4.8vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.cta__title em { font-style: italic; color: var(--gold-soft); }

/* ---------- 15. Page hero (inner pages) ---------- */
.page-hero {
  padding-block: clamp(56px, 7vw, 96px) clamp(36px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
}
.page-hero__title {
  margin: 20px 0 18px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.page-hero__title em { font-style: italic; color: var(--gold); }
.page-hero__lead {
  max-width: 56ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span[aria-current] { color: var(--ink); }

/* ---------- 16. Prose (legal / about pages) ---------- */
.prose {
  max-width: 74ch;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink-soft);
}
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  margin-top: 2em;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}
.prose h3 {
  margin-top: 1.6em;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}
.prose ul, .prose ol { padding-left: 1.25em; }
.prose ul { list-style: none; }
.prose ul li { position: relative; padding-left: 1.1em; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.5em; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose a:hover { color: var(--gold); }
.prose strong { color: var(--ink); }
.prose .updated {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 17. Article ---------- */
.article-hero__media {
  margin-top: clamp(26px, 4vw, 44px);
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 21 / 9;
  background: var(--sand);
}
.article-hero__media img { width: 100%; height: 100%; object-fit: cover; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 20px;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.article-body {
  max-width: 72ch;
  margin: 0 auto;
  padding-block: clamp(44px, 6vw, 72px);
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--ink-soft);
}
.article-body > p:first-of-type::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 4.1rem;
  line-height: 0.82;
  padding: 6px 12px 0 0;
  color: var(--gold);
}
.article-body > * + * { margin-top: 1.15em; }
.article-body h2 {
  margin-top: 1.9em;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.05rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}
.article-body h3 {
  margin-top: 1.5em;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
}
.article-body ul { list-style: none; padding-left: 0; }
.article-body ul li {
  position: relative;
  padding-left: 1.4em;
  margin-top: 0.55em;
}
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.article-body a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
  transition: color 0.25s;
}
.article-body a:hover { color: var(--gold); }
.article-body strong { color: var(--ink); }

.article-figure { margin-block: 1.8em; }
.article-figure img { width: 100%; border-radius: var(--radius); }
.article-figure figcaption {
  margin-top: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.pullquote {
  margin-block: 1.8em;
  padding: 6px 0 6px 26px;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
}

.callout {
  margin-block: 1.8em;
  padding: 24px 26px;
  background: var(--paper);
  border-radius: var(--radius);
  font-size: 0.94rem;
  line-height: 1.8;
}
.callout strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.article-end {
  max-width: 72ch;
  margin: 0 auto;
  padding-bottom: clamp(56px, 7vw, 92px);
}
.author-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  border-block: 1px solid var(--line);
}
.author-box__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  flex: none;
}
.author-box__name { font-weight: 600; font-size: 0.9rem; }
.author-box__role { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.next-read {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 28px;
  padding: 18px;
  background: var(--paper);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.3s;
}
.next-read:hover { background: var(--sand); }
.next-read img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 2px; }
.next-read small {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.next-read strong {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.3;
}

/* ---------- 18. Blog listing ---------- */
.blog-intro {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
  padding-block: clamp(48px, 6vw, 78px) clamp(34px, 4vw, 50px);
  border-bottom: 1px solid var(--line);
}
.archive {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.archive h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 400;
}
.archive__list { list-style: none; margin-top: 20px; }
.archive__list li { border-top: 1px solid var(--line-soft); }
.archive__list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.3s, padding-left 0.3s;
}
.archive__list a:hover { color: var(--gold); padding-left: 8px; }
.archive__list .t {
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.3;
}
.archive__list .d {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- 19. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 7vw, 90px);
  align-items: start;
}
.contact-info p { color: var(--muted); line-height: 1.85; font-size: 0.96rem; }
.contact-list { margin-top: 34px; display: grid; gap: 20px; }
.contact-list dt {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.contact-list dd { font-size: 0.96rem; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.contact-list a:hover { border-color: var(--gold); color: var(--gold); }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  font-size: 0.98rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.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' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236e6c62' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(110, 108, 98, 0.55); }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--forest); }
.form .btn { justify-self: start; margin-top: 6px; }
.form-note { min-height: 1.4em; font-size: 0.82rem; color: var(--forest); }
.form-note.is-error { color: #a33b2b; }

.newsletter { display: flex; gap: 10px; margin-top: 20px; }
.newsletter input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid rgba(250, 246, 238, 0.28);
  border-radius: 999px;
  color: var(--cream);
  font-size: 0.84rem;
}
.newsletter input::placeholder { color: rgba(250, 246, 238, 0.45); }
.newsletter input:focus { outline: none; border-color: var(--gold-soft); }
.newsletter .btn { padding: 12px 22px; }

/* ---------- 20. Sitemap ---------- */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 48px);
}
.sitemap-col h2 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.sitemap-col ul { list-style: none; margin-top: 14px; }
.sitemap-col li { margin-bottom: 9px; }
.sitemap-col a {
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-decoration: none;
}
.sitemap-col a:hover { color: var(--gold); }

/* ---------- 21. Footer ---------- */
.site-footer {
  background: var(--forest-deep);
  color: var(--cream);
  padding-block: clamp(52px, 6vw, 80px) 26px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr;
  gap: clamp(36px, 6vw, 86px);
}
.site-footer__blurb {
  margin-top: 20px;
  max-width: 34ch;
  font-size: 0.86rem;
  line-height: 1.8;
  color: rgba(250, 246, 238, 0.6);
}
.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.site-footer__nav h3 {
  margin-bottom: 14px;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.55);
}
.site-footer__nav a,
.site-footer__nav span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.84rem;
  color: rgba(250, 246, 238, 0.76);
  text-decoration: none;
  transition: color 0.3s;
}
.site-footer__nav a:hover { color: var(--gold-soft); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  margin-top: clamp(40px, 5vw, 62px);
  padding-top: 20px;
  border-top: 1px solid rgba(250, 246, 238, 0.14);
  font-size: 0.7rem;
  color: rgba(250, 246, 238, 0.55);
}
.site-footer__bottom a { color: rgba(250, 246, 238, 0.7); text-decoration: none; }
.site-footer__bottom a:hover { color: var(--gold-soft); }

/* ---------- 22. Reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 23. Responsive ---------- */
@media (max-width: 1080px) {
  .hero__title { font-size: clamp(2.8rem, 5.6vw, 4.4rem); }
  .services__grid { grid-template-columns: 1fr; border-top: 0; }
  .service {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-inline: 0;
    min-height: 0;
  }
  .service__link { padding-top: 18px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .sitemap-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }

  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 95;
    height: 100vh;
    height: 100dvh;
    width: min(86vw, 380px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 96px 30px 36px;
    background: var(--cream);
    border-left: 1px solid var(--line);
    box-shadow: -30px 0 60px -40px rgba(16, 25, 21, 0.5);
    transform: translateX(102%);
    transition: transform 0.5s var(--ease);
    overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 15px 4px;
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    border-bottom: 1px solid var(--line);
  }
  .nav__link::after { display: none; }
  .nav__chevron { width: 14px; height: 14px; }
  .nav__cta { margin: 24px 0 0; }
  body.nav-open { overflow: hidden; }

  .dropdown { width: 100%; }
  .dropdown__menu {
    position: static;
    transform: none;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    display: none;
    padding: 8px 0 14px 14px;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-bottom: 1px solid var(--line);
  }
  .dropdown.is-open .dropdown__menu { display: block; }
  .dropdown:hover .dropdown__menu { display: none; }
  .dropdown.is-open:hover .dropdown__menu { display: block; }
  .dropdown__link { padding: 9px 0; font-size: 0.95rem; }
  .dropdown__link:hover { background: transparent; padding-left: 0; color: var(--gold); }

  .hero__inner { grid-template-columns: 1fr; gap: 52px; }
  .hero__media { order: 2; }
  .hero__figure img { height: clamp(400px, 66vw, 520px); }
  .hero__thumb { left: 14px; bottom: -30px; }

  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }

  .intro__grid { grid-template-columns: 1fr; gap: 32px; }
  .about-media { position: static; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }

  .contact-grid { grid-template-columns: 1fr; gap: 44px; }

  .site-footer__top { grid-template-columns: 1fr; gap: 40px; }

  .blog-intro { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 680px) {
  .hero { padding-top: 26px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__proof { flex-direction: column; align-items: flex-start; gap: 8px; }

  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery__item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery__item:nth-child(1) { grid-column: span 2; }

  .sitemap-grid { grid-template-columns: 1fr; }
  .site-footer__nav { grid-template-columns: 1fr 1fr; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }

  .article-body > p:first-of-type::first-letter { font-size: 3.4rem; }
  .next-read { grid-template-columns: 88px 1fr; }
  .archive__list a { flex-direction: column; gap: 4px; }
  .logo__name { font-size: 1rem; letter-spacing: 0.2em; }
}

/* ---------- 24. Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
