/* Public page hierarchy. Keep these rules separate from the shared legacy stylesheet. */
html.tt-home .tt-pagehead {
    padding: 36px 24px 28px;
}

.tt-pagehead .tt-sub { margin-bottom: 0; }

.tt-hero--home { position: relative; isolation: isolate; overflow: hidden; padding: 0; background: #0f2a44; border-bottom: 0; }
.home-hero-photo { position: absolute; inset: 0; z-index: 0; }
.home-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.tt-hero--home::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(6, 19, 31, .88) 0%, rgba(6, 19, 31, .82) 42%, rgba(6, 19, 31, .74) 58%, rgba(6, 19, 31, .2) 84%, rgba(6, 19, 31, .12) 100%); }
.home-hero-layout { position: relative; z-index: 2; display: flex; align-items: center; width: calc(100% - 64px); max-width: 1180px; min-height: clamp(680px, calc(100svh - 72px), 860px); margin: 0 auto; padding: 64px 0; }
.tt-hero--home .tt-hero-inner { min-width: 0; width: 100%; max-width: 640px; margin: 0; text-align: left; }
.home-kicker { display: block; margin-bottom: 20px; font-size: 13px; line-height: 1.5; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--public-current-muted); }
.tt-hero--home .tt-h1 { font-size: clamp(42px, 4.5vw, 64px); line-height: 1.08; letter-spacing: -.04em; font-weight: 800; margin: 0 0 24px; }
.home-location { display: block; }
.tt-hero--home .tt-sub { max-width: 48ch; margin: 0 0 28px; text-align: left; font-size: 18px; line-height: 1.6; }
.tt-hero--home .tt-finder { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin: 0; padding: 8px; max-width: none; background: #fff; border: 0; border-radius: 12px; box-shadow: 0 8px 30px rgba(0, 0, 0, .12); }
.tt-hero--home .tt-finder-field { min-width: 0; border: 0; border-radius: 8px; background: #fff; }
.tt-hero--home .tt-finder-select { min-height: 52px; font-size: 14px; padding-left: 40px; }
.tt-hero--home .tt-finder .tt-btn { min-height: 52px; padding: 12px 18px; font-size: 14px; justify-content: center; }
.home-request-note { margin: 12px 0 0; max-width: 56ch; font-size: 13px; line-height: 1.6; }
.home-text-option { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 16px 0 0; font-size: 14px; }
.home-text-option a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--public-link); font-weight: 700; text-underline-offset: 4px; }
.home-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 18px; padding-top: 18px; border-top: 1px solid #dce5eb; }
.home-proof a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 13px; text-decoration: none; }
.home-proof a:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-hero-layout a:focus-visible { outline: 3px solid var(--public-current-heading); outline-offset: 4px; }

.tt-hero--home .home-text-option a { color: var(--public-on-dark); }
.home-proof { border-top-color: rgba(255, 255, 255, .24); }
.home-proof .bi-shield-check { color: var(--public-on-dark); }

@media (min-width: 901px) and (max-width: 1100px) {
    .tt-hero--home::after { background: linear-gradient(90deg, rgba(6, 19, 31, .88) 0%, rgba(6, 19, 31, .82) 70%, rgba(6, 19, 31, .3) 100%); }
    .tt-hero--home .tt-hero-inner { max-width: 600px; }
}

@media (max-width: 900px) {
    .tt-hero--home { --home-photo-height: clamp(340px, 65vw, 520px); --home-copy-top: clamp(140px, 28vw, 220px); }
    .tt-hero--home::after { display: block; background: linear-gradient(180deg, rgba(15, 42, 68, .1) 0px, rgba(15, 42, 68, .24) calc(var(--home-copy-top) - 80px), rgba(15, 42, 68, .85) var(--home-copy-top), #0f2a44 calc(var(--home-photo-height) - 1px)); }
    .home-hero-photo { inset: 0 0 auto; height: var(--home-photo-height); }
    .home-hero-photo img { object-position: center 70%; transform: scale(1.12); transform-origin: center 85%; }
    .home-hero-layout { min-height: 0; width: 100%; max-width: 688px; padding: var(--home-copy-top) 24px 36px; }
    .tt-hero--home .tt-h1 { font-size: clamp(34px, 5.5vw, 44px); }
    .home-kicker { margin-bottom: 12px; }
}

@media (max-width: 520px) {
    html.tt-home .tt-pagehead { padding: 28px 20px 24px; }
    .home-hero-layout { padding: var(--home-copy-top) 20px 32px; }
    .tt-hero--home .tt-h1 { font-size: clamp(28px, 8.7vw, 40px); margin-bottom: 16px; }
    .tt-hero--home .tt-sub { font-size: 16px; line-height: 1.55; margin-bottom: 22px; }
    .tt-hero--home .tt-finder { grid-template-columns: minmax(0, 1fr); }
    .tt-hero--home .tt-finder-field { border: 1px solid #e2e8ed; }
    .home-text-option { margin-top: 10px; }
    .home-proof { margin-top: 10px; padding-top: 10px; gap: 4px 20px; }
}

/* Shared footer: reserve room for phone numbers, with a separate wrapping label. */
.site-footer-grid { grid-template-columns: minmax(0, 1.5fr) minmax(210px, 1.15fr) minmax(0, .85fr) minmax(0, 1.15fr); }
.site-footer-contact .site-footer-contact-copy { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.site-footer-contact-label { font-size: 12px; font-weight: 500; line-height: 1.4; }
.site-footer-phone { display: inline-block; white-space: nowrap; font-variant-numeric: tabular-nums; }
.site-footer-contact :is(.site-footer-strong, .site-footer-muted-call) { gap: 12px; min-height: 60px; align-self: flex-start; margin-bottom: 4px; }
.site-footer-contact > a > i { flex-shrink: 0; }
.site-footer-contact .site-footer-strong .site-footer-contact-label { color: var(--public-on-dark-muted); }
.site-footer-contact .site-footer-strong .site-footer-phone { color: var(--public-on-dark); }
.site-footer-contact .site-footer-hint { margin: 6px 0 10px; max-width: 30ch; color: var(--public-on-dark-muted) !important; }
.site-footer-contact a:focus-visible { outline: 2px solid #ffd400; outline-offset: 4px; border-radius: 4px; }

@media (max-width: 1100px) {
    .site-footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .site-footer-brand { grid-column: auto; }
}

@media (max-width: 600px) {
    .site-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}

/* Home's lower sections use the same quiet type and aligned edges as the photo hero. */
.home-page > .tt-section .tt-h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.2; letter-spacing: -.035em; }
.home-section-kicker { display: block; margin-bottom: 12px; color: var(--public-link); font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; }
.home-page .home-section-heading { max-width: 1180px; align-items: center; margin: 0 auto 30px; }
.home-page .home-section-heading .tt-section-sub { margin: 12px 0 0; max-width: 56ch; font-size: 16px; line-height: 1.6; }
.home-page .tt-cats { max-width: 1180px; gap: 24px; }
.home-page .tt-cat-label { font-size: 17px; line-height: 1.4; }
.home-page .tt-cat-sub { font-size: 14px; }

/* Recent uploads share one photo ratio, independent of their position or orientation. */
.home-page .tt-section--work .tt-section-head { max-width: 1180px; }
.home-page .tt-section--work .tt-masonry { max-width: 1180px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; gap: 20px; }
.home-page .tt-section--work .tt-masonry-item { display: flex; flex-direction: column; grid-row: auto; min-width: 0; border: 1px solid #dce5eb; border-radius: 16px; background: #fff; color: var(--public-heading); text-decoration: none; }
.home-work-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #eef4f8; }
.home-page .home-work-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.home-work-latest { position: absolute; top: 12px; left: 12px; padding: 5px 9px; border-radius: 6px; background: var(--public-heading); color: var(--public-on-dark); font-size: 11px; font-weight: 700; line-height: 1.4; }
.home-work-caption { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex: 1; min-height: 76px; padding: 16px; font-size: 14px; font-weight: 600; line-height: 1.5; }
.home-work-caption > span { min-width: 0; overflow-wrap: anywhere; }
.home-work-caption > i { flex-shrink: 0; color: var(--public-link); }
.home-page .tt-section--work .tt-masonry-item:hover { border-color: var(--public-link); }
.home-page .tt-section--work .tt-masonry-item:focus-visible { outline: 2px solid var(--public-link); outline-offset: 4px; }

@media (max-width: 1000px) {
    .home-page .tt-section--work .tt-masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

@media (max-width: 520px) {
    .home-page .tt-section--work .tt-section-head { align-items: flex-start; flex-wrap: wrap; gap: 12px 20px; }
    .home-page .tt-section--work .tt-masonry { gap: 12px; }
    .home-work-caption { gap: 8px; padding: 12px; }
    .home-work-caption > i { display: none; }
    .home-work-latest { top: 8px; left: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .home-page .tt-section--work .tt-masonry-item img { transition: none; transform: none; }
}

/* Full, attributed customer quotes share the same surface and type scale. */
.home-reviews { background: #f4f8fa; }
.home-page .home-review-grid { max-width: 1180px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 20px; }
.home-review { min-width: 0; margin: 0; padding: 28px; gap: 20px; background: #fff; border-color: #dce5eb; box-shadow: none; }
.home-review::before { display: none; }
.home-review .tt-review-stars { display: flex; gap: 3px; }
.home-review .tt-review-stars i { font-size: 15px; }
.home-review .tt-review-text { font-size: 16px; font-weight: 400; line-height: 1.65; }
.home-review .tt-review-by { margin-top: auto; padding-top: 20px; }
.home-review .tt-review-avatar { flex-shrink: 0; background: var(--public-heading); }

/* A compact ordered sequence, with a line joining the three steps. */
.home-process-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr); gap: 28px 52px; max-width: 1180px; margin: 0 auto; }
.home-process-heading .tt-section-sub { margin: 14px 0 0; max-width: 25ch; font-size: 16px; line-height: 1.6; }
.home-page .home-process-steps { position: relative; width: 100%; max-width: none; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.home-process-steps::before { content: ""; position: absolute; top: 24px; left: 0; right: 0; height: 1px; background: #cbd8e2; }
.home-process-steps .tt-step { min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
.home-process-steps .tt-step-num { position: relative; z-index: 1; justify-content: flex-start; width: 62px; height: 48px; margin-bottom: 18px; border-radius: 0; background: #fff; color: var(--public-heading); font-size: 32px; font-weight: 700; letter-spacing: -.04em; }
.home-process-steps h3 { font-size: 18px; line-height: 1.4; margin: 0 0 10px; }
.home-process-steps p { font-size: 15px; line-height: 1.65; }
.home-process-action { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.home-process-action .tt-btn { min-height: 48px; }
.home-process-action > span { max-width: 25ch; color: var(--public-muted); font-size: 13px; line-height: 1.5; }

@media (max-width: 1000px) {
    .home-page .home-review-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
    .home-process-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .home-process-heading .tt-section-sub { max-width: none; }
    .home-process-action { grid-column: 1; }
}

@media (max-width: 700px) {
    .home-page .home-review-grid { gap: 16px; }
    .home-review { padding: 24px; }
    .home-page .home-process-steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .home-process-steps::before { display: none; }
    .home-process-steps .tt-step { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; }
    .home-process-steps .tt-step:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 44px; bottom: -24px; width: 1px; background: #cbd8e2; }
    .home-process-steps .tt-step-num { width: 42px; height: 42px; margin: 0; font-size: 28px; }
    .home-process-steps h3 { margin-bottom: 6px; }
    .home-process-action { align-items: flex-start; flex-direction: column; }
    .home-process-action > span { max-width: none; }
    .home-page .tt-cats { gap: 20px; }
}

/* Marketing subpages share Home's type rhythm; customer portals/admin are outside this scope. */
html.tt-home .public-inner .tt-pagehead { padding: 32px 24px; background: #f4f8fa; }
.public-inner .tt-pagehead-inner { max-width: 1180px; text-align: left; }
.public-inner .tt-pagehead .tt-eyebrow { padding: 0; margin: 0 0 14px; border: 0; border-radius: 0; background: transparent; font-size: 12px; font-weight: 700; letter-spacing: .07em; }
.public-inner .tt-h1-sm { font-size: clamp(28px, 3.3vw, 46px); font-weight: 700; line-height: 1.16; letter-spacing: -.035em; }
.public-inner .tt-pagehead .tt-h1-accent { padding: 0; background: none; }
.public-inner .tt-pagehead .tt-sub { max-width: 68ch; margin: 16px 0 0; text-align: left; font-size: 17px; line-height: 1.65; }
.public-inner .tt-h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 700; line-height: 1.22; letter-spacing: -.03em; }
.public-inner .service-intro-request { margin-top: 22px; min-height: 48px; }

/* Catalog: keep operator images intact, align actions, and offer a compact phone layout. */
.public-inner .tt-card-grid { max-width: 1180px; gap: 24px; }
.public-inner .tt-bigcard-body { display: flex; flex-direction: column; flex: 1; }
.public-inner .tt-bigcard-body h2 { font-size: 21px; line-height: 1.35; letter-spacing: -.02em; }
.public-inner .tt-bigcard-body p { font-size: 15px; line-height: 1.65; }
.public-inner .tt-bigcard-cta { margin-top: auto; min-height: 36px; }
.public-inner .tt-bigcard:focus-visible { outline: 2px solid var(--public-link); outline-offset: 4px; }
.public-inner .tt-price-guide { gap: 32px; }
.public-inner .tt-price-guide .tt-eyebrow { margin-bottom: 12px; }
.public-inner .tt-price-guide p { font-size: 15px; line-height: 1.65; }
.public-inner .tt-svc-title { font-size: 19px; line-height: 1.4; }
.public-inner .tt-svc-desc { font-size: 15px; line-height: 1.65; }
.public-inner .tt-svc-cta { min-height: 44px; }

/* About: one quiet statistics strip and more legible, data-driven team profiles. */
.public-inner .tt-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 18px 0; background: #f4f8fa; border-radius: 16px; }
.public-inner .tt-stat { min-width: 0; padding: 10px 16px; border: 0; border-radius: 0; background: transparent; }
.public-inner .tt-stat:not(:last-child) { border-right: 1px solid #dce5eb; }
.public-inner .tt-bio-head { align-items: flex-start; }
.public-inner .tt-bio-head > div:last-child { min-width: 0; }
.public-inner .tt-bio-avatar { width: 96px; height: 96px; }
.public-inner .tt-bio-name { font-size: 22px; font-weight: 700; }
.public-inner .tt-bio-role { line-height: 1.5; }
.public-inner .tt-team-card { border-color: #dce5eb; box-shadow: none; }
.public-inner .tt-about-intro h2, .public-inner .tt-about-h2 { font-weight: 700; letter-spacing: -.025em; }

/* Reviews and Gallery keep every item, filter and viewer behavior. */
.public-inner .tt-review-grid { max-width: 1180px; align-items: stretch; }
.public-inner .tt-review { gap: 18px; }
.public-inner .tt-review-text { font-size: 16px; line-height: 1.65; }
.public-inner .tt-review-by { margin-top: auto; padding-top: 18px; }
.public-inner .tt-review-avatar { flex-shrink: 0; background: var(--public-heading); }
.public-inner .gal-page { max-width: 1180px; }
.public-inner .gal-filters { justify-content: flex-start; }
.public-inner .gal-filter[aria-pressed="true"] { background: #0f2a44; border-color: #0f2a44; color: #fff; }
.public-inner .gal-subfilter[aria-pressed="true"] { background: #eef4f8; border-color: #0f2a44; }
.public-inner :is(.gal-filter, .gal-subfilter):focus-visible { outline: 2px solid var(--public-link); outline-offset: 3px; }
.public-inner .gal-section-title h2 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.025em; }
.public-inner .gal-section-title h2::after { background: var(--public-link); }

/* Request controls stay native; tighten the introduction and progress spacing. */
.public-inner .request-page .tt-booking-textus { min-height: 44px; margin: 10px 0 0; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 14px; }
.public-inner .request-page .wizard-progress { max-width: 720px; padding: 0; margin: 0 auto 24px; }
.public-inner .request-page .wizard-panel-header h2 { font-size: 20px; font-weight: 700; line-height: 1.35; }
.public-inner .request-page .wizard-panel-header { gap: 12px; }

/* Legal copy is unchanged; cap line length for comfortable desktop reading. */
.public-inner .legal-page { max-width: 900px; margin: 0 auto; padding: 20px 24px 64px; }
.public-inner .legal-page .section-header { margin-bottom: 28px; text-align: left; }
.public-inner .legal-page .section-header p { margin-left: 0; margin-right: 0; text-align: left; }
.public-inner .legal-page .section-header h1 { font-size: clamp(28px, 3.3vw, 42px); font-weight: 700; letter-spacing: -.035em; }
.public-inner .legal-page .section-divider { display: none; }
.public-inner .legal-page .card-body { max-width: 78ch; margin: 0 auto; padding: 28px 24px; }

@media (max-width: 700px) {
    html.tt-home .public-inner .tt-pagehead { padding: 26px 24px; }
    .public-inner .tt-pagehead .tt-sub { font-size: 16px; line-height: 1.6; }
    .public-inner .catalog-page .tt-card-grid { gap: 16px; }
    .public-inner .catalog-page .tt-bigcard { display: grid; grid-template-columns: minmax(0, 1fr) 96px; align-items: start; gap: 12px 16px; padding: 16px; }
    .public-inner .catalog-page .tt-bigcard-img { grid-column: 2; grid-row: 1; border-radius: 10px; }
    .public-inner .catalog-page .tt-bigcard-body { display: contents; }
    .public-inner .catalog-page .tt-bigcard-body h2 { grid-column: 1; grid-row: 1; align-self: center; margin: 0; font-size: 18px; }
    .public-inner .catalog-page .tt-bigcard-body p { grid-column: 1 / -1; font-size: 14px; line-height: 1.6; min-height: 0; margin: 0; }
    .public-inner .catalog-page .tt-bigcard-cta { grid-column: 1 / -1; font-size: 14px; }
    .public-inner .tt-price-guide-section { padding-top: 28px; padding-bottom: 28px; }
    .public-inner .tt-price-guide { gap: 20px; }
    .public-inner .tt-price-factors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .public-inner .tt-price-factors > span { min-width: 0; padding: 10px; font-size: 12px; line-height: 1.5; }
    .public-inner .tt-stats { padding: 12px 0; }
    .public-inner .tt-stat { padding: 8px; }
    .public-inner .tt-stat strong { font-size: 24px; }
    .public-inner .tt-bio-avatar { width: 72px; height: 72px; }
    .public-inner .tt-bio-name { font-size: 20px; }
    .public-inner .legal-page { padding: 20px 16px 40px; }
    .public-inner .legal-page .card-body { padding: 22px 18px; }
}

/* Quiet legal copy, aligned with the site's small supporting text. */
html.tt-home .content-area .contractor-disclosure {
    margin: 14px 0 0;
    max-width: 78ch;
    color: var(--public-muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}
html.tt-home .site-footer .contractor-disclosure {
    margin: 18px 0 12px;
    padding-top: 12px;
    max-width: 100%;
    border-top: 1px solid rgba(196, 210, 223, .18);
    color: var(--public-on-dark-muted);
}
