/* TT Calendar: the TT Does It All concierge look, with black and white swapped.
   Colors, fonts and spacing come straight from the concierge site; only the black/white pair is reversed
   (page = their black, text = their white). Pink, heather gray and the cream tab bar stay exactly as they are. */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url(/fonts/CormorantGaramond-Italic.ttf) format("truetype"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/manrope-latin-variable.woff2) format("woff2"); }

:root {
  --bg: #121114;          /* was their black, now the page */
  --ink: #FFFFFF;         /* was their white, now the text */
  --ink-soft: #F4F4F6;    /* body paragraphs */
  --raised: #1b1a1e;      /* a hair lighter than the page, for sheets */
  --taupe: #8E93A0;
  --blush: #F6C9DA;
  --blush-deep: #EEA7C4;
  --rose: #E2789B;
  --rose-bright: #EE8FB0;
  --hairline: rgba(142, 147, 160, 0.32);
  --cream: rgba(247, 243, 236, 0.94);   /* tab bar: unchanged, it is what separates the bar from the page */
  --nav-ink: #121114;
  --confirm: #7A9B7E;
  --danger: #E2789B;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", -apple-system, "Helvetica Neue", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; overscroll-behavior-x: none; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); min-height: 100dvh; -webkit-font-smoothing: antialiased; font-weight: 400; overflow-x: hidden; }
.shell { max-width: 620px; margin: 0 auto; padding: 0 30px calc(120px + env(safe-area-inset-bottom)); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 1px solid var(--rose-bright); outline-offset: 4px; border-radius: 2px; }
[hidden] { display: none !important; }

/* ---------- top bar ---------- */
.top { display: flex; align-items: center; justify-content: space-between; padding: calc(34px + env(safe-area-inset-top)) 0 26px; }
.top img { height: 74px; width: 74px; object-fit: contain; margin-left: -8px; }
.avatar { width: 42px; height: 42px; border: 1px solid var(--blush-deep); border-radius: 50%; background: #fff8fb; color: var(--rose); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 17px; letter-spacing: .1em; }

/* ---------- the slow pink line of words ---------- */
.whisper { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); overflow: hidden; padding: 15px 0; white-space: nowrap; }
.whisper span { display: inline-block; font-size: 9px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--rose); font-weight: 500; animation: whis 46s linear infinite; }
@keyframes whis { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- type ---------- */
.label { font-size: 10px; letter-spacing: 0.42em; text-transform: uppercase; color: var(--taupe); font-weight: 500; }
.eyebrow { margin-top: 58px; }
.story { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 11vw, 52px); line-height: 1.12; letter-spacing: 0.005em; margin-top: 18px; }
.story i { font-style: normal; color: var(--rose); }
.prose { font-family: var(--serif); font-size: 21px; line-height: 1.65; color: var(--ink-soft); margin-top: 26px; }
.prose + .prose { margin-top: 18px; }
.sig { margin-top: 28px; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--rose); }
.fine { font-size: 11.5px; line-height: 1.8; color: var(--taupe); letter-spacing: 0.02em; }
.error { margin-top: 18px; font-size: 13px; line-height: 1.6; color: var(--rose-bright); letter-spacing: .02em; }

/* the underlined call-to-action */
.cta { display: inline-block; margin-top: 44px; font-family: var(--sans); font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase; font-weight: 600; color: var(--ink); padding: 0 0 12px; border-bottom: 1px solid var(--ink); text-decoration: none; transition: color .5s, border-color .5s, letter-spacing .5s; }
.cta:hover, .cta:focus-visible { color: var(--rose-bright); border-color: var(--rose-bright); letter-spacing: 0.44em; }
.cta[disabled] { color: var(--taupe); border-color: var(--hairline); cursor: default; }
.cta.quiet { color: var(--taupe); border-color: var(--hairline); margin-right: 26px; }
.cta.rose { color: var(--rose); border-color: var(--blush-deep); }
.linkbtn { font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; color: var(--taupe); padding: 8px 0; }
.linkbtn:hover { color: var(--rose-bright); }
.linkbtn[disabled] { opacity: .3; cursor: default; }

/* ---------- choosing a service ---------- */
.rows { margin-top: 40px; border-top: 1px solid var(--hairline); }
.row { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 18px; text-align: left; padding: 26px 0; border-bottom: 1px solid var(--hairline); }
.row .name { font-family: var(--serif); font-size: 27px; line-height: 1.15; }
.row .when { margin-top: 10px; font-size: 9px; letter-spacing: .34em; text-transform: uppercase; color: var(--rose); font-weight: 600; }
.row .blurb { margin-top: 8px; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--taupe); }
.row .go { color: var(--rose); font-size: 20px; transition: transform .4s; }
.row:hover .go, .row:focus-visible .go { transform: translateX(6px); }

/* ---------- the month ---------- */
.monthbar { display: flex; align-items: center; justify-content: space-between; margin-top: 40px; }
.monthbar .m { font-family: var(--serif); font-size: 26px; }
.grid { display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 18px; row-gap: 6px; }
.grid .dow { text-align: center; font-size: 9px; letter-spacing: .2em; color: var(--taupe); font-weight: 600; padding-bottom: 12px; }
.day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 22px; border-radius: 50%; border: 1px solid transparent; transition: border-color .3s, color .3s; }
.day[disabled] { color: var(--taupe); opacity: .35; cursor: default; }
.day:not([disabled]):hover { border-color: var(--blush-deep); }
.day.today { text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: 6px; }
.day.on { border-color: var(--rose); color: var(--rose-bright); }

/* ---------- times ---------- */
.times { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
.time { min-height: 60px; border: 1px solid var(--hairline); border-radius: 10px; font-family: var(--serif); font-size: 24px; transition: border-color .3s, color .3s; }
.time:hover { border-color: var(--blush-deep); }
.time.on { border-color: var(--rose); color: var(--rose-bright); }
.time.wide { grid-column: 1 / -1; }
.time.long { font-size: 21px; }
.empty { margin-top: 36px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--taupe); line-height: 1.6; }

/* ---------- forms ---------- */
.field { display: block; margin-top: 30px; }
.field .label { display: block; }
.field input, .field textarea, .field select { width: 100%; margin-top: 4px; background: transparent; border: 0; border-bottom: 1px solid var(--hairline); border-radius: 0; color: var(--ink); font-family: var(--serif); font-size: 24px; padding: 10px 0 12px; outline: none; transition: border-color .3s; appearance: none; -webkit-appearance: none; }
.field textarea { resize: vertical; min-height: 84px; font-size: 20px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--rose); }
.field input[type="date"] { min-height: 56px; }
.field select { background-image: none; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.consent { display: flex; gap: 14px; align-items: flex-start; margin-top: 34px; text-align: left; }
.consent .box { flex: 0 0 22px; height: 22px; margin-top: 2px; border: 1px solid var(--blush-deep); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--rose); font-size: 14px; }
.consent .words { font-family: var(--serif); font-size: 18px; line-height: 1.5; color: var(--ink-soft); }
.consent .words small { display: block; margin-top: 6px; font-family: var(--sans); font-size: 11px; line-height: 1.7; color: var(--taupe); letter-spacing: .02em; }
.summary { margin-top: 34px; border-top: 1px solid var(--hairline); }
.summary .line { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.summary .line span:first-child { font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--taupe); font-weight: 600; }
.summary .line strong { font-family: var(--serif); font-weight: 400; font-size: 20px; text-align: right; }
.back { display: inline-block; margin-top: 8px; }

/* ---------- bottom tab bar (cream, unchanged) ---------- */
nav.tabs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 80; background: var(--cream); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-top: 1px solid var(--hairline); padding: 0 0 env(safe-area-inset-bottom); }
.tabs-inner { max-width: 620px; margin: 0 auto; display: flex; }
.tab { flex: 1; padding: 21px 0 19px; font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--taupe); font-weight: 600; position: relative; transition: color .5s; }
.tab.active { color: var(--nav-ink); }
.tab.active::after { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 1px; background: var(--rose); }

/* ---------- LaToya's day ---------- */
.daynav { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; }
.weekstrip { display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 22px; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.wk { padding: 14px 0 12px; text-align: center; position: relative; }
.wk small { display: block; font-size: 8.5px; letter-spacing: .24em; color: var(--taupe); font-weight: 600; text-transform: uppercase; }
.wk b { display: block; margin-top: 6px; font-family: var(--serif); font-weight: 400; font-size: 22px; }
.wk i { display: block; margin: 7px auto 0; width: 4px; height: 4px; border-radius: 50%; background: transparent; }
.wk.has i { background: var(--rose); }
.wk.active b { color: var(--rose-bright); }
.wk.active::before { content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: 22px; height: 1px; background: var(--rose); }

.tl { position: relative; margin-top: 34px; margin-left: 52px; }
.hour { position: relative; height: 76px; border-top: 1px solid var(--hairline); }
.hour:last-of-type { border-bottom: 1px solid var(--hairline); }
.hour span { position: absolute; left: -52px; top: -7px; font-size: 9px; letter-spacing: .14em; color: var(--taupe); font-weight: 600; }
.tl-items { position: absolute; inset: 0; pointer-events: none; }
.ev { position: absolute; top: var(--top); height: var(--h); padding: 8px 10px 6px 12px; text-align: left; overflow: hidden; pointer-events: auto; border-left: 2px solid var(--c); background: var(--bg-c); border-radius: 2px; transition: background .3s; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; }
.ev:hover, .ev:focus-visible { background: var(--bg-hover); }
.ev .t { display: block; font-size: 8.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--c); font-weight: 700; }
.ev .n { display: block; margin-top: 4px; font-family: var(--serif); font-size: 19px; line-height: 1.15; max-width: 100%; }
.ev.compact { flex-direction: row; align-items: center; gap: 10px; padding-top: 0; padding-bottom: 0; }
.ev.compact .t { letter-spacing: .1em; flex: none; }
.ev.compact .n { min-width: 0; margin-top: 0; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-full { left: 6px; right: 0; } .l-left { left: 6px; right: 57%; } .l-right { left: 44%; right: 0; }
.l-left .t { letter-spacing: .16em; }
.l-left .n { font-size: 17px; overflow-wrap: anywhere; }
.l-left { padding-right: 6px; }
.k-install { --c: var(--rose); --bg-c: rgba(226, 120, 155, .16); --bg-hover: rgba(226, 120, 155, .24); }
.k-maintenance { --c: #E9AFC8; --bg-c: rgba(233, 175, 200, .14); --bg-hover: rgba(233, 175, 200, .22); }
.k-consultation { --c: var(--blush); --bg-c: rgba(246, 201, 218, .12); --bg-hover: rgba(246, 201, 218, .2); }
.k-fit_call { --c: var(--ink); --bg-c: rgba(255, 255, 255, .1); --bg-hover: rgba(255, 255, 255, .16); }
.k-personal { --c: var(--taupe); --bg-c: repeating-linear-gradient(135deg, rgba(142,147,160,.18) 0 6px, transparent 6px 12px); --bg-hover: var(--bg-c); cursor: default; }
.k-block { --c: var(--blush-deep); --bg-c: repeating-linear-gradient(135deg, rgba(238,167,196,.2) 0 6px, transparent 6px 12px); --bg-hover: var(--bg-c); cursor: default; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; }
.legend span { font-size: 8.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.legend span::before { content: ""; width: 10px; height: 2px; background: var(--c); }
.demo { margin-top: 26px; font-size: 9px; letter-spacing: .32em; text-transform: uppercase; color: var(--rose); font-weight: 600; }

/* lists on the other tabs */
.list { margin-top: 30px; border-top: 1px solid var(--hairline); }
.item { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--hairline); }
.item .main { font-family: var(--serif); font-size: 21px; line-height: 1.3; }
.item .sub { margin-top: 6px; font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: var(--taupe); font-weight: 600; }
.item .sub.rose { color: var(--rose); }
.msg { font-family: var(--serif); font-size: 18px; line-height: 1.55; color: var(--ink-soft); margin-top: 8px; word-break: break-word; }

/* the slide-up sheet */
.scrim { position: fixed; inset: 0; z-index: 120; background: rgba(0, 0, 0, .6); display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 620px; background: var(--raised); border-top: 1px solid var(--hairline); padding: 34px 30px calc(34px + env(safe-area-inset-bottom)); max-height: 88dvh; overflow-y: auto; animation: rise .45s cubic-bezier(.22, 1, .36, 1); }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet .story { font-size: 34px; margin-top: 12px; }
.sheet .cta { margin-top: 30px; }

@media (prefers-reduced-motion: reduce) {
  .whisper span { animation: none; }
  .sheet { animation: none; }
  .cta, .row .go, .tab { transition: none; }
}
