/* TBPS Hua Hin: warm "service desk" design. Navy + gold on warm sand, Hua Hin photos and sea video. */
:root {
    --ink: #14274E;
    --ink-2: #1F3360;
    --blue: #14274E;
    --blue-2: #1F4A8F;
    --gold: #E2AE2C;
    --gold-soft: #FBF0D8;
    --gold-ink: #9A6A00;
    --bg: #F6EFE4;
    --card: #FFFDF9;
    --line: #EADFCC;
    --line-2: #F0E7D8;
    --text: #23263A;
    --muted: #5A5446;
    --green: #12B76A;
    --head: 'Figtree', system-ui, sans-serif;
    --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --r: 14px;
    --r-lg: 26px;
    --shadow: 0 1px 2px rgba(20, 39, 78, .05), 0 8px 24px -12px rgba(20, 39, 78, .16);
    --gut: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-2); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.hl { background: linear-gradient(transparent 62%, rgba(226, 174, 44, .55) 62%); padding: 0 .06em; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); }
.tb-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.tb-skip:focus { left: 8px; }
.thai { font-family: 'Sarabun', 'Thonburi', 'Leelawadee UI', var(--body); }
.page-content .vela-row, .page-content .vela-row > .container, .page-content .row, .page-content [class*="col-"] { max-width: none; padding: 0; margin: 0; }

/* ---------------------------------------------------------------- status bar */
.statusbar { background: var(--ink); color: #C9D1E2; font-size: .8rem; }
.statusbar .wrap { display: flex; align-items: center; gap: 20px; min-height: 36px; }
.statusbar a { color: #fff; text-decoration: none; }
.statusbar a:hover { color: var(--gold); }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; white-space: nowrap; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #8A94A8; box-shadow: 0 0 0 3px rgba(138, 148, 168, .25); }
.status.is-open .status-dot { background: var(--green); box-shadow: 0 0 0 3px rgba(18, 183, 106, .25); animation: pulse 2s infinite; }
.status small { font-weight: 400; color: #C9D1E2; font-size: .8rem; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(18, 183, 106, 0); } }
.statusbar-note { flex: 1; text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.statusbar-note b { color: var(--gold); font-weight: 600; }
.statusbar-right { display: flex; gap: 18px; white-space: nowrap; }

/* ---------------------------------------------------------------- header */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--card); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 20px; min-height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo img { width: 46px; height: 46px; }
.logo span { display: flex; flex-direction: column; line-height: 1; }
.logo strong { font: 800 1.55rem/1 var(--head); letter-spacing: .02em; }
.logo small { font-size: .66rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; margin-top: 4px; text-transform: uppercase; }
.nav { display: flex; align-items: center; margin-left: auto; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 600; font-size: .93rem; }
.nav a:hover { background: var(--bg); color: var(--ink); }
.nav a[aria-current="page"], .nav a.active { color: var(--blue); background: #FBF0D8; }
.nav-mobile { display: none !important; }
.hdr-cta { display: flex; gap: 10px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r); border: 1.5px solid var(--blue); background: var(--blue); color: #fff; font: 600 .95rem/1 var(--body); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; white-space: nowrap; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .9rem; }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #F0BE3E; border-color: #F0BE3E; color: var(--ink); }
.btn--ghost, .btn--wa { background: var(--card); border-color: var(--line); color: var(--ink); }
.btn--ghost:hover, .btn--wa:hover { background: var(--bg); border-color: #C4CBD7; color: var(--ink); }
.btn--wa svg { color: #1FA855; }
.btn--line { background: transparent; border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--line:hover { background: var(--card); color: var(--ink); border-color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.arrow { font-weight: 700; color: var(--blue-2); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.arrow::after { content: '→'; transition: transform .15s; }
.arrow:hover::after { transform: translateX(3px); }

/* ---------------------------------------------------------------- sections */
.sec { padding: clamp(56px, 7vw, 96px) 0; }
.sec--white { background: var(--card); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.sec--ink { background: var(--ink); color: #C9D1E2; }
.sec--ink h2, .sec--ink h3 { color: #fff; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 .76rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 14px; }
.kicker::before { content: ''; width: 10px; height: 10px; border-radius: 2px; background: var(--gold); }
.sec--ink .kicker { color: var(--gold); }
.shead { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 36px; }
.shead > div { max-width: 700px; }
.shead h2 { margin-bottom: 0; }
.shead p { margin: 0; color: var(--muted); font-size: 1.04rem; max-width: 460px; }
.sec--ink .shead p { color: #A9B3C7; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--muted); }
.small { font-size: .85rem; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.pill b { background: var(--gold); color: var(--ink); border-radius: 999px; padding: 3px 9px; font-size: .74rem; letter-spacing: .03em; }
.pill:hover { border-color: #B9C3D3; color: var(--ink); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 84px); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); opacity: .8; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-top: 20px; }
.hero .lead { max-width: 560px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.trust div { display: flex; align-items: center; gap: 8px; }
.trust strong { color: var(--ink); font-family: var(--head); font-size: 1.05rem; }
.stars { color: var(--gold); letter-spacing: 1px; }

/* service finder */
.finder-wrap { position: relative; }
.finder-photo { position: absolute; right: -40px; top: -24px; width: 72%; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; }
.finder-photo img { width: 100%; height: 100%; object-fit: cover; }
.finder { position: relative; margin-top: 110px; margin-right: 48px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(20, 39, 78, .4); overflow: hidden; }
.finder-top { padding: 20px 22px 0; }
.finder-top h2 { font-size: 1.3rem; margin: 0 0 4px; }
.finder-top p { margin: 0; font-size: .88rem; color: var(--muted); }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 16px 22px; border-bottom: 1px solid var(--line-2); }
.tab { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--card); font: 600 .78rem/1.2 var(--body); color: var(--text); cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.tab svg { width: 22px; height: 22px; color: var(--blue); }
.tab:hover { border-color: #B9C3D3; }
.tab.is-active { border-color: var(--blue); background: #FBF0D8; color: var(--blue); }
.panel { display: none; padding: 6px 22px 22px; }
.panel.is-active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } }
.panel ul { list-style: none; margin: 0; padding: 0; }
.panel li a { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; color: var(--ink); font-weight: 600; }
.panel li a span { flex: 1; }
.panel li a small { display: block; font-weight: 400; color: var(--muted); font-size: .84rem; }
.panel li a::after { content: '→'; color: var(--blue-2); }
.panel li a:hover { color: var(--blue); }
.panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 12px 14px; background: var(--gold-soft); border-radius: var(--r); font-size: .86rem; color: var(--ink); }
.panel-foot .btn { min-height: 38px; padding: 0 14px; font-size: .85rem; }

/* ---------------------------------------------------------------- facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.fact { padding: 24px 26px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact strong { display: block; font: 800 2.2rem/1 var(--head); color: var(--ink); letter-spacing: -.03em; margin-bottom: 8px; }
.fact strong em { font-style: normal; color: var(--gold); }
.fact span { color: var(--muted); font-size: .92rem; line-height: 1.45; display: block; }

/* ---------------------------------------------------------------- service menu */
.menu-group + .menu-group { margin-top: 40px; }
.menu-label { display: flex; align-items: center; gap: 12px; font: 700 .8rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.menu-label::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.svc { display: grid; grid-template-columns: 56px 1.1fr 1.4fr 40px; gap: 20px; align-items: center; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.svc + .svc { margin-top: 10px; }
.svc:hover { border-color: var(--blue); box-shadow: var(--shadow); color: inherit; }
.svc:hover .svc-go { background: var(--blue); color: #fff; border-color: var(--blue); }
.svc h3 { margin: 0 0 3px; font-size: 1.15rem; }
.svc p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .78rem; font-weight: 600; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line-2); border-radius: 6px; padding: 4px 9px; }
.svc-go { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--blue); font-weight: 700; transition: all .15s; }
.ico { width: 56px; height: 56px; border-radius: 14px; background: #FBF0D8; color: var(--blue); display: grid; place-items: center; flex: none; }
.ico svg { width: 28px; height: 28px; }
.ico--gold { background: var(--gold-soft); color: var(--gold-ink); }

/* ---------------------------------------------------------------- checklist tool */
.checker { display: grid; grid-template-columns: 300px 1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.checker-side { background: var(--bg); border-right: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.checker-side .tab { flex-direction: row; justify-content: flex-start; padding: 13px 14px; font-size: .92rem; text-align: left; background: transparent; border-color: transparent; }
.checker-side .tab.is-active { background: var(--card); border-color: var(--line); color: var(--ink); box-shadow: var(--shadow); }
.checker-side .tab small { margin-left: auto; color: var(--muted); font-weight: 500; }
.checker-main { padding: 26px clamp(20px, 3vw, 36px) 30px; }
.checker-main .panel { padding: 0; }
.checker-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.checker-head h3 { font-size: 1.35rem; margin: 0; }
.progress { font-size: .85rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.progress-bar { height: 6px; border-radius: 6px; background: var(--line-2); margin-bottom: 14px; overflow: hidden; }
.progress-bar i { display: block; height: 100%; width: 0; background: var(--green); transition: width .25s; }
.tick { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--line); cursor: pointer; }
.tick input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border: 1.5px solid #B9C3D3; border-radius: 6px; cursor: pointer; display: grid; place-items: center; background: var(--card); }
.tick input:checked { background: var(--green); border-color: var(--green); }
.tick input:checked::after { content: ''; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.tick input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(91, 101, 120, .5); }
.tick span small { display: block; color: var(--muted); font-size: .84rem; text-decoration: none; }
.checker-note { margin-top: 18px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 16px; border-radius: var(--r); background: var(--gold-soft); font-size: .88rem; color: var(--ink); }
.checker-note .btn { min-height: 38px; padding: 0 14px; font-size: .85rem; }

/* ---------------------------------------------------------------- gallery / visit */
.visit { display: grid; grid-template-columns: 1.3fr .7fr; gap: 16px; }
.mosaic { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; min-height: 460px; }
.mosaic figure { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--line-2); }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.mosaic figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(20, 39, 78, .8); color: #fff; font-size: .78rem; padding: 5px 10px; border-radius: 6px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.card h3 { font-size: 1.25rem; }
.rows { margin: 0; display: grid; }
.rows div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: .94rem; }
.rows div:last-child { border-bottom: 0; }
.rows dt { color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; padding-top: 3px; }
.rows dd { margin: 0; color: var(--ink); }
.rows a { color: var(--ink); text-decoration: none; font-weight: 600; }
.rows a:hover { color: var(--blue-2); }

/* ---------------------------------------------------------------- two firms */
.firms { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.firm { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; }
.firm--legal { background: var(--ink); border-color: var(--ink); color: #C9D1E2; }
.firm--legal h3, .firm--legal .firm-phone { color: #fff; }
.firm-tag { font: 700 .74rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 10px; }
.firm--legal .firm-tag { color: var(--gold); }
.firm h3 { font-size: 1.55rem; margin-bottom: 8px; }
.firm ul { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: .93rem; }
.firm li { padding-left: 22px; position: relative; }
.firm li::before { content: ''; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 3px; background: var(--gold); }
.firm-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
.firm--legal .firm-foot { border-color: rgba(255, 255, 255, .12); }
.firm-phone { font: 800 1.4rem/1 var(--head); color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.firm--legal .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.firm--legal .btn--ghost:hover { background: var(--card); color: var(--ink); }

/* ---------------------------------------------------------------- reviews */
.reviews { columns: 3 300px; column-gap: 16px; }
.review { break-inside: avoid; margin: 0 0 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.review-top { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 700 1rem/1 var(--head); color: #fff; background: var(--blue); flex: none; }
.review-top strong { display: block; color: var(--ink); font-size: .96rem; line-height: 1.25; }
.review-top small { color: var(--muted); font-size: .82rem; }
.review .stars { display: block; margin: 12px 0 4px; }
.review blockquote { margin: 0; font-size: .96rem; line-height: 1.6; color: var(--text); }
.review-note { display: inline-block; margin-top: 12px; font-size: .76rem; color: var(--muted); background: var(--bg); padding: 3px 8px; border-radius: 5px; }

/* ---------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; border: solid var(--blue); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details[open] { border-color: #B9C3D3; }
.faq-a { padding: 0 20px 18px; color: var(--muted); }
.faq-a p:last-child { margin: 0; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }

/* ---------------------------------------------------------------- contact channels */
.channels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 30px; }
.channel { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #fff; text-decoration: none; transition: background .15s, border-color .15s; }
.channel:hover { background: rgba(255, 255, 255, .1); border-color: var(--gold); color: #fff; }
.channel svg { width: 26px; height: 26px; color: var(--gold); margin-bottom: 8px; }
.channel small { color: #A9B3C7; font-size: .82rem; }
.channel strong { font: 700 1.05rem/1.25 var(--head); }

/* ---------------------------------------------------------------- inner pages */
.phero { background: var(--card); border-bottom: 1px solid var(--line); padding: clamp(32px, 5vw, 60px) 0; }
.phero .wrap { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.phero--solo .wrap { grid-template-columns: minmax(0, 860px); }
.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue-2); }
.phero h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
.quick { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.quick h2 { font: 700 .78rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.quick .rows div { grid-template-columns: 1fr; gap: 2px; }
.quick .btn { width: 100%; margin-top: 14px; }
.doc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: 100px; font-size: .9rem; }
.toc strong { display: block; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); color: var(--text); text-decoration: none; }
.toc a:hover, .toc a.is-current { border-color: var(--blue); color: var(--blue); font-weight: 600; }
.toc .card { margin-top: 22px; padding: 18px; }
.toc .card p { font-size: .86rem; color: var(--muted); margin: 4px 0 12px; }
.toc .card .btn { width: 100%; }
.prose { max-width: 780px; }
.prose > h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin-top: 1.8em; }
.prose > h2:first-child { margin-top: 0; }
.list { list-style: none; padding: 0; margin: 14px 0 22px; display: grid; gap: 8px; }
.list--2 { grid-template-columns: 1fr 1fr; }
.list li { position: relative; padding: 11px 14px 11px 44px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); font-size: .95rem; }
.list li::before { content: ''; position: absolute; left: 14px; top: 13px; width: 18px; height: 18px; border-radius: 5px; background: #E7F8EF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312B76A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.note { display: flex; gap: 14px; padding: 18px 20px; margin: 24px 0; border-radius: var(--r); background: var(--gold-soft); border: 1px solid #F2DB9C; }
.note::before { content: '!'; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-weight: 800; }
.note strong { display: block; color: var(--ink); }
.note p { margin: 2px 0 0; font-size: .95rem; }
.types { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 8px; }
.type { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.type h3 { font-size: 1.08rem; margin-bottom: 6px; }
.type p { margin: 0; font-size: .92rem; color: var(--muted); }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 34px 0 0; padding: 22px 24px; background: var(--ink); color: #C9D1E2; border-radius: var(--r-lg); }
.inline-cta strong { display: block; color: #fff; font: 700 1.2rem/1.2 var(--head); margin-bottom: 4px; }
.inline-cta p { margin: 0; font-size: .92rem; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related a { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); font-weight: 700; }
.related a:hover { border-color: var(--blue); color: var(--ink); }
.related .ico { width: 44px; height: 44px; border-radius: 11px; }
.related .ico svg { width: 22px; height: 22px; }

/* ---------------------------------------------------------------- contact page */
.contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; align-items: start; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 36px); }
.form h2 { font-size: 1.6rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .88rem; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--text); background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); padding: 12px 13px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(36, 80, 176, .14); }
.form .btn { width: 100%; margin-top: 20px; min-height: 52px; }
.form .alert, .form [class*="success"] { background: #E7F8EF; border: 1px solid #A6E6C6; color: var(--ink); padding: 14px 16px; border-radius: var(--r); margin-bottom: 16px; }
.stack { display: grid; gap: 16px; }
.photo { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------------------------------------------------------------- footer */
.ftr { background: var(--ink); color: #A9B3C7; padding: clamp(48px, 6vw, 72px) 0 0; font-size: .93rem; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1.3fr; gap: 36px; }
.ftr .logo { color: #fff; }
.ftr .logo img { background: var(--card); border-radius: 12px; padding: 4px; }
.ftr .logo small { color: #A9B3C7; }
.ftr h3 { font: 700 .76rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 6px 0 16px; }
.ftr-links, .ftr-links ul { display: flex; flex-direction: column; gap: 9px; list-style: none; margin: 0; padding: 0; }
.ftr a { color: #C9D1E2; text-decoration: none; }
.ftr a:hover { color: var(--gold); }
.ftr-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: #7E89A0; }
.dock { display: none; }

/* ---------------------------------------------------------------- reveal */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.js .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } .status-dot { animation: none !important; } }
@media print { .statusbar, .hdr, .ftr, .dock, .checker-side, .checker-note { display: none !important; } .checker { box-shadow: none; display: block; } }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1240px) { .statusbar-note { display: none; } .statusbar-right { margin-left: auto; } }
@media (max-width: 1160px) { .hdr-cta .btn--wa { display: none; } }
@media (max-width: 1040px) {
    .burger { display: flex; }
    .hdr-cta { display: none; }
    .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 74px); height: calc(100dvh - 74px); background: var(--card); flex-direction: column; align-items: stretch; padding: 12px var(--gut) 120px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
    .nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .nav ul { flex-direction: column; }
    .nav a { font-size: 1.1rem; padding: 14px 4px; border-bottom: 1px solid var(--line-2); border-radius: 0; }
    .nav-mobile { display: block !important; color: var(--blue) !important; }
    .nav-open { overflow: hidden; }
    .hero .wrap, .phero .wrap, .split, .doc, .contact, .visit, .checker { grid-template-columns: minmax(0, 1fr); }
    .finder { margin: 0; }
    .finder-photo { display: none; }
    .facts { grid-template-columns: 1fr 1fr; }
    .fact:nth-child(3) { border-left: 0; }
    .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
    .svc { grid-template-columns: 56px 1fr 40px; }
    .svc .chips { grid-column: 2 / 3; }
    .svc-go { grid-row: 1; grid-column: 3; }
    .channels { grid-template-columns: 1fr 1fr; }
    .ftr-grid { grid-template-columns: 1fr 1fr; }
    .toc { display: none; }
    .checker-side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
    .checker-side .tab { flex: none; }
    .checker-side .tab small { display: none; }
    .related { grid-template-columns: 1fr 1fr; }
    .shead { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 720px) {
    body { padding-bottom: 70px; }
    .statusbar-right a:not(.keep) { display: none; }
    .hdr .wrap { min-height: 66px; }
    .nav { height: calc(100dvh - 66px); }
    .logo img { width: 40px; height: 40px; }
    .logo strong { font-size: 1.35rem; }
    .logo small { font-size: .58rem; }
    .tabs { grid-template-columns: 1fr 1fr; }
    .facts, .firms, .channels, .fields, .types, .related, .ftr-grid, .list--2, .firm ul { grid-template-columns: 1fr; }
    .fact { border-left: 0 !important; border-top: 1px solid var(--line); }
    .fact:first-child { border-top: 0; }
    .svc { grid-template-columns: 48px 1fr; gap: 14px; padding: 18px; }
    .svc .ico { width: 48px; height: 48px; }
    .svc .chips { grid-column: 1 / -1; }
    .svc-go { display: none; }
    .mosaic { grid-template-columns: 1fr; grid-template-rows: 240px 160px 160px; min-height: 0; }
    .mosaic figure:first-child { grid-row: auto; }
    .btns .btn { flex: 1 1 100%; }
    .panel-foot { flex-direction: column; align-items: stretch; }
    .dock { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(20, 39, 78, .3); }
    .dock a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: var(--r); font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--ink); border: 1.5px solid var(--line); }
    .dock svg { width: 18px; height: 18px; }
    .dock .dock-book { flex: 1.5; background: var(--blue); border-color: var(--blue); color: #fff; }
}

/* fixes */
.toc .card a.btn { color: #fff; border: 1.5px solid var(--blue); padding: 0 16px; font-weight: 600; }
.toc .card a.btn:hover { color: #fff; border-color: var(--ink); }
.ftr { background: #070E22; }
.types--3 { grid-template-columns: repeat(3, 1fr); }
.types--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1040px) { .types--3, .types--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .types--3, .types--4 { grid-template-columns: 1fr; } }

/* ================================================================ warm design (Oct 2026) */
.statusbar { color: #D9D1C1; }
.statusbar .status small, .statusbar-note { color: #D9D1C1; }
.btn { border-radius: 999px; font-weight: 700; }
.btn--gold { color: var(--ink); }
.hdr { background: var(--card); border-bottom-color: var(--line); }
.nav a { border-radius: 999px; }
.kicker { font-weight: 800; color: var(--gold-ink); }
.kicker::before { display: none; }
.sec--white { background: var(--card); border-color: var(--line-2); }
h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; }
.lead, .shead p { color: var(--muted); }
.card, .review, .faq details, .type, .list li, .form, .quick, .related a, .svc, .firm { border-radius: var(--r-lg); }
.faq details, .list li, .related a { border-radius: 18px; }

/* video hero */
.vhero { position: relative; overflow: hidden; background: #14274E; padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 116px); color: #EEE8DC; }
.vhero video, .vhero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vhero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 32, 66, .9) 0%, rgba(16, 32, 66, .78) 38%, rgba(16, 32, 66, .35) 70%, rgba(16, 32, 66, .15) 100%), linear-gradient(0deg, rgba(16, 32, 66, .35), transparent 40%); }
.vhero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 56px); align-items: center; }
.vhero h1 { color: #fff; font-size: clamp(2.4rem, 4.8vw, 3.8rem); line-height: 1.05; margin: 22px 0 0; }
.vhero h1 em { font-style: italic; font-weight: 500; color: #F2C14E; }
.vhero .lead { color: #EEE8DC; font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 540px; margin-top: 20px; }
.vhero .pill { background: rgba(255, 253, 249, .95); }
.vhero .btn--ghost { background: rgba(255, 253, 249, .95); border-color: transparent; }
.faces { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.faces-row { display: flex; }
.faces-row span { width: 44px; height: 44px; border-radius: 50%; border: 3px solid #1C2F57; color: #fff; display: grid; place-items: center; font-weight: 800; margin-left: -12px; }
.faces-row span:first-child { margin-left: 0; }
.faces-txt { font-size: .95rem; line-height: 1.4; color: #EEE8DC; }
.faces-txt strong { color: #fff; }
.faces-txt .stars { color: #F2C14E; letter-spacing: 2px; }
.vhero .finder-wrap { position: relative; }
.pin-card { position: absolute; left: 20px; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px; background: rgba(255, 253, 249, .96); border-radius: 999px; padding: 8px 16px 8px 8px; box-shadow: 0 12px 30px -16px rgba(20, 39, 78, .5); color: var(--ink); font-size: .88rem; line-height: 1.25; text-decoration: none; }
.pin-card span:first-child { width: 36px; height: 36px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; }
.pin-card svg { width: 18px; height: 18px; }
.pin-card:hover { color: var(--ink); }

/* warm finder */
.finder { margin: 0; border-radius: 28px; border: 0; background: var(--card); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(234, 223, 204, .8); padding: 6px 4px 4px; }
.finder-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.finder-top h2 { font-size: 1.45rem; }
.finder-top p { font-size: .95rem; }
.finder-free { font-size: .8rem; font-weight: 700; color: #2F7A5B; background: #E3F2EA; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.tabs { border-bottom: 0; gap: 8px; }
.tab { border-radius: 18px; border-width: 2px; min-height: 96px; font-size: .86rem; font-weight: 700; justify-content: center; }
.tab svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--bg); color: var(--ink); }
.tab:hover { border-color: var(--gold); }
.tab.is-active { border-color: var(--gold); background: var(--gold-soft); color: var(--ink); }
.tab.is-active svg { background: var(--gold); }
.panel li a { border-bottom: 0; border-radius: 14px; padding: 13px 12px; }
.panel li a:hover { background: #FBF4E6; }
.panel li a::after { content: '→'; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; color: var(--ink); flex: none; }
.panel-foot { border-radius: 18px; color: #5A4210; }

/* life in Hua Hin */
.life { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 16px; }
.life figure, .strip figure { margin: 0; position: relative; border-radius: 26px; overflow: hidden; background: var(--line-2); }
.life-big { grid-row: span 2; }
.life-wide { grid-column: span 2; }
.life img, .strip img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.life figcaption, .strip figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 253, 249, .93); color: var(--ink); font-size: .85rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }

/* welcome */
.welcome { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 56px); align-items: center; }
.welcome-photo { position: relative; }
.welcome-photo > div:first-child { border-radius: 32px; overflow: hidden; height: 460px; }
.welcome-photo img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; right: 24px; bottom: -28px; background: var(--ink); color: #E9E2D4; border-radius: 22px; padding: 18px 22px; max-width: 260px; box-shadow: 0 24px 48px -24px rgba(20, 39, 78, .6); font-size: .95rem; }
.badge strong { display: block; font-size: 2rem; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.promises { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.promises div { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; line-height: 1.5; }
.promises div::before { content: '✓'; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #FBE6C2; color: var(--gold-ink); display: grid; place-items: center; font-weight: 800; }
.promises strong { color: var(--ink); display: block; }

/* office strip */
.strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 16px; }
.strip figure { height: 300px; }

/* service cards */
.bg-services { background-color: var(--bg); background-image: linear-gradient(180deg, rgba(246, 239, 228, .95), rgba(246, 239, 228, .9)), url(/images/tbps/huahin-aerial.webp); background-size: cover; background-position: center; }
.scards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.scard { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 26px; background: var(--card); color: var(--ink); text-decoration: none; min-height: 230px; transition: transform .2s, box-shadow .2s; box-shadow: 0 0 0 1px var(--line); }
.scard:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(20, 39, 78, .35), 0 0 0 1px var(--line); color: var(--ink); }
.scard .ico { width: 52px; height: 52px; border-radius: 16px; background: #FBE6C2; color: var(--gold-ink); }
.scard strong { font-size: 1.2rem; font-weight: 800; line-height: 1.2; }
.scard span.t { font-size: .95rem; line-height: 1.55; color: var(--muted); }
.scard span.more { margin-top: auto; font-weight: 700; font-size: .95rem; }
.scard--dark { background: var(--ink); color: #fff; box-shadow: none; }
.scard--dark:hover { color: #fff; }
.scard--dark .ico { background: var(--gold); color: var(--ink); }
.scard--dark span.t { color: #D9D1C1; }
.scard--gold { background: var(--gold); box-shadow: none; justify-content: center; }
.scard--gold strong { font-size: 1.5rem; }
.scard--gold span.t { color: #3B2C05; }

/* three steps */
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps3 > div { padding: 32px; border-radius: 28px; background: var(--bg); }
.steps3 b { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--gold); font-size: 1.5rem; font-weight: 800; }
.steps3 h3 { margin: 20px 0 8px; font-size: 1.35rem; }
.steps3 p { margin: 0; color: var(--muted); }

/* reviews on photo */
.bg-reviews { background-color: var(--ink); background-image: linear-gradient(180deg, rgba(20, 39, 78, .93), rgba(20, 39, 78, .88)), url(/images/tbps/office-street-1400.webp); background-size: cover; background-position: center; color: #E9E2D4; }
.bg-reviews .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 56px); align-items: start; }
.quote-big { margin: 20px 0 0; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.35; font-weight: 500; font-style: italic; color: #fff; }
.quote-by { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.quote-by span:first-child { width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; }
.quote-by strong { color: #fff; }
.quote-by small { color: #C9C2B3; font-size: .95rem; }
.qcard { padding: 26px; border-radius: 24px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.qcard + .qcard { margin-top: 16px; }
.qcard .stars { color: var(--gold); letter-spacing: 2px; }
.qcard p { margin: 10px 0 14px; font-size: 1.05rem; line-height: 1.6; color: #F3EEE4; }
.qcard footer { font-size: .95rem; }
.qcard footer strong { color: #fff; }
.qcard footer span { color: #C9C2B3; }
.bg-reviews .kicker { color: var(--gold); }
.bg-reviews a { color: var(--gold); }

/* lawyers next door */
.legal-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; background: var(--card); border-radius: 36px; padding: clamp(28px, 4vw, 48px); box-shadow: 0 0 0 1px var(--line); }
.legal-tags { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.legal-tags span { padding: 18px 20px; border-radius: 18px; background: var(--bg); font-weight: 700; color: var(--ink); }

/* visit */
.visit-card { background: var(--ink); color: #E9E2D4; border-radius: 32px; padding: clamp(28px, 3.5vw, 40px); display: flex; flex-direction: column; }
.visit-card h2 { color: #fff; }
.visit-card .kicker { color: var(--gold); }
.visit-card .rows div { border-color: rgba(255, 255, 255, .12); }
.visit-card .rows dt { color: var(--gold); }
.visit-card .rows dd, .visit-card .rows a { color: #fff; }
.visit-card .rows a:hover { color: var(--gold); }
.visit-card .btns { margin-top: auto; padding-top: 24px; }
.visit .mosaic figure { border-radius: 28px; }

/* closing invitation */
.bg-sunrise { background-color: var(--ink); background-image: linear-gradient(90deg, rgba(14, 28, 58, .95) 0%, rgba(14, 28, 58, .78) 55%, rgba(14, 28, 58, .3) 100%), url(/images/tbps/huahin-sunrise.webp); background-size: cover; background-position: center 60%; padding: clamp(80px, 9vw, 112px) 0; color: #E9E2D4; }
.bg-sunrise h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); max-width: 620px; }
.bg-sunrise p { max-width: 560px; font-size: 1.1rem; }
.bg-sunrise .kicker { color: var(--gold); }

/* inner page header gets a soft Hua Hin photo */
.phero { background-color: var(--card); background-image: linear-gradient(90deg, rgba(255, 253, 249, 1) 0%, rgba(255, 253, 249, .96) 45%, rgba(255, 253, 249, .82) 100%), url(/images/tbps/huahin-beach.webp); background-size: cover; background-position: center; }
.quick { background: rgba(255, 253, 249, .92); backdrop-filter: blur(6px); }
.ftr { background: #0E1C3A; }
.sec--ink { background: var(--ink); }
.channel { border-radius: 22px; }

@media (max-width: 1040px) {
    .vhero .wrap, .welcome, .bg-reviews .wrap, .legal-box { grid-template-columns: minmax(0, 1fr); }
    .vhero-shade { background: rgba(16, 32, 66, .72); }
    .pin-card { display: none; }
    .life { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 200px 200px 200px; }
    .life-big { grid-row: auto; grid-column: span 2; }
    .strip, .scards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .strip figure { height: 220px; }
    .steps3 { grid-template-columns: minmax(0, 1fr); }
    .welcome-photo > div:first-child { height: 360px; }
}
@media (max-width: 720px) {
    .scards, .promises, .legal-tags { grid-template-columns: minmax(0, 1fr); }
    .life { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(4, 200px); }
    .life-big, .life-wide { grid-column: auto; }
    .finder-free { display: none; }
    .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .badge { position: relative; right: auto; bottom: auto; margin: -36px 16px 0; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .vhero video { display: none; } }
.vhero .finder { margin-top: 40px; }
@media (max-width: 1040px) { .vhero .finder { margin-top: 0; } }
.pill b { white-space: nowrap; flex: none; }

/* real TBPS logo (Oct 2026) */
.logo img { width: 52px; height: 52px; object-fit: contain; }
.ftr-logo { display: inline-block; }
.ftr-logo img { width: 240px; height: auto; display: block; }
@media (max-width: 720px) { .logo img { width: 44px; height: 44px; } }
.hdr .logo img { background: var(--ink); border-radius: 50%; padding: 6px; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* LINE (Oct 2026) */
.line-card { display: flex; gap: 18px; align-items: center; }
.line-card img { width: 120px; height: 120px; flex: none; border-radius: 10px; border: 1px solid var(--line); }
.line-card h3 { margin: 0 0 4px; }
.btn--line-green { background: #06C755; border-color: #06C755; color: #fff; }
.btn--line-green:hover { background: #05a948; border-color: #05a948; color: #fff; }
.dock .dock-line { color: #06C755; border-color: #06C755; }
.dock .dock-line svg { color: #06C755; }
@media (max-width: 720px) { .line-card img { width: 96px; height: 96px; } }
@media (max-width: 720px) { .statusbar-right a[href*="line.me"] { display: none; } }

.about-photo { margin: 24px 0 0; border-radius: 26px; overflow: hidden; box-shadow: 0 20px 40px -24px rgba(20, 39, 78, .35); }
.about-photo img { width: 100%; aspect-ratio: 1303 / 1207; object-fit: cover; }
