:root {
  --paper: #f4eadb;
  --porcelain: #fffaf2;
  --ink: #6a5638;
  --muted: #806f58;
  --hero-ink: #6f552d;
  --hero-muted: #7f6a4c;
  --gold: #a77725;
  --gold-soft: #d8b873;
  --umber: #5a4328;
  --line: rgba(167, 119, 37, 0.28);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

h1,
h2,
p {
  margin-top: 0;
}

.layout {
  width: min(1536px, 100%);
  margin: 0 auto;
  padding: 8px;
}

.tile {
  position: relative;
  overflow: hidden;
  background: #efe2cf;
}

.tile > img,
.main-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile--main {
  min-height: clamp(560px, 54vw, 760px);
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(244, 234, 219, 0.98) 0%, rgba(244, 234, 219, 0.84) 38%, rgba(244, 234, 219, 0.22) 78%),
    var(--paper);
}

.main-art {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.main-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(244, 234, 219, 0) 44%, rgba(244, 234, 219, 0.44) 72%, rgba(244, 234, 219, 0.86) 100%),
    linear-gradient(90deg, rgba(244, 234, 219, 0.78) 0%, rgba(244, 234, 219, 0.18) 58%, rgba(244, 234, 219, 0) 100%);
}

.main-art img {
  object-position: center top;
}

.main-copy {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 48px));
  padding: clamp(330px, 31vw, 450px) 0 clamp(44px, 6vw, 82px);
  margin-left: clamp(28px, 7vw, 108px);
  color: var(--hero-ink);
  font-family: var(--serif);
}

.main-copy h1 {
  margin-bottom: 22px;
  color: var(--hero-ink);
  font-size: clamp(3.1rem, 5.3vw, 5.85rem);
  font-weight: 500;
  line-height: 0.98;
  white-space: nowrap;
}

.main-copy span {
  display: block;
  width: 66px;
  height: 3px;
  margin-bottom: 28px;
  background: var(--gold);
}

.main-copy p {
  width: min(100%, 390px);
  margin-bottom: 0;
  color: var(--hero-muted);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.85vw, 1.72rem);
  font-weight: 500;
  line-height: 1.28;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.value-tile {
  aspect-ratio: 512 / 424;
  min-height: 330px;
}

.value-copy {
  position: absolute;
  left: var(--copy-left);
  top: 45%;
  width: min(42%, 260px);
}

.value-tile--precision {
  --copy-left: 61%;
}

.value-tile--accuracy {
  --copy-left: 45%;
}

.value-tile--care {
  --copy-left: 49%;
}

.value-copy h2 {
  margin-bottom: 34px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 600;
  line-height: 1.05;
}

.value-copy p {
  max-width: 245px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.35vw, 1.12rem);
  line-height: 1.45;
}

.launch {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.72fr);
  gap: clamp(24px, 5vw, 78px);
  align-items: center;
  margin-top: 8px;
  padding: clamp(34px, 5vw, 66px) clamp(24px, 7vw, 110px);
  border-top: 1px solid rgba(167, 119, 37, 0.22);
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.72), rgba(244, 234, 219, 0.92)),
    var(--paper);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.launch-copy h2 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  font-weight: 600;
  line-height: 1;
}

.launch-copy p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.notify {
  width: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.72);
}

.notify label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.field input {
  min-width: 0;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(48, 50, 51, 0.18);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font: 500 1rem var(--sans);
}

.field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(210, 173, 102, 0.24);
}

.btn {
  position: relative;
  min-width: 132px;
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 0;
  background: var(--umber);
  color: var(--porcelain);
  cursor: pointer;
  font: 800 0.9rem var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn:hover {
  background: #47341f;
}

.btn:focus-visible {
  outline: 4px solid rgba(210, 173, 102, 0.32);
  outline-offset: 2px;
}

.btn:disabled {
  cursor: default;
  opacity: 0.72;
}

.btn-spinner {
  display: none;
  position: absolute;
  inset: 0;
  width: 18px;
  height: 18px;
  margin: auto;
  border: 2px solid rgba(255, 250, 242, 0.38);
  border-top-color: var(--porcelain);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn.is-loading .btn-label {
  visibility: hidden;
}

.btn.is-loading .btn-spinner {
  display: block;
}

.form-msg {
  min-height: 1.4em;
  margin: 12px 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.form-msg.is-error {
  color: #9d472e;
}

.form-msg.is-success {
  color: #4c6f4c;
}

.fine-print {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.site-footer {
  background: var(--umber);
  color: var(--porcelain);
}

.site-footer__inner {
  width: min(1536px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(24px, 7vw, 110px);
}

.footer-brand {
  margin: 0;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer div div {
  text-align: right;
}

.site-footer a {
  color: var(--gold-soft);
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 250, 242, 0.64);
  font-size: 0.82rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1100px) {
  .tile--main {
    display: grid;
    grid-template-rows: auto auto;
    min-height: 0;
    background:
      linear-gradient(180deg, rgba(255, 250, 242, 0.76), rgba(244, 234, 219, 1)),
      var(--paper);
  }

  .main-art {
    position: relative;
    z-index: 0;
    min-height: clamp(320px, 50vw, 500px);
  }

  .main-art::after {
    background:
      linear-gradient(180deg, rgba(244, 234, 219, 0) 58%, rgba(244, 234, 219, 0.8) 100%),
      linear-gradient(90deg, rgba(244, 234, 219, 0.2), rgba(244, 234, 219, 0));
  }

  .main-art img {
    object-position: center top;
  }

  .main-copy {
    width: auto;
    margin: 0;
    padding: clamp(24px, 5vw, 46px) clamp(24px, 7vw, 72px) clamp(44px, 8vw, 78px);
  }

  .main-copy h1 {
    font-size: clamp(2.4rem, 7vw, 4.65rem);
    line-height: 1;
  }

  .tiles,
  .launch {
    grid-template-columns: 1fr;
  }

  .value-tile {
    min-height: 390px;
  }

  .value-copy {
    top: 43%;
  }
}

@media (max-width: 640px) {
  .layout {
    padding: 0;
  }

  .tile--main {
    min-height: 0;
  }

  .main-art {
    min-height: clamp(250px, 62vw, 360px);
  }

  .main-art img {
    object-position: 43% top;
  }

  .main-copy h1 {
    margin-bottom: 18px;
    max-width: 10.5ch;
    font-size: clamp(2rem, 8vw, 2.75rem);
    line-height: 1;
    white-space: normal;
    text-wrap: balance;
  }

  .main-copy span {
    margin-bottom: 24px;
  }

  .main-copy p {
    width: min(100%, 330px);
    font-size: clamp(1.12rem, 5.2vw, 1.34rem);
  }

  .tiles {
    gap: 0;
    margin-top: 0;
  }

  .value-tile {
    min-height: 340px;
  }

  .value-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 250, 242, 0.78), rgba(255, 250, 242, 0.16) 68%);
    pointer-events: none;
  }

  .value-copy {
    z-index: 1;
    top: auto;
    right: 28px;
    bottom: 34px;
    left: 28px;
    width: auto;
  }

  .value-copy h2 {
    margin-bottom: 18px;
    font-size: 2.35rem;
  }

  .value-copy p {
    max-width: 260px;
  }

  .launch {
    margin-top: 0;
    padding: 34px 20px 42px;
  }

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

  .btn {
    width: 100%;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 20px;
  }

  .site-footer div div {
    text-align: left;
  }
}

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