:root {
  color-scheme: light;
  --page: #e9e5de;
  --surface: #f8f5ef;
  --surface-strong: #fffefa;
  --ink: #201f1b;
  --muted: #514d47;
  --soft: #686159;
  --line: #c5bcaf;
  --line-strong: #a99f91;
  --field: #fffefa;
  --field-hover: #ffffff;
  --bronze: #9a6e37;
  --bronze-dark: #765229;
  --danger: #9b3e36;
  --shadow: 0 24px 68px rgba(38, 34, 28, 0.115);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 62% 3%, rgba(255, 255, 255, 0.92), transparent 34rem),
    linear-gradient(180deg, #f4f1eb 0, var(--page) 24rem);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 9px 13px;
  transform: translateY(-180%);
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
}

.brand-header {
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid rgba(42, 39, 34, 0.11);
}

.brand-logo {
  display: block;
  width: 156px;
  height: auto;
}

.header-label,
.eyebrow {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.header-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-mark {
  width: 30px;
  height: 1px;
  background: var(--bronze);
}

main {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 46px 0 58px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 215px;
  align-items: end;
  gap: 50px;
  margin-bottom: 30px;
}

.eyebrow {
  margin: 0 0 10px;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(35px, 5vw, 48px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.intro-copy {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.intro-horizon {
  position: relative;
  height: 52px;
  overflow: hidden;
}

.intro-horizon::before,
.intro-horizon::after {
  position: absolute;
  left: 0;
  width: 100%;
  border-radius: 50%;
  content: "";
}

.intro-horizon::before {
  top: 35px;
  height: 72px;
  border-top: 1px solid rgba(78, 72, 63, 0.22);
  transform: rotate(-1.7deg);
}

.intro-horizon::after {
  top: 42px;
  height: 65px;
  border-top: 1px solid rgba(154, 110, 55, 0.27);
  transform: rotate(1.2deg);
}

.horizon-dot {
  position: absolute;
  top: 34px;
  left: 58%;
  z-index: 2;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--bronze);
  box-shadow: 0 0 0 4px rgba(154, 110, 55, 0.08);
}

.inquiry-form,
.success-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(160, 150, 135, 0.82);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(154, 110, 55, 0.035), transparent 21rem),
    rgba(248, 245, 239, 0.995);
  box-shadow: var(--shadow);
}

.form-accent {
  position: absolute;
  inset: 0 34px auto;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, var(--bronze-dark), var(--bronze) 24%, rgba(154, 110, 55, 0.08) 68%, transparent);
}

.form-section {
  position: relative;
  display: grid;
  grid-template-columns: 146px minmax(0, 1fr);
  gap: 26px;
  padding: 27px 34px 29px;
}

.form-section::after {
  position: absolute;
  right: 34px;
  bottom: 0;
  left: 34px;
  height: 1px;
  background: linear-gradient(90deg, rgba(154, 110, 55, 0.34), var(--line) 18%, var(--line) 86%, transparent);
  content: "";
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding-top: 0;
}

.section-number {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  margin: -2px 0 0;
  border: 1px solid rgba(154, 110, 55, 0.42);
  border-radius: 50%;
  background: rgba(154, 110, 55, 0.035);
  color: var(--bronze-dark);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
}

.form-section > :not(.section-heading) {
  grid-column: 2;
}

.field-grid {
  display: grid;
  gap: 20px;
}

.field-grid--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.field-label {
  display: block;
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.015em;
  line-height: 1.35;
}

.field-help {
  display: block;
  min-height: 15px;
  margin: -3px 0 7px;
  color: var(--soft);
  font-size: 11px;
  line-height: 1.35;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
  background: var(--field);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(42, 37, 30, 0.025), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  height: 42px;
  padding: 8px 12px;
}

textarea {
  min-height: 98px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.5;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
textarea:hover {
  border-color: var(--line-strong);
  background: var(--field-hover);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  border-color: var(--bronze-dark);
  background: var(--field-hover);
  box-shadow: 0 0 0 3px rgba(154, 110, 55, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.choice-group {
  display: grid;
  gap: 7px;
}

.choice-group--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-group--two,
.choice-group--contact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice {
  position: relative;
  display: block;
  cursor: pointer;
}

.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.choice span {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 9px;
  border: 1px solid #c6beb1;
  border-radius: 9px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.choice:hover span {
  border-color: var(--line-strong);
  color: var(--ink);
}

.choice input:checked + span {
  border-color: var(--bronze-dark);
  background: rgba(154, 110, 55, 0.11);
  color: var(--ink);
  box-shadow: 0 0 0 2px rgba(154, 110, 55, 0.055);
}

.choice input:focus-visible + span {
  outline: 2px solid rgba(154, 110, 55, 0.35);
  outline-offset: 2px;
}

.conditional {
  margin-top: -3px;
  padding-top: 18px;
  border-top: 1px solid rgba(215, 210, 200, 0.56);
}

.conditional-grid {
  padding-top: 2px;
}

.field-error {
  min-height: 14px;
  margin-top: 4px;
  color: var(--danger);
  font-size: 9px;
  line-height: 1.3;
}

.field.is-invalid input:not([type="radio"]):not([type="checkbox"]),
.field.is-invalid textarea {
  border-color: var(--danger);
}

.field.is-invalid .choice span {
  border-color: rgba(155, 62, 54, 0.52);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 34px;
}

.privacy-copy {
  display: flex;
  max-width: 410px;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.privacy-copy p {
  margin: 0;
}

.privacy-mark {
  width: 16px;
  height: 1px;
  margin-top: 7px;
  flex: 0 0 auto;
  background: var(--bronze);
}

.submit-button {
  display: inline-flex;
  min-width: 166px;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 17px 0 19px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--ink);
  color: #f8f6f1;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.submit-button:hover {
  border-color: var(--bronze-dark);
  background: var(--bronze-dark);
}

.submit-button:active {
  transform: translateY(1px);
}

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

.button-arrow {
  font-size: 15px;
  font-weight: 400;
}

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

.form-status {
  min-height: 0;
  padding: 0 34px;
  color: var(--danger);
  font-size: 11px;
  line-height: 1.4;
}

.form-status:not(:empty) {
  min-height: 42px;
  padding-bottom: 22px;
}

.success-panel {
  min-height: 390px;
  padding: 68px;
}

.success-mark {
  display: block;
  width: 44px;
  height: 1px;
  margin-bottom: 32px;
  background: var(--bronze);
}

.success-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 43px;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.success-panel > p:last-child {
  max-width: 480px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

footer {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(42, 39, 34, 0.11);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 24px, 1040px);
  }

  .brand-header {
    min-height: 82px;
  }

  .brand-logo {
    width: 133px;
  }

  .header-label {
    gap: 7px;
    font-size: 8px;
    letter-spacing: 0.14em;
  }

  .header-mark {
    width: 18px;
  }

  main {
    padding: 32px 0 44px;
  }

  .intro {
    display: block;
    margin-bottom: 22px;
  }

  .intro-horizon {
    display: none;
  }

  h1 {
    font-size: 37px;
  }

  .form-section {
    display: block;
    padding: 25px 22px 27px;
  }

  .form-section::after {
    right: 22px;
    left: 22px;
  }

  .section-heading {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 20px;
  }

  .section-number {
    margin: 0;
  }

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

  .choice-group--three {
    grid-template-columns: 1fr;
  }

  .choice-group--three .choice span {
    justify-content: flex-start;
    padding-left: 13px;
  }

  .form-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 23px 22px 25px;
  }

  .submit-button {
    width: 100%;
  }

  .form-status {
    padding-inline: 22px;
  }

  .success-panel {
    min-height: 340px;
    padding: 45px 28px;
  }
}

@media (max-width: 390px) {
  .site-shell {
    width: calc(100% - 16px);
  }

  .header-label .header-mark {
    display: none;
  }

  .choice-group--two,
  .choice-group--contact {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
