@font-face{font-family:"Libre Caslon Text";src:url("/fonts/libre-caslon-text-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Public Sans";src:url("/fonts/public-sans-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Public Sans";src:url("/fonts/public-sans-600.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}

:root{--ground:#F6F2EA;--ink:#191816;--muted:#5C574E;--line:#DCD5C8;--warn:#8F4E3A;color-scheme:light}
:root[data-phase="dawn"]{--ground:#EFEDE8;--ink:#1C2226;--muted:#535C61;--line:#CDCFCB;--warn:#7A4A3E}
:root[data-phase="dusk"]{--ground:#E8DDCC;--ink:#22201B;--muted:#574F42;--line:#CFC1AB;--warn:#8A4F3A}
:root[data-phase="night"]{--ground:#121517;--ink:#F1E5CF;--muted:#ADA18C;--line:#2D3235;--warn:#C9A08A;color-scheme:dark}

*{box-sizing:border-box}
html{background:var(--ground);scroll-behavior:smooth;-webkit-text-size-adjust:100%;transition:background-color .8s ease}
body{margin:0;min-height:100svh;background:var(--ground);color:var(--ink);font-family:"Public Sans",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:17px;line-height:1.6;transition:background-color .8s ease,color .8s ease}
a{color:inherit}
a:hover{opacity:.8}
a:focus-visible,input:focus-visible,textarea:focus-visible,button:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.muted{color:var(--muted);transition:color .6s ease}
.serif{font-family:"Libre Caslon Text",Georgia,"Times New Roman",serif;font-weight:400}

/* The mark */
.mk{display:block;overflow:visible}
.mk path{fill:none;stroke:currentColor;stroke-width:2.95;stroke-linejoin:miter;stroke-linecap:butt;stroke-miterlimit:8}
.mark-btn{display:block;padding:0;margin:0;border:0;background:none;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.mark-btn:focus-visible{outline-offset:10px}

/* Hero */
.hero{position:relative;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:96px 24px 140px}
.hero-inner{display:flex;flex-direction:column;align-items:center;text-align:center}
.wordmark{margin:26px 0 0;padding-left:.34em;font-size:13px;font-weight:600;letter-spacing:.34em;text-transform:uppercase;line-height:1.2}
.tagline{margin:40px 0 0;display:flex;flex-direction:column;align-items:center;font-size:clamp(30px,5.4vw,58px);line-height:1.16;letter-spacing:-.01em}
.cue-wrap{position:absolute;left:0;right:0;bottom:24px;display:flex;justify-content:center}
.cue{display:flex;flex-direction:column;align-items:center;gap:14px;min-height:44px;padding:12px 16px;text-decoration:none;font-size:11px;font-weight:600;letter-spacing:.24em;text-transform:uppercase;color:var(--muted)}
.cue-track{display:block;width:1px;height:40px;overflow:hidden}
.cue-line{display:block;width:1px;height:40px;background:var(--muted);transform-origin:top}

/* Charleston: one continuous line that draws itself as the visitor scrolls */
.skyline-wrap{position:absolute;left:0;right:0;bottom:-112px;height:412px;display:flex;align-items:center;justify-content:center;pointer-events:none;opacity:0}
.skyline{display:block;width:100%;max-width:720px;height:auto;overflow:hidden;color:var(--muted);transition:color .6s ease}
.skyline path{fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1 2;stroke-dashoffset:1.002}
@keyframes skylineDraw{to{stroke-dashoffset:0}}
@keyframes skylineWrap{0%{opacity:0}5%{opacity:1}86%{opacity:1}100%{opacity:0}}

/* Night only: warm dots sized to their windows, and two bridge lights that trade off */
.night-lights{opacity:0}
.candle,.bridge-a,.bridge-b{fill:#E4C48A}
.bridge-a,.bridge-b{fill:#F6E2B4}
.bridge-on{opacity:0}
:root[data-phase="night"] .bridge-on-a{opacity:var(--bridge-a,0)}
:root[data-phase="night"] .bridge-on-b{opacity:var(--bridge-b,0)}
.candle{animation:candle 2.8s ease-in-out infinite}
.candle:nth-child(1){animation-duration:2.3s;animation-delay:-.2s}
.candle:nth-child(2){animation-duration:3.7s;animation-delay:-1.5s}
.candle:nth-child(3){animation-duration:1.9s;animation-delay:-.8s}
.candle:nth-child(4){animation-duration:4.4s;animation-delay:-3.1s}
.candle:nth-child(5){animation-duration:2.6s;animation-delay:-.4s}
.candle:nth-child(6){animation-duration:3.3s;animation-delay:-2.2s}
.candle:nth-child(7){animation-duration:4.1s;animation-delay:-1.1s}
.candle:nth-child(8){animation-duration:2.1s;animation-delay:-1.7s}
.candle:nth-child(9){animation-duration:3.5s;animation-delay:-.6s}
.candle:nth-child(10){animation-duration:4.7s;animation-delay:-2.8s}
.candle:nth-child(11){animation-duration:1.7s;animation-delay:-1.3s}
.candle:nth-child(12){animation-duration:2.9s;animation-delay:-2.5s}
.candle:nth-child(13){animation-duration:3.9s;animation-delay:-.3s}
.candle:nth-child(14){animation-duration:2.4s;animation-delay:-1.9s}
.candle:nth-child(15){animation-duration:4.2s;animation-delay:-3.4s}
.candle:nth-child(16){animation-duration:3.1s;animation-delay:-.9s}
.candle:nth-child(17){animation-duration:1.8s;animation-delay:-1.2s}
.candle:nth-child(18){animation-duration:4.5s;animation-delay:-2.6s}
.bridge-a,.bridge-b{animation:bridgeTwinkle 2.2s ease-in-out infinite}
.bridge-b{animation-delay:-1.1s}
@keyframes candle{0%,100%{opacity:.74}11%{opacity:.9}16%{opacity:.42}27%{opacity:.82}44%{opacity:.58}61%{opacity:.88}69%{opacity:.38}83%{opacity:.76}}
@keyframes bridgeTwinkle{0%,28%{opacity:1}50%{opacity:.06}72%,100%{opacity:1}}
@keyframes lightsIn{from{opacity:0}to{opacity:1}}
:root[data-phase="night"] .night-lights{opacity:var(--night-lights,0)}

/* Contact */
.contact{display:flex;justify-content:center;padding:112px 24px 72px}
.contact-inner{width:100%;max-width:560px;display:flex;flex-direction:column}
.contact h2{margin:32px 0 0;font-size:clamp(30px,4.4vw,42px);line-height:1.15;letter-spacing:-.01em}
.intro{margin:16px 0 0}
form{display:flex;flex-direction:column;gap:28px;margin-top:40px}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.hint{margin:0;font-size:14px;line-height:1.5}
.field-status{margin:0;font-size:14px;line-height:1.45;color:var(--warn);transition:color .6s ease}
input,textarea{font:inherit;font-size:17px;color:inherit;background:transparent;border:0;border-bottom:1px solid var(--muted);border-radius:0;-webkit-appearance:none;appearance:none;transition:border-color .6s ease}
input{min-height:48px;padding:8px 0}
textarea{padding:10px 0;line-height:1.5;resize:vertical}
input:focus,textarea:focus{outline:none;border-bottom-color:var(--ink)}
.field.is-invalid input{border-bottom-color:var(--warn)}
.field.is-invalid input:focus{border-bottom-color:var(--warn)}
.send-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin-top:8px}
.btn{min-height:48px;padding:0 32px;border:0;border-radius:0;background:var(--ink);color:var(--ground);font:inherit;font-size:13px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;cursor:pointer;transition:background-color .6s ease,color .6s ease,opacity .2s ease}
.btn:focus-visible{outline-offset:3px}
.btn[disabled]{opacity:.6;cursor:progress}
.secure{position:relative;display:inline-flex;align-items:flex-end}
.secure-toggle{display:inline-flex;align-items:center;justify-content:center;margin:0;padding:8px 8px 2px;border:0;border-radius:0;background:transparent;color:inherit;cursor:pointer;-webkit-appearance:none;appearance:none;transition:color .6s ease,opacity .2s ease}
.secure-toggle:hover{opacity:.8}
.secure-lock{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}
.secure-tip{position:absolute;right:0;bottom:calc(100% + 12px);z-index:3;width:min(288px,calc(100vw - 48px));padding:14px 16px;border:1px solid var(--line);background:var(--ground);color:var(--muted);font-size:13px;line-height:1.5;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(6px);transition:opacity .2s ease,transform .2s ease,visibility .2s ease,background-color .8s ease,border-color .6s ease,color .6s ease}
.secure-tip::before{content:"";position:absolute;left:0;right:0;top:100%;height:14px}
.secure:hover .secure-tip,.secure:focus-within .secure-tip,.secure.is-open .secure-tip{opacity:1;visibility:visible;pointer-events:auto;transform:none}
@media (max-width:560px){
  .send-row{position:relative}
  .secure{position:static}
  .secure-tip{left:0;right:0;width:auto}
}
.note{margin:0;font-size:14px}
.error{margin:0;font-size:15px}
/* Turnstile runs in Invisible mode: keep its container out of the layout so nothing shifts when it loads */
.cf-turnstile{position:absolute;width:0;height:0;overflow:hidden}
.mk-small .ghost{opacity:.22}
.mk-small .done-a,.mk-small .done-b{display:none}
.sent .mk-small .ghost{display:none}
.sent .mk-small .done-a,.sent .mk-small .done-b{display:inline}
.sent .mk-small .done-a{stroke-dasharray:21;stroke-dashoffset:21;animation:draw .16s cubic-bezier(.5,0,1,1) .3s forwards}
.sent .mk-small .done-b{stroke-dasharray:75;stroke-dashoffset:75;animation:draw .5s cubic-bezier(0,0,.35,1) .5s forwards}
#done-view h2:focus{outline:none}
.contact.sent{min-height:100svh}

/* Footer */
footer{display:flex;justify-content:center;padding:24px 24px 40px}
.foot{width:100%;max-width:560px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 16px;padding-top:24px;border-top:1px solid var(--line);font-size:13px;transition:border-color .6s ease}

/* Intro: the mark draws itself, then the words rise (only when JavaScript is on) */
@keyframes draw{to{stroke-dashoffset:0}}
@keyframes rise{to{opacity:1;transform:none}}
@keyframes fade{to{opacity:1}}
@keyframes drip{0%{transform:scaleY(0);transform-origin:top}45%{transform:scaleY(1);transform-origin:top}55%{transform:scaleY(1);transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom}}
.js .mk-hero .d1{stroke-dasharray:108;stroke-dashoffset:108}
.js .mk-hero .d2a,.js .mk-hero .d3a{stroke-dasharray:21;stroke-dashoffset:21}
.js .mk-hero .d2b,.js .mk-hero .d3b{stroke-dasharray:75;stroke-dashoffset:75}
.go .mk-hero .d1{animation:draw .6s cubic-bezier(.65,0,.35,1) .2s forwards}
.go .mk-hero .d2a{animation:draw .14s cubic-bezier(.5,0,1,1) .78s forwards}
.go .mk-hero .d2b{animation:draw .42s cubic-bezier(0,0,.35,1) .96s forwards}
.go .mk-hero .d3a{animation:draw .14s cubic-bezier(.5,0,1,1) 1.36s forwards}
.go .mk-hero .d3b{animation:draw .42s cubic-bezier(0,0,.35,1) 1.54s forwards}
.js .rise{opacity:0;transform:translateY(10px)}
.go .rise{animation:rise .9s cubic-bezier(.2,.7,.2,1) forwards}
.go .wordmark{animation-delay:1.8s}
.go .tag-line{animation-delay:2.05s}
.go .cue{animation-delay:3.2s}
.js .cue-line{transform:scaleY(0)}
.go .cue-line{animation:drip 2.4s ease-in-out 3.7s infinite}
@keyframes riseIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.done-copy{animation:riseIn .9s cubic-bezier(.2,.7,.2,1) .5s both}

/* Scroll: the hero fades away as the contact form rises (browsers that support it) */
@keyframes heroOut{to{opacity:0;transform:translateY(-6vh) scale(.97);filter:blur(4px)}}
@keyframes contactIn{from{opacity:0;transform:translateY(40px)}to{opacity:1;transform:none}}
@supports (animation-timeline: view()){
  .hero{view-timeline:--hero block}
  .hero-inner{animation:heroOut linear both;animation-timeline:--hero;animation-range:exit 0% exit 55%}
  .cue-wrap{animation:heroOut linear both;animation-timeline:--hero;animation-range:exit 0% exit 18%}
  .contact-inner{animation:contactIn linear both;animation-timeline:view();animation-range:entry 0% entry 55%}
  .skyline-wrap{animation:skylineWrap linear both;animation-timeline:--hero;animation-range:exit 0% exit 100%}
  .skyline path{animation:skylineDraw linear both;animation-timeline:--hero;animation-range:exit 2% exit 62%}
  :root[data-phase="night"] .night-lights{animation:lightsIn linear both;animation-timeline:--hero;animation-range:exit 36% exit 66%}
  :root[data-phase="night"] .bridge-on-a{animation:lightsIn linear both;animation-timeline:--hero;animation-range:exit 57% exit 60%}
  :root[data-phase="night"] .bridge-on-b{animation:lightsIn linear both;animation-timeline:--hero;animation-range:exit 51% exit 54%}
}

/* Reduced motion: keep the line drawing and gentle fades, drop movement */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .js .rise{transform:none}
  .go .rise,.done-copy{animation-name:fade}
  .hero-inner,.cue-wrap,.contact-inner{animation:none!important;opacity:1!important;transform:none!important;filter:none!important}
  .js .cue-line,.go .cue-line{animation:none!important;transform:none!important}
  .skyline path{animation:none!important;stroke-dashoffset:0!important}
  .candle{animation:none!important;opacity:.7!important}
  .bridge-on{animation:none!important;opacity:1!important}
  .bridge-a,.bridge-b{animation:none!important;opacity:.88!important}
  .secure-tip{transition:none;transform:none}
}
