
:root {
  --navy: #2B3A42;
  --navy-deep: #1E2A31;
  --cream: #F5F0E8;
  --cream-warm: #FAF6EF;
  --sand: #B8A088;
  --camel: #C4956A;
  --terracotta: #A67B5B;
  --cinnamon: #8F6B52;
  --ink: #2E2720;
  --bg: #FDFAF5;
  --text: #2E2720;
  --text-secondary: #5C5349;
  --text-muted: #8C8178;
  --border: rgba(46, 39, 32, 0.08);
  --border-strong: rgba(46, 39, 32, 0.15);
  --espresso: #5B4A3F;
  --ink-warm: #4A3D33;
  
  --ink-soft: rgba(74, 61, 51, 0.78);
  --ink-faint: #6E5D4F;
  --serif: 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', -apple-system, 'Helvetica Neue', sans-serif;
  --script: 'Sacramento', 'Snell Roundhand', cursive;
  --cormorant: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --hand-plain: Georgia, 'Times New Roman', serif;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
.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;
}
body.teaser {
  min-height: 100vh;
  color: var(--ink-warm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 24px;
  position: relative;
}
body.teaser.bg-linen { background: #EFE7D7; }
body.teaser.bg-veil  { background: #F5F1E9; }
.teaser-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-art { display: none; position: absolute; inset: 0; width: 100%; height: 100%; }
body.bg-linen .bg-art-linen { display: block; mix-blend-mode: multiply; opacity: 0.95; }
body.bg-veil  .bg-art-veil  { display: block; }
.gauze-glow {
  position: absolute; left: 50%; top: 46%;
  width: min(92vw, 900px); height: min(92vh, 1000px);
  transform: translate(-50%, -50%);
  background: radial-gradient(50% 50% at 50% 50%,
    rgba(198, 158, 106, 0.62) 0%,
    rgba(194, 158, 116, 0.34) 38%,
    rgba(188, 160, 126, 0.14) 62%,
    transparent 80%);
  filter: blur(34px);
}
.gauze-b {
  position: absolute; left: -18%; right: 63%; top: -10%; bottom: -10%;
  background: linear-gradient(94deg,
    rgba(255, 254, 251, 0.98) 0%,
    rgba(253, 249, 242, 0.9) 46%,
    rgba(248, 242, 231, 0.55) 78%,
    transparent 100%);
  filter: blur(26px);
}
.gauze-c {
  position: absolute; left: 64%; right: -18%; top: -12%; bottom: -8%;
  background: linear-gradient(266deg,
    rgba(255, 253, 249, 0.97) 0%,
    rgba(251, 246, 238, 0.88) 44%,
    rgba(244, 237, 225, 0.5) 76%,
    transparent 100%);
  filter: blur(30px);
}
.gauze-a {
  position: absolute; inset: -12% -8% auto -8%; height: 52%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(253, 249, 242, 0.42) 52%, transparent 100%);
  filter: blur(24px);
}
.gauze-edge {
  position: absolute; inset: 0;
  background: radial-gradient(78% 66% at 50% 46%, transparent 0%, transparent 52%, rgba(146, 126, 100, 0.22) 100%);
}
.veil {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 470px;
  text-align: center;
}
.veil-wordmark {
  display: block;
  width: 64vw;
  max-width: 300px;
  aspect-ratio: 971 / 274;
  margin: 0 auto 36px;
  background-color: var(--espresso);
  -webkit-mask: url(images/wordmark.png) center / contain no-repeat;
  mask: url(images/wordmark.png) center / contain no-repeat;
}
.veil-line {
  font-family: var(--script);
  font-size: clamp(2.5rem, 6.2vw, 3.4rem);
  font-weight: 400;
  line-height: 1.22;
  color: var(--ink-warm);
  margin-bottom: 10px;
}
.veil-sub {
  font-family: var(--script);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 420px;
  margin: 0 auto 46px;
}
.veil-proof {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--ink-faint);
  max-width: 420px;
  margin: -28px auto 36px;
}
.note {
  position: relative;
  text-align: left;
  background-color: rgba(253, 250, 244, 0.95);
  border-radius: 2px;
  padding: 48px 42px 44px;
  margin: 0 auto 46px;
  transform: rotate(-0.8deg);
  box-shadow:
    0 20px 48px rgba(74, 61, 51, 0.17),
    0 2px 6px rgba(74, 61, 51, 0.09);
}
.note::before {
  content: '';
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(196, 168, 130, 0.5);
  pointer-events: none;
}
.note-text {
  font-family: var(--script);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.95;
  color: var(--ink);
}
.blank {
  font-family: var(--script);
  font-size: 1em;
  font-weight: 400;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(46, 39, 32, 0.3);
  border-radius: 0;
  padding: 0 6px 1px;
  outline: none;
  display: inline-block;
  vertical-align: baseline;
  max-width: 100%;
  caret-color: var(--camel);
  transition: border-color 0.3s;
}
.blank:focus { border-bottom-color: var(--camel); }
.blank::placeholder {
  font-family: var(--script);
  font-weight: 400;
  color: rgba(46, 39, 32, 0.3);
}
.blank-name  { width: 9em; }
.blank-email { width: 13em; }
.blank-phone { width: 9em; }
.blank[readonly] { border-bottom-color: transparent; }
.blank-measure {
  position: absolute;
  left: -9999px;
  top: 0;
  visibility: hidden;
  white-space: pre;
}
.phone-phrase {
  opacity: 0.35;
  transition: opacity 0.45s ease;
}
.phone-phrase.awake { opacity: 1; }
.seal {
  display: block;
  margin: 34px auto 0;
  font-family: var(--script);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(46, 39, 32, 0.5);
  padding: 13px 40px 12px;
  border-radius: 999px;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
.seal:hover {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--cream-warm);
}
.seal:disabled {
  opacity: 0.6;
  cursor: default;
}
.note-msg {
  font-family: var(--script);
  font-size: 1.4rem;
  font-weight: 400;
  text-align: center;
  color: var(--cinnamon);
  line-height: 1.5;
  margin-top: 20px;
  min-height: 1.5em;
}
.veil-fine {
  text-align: center;
  font-size: 0.66rem;
  color: var(--ink-faint);
  line-height: 1.8;
}
.veil-fine a {
  border-bottom: 1px solid rgba(74, 61, 51, 0.25);
  transition: color 0.3s, border-color 0.3s;
}
.veil-fine a:hover { color: var(--ink-warm); border-color: rgba(74, 61, 51, 0.6); }
.veil-foot {
  position: relative;
  z-index: 2;
  margin-top: 44px;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  text-align: center;
}
.hand-toggle {
  margin-top: 14px;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  border-bottom: 1px solid rgba(74, 61, 51, 0.25);
  padding: 0 0 1px;
  border-radius: 0;
  transition: color 0.3s, border-color 0.3s;
}
.hand-toggle:hover { color: var(--ink-warm); border-color: rgba(74, 61, 51, 0.6); }
body.plain-hand .veil-line,
body.plain-hand .veil-sub,
body.plain-hand .note-text,
body.plain-hand .blank,
body.plain-hand .blank::placeholder,
body.plain-hand .seal,
body.plain-hand .note-msg {
  font-family: var(--hand-plain);
}
body.plain-hand .veil-line { font-size: clamp(1.6rem, 4vw, 2.1rem); line-height: 1.4; }
body.plain-hand .veil-sub  { font-size: 1.02rem; }
body.plain-hand .note-text { font-size: 1.02rem; line-height: 2.3; }
body.plain-hand .seal      { font-size: 0.95rem; padding: 12px 34px; }
body.plain-hand .note-msg  { font-size: 0.92rem; }
.fade {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.9s ease-out forwards;
}
.fade-1 { animation-delay: 0.15s; }
.fade-2 { animation-delay: 0.5s; }
.fade-3 { animation-delay: 0.85s; }
.fade-4 { animation-delay: 1.2s; }
.fade-5 { animation-delay: 1.6s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .fade { animation: none; opacity: 1; transform: none; }
  .phone-phrase { transition: none; }
}
body.legal-page {
  min-height: 100vh;
  background: #EFE7D7;
  color: var(--ink-warm);
  position: relative;
}
.legal-wrap {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 24px 88px;
}
.legal-mark { display: block; margin-bottom: 30px; }
.legal-page .veil-wordmark { width: min(60vw, 260px); margin: 0 auto; }
.legal-wrap .overline {
  display: block;
  text-align: center;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cinnamon);
  margin-bottom: 12px;
}
.legal-wrap h1 {
  font-family: var(--cormorant);
  text-align: center;
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 300;
  color: var(--espresso);
  margin-bottom: 46px;
}
.legal-wrap h2 {
  font-family: var(--cormorant);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--espresso);
  margin: 34px 0 10px;
}
.legal-wrap p {
  font-size: 0.95rem;
  color: var(--ink-warm);
  line-height: 1.75;
  margin-bottom: 12px;
}
.legal-wrap p a {
  border-bottom: 1px solid var(--ink-soft);
  transition: color 0.3s, border-color 0.3s;
}
.legal-wrap p a:hover { color: var(--espresso); border-color: var(--espresso); }
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
body.font-cormorant { --script: var(--cormorant); }
body.font-cormorant .veil-line { font-weight: 300; letter-spacing: 0.01em; line-height: 1.16; }
body.font-cormorant .veil-sub  { font-weight: 300; font-size: 1.5rem; letter-spacing: 0.01em; }
body.font-cormorant .note-text { font-weight: 400; line-height: 1.8; }
body.font-cormorant .blank     { font-weight: 400; }
body.font-cormorant .blank::placeholder { font-weight: 300; font-style: italic; }
body.font-cormorant .seal      { font-weight: 400; font-size: 1.2rem; letter-spacing: 0.03em; }
body.font-cormorant .note-msg  { font-weight: 400; }
@media (max-width: 600px) {
  body.teaser { padding: 36px 18px 18px; }
  .veil-wordmark { max-width: 235px; margin-bottom: 28px; }
  .veil-sub { font-size: 1.4rem; margin-bottom: 38px; }
  .note { padding: 40px 26px 38px; }
  .note-text { font-size: 1.55rem; }
  .blank-email { width: 11em; }
  .legal-wrap h1 { font-size: 1.8rem; }
}
