/* Lara Croft: Relic Run — independent fan guide site */

@font-face {
  font-family: "Satoshi";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/satoshi-400.woff2") format("woff2");
}
@font-face {
  font-family: "Satoshi";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/satoshi-500.woff2") format("woff2");
}
@font-face {
  font-family: "Satoshi";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/satoshi-700.woff2") format("woff2");
}
@font-face {
  font-family: "Satoshi";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../assets/fonts/satoshi-900.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/QGYvz_MVcBeNP4NJtEtq.woff2") format("woff2");
}

:root {
  --color-surface: #f7f2e7;
  --color-surface-dim: #ece3d0;
  --color-brand-primary: #0f2a1f;
  --color-brand-accent: #d4a34a;
  --color-accent-ink: #8a5a14;
  --color-brand-dark: #0f2a1f;
  --color-brand-jungle: #1d4a35;
  --color-brand-light: #f7f2e7;
  --color-brand-cream: #ece2c9;
  --color-on-surface: #1b1d17;
  --color-on-surface-variant: #4f5446;
  --color-outline: #cfc3a5;
  --color-outline-variant: #e0d6bd;
  --color-danger: #9c3b1b;
  --text-muted: rgb(27 29 23 / 0.74);
  --font-sans: "Satoshi", sans-serif;
  --font-heading: "Outfit", "Satoshi", sans-serif;
  --spacing-container-px: clamp(1rem, 4vw, 4rem);
  --spacing-section-py: clamp(4rem, 8vw, 7.5rem);
  --rounded-lg: 1.5rem;
  --rounded-xl: 2rem;
  --ui-elevation-soft: 0 14px 40px -24px rgb(15 42 31 / 0.35);
  --ui-elevation-strong: 0 28px 80px -32px rgb(15 42 31 / 0.5);
  --max: 80rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-on-surface);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgb(29 74 53 / 0.16), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgb(212 163 74 / 0.16), transparent 50%),
    var(--color-surface);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

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

.container {
  width: min(100% - 2rem, var(--max), calc(100vw - 2rem));
  margin-inline: auto;
  padding-inline: clamp(0, 2vw, 1rem);
}

.section {
  padding-block: var(--spacing-section-py);
}

.section--cream {
  background: var(--color-brand-cream);
}

.section--dark {
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, rgb(212 163 74 / 0.14), transparent 60%),
    var(--color-brand-dark);
  color: var(--color-brand-light);
}

.section--dark .section-desc {
  color: rgb(247 242 231 / 0.78);
}

.section--dark .info-card {
  background: rgb(247 242 231 / 0.06);
  border-color: rgb(247 242 231 / 0.14);
  box-shadow: none;
  color: var(--color-brand-light);
}

.section--dark .info-card p,
.section--dark .info-card li {
  color: rgb(247 242 231 / 0.8);
}

.section--dark .info-card a:not(.btn) {
  color: var(--color-brand-accent);
}

.section--dark .eyebrow {
  color: var(--color-brand-accent);
}

.eyebrow {
  font-size: clamp(0.72rem, 0.85vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-ink);
}

.accent {
  color: var(--color-accent-ink);
}

.lead {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-desc {
  margin-top: 1rem;
  max-width: 44rem;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
}

.inline-link {
  color: var(--color-accent-ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  font-weight: 600;
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  border: 1.5px solid transparent;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden;
  transition: transform 250ms cubic-bezier(0.33, 1, 0.68, 1),
    background-color 250ms ease,
    color 250ms ease,
    border-color 250ms ease,
    box-shadow 250ms ease;
}

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

.btn--primary {
  background: var(--color-brand-dark);
  color: var(--color-brand-light);
}

.btn--primary:hover {
  background: var(--color-brand-accent);
  color: var(--color-brand-dark);
}

.btn--outline {
  background: transparent;
  border-color: rgb(15 42 31 / 0.3);
  color: var(--color-brand-dark);
}

.btn--outline:hover {
  border-color: var(--color-brand-dark);
  background: rgb(15 42 31 / 0.05);
}

.btn--accent {
  background: var(--color-brand-accent);
  color: var(--color-brand-dark);
}

.btn--accent:hover {
  background: var(--color-brand-light);
}

.btn--ghost-light {
  background: rgb(15 42 31 / 0.35);
  border-color: rgb(247 242 231 / 0.65);
  color: var(--color-brand-light);
}

.btn--ghost-light:hover {
  background: rgb(247 242 231 / 0.12);
}

.btn--small {
  min-height: 2.25rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgb(247 242 231 / 0.92);
  border-bottom: 1px solid rgb(15 42 31 / 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.75rem;
  width: min(100% - 2rem, 90rem, calc(100vw - 2rem));
  margin-inline: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  flex-shrink: 0;
}

.logo img {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.6rem;
  object-fit: cover;
}

.logo-text small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-ink);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.95rem;
}

.nav-desktop > a {
  position: relative;
  font-size: 0.86rem;
  font-weight: 600;
  padding-block: 0.35rem;
  white-space: nowrap;
}

.nav-desktop > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--color-brand-accent);
  transition: width 300ms cubic-bezier(0.16, 1, 0.3, 1), left 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-desktop > a:hover::after,
.nav-desktop > a[aria-current="page"]::after {
  left: 0;
  width: 100%;
}

.nav-desktop a[aria-current="page"] {
  color: var(--color-accent-ink);
}

.nav-more {
  position: relative;
}

.nav-more-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: inherit;
  cursor: pointer;
}

.nav-more-toggle::after {
  content: "▾";
  font-size: 0.75rem;
  color: var(--color-accent-ink);
}

.nav-more-toggle.is-current {
  color: var(--color-accent-ink);
}

.nav-more-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.75rem);
  min-width: 15rem;
  padding: 0.5rem;
  border-radius: 1rem;
  background: var(--color-surface);
  border: 1px solid rgb(15 42 31 / 0.1);
  box-shadow: var(--ui-elevation-strong);
}

.nav-more-menu[hidden] {
  display: none;
}

.nav-more-menu a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-more-menu a:hover,
.nav-more-menu a[aria-current="page"] {
  background: var(--color-brand-cream);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-cta {
  display: inline-flex;
  white-space: nowrap;
  padding: 0.55rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgb(15 42 31 / 0.15);
  border-radius: 0.75rem;
  background: var(--color-surface);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--color-brand-dark);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: inherit;
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.nav-drawer {
  display: none;
  border-top: 1px solid rgb(15 42 31 / 0.08);
  background: var(--color-surface);
  padding: 1rem 1.25rem 1.5rem;
  max-height: calc(100vh - 4.75rem);
  overflow-y: auto;
}

.nav-drawer.is-open {
  display: block;
}

.nav-drawer .drawer-label {
  display: block;
  margin-top: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-ink);
}

.nav-drawer a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 600;
  border-bottom: 1px solid rgb(15 42 31 / 0.08);
}

.nav-drawer a[aria-current="page"] {
  color: var(--color-accent-ink);
}

.nav-drawer .btn {
  width: 100%;
  margin-top: 1rem;
  border-bottom: 0;
}

@media (min-width: 1240px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
  .nav-drawer { display: none !important; }
}

@media (max-width: 480px) {
  .header-actions { gap: 0.5rem; }
  .nav-cta { padding: 0.5rem 0.9rem; }
}

@media (max-width: 420px) {
  .logo-text small { display: none; }
  .logo { font-size: 0.95rem; }
}

/* Hero */
.hero {
  padding-top: 1rem;
}

.hero-panel {
  overflow: hidden;
  border-radius: 1rem 1rem 0 0;
  background: var(--color-surface);
  border: 1px solid rgb(15 42 31 / 0.06);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.hero-grid > * {
  min-width: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.25rem, 2vw, 2rem);
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 5vw, 5rem) clamp(2rem, 5vw, 3rem);
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.3rem, 6.5vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.045em;
  max-width: min(44rem, 100%);
  overflow-wrap: break-word;
}

.hero-desc {
  max-width: 38rem;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  padding-top: 0.5rem;
  color: rgb(27 29 23 / 0.58);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.trust-row a:hover {
  color: var(--color-accent-ink);
}

.trust-row .label {
  opacity: 0.85;
  letter-spacing: 0.06em;
}

.hero-media {
  position: relative;
  min-height: clamp(22rem, 92vw, 31rem);
  margin: 0 1rem 1rem;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 1.5rem;
}

.hero-media figcaption,
.media-credit {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
  background: rgb(15 42 31 / 0.75);
  color: var(--color-brand-light);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--color-brand-dark);
  color: var(--color-brand-light);
  border-radius: var(--rounded-lg) var(--rounded-lg) 0 0;
  padding: clamp(2rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2.5rem);
}

.stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  padding: 0.75rem;
}

.stat strong {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-brand-accent);
}

.stat span {
  font-size: 0.85rem;
  color: rgb(247 242 231 / 0.8);
}

@media (max-width: 767px) {
  .stat:nth-child(even)::before {
    content: "";
    position: absolute;
    inset-block: 0.75rem;
    left: 0;
    width: 1px;
    background: rgb(247 242 231 / 0.35);
  }
  .stat:nth-child(-n + 2)::after {
    content: "";
    position: absolute;
    right: 0.75rem;
    bottom: 0;
    left: 0.75rem;
    height: 1px;
    background: rgb(247 242 231 / 0.35);
  }
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
  .hero-media {
    min-height: clamp(30rem, 62vw, 38rem);
    margin: 0 1.5rem 1.5rem 0;
  }
  .hero-media img {
    clip-path: path("M 0.22 0.08 C 0.38 0.02 0.64 0 0.84 0.05 C 0.98 0.09 1.02 0.2 0.98 0.38 C 0.96 0.52 0.86 0.58 0.74 0.66 C 0.62 0.74 0.57 0.9 0.43 0.97 C 0.29 1.04 0.15 0.93 0.1 0.78 C 0.05 0.62 0.02 0.48 0.1 0.34 C 0.14 0.26 0.16 0.16 0.22 0.08 Z");
    clip-path: url(#nova-blob);
    border-radius: 0;
  }
  .hero-media figcaption {
    right: 2rem;
    bottom: 1rem;
  }
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .stat + .stat::before {
    content: "";
    position: absolute;
    inset-block: 25%;
    left: 0;
    width: 1px;
    background: rgb(247 242 231 / 0.35);
  }
  .trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.75rem 1.5rem;
    align-items: center;
    font-size: clamp(0.8rem, 0.9vw, 0.95rem);
  }
}

/* Portfolio (image cards) */
.portfolio-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--color-brand-dark);
  transition: color 200ms ease;
}

.link-arrow:hover {
  color: var(--color-accent-ink);
}

.section--dark .link-arrow {
  color: var(--color-brand-accent);
}

.portfolio-grid {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .portfolio-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--rounded-xl);
  box-shadow: var(--ui-elevation-soft);
  min-height: 22rem;
  background: var(--color-brand-dark);
  transition: transform 250ms cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 250ms ease;
}

.project-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--ui-elevation-strong);
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(8 20 14 / 0.92), rgb(8 20 14 / 0.25) 55%, transparent);
  opacity: 0.8;
  transition: opacity 300ms ease;
}

.project-card:hover .overlay {
  opacity: 0.92;
}

.project-card .meta {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  color: var(--color-brand-light);
  z-index: 1;
}

.project-card .cat {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand-accent);
}

.project-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.project-card .card-desc {
  display: block;
}

.project-card .card-title {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.project-card .meta p,
.project-card .card-desc {
  margin-top: 0.4rem;
  font-size: 0.92rem;
  color: rgb(247 242 231 / 0.85);
}

/* Service / guide cards */
.services-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
  min-width: 0;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .services-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid rgb(15 42 31 / 0.1);
  border-radius: var(--rounded-xl);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--ui-elevation-soft);
  transition: transform 250ms cubic-bezier(0.33, 1, 0.68, 1),
    border-color 250ms ease,
    box-shadow 250ms ease;
}

.service-card:hover {
  transform: translateY(-0.25rem);
  border-color: color-mix(in srgb, var(--color-brand-accent) 60%, transparent);
  box-shadow: var(--ui-elevation-strong);
}

.service-card[hidden] {
  display: none;
}

.service-card .num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent-ink);
  margin-bottom: 1rem;
}

.service-card .icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.25rem;
  color: var(--color-accent-ink);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.service-card .link-arrow {
  margin-top: auto;
  padding-top: 1.15rem;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--color-brand-cream);
  color: var(--color-brand-dark);
}

.badge--easy { background: #d9e8d6; color: #1d4a35; }
.badge--medium { background: #f1e1b8; color: #6b4a0f; }
.badge--hard { background: #f0d2c4; color: #7a2e12; }

/* Team / split sections */
.team-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .team-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
  .team-grid.reverse > :first-child {
    order: 2;
  }
}

.team-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--rounded-xl);
  box-shadow: var(--ui-elevation-soft);
}

.team-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.team-media.wide img {
  aspect-ratio: 4 / 3;
}

.team-checks {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.team-checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 600;
}

.team-checks li::before {
  content: "◆";
  color: var(--color-brand-accent);
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1.9;
}

.team-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.team-count strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.team-count span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 2.5rem;
  max-width: 52rem;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid rgb(15 42 31 / 0.08);
  border-radius: var(--rounded-xl);
  box-shadow: var(--ui-elevation-soft);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--color-accent-ink);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .answer {
  padding: 0 1.5rem 1.35rem;
  color: var(--text-muted);
}

.faq-item .answer p + p,
.faq-item .answer p + ul,
.faq-item .answer ul + p {
  margin-top: 0.75rem;
}

.faq-item .answer ul {
  list-style: disc;
  padding-left: 1.2rem;
}

.faq-item .answer a {
  color: var(--color-accent-ink);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Testimonial-style tip cards */
.testimonials-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 900px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  background: var(--color-surface);
  border: 1px solid rgb(15 42 31 / 0.08);
  border-radius: var(--rounded-xl);
  padding: 1.75rem;
  box-shadow: var(--ui-elevation-soft);
}

.testimonial blockquote {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.65;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-author .initials {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  border: 1px solid rgb(15 42 31 / 0.12);
  background: var(--color-brand-cream);
  font-weight: 700;
  color: var(--color-accent-ink);
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 1rem;
}

.testimonial-author span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.testimonial-author a:hover strong {
  color: var(--color-accent-ink);
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
  border-radius: var(--rounded-lg) var(--rounded-lg) 0 0;
  color: var(--color-brand-light);
  background: var(--color-brand-dark) center / cover no-repeat;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgb(10 30 22 / 0.82), rgb(10 30 22 / 0.95));
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  padding: 4rem 0 2rem;
  display: grid;
  gap: 2.5rem;
}

.footer-cta {
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
}

.footer-cta .eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--color-brand-accent);
}

.footer-cta .eyebrow::before,
.footer-cta .eyebrow::after {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: color-mix(in srgb, var(--color-brand-accent) 75%, white);
}

.footer-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.footer-cta p {
  margin: 1.5rem auto 0;
  max-width: 38rem;
  color: rgb(247 242 231 / 0.82);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.footer-cta .btn-row {
  justify-content: center;
  margin-top: 2.5rem;
}

.footer-links {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-links {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-about strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.footer-about p {
  color: rgb(247 242 231 / 0.75);
  font-size: 0.92rem;
}

.footer-contact {
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgb(247 242 231 / 0.75);
}

.footer-contact a {
  color: var(--color-brand-accent);
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-nav .footer-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-brand-accent);
  margin-bottom: 0.25rem;
}

.footer-nav a {
  color: rgb(247 242 231 / 0.85);
  font-size: 0.95rem;
  transition: color 200ms ease;
}

.footer-nav a:hover {
  color: var(--color-brand-accent);
}

.footer-disclaimer {
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgb(247 242 231 / 0.2);
  background: rgb(247 242 231 / 0.05);
  color: rgb(247 242 231 / 0.8);
  font-size: 0.88rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid rgb(247 242 231 / 0.25);
  padding-top: 2rem;
  color: rgb(247 242 231 / 0.75);
  font-size: 0.9rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom a:hover {
  color: var(--color-brand-accent);
}

/* Page hero (inner pages) */
.page-hero {
  padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.045em;
  max-width: 22ch;
  margin-top: 0.75rem;
}

.page-hero p {
  margin-top: 1.25rem;
  max-width: 44rem;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}

.page-hero .btn-row {
  margin-top: 1.75rem;
}

.page-hero--image {
  position: relative;
  color: var(--color-brand-light);
  background: var(--color-brand-dark) center / cover no-repeat;
  border-radius: 0 0 var(--rounded-lg) var(--rounded-lg);
  overflow: hidden;
}

.page-hero--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgb(10 30 22 / 0.94) 0%, rgb(10 30 22 / 0.78) 55%, rgb(10 30 22 / 0.45) 100%);
}

.page-hero--image .container {
  position: relative;
}

.page-hero--image p {
  color: rgb(247 242 231 / 0.86);
}

.page-hero--image .eyebrow,
.page-hero--image .breadcrumbs a {
  color: var(--color-brand-accent);
}

.page-hero--image .breadcrumbs {
  color: rgb(247 242 231 / 0.7);
}

.page-hero--image .btn--outline {
  color: var(--color-brand-light);
  border-color: rgb(247 242 231 / 0.5);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.35rem;
  opacity: 0.6;
}

.breadcrumbs a {
  color: var(--color-accent-ink);
  font-weight: 600;
}

/* Cards / content blocks */
.content-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .content-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
  }
  .content-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.info-card {
  background: var(--color-surface);
  border: 1px solid rgb(15 42 31 / 0.08);
  border-radius: var(--rounded-xl);
  padding: 1.75rem;
  box-shadow: var(--ui-elevation-soft);
  color: var(--color-on-surface);
}

.info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.info-card p,
.info-card li {
  color: var(--text-muted);
}

.info-card p + p {
  margin-top: 0.75rem;
}

.info-card ul {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.info-card li::before {
  content: "— ";
  color: var(--color-accent-ink);
}

.info-card a:not(.btn) {
  color: var(--color-accent-ink);
  font-weight: 600;
}

/* Article layout */
.article-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .article-layout {
    grid-template-columns: 16rem minmax(0, 1fr);
    gap: 3.5rem;
  }
}

.toc {
  background: var(--color-surface);
  border: 1px solid rgb(15 42 31 / 0.1);
  border-radius: 1.25rem;
  padding: 1.25rem 1.35rem;
  box-shadow: var(--ui-elevation-soft);
}

@media (min-width: 1024px) {
  .toc {
    position: sticky;
    top: 6rem;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
  }
}

.toc strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-ink);
  margin-bottom: 0.65rem;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.15rem;
}

.toc a {
  display: block;
  padding: 0.3rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-left: 2px solid transparent;
}

.toc a:hover,
.toc a.is-active {
  color: var(--color-brand-dark);
  background: var(--color-brand-cream);
  border-left-color: var(--color-brand-accent);
}

.prose {
  max-width: 48rem;
  min-width: 0;
}

.prose h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 3rem 0 0.9rem;
  scroll-margin-top: 6.5rem;
}

.prose > h2:first-child {
  margin-top: 0;
}

.prose .service-card h3,
.prose .info-card h3,
.prose .walk-block > h3:first-child {
  margin-top: 0;
}

.prose .filter-panel {
  margin-bottom: 1rem;
}

.prose .info-card ul {
  list-style: none;
  padding-left: 0;
}

.prose h3 {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  letter-spacing: -0.01em;
  margin: 1.85rem 0 0.55rem;
  scroll-margin-top: 6.5rem;
}

.prose h4 {
  font-size: 1rem;
  margin: 1.25rem 0 0.4rem;
}

.prose p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 1.04rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.15rem;
  padding-left: 1.35rem;
  color: var(--text-muted);
  font-size: 1.04rem;
}

.prose ul {
  list-style: disc;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose li::marker {
  color: var(--color-accent-ink);
}

.prose strong {
  color: var(--color-on-surface);
}

.prose a:not(.btn):not(.link-arrow) {
  color: var(--color-accent-ink);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  font-weight: 600;
}

.prose figure {
  margin: 1.75rem 0;
}

.prose figure img {
  border-radius: 1.25rem;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.prose figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.prose .content-grid,
.prose .services-grid {
  margin: 1.5rem 0;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.page-hero--image .article-meta {
  color: rgb(247 242 231 / 0.75);
}

.callout {
  margin: 1.5rem 0;
  padding: 1.15rem 1.35rem;
  border-radius: 1rem;
  border-left: 4px solid var(--color-brand-accent);
  background: var(--color-brand-cream);
}

.callout strong:first-child {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-heading);
}

.callout p {
  margin: 0;
  font-size: 0.98rem;
}

.callout p + p {
  margin-top: 0.5rem;
}

.callout--warn {
  border-left-color: var(--color-danger);
  background: #f5e2d6;
}

.callout--tip {
  border-left-color: var(--color-brand-jungle);
  background: #dde9da;
}

.steps {
  counter-reset: step;
  list-style: none !important;
  padding-left: 0 !important;
}

.steps > li {
  position: relative;
  padding-left: 2.85rem;
  margin-bottom: 0.9rem;
  counter-increment: step;
}

.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  background: var(--color-brand-dark);
  color: var(--color-brand-accent);
  font-weight: 700;
  font-size: 0.85rem;
}

.walk-block {
  margin: 2rem 0 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--rounded-xl);
  border: 1px solid rgb(15 42 31 / 0.1);
  background: var(--color-surface);
  box-shadow: var(--ui-elevation-soft);
}

.walk-block > h3:first-child {
  margin-top: 0;
}

.data-table-wrap {
  margin: 1.25rem 0 1.5rem;
  overflow-x: auto;
  border-radius: 1rem;
  border: 1px solid rgb(15 42 31 / 0.12);
  background: var(--color-surface);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 34rem;
}

.data-table th,
.data-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgb(15 42 31 / 0.08);
}

.data-table th {
  background: var(--color-brand-dark);
  color: var(--color-brand-light);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.data-table td {
  color: var(--text-muted);
}

.data-table td:first-child {
  color: var(--color-on-surface);
  font-weight: 700;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.related {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgb(15 42 31 / 0.12);
}

.related h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.related .services-grid {
  margin-top: 1.25rem;
}

/* Expandable tips */
.tip-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 2rem;
}

.tip {
  background: var(--color-surface);
  border: 1px solid rgb(15 42 31 / 0.1);
  border-radius: 1.25rem;
  box-shadow: var(--ui-elevation-soft);
  overflow: hidden;
}

.tip[hidden] {
  display: none;
}

.tip summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 1.35rem;
  font-weight: 700;
}

.tip summary::-webkit-details-marker {
  display: none;
}

.tip summary .badge {
  flex-shrink: 0;
}

.tip summary .tip-title {
  flex: 1;
}

.tip summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--color-accent-ink);
}

.tip[open] summary::after {
  content: "−";
}

.tip-body {
  padding: 0 1.35rem 1.25rem;
}

.tip-body dl {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.tip-body dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-ink);
}

.tip-body dd {
  margin: 0.1rem 0 0;
  color: var(--text-muted);
}

@media (min-width: 800px) {
  .tip-body dl {
    grid-template-columns: 9rem minmax(0, 1fr);
    column-gap: 1.25rem;
  }
  .tip-body dd {
    margin: 0;
  }
}

/* Filters & search */
.filter-panel {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1.25rem;
  background: var(--color-surface);
  border: 1px solid rgb(15 42 31 / 0.1);
  box-shadow: var(--ui-elevation-soft);
}

.filter-row {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 800px) {
  .filter-row {
    grid-template-columns: minmax(0, 1fr) 14rem;
    align-items: end;
  }
}

.field {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.field input,
.field select {
  width: 100%;
  min-height: 2.9rem;
  border: 1px solid rgb(15 42 31 / 0.2);
  border-radius: 0.85rem;
  padding: 0.7rem 1rem;
  font: inherit;
  font-weight: 500;
  background: #fffdf8;
  color: var(--color-brand-dark);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  min-height: 2.35rem;
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  border: 1px solid rgb(15 42 31 / 0.2);
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-brand-dark);
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.chip:hover {
  border-color: var(--color-brand-dark);
}

.chip[aria-pressed="true"] {
  background: var(--color-brand-dark);
  border-color: var(--color-brand-dark);
  color: var(--color-brand-light);
}

.filter-status {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.filter-empty {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px dashed rgb(15 42 31 / 0.3);
  text-align: center;
  color: var(--text-muted);
}

.filter-empty[hidden] {
  display: none;
}

/* Checklist */
.checklist-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.5rem 0 1rem;
}

.progress {
  flex: 1 1 16rem;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.progress-bar {
  height: 0.6rem;
  border-radius: 9999px;
  background: var(--color-outline-variant);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-brand-jungle), var(--color-brand-accent));
  transition: width 300ms ease;
}

.checklist-group {
  margin-top: 1.5rem;
}

.checklist-group h3 {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.checklist-group h3 span {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--color-accent-ink);
}

.checklist {
  display: grid;
  gap: 0.5rem;
  list-style: none !important;
  padding: 0 !important;
}

@media (min-width: 700px) {
  .checklist {
    grid-template-columns: 1fr 1fr;
  }
}

.checklist li {
  margin: 0;
}

.checklist li[hidden] {
  display: none;
}

.checklist label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid rgb(15 42 31 / 0.1);
  background: var(--color-surface);
  cursor: pointer;
  color: var(--color-on-surface);
}

.checklist input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--color-brand-jungle);
  flex-shrink: 0;
}

.checklist .lvl {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-accent-ink);
  white-space: nowrap;
}

.checklist input:checked + .item-name {
  text-decoration: line-through;
  opacity: 0.6;
}

.check-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.check-toggle input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--color-brand-jungle);
}

.info-card .check-toggle {
  margin-top: 1rem;
  color: var(--color-brand-jungle);
}

.checklist-group h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

/* Spoilers */
.spoiler {
  margin: 1.25rem 0;
  border-radius: 1rem;
  border: 1px dashed rgb(15 42 31 / 0.35);
  padding: 1rem 1.2rem;
  background: rgb(236 226 201 / 0.5);
}

.spoiler-content {
  margin-top: 0.85rem;
}

.spoiler-content[hidden] {
  display: none;
}

.spoiler-content p:last-child {
  margin-bottom: 0;
}

/* Reading progress & back to top */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  height: 3px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--color-brand-jungle), var(--color-brand-accent));
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  border: 1px solid rgb(247 242 231 / 0.4);
  background: var(--color-brand-dark);
  color: var(--color-brand-accent);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--ui-elevation-strong);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition: opacity 250ms ease, transform 250ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

/* Gallery lightbox */
.gallery-item {
  cursor: zoom-in;
  border: 0;
  padding: 0;
  text-align: left;
  font: inherit;
  width: 100%;
}

.lightbox {
  width: min(64rem, 100% - 2rem);
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 0;
  border-radius: 1.25rem;
  background: var(--color-brand-dark);
  color: var(--color-brand-light);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgb(5 15 10 / 0.85);
}

.lightbox img {
  width: 100%;
  max-height: calc(100vh - 10rem);
  object-fit: contain;
  background: #000;
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
}

.lightbox-bar p {
  font-size: 0.92rem;
  color: rgb(247 242 231 / 0.85);
}

/* Contact */
.contact-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: start;
  }
}

.contact-form {
  background: var(--color-surface);
  border: 1px solid rgb(15 42 31 / 0.1);
  border-radius: var(--rounded-xl);
  padding: 1.75rem;
  box-shadow: var(--ui-elevation-soft);
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgb(15 42 31 / 0.18);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  font: inherit;
  background: #fffdf8;
  color: var(--color-brand-dark);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid color-mix(in srgb, var(--color-brand-accent) 70%, transparent);
  outline-offset: 1px;
}

.contact-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 500;
}

.contact-form .consent input {
  width: auto;
  margin-top: 0.3rem;
}

.form-note {
  display: none;
  padding: 1rem 1.15rem;
  border-radius: 0.85rem;
  background: var(--color-brand-cream);
  border: 1px solid color-mix(in srgb, var(--color-brand-accent) 50%, transparent);
  color: var(--color-brand-dark);
  font-size: 0.95rem;
}

.form-note.is-visible {
  display: block;
}

.form-note.is-error {
  background: #f5e2d6;
  border-color: rgb(156 59 27 / 0.4);
}

/* Legal */
.legal {
  max-width: 50rem;
  margin-inline: auto;
  padding-bottom: 4rem;
}

.legal h2 {
  font-family: var(--font-heading);
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  scroll-margin-top: 6.5rem;
}

.legal h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
}

.legal p,
.legal li {
  color: rgb(27 29 23 / 0.78);
}

.legal p {
  margin-bottom: 1rem;
}

.legal ul {
  list-style: disc;
  padding-left: 1.3rem;
  margin-bottom: 1rem;
}

.legal li {
  margin-bottom: 0.4rem;
}

.legal a {
  color: var(--color-accent-ink);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal .meta {
  color: rgb(27 29 23 / 0.55);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.owner-note {
  display: inline;
  padding: 0.05rem 0.4rem;
  border-radius: 0.35rem;
  background: #f1e1b8;
  color: #6b4a0f;
  font-size: 0.92em;
  font-weight: 600;
}

/* Reveal motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover,
  .project-card:hover,
  .service-card:hover {
    transform: none;
  }
  .project-card:hover img {
    transform: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 300;
  padding: 0.6rem 1rem;
  border-radius: 0.6rem;
  background: var(--color-brand-dark);
  color: var(--color-brand-light);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}
