@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@600;700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600;700&display=swap');
/* AUTO-GENERATED by ui-ux-pro-max — design tokens + motion. Do not edit by hand. */
:root {
  --color-warning: #975F00;
  --color-success: #2A794C;
  --color-primary-hover: #854800;
  --color-primary-active: #6A3900;
  --color-link-hover: #854800;
  --color-link: #A15900;
  --color-info: #296EAF;
  --color-focus-ring: #A15900;
  --color-danger: #B3261E;
  --color-accent-hover: #7C4E00;
  --color-accent-active: #623D00;
  --color-primary: #A15900;
  --color-secondary: #2F3A45;
  --color-accent: #966000;
  --color-surface: #FBF7F1;
  --color-ink: #1C1A17;
  --font-heading: 'Bitter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Aliases for the names advertised in MASTER.md, so model-authored
     var(--color-text|--color-background|--color-cta) always resolve. */
  --color-text: var(--color-ink);
  --color-background: var(--color-surface);
  --color-cta: var(--color-accent);

  /* Readable foregrounds for dark/colored sections. The base palette ships only one
     ink color tuned for the light surface; these guarantee AA-contrast text on a
     --color-primary / --color-accent / dark-overlay background. */
  --color-on-primary: #FBF7F1;
  --color-on-accent: #FBF7F1;
  --color-on-dark: #F8FAFC;
  --color-on-surface: var(--color-ink);
  --color-text-muted: #6B6259;

  /* Surface elevations + hairline border (derived). */
  --color-surface-1: #FFFFFF;
  --color-surface-2: #F3ECE1;
  --color-border: #E3D9C9;

  /* Radii. */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-btn: 9999px;
  --radius-card: 16px;
}

html { scroll-behavior: smooth; }
body {
  background-color: var(--color-surface);
  color: var(--color-ink);
  font-family: var(--font-body);
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }
  .reveal.in-view { opacity: 1; transform: none; }

  /* Stagger: each child reads its index from --i (set inline: style="--i:3") */
  .stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--i, 0) * 80ms);
  }
  .stagger.in-view > * { opacity: 1; transform: none; }

  /* Hero entrance: above-the-fold, so a load-time keyframe (not scroll-observed). */
  @keyframes hero-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
  }
  .hero-in { animation: hero-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
}

/* Accessibility: motion-off users get instant, fully-visible content. */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in-view, .stagger > *, .stagger.in-view > * {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .hero-in { animation: none !important; }
}


/* TRooThemes design intent (studio/design/bridge.py) - compiled from DesignIntentContract; do not edit by hand. */

:root {
  color-scheme: light;
  --color-accent: #966000;
  --color-accent-active: #623D00;
  --color-accent-hover: #7C4E00;
  --color-border: #E3D9C9;
  --color-danger: #B3261E;
  --color-focus-ring: #A15900;
  --color-info: #296EAF;
  --color-ink: #1C1A17;
  --color-link: #A15900;
  --color-link-hover: #854800;
  --color-on-accent: #FBF7F1;
  --color-on-dark: #F8FAFC;
  --color-on-primary: #FBF7F1;
  --color-primary: #A15900;
  --color-primary-active: #6A3900;
  --color-primary-hover: #854800;
  --color-secondary: #2F3A45;
  --color-success: #2A794C;
  --color-surface: #FBF7F1;
  --color-surface-1: #FFFFFF;
  --color-surface-2: #F3ECE1;
  --color-text-muted: #6B6259;
  --color-warning: #975F00;
  --color-text: var(--color-ink);
  --color-background: var(--color-surface);
  --color-cta: var(--color-accent);
  --color-on-surface: var(--color-ink);
  --font-heading: 'Bitter', serif;
  --font-body: 'Inter', sans-serif;
  --font-data: 'IBM Plex Mono', monospace;
  --leading-body: 1.6;
  --leading-heading: 1.2;
  --tracking-display: -0.01em;
  --tracking-label: 0.04em;
  --radius-control: 8px;
  --radius-panel: 12px;
  --radius-card: 12px;
  --radius-image: 10px;
  --radius-popover: 10px;
  --radius-btn: 8px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 12px;
  --border-width: 1px;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.06);
  --shadow-md: 0 4px 10px rgb(0 0 0 / 0.08);
  --shadow-lg: 0 10px 24px rgb(0 0 0 / 0.10);
  --shadow-xl: 0 20px 40px rgb(0 0 0 / 0.14);
  --control-h: 40px;
  --row-h: 40px;
  --tt-gap: 24px;
  --tt-page-pad: 24px;
  --tt-header-h: 72px;
  --container-max: 1280px;
  --container-pad: var(--tt-page-pad);
  --focus-ring-width: 2px;
  --duration-fast: 140ms;
  --duration-base: 220ms;
  --text-xs: 0.64rem;
  --text-sm: 0.8rem;
  --text-base: 1.0rem;
  --text-lg: 1.25rem;
  --text-xl: 1.562rem;
  --text-2xl: 1.953rem;
  --text-3xl: 2.441rem;
  --text-4xl: 3.052rem;
  --text-5xl: 3.815rem;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --surface-navigation-bg: var(--color-surface);
  --surface-navigation-border: var(--border-width) solid var(--color-border);
  --surface-navigation-shadow: none;
  --surface-card-bg: var(--color-surface-1);
  --surface-card-border: 0;
  --surface-card-shadow: var(--shadow-md);
  --surface-record-bg: var(--color-surface-1);
  --surface-record-border: 0;
  --surface-record-shadow: none;
}

html, body { background: var(--color-surface); color: var(--color-ink); }
body { font-family: var(--font-body); line-height: var(--leading-body); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: var(--leading-heading); letter-spacing: var(--tracking-display); }
code, kbd, samp, .tt-data, [data-tt-data] { font-family: var(--font-data); font-variant-numeric: tabular-nums; }
:focus-visible { outline: var(--focus-ring-width) solid var(--color-focus-ring, var(--color-primary)); outline-offset: 2px; }
img { border-radius: var(--radius-image); }

/* Shell: laid out by the composer's data-tt-shell, never by stack utilities. */
.tt-shell { min-height: 100vh; background: var(--color-surface); color: var(--color-ink); }
.tt-shell__main { min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }
.tt-shell__main > main { flex: 1 0 auto; }
.tt-shell__nav { position: sticky; top: 0; z-index: 40; background: var(--surface-navigation-bg, var(--color-surface)); }
@media (min-width: 1024px) {
  .tt-shell[data-tt-shell="full_sidebar"] { display: grid; grid-template-columns: 256px minmax(0, 1fr); }
  .tt-shell[data-tt-shell="compact_sidebar"] { display: grid; grid-template-columns: 208px minmax(0, 1fr); }
  .tt-shell[data-tt-shell="contextual_workspace_rail"] { display: grid; grid-template-columns: 72px minmax(0, 1fr); }
  .tt-shell[data-tt-shell="full_sidebar"] > .tt-shell__nav,
  .tt-shell[data-tt-shell="compact_sidebar"] > .tt-shell__nav,
  .tt-shell[data-tt-shell="contextual_workspace_rail"] > .tt-shell__nav {
    height: 100vh; overflow-y: auto; border-right: var(--border-width) solid var(--color-border);
  }
  .tt-shell[data-tt-shell="split_workspace"] > .tt-shell__main > main { display: grid; }
}

/* Page composition: compiled from each route's PageCompositionContract. */
.tt-page {
  display: grid; gap: var(--tt-gap); padding: var(--tt-page-pad); align-items: start;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "top" "left" "center" "right" "bottom";
  min-height: calc(100vh - 64px);
}
.tt-area { display: flex; flex-direction: column; gap: var(--tt-gap); min-width: 0; }
.tt-area--top { grid-area: top; } .tt-area--left { grid-area: left; }
.tt-area--center { grid-area: center; } .tt-area--right { grid-area: right; }
.tt-area--bottom { grid-area: bottom; }
.tt-region { min-width: 0; position: relative; }
/* Drawers/sheets (markup.compose_page): on desktop the <details> wrapper leaves layout. */
.tt-drawer { display: contents; }
.tt-drawer > .tt-drawer__handle { display: none; }
.tt-region[data-tt-role="canvas"] { min-height: 68vh; }
.tt-region[data-tt-surface] {
  background: var(--tt-surface-bg, transparent); border: var(--tt-surface-border, 0);
  box-shadow: var(--tt-surface-shadow, none); border-radius: var(--radius-panel);
}
.tt-page[data-tt-left="rail"] { --tt-left-w: 64px; } .tt-page[data-tt-left="panel"] { --tt-left-w: 280px; }
.tt-page[data-tt-left="wide"] { --tt-left-w: 360px; }
.tt-page[data-tt-right="rail"] { --tt-right-w: 64px; } .tt-page[data-tt-right="panel"] { --tt-right-w: 320px; }
.tt-page[data-tt-right="wide"] { --tt-right-w: 400px; }
@media (min-width: 1024px) {
  .tt-page[data-tt-cols="lcr"] { grid-template-columns: var(--tt-left-w) minmax(0, 1fr) var(--tt-right-w);
    grid-template-areas: "top top top" "left center right" "bottom bottom bottom"; }
  .tt-page[data-tt-cols="lc"] { grid-template-columns: var(--tt-left-w) minmax(0, 1fr);
    grid-template-areas: "top top" "left center" "bottom bottom"; }
  .tt-page[data-tt-cols="cr"] { grid-template-columns: minmax(0, 1fr) var(--tt-right-w);
    grid-template-areas: "top top" "center right" "bottom bottom"; }
  .tt-page[data-tt-cols="split"] .tt-area--center { display: grid; grid-template-columns: 1fr 1fr; }
  .tt-region[data-tt-sticky="true"] { position: sticky; top: var(--space-4); max-height: calc(100vh - 2 * var(--space-4)); overflow: auto; }
  .tt-page[data-tt-topology="board"] .tt-region[data-tt-role="board"] { overflow-x: auto; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .tt-page[data-tt-tablet-cols="lc"] { grid-template-columns: var(--tt-left-w) minmax(0, 1fr);
    grid-template-areas: "top top" "left center" "right right" "bottom bottom"; }
  .tt-page[data-tt-tablet-cols="cr"] { grid-template-columns: minmax(0, 1fr) var(--tt-right-w);
    grid-template-areas: "top top" "left left" "center right" "bottom bottom"; }
  .tt-page[data-tt-tablet-cols="lcr"] { grid-template-columns: var(--tt-left-w) minmax(0, 1fr) var(--tt-right-w);
    grid-template-areas: "top top top" "left center right" "bottom bottom bottom"; }
  .tt-page:not([data-tt-tablet-cols]) { grid-template-areas: "top" "left" "center" "right" "bottom"; }
  .tt-page[data-tt-left-tablet="compact_toolbar"] .tt-area--left { flex-direction: row; overflow-x: auto; }
  .tt-region[data-tt-tablet="compact_toolbar"] { display: flex; flex-direction: row; overflow-x: auto; }
  .tt-region[data-tt-tablet="drawer"], .tt-region[data-tt-tablet="sheet"] {
    position: sticky; bottom: 0; z-index: 20; max-height: 42vh; overflow: auto;
    background: var(--color-surface-1); border-top: var(--border-width) solid var(--color-border);
    box-shadow: 0 -8px 24px rgb(0 0 0 / 0.10); border-radius: var(--radius-panel) var(--radius-panel) 0 0;
  }
  .tt-region[data-tt-tablet="collapse"] { max-height: 40vh; overflow: auto; }
  .tt-region[data-tt-tablet="hide"] { display: none; }
  .tt-drawer { display: block; position: sticky; bottom: 0; z-index: 21; }
  .tt-drawer > .tt-drawer__handle {
    display: flex; align-items: center; justify-content: center; min-height: 44px; cursor: pointer;
    background: var(--color-surface-1); color: var(--color-ink); border-top: var(--border-width) solid var(--color-border);
    font: 600 0.8125rem/1 var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; list-style: none;
  }
  .tt-drawer > .tt-drawer__handle::-webkit-details-marker { display: none; }
}
@media (max-width: 767px) {
  .tt-page { grid-template-areas: "top" "center" "left" "right" "bottom"; padding: var(--space-4); }
  .tt-region[data-tt-mobile="hide"] { display: none; }
  .tt-region[data-tt-mobile="collapse"] { max-height: 50vh; overflow: auto; }
}

/* Header + homepage hero: shared fidelity contract with the preview tile.
   The tile (studio/design/tile) draws nav/hero from the same tokens; builders must
   reuse these classes instead of inventing per-page header/hero CSS. Tokens only:
   no hex literals, no stock radii. Metrics converge on the tile's (72px header,
   text-sm links, text-xl brand, double page-pad) so the picked card and the theme
   agree. Fluid type + min(80vh, px) hero heights collapse deliberately on
   tablet/mobile. */
.tt-nav {
  width: 100%; box-sizing: border-box;
  background: var(--surface-navigation-bg, var(--color-surface));
  border-bottom: var(--border-width) solid var(--color-border);
  color: var(--color-ink); overflow-x: clip;
}
/* Inner container: the ONLY capped layer. Logo, nav, icons, CTA and menu live
   here, so they share one left edge with the hero and section containers. */
.tt-nav__inner {
  display: flex; align-items: center; gap: var(--space-8);
  min-height: var(--tt-header-h);
  max-width: var(--container-max); margin-inline: auto; width: 100%;
  padding-inline: max(16px, var(--container-pad)); padding-block: var(--space-4);
  box-sizing: border-box; flex-wrap: nowrap; overflow-x: clip;
}
.tt-nav__brand { font-family: var(--font-heading); font-weight: 700; font-size: var(--text-xl);
  letter-spacing: var(--tracking-display); color: var(--color-ink); white-space: nowrap;
  flex-shrink: 0; text-decoration: none; }
.tt-nav__links { display: flex; align-items: center; gap: var(--space-6); min-width: 0; flex: 1;
  overflow: hidden; }
.tt-nav__links a { font-family: var(--font-body); font-weight: 400; font-size: var(--text-sm); color: var(--color-ink);
  text-decoration: none; white-space: nowrap; }
.tt-nav__cta { margin-left: auto; min-height: var(--control-h); flex-shrink: 0; }
.tt-nav__menu { display: none; margin-left: auto; min-width: 44px; min-height: 44px; flex-shrink: 0; }
/* Owned drawer panel: hidden until the owned toggle opens it (hidden attr).
   In-flow column under the inner — never a second header row, never outside
   the header. Links read once, in card order; the drawer CTA covers ≤480px
   where the header CTA hides. */
.tt-nav__drawer[hidden] { display: none !important; }
.tt-nav__drawer { display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-4) max(16px, var(--container-pad)); box-sizing: border-box;
  border-top: var(--border-width) solid var(--color-border);
  background: var(--surface-navigation-bg, var(--color-surface)); }
.tt-nav__drawer a { font-family: var(--font-body); font-size: var(--text-sm);
  color: var(--color-ink); text-decoration: none; padding-block: var(--space-2); }
.tt-nav__drawer .tt-nav__drawer-cta { align-self: flex-start; margin-top: var(--space-2); }
/* menuMode from the contract (header data-menumode): `always` shows the
   hamburger at desktop width with no inline nav (the Wanderworld card);
   other modes show inline links until the 1024px breakpoint below. */
.tt-nav[data-menumode="always"] .tt-nav__links { display: none; }
.tt-nav[data-menumode="always"] .tt-nav__menu { display: inline-flex; }
/* Header icons: inline SVG with explicit size, currentColor. Never an icon
   font, emoji or text glyph (those render as tofu/mismatched sizes on zoom). */
.tt-nav__menu svg { width: 22px; height: 22px; display: block; flex-shrink: 0; }
.tt-nav button svg, .tt-nav a svg { width: 20px; height: 20px; flex-shrink: 0; }
.tt-nav svg { color: currentColor; }
/* Header CTA: filled by default (the card's amber button), outlined when the
   locked direction says so — identical on every stack, no ui-primitive needed. */
.tt-nav__cta.tt-btn, a.tt-nav__cta, button.tt-nav__cta { display: inline-flex; align-items: center;
  justify-content: center; min-height: var(--control-h); padding-inline: calc(var(--control-h) * 0.55);
  border-radius: var(--radius-control); font-weight: 600; font-size: var(--text-sm);
  border: 1.5px solid transparent; white-space: nowrap; text-decoration: none;
  background: var(--color-primary); color: var(--color-on-primary); }
.tt-nav__cta.is-outline, .tt-nav[data-bfill="outline"] .tt-nav__cta {
  background: transparent; border-color: var(--color-primary); color: var(--color-primary); }
/* Soft = the tile's tinted button; ghost = text-only (tile .btn rules). */
.tt-nav[data-bfill="soft"] .tt-nav__cta {
  background: color-mix(in oklab, var(--color-primary) 16%, var(--color-surface));
  border-color: transparent; color: var(--color-primary); }
.tt-nav[data-bfill="ghost"] .tt-nav__cta {
  background: transparent; border-color: transparent; color: var(--color-primary);
  text-decoration: underline; text-underline-offset: 4px; padding-inline: var(--space-2); }
.tt-nav[data-bcase="upper"] .tt-nav__cta { text-transform: uppercase; letter-spacing: var(--tracking-label);
  font-size: var(--text-xs); }
.tt-nav[data-bcase="title"] .tt-nav__cta { text-transform: capitalize; }
.tt-nav[data-nav="bar_centered_brand"] .tt-nav__brand { margin-inline: auto; }
.tt-nav[data-nav="masthead"] .tt-nav__inner { flex-direction: column; align-items: stretch; gap: var(--space-4); }
.tt-nav[data-nav="bar_minimal_menu"] .tt-nav__links { display: none; }
.tt-nav[data-nav="bar_minimal_menu"] .tt-nav__menu { display: inline-flex; }
.tt-hero { position: relative; width: 100%; max-width: 100%; margin: 0; padding: 0;
  overflow-x: clip; box-sizing: border-box;
  min-height: min(80vh, 560px); scroll-margin-top: var(--tt-header-h); }
.tt-hero[data-h="compact"] { min-height: min(80vh, 360px); }
.tt-hero[data-h="standard"] { min-height: min(80vh, 460px); }
.tt-hero[data-h="immersive"] { min-height: min(80vh, 640px); }
/* Inner container: capped like the header inner and the section containers,
   so logo, hero text and section content share one left edge at every width. */
.tt-hero__inner {
  max-width: var(--container-max); margin-inline: auto; width: 100%;
  padding-inline: max(16px, var(--container-pad)); padding-block: var(--space-10);
  box-sizing: border-box; min-width: 0;
  display: grid; gap: var(--tt-gap); align-items: center;
}
.tt-hero[data-s="split_media_start"] > .tt-hero__inner,
.tt-hero[data-s="split_media_end"] > .tt-hero__inner,
.tt-hero[data-s="product_ui_showcase"] > .tt-hero__inner { grid-template-columns: 1fr 1fr; }
.tt-hero[data-s="split_media_start"] > .tt-hero__inner { grid-template-columns: 1fr 1.05fr; }
.tt-hero[data-s="split_media_end"] > .tt-hero__inner,
.tt-hero[data-s="product_ui_showcase"] > .tt-hero__inner { grid-template-columns: 1.05fr 1fr; }
.tt-hero[data-s="split_media_start"] .tt-hero__media { order: -1; }
.tt-hero[data-s="centered_statement"] > .tt-hero__inner,
.tt-hero[data-s="type_led"] > .tt-hero__inner,
.tt-hero[data-s="editorial_masthead"] > .tt-hero__inner,
.tt-hero[data-s="app_overview"] > .tt-hero__inner { grid-template-columns: minmax(0, 1fr); }
.tt-hero[data-s="centered_statement"] .tt-hero__copy { max-width: 640px; }
.tt-hero[data-s="type_led"] .tt-hero__copy { max-width: 1000px; }
.tt-hero__copy { min-width: 0; max-width: 640px; display: flex; flex-direction: column; gap: var(--space-5); }
.tt-hero__copy h1 { font-family: var(--font-heading); font-weight: 700; line-height: var(--leading-heading);
  letter-spacing: var(--tracking-display); text-wrap: balance; overflow-wrap: anywhere;
  font-size: clamp(2rem, 1.4rem + 3vw, 4.5rem); margin: 0; }
.tt-hero__copy p { font-family: var(--font-body); font-weight: 400; font-size: var(--text-lg);
  line-height: var(--leading-body); color: var(--color-text-muted); margin: 0; max-width: 560px; }
.tt-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
.tt-hero__actions .tt-btn, .tt-hero__actions button, .tt-hero__actions a {
  min-height: var(--control-h); border-radius: var(--radius-control); }
/* Hero CTAs: filled primary + outlined secondary on every stack. On full-bleed
   photo heroes the secondary reads on the dark scrim (tile .on-media rule). */
.tt-hero__actions .tt-btn--primary, .tt-hero__actions a:first-child:not(.tt-btn--outline) {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--control-h); padding-inline: calc(var(--control-h) * 0.55);
  border-radius: var(--radius-control); font-weight: 600; font-size: var(--text-sm);
  border: 1.5px solid transparent; white-space: nowrap; text-decoration: none;
  background: var(--color-primary); color: var(--color-on-primary); }
.tt-hero__actions .tt-btn--outline {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--control-h); padding-inline: calc(var(--control-h) * 0.55);
  border-radius: var(--radius-control); font-weight: 600; font-size: var(--text-sm);
  white-space: nowrap; text-decoration: none;
  background: transparent; border: 1.5px solid var(--color-primary); color: var(--color-primary); }
.tt-hero[data-s="full_bleed_media"] .tt-hero__actions .tt-btn--outline {
  border-color: #fff; color: #fff; }
.tt-hero__actions .tt-btn--ghost {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--control-h); padding-inline: var(--space-2);
  border-radius: var(--radius-control); font-weight: 600; font-size: var(--text-sm);
  white-space: nowrap; background: transparent; border: 1.5px solid transparent;
  color: var(--color-primary); text-decoration: underline; text-underline-offset: 4px; }
/* Contained bands use the tile's heights (type_led 90, centered 170,
   editorial 330) — never an approximation. */
.tt-hero[data-s="type_led"] .tt-hero__media { aspect-ratio: 16 / 9; max-height: 90px; }
.tt-hero[data-s="centered_statement"] .tt-hero__media { aspect-ratio: 16 / 9; max-height: 170px; }
.tt-hero[data-s="editorial_masthead"] .tt-hero__media { aspect-ratio: 16 / 9; max-height: 330px; }
/* `none`: never a photo box, even if a builder left one behind. */
.tt-hero[data-mode="none"] .tt-hero__media { display: none !important; }
/* Alignment: the tile centers copy + actions when the direction says center. */
.tt-hero[data-align="center"] .tt-hero__copy { align-items: center; text-align: center;
  margin-inline: auto; }
.tt-hero[data-align="center"] .tt-hero__actions { justify-content: center; }
.tt-hero[data-s="full_bleed_media"][data-align="start"] .tt-hero__copy { margin-inline: 0; }
.tt-hero__media { min-width: 0; border-radius: var(--radius-image); overflow: hidden;
  background: var(--color-surface-2); aspect-ratio: 5 / 4; position: relative; }
.tt-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block; border-radius: 0; max-width: 100%; }
/* Framework image wrappers (fill layouts) must fill the box like <img> does,
   so no empty strip shows under the photo in any mode. */
.tt-hero__media > * { width: 100%; height: 100%; }
/* Imagery treatment mirrors the tile (`tile.css` body[data-treat]): the card's
   filter/blend/box, driven by data-treat on the hero section. */
.tt-hero[data-treat="warm"] .tt-hero__media img { filter: sepia(0.22) saturate(1.08); }
.tt-hero[data-treat="cool"] .tt-hero__media img { filter: saturate(0.85) hue-rotate(-8deg) brightness(1.02); }
.tt-hero[data-treat="monochrome"] .tt-hero__media img { filter: grayscale(1) contrast(1.05); }
.tt-hero[data-treat="high_contrast"] .tt-hero__media img { filter: contrast(1.3) saturate(1.1); }
.tt-hero[data-treat="muted"] .tt-hero__media img { filter: saturate(0.55) brightness(1.04); }
.tt-hero[data-treat="duotone"] .tt-hero__media img { filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; }
.tt-hero[data-treat="duotone"] .tt-hero__media { background: var(--color-primary); }
.tt-hero[data-s="full_bleed_media"] { padding: 0; max-width: 100%; }
/* Flush full-bleed is pinned under the header: top offsets beat builder CSS
   (scoped so split/contained spacing is untouched). Fallback paint while the
   photo loads so the page background never shows through. */
section.tt-hero[data-mode="full-bleed"] { margin-top: 0 !important; padding-top: 0 !important;
  overflow: hidden; background-color: var(--color-surface-2); }
/* Fixed builder header: clearance lives as padding on the copy area (inner),
   never on anything that moves the media box. */
.tt-hero[data-header="fixed"] > .tt-hero__inner {
  padding-top: calc(var(--tt-header-h) + var(--space-10)); }
.tt-hero[data-s="full_bleed_media"] > .tt-hero__inner {
  position: relative; z-index: 1; min-height: inherit;
  display: flex; flex-direction: column; justify-content: center; align-items: stretch;
}
/* Overlay: the media is an absolute fill behind the inner (never in-flow, so a
   16/9 box can't stretch the section on ultrawide); the capped min-height owns
   the section height and the image covers with its focal point kept. */
.tt-hero[data-s="full_bleed_media"] .tt-hero__media { position: absolute; inset: 0;
  aspect-ratio: auto; height: 100%; border-radius: 0; }
.tt-hero[data-s="full_bleed_media"] .tt-hero__media::after { content: ""; position: absolute; inset: 0;
  background: rgb(0 0 0 / 0.45); pointer-events: none; }
/* The tile overlays exactly one scrim: the gradient when the direction allows
   gradients, the flat 0.45 scrim otherwise (tile _OVERLAY_GRADIENT_CSS). */
.tt-hero[data-s="full_bleed_media"][data-grad="subtle"] .tt-hero__media::after,
.tt-hero[data-s="full_bleed_media"][data-grad="expressive"] .tt-hero__media::after {
  background: linear-gradient(to top, rgb(0 0 0 / 0.62), rgb(0 0 0 / 0.18) 60%, transparent); }
.tt-hero[data-s="full_bleed_media"] .tt-hero__copy { position: static;
  padding: 0; max-width: 640px; color: #fff;
  background: transparent; }
.tt-hero[data-s="full_bleed_media"] .tt-hero__copy h1,
.tt-hero[data-s="full_bleed_media"] .tt-hero__copy p { color: #fff; }
img { max-width: 100%; }
.tt-hero__media img { height: 100%; }
@media (max-width: 1023px) {
  .tt-nav__links { display: none; }
  .tt-nav__menu { display: inline-flex; }
  .tt-nav[data-nav="sidebar"] { position: sticky; top: 0; z-index: 40; }
  .tt-nav__cta { margin-left: 0; }
}
@media (max-width: 767px) {
  .tt-nav__inner { gap: var(--space-4); padding-inline: max(16px, var(--container-pad)); }
  /* Small screens: brand may ellipsize and the CTA compacts so brand + CTA +
     hamburger fit 320px with no overflow (links live in the drawer). */
  .tt-nav__brand { min-width: 0; overflow: hidden; text-overflow: ellipsis; flex-shrink: 1; }
  .tt-nav__cta.tt-btn, a.tt-nav__cta, button.tt-nav__cta { padding-inline: var(--space-3); }
  .tt-hero > .tt-hero__inner, .tt-hero[data-s="split_media_start"] > .tt-hero__inner,
  .tt-hero[data-s="split_media_end"] > .tt-hero__inner,
  .tt-hero[data-s="product_ui_showcase"] > .tt-hero__inner { grid-template-columns: minmax(0, 1fr);
    padding: var(--space-8) max(16px, var(--container-pad)); }
  .tt-hero[data-s="split_media_start"] .tt-hero__media { order: 0; }
  .tt-hero__copy { max-width: 100%; }
  .tt-hero[data-s="full_bleed_media"] .tt-hero__media { aspect-ratio: 4 / 3; }
  .tt-hero[data-s="full_bleed_media"] .tt-hero__copy { padding: 0; }
  /* Overlay heroes keep copy over the photo on mobile: the inner flows (it owns
     the section height) and the media fills behind it — no overflow, no crop. */
  .tt-hero[data-s="full_bleed_media"] { display: block; min-height: 0; }
  .tt-hero[data-s="full_bleed_media"] .tt-hero__media { position: absolute; inset: 0;
    aspect-ratio: auto; height: 100%; }
  .tt-hero[data-s="full_bleed_media"] > .tt-hero__inner { position: static; min-height: 0;
    padding: var(--space-8) max(16px, var(--container-pad)); }
  .tt-hero[data-header="fixed"] > .tt-hero__inner {
    padding-top: calc(var(--tt-header-h) + var(--space-8)); }
}
@media (max-width: 480px) {
  .tt-hero__actions { flex-direction: column; align-items: stretch; }
  .tt-hero__actions .tt-btn, .tt-hero__actions button, .tt-hero__actions a { width: 100%;
    justify-content: center; text-align: center; }
  .tt-nav__brand { font-size: var(--text-lg); }
  /* Narrow bar: brand + hamburger only; the header CTA moves into the drawer
     (the renderer lists it there) so 320px never overflows or ellipsizes the brand.
     Scoped to the inner so the drawer's own CTA stays visible. */
  .tt-nav__inner .tt-nav__cta { display: none; }
  .tt-nav__drawer .tt-nav__drawer-cta { display: inline-flex; align-items: center;
    justify-content: center; min-height: var(--control-h);
    padding-inline: calc(var(--control-h) * 0.55);
    border-radius: var(--radius-control); font-weight: 600; font-size: var(--text-sm);
    border: 1.5px solid transparent; white-space: nowrap; text-decoration: none;
    background: var(--color-primary); color: var(--color-on-primary); }
  .tt-nav__brand { overflow: visible; text-overflow: clip; }
}

.tt-region[data-tt-surface="card"] { --tt-surface-bg: var(--surface-card-bg); --tt-surface-border: var(--surface-card-border); --tt-surface-shadow: var(--surface-card-shadow); }
.tt-region[data-tt-surface="navigation"] { --tt-surface-bg: var(--surface-navigation-bg); --tt-surface-border: var(--surface-navigation-border); --tt-surface-shadow: var(--surface-navigation-shadow); }
.tt-region[data-tt-surface="record"] { --tt-surface-bg: var(--surface-record-bg); --tt-surface-border: var(--surface-record-border); --tt-surface-shadow: var(--surface-record-shadow); }

/* end TRooThemes design intent */

/* AUTO-GENERATED token guard: these custom properties are consumed by
   model-authored components but were never defined by the design system.
   Defining them here prevents invisible (empty-resolving) var() usage. */
:root {
  --color-muted: var(--color-text-muted);
}

/* Site-wide controls, responsive refinements, and the night theme. */
.tt-fs-brand__mark {
  width: auto;
  height: 36px;
  flex: none;
  overflow: hidden;
  border-radius: 6px;
  background: #05070d;
}
.site-logo {
  display: block;
  width: 68px;
  height: 36px;
  object-fit: contain;
}
.site-theme-toggle {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  background: var(--color-surface-1);
  color: var(--color-ink);
  cursor: pointer;
  font: 600 13px/1 var(--font-body);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.site-theme-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
  box-shadow: 0 8px 22px rgb(0 188 212 / 22%);
}
.site-theme-toggle:focus-visible,
.site-contact-dock a:focus-visible {
  outline: 3px solid var(--color-focus-ring);
  outline-offset: 3px;
}
.site-theme-icon {
  display: none;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html:not([data-theme="dark"]) .site-theme-icon--moon,
html[data-theme="dark"] .site-theme-icon--sun { display: block; }
.site-contact-dock {
  position: fixed;
  z-index: 40;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-contact-dock a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 9999px;
  color: #fff;
  font: 700 14px/1 var(--font-body);
  text-decoration: none;
  box-shadow: 0 8px 26px rgb(8 20 28 / 24%);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
.site-contact-dock a:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgb(0 188 212 / 28%);
  filter: brightness(1.06);
}
.site-contact-dock svg {
  width: 19px;
  height: 19px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-call-link { background: #15212b; }
.site-whatsapp-link { background: #128c55; }

/* Cards gain a clear outline and a soft cyan lift on hover, with the service
   tiles receiving the same treatment across the home and services pages. */
.tt-page article,
.tt-page [class*="rounded-"][class*="shadow"],
.tt-page [class*="grid-cols-"] > [class*="rounded-"],
.tt-page [data-tt-component*="Service"] [class*="rounded-"] {
  border: 1px solid color-mix(in srgb, var(--color-border) 82%, transparent);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background-color 200ms ease;
}
.tt-page article:hover,
.tt-page [class*="rounded-"][class*="shadow"]:hover,
.tt-page [class*="grid-cols-"] > [class*="rounded-"]:hover,
.tt-page [data-tt-component*="Service"] [class*="rounded-"]:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--color-accent) 58%, var(--color-border));
  box-shadow: 0 16px 36px rgb(0 188 212 / 17%);
  background-image: linear-gradient(135deg, color-mix(in srgb, var(--color-accent) 5%, transparent), transparent 72%);
}
button, .tt-fs-btn, .tt-fs-nav__cta {
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}
button:hover, .tt-fs-btn:hover, .tt-fs-nav__cta:hover {
  box-shadow: 0 8px 22px rgb(0 188 212 / 18%);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --color-warning: #f6c667;
  --color-success: #65d99a;
  --color-primary-hover: #23d3e5;
  --color-primary-active: #11a8bc;
  --color-link-hover: #77e5f2;
  --color-link: #51d6e7;
  --color-info: #74b9ff;
  --color-focus-ring: #55d9e7;
  --color-danger: #ff8079;
  --color-accent-hover: #23d3e5;
  --color-accent-active: #11a8bc;
  --color-primary: #19bfd1;
  --color-secondary: #c4d0dd;
  --color-accent: #12b7ca;
  --color-surface: #101821;
  --color-ink: #f2f6fa;
  --color-text: var(--color-ink);
  --color-background: var(--color-surface);
  --color-cta: var(--color-accent);
  --color-on-primary: #04151a;
  --color-on-accent: #04151a;
  --color-on-dark: #f4f8fc;
  --color-on-surface: var(--color-ink);
  --color-text-muted: #aebdcc;
  --color-surface-1: #192431;
  --color-surface-2: #202e3c;
  --color-border: #344556;
  --surface-navigation-bg: #101821;
  --surface-navigation-border: 1px solid #344556;
  --surface-navigation-shadow: 0 5px 18px rgb(0 0 0 / 24%);
  --surface-card-bg: #192431;
  --surface-card-border: 1px solid #344556;
  --surface-card-shadow: 0 8px 22px rgb(0 0 0 / 24%);
  --surface-record-bg: #192431;
  --surface-record-border: 1px solid #344556;
  --surface-record-shadow: 0 4px 14px rgb(0 0 0 / 18%);
  --shadow-sm: 0 2px 6px rgb(0 0 0 / 24%);
  --shadow-md: 0 8px 22px rgb(0 0 0 / 28%);
  --shadow-lg: 0 14px 34px rgb(0 0 0 / 32%);
  --shadow-xl: 0 20px 48px rgb(0 0 0 / 38%);
}
html[data-theme="dark"] body { background-color: var(--color-surface); color: var(--color-ink); }
html[data-theme="dark"] .bg-white { background-color: var(--color-surface-1) !important; }
html[data-theme="dark"] .text-black { color: var(--color-ink) !important; }
html[data-theme="dark"] [class*="bg-[var(--color-primary)]"],
html[data-theme="dark"] [class*="bg-[var(--color-accent)]"] { color: var(--color-on-primary) !important; }
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea { color-scheme: dark; }

html, body { max-width: 100%; overflow-x: clip; }
img, video, iframe { max-width: 100%; }
button, a, input, select, textarea { touch-action: manipulation; }
@media (max-width: 767px) {
  .tt-fs-header__inner { gap: 8px; padding-inline: 12px; }
  .tt-fs-brand { gap: 8px; }
  .tt-fs-brand__mark, .site-logo { height: 32px; }
  .site-logo { width: 60px; }
  .tt-fs-brand__name { font-size: clamp(14px, 4vw, 17px); }
  .site-theme-toggle { width: 42px; min-width: 42px; padding: 0; }
  .site-theme-label { display: none; }
  .tt-fs-nav:has(.tt-fs-nav__menu--open) { display: flex; }
  .tt-fs-nav__menu--open { display: flex; }
  .tt-fs-nav__menu { max-height: min(65vh, 520px); overflow-y: auto; }
  .site-contact-dock { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); gap: 8px; }
  .site-contact-dock a { min-height: 44px; padding: 0 13px; font-size: 13px; }
  [class*="grid-cols-"] { grid-template-columns: minmax(0, 1fr) !important; }
  table { display: block; max-width: 100%; overflow-x: auto; white-space: nowrap; }
  input, select, textarea { font-size: 16px !important; }
  .tt-page section { scroll-margin-top: 76px; }
}
@media (max-width: 380px) {
  .tt-fs-brand__mark, .site-logo { height: 28px; }
  .site-logo { width: 52px; }
  .tt-fs-brand { gap: 6px; }
  .tt-fs-brand__name { font-size: 13px; }
  .site-contact-dock a { min-height: 42px; padding-inline: 11px; }
}
@media (hover: none) {
  .tt-page article:hover,
  .tt-page [class*="rounded-"][class*="shadow"]:hover,
  .tt-page [class*="grid-cols-"] > [class*="rounded-"]:hover,
  .tt-page [data-tt-component*="Service"] [class*="rounded-"]:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
