/* Fonts are hosted with the site, so no visitor data goes to a font provider. SIL Open Font License. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap; src: url("../fonts/jost-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Layout concept: one empty room, pinned, whose light travels from morning to evening with the scroll. */
:root {
  color-scheme: light;
  --paper: #F8F4EF;
  --paper-2: #F0E9E0;
  --line: #E3DACE;
  --ink: #2E3332;
  --ink-soft: #565A56;
  --ink-faint: #BDB4A8;
  --sage: #5F705F;
  --sage-deep: #4C5C4C;
  --clay: #A25F3C;
  --hold: #F4E2D0;
  --field: #FFFDFA;
  --field-line: #A3978A;
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --body: "Jost", "Avenir Next", "Segoe UI", sans-serif;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --bar: 76px;
  --top: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + var(--top)); background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 300 17px/1.7 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ol { margin: 0; padding: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.12; letter-spacing: -.005em; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.2vw, 50px); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--clay); }
.eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow.center { flex-direction: column; gap: 12px; }
.btn { display: inline-block; padding: 15px 30px; border: 0; background: var(--sage); color: #fff; font: 400 13px/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .3s; }
.btn:hover { background: var(--sage-deep); }
.hold { background: var(--hold); padding: 0 .3em; font-style: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Header */
.bar { position: fixed; inset: 0 0 auto; z-index: 20; height: calc(var(--bar) + var(--top)); padding-top: var(--top); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-left: max(32px, var(--gutter)); padding-right: max(32px, var(--gutter-r)); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand img { width: 42px; height: 42px; flex: none; }
.brand b { display: block; font: 400 25px/1 var(--display); }
.brand span { display: block; margin-top: 4px; font-size: 11px; line-height: 1; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.bar nav { display: flex; gap: 36px; font-size: 12px; font-weight: 400; letter-spacing: .15em; text-transform: uppercase; }
.bar nav a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.bar nav a:hover { color: var(--clay); border-color: var(--clay); }
.menu-btn { display: none; padding: 10px 0 10px 16px; border: 0; background: none; color: var(--ink); font: 400 12px/1 var(--body); letter-spacing: .15em; text-transform: uppercase; cursor: pointer; }

/* The room */
.story { height: 460vh; position: relative; }
.stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; background: #D9CDBD; }
#room { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.veil { position: absolute; inset: 0; pointer-events: none; }
.veil.light { background: linear-gradient(90deg, var(--paper) 0%, rgba(248,244,239,.93) 26%, rgba(248,244,239,.55) 43%, rgba(248,244,239,0) 62%); }
.veil.dark { opacity: 0; background: linear-gradient(90deg, rgba(34,29,36,.74) 0%, rgba(34,29,36,.5) 36%, rgba(34,29,36,0) 62%); }
.beat { position: absolute; left: max(var(--gutter), clamp(20px, 8.5vw, 170px)); right: var(--gutter-r); top: calc(var(--bar) + var(--top) + (100svh - var(--bar) - var(--top)) / 2); transform: translateY(-50%); max-width: min(42vw, 680px); display: grid; gap: 22px; justify-items: start; }
.beat .hero-line { font-family: var(--display); font-weight: 400; line-height: 1.12; letter-spacing: -.005em; text-wrap: balance; font-size: clamp(40px, 5.4vw, 96px); }
h1.eyebrow { font-family: var(--body); line-height: 1.4; text-wrap: wrap; }
.nowrap { white-space: nowrap; }
.beat .line { font: 400 clamp(36px, 4.8vw, 84px)/1.14 var(--display); text-wrap: balance; }
.beat.night { color: var(--paper); }
.beat.night .btn { background: var(--paper); color: var(--ink); }
.beat.night .btn:hover { background: #fff; }
.cue { position: absolute; left: 50%; bottom: calc(26px + 100lvh - 100svh); transform: translateX(-50%); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); display: grid; justify-items: center; gap: 8px; }
.cue i { display: block; width: 1px; height: 32px; background: linear-gradient(var(--ink-soft), transparent); animation: drip 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0%,100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }

/* Shared section rhythm */
.band { position: relative; padding-block: clamp(76px, 10vw, 136px); padding-left: var(--gutter); padding-right: var(--gutter-r); overflow: clip; }
.wrap { max-width: 1120px; margin-inline: auto; position: relative; }
.js .reveal { opacity: .25; transform: translateY(22px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* Statement */
.statement { text-align: center; display: grid; justify-items: center; gap: 26px; }
.statement .say { max-width: 19em; font: 400 clamp(34px, 4.6vw, 58px)/1.2 var(--display); text-wrap: balance; }
.say span { transition: color .35s linear; color: var(--ink-faint); }
.say span.lit { color: var(--ink); }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); margin-top: clamp(56px, 7vw, 92px); text-align: center; }
.trio > div { display: grid; justify-items: center; align-content: start; gap: 12px; min-width: 0; }
.glyph { width: 84px; height: 84px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; margin-bottom: 10px; }
.glyph svg { width: 46px; height: 46px; fill: none; stroke: var(--ink); stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.glyph svg { opacity: calc(var(--draw, 1) * 5); }
.glyph path, .glyph circle, .glyph rect { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--draw, 1)); }
.trio h3 { font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.trio p { color: var(--ink-soft); font-size: 16px; max-width: 19em; }

/* The door */
.door-band { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); border-block: 1px solid var(--line); }
.door-scene { position: relative; margin: 0; min-height: 640px; overflow: hidden; perspective: 1500px; background: linear-gradient(100deg, #D9CDBD, #E7DDD0 62%, #EEE6DB); -webkit-mask-image: linear-gradient(90deg, #000 76%, transparent); mask-image: linear-gradient(90deg, #000 76%, transparent); }
.door-scene .floor { position: absolute; inset: 82% 0 0; background: linear-gradient(#BCA388, #A98E73); }
.door-scene .skirt { position: absolute; inset: 80.5% 0 auto; height: 1.5%; background: #EDE5DA; }
.frame { position: absolute; left: 24%; top: 17%; height: 65%; aspect-ratio: .58; background: #F1DEBD; box-shadow: 0 0 0 11px #EFE7DC, 0 0 34px rgba(90,70,50,.22); transform-style: preserve-3d; overflow: visible; }
.beyond { position: absolute; inset: 0; background: radial-gradient(90% 70% at 42% 45%, #FFF7E6, #F3D9AC 72%, #E2BC88); }
.leaf { position: absolute; inset: 0; transform-origin: left center; transform: rotateY(calc(var(--d, 0) * -74deg)); background: linear-gradient(90deg, #E8DFD2, #DDD2C3); box-shadow: inset -1px 0 0 rgba(80,60,40,.18); }
.leaf::before, .leaf::after { content: ""; position: absolute; left: 15%; right: 15%; border: 1px solid rgba(100,82,62,.17); box-shadow: inset 0 0 12px rgba(100,82,62,.05); }
.leaf::before { top: 7%; height: 40%; }
.leaf::after { top: 53%; height: 40%; }
.leaf i { position: absolute; right: 8%; top: 50%; width: 15px; height: 4px; border-radius: 2px; background: #9A8263; box-shadow: 0 1px 1px rgba(0,0,0,.2); }
.spill { position: absolute; left: 0; width: 100%; top: 100%; height: 27.7%; opacity: var(--d, 0); transform-origin: top left; transform: skewX(-22deg); background: linear-gradient(rgba(255,240,205,.82), rgba(255,240,205,0)); }
.door-copy { padding-block: clamp(64px, 8vw, 110px); padding-left: clamp(24px, 6vw, 90px); padding-right: max(24px, var(--gutter-r)); display: grid; gap: 22px; align-content: center; max-width: 720px; min-width: 0; }
.steps { list-style: none; margin-top: 18px; display: grid; gap: 30px; position: relative; padding-left: 50px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 14px; top: 8px; bottom: 8px; width: 1px; background: var(--line); transform-origin: top; }
.steps::after { background: var(--clay); transform: scaleY(var(--d, 1)); }
.steps li { position: relative; display: grid; gap: 3px; }
.steps b { position: absolute; left: -50px; top: 0; width: 29px; height: 29px; z-index: 1; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--clay); color: var(--clay); font: 500 12px/1 var(--body); }
.steps h3 { font: 400 25px/1.25 var(--display); }
.steps p { color: var(--ink-soft); font-size: 16px; }

/* Questions */
.branch { position: absolute; width: clamp(150px, 19vw, 290px); pointer-events: none; color: #E5DCCF; }
.branch svg { display: block; width: 100%; fill: currentColor; animation: sway 9s ease-in-out infinite; transform-origin: 0 100%; }
.branch.a { left: -30px; top: 8%; }
.branch.b { right: -30px; bottom: 2%; transform: scaleX(-1); }
.branch.b svg { animation-delay: -3s; }
@keyframes sway { 0%,100% { rotate: -1.4deg; } 50% { rotate: 1.8deg; } }
.ask { max-width: 760px; margin-inline: auto; display: grid; gap: 40px; }
.ask header { display: grid; justify-items: center; gap: 12px; text-align: center; }
.faq { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; gap: 20px; justify-content: space-between; align-items: baseline; padding-block: 20px; font: 400 25px/1.25 var(--display); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 300 24px/1 var(--body); color: var(--clay); transition: rotate .3s; flex: none; }
details[open] summary::after { rotate: 45deg; }
details p { padding-bottom: 24px; max-width: 38em; color: var(--ink-soft); }

/* Contact */
.reach { background: var(--paper-2); }
.reach-head { display: grid; gap: 14px; max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.reach-lead { font-size: clamp(18px, 1.6vw, 20px); font-weight: 400; color: var(--ink); max-width: 34em; }
.reach-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.reach-info { display: grid; gap: 20px; align-content: start; }
.reach-info h3 { font: 400 26px/1.25 var(--display); }
.reach-info dl { margin: 0; display: grid; gap: 14px; }
.reach-info dt { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.reach-info dd { margin: 0; }
form { display: grid; gap: 22px; min-width: 0; padding: clamp(20px, 3vw, 36px); background: var(--paper); border: 1px solid var(--line); }
label { display: grid; gap: 8px; font-size: 16px; font-weight: 400; line-height: 1.4; color: var(--ink); }
.hint { font-size: 14px; font-weight: 300; color: var(--ink-soft); }
input[type="text"], textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--field-line); background: var(--field); color: var(--ink); font: 300 17px/1.5 var(--body); border-radius: 0; }
textarea { min-height: 112px; resize: vertical; }
input[type="text"]:focus, textarea:focus { outline: 0; border-color: var(--sage); box-shadow: 0 0 0 1px var(--sage); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 300; }
.consent input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--sage); }
.sent { font-size: 15px; color: var(--sage-deep); }
.sent:empty { display: none; }
form .btn { justify-self: start; }

footer { padding-block: 34px; padding-left: var(--gutter); padding-right: var(--gutter-r); background: var(--paper); border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
footer .WidgetContainer { margin: 0 !important; max-width: 100%; }
footer .WidgetContainer iframe { max-width: 100%; }

/* Menu and two-column sections collapse by width */
@media (max-width: 900px) {
  :root { --bar: 66px; }
  .bar { padding-left: var(--gutter); padding-right: var(--gutter-r); }
  .bar nav a:not(:last-child) { display: none; }
  .brand img { width: 36px; height: 36px; }
  .brand b { font-size: 22px; }
  .js .has-menu .menu-btn { display: block; }
  .js .has-menu nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding-block: 10px 18px; padding-left: var(--gutter); padding-right: var(--gutter-r); background: var(--paper); border-bottom: 1px solid var(--line); }
  .js .has-menu.open nav { display: grid; gap: 0; }
  .js .has-menu nav a { display: block; padding: 13px 0; font-size: 13px; }
  .door-band { grid-template-columns: minmax(0, 1fr); }
  .door-scene { min-height: clamp(420px, 66vw, 640px); -webkit-mask-image: none; mask-image: none; }
  .frame { left: 50%; transform: translateX(-50%); }
  .door-copy { padding-left: var(--gutter); padding-right: var(--gutter-r); max-width: 680px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .reach-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .trio { grid-template-columns: minmax(0, 1fr); }
  form .btn { justify-self: stretch; text-align: center; }
  .branch { width: 120px; opacity: .55; }
  .branch.a { left: -46px; top: 2%; }
  .branch.b { right: -46px; }
}

/* The room's text moves above the chair by screen shape, not width */
@media (max-aspect-ratio: 1/1) {
  .veil.light { background: linear-gradient(180deg, var(--paper) 0%, rgba(248,244,239,.92) 28%, rgba(248,244,239,.55) 40%, rgba(248,244,239,0) 58%); }
  .veil.dark { background: linear-gradient(180deg, rgba(34,29,36,.8) 0%, rgba(34,29,36,.6) 34%, rgba(34,29,36,0) 58%); }
  /* centred in the wall space between the header and the chair, whose top sits at about 62% of the stage */
  .beat { top: calc(var(--bar) + var(--top) + (62lvh - var(--bar) - var(--top)) / 2); transform: translateY(-50%); left: var(--gutter); max-width: 680px; gap: clamp(12px, 2svh, 22px); }
  .beat .hero-line { font-size: clamp(38px, 10.5vw, 68px); }
  .beat .line { font-size: clamp(34px, 9.4vw, 60px); }
}
@media (max-aspect-ratio: 1/1) and (max-height: 620px) {
  .beat .hero-line { font-size: 34px; }
  .beat .line { font-size: 30px; }
  .beat .btn { padding: 12px 22px; font-size: 12px; }
  .cue { display: none; }
}

/* Phones held sideways: everything has to fit in very little height */
@media (min-aspect-ratio: 1/1) and (max-height: 520px) {
  :root { --bar: 54px; }
  .brand img { width: 32px; height: 32px; }
  .brand b { font-size: 20px; }
  .brand span { font-size: 10px; margin-top: 2px; }
  .beat { gap: 10px; max-width: 48vw; }
  .beat .hero-line { font-size: clamp(28px, 4.6vw, 40px); }
  .beat .line { font-size: clamp(26px, 4.4vw, 38px); }
  .beat .eyebrow { font-size: 11px; }
  .beat .btn { padding: 11px 20px; font-size: 12px; }
  .cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .story { height: auto; }
  .stage { position: relative; height: auto; padding-block: calc(var(--bar) + 40px) 60px; display: grid; gap: 40px; }
  .beat { position: relative; top: auto; left: auto; right: auto; transform: none; margin-left: clamp(20px, 8.5vw, 130px); padding-right: var(--gutter-r); opacity: 1 !important; visibility: visible !important; }
  .beat.night { color: var(--ink); }
  .beat.night .btn { background: var(--sage); color: #fff; }
  .veil.dark, .cue { display: none; }
  .veil.light { background: rgba(248,244,239,.8); }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .cue i, .branch svg { animation: none; }
}

/* Contact form states */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[aria-invalid] { border-color: var(--clay) !important; }
.sent.err { color: var(--clay); }
button:disabled { opacity: .6; cursor: progress; }
.consent a, footer a { color: inherit; text-underline-offset: 3px; }

/* Without JavaScript: only the opening text, on a still background */
html:not(.js) .story { height: auto; }
html:not(.js) .beat ~ .beat, html:not(.js) .cue { display: none; }

/* Privacy and 404 pages */
.legal { max-width: 720px; margin-inline: auto; padding-block: calc(var(--bar) + 56px) 90px; padding-left: var(--gutter); padding-right: var(--gutter-r); display: grid; gap: 16px; }
.legal h1 { font-size: clamp(38px, 5vw, 54px); margin-bottom: 12px; }
.legal h2 { font-size: 28px; margin-top: 22px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { margin: 0; padding-left: 20px; }
.legal .btn { justify-self: start; margin-top: 12px; }
