/* ── Reset & Variables ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:         #0b1220;
  --navy-mid:     #111d30;
  --blue:         #4a86b8;
  --blue-light:   #7eb3d8;
  --blue-dim:     rgba(74,134,184,0.15);
  --cream:        #f0ece3;
  --cream-dim:    rgba(240,236,227,0.88);
  --cream-faint:  rgba(240,236,227,0.12);
  --white:        #ffffff;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui:      'Jost', 'Helvetica Neue', sans-serif;
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { font-size: 16px; }

body {
  background-color: var(--navy);
  color: var(--cream);
  font-family: var(--font-ui);
  font-weight: 300;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Background ────────────────────────────────────────────── */
.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 65% 55% at 78% 18%, rgba(74,134,184,0.1) 0%, transparent 65%),
    radial-gradient(ellipse 45% 45% at 8% 82%, rgba(74,134,184,0.06) 0%, transparent 55%),
    linear-gradient(155deg, #0f1e32 0%, #0b1220 45%, #080e18 100%);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(74,134,184,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,134,184,0.05) 1px, transparent 1px);
  background-size: 72px 72px;
}

/* ── Page Wrapper ──────────────────────────────────────────── */
.page-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0 56px;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 0 30px;
  border-bottom: 1px solid var(--cream-faint);
  animation: fadeDown 0.8s var(--ease) both;
}

.logo {
  height: 85px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.header-location {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-light);
}

/* ── Main Layout ───────────────────────────────────────────── */
.main {
  flex: 1;
  display: flex;
  align-items: stretch;
  gap: 64px;
  padding: 72px 0 56px;
}

.content-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  animation: fadeUp 0.9s var(--ease) 0.15s both;
}

.deco-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 40px;
  flex-shrink: 0;
  animation: fadeIn 1.2s var(--ease) 0.5s both;
}

.deco-line {
  flex: 1;
  max-height: 200px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(74,134,184,0.3), transparent);
}

.deco-text {
  font-size: 9px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--blue-light);
  opacity: 0.4;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

/* ── Eyebrow ───────────────────────────────────────────────── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 28px;
}

.eyebrow-line {
  display: block;
  height: 1px;
  width: 32px;
  background: var(--blue);
  opacity: 0.55;
}

/* ── Headline ──────────────────────────────────────────────── */
.headline {
  font-family: var(--font-display);
  font-size: clamp(46px, 5.8vw, 76px);
  font-weight: 300;
  line-height: 1.07;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 30px;
}

.headline em {
  font-style: italic;
  color: rgba(240,236,227,0.65);
  font-weight: 300;
}

/* ── Tagline ───────────────────────────────────────────────── */
.tagline {
  font-size: 15.5px;
  line-height: 1.82;
  color: var(--cream-dim);
  max-width: 560px;
  font-weight: 300;
  letter-spacing: 0.01em;
  margin-bottom: 36px;
}

/* ── Rule ──────────────────────────────────────────────────── */
.rule {
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue) 0%, transparent 100%);
  margin-bottom: 32px;
}

/* ── CTA ───────────────────────────────────────────────────── */
.cta-intro {
  font-size: 13.5px;
  letter-spacing: 0.03em;
  color: var(--cream-dim);
  margin-bottom: 26px;
  font-weight: 300;
}

/* ── Form ──────────────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label,
.spam-field > label {
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue-light);
  font-weight: 400;
}

.field input,
.spam-field input[type="number"] {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  padding: 13px 15px;
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease);
  width: 100%;
}

.field input::placeholder,
.spam-field input::placeholder { color: rgba(240,236,227,0.28); }

.field input:focus,
.spam-field input:focus {
  border-color: var(--blue);
  background: rgba(74,134,184,0.08);
}

.field input.error { border-color: rgba(220,80,80,0.65); }

/* Spam */
.spam-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.spam-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.spam-question {
  font-size: 14px;
  color: var(--cream-dim);
  font-weight: 300;
  white-space: nowrap;
}

.spam-field input[type="number"] { width: 90px; flex-shrink: 0; }

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; }
input[type=number] { -moz-appearance: textfield; }

/* ── Button ────────────────────────────────────────────────── */
.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--blue);
  border-radius: 2px;
  padding: 13px 30px;
  color: var(--blue-light);
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), transform 0.18s;
  margin-top: 4px;
}

.submit-btn:hover { background: var(--blue-dim); color: var(--white); }
.submit-btn:active { transform: scale(0.98); }
.submit-btn:disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

.btn-arrow { transition: transform 0.22s var(--ease); }
.submit-btn:hover .btn-arrow { transform: translateX(4px); }

/* ── Form message ──────────────────────────────────────────── */
.form-msg {
  font-size: 13px;
  letter-spacing: 0.03em;
  font-weight: 300;
  min-height: 20px;
}
.form-msg.success { color: #7dd49a; }
.form-msg.error   { color: #e08080; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0 30px;
  border-top: 1px solid var(--cream-faint);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(240,236,227,0.5);
  animation: fadeIn 1s var(--ease) 0.9s both;
}

.footer-email {
  color: var(--blue-light);
  text-decoration: none;
  opacity: 0.65;
  transition: opacity 0.2s;
}
.footer-email:hover { opacity: 1; }

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .page-wrapper { padding: 0 28px; }
  .deco-col { display: none; }
  .main { gap: 0; padding: 52px 0 44px; }
  .field-row { grid-template-columns: 1fr; }
  .spam-row { flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .page-wrapper { padding: 0 20px; }
  .site-header { padding: 22px 0 18px; }
  .logo { height: 36px; }
  .header-location { display: none; }
  .main { padding: 38px 0 32px; }
  .site-footer { flex-direction: column; gap: 8px; text-align: center; }
}
