/* Safari Drycleaners — v2 theme layer (2026-11). Loaded after site.css.
   Refined, compact type; gentle brand accents (teal #00AECC, leaf #7CC242); app-like mobile. */

:root {
  --step--1: clamp(0.72rem, 0.7rem + 0.08vw, 0.78rem);
  --step-0: clamp(0.86rem, 0.84rem + 0.1vw, 0.93rem);
  --step-1: clamp(0.94rem, 0.9rem + 0.18vw, 1.04rem);
  --step-2: clamp(1.05rem, 0.98rem + 0.4vw, 1.32rem);
  --step-3: clamp(1.22rem, 1.05rem + 0.9vw, 1.85rem);
  --step-4: clamp(1.45rem, 1.15rem + 1.6vw, 2.45rem);
  --step-5: clamp(1.75rem, 1.25rem + 2.6vw, 3.3rem);
  --header-h: 60px;
  --tabbar-h: 0px;
  --r-lg: 20px;
  --shadow-1: 0 1px 2px rgba(15, 28, 34, .05), 0 6px 18px -8px rgba(15, 28, 34, .14);
  --shadow-2: 0 2px 6px rgba(15, 28, 34, .05), 0 20px 40px -20px rgba(0, 118, 140, .28);
  --grad: linear-gradient(135deg, #00aecc, #0093ad 55%, #00768c);
}
@media (max-width: 899px) { :root { --tabbar-h: 64px; --header-h: 56px; } }

/* ---------- page transitions (cross-document, progressive) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: v2-out .18s ease-in both; }
::view-transition-new(root) { animation: v2-in .28s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes v2-out { to { opacity: 0; transform: translateY(-4px); } }
@keyframes v2-in { from { opacity: 0; transform: translateY(8px); } }
.site-header { view-transition-name: site-header; }
.tabbar { view-transition-name: tabbar; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ---------- base ---------- */
body {
  line-height: 1.6;
  background:
    radial-gradient(900px 420px at 100% -80px, rgba(0, 174, 204, .07), transparent 70%),
    radial-gradient(700px 380px at -10% 0, rgba(124, 194, 66, .06), transparent 70%),
    var(--paper);
  background-repeat: no-repeat;
  padding-bottom: var(--tabbar-h);
}
h1, h2, h3, .display { letter-spacing: -0.015em; line-height: 1.12; }
h3 { line-height: 1.2; }
.lede { line-height: 1.6; max-width: 34rem; }
.eyebrow { font-size: .66rem; letter-spacing: .16em; gap: .5rem; }
.eyebrow::before { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 3px rgba(124, 194, 66, .18); }
.eyebrow.light::before { background: #a6e07a; }

.section { padding-block: clamp(2.6rem, 1.6rem + 4vw, 5.5rem); }
.section-tight { padding-block: clamp(2rem, 1.3rem + 3vw, 4rem); }
.section-head { gap: .7rem; margin-bottom: clamp(1.4rem, 1rem + 2vw, 2.6rem); }
.section-head h2 { margin-top: .3rem !important; }

/* ---------- buttons ---------- */
.btn { border-radius: 12px; font-size: .84rem; padding: .78rem 1.2rem; gap: .5rem; transition: transform .15s var(--ease), box-shadow .2s, background .2s; }
.btn:active { transform: scale(.98); }
.btn-teal { background: var(--grad); box-shadow: 0 8px 22px -10px rgba(0, 150, 178, .7); }
.btn-teal:hover { box-shadow: 0 12px 26px -10px rgba(0, 150, 178, .85); }
.btn-sm { padding: .5rem .9rem; font-size: .78rem; border-radius: 10px; }

/* ---------- header ---------- */
.site-header { backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.brand img { width: 34px; height: auto; }
.brand-word b { font-size: 1.16rem; }
.brand-word span { font-size: .5rem; }
.nav { font-size: .8rem; gap: clamp(.9rem, 1.6vw, 1.7rem); }
.nav a { position: relative; padding-block: .3rem; }
.nav a[aria-current=page] { color: var(--teal-deep); }
.nav a[aria-current=page]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--leaf); }
@media (max-width: 899px) {
  .header-cta .btn, .header-phone { display: none; }
}

/* ---------- mobile tab bar ---------- */
.tabbar { display: none; }
@media (max-width: 899px) {
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: rgba(250, 248, 244, .88); backdrop-filter: saturate(170%) blur(16px); -webkit-backdrop-filter: saturate(170%) blur(16px);
    border-top: 1px solid rgba(214, 207, 193, .7);
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: .62rem; font-weight: 600; color: var(--muted); padding: 4px 0; letter-spacing: .01em; }
  .tabbar svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a[aria-current=page] { color: var(--teal-deep); }
  .tabbar a[aria-current=page] svg { stroke-width: 2; }
  .tabbar a.cta { color: #fff; }
  .tabbar a.cta .pill { width: 46px; height: 46px; margin-top: -20px; border-radius: 15px; display: grid; place-items: center;
    background: var(--grad); box-shadow: 0 10px 20px -8px rgba(0, 150, 178, .8), 0 0 0 4px var(--paper); }
  .tabbar a.cta span:last-child { color: var(--teal-deep); }
  .float-wa { bottom: calc(var(--tabbar-h) + 14px + env(safe-area-inset-bottom)) !important; width: 48px !important; height: 48px !important; }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; padding-top: calc(var(--header-h) + clamp(1.6rem, 4vw, 3.4rem)); padding-bottom: clamp(1.6rem, 3vw, 2.8rem); }
.page-hero::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: min(100% - 2 * var(--gutter), var(--max)); height: 12px; transform: translateX(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 12'%3E%3Cpath d='M0 11h104l16-9 16 9h104' fill='none' stroke='%23d6cfc1' stroke-width='1.2'/%3E%3Ccircle cx='120' cy='2' r='1.8' fill='%237cc242'/%3E%3C/svg%3E") center / 240px 12px no-repeat,
              linear-gradient(var(--line), var(--line)) left 11px / 100% 1px no-repeat;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.page-hero h1 { font-size: var(--step-4); margin: .7rem 0 .7rem; max-width: 20ch; }
.page-hero .lede { font-size: var(--step-1); }
.page-hero .crumbs { display: inline-flex; gap: .35rem; align-items: center; font-size: .7rem; padding: .25rem .65rem; border-radius: 99px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); }

/* ---------- home hero ---------- */
.hero2 { padding-top: calc(var(--header-h) + clamp(1.2rem, 3vw, 2.6rem)); padding-bottom: clamp(1.6rem, 3vw, 3rem); }
.hero2-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.4rem, 4vw, 4rem); align-items: center; }
.hero2 h1 { font-size: clamp(1.85rem, 1.15rem + 3.2vw, 3.5rem); margin: .8rem 0 .9rem; }
.hero2 h1 em { color: var(--teal-deep); }
.hero2 .lede { font-size: var(--step-1); margin: 0; }
.hero2 .actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.3rem; }
.hero2-visual { position: relative; }
.hero2-visual .frame { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow-2); }
.hero2-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero2-visual .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 23, 29, .35)); }
.hero2-visual .ticket { position: absolute; left: -18px; bottom: 26px; z-index: 2; }
.hero2-visual .leafdot { position: absolute; right: -10px; top: 22px; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #a6e07a, #7cc242 60%, #4f8c22); opacity: .9; filter: blur(.2px); z-index: -1; }
.trust { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1.2rem; font-size: .74rem; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: .35rem; }
.trust span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }

.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: 1.4rem; }
.quick a { display: flex; flex-direction: column; gap: .35rem; padding: .8rem .7rem; border-radius: 14px; background: rgba(255, 255, 255, .78);
  border: 1px solid var(--line); box-shadow: var(--shadow-1); font-size: .74rem; font-weight: 600; transition: transform .15s var(--ease), border-color .2s; }
.quick a:hover { transform: translateY(-2px); border-color: rgba(0, 174, 204, .45); }
.quick a i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--teal-wash); color: var(--teal-deep); font-style: normal; }
.quick a i svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quick a:nth-child(4) i { background: #e8f6dc; color: var(--leaf-deep); }
.quick a small { font-weight: 500; color: var(--muted); font-size: .68rem; }

@media (max-width: 899px) {
  .hero2-grid { grid-template-columns: 1fr; }
  .hero2-visual { order: -1; }
  .hero2-visual .frame { aspect-ratio: 16 / 10; border-radius: 20px; }
  .hero2-visual .ticket { left: 12px; bottom: 12px; }
  .hero2-visual .leafdot { display: none; }
  .quick { grid-template-columns: repeat(4, 1fr); gap: .45rem; }
  .quick a { padding: .65rem .4rem; align-items: center; text-align: center; font-size: .66rem; }
  .quick a small { display: none; }
}

/* ---------- service cards ---------- */
.sv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.sv-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: transform .2s var(--ease), box-shadow .25s; }
.sv-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.sv-card .im { aspect-ratio: 4 / 3; overflow: hidden; }
.sv-card .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.sv-card:hover .im img { transform: scale(1.04); }
.sv-card .bd { padding: .85rem .95rem 1rem; display: grid; gap: .2rem; }
.sv-card b { font-family: var(--serif); font-weight: 500; font-size: 1.02rem; line-height: 1.2; }
.sv-card span { font-size: .74rem; color: var(--muted); }
.sv-card .fr { font-size: .72rem; color: var(--teal-deep); font-weight: 600; margin-top: .2rem; }
.sv-card::after { content: "→"; position: absolute; right: .8rem; bottom: .8rem; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: .8rem; background: var(--teal-wash); color: var(--teal-deep); transition: transform .2s var(--ease); }
.sv-card:hover::after { transform: translateX(3px); }
@media (max-width: 1080px) { .sv-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 899px) {
  .sv-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; grid-template-columns: none; gap: .7rem; overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 10px; scrollbar-width: none; }
  .sv-scroll::-webkit-scrollbar { display: none; }
  .sv-scroll .sv-card { scroll-snap-align: start; }
  .sv-grid:not(.sv-scroll) { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .sv-card .bd { padding: .7rem .75rem .85rem; }
  .sv-card b { font-size: .92rem; }
  .sv-card::after { width: 22px; height: 22px; right: .6rem; bottom: .6rem; font-size: .7rem; }
}

/* ---------- how it works (compact) ---------- */
.steps2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: s; }
.steps2 > div { position: relative; padding: 1.1rem 1.1rem 1.2rem; border-radius: 16px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); }
.steps2 > div::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  font-size: .72rem; font-weight: 700; color: var(--teal-deep); background: var(--teal-wash); margin-bottom: .7rem; }
.steps2 h3 { font-size: 1rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; margin-bottom: .3rem; }
.steps2 p { margin: 0; font-size: .82rem; color: var(--ink-2); }
@media (max-width: 899px) {
  .steps2 { grid-template-columns: 1fr; gap: .55rem; }
  .steps2 > div { display: grid; grid-template-columns: 30px 1fr; gap: 0 .8rem; padding: .85rem .9rem; }
  .steps2 > div::before { margin: 0; grid-row: span 2; }
}

/* ---------- business band, branches, promise ---------- */
.biz2 { display: grid; grid-template-columns: 1fr 1fr; border-radius: 24px; overflow: hidden; background: var(--night); color: #e9f1f3; }
.biz2 .media img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.biz2 .body { padding: clamp(1.4rem, 3vw, 2.8rem); display: grid; gap: .9rem; align-content: center; }
.biz2 h2 { color: #fff; font-size: var(--step-3); }
.biz2 h2 em { color: #7fe0f0; }
.biz2 p { margin: 0; color: #b9c7cc; font-size: .86rem; }
.biz2 .tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.biz2 .tags span { font-size: .7rem; padding: .3rem .65rem; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .16); color: #d9e6ea; }
@media (max-width: 899px) { .biz2 { grid-template-columns: 1fr; border-radius: 20px; } .biz2 .media img { min-height: 0; aspect-ratio: 16 / 8; } }

.chips2 { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips2 a { display: grid; gap: .1rem; padding: .6rem .85rem; border-radius: 12px; background: #fff; border: 1px solid var(--line); min-width: 9.5rem; transition: border-color .2s, transform .15s; }
.chips2 a:hover { border-color: rgba(0, 174, 204, .5); transform: translateY(-1px); }
.chips2 b { font-size: .84rem; font-weight: 600; }
.chips2 span { font-size: .7rem; color: var(--muted); }
@media (max-width: 899px) {
  .chips2 { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px; scrollbar-width: none; }
  .chips2::-webkit-scrollbar { display: none; }
  .chips2 a { flex: none; }
}

.promise2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.promise2 div { padding-top: .9rem; border-top: 2px solid var(--teal); }
.promise2 div:nth-child(2) { border-top-color: var(--leaf); }
.promise2 b { display: block; font-size: .9rem; margin-bottom: .25rem; }
.promise2 p { margin: 0; font-size: .82rem; color: var(--ink-2); }
@media (max-width: 899px) { .promise2 { grid-template-columns: 1fr; gap: .9rem; } }

.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 4vw, 4rem); align-items: start; }
@media (max-width: 899px) { .split2 { grid-template-columns: 1fr; } }

/* ---------- service detail page ---------- */
.svd-hero { padding-top: calc(var(--header-h) + clamp(1rem, 3vw, 2.4rem)); padding-bottom: clamp(1.4rem, 3vw, 2.6rem); }
.svd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 4vw, 4rem); align-items: center; }
.svd-media { border-radius: 24px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-2); }
.svd-media img { width: 100%; height: 100%; object-fit: cover; }
.svd-hero h1 { font-size: var(--step-4); margin: .7rem 0 .8rem; }
.svd-hero .crumbs { font-size: .7rem; color: var(--muted); }
.svd-hero .crumbs a:hover { color: var(--ink); }
.svd-price { display: inline-flex; align-items: baseline; gap: .4rem; margin-top: 1rem; padding: .5rem .8rem; border-radius: 12px; background: var(--teal-wash); font-size: .76rem; color: var(--teal-deep); }
.svd-price b { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; color: var(--ink); }
.svd-ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.2rem; }
.svd-ticks li { position: relative; padding-left: 1.5rem; font-size: .86rem; }
.svd-ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 15px; height: 15px; border-radius: 50%;
  background: var(--teal-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.9' fill='none' stroke='%2300768c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.svd-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.3rem; }
.svd-card { padding: clamp(1.1rem, 2.4vw, 1.8rem); border-radius: 20px; background: rgba(255, 255, 255, .75); border: 1px solid var(--line); }
.svd-card h2 { font-size: var(--step-2); margin-bottom: .9rem; }
@media (max-width: 899px) {
  .svd-grid { grid-template-columns: 1fr; }
  .svd-media { order: -1; aspect-ratio: 16 / 10; border-radius: 18px; }
  .svd-ticks { grid-template-columns: 1fr; }
}

/* ---------- tidy existing components ---------- */
.feature { gap: clamp(1.2rem, 5vw, 4.5rem); padding-block: clamp(1.4rem, 3vw, 3rem); }
.feature-media { border-radius: 22px; overflow: hidden; }
.feature-body h3 { font-size: var(--step-3); margin: .45rem 0 .8rem; }
.ticks { font-size: .86rem; margin: 1rem 0 1.3rem; }
.from b { font-size: 1.2rem; }
.cta-final h2 { font-size: var(--step-4); }
.price-row { font-size: .86rem; padding: .62rem 0; }
.track-box { border-radius: 18px; }
.loc-item .ln { font-size: 1.1rem; }
.success-card .ref { font-size: var(--step-3); }
.statement { font-size: var(--step-3) !important; line-height: 1.3 !important; }
.footer-word { font-size: clamp(4rem, 16vw, 12rem) !important; }
.site-footer { font-size: .84rem; }
@media (max-width: 899px) {
  .site-footer { padding-bottom: 1rem; }
  .footer-top { gap: 1.6rem !important; }
}

/* ---------- reveal: content is visible without JS; animation is a gentle extra ---------- */
.reveal { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js .reveal:not(.in) { opacity: 0; transform: translateY(14px); }
@media (prefers-reduced-motion: reduce) { html.js .reveal:not(.in) { opacity: 1; transform: none; } }
.sv-card .bd { padding-right: 2.6rem !important; }
.sv-card .bd > span:not(.fr) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- mobile readability (2026-11-19): larger body text, compact headings ---------- */
@media (max-width: 899px) {
  :root {
    --step--1: 0.8rem;     /* 12.8px captions */
    --step-0: 0.95rem;     /* 15.2px body */
    --step-1: 1rem;        /* 16px intros */
    --step-2: 1.14rem;
    --step-3: 1.38rem;
    --step-4: 1.62rem;
  }
  body { font-size: var(--step-0); line-height: 1.6; }
  .lede, .page-hero .lede, .hero2 .lede { font-size: var(--step-1); }
  .hero2 h1 { font-size: 1.95rem; }
  .eyebrow { font-size: .72rem; }
  .small, .trust { font-size: .8rem; }
  .btn { font-size: .92rem; padding: .82rem 1.2rem; }
  .crumbs, .page-hero .crumbs, .svd-hero .crumbs { font-size: .78rem !important; }
  .quick a { font-size: .74rem; }
  .sv-card b { font-size: 1rem; }
  .sv-card span { font-size: .82rem; }
  .sv-card .fr { font-size: .8rem; }
  .steps2 h3 { font-size: 1.02rem; }
  .steps2 p, .promise2 p { font-size: .9rem; }
  .promise2 b { font-size: .95rem; }
  .chips2 b { font-size: .92rem; }
  .chips2 span { font-size: .78rem; }
  .biz2 p { font-size: .92rem; }
  .biz2 .tags span { font-size: .78rem; }
  .svd-ticks li { font-size: .94rem; }
  .svd-price { font-size: .84rem; }
  .ticks { font-size: .94rem; }
  .price-row { font-size: .94rem; }
  .field label { font-size: .86rem; }
  .field input, .field select, .field textarea { font-size: 1rem; }
  .tabbar a { font-size: .7rem; }
  .site-footer { font-size: .92rem; }
  .nav, .mobile-menu .mm-foot { font-size: .9rem; }
}
