:root {
  color-scheme: light;
  --forest: oklch(22% 0.09 145);
  --meadow: oklch(39% 0.095 145);
  --sage:   oklch(55% 0.08 145);
  --leaf:   oklch(68% 0.07 145);
  --gold:   oklch(86% 0.18 94);
  --paper:  oklch(97% 0.026 89);
  --line:   color-mix(in oklch, var(--meadow), transparent 60%);
  --display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --body:    "Nunito Sans", "Avenir Next", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  min-height: 100svh;
  margin: 0;
  color: var(--forest);
  background: linear-gradient(
    160deg,
    color-mix(in oklch, var(--meadow), white 72%) 0%,
    color-mix(in oklch, var(--gold), white 80%) 55%,
    color-mix(in oklch, var(--paper), var(--gold) 6%) 100%
  );
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
}

/* Decorative blobs */
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

body::before {
  width: 480px;
  height: 480px;
  top: -100px;
  right: -80px;
  background: radial-gradient(circle, color-mix(in oklch, var(--gold), transparent 70%), transparent 70%);
}

body::after {
  width: 340px;
  height: 340px;
  bottom: 0;
  left: -80px;
  background: radial-gradient(circle, color-mix(in oklch, var(--meadow), transparent 82%), transparent 70%);
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--meadow);
  outline-offset: 4px;
}

/* ─── Header & Footer shared ─── */

.site-header,
.brand-mark,
.site-footer {
  display: flex;
  align-items: center;
}

.site-header {
  justify-content: space-between;
  gap: 18px;
  padding: 20px clamp(18px, 5vw, 48px);
  position: relative;
  z-index: 1;
}

.brand-mark {
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  color: var(--forest);
}

.brand-icon {
  width: 34px;
  height: 34px;
  background: var(--gold);
  border-radius: 8px;
  border: 2.5px solid var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  box-shadow: 0 3px 0 color-mix(in oklch, var(--forest), transparent 70%);
  flex-shrink: 0;
}

.contact-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  color: var(--gold);
  background: var(--forest);
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 5vw, 48px);
  color: var(--leaf);
  font-weight: 700;
  font-size: 14px;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.site-footer a {
  color: var(--leaf);
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* ─── Full-page hero (index.html) ─── */

.hero-page {
  display: grid;
  align-items: center;
  min-height: calc(100svh - 88px);
  padding: clamp(28px, 5vw, 64px) clamp(18px, 5vw, 48px) clamp(20px, 4vw, 40px);
  position: relative;
  z-index: 1;
}

.hero-inner {
  width: min(940px, 100%);
}

/* Studio tag pill */
.studio-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 99px;
  padding: 5px 14px 5px 10px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  color: var(--meadow);
  margin-bottom: 24px;
  box-shadow: 0 2px 8px color-mix(in oklch, var(--meadow), transparent 88%);
}

.studio-dot {
  width: 22px;
  height: 22px;
  background: var(--gold);
  border-radius: 50%;
  border: 1.5px solid var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* ─── Typography ─── */

h1 {
  max-width: 12ch;
  margin: 0 0 24px;
  font-family: var(--display);
  font-size: clamp(4.5rem, 10vw, 8.5rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--forest);
}

.lede {
  max-width: 540px;
  margin: 0 0 32px;
  color: var(--sage);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.5;
  text-wrap: balance;
}

/* ─── Badges ─── */

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 99px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
}

.badge-filled {
  background: var(--forest);
  color: var(--gold);
}

.badge-outlined {
  background: var(--paper);
  border: 2px solid var(--line);
  color: var(--meadow);
  box-shadow: 0 2px 6px color-mix(in oklch, var(--meadow), transparent 90%);
}

/* ─── Eyebrow label (privacy page) ─── */

.eyebrow {
  margin: 0;
  color: var(--meadow);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ─── Card hero (404 page) ─── */

.page-shell {
  display: grid;
  min-height: calc(100svh - 170px);
  place-items: center;
  padding: clamp(28px, 5vw, 70px) clamp(18px, 5vw, 72px);
  position: relative;
  z-index: 1;
}

.document-shell {
  padding: clamp(28px, 5vw, 70px) clamp(18px, 5vw, 72px);
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  display: grid;
  width: min(1180px, 100%);
  min-height: min(620px, calc(100svh - 230px));
  gap: clamp(34px, 5vw, 58px);
  overflow: hidden;
  padding: clamp(30px, 7vw, 80px);
  background: color-mix(in oklch, var(--paper), transparent 3%);
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 30px 90px color-mix(in oklch, var(--meadow), transparent 88%);
}

.hero::before {
  position: absolute;
  inset: auto -12% -42% auto;
  width: 44%;
  aspect-ratio: 1;
  background: color-mix(in oklch, var(--gold), transparent 55%);
  border-radius: 50%;
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
}

/* ─── Policy page ─── */

.policy-document {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 64px);
  background: color-mix(in oklch, var(--paper), transparent 5%);
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px color-mix(in oklch, var(--meadow), transparent 92%);
}

.policy-document h1 {
  max-width: none;
  margin-top: 12px;
  font-size: clamp(3.1rem, 8vw, 6.5rem);
  line-height: 0.95;
}

.policy-document h2 {
  margin: 36px 0 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.08;
}

.policy-document p,
.policy-document li {
  color: var(--sage);
}

.policy-document p {
  margin: 14px 0 0;
}

.policy-document ul {
  margin: 14px 0 0;
  padding-left: 1.2em;
}

.policy-document a {
  color: var(--forest);
  font-weight: 800;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}

.policy-updated {
  color: var(--meadow);
  font-weight: 800;
}

/* ─── Responsive ─── */

@media (max-width: 800px) {
  .page-shell {
    min-height: auto;
    padding-top: 18px;
  }

  .hero {
    min-height: auto;
    padding: 34px 24px;
  }

  .hero::before {
    width: 70%;
    inset: auto -34% -26% auto;
  }

  h1 {
    font-size: clamp(4rem, 22vw, 6.5rem);
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-link {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-inline: 18px;
  }

  h1 {
    font-size: clamp(3.5rem, 19vw, 5rem);
  }

  .lede {
    font-size: 1.1rem;
  }

  .policy-document {
    padding-inline: 18px;
  }
}
