:root {
  color-scheme: light;
  --paper: #f0eadf;
  --paper-deep: #e3dccf;
  --ink: #161914;
  --olive: #596141;
  --olive-dark: #41482f;
  --muted: #686b61;
  --line: rgba(65, 72, 47, 0.25);
  --white: rgba(255, 255, 255, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 13%, rgba(255, 255, 255, 0.82), transparent 35%),
    linear-gradient(138deg, var(--paper) 0%, #ebe4d8 54%, var(--paper-deep) 100%);
  font-family: "Helvetica Neue", "Avenir Next", Avenir, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  overflow: hidden;
  padding: 16px clamp(24px, 5vw, 76px) 14px;
}

.page-shell::before,
.page-shell::after {
  position: absolute;
  z-index: -1;
  content: "";
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}

.page-shell::before {
  top: 7vw;
  right: -43vw;
  width: 86vw;
  height: 86vw;
}

.page-shell::after {
  right: -10vw;
  bottom: -30vw;
  width: 45vw;
  height: 45vw;
  opacity: 0.68;
}

.site-header {
  display: flex;
  justify-content: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: block;
  width: clamp(220px, 20vw, 300px);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.78fr);
  gap: clamp(48px, 7vw, 108px);
  align-items: center;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: clamp(18px, 3vh, 30px) 0;
}

.hero-copy {
  min-width: 0;
  max-width: 730px;
}

.status,
.contact-kicker,
.site-footer {
  color: var(--olive-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 17px;
}

.status span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--olive);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(89, 97, 65, 0.12);
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 4.5vw, 4.8rem);
  font-weight: 300;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

h1 span {
  white-space: nowrap;
}

.intro {
  margin: 20px 0 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.45;
}

.launch-note {
  max-width: 650px;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.48;
}

.contact-panel {
  position: relative;
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 30px 90px rgba(49, 51, 36, 0.08);
  backdrop-filter: blur(18px);
}

.contact-panel::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 58px;
  height: 3px;
  background: var(--olive);
  content: "";
}

.contact-kicker {
  margin: 0 0 5px;
}

h2 {
  margin: 0 0 18px;
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  font-size: clamp(1.85rem, 2.4vw, 2.45rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  margin-bottom: 12px;
}

label {
  display: block;
  margin-bottom: 5px;
  color: var(--olive-dark);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

input,
textarea {
  display: block;
  width: 100%;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
}

textarea {
  min-height: 52px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-bottom-color: var(--olive-dark);
  box-shadow: 0 1px 0 var(--olive-dark);
}

button {
  display: inline-flex;
  gap: 44px;
  align-items: center;
  justify-content: space-between;
  min-width: 180px;
  margin-top: 4px;
  padding: 10px 0 8px;
  border: 0;
  border-bottom: 1px solid var(--olive-dark);
  color: var(--olive-dark);
  background: transparent;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: gap 180ms ease, color 180ms ease;
}

button:hover,
button:focus-visible {
  gap: 52px;
  color: var(--ink);
}

button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.form-status {
  min-height: 1.5em;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-status:empty {
  display: none;
}

.form-status.is-success {
  color: var(--olive-dark);
}

.form-status.is-error {
  color: #8a352d;
}

button:focus-visible {
  outline: 2px solid var(--olive-dark);
  outline-offset: 6px;
}

.contact-open,
.contact-close {
  display: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

@media (min-width: 921px) {
  body {
    height: 100svh;
    overflow: hidden;
  }

  .page-shell {
    height: 100svh;
  }
}

@media (min-width: 921px) and (max-height: 760px) {
  .page-shell {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .brand {
    width: 300px;
  }

  .site-header {
    padding-bottom: 5px;
  }

  .hero {
    padding: 6px 0;
  }

  .contact-panel {
    padding: 10px 16px;
  }

  .contact-kicker {
    margin-bottom: 0;
    font-size: 0.62rem;
    line-height: 1.2;
  }

  h2 {
    margin-bottom: 5px;
    font-size: 1.55rem;
  }

  .field {
    margin-bottom: 4px;
  }

  label {
    margin-bottom: 0;
    font-size: 0.62rem;
    line-height: 1rem;
  }

  input,
  textarea {
    padding: 2px 0;
    font-size: 0.86rem;
    line-height: 1.2;
  }

  textarea {
    height: 27px;
    min-height: 27px;
  }

  button {
    margin-top: 0;
    padding: 5px 0 4px;
  }

  .status {
    margin-bottom: 12px;
  }

  .intro {
    margin-top: 15px;
  }

  .site-footer {
    padding-top: 6px;
  }
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .page-shell {
    width: 100%;
    max-width: 100vw;
    padding: 24px 22px 22px;
  }

  .brand {
    width: 210px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    align-items: start;
    width: calc(100vw - 44px);
    max-width: calc(100vw - 44px);
    padding: 48px 0;
  }

  .hero-copy {
    width: 100%;
    max-width: 700px;
  }

  .page-shell::before {
    top: 7rem;
    right: -130vw;
    width: 155vw;
    height: 155vw;
  }
}

@media (max-width: 560px) {
  .page-shell {
    min-height: 100dvh;
  }

  .site-header {
    padding-bottom: 12px;
  }

  .brand {
    width: 150px;
  }

  .hero {
    gap: 28px;
    padding: 28px 0 32px;
  }

  .status {
    margin-bottom: 16px;
    font-size: 0.7rem;
  }

  h1 {
    font-size: clamp(2.65rem, 12vw, 3.35rem);
  }

  .intro {
    margin-top: 18px;
  }

  .contact-panel {
    padding: 23px 20px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .site-footer {
    display: grid;
    gap: 5px;
  }
}

@media (max-width: 920px) {
  body {
    height: 100dvh;
    overflow: hidden;
  }

  .page-shell {
    height: 100dvh;
    min-height: 0;
    grid-template-rows: auto auto auto;
    align-content: start;
    padding: 9px 18px 8px;
  }

  .site-header {
    padding-bottom: 5px;
  }

  .brand {
    width: 190px;
  }

  .hero {
    align-content: start;
    gap: 0;
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    min-height: 0;
    padding: 10px 0 0;
  }

  .status {
    margin-bottom: 10px;
    font-size: 0.64rem;
  }

  h1 {
    font-size: clamp(2.25rem, 10vw, 3.2rem);
    line-height: 0.92;
  }

  .intro {
    margin-top: 12px;
    font-size: 0.94rem;
    line-height: 1.38;
  }

  .launch-note {
    margin-top: 8px;
    font-size: 0.87rem;
    line-height: 1.4;
  }

  .contact-open {
    display: inline-flex;
    width: auto;
    min-width: 174px;
    margin-top: 13px;
    padding: 9px 0 7px;
  }

  .contact-panel {
    display: none;
    position: fixed;
    inset: 12px;
    z-index: 20;
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    padding: 40px 22px 22px;
    background: #f6f2ea;
    border-color: rgba(65, 72, 47, 0.22);
    box-shadow: 0 24px 80px rgba(49, 51, 36, 0.22);
    backdrop-filter: none;
  }

  .contact-panel.is-open {
    display: block;
  }

  .contact-close {
    display: grid;
    position: absolute;
    top: 10px;
    right: 12px;
    width: 34px;
    min-width: 0;
    height: 34px;
    margin: 0;
    padding: 0;
    place-items: center;
    border: 0;
    font-size: 1.65rem;
    font-weight: 300;
    letter-spacing: 0;
    line-height: 1;
  }

  .contact-panel h2 {
    margin-bottom: 18px;
  }

  .site-footer {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    padding-top: 6px;
    font-size: 0.58rem;
    letter-spacing: 0.11em;
  }

  .page-shell::before {
    top: 25%;
    right: -130vw;
    width: 155vw;
    height: 155vw;
  }
}

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