/* The Daniel White — quiet luxury, invitation-only */
:root {
  --bg: #f3ebe0;
  --surface: rgba(250, 246, 239, 0.86);
  --surface-solid: #faf6ef;
  --ink: #2a241c;
  --muted: #6d6458;
  --faint: #a59a8c;
  --line: rgba(42, 36, 28, 0.12);
  --champagne: #a8844f;
  --champagne-deep: #7d6238;
  --charcoal: #2a241c;
  --charcoal-soft: #3a3228;
  --focus: rgba(168, 132, 79, 0.28);
  --danger: #8b3a4a;
  --radius: 2px;
  --shadow: 0 22px 60px rgba(42, 36, 28, 0.08);
  --font-display: "Cormorant Garamond", "Times New Roman", Times, serif;
  --font-body: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --page: min(42rem, calc(100% - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 400;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("./assets/bg.jpg") center center / cover no-repeat;
  transform: scale(1.03);
}

.veil {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(243, 235, 224, 0.7) 0%, rgba(243, 235, 224, 0.88) 48%, rgba(243, 235, 224, 0.96) 100%),
    radial-gradient(ellipse 70% 45% at 50% 12%, rgba(250, 246, 239, 0.5), transparent 72%);
}

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

.shell {
  width: var(--page);
  margin: 0 auto;
  padding: 1.65rem 0 3.25rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  text-decoration: none;
  color: inherit;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: none;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero {
  padding: 3rem 0 2.75rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--champagne-deep);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ornament {
  width: 2.5rem;
  height: 1px;
  margin: 0 auto 1.35rem;
  background: linear-gradient(90deg, transparent, var(--champagne), transparent);
}

h1 {
  margin: 0 auto;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.lead {
  margin: 1.1rem auto 0;
  max-width: 28ch;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.hero-note {
  margin: 1.15rem 0 0;
  color: var(--faint);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.85rem;
  min-height: 3rem;
  padding: 0.85rem 1.6rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--charcoal);
  color: #f7f1e8;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.btn:hover {
  background: var(--charcoal-soft);
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.btn-full {
  width: 100%;
  margin-top: 0.5rem;
}

.inquiry {
  margin-top: 0.25rem;
  padding: 2rem 1.5rem 1.65rem;
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.inquiry-head {
  text-align: center;
  margin-bottom: 1.5rem;
}

.inquiry h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.section-desc {
  margin: 0.6rem auto 0;
  max-width: 36ch;
  color: var(--muted);
  font-size: 0.94rem;
}

.form-wrap {
  max-width: 27rem;
  margin: 0 auto;
}

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

.field {
  margin-bottom: 1.05rem;
}

label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  appearance: none;
  border: 0;
  border-bottom: 1px solid rgba(42, 36, 28, 0.22);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.02rem;
  padding: 0.65rem 0.1rem 0.7rem;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 4px) calc(50% + 1px), calc(100% + 2px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 1.2rem;
}

textarea {
  resize: vertical;
  min-height: 6.5rem;
  line-height: 1.5;
}

input::placeholder,
textarea::placeholder {
  color: var(--faint);
}

input:hover,
select:hover,
textarea:hover {
  border-bottom-color: rgba(168, 132, 79, 0.55);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-bottom-color: var(--champagne);
  box-shadow: inset 0 -1px 0 var(--champagne);
}

.form-note {
  margin: 0.15rem 0 1.15rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.form-note a {
  color: var(--champagne-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(125, 98, 56, 0.35);
}

.form-note a:hover {
  border-bottom-color: var(--champagne-deep);
}

.form-status {
  min-height: 1.25rem;
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}

.form-status[data-tone="error"] {
  color: var(--danger);
}

.success-panel,
.redirect-panel {
  text-align: center;
  padding: 1.35rem 0.35rem 0.5rem;
}

.success-panel h3,
.redirect-panel h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
}

.success-panel p,
.redirect-panel p {
  margin: 0;
  color: var(--muted);
}

.redirect-panel .btn {
  margin-top: 1.25rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.site-footer a {
  color: var(--champagne-deep);
  text-decoration: none;
  font-weight: 500;
}

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

@media (max-width: 640px) {
  .shell {
    width: min(100% - 1.5rem, 42rem);
    padding-top: 1.2rem;
  }

  .hero {
    padding: 2.1rem 0 2.1rem;
    text-align: left;
  }

  .ornament {
    margin-left: 0;
  }

  h1,
  .lead {
    max-width: none;
  }

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

  .inquiry {
    padding: 1.45rem 1.05rem 1.25rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

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