/* Mike Calls. Taken from the investor check-in page (design/checkin-reference.html): the same custom
   properties, components and motion, less what the booking page doesn't use (preview bar, map, holdings,
   switches, Saved). What the booking page adds is at the end, under "booking". See DESIGN.md. */
@font-face{font-family:'Plus Jakarta Sans';src:url(fonts/plus-jakarta-sans.woff2) format('woff2');font-weight:200 800;font-display:swap}

:root{
  --pine:#0E3524; --pine-2:#16482F; --pine-3:#0A281B; --pine-ink:#13221A;
  --brass:#A8741C; --brass-deep:#7E5A1A; --brass-light:#E4BC74; --brass-soft:#F5ECDA;
  --stone:#EEF1EC; --stone-2:#E2E7E0; --sheet:#FFFFFF;
  --line:#D9DFD7; --line-2:#C2CBC0; --ctl:#7D8B80;
  --ink:#13221A; --ink-2:#435047; --ink-3:#5A675E;
  --sel:#E6EFE8; --sel-press:#DAE7DD; --press:#F2F5F1; --hover:#F7F9F6;
  --ok:#2D6B45; --err:#8A3B2E;
  --display:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --text:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --ease:cubic-bezier(.2,.75,.2,1);
  --out:cubic-bezier(.22,1,.36,1);
  --gut:20px;
}
*,*::before,*::after{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-bottom:112px}
body{margin:0;background:var(--stone);color:var(--ink);font-family:var(--text);font-size:17.5px;line-height:1.6;font-variant-numeric:lining-nums;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-height:100vh}
button,input,textarea,select{font:inherit;color:inherit}
a{color:inherit}
:where(button){cursor:pointer}
button,a,label,.btn{touch-action:manipulation}
.nw{white-space:nowrap}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------- shell ---------- */
.shell{display:grid;grid-template-columns:1fr;min-height:100vh}
.panel{display:none}
.main{min-width:0;display:flex;flex-direction:column}
.topbar{display:flex;flex-direction:column;gap:14px;padding:18px var(--gut) 6px}
.topbar .row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:28px}
.topbar .logo{height:25px;width:auto;color:var(--pine-ink);display:block}
.progress{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.progress span{height:3px;border-radius:3px;background:var(--stone-2);position:relative;overflow:hidden}
.progress span i{position:absolute;inset:0;width:var(--w,0%);background:var(--brass);border-radius:3px;transition:width .5s var(--ease)}
.where{font-size:15px;color:var(--ink-3);margin-top:-2px}

.stage{flex:1;display:flex;flex-direction:column;width:100%;max-width:640px;margin:0 auto;padding:10px var(--gut) 0}
.step{display:flex;flex-direction:column;padding-bottom:36px}
.step.enter{animation:stepIn .32s var(--out) both}
.step.leave{animation:stepOut .15s ease both;pointer-events:none}
@keyframes stepIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes stepOut{to{opacity:0;transform:translateY(-4px)}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}

.hello{font-size:19px;font-weight:500;color:var(--ink-2);margin:10px 0 6px}
h1{font-family:var(--display);font-weight:700;font-size:28px;line-height:1.18;letter-spacing:-.022em;margin:6px 0 14px;color:var(--ink);text-wrap:balance}
h1:focus{outline:none}
h2{font-family:var(--display);font-weight:700;font-size:20px;line-height:1.3;letter-spacing:-.012em;margin:0;color:var(--ink);text-wrap:balance}
.lede{color:var(--ink-2);margin:0 0 26px;max-width:34em;text-wrap:pretty}
.help{color:var(--ink-3);font-size:16px;line-height:1.5;margin:6px 0 0}
h1 + .help{margin-top:-6px}

.sheet{background:var(--sheet);border:1px solid var(--line);border-radius:16px;overflow:hidden}

/* ---------- answers: one surface per question, a row per choice ---------- */
.opts{margin:16px 0 0;padding:0;border:1px solid var(--line);border-radius:16px;background:var(--sheet);overflow:hidden}
.opt{position:relative;display:block;cursor:pointer}
.opt input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:1}
.opt + .opt::before{content:'';position:absolute;left:58px;right:0;top:0;height:1px;background:var(--line);z-index:2;pointer-events:none}
.tile{display:grid;grid-template-columns:22px 1fr;column-gap:18px;row-gap:3px;align-items:start;min-height:60px;padding:17px 18px;background:var(--sheet);transition:background-color .16s ease;-webkit-user-select:none;user-select:none}
.tile .lab{grid-column:2;font-weight:600;font-size:18px;line-height:1.4}
.tile .desc{grid-column:2;color:var(--ink-2);font-size:16px;line-height:1.45}
.ind{grid-row:1 / span 2;position:relative;display:grid;place-items:center;width:22px;height:22px;margin-top:2.5px;border-radius:50%;border:1.75px solid var(--ctl);background:#fff;transition:border-color .16s ease,background-color .16s ease}
.ind::after{content:'';width:10px;height:10px;border-radius:50%;background:var(--pine);transform:scale(0);transition:transform .2s var(--out)}
.opt input:checked + .tile{background:var(--sel)}
.opt input:checked + .tile .ind{border-color:var(--pine)}
.opt input:checked + .tile .ind::after{transform:scale(1)}
.opt:active > .tile{background:var(--press)}
.opt:active > input:checked + .tile{background:var(--sel-press)}
.opt input:focus-visible + .tile{box-shadow:inset 0 0 0 3px var(--brass)}

.field{padding-top:22px}
.field label{display:block;font-weight:650;font-size:17.5px;line-height:1.35;margin-bottom:4px}
.field .hint{display:block;color:var(--ink-3);font-size:15.5px;line-height:1.5;margin-bottom:12px}
input.txt{display:block;width:100%;max-width:340px;min-height:56px;padding:12px 16px;border:1.5px solid var(--line-2);border-radius:12px;background:var(--sheet);font-size:19px;font-weight:600;letter-spacing:.01em;font-variant-numeric:tabular-nums;transition:border-color .15s ease,box-shadow .15s ease}
textarea{display:block;width:100%;min-height:128px;padding:14px 16px;border:1.5px solid var(--line-2);border-radius:12px;background:var(--sheet);font-size:17.5px;line-height:1.5;resize:vertical;transition:border-color .15s ease,box-shadow .15s ease}
input.txt:focus,textarea:focus{outline:none;border-color:var(--pine);box-shadow:0 0 0 3px rgba(168,116,28,.32)}
input.txt::placeholder,textarea::placeholder{color:#8D998F;font-weight:500}
.note{display:flex;gap:12px;align-items:flex-start;margin-top:14px;padding:14px 16px;border-radius:12px;background:var(--brass-soft);color:#4E3A12;font-size:15.5px;line-height:1.5}
.note svg{flex:none;width:19px;height:19px;margin-top:2px;color:var(--brass-deep)}
.fgrid{display:grid;grid-template-columns:minmax(0,1fr);column-gap:14px}
.fgrid .field{padding-top:18px}
.fgrid .field label{font-size:16.5px}
@media (min-width:560px){.fgrid.two{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.fgrid .wide{grid-column:1 / -1}}
.fgrid input.txt{max-width:none;font-size:18px;font-weight:550;font-variant-numeric:normal;letter-spacing:0}
.alert{margin:18px 0 0;padding:14px 16px;border-radius:12px;background:#F6E6E5;color:var(--err);font-weight:600;font-size:16px;line-height:1.45}

.need{margin:12px 0 -4px;color:var(--err);font-weight:600;font-size:16px;line-height:1.45}
.field .need{margin:10px 0 0}

/* ---------- actions: one steady bar on phones ---------- */
.actions{position:sticky;bottom:0;z-index:5;display:flex;gap:10px;align-items:center;margin:auto calc(-1 * var(--gut)) 0;padding:12px var(--gut) calc(12px + env(safe-area-inset-bottom));background:rgba(238,241,236,.96);-webkit-backdrop-filter:saturate(1.3) blur(12px);backdrop-filter:saturate(1.3) blur(12px);border-top:1px solid var(--line)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 22px;border-radius:12px;border:1px solid transparent;font-weight:650;font-size:17.5px;line-height:1.2;letter-spacing:-.003em;transition:background-color .15s ease,border-color .15s ease;-webkit-user-select:none;user-select:none}
.btn-pri{flex:1;background:var(--pine);color:#fff}
.btn-pri:active{background:var(--pine-3)}
.btn-sec{background:var(--sheet);border-color:var(--line-2);color:var(--ink)}
.btn-sec:active{background:var(--press)}
.btn:focus-visible{outline:none;box-shadow:0 0 0 3px #fff,0 0 0 6px var(--brass)}
.callme{margin:16px 0 26px;font-size:15px;color:var(--ink-3);text-align:center}
.callme a{color:var(--ink-2);font-weight:650;text-decoration:none;border-bottom:1px solid var(--line-2);font-variant-numeric:tabular-nums}

@media (hover:hover) and (pointer:fine){
  .opt:hover > .tile{background:var(--hover)}
  .opt:hover > input:checked + .tile{background:var(--sel)}
  .btn-pri:hover{background:var(--pine-2)}
  .btn-sec:hover{border-color:var(--ink-3)}
}

/* ---------- done ---------- */
.done-mark{width:56px;height:56px;border-radius:50%;background:var(--pine);display:grid;place-items:center;margin:16px 0 18px}
.done-mark svg{width:26px;height:26px;color:#fff}
.done-mark.animate svg path{stroke-dasharray:40;stroke-dashoffset:40;animation:draw .55s .2s var(--ease) forwards}
@keyframes draw{to{stroke-dashoffset:0}}
.card{margin-top:26px;background:var(--sheet);border:1px solid var(--line);border-radius:16px;overflow:hidden}
.person{display:flex;gap:14px;align-items:center;padding:18px 18px 16px}
.mono-av{flex:none;width:48px;height:48px;border-radius:50%;background:var(--pine);color:var(--brass-light);display:grid;place-items:center;font-family:var(--display);font-weight:700;font-size:16px;letter-spacing:.02em}
.person .who{font-weight:650;font-size:18px;line-height:1.3}
.person .ttl{color:var(--ink-3);font-size:15.5px;line-height:1.4}
.contact-lines{border-top:1px solid var(--line)}
.contact-lines a{position:relative;display:flex;align-items:center;gap:14px;min-height:54px;padding:0 18px;font-weight:600;font-size:17px;color:var(--pine);text-decoration:none;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;transition:background-color .15s ease}
.contact-lines a + a::before{content:'';position:absolute;left:52px;right:0;top:0;height:1px;background:var(--line)}
.contact-lines a svg{flex:none;width:20px;height:20px;color:var(--ink-3)}
.contact-lines a:active{background:var(--press)}
.contact-lines a:focus-visible{outline:3px solid var(--brass);outline-offset:-3px}
.fine{color:var(--ink-3);font-size:15px;line-height:1.55;margin:24px 0 32px}

/* ---------- desktop ---------- */
@media (min-width:1000px){
  .shell{grid-template-columns:minmax(380px,36%) 1fr}
  .panel{display:flex;flex-direction:column;position:sticky;top:0;height:100vh;padding:54px 52px 44px;background:var(--pine);color:#E9F0EB;overflow:auto}
  .panel .logo{width:212px;height:auto;color:#fff}
  .panel .letter{margin:auto 0 0;max-width:26em;padding-top:48px}
  .panel .letter p{font-size:18.5px;line-height:1.62;color:rgba(233,240,235,.9);margin:0 0 16px;text-wrap:pretty}
  .sig{margin-top:24px;display:flex;gap:14px;align-items:center}
  .sig .mono-av{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.2)}
  .sig .who{font-weight:650;color:#fff;font-size:17.5px;line-height:1.35}
  .sig .ttl{color:#B9CCBF;font-size:15px;line-height:1.4}
  .chapters{list-style:none;margin:40px 0 0;padding:28px 0 0;border-top:1px solid rgba(255,255,255,.14);display:grid;gap:16px}
  .chapters li{display:flex;align-items:flex-start;gap:14px;font-size:16.5px;line-height:1.5;color:rgba(233,240,235,.6)}
  .chapters .c{display:grid;place-items:center;flex:none;width:25px;height:25px;margin-top:-.5px;border-radius:50%;border:1.5px solid rgba(255,255,255,.3);font-size:12.5px;font-weight:700;font-variant-numeric:tabular-nums;transition:background-color .3s ease,border-color .3s ease,color .3s ease}
  .chapters .c svg{width:12px;height:12px}
  .chapters .t small{display:block;font-size:14px;font-weight:500;color:rgba(233,240,235,.62);margin-top:1px}
  .chapters li.now{color:#fff;font-weight:650}
  .chapters li.now .c{background:var(--brass-light);border-color:var(--brass-light);color:var(--pine)}
  .chapters li.done{color:rgba(233,240,235,.84)}
  .chapters li.done .c{border-color:rgba(228,188,116,.7);color:var(--brass-light)}
  .topbar{width:100%;max-width:768px;margin:0 auto;padding:30px 64px 0}
  .topbar .row{justify-content:flex-end}
  .topbar .logo,.progress,.where{display:none}
  .stage{padding:22px 64px 0;max-width:768px}
  .hello{font-size:20px}
  h1{font-size:38px;line-height:1.14;letter-spacing:-.026em;margin-bottom:16px}
  h1 + .help{margin-top:-4px}
  .step{padding-bottom:0}
  .actions{position:static;margin:44px 0 0;padding:0 0 56px;background:none;-webkit-backdrop-filter:none;backdrop-filter:none;border:0;justify-content:space-between}
  .actions.enter{animation:fadeIn .32s ease both}
  .actions.leave{animation:stepOut .15s ease both}
  .btn-pri{flex:0 0 auto;min-width:220px;margin-left:auto}
  .callme{display:none}
}
@media (max-width:420px){
  h1{font-size:27px}
}
@media (max-width:359px){
  :root{--gut:16px}
  .tile{padding:16px 14px;column-gap:14px}
  .opt + .opt::before{left:50px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
}
@media print{.actions{display:none}}

/* ---------- booking (what this page adds to the check-in's pieces) ---------- */
/* a day with more than about 6 times: the same tiles in two columns. With the Central time under each
   (.cols-wide) there is only room for that from 480px up; narrower phones keep the one-column list. */
.opts.cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.opts.cols .opt::before{content:'';position:absolute;left:0;right:0;top:0;height:1px;background:var(--line);z-index:2;pointer-events:none}
.opts.cols .opt:nth-child(-n+2)::before{content:none}
.opts.cols .opt:nth-child(even)::after{content:'';position:absolute;left:0;top:0;bottom:0;width:1px;background:var(--line);z-index:2;pointer-events:none}
.opts.cols .tile{height:100%;column-gap:12px;padding:17px 14px}
@media (min-width:480px){
  .opts.cols-wide{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .opts.cols-wide .opt::before{content:'';position:absolute;left:0;right:0;top:0;height:1px;background:var(--line);z-index:2;pointer-events:none}
  .opts.cols-wide .opt:nth-child(-n+2)::before{content:none}
  .opts.cols-wide .opt:nth-child(even)::after{content:'';position:absolute;left:0;top:0;bottom:0;width:1px;background:var(--line);z-index:2;pointer-events:none}
  .opts.cols-wide .tile{height:100%;column-gap:12px;padding:17px 14px}
}
.times .tile .lab,.times .tile .desc,.when,.lede .nw{font-variant-numeric:tabular-nums lining-nums}
/* the booked time, as a row of the card (cancel page) */
.when{display:flex;align-items:center;gap:14px;min-height:54px;padding:12px 18px;border-top:1px solid var(--line);font-weight:600;font-size:17px;line-height:1.4}
.when svg{flex:none;width:20px;height:20px;color:var(--ink-3)}
.lede a{color:var(--ink);font-weight:650;text-decoration:none;border-bottom:1px solid var(--line-2);font-variant-numeric:tabular-nums}
a.btn{text-decoration:none}
.btn[aria-busy="true"]{opacity:.72;pointer-events:none}
/* the cards on the done and cancel screens sit closer to the heading than the check-in's */
.card.tight{margin-top:12px}
.lede + .card{margin-top:0}
/* pages outside the three steps (cancel, no open times) */
.plain .progress,.plain .where,.plain .chapters{display:none}
.plain .stage{padding-top:24px}
/* rows of details in a card (the cancel page, Nelson's page) */
.card .when + .when{border-top:1px solid var(--line)}
.when > span{min-width:0;overflow-wrap:anywhere;white-space:pre-line}
/* two stacked actions on phones (Nelson's page) */
.actions.stack{flex-direction:column;align-items:stretch}
.actions.stack .btn{width:100%}
/* spam guard: a field people never see */
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
@media (max-width:359px){
  .opts.cols .tile{padding:16px 10px;column-gap:10px}
}
/* desktop panel: the logo at the top, the note as a heading in the middle, the steps along the bottom (the
   check-in's long letter fills its panel; this short note sat in the bottom-left corner, Stefan, Dec 2) */
@media (min-width:1000px){
  .panel .letter{margin:auto 0;padding:56px 0}
  .panel .letter .lead{font-family:var(--display);font-size:30px;line-height:1.3;font-weight:600;letter-spacing:-.018em;color:#fff;max-width:13em;margin:0 0 14px}
  .panel .letter .lead + p{margin-bottom:0}
  .panel .sig{margin-top:34px}
  .panel .chapters{margin:0}
  .actions.stack{flex-direction:row;justify-content:flex-end;gap:12px}
  .actions.stack .btn{width:auto}
  .actions.stack .btn-pri{flex:0 0 auto;margin-left:0}
}
