:root {
  --paper: #f7f1e8;
  --ink: #171513;
  --muted: #4d463e;
  --card: #fff8f0;
  --line: #dbcdbd;
  --accent: #e87032;
  --accent-dark: #b84f1c;
  --accent-soft: #ffd9bf;
  --teal: #1f8f8b;
  --shadow: 0 10px 28px rgba(23, 21, 19, 0.12);
  --radius: 16px;
  --maxw: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Public Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 420px at 80% -10%, #ffe1cc, transparent 60%),
    radial-gradient(1000px 520px at -10% 16%, #d6f2f0, transparent 66%),
    var(--paper);
  line-height: 1.5;
}

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

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0.015em;
}

h1,
h2 {
  font-family: "Bebas Neue", sans-serif;
  line-height: 1.02;
}

.container {
  width: min(var(--maxw), calc(100% - 1.8rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 205, 189, 0.8);
  backdrop-filter: blur(8px);
  background: rgba(247, 241, 232, 0.94);
}

.site-header__inner {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand img {
  width: clamp(140px, 18vw, 184px);
  height: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 700;
}

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

.nav .cta {
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  padding: 0.58rem 0.95rem;
  box-shadow: var(--shadow);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.desktop-nav a {
  font-size: 0.95rem;
  font-weight: 700;
}

.desktop-nav .cta {
  padding: 0.62rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}

.mobile-nav {
  display: none;
}

.mobile-nav summary {
  list-style: none;
  font-weight: 800;
  cursor: pointer;
}

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

.mobile-nav[open] ul {
  margin: 0.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.46rem;
}

.mobile-nav li {
  list-style: none;
}

.mobile-nav a {
  display: inline-block;
  font-weight: 700;
}

.btn {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 800;
  padding: 0.6rem 0.98rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 160ms ease;
}

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

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn--ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.btn--flat {
  background: #fff;
  border-color: var(--line);
  color: var(--muted);
}

.page-hero {
  position: relative;
  margin-top: 1rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: clamp(280px, 48vw, 440px);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(23, 21, 19, 0.64) 5%, rgba(23, 21, 19, 0.08) 70%);
  z-index: 1;
}

.page-hero__media {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}

.page-hero__content {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--maxw), calc(100% - 1.8rem));
  bottom: 0;
  z-index: 2;
  color: #fff;
  padding: 1.2rem 0 1.4rem;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.page-hero__title {
  font-size: clamp(1.45rem, 4vw, 2.25rem);
}

.page-hero__meta {
  margin-top: 0.3rem;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  padding: 2.4rem 0;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.5), rgba(255, 252, 247, 0.9));
}

.site-footer .container {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.45rem;
}

.footer-brand {
  width: clamp(120px, 24vw, 190px);
  height: auto;
  object-fit: contain;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
  }

  .nav a {
    font-size: 0.88rem;
  }

  .nav .cta {
    padding: 0.48rem 0.7rem;
  }

  .mobile-nav {
    display: block;
  }
}
