@font-face {
  font-family: "Libre Caslon Display";
  src: url("fonts/libre-caslon-display.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --paper: #f7f5eb;
  --ink: #142f3a;
  --bronze: #805832;
  --serif: "Libre Caslon Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --margin: clamp(40px, 6.667vw, 140px);
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
h1,
h2,
p {
  margin: 0;
}
h1,
h2 {
  font: 400 80px/1.05 var(--serif);
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}
button,
input {
  font: inherit;
}
a,
button {
  touch-action: manipulation;
}
a:hover {
  color: var(--ink);
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
.skip {
  position: absolute;
  top: 8px;
  left: 24px;
  z-index: 100;
  background: var(--paper);
  padding: 12px;
  transform: translateY(-150%);
}
.skip:focus {
  transform: none;
}
.header {
  position: absolute;
  top: 24px;
  left: 5%;
  right: 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  z-index: 10;
}
.wordmark {
  font-size: 24px;
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.header nav {
  display: flex;
  gap: 24px;
}
.header nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.header nav a:hover {
  text-decoration: underline;
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  color: inherit;
  min-height: 44px;
  min-width: 80px;
  font-size: 18px;
}
.editorial {
  padding-inline: var(--margin);
}
.opening {
  position: relative;
  isolation: isolate;
}
.scene {
  position: absolute;
  inset: 0;
  z-index: -3;
  display: block;
}
.scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.opening:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
    90deg,
    rgba(247, 245, 235, 0.9),
    rgba(247, 245, 235, 0.2)
  );
}
.opening:after {
  content: "";
  position: absolute;
  inset: 1100px 0 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(247, 245, 235, 0.8) 65%,
    var(--paper)
  );
}
.hero {
  padding-top: 220px;
  min-height: 1100px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.eyebrow {
  text-transform: uppercase;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.5;
}
.hero > .eyebrow {
  font-size: 14px;
}
h1 {
  font-size: 86px;
}
h1 span {
  display: block;
}
.intro {
  font-size: 22px;
}
.text-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  max-width: 100%;
  font-size: 16px;
  gap: 5px;
}
.project-index {
  margin-top: auto;
  margin-bottom: 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.project-index a {
  display: flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
}
.project {
  min-height: 820px;
  padding-top: 50px;
  padding-bottom: 100px;
  display: grid;
  grid-template-columns: 33.17% 1fr;
  align-items: start;
}
.number {
  font: 400 180px/1.05 var(--serif);
  color: var(--bronze);
}
.story {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 30px;
  min-width: 0;
}
.story > p:not(.eyebrow, .caption) {
  font-size: 22px;
}
.caption {
  font-size: 13px;
}
.middle {
  background:
    linear-gradient(
      180deg,
      var(--paper),
      rgba(247, 245, 235, 0.76) 23%,
      rgba(247, 245, 235, 0.82) 60%,
      var(--paper)
    ),
    url("assets/coastal-ai-1672.webp") center/cover;
}
.closing {
  min-height: 900px;
  padding-top: 100px;
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  background:
    linear-gradient(
      180deg,
      var(--paper),
      rgba(247, 245, 235, 0.88) 35%,
      rgba(247, 245, 235, 0.4)
    ),
    url("assets/coastal-ai-1672.webp") center/cover;
}
.closing h2 {
  font-size: 84px;
}
.closing > p:not(.eyebrow) {
  font-size: 26px;
}
.closing #contact {
  display: grid;
  gap: 24px;
}
.closing footer {
  font-size: 12px;
}
.auth-page {
  min-height: 100vh;
  background:
    linear-gradient(
      90deg,
      rgba(247, 245, 235, 0.98),
      rgba(247, 245, 235, 0.78)
    ),
    url("assets/coastal-ai-1672.webp") center/cover;
}
.auth-main {
  padding: 190px var(--margin) 100px;
}
.auth-content {
  max-width: 520px;
  display: grid;
  gap: 24px;
}
.auth-content h1 {
  font-size: 64px;
}
.auth-content p {
  font-size: 18px;
}
.auth-content .eyebrow {
  font-size: 12px;
}
.auth-content .caption {
  font-size: 14px;
}
.auth-content form {
  display: grid;
  gap: 24px;
}
.field {
  display: grid;
  gap: 8px;
  font-size: 14px;
}
.field input {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 12px;
  border: 1px solid #52636a;
  border-radius: 0;
  background: white;
  color: var(--ink);
}
.primary {
  min-height: 48px;
  border: 0;
  border-radius: 4px;
  background: var(--ink);
  color: white;
  padding: 12px 20px;
}
.primary:hover {
  background: #805832;
}
.error {
  color: #9c2525;
}
.status:empty {
  display: none;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1000px) {
  :root {
    --margin: 40px;
  }
  .header {
    left: 40px;
    right: 40px;
  }
  .js .menu-toggle {
    display: block;
  }
  .js .header nav {
    display: none;
  }
  .js .header nav.is-open {
    display: flex;
    position: absolute;
    top: 60px;
    left: -40px;
    right: -40px;
    min-height: calc(100dvh - 84px);
    padding: 56px 40px;
    flex-direction: column;
    gap: 24px;
    background: rgba(247, 245, 235, 0.98);
  }
  .header nav a {
    font-size: 24px;
  }
  .hero {
    min-height: 1050px;
  }
  h1 {
    font-size: 72px;
  }
  .project {
    min-height: 710px;
    grid-template-columns: 180px 1fr;
  }
  .number {
    font-size: 110px;
  }
  .story h2 {
    font-size: 64px;
  }
  .opening:after {
    top: 1050px;
  }
  .closing {
    min-height: 850px;
  }
  .closing h2 {
    font-size: 68px;
  }
  .auth-content {
    max-width: 672px;
  }
  .header nav {
    flex-wrap: wrap;
  }
  .auth-main {
    padding-top: 190px;
  }
}
@media (max-width: 600px) {
  :root {
    --margin: 24px;
  }
  .header {
    left: 24px;
    right: 24px;
  }
  .js .header nav.is-open {
    left: -24px;
    right: -24px;
    padding: 40px 24px;
  }
  .hero {
    padding-top: 170px;
    min-height: 900px;
  }
  .hero > .eyebrow {
    font-size: 12px;
  }
  h1 {
    font-size: 42px;
  }
  .intro {
    font-size: 18px;
  }
  .project {
    min-height: 650px;
    display: block;
    padding-top: 50px;
    padding-bottom: 80px;
  }
  .number {
    font-size: 100px;
    display: block;
  }
  .story {
    padding-top: 25px;
  }
  .story h2 {
    font-size: 51px;
  }
  .story > p:not(.eyebrow, .caption) {
    font-size: 18px;
  }
  .opening:after {
    top: 900px;
  }
  .closing {
    min-height: 880px;
    padding-top: 100px;
  }
  .closing h2 {
    font-size: 48px;
  }
  .closing > p:not(.eyebrow) {
    font-size: 20px;
  }
  .auth-main {
    padding-top: 150px;
  }
  .auth-content h1 {
    font-size: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}
@media (forced-colors: active) {
  .primary {
    border: 1px solid ButtonText;
  }
  .scene {
    display: none;
  }
}
