/* =====================================================================
   thr.css — home page only (index.html, ko/index.html).
   Layout modelled on thr-law.co.kr (Sean 2026-10-17 "철저히 테헤란을 카피"):
   logo top-left, dark right rail (menu / quick icons / TOP), letter section
   nav on the left, 7 full-screen sections, logo green palette.
   Detail pages (lines/*.html) still use style.css.
   ===================================================================== */
:root {
  --rail-w: 66px;
  --brown-900: #142017;   /* rail, footer */
  --brown-800: #1c2e1e;   /* quick quote */
  --brown-700: #213a23;   /* carriers */
  --brown-600: #3e6234;
  --brown-500: #4a7c3c;   /* professional */
  --brown-400: #4f9a3f;   /* tile hover */
  --tan-500:   #8cc63f;   /* submit button */
  --tan-300:   #c4e4a2;
  --ink-100:   #eef5ea;

  /* names used by the shared chat code (main.js builds the chat markup) */
  --green-700: #3f7a34;
  --green-600: #346a2b;
  --green-500: #5bb84a;
  --green-200: #c4e4a2;
  --green-100: #e2f1d8;
  --green-50:  #f2f8ee;
  --ink-900:   #17201a;
  --ink-700:   #3d4a40;
  --ink-500:   #6c7a6f;
  --line:      #dde6da;
  --shadow-md: 0 10px 34px rgba(0, 0, 0, .25);
  --mobile-bar-h: 0px;

  --font-sans: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Nanum Myeongjo", "Cormorant Garamond", Georgia, serif;
  --font-display: "Cormorant Garamond", "Nanum Myeongjo", Georgia, serif;

  --dur-fp: 800ms;
  --ease-fp: cubic-bezier(.77, 0, .175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: #fff;
  background: var(--brown-900);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
html[lang="ko"] body { word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
b, strong { font-weight: 700; }
button { font: inherit; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 10px 14px; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--tan-300); outline-offset: 3px; }

/* ---------- logo (top-left, over every section) ---------- */
.thr-logo {
  position: fixed; left: 50px; top: 32px; z-index: 40;
  display: flex; align-items: center; gap: 12px; color: #fff;
}
.thr-logo__mark {
  width: 38px; height: 38px; border: 1.5px solid #fff; border-radius: 3px;
  display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 22px; line-height: 1;
}
.thr-logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.thr-logo__name { font-size: 19px; font-weight: 400; letter-spacing: -.01em; }
.thr-logo__name b { font-weight: 700; }
.thr-logo__tag { font-size: 11px; letter-spacing: .32em; text-align: right; font-weight: 400; margin-top: 2px; }

/* ---------- right rail ---------- */
.rail {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50;
  width: var(--rail-w); background: var(--brown-900);
  display: flex; flex-direction: column; align-items: center;
}
.rail__menu {
  width: var(--rail-w); height: 92px; border: 0; background: transparent; color: #fff; cursor: pointer;
  display: grid; place-items: center;
}
.rail__menu svg { width: 30px; height: 30px; }
.rail__menu .icon-close { display: none; }
.menu-open .rail__menu .icon-menu { display: none; }
.menu-open .rail__menu .icon-close { display: block; }
.rail__lang { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .06em; margin-top: 4px; }
.rail__lang a, .rail__lang span { color: rgba(255,255,255,.5); padding: 2px 4px; }
.rail__lang .is-active { color: #fff; font-weight: 700; }
.rail__lang a:hover { color: #fff; }
.rail__icons { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-bottom: 6px; }
.rail__btn {
  width: 48px; height: 56px; display: grid; place-items: center; align-content: center; gap: 2px;
  color: #fff; background: transparent; border: 0; cursor: pointer; border-radius: 6px;
  transition: background .2s;
}
.rail__btn:hover { background: rgba(255,255,255,.08); }
.rail__btn svg { width: 26px; height: 26px; }
.rail__btn span { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.rail__btn--top { height: 52px; }
.rail__btn--top span { font-family: var(--font-display); font-size: 13px; font-weight: 500; letter-spacing: .06em; opacity: 1; }
.rail__btn--top svg { width: 16px; height: 16px; }

/* ---------- full-screen menu (hamburger) ---------- */
.mobile-menu {
  position: fixed; inset: 0 var(--rail-w) 0 0; z-index: 45;
  background: rgba(20, 32, 23, .97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(200px, 300px)); gap: 48px 72px; padding: 120px 40px 60px; }
.menu-grid h2 { font-family: var(--font-display); font-weight: 400; font-size: 34px; color: var(--tan-300); margin-bottom: 18px; letter-spacing: .02em; }
.menu-grid li a { display: block; padding: 7px 0; font-size: 17px; color: rgba(255,255,255,.85); transition: color .2s, padding .2s; }
.menu-grid li a:hover { color: #fff; padding-left: 6px; }
.menu-contact { font-size: 15px; color: rgba(255,255,255,.7); line-height: 1.9; }
.menu-contact a { color: #fff; }

/* ---------- left section nav (letter + label) ---------- */
.fp-nav { display: none; position: fixed; left: 62px; top: 395px; bottom: 0; z-index: 30; border-left: 1px solid rgba(255,255,255,.75); }
html.fp-on .fp-nav { display: block; }
.fp-nav ol { display: flex; flex-direction: column; }
.fp-nav a {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  height: 98px; padding-left: 13px; color: #fff; opacity: .9;
}
.fp-nav .letter { font-family: var(--font-serif); font-size: 18px; line-height: 1.2; }
.fp-nav .label { font-size: 16px; line-height: 1.5; white-space: nowrap; }
.fp-nav a[aria-current="true"] { opacity: 1; }
.fp-nav a[aria-current="true"] .letter, .fp-nav a[aria-current="true"] .label { font-weight: 700; }
.fp-nav a[aria-current="true"]::before { content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 3px; background: #fff; }
@media (max-height: 900px) {
  .fp-nav { top: 30vh; }
  .fp-nav a { height: 10vh; }
  .fp-nav .label { font-size: 14px; }
  .fp-nav .letter { font-size: 16px; }
}

/* ---------- full-page engine ---------- */
.fp-section { position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; }
.fp-section[hidden] { display: none; }
html.fp-on, html.fp-on body { height: 100%; overflow: hidden; }
html.fp-on .fp { position: fixed; top: 0; left: 0; bottom: 0; right: var(--rail-w); transition: transform var(--dur-fp) var(--ease-fp); will-change: transform; }
html.fp-on .fp.fp-instant { transition: none; }
html.fp-on .fp-section { height: 100%; min-height: 0; overflow-x: hidden; overflow-y: auto; scrollbar-width: none; }
html.fp-on .fp-section::-webkit-scrollbar { display: none; }

.sec-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.sec-bg img, .sec-bg video { width: 100%; height: 100%; object-fit: cover; }
.sec-bg--blur img, .sec-bg--blur video { filter: blur(10px); transform: scale(1.08); }
.sec-bg::after { content: ""; position: absolute; inset: 0; }
.sec-body { position: relative; z-index: 1; min-height: 100%; }

/* reveal animation (AOS-like fade-up) */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s ease, transform .9s ease; transition-delay: var(--d, 0ms); }
.fp-section.is-active .reveal, .fp-section.in-view .reveal, html.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 1. MAIN ---------- */
.s-main .sec-bg::after { background: rgba(16, 28, 18, .42); }
.s-main .sec-body { height: 100vh; height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; }
html.fp-on .s-main .sec-body { height: 100%; }
.s-main h1 { font-weight: 300; font-size: clamp(30px, 2.1vw + 10px, 42px); line-height: 1.45; letter-spacing: .01em; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.s-main h1 b { font-weight: 700; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 15px; letter-spacing: .14em; color: #fff;
}
.scroll-hint svg { width: 26px; height: 16px; animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ---------- 2. PROFESSIONAL ---------- */
.s-pro { background: var(--brown-500); }
.s-pro .sec-body { height: 100vh; }
html.fp-on .s-pro .sec-body { height: 100%; }
.pro-word {
  position: absolute; left: -1vw; top: 26%; z-index: 0; white-space: nowrap; pointer-events: none;
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 20vw; line-height: 1; color: rgba(28, 64, 26, .35); letter-spacing: -.01em;
}
/* "Professional" word centered (Sean 2026-10-17, job 4275) */
.pro-word { left: 0; right: 0; display: flex; justify-content: center; }
.pro-photo { position: absolute; left: 50%; bottom: 0; width: min(32vw, 580px); height: 88%; margin-left: -2vw; z-index: 1; }
/* transparent cutout photo: "Professional" word shows behind Min (Sean 2026-10-17, job 4264) */
.pro-photo::after { content: none; }
.pro-photo img { position: absolute; left: 50%; bottom: 0; width: auto; height: 100%; max-width: none; transform: translateX(-50%); filter: sepia(.25) saturate(.85); }
.pro-name { position: absolute; left: 100%; top: 36%; z-index: 2; margin-left: -56px; display: flex; align-items: center; gap: 20px; white-space: nowrap; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.pro-name b { font-family: 'Mrs Saint Delafield', cursive; font-weight: 400; font-size: clamp(54px, 2.4vw + 22px, 78px); line-height: 1; letter-spacing: 0; padding: 0 8px 0 4px; transform: rotate(-7deg); transform-origin: right center; }
.pro-name i { width: 1px; height: 46px; background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.75) 25%, rgba(255,255,255,.75) 75%, rgba(255,255,255,0)); }
.pro-name span { font-family: var(--font-display); font-size: clamp(12px, .25vw + 9px, 14px); font-weight: 500; letter-spacing: .26em; line-height: 1.75; text-transform: uppercase; }
.pro-name em { display: block; font-style: normal; }
/* Min Choi signature under the pro-text copy (Sean 2026-10-17, job 4263) */
.pro-text .pro-name { position: static; margin: 34px 0 0; justify-content: flex-start; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.pro-text .pro-name b { transform-origin: left center; padding-left: 0; }
/* Min Choi signature pulled right toward Min (Sean 2026-10-17, job 4265) */
.pro-text .pro-name { justify-content: flex-end; margin-right: -2vw; }
.pro-text .pro-name b { transform-origin: right center; }
html[lang="ko"] .pro-text .pro-name { margin-right: calc(-2vw - 60px); }
.pro-text { position: absolute; left: 19vw; bottom: 19vh; z-index: 2; max-width: 40vw; text-shadow: 0 1px 10px rgba(0,0,0,.25); }
.pro-text h2 { font-weight: 300; font-size: clamp(26px, 1.6vw + 6px, 34px); line-height: 1.5; }
.pro-text h2 b { font-weight: 700; }
.pro-text p { margin-top: 18px; font-size: clamp(17px, .7vw + 8px, 22px); line-height: 1.6; font-weight: 300; }
.pro-text p b { font-weight: 700; }
.more {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px;
  font-family: var(--font-display); font-size: 30px; letter-spacing: .02em; color: #fff;
}
.more svg { width: 18px; height: 30px; }
.s-pro .more { position: absolute; right: 13vw; bottom: 15vh; z-index: 2; }

/* ---------- 3. LINES (staggered photo cards) ---------- */
.s-lines .sec-bg::after { background: rgba(34, 64, 32, .72); }
.guide-lines { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 25% 100%; background-position: 31.6% 0; }
.s-lines .sec-body { display: flex; flex-direction: column; align-items: center; padding: 18vh 4vw 6vh; }
.sec-title { font-weight: 300; font-size: clamp(22px, 1vw + 12px, 30px); text-align: center; letter-spacing: .01em; }
.sec-title b { font-weight: 700; }
.branch-grid { position: relative; width: min(1360px, 74vw); margin-top: 7vh; display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 1.6%; row-gap: 3vh; }
.branch { display: block; position: relative; }
.branch:nth-child(1) { grid-column: 2; left: -50%; top: -2vh; }
.branch:nth-child(2) { grid-column: 3; left: -50%; top: 3vh; }
.branch:nth-child(3) { grid-column: 4; left: -50%; top: 0; }
.branch:nth-child(4) { grid-column: 1; grid-row: 2; top: 0; }
.branch:nth-child(5) { grid-row: 2; top: 6vh; }
.branch:nth-child(6) { grid-row: 2; top: 0; }
.branch:nth-child(7) { grid-row: 2; top: 6vh; }
.branch__img { position: relative; aspect-ratio: 320 / 186; overflow: hidden; background: #000; }
.branch__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .4s; }
.branch__img::after {
  content: attr(data-more); position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(26, 30, 40, .55); color: #fff; font-size: 17px; font-weight: 400; opacity: 0; transition: opacity .35s;
}
.branch:hover .branch__img::after, .branch:focus-visible .branch__img::after { opacity: 1; }
.branch:hover .branch__img img { transform: scale(1.05); }
.branch__cap { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; }
.branch__cap h3 { font-size: 19px; font-weight: 700; white-space: nowrap; line-height: 1.3; }
.branch__cap p { font-size: 13px; line-height: 1.45; opacity: .92; font-weight: 400; }

/* ---------- 4. CARRIERS (carousel + pills) ---------- */
.s-carriers { background: var(--brown-700) repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 2px, transparent 2px 9px); }
.s-carriers .sec-body { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100%; padding: 8vh 4vw 6vh; }
.big-title { text-align: center; }
.big-title p { font-size: clamp(22px, 1vw + 12px, 30px); font-weight: 500; }
.big-title h2 { font-size: clamp(34px, 2.2vw + 12px, 52px); font-weight: 700; letter-spacing: -.02em; line-height: 1.3; margin-top: 4px; }
.big-title h2 span { color: rgba(255,255,255,.55); }
.coverflow { position: relative; width: min(1300px, 66vw); height: clamp(260px, 36vh, 400px); margin-top: 5vh; }
.cf-slide {
  position: absolute; top: 50%; left: 50%; width: 52%; aspect-ratio: 16 / 9; overflow: hidden;
  transform: translate(-50%, -50%) scale(.62); opacity: 0; transition: transform .6s ease, opacity .6s ease, filter .6s;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.cf-slide img { width: 100%; height: 100%; object-fit: cover; }
.cf-slide__txt { position: absolute; inset: auto 0 0 0; padding: 22px 24px 20px; background: linear-gradient(to top, rgba(0,0,0,.82), transparent); }
.cf-slide:not(.is-center) .cf-slide__txt { opacity: 0; }
.cf-slide__txt { transition: opacity .4s; }
.cf-slide__txt small { display: block; font-size: 12px; letter-spacing: .28em; opacity: .85; margin-bottom: 6px; }
.cf-slide__txt strong { display: block; font-size: clamp(18px, .7vw + 10px, 24px); line-height: 1.35; }
.cf-slide.is-center { transform: translate(-50%, -50%) scale(1); opacity: 1; z-index: 3; }
.cf-slide.is-prev { transform: translate(-112%, -50%) scale(.82); opacity: .85; z-index: 2; filter: brightness(.6); }
.cf-slide.is-next { transform: translate(12%, -50%) scale(.82); opacity: .85; z-index: 2; filter: brightness(.6); }
.cf-slide.is-prev2 { transform: translate(-152%, -50%) scale(.66); opacity: .45; z-index: 1; filter: brightness(.45); }
.cf-slide.is-next2 { transform: translate(52%, -50%) scale(.66); opacity: .45; z-index: 1; filter: brightness(.45); }
.cf-arrow { position: absolute; top: 50%; z-index: 5; transform: translateY(-50%); width: 44px; height: 60px; border: 0; background: transparent; color: #fff; cursor: pointer; }
.cf-arrow svg { width: 26px; height: 44px; }
.cf-arrow--prev { left: 27%; }
.cf-arrow--next { right: 27%; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 38px; width: min(1100px, 60vw); margin-top: 4vh; }
.pill {
  display: inline-flex; align-items: center; gap: 12px; min-width: 190px; height: 42px; padding: 0 22px 0 6px;
  border-radius: 21px; background: linear-gradient(to bottom, #4f8442, #36632c); color: #fff; font-size: 15px; font-weight: 400;
  box-shadow: 0 3px 8px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.12);
}
.pill i { width: 32px; height: 32px; border-radius: 50%; background: var(--tan-300); color: var(--brown-800); font-style: normal; font-weight: 700; font-size: 13px; display: grid; place-items: center; flex: none; }
.pill.is-hl { background: linear-gradient(to bottom, #c4e4a2, #9ccf68); color: var(--brown-800); }
.pill.is-hl i { background: #fff; }
.fineprint { margin-top: 2.6vh; font-size: 13px; opacity: .6; }

/* ---------- 5. FIELDS (left titles + 4x4 grid) ---------- */
.s-fields .sec-bg::after { background: rgba(20, 40, 22, .62); }
.s-fields .sec-body { display: grid; grid-template-columns: 1fr 1fr; height: 100vh; }
html.fp-on .s-fields .sec-body { height: 100%; }
.fields-left { display: flex; flex-direction: column; justify-content: center; gap: 9vh; padding-left: 17vw; }
.fields-left a { display: inline-flex; align-items: center; gap: 22px; font-size: clamp(30px, 1.7vw + 8px, 42px); font-weight: 700; letter-spacing: -.01em; }
.fields-left a svg { width: 18px; height: 32px; transition: transform .25s; }
.fields-left a:hover svg { transform: translateX(6px); }
.fields-left { gap: 4vh; }
.fields-ask { font-size: clamp(32px, 2.2vw + 8px, 52px); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; margin: 0; }
.fields-sub { font-size: clamp(16px, .6vw + 10px, 20px); opacity: .8; margin: 0; }
.fields-left a { font-size: clamp(20px, .9vw + 8px, 26px); }
.fields-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; background: rgba(40, 82, 36, .55); }
.fields-grid a {
  display: grid; place-items: center; text-align: center; padding: 10px;
  border-left: 1px solid rgba(255,255,255,.28); border-bottom: 1px solid rgba(255,255,255,.28);
  font-size: clamp(16px, .6vw + 9px, 21px); font-weight: 400; transition: background .25s;
}
.fields-grid a:hover, .fields-grid a:focus-visible { background: var(--brown-400); }

/* ---------- 6. STORY ---------- */
.s-story .sec-bg::after { background: rgba(24, 44, 26, .74); }
.s-story .sec-body { display: flex; flex-direction: column; justify-content: center; gap: 10vh; padding: 14vh 0 8vh 16vw; }
.story-row { display: grid; grid-template-columns: 300px 1fr; align-items: start; }
.story-head h2 { font-size: clamp(28px, 1.3vw + 10px, 36px); font-weight: 700; }
.story-head p { margin-top: 10px; font-size: clamp(17px, .5vw + 10px, 21px); line-height: 1.5; }
.btn-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 90px; height: 34px; padding: 0 24px;
  border: 1px solid #fff; border-radius: 17px; font-family: var(--font-display); font-size: 15px; letter-spacing: .12em;
}
.btn-more:hover { background: rgba(255,255,255,.12); }
.story-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 286px)); gap: 8px; }
.story-card { position: relative; display: block; aspect-ratio: 286 / 191; overflow: hidden; }
.story-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.story-card:hover img { transform: scale(1.06); }
.story-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.2) 60%, rgba(0,0,0,.1)); }
.story-card__txt { position: absolute; z-index: 2; inset: auto 16px 16px 16px; }
.story-card__txt strong { display: block; font-size: 18px; line-height: 1.35; font-weight: 700; }
.story-card__kicker { display: block; text-align: center; font-size: 11px; letter-spacing: .32em; font-weight: 500; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.7); }
.story-card--why .story-card__txt { text-align: center; }
.story-cards--4 { grid-template-columns: repeat(4, minmax(0, 286px)); }
.story-row:has(.story-cards--4) { padding-right: 84px; }
.story-cards--4 .story-card__txt strong { font-size: clamp(15px, .55vw + 7.5px, 18px); }
.story-card__brand { position: absolute; z-index: 2; top: 12px; right: 14px; font-size: 10px; letter-spacing: .22em; opacity: .85; }

/* ---------- 7. QUICK QUOTE + FOOTER ---------- */
.s-quick { background: var(--brown-800); }
.quick-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12vh 4vw 8vh; }
html.fp-on .quick-wrap { min-height: 100%; }
.quick-title { font-size: clamp(22px, .9vw + 12px, 28px); font-weight: 500; text-align: center; }
.quick-title b { font-weight: 700; }
.steps { display: flex; align-items: flex-start; gap: 0; margin-top: 7vh; }
.step { width: 150px; text-align: center; }
.step svg { width: 44px; height: 44px; margin: 0 auto 14px; }
.step small { display: block; font-size: 14px; color: rgba(255,255,255,.62); letter-spacing: .02em; }
.step span { display: block; font-size: 16px; line-height: 1.55; margin-top: 2px; font-weight: 400; }
.step-arrow { width: 40px; display: grid; place-items: center; padding-top: 56px; }
.step-arrow svg { width: 12px; height: 22px; }
.qform { display: grid; grid-template-columns: 318px 318px; gap: 15px 10px; margin-top: 7vh; }
.qform__left { display: grid; gap: 15px; align-content: start; }
.qform select, .qform input[type="text"], .qform input[type="tel"], .qform input[type="email"], .qform textarea {
  width: 100%; height: 41px; padding: 0 11px; background: transparent; color: #fff;
  border: 1px solid #fff; border-radius: 0; font: inherit; font-size: 16px; font-weight: 300;
}
.qform ::placeholder { color: var(--tan-500); opacity: 1; }
.qform select { appearance: none; -webkit-appearance: none; color: var(--tan-500); padding-right: 52px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='39'%3E%3Crect width='40' height='39' fill='%23b8b3ad'/%3E%3Cpath d='M16 18l4 4 4-4' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 1px center; }
.qform select.has-value { color: #fff; }
.qform select option { color: #000; }
.qform textarea { height: 145px; padding: 12px 11px; resize: none; font-size: 14px; }
.qform textarea::placeholder { color: #fff; }
.qform [aria-invalid="true"] { border-color: #ff9d8f !important; }
.qform__consent { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 400; margin-top: 6px; cursor: pointer; }
.qform__consent input { width: 14px; height: 14px; margin: 0; accent-color: #fff; }
.qform__submit {
  height: 37px; border: 0; background: var(--tan-500); color: var(--brown-800);
  font-size: 18px; font-weight: 700; cursor: pointer; transition: background .2s;
}
.qform__submit:hover { background: var(--tan-300); }
.qform__right { display: grid; gap: 11px; align-content: start; }
.form__status { grid-column: 1 / -1; min-height: 1.4em; font-size: 14px; text-align: center; color: rgba(255,255,255,.85); }
.form__status.is-error { color: #ffb4ab; }
.form__status.is-ok { color: var(--tan-300); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.site-footer { background: var(--brown-900); padding: 70px 0 80px 13vw; color: #fff; }
.site-footer__top { display: flex; justify-content: space-between; align-items: flex-start; padding-right: 13vw; }
.site-footer .thr-logo { position: static; }
.site-footer .thr-logo__name { font-size: 25px; }
.site-footer .thr-logo__mark { width: 46px; height: 46px; font-size: 26px; }
.site-footer select {
  width: 302px; height: 42px; padding: 0 40px 0 10px; appearance: none; -webkit-appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23fff' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid #fff; color: #fff; font: inherit; font-size: 17px; font-weight: 400;
}
.site-footer select option { color: #000; }
.site-footer__cols { display: grid; grid-template-columns: 360px 440px 1fr; gap: 30px; margin-top: 60px; font-size: 13px; line-height: 1.7; font-weight: 400; }
.site-footer h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.site-footer__cols section + section, .site-footer__col > div + div { margin-top: 28px; }
.site-footer li::before { content: "· "; }
.site-footer .todo, .todo { color: #ffd77a; }
.site-footer__copy { margin-top: 28px; font-size: 13px; }
.map-link { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- chat popover (markup built by main.js) ---------- */
.chat-pop {
  position: fixed; right: calc(var(--rail-w) + 14px); bottom: 24px; z-index: 55;
  width: 300px; background: #fff; color: var(--ink-900); border-radius: 10px;
  box-shadow: var(--shadow-md); padding: 18px 18px 16px; font-size: 0.9375rem; font-weight: 400;
}
.chat-pop[hidden] { display: none; }
.chat-pop h2 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.chat-pop p { color: var(--ink-700); font-size: 0.875rem; }
.chat-pop .chat-pop__actions { display: flex; gap: 8px; margin-top: 10px; }
.chat-pop__close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; background: transparent; border-radius: 8px; cursor: pointer; display: grid; place-items: center; color: var(--ink-700); }
.chat-pop__close:hover { background: var(--green-50); }
.chat-pop__close svg { width: 16px; height: 16px; }
.chat-pop--live { width: 340px; height: min(520px, calc(100vh - 60px)); display: flex; flex-direction: column; padding: 16px 14px 12px; }
.chat-pop--live[hidden] { display: none; }
.chat-pop--live h2 { padding-right: 128px; line-height: 32px; margin-bottom: 2px; }
.chat-pop__end { position: absolute; top: 12px; right: 10px; width: 84px; height: 28px; padding: 0 8px; border: 1px solid #e3b3b3; background: #fff; color: #b42318; border-radius: 14px; font: inherit; font-size: 0.75rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.chat-pop__end:hover { background: #fdecec; }
.chat-pop__close.chat-pop__close--min { top: 10px; right: 98px; }
.chat-log { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 8px; padding: 6px 2px 10px; }
.chat-intro { margin: 0 0 4px; }
.chat-msg { display: flex; flex-direction: column; max-width: 85%; }
.chat-msg__bubble { padding: 8px 11px; border-radius: 12px; font-size: 0.875rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg--visitor { align-self: flex-end; }
.chat-msg--visitor .chat-msg__bubble { background: var(--green-700); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg--staff { align-self: flex-start; }
.chat-msg--staff .chat-msg__bubble { background: var(--green-50); color: var(--ink-900); border: 1px solid var(--green-100); border-bottom-left-radius: 4px; }
.chat-msg__by { font-size: 0.6875rem; color: var(--ink-500); margin: 0 0 2px 4px; }
.chat-msg--system { align-self: center; max-width: 95%; }
.chat-msg--system .chat-msg__bubble { background: transparent; color: var(--ink-500); font-size: 0.75rem; text-align: center; padding: 2px 6px; }
.chat-msg--warn { align-self: center; max-width: 95%; }
.chat-msg--warn .chat-msg__bubble { background: #fff4e5; color: #8a4b00; border: 1px solid #f3c98b; font-size: 0.75rem; text-align: center; padding: 5px 9px; }
.chat-form { border-top: 1px solid var(--line); padding-top: 10px; display: grid; gap: 6px; }
.chat-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.chat-meta[hidden] { display: none; }
.chat-form input, .chat-form textarea { width: 100%; font: inherit; font-size: 0.875rem; color: var(--ink-900); border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; background: #fff; }
.chat-form textarea { resize: none; }
.chat-form input:focus, .chat-form textarea:focus { outline: 2px solid var(--green-200); border-color: var(--green-500); }
.chat-row { display: flex; gap: 6px; align-items: flex-end; }
.chat-row textarea { flex: 1 1 auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid transparent; border-radius: 8px; cursor: pointer; font-weight: 500; text-decoration: none; }
.btn svg { width: 16px; height: 16px; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 0.875rem; }
.btn--green { background: var(--green-700); color: #fff; }
.btn--green:hover { background: var(--green-600); }
.btn--outline { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.rail__btn.has-unread { position: relative; } /* not .chat-bubble: relative would override its position:fixed and drop it off-screen (Sean 2026-10-17) */
.rail__btn.has-unread::after, .chat-bubble.has-unread::after { content: ""; position: absolute; top: 6px; right: 6px; width: 10px; height: 10px; border-radius: 50%; background: #d64545; border: 2px solid #fff; }
.chat-bubble, .m-call {
  display: none; position: fixed; left: 14px; z-index: 47; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); cursor: pointer; background: rgba(22, 38, 24, .88); color: #fff;
  place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.35);
  /* own GPU layer: iPhone Safari stops painting fixed buttons over the bg videos/blur while scrolling */
  -webkit-transform: translateZ(0); transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.chat-bubble svg, .m-call svg { width: 22px; height: 22px; }
.m-call { bottom: 78px; }
.chat-bubble { bottom: 24px; }

/* ---------- smaller desktops ---------- */
@media (max-width: 1500px) {
  .fp-nav { left: 34px; }
  .thr-logo { left: 34px; }
  .branch-grid { width: 80vw; }
  .pro-text { left: 15vw; max-width: 38vw; }
  .pro-name { margin-left: -110px; }
  .story-row { grid-template-columns: 250px 1fr; }
  .s-story .sec-body { padding-left: 14vw; }
  .site-footer__cols { grid-template-columns: 1fr 1.2fr 1fr; }
}
@media (max-width: 1200px) and (min-width: 900px) {
  .fp-nav .label { display: none; }
  .fp-nav a { height: 8vh; }
  .menu-grid { grid-template-columns: repeat(2, minmax(200px, 300px)); }
  .branch__cap { flex-direction: column; gap: 4px; }
  .fields-left { padding-left: 10vw; }
}
@media (max-height: 820px) and (min-width: 900px) {
  .branch-grid { width: min(1100px, 64vw); margin-top: 4vh; }
  .s-lines .sec-body { padding-top: 13vh; }
  .coverflow { height: 26vh; }
  .steps, .qform { margin-top: 5vh; }
}

/* ---------- mobile / narrow: native scroll ---------- */
@media (max-width: 899px) {
  :root { --rail-w: 0px; }
  .thr-logo { left: 20px; top: 22px; }
  .thr-logo__mark { width: 30px; height: 30px; font-size: 18px; }
  .thr-logo__name { font-size: 15px; }
  .thr-logo__tag { font-size: 9px; }
  .rail { background: transparent; bottom: auto; width: 64px; }
  .rail__menu { width: 64px; height: 76px; }
  .rail__lang, .rail__icons { display: none; }
  .mobile-menu { inset: 0; }
  .menu-grid { grid-template-columns: 1fr; gap: 28px; padding: 90px 28px 40px; max-height: 100vh; overflow-y: auto; }
  .menu-grid h2 { font-size: 26px; margin-bottom: 8px; }
  .chat-bubble, .m-call { display: grid; }
  .chat-pop { right: 14px; left: 14px; width: auto; bottom: 80px; }
  .chat-pop--live { height: min(520px, calc(100svh - 120px)); }

  .s-pro .sec-body, .s-fields .sec-body { height: auto; }
  .s-pro { min-height: 0; }
  .s-pro .sec-body { display: flex; flex-direction: column; padding: 110px 24px 0; }
  .pro-word { font-size: 32vw; top: 90px; }
  .pro-text { position: relative; left: auto; bottom: auto; max-width: none; order: 1; }
  .pro-text h2 { font-size: 23px; }
  .pro-text p { font-size: 16px; }
  .s-pro .more { position: relative; right: auto; bottom: auto; order: 2; margin: 22px 0 26px; font-size: 24px; }
  .pro-photo { position: relative; left: auto; transform: none; width: 100%; height: 360px; order: 3; }
  .pro-photo img { position: static; width: 100%; height: 100%; transform: none; object-fit: cover; }
  .pro-name { left: 0; right: 0; top: auto; bottom: 16px; margin-left: 0; justify-content: center; gap: 14px; }
  .pro-name b { font-size: 46px; }
  .pro-name i { height: 34px; }
  .pro-name span { font-size: 11px; }
  .pro-text .pro-name { margin: 22px 0 0; justify-content: flex-start; }
  .pro-text .pro-name b { transform-origin: left center; }
  html[lang="ko"] .pro-text .pro-name { margin-right: 0; }

  .s-lines .sec-body { padding: 100px 20px 60px; }
  .guide-lines { display: none; }
  .branch-grid { width: 100%; grid-template-columns: 1fr 1fr; gap: 26px 12px; margin-top: 30px; }
  .branch:nth-child(n) { grid-column: auto; grid-row: auto; transform: none; }
  .branch__cap { flex-direction: column; gap: 2px; margin-top: 8px; }
  .branch__cap h3 { font-size: 16px; white-space: normal; }
  .branch__cap p { font-size: 12px; }

  .s-carriers .sec-body { padding: 100px 16px 60px; }
  .big-title p { font-size: 18px; }
  .big-title h2 { font-size: 27px; }
  .coverflow { width: 100%; height: 220px; }
  .cf-slide { width: 82%; }
  .cf-slide.is-prev, .cf-slide.is-next, .cf-slide.is-prev2, .cf-slide.is-next2 { opacity: 0; }
  .branch:nth-child(n) { left: auto; top: auto; }
  .cf-arrow--prev { left: 0; } .cf-arrow--next { right: 0; }
  .pills { width: 100%; gap: 10px; }
  .pill { min-width: 0; height: 36px; font-size: 13px; padding-right: 14px; }
  .pill i { width: 26px; height: 26px; font-size: 11px; }

  .s-fields .sec-body { grid-template-columns: 1fr; }
  .fields-left { padding: 100px 24px 36px; gap: 22px; }
  .fields-left a { font-size: 26px; }
  .fields-ask { font-size: 28px; }
  .fields-left a { font-size: 20px; }
  .fields-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 74px; }
  .fields-grid a { font-size: 15px; }

  .s-story .sec-body { padding: 100px 20px 60px; gap: 50px; }
  .story-row { grid-template-columns: 1fr; gap: 18px; }
  .btn-more { margin-top: 18px; }
  .story-cards, .story-cards--4 { grid-template-columns: 1fr; gap: 10px; }
  .story-row:has(.story-cards--4) { padding-right: 0; }

  .quick-wrap { padding: 100px 20px 60px; min-height: 0; }
  .steps { flex-wrap: wrap; justify-content: center; row-gap: 22px; margin-top: 36px; }
  .step { width: 42%; }
  .step-arrow { display: none; }
  .qform { grid-template-columns: 1fr; width: 100%; margin-top: 36px; }
  .site-footer { padding: 50px 24px 120px; }
  .site-footer__top { flex-direction: column; gap: 26px; padding-right: 0; }
  .site-footer select { width: 100%; }
  .site-footer__cols { grid-template-columns: 1fr; margin-top: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint svg { animation: none; }
  .cf-slide { transition: none; }
}

/* real Prime logo (primeiservices.com), white/green version over photos */
.thr-logo__img { display: block; height: 48px; width: auto; filter: drop-shadow(0 1px 3px rgba(0,0,0,.45)); }
.site-footer .thr-logo__img { height: 60px; filter: none; }
@media (max-width: 760px) { .thr-logo__img { height: 36px; } .site-footer .thr-logo__img { height: 48px; } }

/* ---------- live chat hint + blinking light ---------- */
.rail__btn.chat-blink { position: relative; }
.chat-blink::before {
  content: ""; position: absolute; inset: 3px; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(255, 196, 64, .9); animation: chat-blink 1.1s ease-in-out infinite;
}
.chat-blink > svg { animation: chat-blink-icon 1.1s ease-in-out infinite; }
@keyframes chat-blink {
  0%, 100% { background: rgba(255, 196, 64, 0); box-shadow: 0 0 0 0 rgba(255, 196, 64, 0); }
  50% { background: rgba(255, 196, 64, .35); box-shadow: 0 0 14px 4px rgba(255, 196, 64, .85); }
}
@keyframes chat-blink-icon { 0%, 100% { color: inherit; } 50% { color: #ffd166; } }
.chat-blink .chat-hint {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  white-space: nowrap; pointer-events: auto; cursor: pointer;
  background: #fff; color: #142017; font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; opacity: 1;
  line-height: 1.2; padding: 9px 13px; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.28);
  animation: chat-hint-nudge 1.1s ease-in-out infinite;
}
.chat-hint::after { content: ""; position: absolute; top: 50%; margin-top: -6px; border: 6px solid transparent; }
.chat-hint--rail { right: calc(100% + 12px); }
.chat-hint--rail::after { left: 100%; border-left-color: #fff; }
@keyframes chat-hint-nudge { 0%, 100% { margin-right: 0; } 50% { margin-right: 4px; } }
.chat-hint--bubble { left: calc(100% + 12px); }
.chat-hint--bubble::after { right: 100%; border-right-color: #fff; }
.chat-bubble.chat-blink::before { inset: 0; }
@media (prefers-reduced-motion: reduce) { .chat-blink::before, .chat-blink > svg, .chat-hint { animation-duration: 2.4s; } }

/* carrier logo cards (real logos) */
.pills--logo { gap: 14px 22px; }
.pill--logo { justify-content: center; min-width: 0; width: 200px; height: 62px; padding: 0 18px; border-radius: 12px; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.pill--logo img { display: block; max-width: 100%; max-height: 38px; width: auto; height: auto; object-fit: contain; }
.pill--logo img[src*="hartford"], .pill--logo img[src*="aaa"], .pill--logo img[src*="nysif"] { max-height: 54px; }
@media (max-width: 899px) {
  .pills--logo { gap: 8px; }
  .pill--logo { width: calc(50% - 4px); height: 48px; padding: 0 12px; }
  .pill--logo img { max-height: 28px; }
  .pill--logo img[src*="hartford"], .pill--logo img[src*="aaa"], .pill--logo img[src*="nysif"] { max-height: 42px; }
}

/* mobile: quick quote form on the first screen (job 4208) */
.hero-form { display: none; }
@media (max-width: 899px) {
  .s-main .sec-body { height: auto; min-height: 100vh; min-height: 100svh; flex-direction: column; gap: 22px; padding: 96px 22px 110px; }
  .s-main h1 { font-size: 25px; }
  .hero-form { display: grid; grid-template-columns: 1fr; gap: 10px; width: 100%; max-width: 400px; margin: 0; padding: 18px 16px 8px; background: rgba(12, 24, 14, .55); text-align: left; }
  .hero-form__title { margin: 0 0 2px; font-size: 18px; font-weight: 700; text-align: center; }
  .hero-form .qform__consent { margin-top: 0; font-size: 14px; }
  .hero-form .qform__submit { height: 44px; }
}

/* contact choice: email only / call me (job 4211) */
.qform__pref { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.qform__pref .qform__consent { margin-top: 0; }

/* per-line quote questions (old primeiservices.com WPForms, job 4213) */
.qx { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; grid-column: 1 / -1; text-align: left; }
.qx[hidden], .qx [hidden] { display: none !important; }
.qform.has-extra .qform__right { grid-column: 1 / -1; }
.qx__wide { grid-column: 1 / -1; }
.qx__f { display: grid; gap: 4px; align-content: end; }
.qx__l { font-size: 13.5px; font-weight: 400; color: rgba(255,255,255,.88); padding: 0; }
.qx__head { margin: 6px 0 -4px; font-size: 15px; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 4px; }
.qx__note { margin: -4px 0 0; font-size: 13px; color: rgba(255,255,255,.75); }
.qx__addr { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.qx__addr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qx__rep, .qx__rows { display: grid; gap: 10px; }
.qx__row { border: 1px solid rgba(255,255,255,.35); padding: 8px 10px 10px; }
.qx__rowh { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.qx__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; }
.qx__add, .qx__rm { background: transparent; color: #fff; border: 1px dashed rgba(255,255,255,.6); font: inherit; font-size: 14px; cursor: pointer; }
.qx__add { height: 36px; }
.qx__rm { border: 0; text-decoration: underline; font-size: 13px; padding: 0; }
.qform .qx input[type="date"] { width: 100%; height: 41px; padding: 0 11px; background: transparent; color: #fff; border: 1px solid #fff; border-radius: 0; font: inherit; font-size: 16px; font-weight: 300; color-scheme: dark; }
.qform .qx select { color: #fff; }
.qform .qx textarea { height: 110px; }
@media (max-width: 899px) {
  .qx, .qx__grid { grid-template-columns: 1fr; }
}

/* per-line questions optional + collapsed (job 4214) */
.qx__more { height: 40px; background: transparent; color: #fff; border: 1px dashed rgba(255,255,255,.6); font: inherit; font-size: 14px; cursor: pointer; }
.qx.is-collapsed > :not(.qx__more) { display: none !important; }
.qx:not(.is-collapsed) > .qx__more { display: none; }

/* hero clips (day/dawn/dusk/night) stack; thr.js sets each opacity from the visitor clock and eases each per-minute step */
.sec-bg .hero__video[data-tod] { position: absolute; inset: 0; opacity: 0; }
.hero__video.dl-ease { transition: opacity 50s linear; }

/* desktop: quick quote form on the first screen too, right of the headline (job 4240) */
@media (min-width: 900px) {
  .s-main .sec-body { height: auto; min-height: 100vh; min-height: 100svh; gap: 7vw; padding: 110px 9vw 100px; }
  html.fp-on .s-main .sec-body { height: auto; min-height: 100%; }
  .s-main h1 { text-align: left; }
  .hero-form { display: grid; grid-template-columns: 1fr; gap: 10px; flex: 0 0 400px; width: 400px; margin: 0; padding: 20px 20px 8px; background: rgba(12, 24, 14, .55); text-align: left; }
  .hero-form__title { margin: 0 0 2px; font-size: 19px; font-weight: 700; text-align: center; }
  .hero-form .qform__consent { margin-top: 0; font-size: 14px; }
  .hero-form .qform__submit { height: 46px; }
  .hero-form .qx, .hero-form .qx__grid { grid-template-columns: 1fr; }
}

/* hero headline: bigger on desktop, light band behind each line so it reads over the video (job 4269) */
.s-main h1 .hl { padding: .04em .28em; background: rgba(255, 255, 255, .72); color: var(--ink-900); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.s-main h1:has(.hl) { text-shadow: none; }
@media (min-width: 900px) {
  .s-main h1 { font-size: clamp(40px, 2.5vw + 12px, 62px); line-height: 1.5; }
  html[lang="ko"] .s-main h1 { font-size: clamp(36px, 2.2vw + 10px, 56px); }
  .s-main h1 b { white-space: nowrap; }
}
@media (min-width: 1200px) { .s-main h1 { white-space: nowrap; } }

/* ---------- design pass (Sean 2026-10-17, job 4270) ---------- */
/* 1. headline: light overall tint, darker only behind the copy + form */
.s-main .sec-bg::after {
  background:
    radial-gradient(ellipse 46% 42% at 30% 52%, rgba(8, 16, 10, .55), rgba(8, 16, 10, 0) 100%),
    radial-gradient(ellipse 30% 46% at 76% 50%, rgba(8, 16, 10, .45), rgba(8, 16, 10, 0) 100%),
    rgba(16, 28, 18, .22);
}
@media (max-width: 899px) {
  .s-main .sec-bg::after { background: linear-gradient(to bottom, rgba(8,16,10,.25), rgba(8,16,10,.55) 45%, rgba(8,16,10,.6)); }
}
.s-main h1 .hl { background: rgba(255, 255, 255, .82); box-shadow: 0 6px 30px rgba(0, 0, 0, .18); }

/* 2. hero quote form: wider, taller inputs, one border/spacing system, higher contrast */
.hero-form {
  gap: 12px; padding: 26px 26px 10px; border-radius: 6px;
  background: rgba(10, 20, 12, .78); border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-form__title { font-size: 21px; margin-bottom: 4px; letter-spacing: .01em; }
.hero-form select, .hero-form input[type="text"], .hero-form input[type="tel"],
.hero-form input[type="email"], .hero-form input[type="date"], .hero-form textarea {
  height: 50px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 4px;
  background-color: rgba(255, 255, 255, .07); color: #fff; font-size: 16px; font-weight: 400;
  transition: border-color .2s, background-color .2s;
}
.hero-form textarea { height: 110px; padding: 12px 14px; }
.hero-form ::placeholder, .hero-form textarea::placeholder { color: rgba(255, 255, 255, .78); }
.hero-form select { color: rgba(255, 255, 255, .78); padding-right: 40px;
  background: rgba(255, 255, 255, .07) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 15px center; }
.hero-form select.has-value, .hero-form .qx select { color: #fff; }
.hero-form select:hover, .hero-form input:hover, .hero-form textarea:hover { border-color: rgba(255, 255, 255, .8); }
.hero-form select:focus, .hero-form input:focus, .hero-form textarea:focus {
  outline: none; border-color: var(--tan-500); background-color: rgba(255, 255, 255, .12); box-shadow: 0 0 0 3px rgba(140, 198, 63, .25);
}
.hero-form .qform__pref { gap: 6px 22px; margin-top: 2px; }
.hero-form .qform__consent { font-size: 15px; color: rgba(255, 255, 255, .92); }
.hero-form .qform__consent input { width: 16px; height: 16px; accent-color: var(--tan-500); }
.hero-form .qform__submit { height: 52px; border-radius: 4px; margin-top: 4px; font-size: 18px; letter-spacing: .01em; }
@media (min-width: 900px) {
  .hero-form { flex: 0 0 450px; width: 450px; }
}
@media (max-width: 899px) {
  .hero-form { padding: 22px 18px 8px; }
  .hero-form select, .hero-form input[type="text"], .hero-form input[type="tel"], .hero-form input[type="email"], .hero-form input[type="date"] { height: 48px; }
}

/* 3. left section nav: bigger text + hit area, clear active marker */
.fp-nav a {
  padding: 0 22px 0 16px; opacity: .72; text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
  transition: opacity .2s, background .2s;
}
.fp-nav a:hover { opacity: 1; background: linear-gradient(to right, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0)); }
.fp-nav .letter { font-size: 20px; }
.fp-nav .label { font-size: 17.5px; font-weight: 400; }
.fp-nav a[aria-current="true"] { opacity: 1; background: linear-gradient(to right, rgba(140, 198, 63, .28), rgba(140, 198, 63, 0)); }
.fp-nav a[aria-current="true"] .letter { color: var(--tan-500); }
.fp-nav a[aria-current="true"]::before { left: -3px; width: 5px; background: var(--tan-500); }
@media (max-height: 900px) {
  .fp-nav .letter { font-size: 18px; }
  .fp-nav .label { font-size: 16px; }
}
/* bright daytime clips: keep the nav readable on light sky/water */
html.fp-on .fp-nav { background: linear-gradient(to right, rgba(8, 16, 10, .42), rgba(8, 16, 10, .18) 70%, rgba(8, 16, 10, 0)); }
.fp-nav a { opacity: .82; }
.fp-nav a[aria-current="true"] { background: linear-gradient(to right, rgba(8, 16, 10, .55), rgba(8, 16, 10, 0)); }
.fp-nav a[aria-current="true"] .letter { color: #fff; }
.s-main .sec-bg::after {
  background:
    radial-gradient(ellipse 50% 46% at 30% 54%, rgba(8, 16, 10, .62), rgba(8, 16, 10, 0) 100%),
    radial-gradient(ellipse 32% 50% at 74% 52%, rgba(8, 16, 10, .5), rgba(8, 16, 10, 0) 100%),
    rgba(16, 28, 18, .2);
}
/* keep the headline clear of the left nav on 1280-1500px screens */
@media (min-width: 900px) and (max-width: 1500px) {
  html.fp-on .s-main .sec-body { padding-left: 190px; padding-right: 4vw; gap: 4vw; }
  .hero-form { flex-basis: 430px; width: 430px; }
}

/* ---------- job 4272: pre-launch fixes ---------- */
/* chat hint fades out after 6s (main.js) instead of covering the Guides cards */
.chat-hint { transition: opacity .5s ease; }
.chat-hint.is-gone { opacity: 0; pointer-events: none; }
/* footer links (privacy / e-mail) */
.site-footer a[href^="mailto:"], .site-footer a[href$="privacy.html"] { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* phones: solid bar behind the fixed logo/menu once scrolled */
@media (max-width: 899px) {
  html::before {
    content: ""; position: fixed; top: 0; left: 0; right: 0; height: 76px; z-index: 39;
    background: rgba(20, 32, 23, .94); box-shadow: 0 2px 12px rgba(0,0,0,.25);
    opacity: 0; transform: translateY(-100%); transition: opacity .25s ease, transform .25s ease; pointer-events: none;
  }
  html.m-scrolled::before { opacity: 1; transform: none; }
}

/* hero: two stacked slots crossfade between random Manhattan landmark clips (thr.js, job 4276) */
.sec-bg .hero__video[data-slot] { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.sec-bg .hero__video[data-slot].is-on { opacity: 1; }
.sec-bg .hero__video[data-slot="a"]:not([src]) { opacity: 1; }

/* hero quote form: State + City on one row (Sean 2026-10-18, job 4365) */
.qform__loc { display: grid; grid-template-columns: 130px 1fr; gap: 10px; }
.qform__loc select, .qform__loc input { width: 100%; min-width: 0; }

/* GEO pass (Sean 2026-10-19, job 4385): keyword sub-line under the hero headline, carriers line, footer area text */
.s-main .hero-copy { min-width: 0; }
.s-main .hero-sub { margin: 18px 0 0; max-width: 34em; font-size: 17px; line-height: 1.6; font-weight: 400; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .55); white-space: normal; }
.s-main .hero-sub b { font-weight: 700; }
@media (min-width: 900px) { .s-main .hero-sub { font-size: 20px; text-align: left; } }
.carriers-desc { margin: 0 auto 18px; max-width: 46em; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .88); text-align: center; }
.site-footer .footer-area { margin: 10px 0 0; max-width: 40em; font-size: 12.5px; line-height: 1.65; opacity: .82; }

/* hero easter egg: 9 3/4 over the lit booth (job 6176) */
.platform934 { position: absolute; z-index: 50; pointer-events: auto; transform: translate(-50%, -50%); display: block; cursor: pointer; }
.platform934 span { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; white-space: nowrap; background: #14181f; color: #f4f1e8; border: calc(1px * var(--s, 1)) solid #d9d4c4; border-radius: calc(2px * var(--s, 1)); box-shadow: 0 0 calc(2px * var(--s, 1)) rgba(0,0,0,.6); opacity: .92; font-family: Georgia, 'Times New Roman', serif; text-align: center; }
.platform934 span i { font-style: normal; font-weight: 700; font-size: calc(3px * var(--s, 1)); letter-spacing: .15em; line-height: 1; }
.platform934 span b { font-weight: 700; font-size: calc(9px * var(--s, 1)); line-height: 1; }
/* Min Choi photo removed (Sean 2026-11-02, job 6672): center the copy */
@media (min-width: 900px) {
  .s-pro .pro-text { left: 0; right: 0; bottom: auto; top: 50%; margin: 0 auto; max-width: 60vw; text-align: center; transform: translateY(-50%); }
  .s-pro .pro-text .pro-name { justify-content: center; margin-right: 0; }
  html[lang="ko"] .s-pro .pro-text .pro-name { margin-right: 0; }
}

/* desktop (fine pointer): no tel/sms links (Sean 2026-11-09) */
@media (hover:hover) and (pointer:fine) {
  a[href^="sms:"], .m-call, .chat-pop .chat-pop__actions, .rail__btn[href^="tel:"] { display: none !important; }
  a[href^="tel:"] { pointer-events: none; cursor: text; text-decoration: none; }
}
