@font-face {
  font-family: "Sohne";
  src: url("./assets/sohne-regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Sohne";
  src: url("./assets/sohne-bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Tiempos Fine";
  src: url("./assets/tiempos-regular.otf")
    format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #0e2639;
  --green: #58761f;
  --brown: #63382e;
  --stone: #f0ede7;
  --muted: #9aa3a5;
  background: #ffffff;
  font-family: "Sohne", "Helvetica Neue", Arial, sans-serif;
  color: #111417;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  scrollbar-gutter: stable;
}

body {
  display: flex;
  min-width: 320px;
  justify-content: center;
  background: #ffffff;
  overflow-x: hidden;
}

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

.skip-link {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: #ffffff;
  background: var(--ink);
  transform: translateY(-110%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-canvas {
  position: relative;
  container-type: inline-size;
  width: min(100vw, 157.5svh);
  overflow: hidden;
}

.site-stage {
  height: min(63.5vw, 100svh);
}

.home-main {
  height: 100%;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  height: 10cqw;
  background: transparent;
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  width: 79cqw;
  height: 100%;
  margin: 0 0 0 15.7cqw;
}

.brand-mark {
  display: flex;
  align-items: center;
  width: 8cqw;
  height: 3.3cqw;
  margin-right: -4cqw;
}

.brand-logo {
  position: static;
  display: block;
  width: 8cqw;
  height: 5.9cqw;
  object-fit: contain;
  transform: translateX(-4cqw);
}

.mobile-brand {
  display: none;
}

.desktop-nav,
.header-actions {
  display: flex;
  align-items: center;
}

.desktop-nav {
  gap: 3.9cqw;
}

.desktop-nav a,
.activity-link,
.login-link,
.mobile-menu a,
.mobile-menu summary {
  font-size: 0.78cqw;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.desktop-nav a,
.mobile-menu a {
  color: var(--ink);
}

.header-actions {
  gap: 4.3cqw;
  margin-left: 0;
}

.activity-link,
.mobile-menu .activity-link {
  color: var(--green);
}

.login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4cqw;
  width: 8.5cqw;
  height: 3.2cqw;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid #bdc4c5;
}

.desktop-nav a,
.activity-link,
.login-link,
.button {
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--green);
}

.login-link:hover,
.login-link:focus-visible {
  color: var(--ink);
  border-color: var(--ink);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 100%;
  padding: 15.2cqw 0 0 5.3cqw;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  z-index: 1;
  top: 10cqw;
  bottom: 0;
  left: 0;
  width: 50cqw;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 48%,
    rgb(255 255 255 / 92%) 66%,
    rgb(255 255 255 / 0%) 100%
  );
  content: "";
  pointer-events: none;
}

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

.hero h1 {
  margin: 0;
  color: #030405;
  font-family: "Tiempos Fine", "Times New Roman", Times, serif;
  font-size: 3.6cqw;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.hero p {
  max-width: 34cqw;
  margin: 1.9cqw 0 0;
  font-size: 1.02cqw;
  line-height: 1.28;
  letter-spacing: 0;
}

.desktop-break {
  display: inline;
}

.copy-rule {
  width: 3.8cqw;
  height: 1px;
  margin: 2cqw 0 2.1cqw;
  background: var(--ink);
}

.hero-actions {
  display: flex;
  gap: 1.2cqw;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3cqw;
  padding: 0.4cqw 1.8cqw;
  font-size: 0.8cqw;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-align: center;
  text-transform: uppercase;
}

.button-secondary {
  min-width: 14cqw;
  color: #454842;
  background: var(--stone);
  border-bottom: 1px solid var(--ink);
}

.button-primary {
  min-width: 17cqw;
  gap: 0.55cqw;
  color: #ffffff;
  background: var(--brown);
  border-bottom: 1px solid var(--brown);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--ink);
  background: #e7e2d9;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #4e2b24;
}

.hero-art {
  position: absolute;
  z-index: 1;
  top: 13.5cqw;
  right: -6cqw;
  width: 86cqw;
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 1200px) {
  .site-stage,
  .hero {
    overflow: visible;
  }

  .hero-art {
    top: 10.5cqw;
    right: auto;
    left: 26.5cqw;
    width: 95cqw;
  }
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid #d7a83e;
  outline-offset: 4px;
}

@media (max-width: 760px) {
  body {
    display: block;
  }

  .site-canvas {
    container-type: normal;
    width: 100%;
    height: auto;
    min-height: 100svh;
    overflow: hidden;
  }

  .site-header {
    height: 108px;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    width: min(100% - 48px, 920px);
  }

  .brand-mark {
    gap: 18px;
    width: auto;
    height: 42px;
    margin: 0;
  }

  .brand-logo {
    position: static;
    width: 62px;
    height: 46px;
    transform: none;
  }

  .mobile-brand {
    display: block;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    letter-spacing: 0;
  }

  .desktop-nav,
  .header-actions {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
  }

  .mobile-menu summary {
    padding: 0.9rem 0;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
  }

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

  .mobile-menu summary::after {
    content: "+";
    display: inline-block;
    margin-left: 0.7rem;
    font-size: 1.2rem;
  }

  .mobile-menu[open] summary::after {
    content: "−";
  }

  .mobile-menu nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    width: min(86vw, 320px);
    padding: 1.1rem 1.4rem;
    background: #ffffff;
    border: 1px solid #d8dcdd;
    box-shadow: 0 16px 40px rgb(14 38 57 / 12%);
  }

  .mobile-menu nav a {
    padding: 0.9rem 0;
    font-size: 0.78rem;
    border-bottom: 1px solid #e8e9e7;
  }

  .mobile-menu nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 100svh;
    padding: 178px 48px 160px;
    overflow: hidden;
  }

  .hero-copy {
    width: min(67vw, 650px);
  }

  .hero h1 {
    font-size: clamp(3rem, 6vw, 3.75rem);
  }

  .hero p {
    max-width: 100%;
    font-size: 1.08rem;
  }

  .desktop-break {
    display: none;
  }

  .copy-rule {
    width: 40px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .button-secondary,
  .button-primary {
    min-width: 0;
  }

  .hero-art {
    top: 160px;
    right: -35vw;
    left: auto;
    width: 125vw;
    opacity: 0.86;
  }
}

@media (max-width: 700px) {
  .site-header {
    height: 82px;
  }

  .header-inner {
    width: calc(100% - 40px);
  }

  .mobile-brand {
    font-size: 1.05rem;
  }

  .mobile-menu summary {
    font-size: 0.72rem;
  }

  .brand-logo {
    width: 54px;
    height: 40px;
  }

  .hero {
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    padding: 134px 24px 0;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
    line-height: 1.06;
  }

  .hero p {
    margin-top: 1.75rem;
    font-size: 1rem;
    line-height: 1.45;
  }

  .copy-rule {
    margin: 2rem 0;
  }

  .hero-actions {
    display: grid;
    gap: 14px;
    width: 100%;
  }

  .button {
    width: 100%;
    min-height: 58px;
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
  }

  .hero-art {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 180vw;
    margin-top: 24px;
    margin-left: -66vw;
    opacity: 1;
  }

  .hero::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
