/* Booking pages on sytfulminds.com (/booking = Sytful Minds, /booking/ctg = ClearTech Growth).
   Base styles from the booking app; brand themes scoped to html.sytful and html.ctg. */
:root{
  --paper:#fbfaf7; --paper-2:#f4f1ea; --ink:#262b33; --mut:#6b7480;
  --navy:#1e3a5f; --slate:#46648c; --steel:#9db3cd;
  --gold:#7a5a12; --gold-2:#b8933e;
  --line:#e3ddd0; --card:#fffefb;
  --serif:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--paper); color:var(--ink);
  font:16px/1.6 var(--sans);
  -webkit-font-smoothing:antialiased;
}
body::before{
  content:""; position:fixed; inset:0; pointer-events:none; z-index:0; opacity:.5;
  background-image:radial-gradient(rgba(38,43,51,.028) 1px, transparent 1px);
  background-size:22px 22px;
}
.wrap{max-width:820px;margin:0 auto;padding:0 20px 90px;position:relative;z-index:1}

/* header */
header{padding:34px 0 8px;display:flex;align-items:center;gap:14px}
.monogram{
  width:46px;height:46px;border:1.5px solid var(--navy);border-radius:50%;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  font-family:var(--serif);font-weight:600;font-size:17px;color:var(--navy);letter-spacing:.04em;
  background:var(--card);
}
.head-name{font-family:var(--serif);font-size:1.05rem;color:var(--navy);letter-spacing:.02em}
.head-sub{font-size:.72rem;color:var(--mut);text-transform:uppercase;letter-spacing:.18em;margin-top:1px}

h1{
  font-family:var(--serif);font-weight:500;color:var(--navy);
  font-size:clamp(1.7rem,5.4vw,2.5rem);line-height:1.15;letter-spacing:-.01em;
  margin:26px 0 10px;
}
h1 em{font-style:italic;color:var(--gold)}
[tabindex="-1"]:focus{outline:none}  /* programmatic focus for screen readers — no ring */
.lede{color:var(--mut);max-width:52ch;font-size:.98rem}
.lede b{color:var(--ink);font-weight:600}

/* view switching */
.view{display:none}
.view.active{display:block;animation:rise .45s ease both}
@keyframes rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  .view.active{animation:none}
  .tcard{animation:none!important;opacity:1!important}
  html{scroll-behavior:auto}
}

/* entry menu — which side is this for */
.eyebrow{font-size:.72rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-2);margin-top:22px}
.menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:28px}
@media (max-width:640px){.menu-grid{grid-template-columns:1fr}}
.menu-card{
  text-align:left;cursor:pointer;background:var(--card);border:1px solid var(--line);border-radius:12px;
  padding:26px 22px;font:inherit;color:inherit;transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  box-shadow:0 1px 2px rgba(30,58,95,.05);
}
.menu-card:hover,.menu-card:focus-visible{transform:translateY(-2px);border-color:var(--steel);box-shadow:0 10px 26px rgba(30,58,95,.11)}
.menu-card:focus-visible{outline:2px solid var(--slate);outline-offset:3px}
.mc-title{font-family:var(--serif);font-size:1.28rem;color:var(--navy);margin-bottom:6px}
.mc-sub{font-size:.88rem;color:var(--mut);line-height:1.5}
.menu-card .tgo{margin-top:16px}
.menu-note{margin-top:22px;font-size:.84rem;color:var(--mut);line-height:1.55}
.menu-note a{color:var(--navy)}
.switch{display:inline-block;margin-top:18px;font-size:.84rem;color:var(--slate);text-decoration:none;letter-spacing:.02em}
.switch:hover{color:var(--navy);text-decoration:underline}
.switch[hidden],.back[hidden]{display:none}

/* type cards — the signature */
.types{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:30px}
@media (max-width:640px){.types{grid-template-columns:1fr}}
.tcard{
  position:relative;text-align:left;cursor:pointer;
  background:var(--card);border:1px solid var(--line);border-radius:10px;
  padding:20px 18px 18px;transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  box-shadow:0 1px 2px rgba(30,58,95,.05);
  animation:rise .5s ease both;
  font:inherit;color:inherit;width:100%;
}
.tcard:nth-child(2){animation-delay:.06s}.tcard:nth-child(3){animation-delay:.12s}.tcard:nth-child(4){animation-delay:.18s}
.tcard::after{
  content:"";position:absolute;inset:5px;border:1px solid rgba(30,58,95,.1);border-radius:7px;pointer-events:none;
}
.tcard:hover,.tcard:focus-visible{transform:translateY(-2px);border-color:var(--steel);box-shadow:0 10px 26px rgba(30,58,95,.11)}
.tcard:focus-visible{outline:2px solid var(--slate);outline-offset:3px}
.seal{
  width:44px;height:44px;border-radius:50%;border:1.4px solid var(--navy);
  display:flex;align-items:center;justify-content:center;margin-bottom:12px;
  background:linear-gradient(160deg,#fff,var(--paper-2));
}
.seal svg{width:22px;height:22px;stroke:var(--navy);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.tname{font-family:var(--serif);font-size:1.14rem;color:var(--navy);margin-bottom:4px}
.tdesc{font-size:.86rem;color:var(--mut);line-height:1.5;min-height:2.6em}
.chip{
  position:absolute;top:16px;right:16px;
  font-size:.7rem;font-weight:700;letter-spacing:.1em;color:var(--gold);
  border:1px solid var(--gold-2);border-radius:99px;padding:3px 10px;background:rgba(211,171,79,.07);
}
.tgo{margin-top:12px;font-size:.78rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--slate)}
.tgo::after{content:" →"}

/* picker */
.back{
  background:none;border:none;color:var(--slate);font:inherit;font-size:.85rem;cursor:pointer;
  padding:6px 0;margin:18px 0 4px;letter-spacing:.04em;
}
.back:hover{color:var(--navy);text-decoration:underline}
.pick-head{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin:6px 0 4px}
.pick-title{font-family:var(--serif);font-size:1.5rem;color:var(--navy)}
.tznote{font-size:.78rem;color:var(--mut)}
.daystrip{
  display:flex;gap:8px;overflow-x:auto;padding:16px 2px 6px;-webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
}
.day{
  flex:0 0 auto;min-width:76px;text-align:center;cursor:pointer;
  background:var(--card);border:1px solid var(--line);border-radius:9px;padding:10px 8px;
  font:inherit;color:inherit;transition:border-color .15s, background .15s;
}
.day .dw{font-size:.68rem;text-transform:uppercase;letter-spacing:.14em;color:var(--mut)}
.day .dn{font-family:var(--serif);font-size:1.25rem;color:var(--navy);margin-top:2px}
.day .dm{font-size:.68rem;color:var(--mut)}
.day .dc{font-size:.64rem;color:var(--gold);margin-top:3px;font-weight:600}
.day.sel{border-color:var(--navy);background:linear-gradient(180deg,#fff,var(--paper-2));box-shadow:0 3px 10px rgba(30,58,95,.1)}
.day:focus-visible{outline:2px solid var(--slate);outline-offset:2px}
.slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:9px;margin-top:16px}
.slot{
  font:inherit;font-size:.9rem;font-variant-numeric:tabular-nums;cursor:pointer;
  background:var(--card);border:1px solid var(--line);border-radius:8px;padding:10px 6px;text-align:center;
  color:var(--ink);transition:all .14s;
}
.slot:hover,.slot:focus-visible{border-color:var(--gold-2);background:rgba(211,171,79,.06)}
.slot:focus-visible{outline:2px solid var(--slate);outline-offset:2px}
.slot.sel{background:var(--navy);color:#fff;border-color:var(--navy)}
.empty{color:var(--mut);font-size:.9rem;padding:26px 4px}
.pending{
  margin-top:14px;font-size:.8rem;color:var(--gold);background:rgba(211,171,79,.08);
  border:1px solid var(--gold-2);border-radius:8px;padding:9px 12px;
}

/* form */
.formcard{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:22px 20px;margin-top:20px;box-shadow:0 1px 2px rgba(30,58,95,.05)}
.sumline{font-family:var(--serif);color:var(--navy);font-size:1.1rem;margin-bottom:2px}
.sumsub{font-size:.82rem;color:var(--mut);margin-bottom:16px}
.fg{margin-bottom:13px}
.fg label{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.14em;color:var(--mut);margin-bottom:5px}
.fg input,.fg textarea{
  width:100%;font:inherit;font-size:16px;color:var(--ink);
  background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:11px 12px;
}
.fg input:focus,.fg textarea:focus,.fg select:focus{outline:none;border-color:var(--slate);box-shadow:0 0 0 3px rgba(157,179,205,.2)}
.fg select{width:100%;font:inherit;font-size:16px;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:11px 12px}
.check{display:flex;align-items:center;gap:10px;font-size:.92rem;color:var(--ink);cursor:pointer;margin-bottom:13px}
.check input{width:18px;height:18px;accent-color:var(--navy)}
.cta{
  width:100%;font:inherit;font-size:.95rem;font-weight:600;letter-spacing:.04em;cursor:pointer;
  background:var(--navy);color:#fff;border:none;border-radius:9px;padding:14px;margin-top:6px;
  transition:background .15s, transform .15s;
}
.cta:hover{background:#16304f;transform:translateY(-1px)}
.cta:disabled{opacity:.55;cursor:wait;transform:none}
.cta:focus-visible{outline:2px solid var(--slate);outline-offset:3px}
.formnote{font-size:.76rem;color:var(--mut);margin-top:10px;text-align:center}
.err{color:#9a3b32;font-size:.84rem;margin-top:10px;text-align:center;min-height:1.2em}

/* confirm */
.confirm{
  text-align:center;background:var(--card);border:1px solid var(--line);border-radius:14px;
  padding:40px 24px;margin-top:26px;position:relative;overflow:hidden;
}
.confirm::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--gold-2),var(--gold),var(--gold-2))}
.conf-seal{width:58px;height:58px;border-radius:50%;border:1.6px solid var(--gold);display:flex;align-items:center;justify-content:center;margin:0 auto 16px}
.conf-seal svg{width:26px;height:26px;stroke:var(--gold);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.conf-title{font-family:var(--serif);font-size:1.55rem;color:var(--navy)}
.conf-when{font-size:1rem;color:var(--ink);margin:10px 0 2px;font-variant-numeric:tabular-nums}
.conf-sub{font-size:.84rem;color:var(--mut);max-width:40ch;margin:8px auto 20px}
.conf-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.ghost{
  font:inherit;font-size:.86rem;font-weight:600;cursor:pointer;text-decoration:none;
  color:var(--navy);background:none;border:1.4px solid var(--steel);border-radius:8px;padding:10px 18px;
  transition:border-color .15s;
}
.ghost:hover{border-color:var(--navy)}

/* trust row */
.trust{display:flex;gap:18px;justify-content:center;flex-wrap:wrap;margin-top:34px;padding-top:18px;border-top:1px solid var(--line)}
.trust span{font-size:.74rem;color:var(--mut);letter-spacing:.03em}
.trust b{color:var(--slate);font-weight:600}

footer{margin-top:46px;text-align:center;font-size:.74rem;color:var(--mut)}
footer a{color:var(--slate);text-decoration:none}
footer a:hover{text-decoration:underline}
.skel{height:44px;border-radius:8px;background:linear-gradient(90deg,var(--paper-2),#fff,var(--paper-2));background-size:200% 100%;animation:sh 1.2s linear infinite}
@keyframes sh{to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){.skel{animation:none}}

/* ClearTech Growth page (/ctg) — scoped entirely to html.ctg; the other two pages are untouched.
   Palette sampled from the CTG logo; teal/green are the darkened text-safe values. */
.ctg-only,.ctg-inline,.ctg-logo{display:none}
html.ctg .ctg-only{display:block}
html.ctg .ctg-inline{display:inline}
html.ctg .not-ctg{display:none!important}
html.ctg #view-menu{display:none}
html.ctg{
  --paper:#ffffff; --paper-2:#f3f6fa; --card:#ffffff; --ink:#1f2933; --mut:#5b6672;
  --navy:#0A2A52; --slate:#0B62B8; --steel:#a9c3df;
  --gold:#08717A; --gold-2:#0E8C96; --line:#dce5ee;
  --green:#2F7D0C;
  --serif:var(--sans);
}
html.ctg body::before{opacity:0}
html.ctg .ctg-logo{display:block;width:72px;height:72px;flex-shrink:0;background:url(/booking/ctg-logo-200.png) center/contain no-repeat}
html.ctg .head-name{font-family:var(--sans);font-weight:700;font-size:1.1rem;letter-spacing:.01em}
html.ctg h1{font-weight:700;letter-spacing:-.02em}
html.ctg h1 em{color:var(--green)}
html.ctg .eyebrow{color:var(--gold)}
html.ctg .tname,html.ctg .pick-title,html.ctg .sumline,html.ctg .conf-title,html.ctg .day .dn{font-weight:650}
html.ctg .chip{background:rgba(8,113,122,.07);border-color:var(--gold-2)}
html.ctg .tcard::after{border-color:rgba(10,42,82,.08)}
html.ctg .tcard:hover,html.ctg .tcard:focus-visible,html.ctg .menu-card:hover{box-shadow:0 10px 26px rgba(10,42,82,.12)}
html.ctg .seal{background:linear-gradient(160deg,#fff,#eaf3f4);border-color:var(--gold)}
html.ctg .seal svg{stroke:var(--gold)}
html.ctg .tgo{color:var(--slate)}
html.ctg .slot:hover,html.ctg .slot:focus-visible{border-color:var(--gold-2);background:rgba(8,113,122,.06)}
html.ctg .pending{color:var(--gold);background:rgba(8,113,122,.08);border-color:var(--gold-2)}
html.ctg .cta:hover{background:#071f3d}
html.ctg .confirm::before{background:linear-gradient(90deg,var(--gold-2),var(--green),var(--gold-2))}
html.ctg .conf-seal{border-color:var(--green)}
html.ctg .conf-seal svg{stroke:var(--green)}
html.ctg .check input{accent-color:var(--navy)}
html.ctg .err{color:#a1342b}
html.ctg .trust a,html.ctg .conf-sub a{color:var(--slate)}
html.ctg .pending a{color:var(--gold)}

/* Sytful Minds page (/booking) — tokens from sytfulminds.com (light theme). */
html.sytful{
  --paper:#f1eee3; --paper-2:#e9e5d6; --card:#fbfaf5; --ink:#1a2a22; --mut:#54685d;
  --navy:#0b6b4a; --slate:#095238; --steel:#9cc3b0;
  --gold:#8f6c14; --gold-2:#b5920f; --line:rgba(23,52,42,.14);
}
html.sytful body::before{background-image:radial-gradient(rgba(23,52,42,.05) 1px, transparent 1px)}
.sy-mark{width:46px;height:46px;border-radius:50%;flex-shrink:0;object-fit:cover;border:1.5px solid var(--navy);background:var(--card)}
html.sytful .head-name{font-size:1.15rem;color:var(--ink)}
html.sytful .head-name em{font-style:italic;color:var(--navy)}
html.sytful h1{color:var(--ink)}
html.sytful h1 em{color:var(--navy)}
html.sytful .eyebrow{color:var(--navy);font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-weight:500;letter-spacing:.14em}
html.sytful .tname,html.sytful .pick-title,html.sytful .sumline,html.sytful .conf-title,html.sytful .day .dn{color:var(--ink)}
html.sytful .chip{background:rgba(11,107,74,.07);border-color:var(--steel);color:var(--navy)}
html.sytful .tcard::after{border-color:rgba(11,107,74,.10)}
html.sytful .tcard:hover,html.sytful .tcard:focus-visible{box-shadow:0 10px 26px rgba(31,42,36,.12)}
html.sytful .seal{background:linear-gradient(160deg,#fff,#e6efe9)}
html.sytful .day .dc{color:var(--navy)}
html.sytful .slot:hover,html.sytful .slot:focus-visible{border-color:var(--navy);background:rgba(11,107,74,.06)}
html.sytful .pending{color:#6b520f;background:rgba(181,146,15,.08)}
html.sytful .cta{color:#f5fbf7}
html.sytful .cta:hover{background:#095238}
html.sytful .confirm::before{background:linear-gradient(90deg,var(--steel),var(--navy),var(--steel))}
html.sytful .conf-seal{border-color:var(--navy)}
html.sytful .conf-seal svg{stroke:var(--navy)}
html.sytful .trust a,html.sytful .conf-sub a,html.sytful .pending a{color:var(--navy)}
html.sytful .err{color:#9a3b32}
footer .sep{opacity:.5;padding:0 .35em}

/* ?embed=1: the parent page (/links, ctg.sytfulminds.com/booking) already shows the brand header and footer. */
html.embed header,html.embed footer{display:none}
html.embed .wrap{padding-bottom:24px}
html.embed body::before{opacity:0}
