:root {
  color-scheme: light;
  --bg: #efe5d6;
  --paper: #f6efe4;
  --paper2: #f1e7d9;
  --ink: rgba(27, 23, 20, 0.92);
  --muted: rgba(27, 23, 20, 0.66);
  --muted2: rgba(27, 23, 20, 0.54);
  --line: rgba(27, 23, 20, 0.14);
  --shadow: 0 24px 60px rgba(27, 23, 20, 0.14);
  --shadow2: 0 18px 50px rgba(27, 23, 20, 0.16);
  --radius: 18px;
  --radius2: 22px;
  --max: 1120px;

  --accent: #b64a2a;
  --accent2: #1b5e5b;
  --focus: 0 0 0 3px rgba(182, 74, 42, 0.18), 0 0 0 1px rgba(27, 23, 20, 0.22);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    ui-serif,
    Georgia,
    Cambria,
    "Times New Roman",
    Times,
    serif,
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
  background: radial-gradient(1200px 820px at 15% 0%, rgba(182, 74, 42, 0.08), transparent 60%),
    radial-gradient(980px 760px at 88% 18%, rgba(27, 94, 91, 0.08), transparent 58%),
    linear-gradient(180deg, var(--paper) 0%, var(--bg) 100%);
  color: var(--ink);
  line-height: 1.45;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 12px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 10px;
  transform: translateY(-200%);
  background: var(--text);
  color: var(--bg);
  padding: 10px 12px;
  border-radius: 12px;
  z-index: 1000;
}
.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: color-mix(in oklab, var(--paper), transparent 14%);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.topbar__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}
.brand__mark {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, rgba(182, 74, 42, 0.9), transparent 58%),
    radial-gradient(circle at 70% 70%, rgba(27, 94, 91, 0.9), transparent 60%);
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--paper2), transparent 10%);
}
.brand__text {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.nav {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--paper2), transparent 25%);
  border: 1px solid var(--line);
}
.nav__link {
  font-size: 14px;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 150ms ease, color 150ms ease;
}
.nav__link:hover {
  background: color-mix(in oklab, var(--paper2), white 10%);
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--paper2), transparent 16%);
  color: var(--ink);
  padding: 11px 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.button:hover {
  background: color-mix(in oklab, var(--paper2), white 10%);
  transform: translateY(-1px);
  border-color: color-mix(in oklab, var(--line), white 14%);
}
.button:active {
  transform: translateY(0);
}
.button--primary {
  border-color: color-mix(in oklab, var(--accent), black 10%);
  background: var(--accent);
  color: #fff;
}
.button--ghost {
  background: transparent;
}
.button--small {
  padding: 9px 12px;
  font-size: 13px;
}

.hero {
  padding: 84px 0 56px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 22px;
  align-items: center;
}
.hero__card {
  padding: 22px;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-size: 12px;
}
.hero__title {
  margin: 10px 0 0;
  font-size: clamp(50px, 6.6vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.8px;
  font-weight: 700;
}
.hero__subtitle {
  margin: 14px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 16px;
}
.hero__subtitle--tight {
  margin-top: 10px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.about__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  justify-content: center;
}

.hero__photo {
  margin: 0;
  background: #fff;
  border-radius: 10px;
  padding: 14px 14px 12px;
  box-shadow: var(--shadow2);
  border: 1px solid color-mix(in oklab, var(--line), transparent 45%);
  transform: rotate(0.3deg);
}
.hero__photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.hero__photo figcaption {
  margin-top: 10px;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted2);
}

.section {
  padding: 64px 0;
}
.section--featured {
  padding-top: 28px;
}
.section:nth-of-type(odd) {
  background: color-mix(in oklab, var(--paper), white 2%);
  border-top: 1px solid color-mix(in oklab, var(--line), transparent 30%);
  border-bottom: 1px solid color-mix(in oklab, var(--line), transparent 30%);
}
.section:nth-of-type(even) {
  background: color-mix(in oklab, var(--paper2), white 2%);
  border-top: 1px solid color-mix(in oklab, var(--line), transparent 22%);
  border-bottom: 1px solid color-mix(in oklab, var(--line), transparent 22%);
}
.section--paper {
  background: inherit;
  border-top: inherit;
  border-bottom: inherit;
}
.section__kicker {
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 10px;
  color: var(--muted2);
}
.section__head {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.section__title {
  margin: 0;
  font-size: 44px;
  letter-spacing: -0.4px;
}
.section__lede {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}
.grid--contact {
  align-items: start;
}

.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  justify-items: center;
  text-align: center;
}
.about__right {
  max-width: 72ch;
}
.about__p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 16px;
}
.about__p--muted {
  color: var(--muted2);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.card {
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--paper), white 6%);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
}

.video {
  overflow: hidden;
}
.video__frame {
  background: rgba(0, 0, 0, 0.25);
  aspect-ratio: 16 / 9;
}
.video--link {
  display: block;
  overflow: hidden;
}
.video__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.02) contrast(1.02);
  transform: scale(1.01);
}
.video__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.25));
}
.video__play::before {
  content: "";
  width: 76px;
  height: 52px;
  border-radius: 14px;
  background: rgba(182, 74, 42, 0.92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}
.video__play::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  transform: translateX(4px);
}
.video__frame {
  position: relative;
}
.video--link:hover .video__thumb {
  transform: scale(1.03);
}
.video--link:hover {
  transform: translateY(-1px);
}

.bit {
  padding: 16px;
}
.bit__inner {
  display: grid;
  gap: 10px;
}
.bit__title {
  font-weight: 900;
  letter-spacing: -0.3px;
}
.bit__hint {
  color: var(--muted);
  font-size: 14px;
}
.bit__slot {
  border: 1px dashed color-mix(in oklab, var(--line), white 10%);
  border-radius: 18px;
  padding: 14px;
  min-height: 120px;
  background: color-mix(in oklab, var(--paper2), transparent 6%);
}

.form {
  grid-column: span 7;
  padding: 16px;
  display: grid;
  gap: 12px;
}
.field {
  display: grid;
  gap: 8px;
}
.field__label {
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
}
.field__input {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--paper2), transparent 6%);
  color: var(--ink);
  padding: 12px 12px;
  font-size: 14px;
}
.field__input--area {
  min-height: 110px;
  resize: vertical;
}
.form__fineprint {
  margin: 0;
  font-size: 12px;
  color: var(--muted2);
}

.aside {
  grid-column: span 5;
  padding: 16px;
  display: grid;
  gap: 12px;
}
.aside__title {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.2px;
}
.aside__text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.aside__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--panel2), transparent 30%);
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}
.pill:hover {
  color: var(--text);
  background: var(--panel2);
}
.footer {
  background: color-mix(in oklab, var(--paper), white 4%);
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: var(--muted);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__left {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.footer__sep {
  opacity: 0.65;
}
.footer__muted {
  color: var(--muted2);
}
.footer__right {
  display: inline-flex;
  gap: 14px;
  align-items: center;
}
.footer__link:hover {
  color: var(--text);
}


.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background: color-mix(in oklab, var(--paper), transparent 6%);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.toast[data-show="true"] {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }
  .brand {
    min-width: auto;
  }
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .video {
    grid-template-columns: 1fr;
  }
  .form {
    grid-column: span 12;
  }
  .aside {
    grid-column: span 12;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
