:root {
  --color-bg: #f5f3ef;
  --color-surface: #fbfaf7;
  --color-surface-soft: #efe7dc;
  --color-text: #2b2b2b;
  --color-text-muted: #60564d;
  --color-wood: #4a2f1b;
  --color-wood-2: #6a4a31;
  --color-copper: #c47a3a;
  --color-copper-strong: #ae672c;
  --color-sand: #d8c3a5;
  --color-forest: #3f5c4b;
  --color-white: #ffffff;
  --color-line: rgba(43, 43, 43, 0.12);
  --color-line-strong: rgba(43, 43, 43, 0.18);
  --color-dark-line: rgba(255, 255, 255, 0.14);
  --shadow-xs: 0 4px 14px rgba(26, 20, 14, 0.05);
  --shadow-sm: 0 12px 28px rgba(26, 20, 14, 0.08);
  --shadow-md: 0 20px 48px rgba(26, 20, 14, 0.12);
  --shadow-lg: 0 28px 70px rgba(20, 14, 10, 0.18);
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-pill: 999px;
  --container: 1180px;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.25rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --focus-ring: 0 0 0 3px rgba(196, 122, 58, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", "Roboto", "Segoe UI", sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  background:
    radial-gradient(circle at 8% 6%, rgba(216, 195, 165, 0.24), transparent 42%),
    radial-gradient(circle at 95% 8%, rgba(196, 122, 58, 0.08), transparent 46%),
    linear-gradient(180deg, #faf8f4 0%, var(--color-bg) 56%, #f0ebe3 100%);
}

img {
  max-width: 100%;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(74, 47, 27, 0.03) 0 1px,
      transparent 1px 22px
    ),
    repeating-linear-gradient(
      18deg,
      rgba(63, 92, 75, 0.022) 0 1px,
      transparent 1px 30px
    );
  mask-image: radial-gradient(circle at 50% 10%, #000 35%, transparent 88%);
}

.container {
  width: min(var(--container), calc(100% - 1.25rem));
  margin-inline: auto;
}

.masthead {
  position: relative;
  padding: 0.65rem 0 2rem;
  overflow: clip;
}

.masthead::before,
.masthead::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.masthead::before {
  inset: 0 0 auto;
  height: min(78svh, 720px);
  background:
    linear-gradient(140deg, rgba(74, 47, 27, 0.95) 0 57%, transparent 57%),
    radial-gradient(circle at 18% 10%, rgba(216, 195, 165, 0.16), transparent 48%);
  opacity: 0.98;
}

.masthead::after {
  top: 5.4rem;
  right: -10vw;
  width: min(56vw, 680px);
  height: min(50vw, 520px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 122, 58, 0.13), transparent 70%);
  filter: blur(10px);
}

.topbar-wrap {
  position: sticky;
  top: 0.65rem;
  z-index: 60;
}

.topbar {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(38, 26, 19, 0.9), rgba(28, 19, 14, 0.92)),
    radial-gradient(circle at 8% 10%, rgba(196, 122, 58, 0.08), transparent 46%);
  box-shadow: 0 14px 34px rgba(21, 15, 11, 0.2);
  backdrop-filter: blur(14px);
}

.brand {
  color: #fff9f0;
  text-decoration: none;
  font-family: "Playfair Display", "Merriweather", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 5vw, 1.95rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  justify-self: center;
  text-align: center;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.32rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.1rem;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  color: rgba(255, 247, 237, 0.86);
  text-decoration: none;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  background: rgba(196, 122, 58, 0.16);
  color: #fff;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem;
  margin-top: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.contact-shell,
.card,
.process-item,
.gallery-item,
.about-text,
.about-cards article,
.trust-item {
  border-radius: var(--radius-lg);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: clamp(1.05rem, 3vw, 1.6rem);
  color: #f7f1ea;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 95% 15%, rgba(216, 195, 165, 0.18), transparent 45%),
    linear-gradient(145deg, rgba(196, 122, 58, 0.9) 0 44%, rgba(151, 89, 38, 0.92) 44% 48%, transparent 48%),
    linear-gradient(180deg, #211711 0%, #17100b 100%);
  box-shadow: var(--shadow-lg);
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: auto -6% -9% 30%;
  background:
    radial-gradient(circle at 16% 6%, rgba(255, 255, 255, 0.08), transparent 54%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 10px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%);
  opacity: 0.8;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 244, 230, 0.92);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0.9rem 0 0;
  max-width: 14ch;
  font-family: "Playfair Display", "Merriweather", Georgia, serif;
  font-size: clamp(2rem, 8vw, 3.85rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: #fffaf3;
}

.hero-copy > p:not(.eyebrow) {
  margin: 0.95rem 0 0;
  max-width: 55ch;
  color: rgba(247, 241, 234, 0.88);
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.78rem 1.05rem;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  font-weight: 700;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn,
.mobile-cta a:last-child {
  background: var(--color-copper);
  color: #1d130c;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 24px rgba(196, 122, 58, 0.22);
}

.btn:hover,
.mobile-cta a:last-child:hover {
  background: var(--color-copper-strong);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #fff7ee;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
  white-space: nowrap;
  min-height: 2.45rem;
  padding: 0.66rem 0.9rem;
}

.topbar .btn-sm {
  justify-self: center;
  background: var(--color-copper);
  color: #1d130c;
  border-color: rgba(255, 255, 255, 0.1);
}

.proof-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.proof-list li {
  position: relative;
  margin: 0;
  padding: 0.65rem 0.8rem 0.65rem 1.8rem;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 248, 239, 0.93);
}

.proof-list li::before {
  content: "";
  position: absolute;
  left: 0.78rem;
  top: 50%;
  width: 0.52rem;
  height: 0.52rem;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--color-sand);
  box-shadow: 0 0 0 4px rgba(216, 195, 165, 0.15);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1rem, 2.8vw, 1.4rem);
  border: 1px solid rgba(43, 43, 43, 0.09);
  background:
    radial-gradient(circle at 90% 6%, rgba(196, 122, 58, 0.12), transparent 44%),
    radial-gradient(circle at 8% 95%, rgba(63, 92, 75, 0.1), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 241, 234, 0.96));
  box-shadow: var(--shadow-sm);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background:
    linear-gradient(180deg, rgba(74, 47, 27, 0), rgba(74, 47, 27, 0.08)),
    repeating-linear-gradient(90deg, rgba(74, 47, 27, 0.04) 0 2px, transparent 2px 11px);
  pointer-events: none;
}

.hero-panel > * {
  position: relative;
  z-index: 1;
}

.panel-kicker {
  margin: 0;
  color: var(--color-forest);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.panel-title {
  margin: 0.55rem 0 0;
  font-family: "Playfair Display", "Merriweather", Georgia, serif;
  font-size: clamp(1.35rem, 5vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--color-wood);
  text-wrap: balance;
}

.panel-stats {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
}

.panel-stats article {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(43, 43, 43, 0.08);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-xs);
}

.panel-stats strong {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--color-text);
}

.panel-stats span {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.trust-band {
  padding: 0.35rem 0 0.5rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.62)),
    radial-gradient(circle at 100% 0, rgba(216, 195, 165, 0.12), transparent 45%);
  box-shadow: var(--shadow-xs);
}

.trust-item {
  position: relative;
  margin: 0;
  padding: 0.95rem 0.95rem 0.95rem 1rem;
  border: 1px solid rgba(43, 43, 43, 0.08);
  background: rgba(255, 255, 255, 0.7);
}

.trust-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 12px 0 0 12px;
  background: linear-gradient(180deg, var(--color-copper), var(--color-forest));
}

.trust-item h3 {
  margin: 0;
  font-family: "Playfair Display", "Merriweather", Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.15;
  color: var(--color-wood);
}

.trust-item p {
  margin: 0.3rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.section {
  padding: clamp(2.35rem, 8vw, 5.5rem) 0;
}

.section-head {
  margin-bottom: 1.15rem;
}

.section-kicker {
  margin: 0;
  color: var(--color-forest);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h2 {
  margin: 0.45rem 0 0;
  font-family: "Playfair Display", "Merriweather", Georgia, serif;
  color: var(--color-wood);
  font-size: clamp(1.7rem, 6vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.about-text {
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--color-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(239, 231, 220, 0.55));
  box-shadow: var(--shadow-xs);
  color: var(--color-text-muted);
  font-size: 1rem;
}

.about-cards {
  display: grid;
  gap: 0.75rem;
}

.about-cards article {
  position: relative;
  padding: 1rem;
  border: 1px solid var(--color-line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-xs);
}

.about-cards article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(90deg, var(--color-copper), var(--color-sand));
}

.about-cards h3 {
  margin: 0;
  padding-top: 0.25rem;
  font-family: "Playfair Display", "Merriweather", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.1;
  color: var(--color-wood);
}

.about-cards p {
  margin: 0.4rem 0 0;
  color: var(--color-text-muted);
}

.section-contrast {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(196, 122, 58, 0.15), transparent 40%),
    linear-gradient(180deg, #2a1d14 0%, #221811 100%);
  color: #f8f2ea;
}

.section-contrast::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: min(40vw, 420px);
  background: linear-gradient(160deg, rgba(196, 122, 58, 0.95) 0 86%, transparent 86%);
  opacity: 0.92;
  pointer-events: none;
}

.section-contrast .container {
  position: relative;
  z-index: 1;
}

.section-contrast .section-kicker {
  color: rgba(255, 236, 214, 0.9);
}

.section-contrast h2 {
  color: #fff8f0;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.card {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 100% 0, rgba(216, 195, 165, 0.1), transparent 46%),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}

.card h3 {
  margin: 0;
  font-family: "Playfair Display", "Merriweather", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.08;
  color: #fff7ef;
}

.card p {
  margin: 0.5rem 0 0;
  color: rgba(248, 242, 234, 0.84);
}

.process {
  padding-top: 0.5rem;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.process-item {
  padding: 1rem;
  border: 1px solid var(--color-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(245, 243, 239, 0.9));
  box-shadow: var(--shadow-xs);
}

.process-item span {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.45rem;
  color: var(--color-copper-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-item h3 {
  margin: 0;
  font-family: "Playfair Display", "Merriweather", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.1;
  color: var(--color-wood);
}

.process-item p {
  margin: 0.45rem 0 0;
  color: var(--color-text-muted);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(43, 43, 43, 0.1);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: inherit;
  transition: border-color 0.22s ease, background-color 0.22s ease;
  pointer-events: none;
  z-index: 1;
}

.gallery-item::after {
  content: "Zoom";
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 2;
  padding: 0.28rem 0.55rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(20, 14, 10, 0.62);
  color: #fff8f1;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.gallery-item:hover::before {
  border-color: rgba(196, 122, 58, 0.45);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(20, 14, 10, 0.06));
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
  filter: saturate(1.04) contrast(1.02);
}

.empty-gallery {
  margin: 0;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(74, 47, 27, 0.2);
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-text-muted);
}

.section-contact {
  padding-top: 0.5rem;
}

.contact-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem;
  padding: clamp(1rem, 3vw, 1.8rem);
  border: 1px solid rgba(74, 47, 27, 0.14);
  background:
    linear-gradient(150deg, rgba(216, 195, 165, 0.95) 0 54%, transparent 54%),
    radial-gradient(circle at 95% 5%, rgba(196, 122, 58, 0.14), transparent 42%),
    linear-gradient(180deg, #f6f2eb 0%, #f2ece2 100%);
  box-shadow: var(--shadow-md);
}

.contact-shell::after {
  content: "";
  position: absolute;
  inset: auto 0 0 38%;
  height: 46%;
  background:
    repeating-linear-gradient(90deg, rgba(74, 47, 27, 0.04) 0 2px, transparent 2px 12px),
    linear-gradient(180deg, rgba(74, 47, 27, 0.07), rgba(74, 47, 27, 0));
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.contact-shell > * {
  position: relative;
  z-index: 1;
}

.contact-copy .section-kicker {
  color: var(--color-forest);
}

.contact-copy h2 {
  margin-top: 0.45rem;
  color: var(--color-wood);
}

#ctaText {
  margin: 0.7rem 0 0;
  color: var(--color-text-muted);
  max-width: 52ch;
}

.contact-grid {
  display: grid;
  gap: 0.65rem;
  align-content: center;
}

.contact-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(74, 47, 27, 0.14);
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-wood);
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow-xs);
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.contact-grid a:hover {
  transform: translateY(-1px);
  background: #fff;
  border-color: rgba(196, 122, 58, 0.34);
}

.contact-grid a:last-child {
  background: rgba(63, 92, 75, 0.08);
  color: #22332a;
  border-color: rgba(63, 92, 75, 0.18);
}

.contact-grid a:last-child:hover {
  background: rgba(63, 92, 75, 0.12);
}

.footer {
  padding: 0.2rem 0 5.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-line);
}

.footer small,
.footer a {
  color: var(--color-text-muted);
  font-weight: 600;
  text-decoration: none;
}

.footer a:hover {
  color: var(--color-wood);
}

.mobile-cta {
  position: fixed;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0.6rem;
  z-index: 120;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.mobile-cta a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 2.95rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.73rem;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(20, 14, 10, 0.18);
  backdrop-filter: blur(10px);
}

.mobile-cta a:first-child {
  background: rgba(20, 14, 10, 0.88);
  color: #fff6ec;
}

.mobile-cta a:first-child:hover {
  background: #120c09;
}

.is-hidden {
  display: none !important;
}

.no-scroll {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  background:
    radial-gradient(circle at 50% 0, rgba(196, 122, 58, 0.1), transparent 45%),
    rgba(12, 9, 7, 0.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox img {
  width: auto;
  height: auto;
  max-width: min(95vw, 1700px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  background: #18120d;
}

.lightbox-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(28, 20, 14, 0.9);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(196, 122, 58, 0.75);
  transform: translateY(-1px);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.is-stagger {
  transition-delay: calc(var(--i, 0) * 85ms);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav a:focus-visible,
.contact-grid a:focus-visible,
.mobile-cta a:focus-visible,
.lightbox-close:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

@media (min-width: 520px) {
  .container {
    width: min(var(--container), calc(100% - 1.5rem));
  }

  .cards,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 768px) {
  .container {
    width: min(var(--container), calc(100% - 2rem));
  }

  .masthead {
    padding-bottom: 2.6rem;
  }

  .topbar {
    grid-template-columns: minmax(220px, 1fr) auto auto;
    gap: 0.8rem;
    padding: 0.75rem 0.9rem;
  }

  .brand,
  .topbar .btn-sm {
    justify-self: initial;
  }

  .brand {
    text-align: left;
  }

  .nav {
    justify-content: center;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 1rem;
    min-height: min(72svh, 42rem);
  }

  .hero-copy,
  .hero-panel {
    height: 100%;
  }

  .hero-copy {
    padding: clamp(1.3rem, 2.5vw, 2rem);
  }

  .proof-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    padding: 1rem;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: 1rem;
  }

  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
  }

  .contact-shell {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 1rem;
  }

  .contact-grid {
    align-content: center;
  }

  .mobile-cta {
    display: none;
  }

  .footer {
    padding-bottom: 1.5rem;
  }
}

@media (min-width: 980px) {
  .hero-grid {
    gap: 1.2rem;
  }

  .hero-copy {
    padding: clamp(1.5rem, 3vw, 2.35rem);
  }

  .hero-copy h1 {
    font-size: clamp(2.4rem, 4.4vw, 4.2rem);
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 1.03rem;
  }

  .panel-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel-stats article:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .cards {
    gap: 1rem;
  }

  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .masthead::before {
    height: 460px;
    background: linear-gradient(160deg, rgba(74, 47, 27, 0.96) 0 72%, transparent 72%);
  }

  .hero-copy::before {
    inset: auto -6% -6% 14%;
  }

  .section-contrast::before {
    width: 100%;
    height: 120px;
    inset: 0 0 auto;
    background: linear-gradient(172deg, rgba(196, 122, 58, 0.94) 0 88%, transparent 88%);
  }

  .contact-shell::after {
    inset: auto 0 0 0;
    height: 30%;
    clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
