/* ============================================================
   Tech + Toast — Redesign v4 (single-page marketing site)
   Design source: design_handoff_techandtoast_site/
   Scoped under .tt-page so globally-loaded bootstrap/main.css
   cannot leak into (or out of) this page.
   ============================================================ */

.tt-page {
  --tt-white: #FFFCF6;   /* warm white */
  --tt-cream: #F7F1E3;   /* card / alt section */
  --tt-badge: #F4EDDF;
  --tt-placeholder: #EFE7D6;
  --tt-ink: #17130C;     /* near black */
  --tt-ink-2: #2A241A;
  --tt-body: #6B6357;
  --tt-muted: #A39A8A;
  --tt-body-dark: #B7AFA1;
  --tt-orange: #FF5B04;
  --tt-orange-hover: #E85200;
  --tt-orange-tint: #FF9A62;
  --tt-green: #008060;

  min-height: 100vh;
  background: var(--tt-white);
  color: var(--tt-ink);
  font-family: 'Gabarito', 'Helvetica Neue', Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.tt-page *,
.tt-page *::before,
.tt-page *::after { box-sizing: border-box; }

.tt-page ::selection { background: var(--tt-orange); color: var(--tt-white); }

/* Border radius: 0 everywhere per spec */
.tt-page a,
.tt-page button,
.tt-page input,
.tt-page textarea,
.tt-page img,
.tt-page .tt-card { border-radius: 0; }

/* ---------- Keyframes ---------- */
@keyframes ttmarquee { to { transform: translateX(-50%); } }
@keyframes ttfade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes ttimg { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Scroll reveal ---------- */
.tt-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.tt-reveal.tt-reveal--in { opacity: 1; transform: none; }

/* ---------- Nav ---------- */
.tt-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 252, 246, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.tt-nav__inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px; height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.tt-nav__logo { display: flex; align-items: center; text-decoration: none; flex: none; outline-offset: 3px; }
.tt-nav__logo img { height: 48px; width: auto; display: block; filter: brightness(0); }
.tt-nav__links { display: flex; align-items: center; gap: 6px; }
.tt-navlink {
  font-weight: 600; font-size: 15px; color: var(--tt-ink); text-decoration: none;
  padding: 11px 18px; transition: background 0.2s ease; outline-offset: 2px;
}
.tt-navlink:hover { background: rgba(23, 19, 12, 0.06); }
.tt-navlink--cta {
  font-weight: 700; color: var(--tt-white); background: var(--tt-ink);
  padding: 12px 24px; margin-left: 6px;
  border: none; height: auto; line-height: normal; /* undo legacy main.css button chrome */
  transition: transform 0.2s ease, background 0.2s ease;
}
.tt-navlink--cta:hover { background: var(--tt-ink-2); transform: translateY(-1px); }
.tt-page a:focus-visible,
.tt-page button:focus-visible { outline: 2px solid var(--tt-orange); }

/* Hamburger toggle — hidden on desktop, shown on mobile */
.tt-nav__toggle {
  display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: transparent; border: none; cursor: pointer; padding: 0; margin-left: 4px; flex: none;
}
.tt-nav__toggle span { display: block; width: 24px; height: 2px; background: var(--tt-ink); }

/* Full-screen mobile menu — hidden by default. Rendered as a sibling of
   .tt-nav (see TTNav.tsx) and stacked above all page content. */
.tt-navmobile {
  position: fixed; inset: 0; z-index: 1000; background: var(--tt-white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.tt-navmobile--open { opacity: 1; visibility: visible; transform: none; }
.tt-navmobile__close {
  position: absolute; top: 20px; right: 22px; width: 44px; height: 44px;
  background: transparent; border: none; cursor: pointer; font-size: 34px; line-height: 1; color: var(--tt-ink); font-family: inherit;
}
.tt-navmobile__link {
  font-weight: 800; font-size: clamp(28px, 8vw, 40px); letter-spacing: -0.02em; color: var(--tt-ink);
  background: none; border: none; cursor: pointer; text-decoration: none; font-family: inherit; padding: 10px 16px;
}
.tt-navmobile__link:hover { color: var(--tt-orange); }
.tt-navmobile__cta { margin-top: 12px; color: var(--tt-white); background: var(--tt-ink); font-size: 20px; font-weight: 700; padding: 16px 32px; height: auto; line-height: normal; }
.tt-navmobile__cta:hover { background: var(--tt-orange); color: var(--tt-white); }

/* ---------- Buttons (system) ---------- */
.tt-btn { font-family: inherit; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: none; line-height: 1; height: auto; }
.tt-btn--orange {
  font-weight: 700; font-size: 17px; color: var(--tt-white); background: var(--tt-orange);
  padding: 18px 36px; box-shadow: 0 10px 30px rgba(255, 91, 4, 0.28);
  transition: transform 0.2s ease, background 0.2s ease; outline-offset: 3px;
}
.tt-btn--orange:hover { background: var(--tt-orange-hover); transform: translateY(-2px); }
.tt-btn--outline-light {
  font-weight: 700; font-size: 17px; color: var(--tt-white); background: transparent;
  padding: 15px 34px; border: 2px solid var(--tt-white);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; outline-offset: 3px;
}
.tt-btn--outline-light:hover { background: var(--tt-orange); border-color: var(--tt-orange); color: var(--tt-white); }
.tt-btn--outline {
  font-weight: 700; font-size: 15px; color: var(--tt-ink); background: transparent;
  padding: 13px 26px; border: 2px solid var(--tt-ink);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; outline-offset: 3px;
}
.tt-btn--outline:hover { background: var(--tt-orange); border-color: var(--tt-orange); color: var(--tt-white); }
.tt-btn--dark {
  font-weight: 700; font-size: 17px; color: var(--tt-white); background: var(--tt-ink);
  padding: 18px 36px; transition: transform 0.2s ease, background 0.2s ease; outline-offset: 3px;
}
.tt-btn--dark:hover { background: var(--tt-orange); transform: translateY(-2px); }
.tt-btn--inverse {
  font-weight: 700; font-size: 17px; color: var(--tt-ink); background: var(--tt-white);
  padding: 17px 32px; transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease; outline-offset: 3px;
}
.tt-btn--inverse:hover { background: var(--tt-orange); color: var(--tt-white); transform: translateY(-2px); }

/* ---------- Layout helpers ---------- */
.tt-section { scroll-margin-top: 76px; }
.tt-container { max-width: 1180px; margin: 0 auto; padding: clamp(72px, 9vw, 120px) 24px; }
.tt-kicker { margin: 0 0 16px; text-align: center; font-weight: 700; font-size: 14px; letter-spacing: 0.14em; color: var(--tt-orange); text-transform: uppercase; }
.tt-h2 { margin: 0 auto; text-align: center; font-weight: 800; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -0.03em; color: var(--tt-ink); text-wrap: balance; }

/* ---------- Hero ---------- */
.tt-hero { position: relative; overflow: hidden; background: var(--tt-ink); scroll-margin-top: 76px; }
.tt-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: ttimg 0.8s ease; }
.tt-hero__scrim { position: absolute; inset: 0; background: rgba(23, 19, 12, 0.68); }
.tt-hero__inner {
  position: relative; z-index: 1; max-width: 1000px; margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) 24px clamp(48px, 6vw, 80px);
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.tt-hero__stage { min-height: clamp(360px, 40vw, 470px); width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.tt-hero__slide { display: flex; flex-direction: column; align-items: center; animation: ttfade 0.6s ease; }
.tt-hero__title { margin: 0 0 24px; font-weight: 800; font-size: clamp(44px, 7vw, 92px); line-height: 0.98; letter-spacing: -0.035em; color: var(--tt-white); text-wrap: balance; }
.tt-hero__desc { margin: 0 0 40px; max-width: 620px; font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: #E3DCCD; text-wrap: pretty; }
.tt-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; align-items: center; }
.tt-hero__dots { display: flex; gap: 10px; margin-top: 28px; align-items: center; justify-content: center; }
.tt-dot { height: 10px; width: 10px; border: none; padding: 0; cursor: pointer; flex: none; background: rgba(255, 252, 246, 0.35); transition: width 0.3s ease, background 0.3s ease; outline-offset: 2px; }
.tt-dot--active { width: 28px; background: var(--tt-white); }

/* ---------- Marquee ---------- */
.tt-marquee { border-top: 1px solid rgba(23, 19, 12, 0.08); border-bottom: 1px solid rgba(23, 19, 12, 0.08); background: var(--tt-ink); overflow: hidden; padding: 18px 0; }
.tt-marquee__track { display: flex; width: max-content; animation: ttmarquee 36s linear infinite; }
.tt-marquee__group { display: flex; align-items: center; gap: 14px; padding-right: 14px; }
.tt-marquee__pill { font-weight: 600; font-size: 15px; color: var(--tt-white); background: rgba(255, 252, 246, 0.08); padding: 9px 20px; white-space: nowrap; }

/* ---------- How it works ---------- */
.tt-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(540px, 100%), 1fr)); gap: 20px; }
.tt-steps__pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; min-width: 0; }
.tt-step { background: var(--tt-cream); padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; }
.tt-step__head { display: flex; align-items: center; gap: 16px; }
.tt-step__num { width: 44px; height: 44px; background: var(--tt-orange); display: flex; align-items: center; justify-content: center; color: var(--tt-white); font-weight: 800; font-size: 18px; flex: none; }
.tt-step__title { margin: 0; font-weight: 800; font-size: 24px; letter-spacing: -0.02em; color: var(--tt-ink); }
.tt-step__desc { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--tt-body); text-wrap: pretty; }

/* ---------- Pricing ---------- */
.tt-pricing { background: var(--tt-cream); scroll-margin-top: 76px; }
.tt-pricing__sub { margin: 0 auto clamp(44px, 6vw, 64px); max-width: 560px; text-align: center; font-size: 17.5px; line-height: 1.6; color: var(--tt-body); text-wrap: pretty; }
.tt-pricing__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; align-items: stretch; }
.tt-pricing__col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.tt-pcard { background: var(--tt-white); padding: clamp(28px, 3.5vw, 36px); flex: 1; display: flex; flex-direction: column; }
.tt-pcard__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.tt-pcard__title { margin: 0 0 14px; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--tt-ink); }
.tt-pcard__head .tt-pcard__title { margin-bottom: 0; }
.tt-pcard__tag { font-weight: 700; font-size: 11px; letter-spacing: 0.1em; color: var(--tt-orange); background: rgba(255, 91, 4, 0.1); padding: 6px 12px; white-space: nowrap; }
.tt-pcard__price { margin: 0 0 4px; font-weight: 800; font-size: 36px; letter-spacing: -0.03em; line-height: 1; }
.tt-pcard__price span { font-size: 17px; font-weight: 600; color: var(--tt-muted); }
.tt-pcard__desc { margin: 14px 0 20px; font-size: 15.5px; line-height: 1.55; color: var(--tt-body); text-wrap: pretty; }
.tt-pcard .tt-btn--outline { margin-top: auto; align-self: flex-start; }

.tt-premier { background: var(--tt-ink); color: var(--tt-white); padding: clamp(32px, 4vw, 44px); display: flex; flex-direction: column; box-shadow: 0 24px 60px rgba(23, 19, 12, 0.18); }
.tt-premier__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 26px; flex-wrap: wrap; }
.tt-premier__title { margin: 0; font-weight: 800; font-size: 24px; letter-spacing: -0.02em; color: var(--tt-white); }
.tt-premier__toggle { display: inline-flex; align-items: center; align-self: flex-start; padding: 4px; background: rgba(255, 252, 246, 0.08); border: 1px solid rgba(255, 252, 246, 0.18); border-radius: 999px; margin-bottom: 20px; }
.tt-premier__toggle button { font-family: inherit; font-weight: 700; font-size: 13px; height: auto; line-height: 1; padding: 8px 18px; border: none; border-radius: 999px; vertical-align: middle; background: transparent; color: var(--tt-body-dark); cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.tt-premier__toggle button::before { content: none; }
.tt-premier__toggle button:hover { color: var(--tt-white); }
.tt-premier__toggle button.is-active { background: var(--tt-orange); color: var(--tt-white); }
.tt-premier__price { margin: 0 0 6px; font-weight: 800; font-size: clamp(44px, 5vw, 58px); letter-spacing: -0.03em; line-height: 1; }
.tt-premier__price span { font-size: 20px; font-weight: 600; color: var(--tt-body-dark); }
.tt-premier__desc { margin: 0 0 28px; font-size: 15.5px; line-height: 1.55; color: var(--tt-body-dark); text-wrap: pretty; }
.tt-premier__list { display: flex; flex-direction: column; gap: 13px; margin-bottom: 32px; }
.tt-premier__item { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.tt-premier__item span:first-child { width: 7px; height: 7px; background: var(--tt-orange); flex: none; }
.tt-premier .tt-btn--inverse { margin-top: auto; }

.tt-infotiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; margin-top: 20px; }
.tt-infotile { background: var(--tt-white); padding: 24px 26px; display: flex; gap: 16px; align-items: flex-start; }
.tt-infotile__icon { width: 36px; height: 36px; background: var(--tt-cream); display: flex; align-items: center; justify-content: center; flex: none; }
.tt-infotile__icon span { width: 10px; height: 10px; }
.tt-infotile h4 { margin: 0 0 4px; font-weight: 700; font-size: 16.5px; color: var(--tt-ink); }
.tt-infotile p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--tt-body); }

/* ---------- TOASTPRO ---------- */
.tt-toastpro { background: var(--tt-ink); color: var(--tt-white); scroll-margin-top: 76px; }
.tt-toastpro__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; }
/* TOASTPRO wordmark — mirrors the app.techandtoast.io nav logo:
   Geist bold, tight tracking, TOAST white / PRO white-80 */
.tt-toastpro__wordmark { display: inline-block; font-family: 'Geist', 'Gabarito', 'Helvetica Neue', Helvetica, sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -0.025em; margin-bottom: 22px; }
.tt-toastpro__wordmark span:first-child { color: #fff; }
.tt-toastpro__wordmark span:last-child { color: rgba(255, 255, 255, 0.8); }
.tt-toastpro h2 { margin: 0 0 20px; font-weight: 800; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.03em; color: var(--tt-white); text-wrap: balance; }
.tt-toastpro p { margin: 0 0 28px; font-size: 17px; line-height: 1.6; color: var(--tt-body-dark); text-wrap: pretty; }
.tt-toastpro__soon { font-weight: 800; font-size: 14px; letter-spacing: 0.16em; color: var(--tt-orange-tint); background: rgba(255, 91, 4, 0.14); padding: 10px 20px; display: inline-block; }
.tt-toastpro__shot { width: 100%; height: auto; display: block; border: 1px solid rgba(255, 252, 246, 0.1); }

/* ---------- Work ---------- */
/* Reuse the /about "Experience" logo grid (lux-experience CSS lives in redesign.css).
   The Work section sits on a light background, so filter the white brand SVGs to black. */
/* minmax(0, 1fr) tracks + min-width: 0 items: the brand SVGs have no intrinsic
   size, so plain 1fr tracks won't shrink below their min-content width and the
   grid blows out past the viewport on phones. */
.tt-work__logos { margin: 0 auto clamp(40px, 5vw, 56px); grid-template-columns: repeat(9, minmax(0, 1fr)); max-width: min(900px, 100%); }
.tt-work__logos .lux-experience__logo-wrap { min-width: 0; }
.tt-work__logos .lux-experience__logo { filter: brightness(0); opacity: 0.55; }
/* NFL is a two-tone SVG (white shield + near-black pattern); brightness(0)
   would flatten it to a solid shape. Invert instead so the shield reads dark
   and the pattern reads light, preserving the knockout on the light background. */
.tt-work__logos .lux-experience__logo[alt="NFL"] { filter: invert(1); }
/* Work index page: work cards laid out in a responsive grid. */
.tt-workgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 18px; }
.tt-workgrid .tt-workcard { height: 100%; }
.tt-workcard {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px;
  overflow: hidden; text-decoration: none; color: var(--tt-white);
  transition: transform 0.2s ease, box-shadow 0.2s ease; outline-offset: 3px;
}
.tt-workcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(23, 19, 12, 0.25); }
.tt-workcard__img { position: absolute; inset: 0; background-color: var(--tt-placeholder); background-size: cover; background-position: center; }
.tt-workcard__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 19, 12, 0) 40%, rgba(23, 19, 12, 0.85) 100%); }
.tt-workcard__body { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; line-height: 1.2; }
.tt-workcard__cat { font-weight: 700; font-size: 12px; letter-spacing: 0.08em; color: var(--tt-orange-tint); }
.tt-workcard__name { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tt-workcard__name b { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; color: var(--tt-white); }
.tt-workcard__name i { font-style: normal; font-weight: 700; font-size: 15px; color: rgba(255, 252, 246, 0.75); flex: none; }

/* ---------- Team ---------- */
.tt-team__intro { margin: 0 auto clamp(44px, 6vw, 64px); max-width: 820px; text-align: center; font-size: clamp(17px, 1.9vw, 21px); line-height: 1.6; color: var(--tt-body); text-wrap: pretty; }
.tt-team__intro strong { color: var(--tt-ink); }

/* ---------- FAQ ---------- */
.tt-faq { background: var(--tt-cream); scroll-margin-top: 76px; }
.tt-faq__inner { max-width: 820px; margin: 0 auto; padding: clamp(72px, 9vw, 120px) 24px; }
.tt-faq h2 { margin: 0 0 clamp(36px, 5vw, 56px); text-align: center; font-weight: 800; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.04; letter-spacing: -0.03em; color: var(--tt-ink); }
.tt-faq__list { display: flex; flex-direction: column; gap: 12px; }
.tt-faq details { background: var(--tt-white); overflow: hidden; }
.tt-faq summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 700; font-size: 18px; outline-offset: -2px; transition: color 0.2s ease; }
.tt-faq summary::-webkit-details-marker { display: none; }
.tt-faq summary:hover { color: var(--tt-orange); }
.tt-faq summary span { font-weight: 400; font-size: 22px; color: var(--tt-muted); flex: none; }
.tt-faq details[open] summary span { color: var(--tt-orange); }
.tt-faq p { margin: 0; padding: 0 26px 24px; font-size: 16px; line-height: 1.6; color: var(--tt-body); text-wrap: pretty; white-space: pre-line; }

/* ---------- Book a call ---------- */
.tt-book__inner { max-width: 900px; margin: 0 auto; padding: clamp(80px, 11vw, 150px) 24px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.tt-book h2 { margin: 0 0 20px; max-width: 800px; font-weight: 800; font-size: clamp(36px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -0.035em; color: var(--tt-ink); text-wrap: balance; }
.tt-book__sub { margin: 0 0 40px; max-width: 520px; font-size: 18px; line-height: 1.55; color: var(--tt-body); text-wrap: pretty; }
.tt-book__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.tt-book__ctas .tt-btn--outline { font-size: 17px; padding: 16px 32px; }
.tt-book__contact { margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.tt-book__link { font-weight: 600; font-size: 16px; text-decoration: none; }
.tt-book__email { font-size: 17px; }
.tt-book__phones { display: flex; gap: 12px 56px; flex-wrap: wrap; justify-content: center; align-items: flex-start; }
.tt-book__phone-group { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tt-book__region { font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tt-muted); }
.tt-dot-green { width: 9px; height: 9px; background: var(--tt-green); flex: none; }

/* ---------- Footer (matches v4 mockup: logo + two muted lines) ---------- */
.tt-footer { background: var(--tt-ink); color: var(--tt-white); }
.tt-footer__inner { max-width: 1180px; margin: 0 auto; padding: 40px 24px; display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.tt-footer__logo { height: 40px; width: auto; display: block; }
.tt-footer__meta { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.tt-footer__meta p { margin: 0; font-size: 14px; font-weight: 600; color: var(--tt-body-dark); }

/* ---------- Modals ---------- */
.tt-modal { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(23, 19, 12, 0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* Calendly booking modal */
.tt-calendly { width: 100%; max-width: 900px; height: min(86vh, 820px); background: var(--tt-white); box-shadow: 0 40px 90px rgba(23, 19, 12, 0.35); display: flex; flex-direction: column; overflow: hidden; }
.tt-calendly__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid rgba(23, 19, 12, 0.08); flex: none; }
.tt-calendly__title { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; color: var(--tt-ink); }
.tt-calendly__frame { flex: 1 1 auto; width: 100%; border: none; display: block; }

.tt-modal__dialog { width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; background: var(--tt-white); box-shadow: 0 40px 90px rgba(23, 19, 12, 0.35); }
.tt-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 24px; border-bottom: 1px solid rgba(23, 19, 12, 0.08); }
.tt-modal__title { font-weight: 800; font-size: 16px; letter-spacing: -0.01em; }
.tt-modal__esc { background: var(--tt-cream); border: none; color: var(--tt-body); font-family: inherit; font-weight: 700; font-size: 13px; padding: 8px 14px; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.tt-modal__esc:hover { background: var(--tt-orange); color: var(--tt-white); }
.tt-modal__body { padding: 24px; }
.tt-modal__heading { margin: 0 0 18px; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.tt-plans { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.tt-plan { display: block; width: 100%; text-align: left; cursor: pointer; font-family: inherit; background: var(--tt-white); border: 2px solid rgba(23, 19, 12, 0.12); padding: 15px 16px; transition: border-color 0.2s ease, background 0.2s ease; }
.tt-plan--active { background: rgba(255, 91, 4, 0.07); border-color: var(--tt-orange); }
.tt-plan__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; }
.tt-plan__name { font-weight: 800; font-size: 16px; color: var(--tt-ink); }
.tt-plan__price { font-weight: 700; font-size: 14px; color: var(--tt-orange); flex: none; }
.tt-plan__desc { display: block; text-align: left; font-size: 13.5px; line-height: 1.5; color: var(--tt-body); margin-top: 6px; }
.tt-modal__submit { width: 100%; font-family: inherit; font-weight: 700; font-size: 16px; color: var(--tt-white); background: var(--tt-orange); padding: 16px 24px; border: none; cursor: pointer; transition: background 0.2s ease; }
.tt-modal__submit:hover { background: var(--tt-orange-hover); }
.tt-modal__summary { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 18px; margin-bottom: 20px; background: var(--tt-cream); }
.tt-modal__summary span:first-child { font-weight: 700; font-size: 14px; }
.tt-modal__summary span:last-child { font-weight: 700; font-size: 14px; color: var(--tt-orange); flex: none; }
.tt-field { display: block; margin-bottom: 16px; }
.tt-field__label { display: block; font-weight: 700; font-size: 12px; letter-spacing: 0.08em; color: var(--tt-muted); margin-bottom: 7px; }
.tt-input { width: 100%; box-sizing: border-box; background: var(--tt-white); border: 2px solid rgba(23, 19, 12, 0.12); padding: 13px 16px; color: var(--tt-ink); font-family: inherit; font-size: 15px; outline: none; transition: border-color 0.2s ease; }
.tt-input:focus { border-color: var(--tt-orange); }
textarea.tt-input { resize: vertical; line-height: 1.6; }
.tt-card-group { margin-bottom: 16px; }
.tt-card-box { border: 2px solid rgba(23, 19, 12, 0.12); overflow: hidden; }
.tt-card-box input { width: 100%; box-sizing: border-box; background: var(--tt-white); border: none; padding: 13px 16px; color: var(--tt-ink); font-family: inherit; font-size: 15px; outline: none; }
.tt-card-box input:focus { background: var(--tt-cream); }
.tt-card-box__num { border-bottom: 1px solid rgba(23, 19, 12, 0.1); }
.tt-card-box__row { display: grid; grid-template-columns: 1fr 1fr; }
.tt-card-box__row input:first-child { border-right: 1px solid rgba(23, 19, 12, 0.1); }
.tt-modal__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
.tt-modal__back { background: transparent; border: none; padding: 4px 0; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 13px; color: var(--tt-muted); transition: color 0.2s ease; }
.tt-modal__back:hover { color: var(--tt-ink); }
.tt-modal__note { font-size: 12px; font-weight: 600; color: var(--tt-muted); }
.tt-modal__success { padding: 44px 24px 36px; text-align: center; }
.tt-modal__success-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; background: #E8F5EE; margin-bottom: 18px; }
.tt-modal__success-icon span { width: 14px; height: 14px; background: var(--tt-green); }
.tt-modal__success h3 { margin: 0 0 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; color: var(--tt-ink); }
.tt-modal__success p { margin: 0 auto 26px; max-width: 340px; font-size: 15.5px; line-height: 1.55; color: var(--tt-body); text-wrap: balance; }
.tt-modal__done { font-family: inherit; font-weight: 700; font-size: 15px; color: var(--tt-ink); background: var(--tt-cream); border: none; padding: 13px 30px; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.tt-modal__done:hover { background: var(--tt-orange); color: var(--tt-white); }

/* ---------- Work detail page ---------- */
.tt-detail-hero { position: relative; min-height: clamp(340px, 46vw, 520px); display: flex; align-items: flex-end; overflow: hidden; background: var(--tt-ink); }
.tt-detail-hero__img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.tt-detail-hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 19, 12, 0.25) 30%, rgba(23, 19, 12, 0.82) 100%); }
.tt-detail-hero__inner { position: relative; max-width: 1180px; width: 100%; margin: 0 auto; padding: clamp(40px, 6vw, 72px) 24px; }
.tt-detail-hero__cat { margin: 0 0 12px; font-weight: 700; font-size: 14px; letter-spacing: 0.14em; color: rgba(255, 252, 246, 0.8); text-transform: uppercase; }
.tt-detail-hero__title { margin: 0; font-weight: 800; font-size: clamp(36px, 5.4vw, 72px); line-height: 1.0; letter-spacing: -0.035em; color: var(--tt-white); text-wrap: balance; }

.tt-detail-body { max-width: 820px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) 24px; }
.tt-detail-lead { margin: 0 0 clamp(36px, 5vw, 52px); font-size: clamp(19px, 2.1vw, 24px); line-height: 1.5; letter-spacing: -0.01em; color: var(--tt-ink); text-wrap: pretty; }

/* ---------- Product configurator ----------
   One live price in the header, the What's included checklist beneath it
   (mirrors the homepage premier card), then the option groups. */
.tt-config { background: var(--tt-cream); padding: clamp(24px, 3.4vw, 36px); margin: 0 0 clamp(40px, 6vw, 60px); }
.tt-config__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid rgba(23, 19, 12, 0.1); }
.tt-config__pricewrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.tt-config__price { margin: 0; font-weight: 800; font-size: clamp(34px, 4.2vw, 44px); letter-spacing: -0.03em; color: var(--tt-ink); font-variant-numeric: tabular-nums; }
.tt-config__price span { font-size: 16px; font-weight: 600; color: var(--tt-muted); letter-spacing: 0; }
/* Stack both billing prices in one grid cell so the header is sized by the
   widest one — the layout doesn't shift when /week and /month swap. */
.tt-config__price--stack { display: inline-grid; }
.tt-config__price--stack .tt-config__price-opt { grid-area: 1 / 1; visibility: hidden; white-space: nowrap; font-size: inherit; font-weight: inherit; color: inherit; letter-spacing: inherit; }
.tt-config__price--stack .tt-config__price-opt.is-active { visibility: visible; }
.tt-config .tt-config__list { margin: 0 0 28px; }
.tt-config .tt-config__list:last-child { margin-bottom: 0; }
.tt-config__billing-desc { margin: -4px 0 24px; font-size: 15.5px; line-height: 1.6; color: var(--tt-body); text-wrap: pretty; }
/* "Built on" platform strip at the bottom of the panel */
.tt-config__stack { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 20px; border-top: 1px solid rgba(23, 19, 12, 0.1); }
.tt-config__stack-label { font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tt-muted); }
.tt-stack-item { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--tt-ink); opacity: 0.75; }
.tt-stack-item img { width: 18px; height: 18px; display: block; }
.tt-config__group { border: none; margin: 0 0 24px; padding: 0; min-width: 0; }
.tt-config__group:last-child { margin-bottom: 0; }
.tt-config__label { display: block; float: none; width: 100%; margin: 0 0 10px; padding: 0; font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tt-muted); }
.tt-opt { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; background: var(--tt-white); border: 1px solid rgba(23, 19, 12, 0.12); cursor: pointer; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.tt-opt + .tt-opt { margin-top: 8px; }
.tt-opt:hover { border-color: rgba(23, 19, 12, 0.4); }
.tt-opt--on { border-color: var(--tt-orange); box-shadow: inset 0 0 0 1px var(--tt-orange); }
.tt-opt input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.tt-opt:has(input:focus-visible) { outline: 2px solid var(--tt-orange); outline-offset: 2px; }
.tt-opt__control { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border: 2px solid rgba(23, 19, 12, 0.3); background: var(--tt-white); transition: border-color 0.15s ease; }
.tt-opt__control::after { content: ''; width: 10px; height: 10px; background: transparent; transition: background 0.15s ease; }
.tt-opt__control--radio { border-radius: 50%; }
.tt-opt__control--radio::after { border-radius: 50%; }
.tt-opt--on .tt-opt__control { border-color: var(--tt-orange); }
.tt-opt--on .tt-opt__control::after { background: var(--tt-orange); }
.tt-opt__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tt-opt__name { font-weight: 700; font-size: 15.5px; line-height: 1.3; color: var(--tt-ink); }
.tt-opt__desc { font-size: 14px; line-height: 1.5; color: var(--tt-body); text-wrap: pretty; }
.tt-opt__price { flex: none; margin-left: 8px; font-weight: 800; font-size: 15px; line-height: 1.5; color: var(--tt-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tt-opt__price--incl { font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tt-muted); }
/* Billing-cycle toggle (weekly / monthly) — compact pill, deliberately
   rounded despite the radius-0 spec. The button resets (height, line-height,
   padding, border) undo legacy main.css button chrome. */
.tt-prod-buy__toggle { display: inline-flex; align-items: center; padding: 4px; background: rgba(23, 19, 12, 0.06); border: 1px solid rgba(23, 19, 12, 0.12); border-radius: 999px; }
.tt-prod-buy__toggle button { font-family: inherit; font-weight: 700; font-size: 13px; height: auto; line-height: 1; padding: 8px 18px; border: none; border-radius: 999px; vertical-align: middle; background: transparent; color: var(--tt-muted); cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.tt-prod-buy__toggle button::before { content: none; }
.tt-prod-buy__toggle button:hover { color: var(--tt-ink); }
.tt-prod-buy__toggle button.is-active { background: var(--tt-ink); color: var(--tt-white); }
.tt-prod-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 13px; }
.tt-prod-list li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.5; color: var(--tt-ink); text-wrap: pretty; }
.tt-prod-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; background: var(--tt-orange); }
.tt-detail-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 1px; background: rgba(23, 19, 12, 0.08); border: 1px solid rgba(23, 19, 12, 0.08); margin-bottom: 28px; }
.tt-detail-meta__item { background: var(--tt-cream); padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.tt-detail-meta__label { font-weight: 700; font-size: 11px; letter-spacing: 0.12em; color: var(--tt-muted); text-transform: uppercase; }
.tt-detail-meta__value { font-weight: 700; font-size: 16px; color: var(--tt-ink); }
.tt-detail-meta__link { color: var(--tt-orange); text-decoration: none; transition: color 0.2s ease; }
.tt-detail-meta__link:hover { color: var(--tt-orange-hover); }
.tt-detail-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(36px, 5vw, 52px); }
.tt-detail-tag { font-weight: 600; font-size: 13px; letter-spacing: 0.02em; color: var(--tt-ink); background: var(--tt-cream); padding: 9px 16px; }
.tt-detail-sections { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 52px); margin-top: clamp(36px, 5vw, 52px); }
.tt-detail-section__title { margin: 0 0 14px; font-weight: 800; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; color: var(--tt-ink); }
.tt-detail-section__text { margin: 0; font-size: 17px; line-height: 1.65; color: var(--tt-body); text-wrap: pretty; }
.tt-detail-results { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.tt-detail-result { position: relative; padding-left: 22px; font-size: 17px; line-height: 1.6; color: var(--tt-body); }
.tt-detail-result::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; background: var(--tt-orange); }
.tt-detail-gallery { margin: clamp(36px, 5vw, 52px) 0 0; }
.tt-detail-nav { margin-top: clamp(48px, 6vw, 72px); padding-top: 28px; border-top: 1px solid rgba(23, 19, 12, 0.1); }
.tt-detail-nav__link { font-weight: 700; font-size: 15px; color: var(--tt-ink); text-decoration: none; padding: 14px 28px; border: 2px solid var(--tt-ink); display: inline-block; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.tt-detail-nav__link:hover { background: var(--tt-orange); border-color: var(--tt-orange); color: var(--tt-white); }

/* ---------- Legacy main.css link-color overrides ----------
   main.css is still loaded globally (legacy pages need it) and colors
   a:link / a:visited / a:active / a:hover at specificity (0,1,1), which
   outranks the single-class selectors above — the CTAs were rendering in
   the legacy pink (#eb6165). Re-assert the v4 anchor colors here at
   higher specificity. */
a.tt-navlink:link, a.tt-navlink:visited, a.tt-navlink:active,
a.tt-navmobile__link:link, a.tt-navmobile__link:visited, a.tt-navmobile__link:active,
a.tt-btn--outline:link, a.tt-btn--outline:visited, a.tt-btn--outline:active,
a.tt-btn--inverse:link, a.tt-btn--inverse:visited, a.tt-btn--inverse:active,
a.tt-detail-nav__link:link, a.tt-detail-nav__link:visited, a.tt-detail-nav__link:active,
a.tt-book__link:link, a.tt-book__link:visited, a.tt-book__link:active { color: var(--tt-ink); }
a.tt-btn--orange:link, a.tt-btn--orange:visited, a.tt-btn--orange:active,
a.tt-btn--outline-light:link, a.tt-btn--outline-light:visited, a.tt-btn--outline-light:active,
a.tt-btn--dark:link, a.tt-btn--dark:visited, a.tt-btn--dark:active,
a.tt-workcard:link, a.tt-workcard:visited, a.tt-workcard:active, a.tt-workcard:hover { color: var(--tt-white); }
a.tt-detail-meta__link:link, a.tt-detail-meta__link:visited, a.tt-detail-meta__link:active { color: var(--tt-orange); }
/* Hover colors that the re-asserts above would otherwise outrank */
a.tt-navmobile__link:hover { color: var(--tt-orange); }
a.tt-book__link:hover { color: var(--tt-orange); }
a.tt-btn--outline:hover, a.tt-btn--outline-light:hover, a.tt-btn--inverse:hover, a.tt-detail-nav__link:hover { color: var(--tt-white); }
a.tt-detail-meta__link:hover { color: var(--tt-orange-hover); }
/* Nav CTAs are anchors (dark pill): keep their text white against the
   a.tt-navlink / a.tt-navmobile__link ink re-asserts above */
a.tt-navlink--cta:link, a.tt-navlink--cta:visited, a.tt-navlink--cta:active, a.tt-navlink--cta:hover,
a.tt-navmobile__cta:link, a.tt-navmobile__cta:visited, a.tt-navmobile__cta:active, a.tt-navmobile__cta:hover { color: var(--tt-white); }

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .tt-nav__links { display: none; }
  .tt-nav__toggle { display: flex; }
  /* 9 logos: 3×3 on mobile (the single row clips at phone widths) */
  .tt-work__logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* "Built on" label gets its own line, logos wrap below it */
  .tt-config__stack-label { width: 100%; }
}
@media (max-width: 640px) {
  .tt-footer__inner { flex-direction: column; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .tt-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .tt-marquee__track { animation: none !important; }
  .tt-hero__bg, .tt-hero__slide { animation: none !important; }
}
