: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;
}

.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%;
  object-fit: contain;
  object-position: center;
}

.brand-lockup {
  position: absolute;
  top: clamp(22px, 4.8vw, 76px);
  right: clamp(18px, 4.8vw, 84px);
  width: min(46vw, 760px);
  text-align: right;
}

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

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

h1 {
  margin-bottom: 0;
  font-family:
    "Aptos Narrow", "Arial Narrow", "Helvetica Neue Condensed", "Roboto Condensed",
    ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(3.2rem, 5.8vw, 6.4rem);
  font-stretch: condensed;
  white-space: nowrap;
}

.hero-card {
  position: absolute;
  left: clamp(20px, 6vw, 88px);
  bottom: clamp(6px, 1.8vw, 24px);
  width: fit-content;
  max-width: calc(100% - 40px);
  padding: clamp(18px, 2vw, 26px) clamp(22px, 2.6vw, 36px);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.9) 28%,
    rgba(255, 255, 255, 0.98) 50%,
    rgba(255, 255, 255, 0.9) 72%,
    rgba(255, 255, 255, 0) 100%
  );
}

.tagline {
  margin-bottom: 0;
  color: #302b25;
  font-size: clamp(1.25rem, 1.85vw, 1.7rem);
  font-weight: 720;
  line-height: 1.16;
  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: 780px) {
  .hero {
    min-height: 100svh;
  }

  .brand-lockup {
    top: 18px;
    right: 16px;
    width: min(76vw, 360px);
  }

  h1 {
    font-size: clamp(2.05rem, 10vw, 3.15rem);
  }

  .hero-card {
    position: absolute;
    right: 16px;
    bottom: 12px;
    left: 16px;
    width: fit-content;
    max-width: calc(100% - 32px);
    margin: 0 auto;
    padding: 18px 20px;
  }

  .tagline {
    font-size: 0.95rem;
  }

}

@media (max-width: 720px) {
  .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) {
  .tagline {
    font-size: 0.84rem;
  }

  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;
  }
}
