@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-medium.woff2') format('woff2');
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: 'Oswald';
  src: url('/fonts/oswald-bold.ttf') format('truetype');
  font-weight: 500 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #090908;
  --panel: #11100d;
  --paper: #f5f0e4;
  --muted: #b9b4a8;
  --gold: #e0b746;
  --gold-pale: #f6d778;
  --line: rgba(232, 191, 76, .35);
  --error: #ff9b8c;
  --sans: 'Inter', sans-serif;
  --display: 'Oswald', sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  z-index: 10;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}
button, input, select, textarea { font: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-pale);
  outline-offset: 3px;
}
.contact-shell { display: flex; min-height: 100dvh; flex-direction: column; }
.site-header {
  display: flex;
  width: min(1260px, calc(100% - 120px));
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 24px 0 8px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 104px; height: 104px; object-fit: contain; }
.header-nav a {
  color: #f1ede4;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s ease;
}
.header-nav a:hover, .footer-links a:hover { color: var(--gold-pale); }
.contact-main { flex: 1; padding: 24px 24px 82px; }
.contact-panel {
  position: relative;
  width: min(710px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(224, 183, 70, .68);
  border-radius: 14px;
  padding: clamp(30px, 5.5vw, 58px) clamp(22px, 6.5vw, 68px) 38px;
  background: radial-gradient(ellipse at 50% -28%, rgba(194, 143, 36, .12), transparent 58%), rgba(15, 13, 9, .96);
  box-shadow: 0 0 0 1px rgba(224, 183, 70, .07), 0 24px 70px rgba(0, 0, 0, .35);
  animation: arrive .48s ease both;
}
.panel-heading { margin: 0 0 34px; text-align: center; }
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .23em;
  text-transform: uppercase;
}
.panel-heading h1, .success-content h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 3.7rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.08;
}
.panel-heading > p:last-child { max-width: 520px; margin: 14px auto 0; color: #e1ded6; font-size: 15px; line-height: 1.7; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 21px 18px; }
.field { min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label {
  display: block;
  margin-bottom: 7px;
  color: #f0ede5;
  font-size: 14px;
  font-weight: 600;
}
.required { color: var(--gold); }
.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(222, 210, 184, .37);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, .045);
  color: var(--paper);
  font-size: 16px;
  transition: border-color .2s ease, background-color .2s ease;
}
.field input, .field select { height: 52px; padding: 0 13px; }
.field select { appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m3 6 5 5 5-5' stroke='%23e0b746' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field select option { background: #17140e; color: var(--paper); }
.field textarea { min-height: 170px; resize: vertical; padding: 13px 14px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #aaa496; opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(224, 183, 70, .58); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); background-color: rgba(255, 255, 255, .065); outline: 2px solid rgba(224, 183, 70, .15); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field [disabled] { cursor: not-allowed; opacity: .58; }
.conditional-fields { margin-top: 22px; }
.conditional-group { padding: 18px; border: 1px solid rgba(224, 183, 70, .2); border-radius: 7px; background: rgba(255, 255, 255, .018); animation: arrive .24s ease both; }
.conditional-group[hidden], [data-when][hidden] { display: none; }
.conditional-group + .conditional-group { margin-top: 12px; }
.conditional-group .field { grid-column: auto; }
.message-field { margin-top: 23px; }
.field-error { min-height: 0; margin: 5px 0 0; color: var(--error); font-size: 12px; line-height: 1.45; }
.field-error:empty { display: none; }
.captcha-area { min-height: 81px; margin-top: 22px; }
#captcha-widget { width: 100%; min-height: 0; }
.captcha-status { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.captcha-status:empty { display: none; }
.captcha-status.is-error { color: var(--error); }
.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 0;
  border-radius: 4px;
  padding: 0 24px;
  background: linear-gradient(115deg, #f4d477 0%, #d8a936 54%, #f0ce69 100%);
  box-shadow: 0 9px 28px rgba(205, 153, 39, .16), inset 0 1px rgba(255, 250, 223, .8);
  color: #171208;
  cursor: pointer;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .055em;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 13px 32px rgba(205, 153, 39, .23); }
.button:active:not(:disabled) { transform: translateY(0); }
.button:disabled { cursor: not-allowed; opacity: .52; }
.button-arrow { font-family: var(--sans); font-size: 20px; line-height: 1; }
.submit-button { display: flex; width: 100%; min-height: 62px; }
.form-status { margin: 12px 0 0; color: var(--error); font-size: 13px; line-height: 1.5; text-align: center; }
.form-status:empty { display: none; }
.privacy-note { margin: 17px 0 0; color: #aaa496; font-size: 12px; line-height: 1.65; text-align: center; }
.privacy-note a { color: var(--gold-pale); text-underline-offset: 3px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.success-panel { min-height: 450px; align-items: center; justify-content: center; text-align: center; }
.success-panel[hidden] { display: none; }
.success-panel:not([hidden]) { display: flex; animation: arrive .4s ease both; }
.success-content { width: min(510px, 100%); }
.success-logo { width: 96px; height: 96px; margin: 0 auto 18px; object-fit: contain; }
.success-mark { display: grid; width: 43px; height: 43px; place-items: center; margin: 0 auto 20px; border: 1px solid rgba(224, 183, 70, .7); border-radius: 50%; color: var(--gold-pale); }
.success-mark svg { width: 22px; height: 22px; }
.success-content h2 { font-size: clamp(2rem, 5vw, 2.8rem); }
.success-content p { margin: 14px 0 0; color: var(--muted); }
.home-button { margin-top: 30px; }
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  border-top: 1px solid rgba(224, 183, 70, .17);
  padding: 18px max(6vw, calc((100vw - 1220px) / 2));
  color: #b9b1a2;
  font-size: 11px;
}
.footer-links { display: flex; align-items: center; gap: 25px; }
.footer-links a { color: #d0c9ba; text-decoration: none; transition: color .2s ease; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 700px) {
  .site-header { width: calc(100% - 36px); padding-top: 14px; }
  .brand img { width: 84px; height: 84px; }
  .header-nav a { font-size: 12px; }
  .contact-main { padding: 12px 16px 56px; }
  .contact-panel { border-radius: 12px; padding: 34px 22px 29px; }
  .panel-heading { margin-bottom: 27px; }
  .panel-heading h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .panel-heading > p:last-child { font-size: 14px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .field-wide { grid-column: auto; }
  .conditional-group { padding: 15px; }
  .conditional-group .field { grid-column: auto; }
  .field input, .field select { height: 54px; }
  .field textarea { min-height: 176px; }
  .submit-button { min-height: 62px; }
  .site-footer { flex-direction: column; justify-content: center; gap: 11px; min-height: 104px; padding: 20px 16px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 12px 24px; }
}
@media (max-width: 360px) {
  .contact-panel { padding-right: 16px; padding-left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
