:root {
  --navy: #4a2c22;
  --navy-deep: #2c1814;
  --maroon: #c4784a;
  --gold: #f0b429;
  --gold-soft: #f3ebe3;
  --paper: #f7f3ec;
  --paper-warm: #f5f1e8;
  --ink: #1a1a1a;
  --muted: #4b5563;
  --line: rgba(74, 44, 34, 0.14);
  --white: #fffdf9;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --display: 'Nunito', system-ui, sans-serif;
  --ui: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ui);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }

.wrap {
  width: min(1120px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease), height .35s var(--ease);
  padding: 1.1rem 0;
  height: 74px;
}
.nav.scrolled {
  background: var(--paper-warm);
  box-shadow: 0 1px 0 var(--line);
  padding: .7rem 0;
  height: 58px;
}
.nav-inner {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav-brand img {
  height: 52px; width: auto;
  background: var(--white);
  border-radius: 8px;
  padding: 3px 6px;
}
.nav.scrolled .nav-brand img { height: 44px; }

.nav-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(44, 24, 20, .62);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.nav-overlay.open { opacity: 1; pointer-events: all; }

.nav-links {
  display: flex; align-items: center; justify-content: flex-end; gap: 1.5rem;
  font-size: .92rem; font-weight: 600; color: var(--navy);
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 74px;
  padding: 0 max(1rem, calc((100% - 1120px) / 2 + 3.5rem)) 0 max(1rem, calc((100% - 1120px) / 2));
  z-index: 55;
  pointer-events: none;
  background: transparent;
}
.nav-links a { opacity: .78; transition: opacity .2s; pointer-events: auto; }
.nav-links a:hover { opacity: 1; }
.nav-close {
  display: none;
  width: 40px; height: 40px;
  place-items: center;
  border-radius: 8px;
  color: var(--navy);
  background: var(--gold-soft);
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 2;
}
.nav-close svg { width: 18px; height: 18px; }

.nav-toggle {
  display: none; width: 42px; height: 42px;
  place-items: center; border-radius: 8px;
  background: var(--white); color: var(--navy);
  position: relative; z-index: 110;
  box-shadow: 0 1px 0 var(--line);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before,
.nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.active span { background: transparent; }
.nav-toggle.active span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.active span::after { top: 0; transform: rotate(-45deg); }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  transform: scale(1.06);
  animation: heroDrift 18s var(--ease) infinite alternate;
}
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(44,24,20,.25) 0%, rgba(44,24,20,.2) 40%, rgba(44,24,20,.86) 100%),
    linear-gradient(90deg, rgba(44,24,20,.55) 0%, rgba(44,24,20,.12) 60%, transparent 100%);
}
.hero-content {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto 4.5rem;
  max-width: 38rem;
  animation: rise .9s var(--ease) both;
}
.brand-mark {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .82rem;
  color: var(--gold);
  margin-bottom: .6rem;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: .85rem;
}
.hero p {
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  color: rgba(255,255,255,.9);
  max-width: 34rem;
  margin-bottom: 1.6rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .9rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: .95rem;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { background: #e09b1b; }
.btn-ghost {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,.45);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--maroon);
  margin-bottom: .7rem;
}
.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
  max-width: 20rem;
  margin-bottom: 1rem;
}
.section-lead { font-size: 1.08rem; color: var(--muted); max-width: 40rem; }

.about {
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(240,180,41,.18), transparent 55%),
    var(--paper-warm);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-copy p + p { margin-top: 1rem; color: var(--muted); font-size: 1.05rem; }
.about-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: 0 24px 60px rgba(44, 24, 20, .14);
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }

.help { background: var(--paper); }
.help-head { margin-bottom: 2rem; }
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.help-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  min-height: 100%;
}
.help-card h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy);
}
.help-card p { color: var(--muted); flex: 1; }
.help-card ul { margin: 0 0 .2rem 1.1rem; color: var(--muted); }
.help-card li + li { margin-top: .35rem; }
.help-card .btn { align-self: flex-start; margin-top: .4rem; }
.help-card .btn-primary { background: var(--navy); color: var(--white); }
.help-card .btn-primary:hover { background: var(--navy-deep); }
.help-note {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: .98rem;
}
.help-note a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.contact { background: var(--paper-warm); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-list { display: grid; gap: 1.35rem; margin-top: 1.8rem; }
.contact-item h4 {
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--maroon); margin-bottom: .3rem;
}
.contact-item p, .contact-item a { font-size: 1.05rem; color: var(--navy); font-weight: 600; }
.contact-item a:hover { color: var(--maroon); }
.contact-map {
  border-radius: 16px;
  overflow: hidden;
  min-height: 340px;
  background: var(--navy);
  position: relative;
}
.contact-map img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.contact-map-label {
  position: absolute; left: 50%; bottom: 1rem;
  transform: translateX(-50%);
  background: rgba(255,255,255,.95);
  color: var(--navy);
  padding: .7rem 1rem;
  border-radius: 10px;
  font-size: .88rem; font-weight: 700;
  white-space: nowrap;
  max-width: calc(100% - 2rem);
}
.socials { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.7rem; }
.socials a {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  color: var(--navy);
  background: var(--white);
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}
.socials a svg { width: 18px; height: 18px; fill: currentColor; }
.socials a:hover { border-color: var(--navy); background: var(--navy); color: var(--white); transform: translateY(-2px); }

.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.7);
  padding: 2.8rem 0 1.8rem;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.35rem; }
.footer-tag {
  font-family: var(--display);
  font-weight: 700;
  color: rgba(255,255,255,.92);
  font-size: 1.15rem;
}
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem .2rem; font-size: .9rem; font-weight: 600; }
.footer-links a { padding: .35rem .7rem; border-radius: 8px; }
.footer-links a:hover { color: var(--gold); background: rgba(255,255,255,.05); }
.footer-socials { display: flex; justify-content: center; gap: .65rem; }
.footer-socials a {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
}
.footer-socials a svg { width: 17px; height: 17px; fill: currentColor; }
.footer-socials a:hover { background: rgba(255,255,255,.14); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  width: 100%;
  padding-top: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  font-size: .8rem;
  line-height: 1.45;
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .12s; }

@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .about-grid, .contact-grid, .help-grid { grid-template-columns: 1fr; }
  .nav-links, .nav.scrolled ~ .nav-links, .nav-links.open {
    position: fixed !important;
    top: 0 !important; right: 0 !important; bottom: 0 !important; left: auto !important;
    width: min(85vw, 320px) !important;
    height: 100dvh !important;
    padding: 4.5rem 1.35rem 2rem !important;
    background: #fffdf9 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    pointer-events: auto !important;
    z-index: 100 !important;
    transform: translateX(105%);
    transition: transform .35s var(--ease);
    box-shadow: -16px 0 48px rgba(44, 24, 20, .28);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0) !important; }
  .nav-links a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    opacity: 1 !important;
    color: var(--navy) !important;
  }
  .nav-close { display: grid; }
  .nav-toggle { display: grid; }
  .hero { align-items: center; text-align: center; }
  .hero-veil { background: linear-gradient(180deg, rgba(44,24,20,.35) 0%, rgba(44,24,20,.5) 40%, rgba(44,24,20,.88) 100%); }
  .hero-content { margin: 5.5rem auto 3rem; max-width: 28rem; }
  .hero p { margin-inline: auto; }
  .hero-actions { justify-content: center; flex-direction: column; }
  .btn { width: 100%; }
  .help-card .btn { width: auto; }
  .about-visual, .about-visual img { min-height: 300px; }
  .contact .reveal:first-child, .contact-list, .about-copy { text-align: center; }
  .socials { justify-content: center; }
}
@media (min-width: 901px) {
  .nav.scrolled ~ .nav-links { height: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
