:root {
  --page: #f6f2ec;
  --paper: #fffdfa;
  --ink: #15130f;
  --muted: #6f675c;
  --line: #d8d0c4;
  --teal-soft: #dceae6;
  --focus: #155e75;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

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

.top-nav {
  position: fixed;
  top: clamp(16px, 2vw, 28px);
  right: clamp(18px, 3vw, 40px);
  z-index: 10;
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
}

.top-nav a {
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 760;
  line-height: 1;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.top-nav a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus), transparent 58%);
  outline-offset: 5px;
}

.hero-link {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.hero-link:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus), transparent 58%);
  outline-offset: -8px;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #fff;
}

.hero-media {
  display: block;
  position: relative;
  min-height: 100svh;
  width: 100%;
  background: #fff;
}

.hero-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.hero-art img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

h1,
h2,
p,
fieldset,
legend {
  margin-top: 0;
  letter-spacing: 0;
}

h1,
h2 {
  color: var(--ink);
  font-weight: 780;
  line-height: 0.94;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.hero-link[aria-disabled="true"] {
  pointer-events: none;
}

.inquiry-section {
  min-height: 100svh;
  padding: clamp(48px, 7vw, 92px) clamp(20px, 6vw, 88px);
  background:
    linear-gradient(180deg, #fff 0%, var(--page) 20%),
    var(--page);
}

.inquiry-shell {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.inquiry-copy {
  padding-top: 6px;
}

h2 {
  margin-bottom: 0;
  font-family:
    "Aptos Narrow", "Arial Narrow", "Helvetica Neue Condensed", "Roboto Condensed",
    ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  font-stretch: condensed;
}

.inquiry-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3.2vw, 38px);
  background: rgba(255, 253, 250, 0.92);
  border: 1px solid rgba(216, 208, 196, 0.82);
  border-radius: 8px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field span {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 760;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.submit-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus), transparent 58%);
  outline-offset: 3px;
}

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

.field-wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font: inherit;
}

input {
  min-height: 46px;
  padding: 0 14px;
}

select {
  min-height: 46px;
  padding: 0 42px 0 14px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position:
    calc(100% - 21px) 20px,
    calc(100% - 15px) 20px;
  background-repeat: no-repeat;
  background-size:
    6px 6px,
    6px 6px;
}

textarea {
  min-height: 136px;
  padding: 12px 14px;
  resize: vertical;
}

.form-footer {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.form-status {
  min-height: 1.45em;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status[data-state="success"] {
  color: #13766b;
}

.form-status[data-state="error"] {
  color: #9f2f21;
}

.submit-button {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.64;
}

@media (max-width: 720px) {
  .top-nav {
    top: 14px;
    right: 16px;
    gap: 20px;
  }

  .inquiry-section {
    padding: 48px 18px 56px;
  }

  .inquiry-shell {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .inquiry-form {
    padding: 20px;
  }

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

  .form-footer {
    display: grid;
  }

  .submit-button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: 2.9rem;
  }
}

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