:root {
  --bg: #f4efe7;
  --bg-soft: rgba(255, 250, 242, 0.72);
  --surface: #fff8ef;
  --surface-strong: #f0e4d3;
  --text: #1f2521;
  --muted: #5a675d;
  --accent: #a64b2a;
  --accent-strong: #6f2612;
  --line: rgba(31, 37, 33, 0.1);
  --shadow: 0 18px 60px rgba(57, 40, 18, 0.14);
  --radius: 28px;
  --nav-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(226, 183, 126, 0.28), transparent 30%),
    linear-gradient(180deg, #f6f0e6 0%, #efe4d4 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
  opacity: 0.3;
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 48px;
}

.site-header {
  min-height: 100svh;
  padding: 18px 0 42px;
  display: flex;
  flex-direction: column;
}

.navbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--nav-height);
  padding: 16px 22px;
  background: rgba(255, 248, 239, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-logo {
  display: block;
  height: 40px;
  width: auto;
  object-fit: contain;
}

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

.nav-menu a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--muted);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: rgba(166, 75, 42, 0.12);
  color: var(--accent-strong);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(166, 75, 42, 0.12);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--accent-strong);
}

.hero {
  margin: auto 0 auto;
  padding: 88px 0 40px;
  max-width: 760px;
}

.eyebrow,
.section-kicker,
.panel-copy p {
  margin: 0 0 14px;
  font-size: 0.92rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1,
.section-content h2,
.panel-copy h2 {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(4rem, 9vw, 8rem);
  /* max-width: 10ch; */
}

.hero-copy {
  max-width: 56ch;
  margin: 24px 0 30px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #d08139);
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  box-shadow: 0 12px 28px rgba(166, 75, 42, 0.26);
}

.content-section {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 30px;
  padding: 54px;
  margin: 28px 0;
  background: var(--bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  scroll-margin-top: 120px;
}

.content-section.alt {
  background: rgba(240, 228, 211, 0.86);
}

.section-label {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
  color: rgba(31, 37, 33, 0.28);
}

.section-content h2 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  margin-bottom: 22px;
}

.section-content p:not(.section-kicker) {
  margin: 0 0 18px;
  max-width: 62ch;
  line-height: 1.9;
  color: var(--muted);
}

.parallax-panel {
  position: relative;
  min-height: 58svh;
  margin: 36px 0;
  overflow: clip;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #241e1b;
  isolation: isolate;
}

.parallax-panel.short {
  min-height: 48svh;
}

.parallax-media {
  position: absolute;
  inset: -8%;
  background-position: center;
  background-size: cover;
  transform: translate3d(0, 0, 0) scale(1.08);
  will-change: transform;
}

.parallax-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.22), rgba(18, 18, 18, 0.58));
}

.panel-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
  padding: clamp(24px, 5vw, 48px);
  color: #fff7eb;
}

.panel-copy p {
  color: rgba(255, 247, 235, 0.74);
}

.panel-copy h2 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  max-width: 11ch;
}

.last {
  margin-bottom: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 28px;
  padding: 34px 40px;
  margin-top: 28px;
  background: rgba(31, 37, 33, 0.9);
  color: #fff7eb;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-footer h2,
.legal-card h1,
.legal-card h2 {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.site-footer h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.footer-kicker {
  margin: 0 0 14px;
  font-size: 0.92rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 247, 235, 0.72);
}

.footer-meta {
  display: flex;
  flex-direction: row;
  justify-content: end;
  gap: 22px;
}

.footer-meta p {
  margin: 0;
  max-width: 54ch;
  line-height: 1.8;
  color: rgba(255, 247, 235, 0.8);
}

.footer-meta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 247, 235, 0.16);
  border-radius: 999px;
  background: rgba(255, 247, 235, 0.08);
  transition: background-color 180ms ease, transform 180ms ease;
}

.footer-meta a:hover {
  background: rgba(255, 247, 235, 0.16);
  transform: translateY(-1px);
}

.legal-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.legal-header {
  padding: 18px 0 0;
}

.legal-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 36px 0 18px;
}

.legal-card {
  width: 100%;
  padding: clamp(28px, 5vw, 54px);
  background: rgba(255, 250, 242, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.legal-card h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  margin-bottom: 30px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 34px;
}

.legal-grid div,
.legal-copy {
  padding: 22px;
  background: rgba(240, 228, 211, 0.68);
  border-radius: 22px;
  border: 1px solid rgba(31, 37, 33, 0.06);
}

.legal-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.legal-grid p,
.legal-copy p {
  margin: 0;
  line-height: 1.85;
  color: var(--muted);
}

.legal-copy {
  display: grid;
  gap: 16px;
}

.legal-copy h2 {
  margin-top: 6px;
  margin-bottom: 0;
}

.legal-actions {
  margin-top: 28px;
}

.legal-footer {
  margin-bottom: 48px;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(31, 37, 33, 0.14);
  border-radius: 14px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(90, 103, 93, 0.55);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(166, 75, 42, 0.14);
}

.form-field input:invalid:not(:placeholder-shown),
.form-field textarea:invalid:not(:placeholder-shown) {
  border-color: #c0392b;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.form-note {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
  }

  .navbar {
    top: 10px;
    min-height: 72px;
    padding: 10px 12px 10px 18px;
    border-radius: 28px;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 6px 0 2px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    text-align: center;
  }

  .hero {
    padding-top: 56px;
  }

  .hero h1 {
    max-width: 8ch;
  }

  .content-section {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 30px 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .site-footer,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .section-label {
    font-size: 2.6rem;
  }

  .parallax-panel,
  .parallax-panel.short {
    min-height: 42svh;
  }
}

@media (max-width: 540px) {
  .site-header {
    min-height: auto;
  }

  .hero {
    padding: 48px 0 22px;
  }

  .hero-copy,
  .section-content p:not(.section-kicker) {
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .site-footer,
  .legal-card,
  .legal-grid div,
  .legal-copy {
    padding-left: 20px;
    padding-right: 20px;
  }

  .panel-copy h2 {
    max-width: 11ch;
  }
}

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

  .nav-menu a,
  .parallax-media {
    transition: none;
  }
}