/* =========================================================
   GM Furniture — style.css
   Page sections & components (tokens/typography live in base.css)
   ========================================================= */

/* ---------- Hero slider (home) ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; color: #fff; background: #2a2620; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(20,17,13,.5) 0%, rgba(20,17,13,.08) 28%, rgba(20,17,13,.1) 60%, rgba(20,17,13,.6) 100%); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.4s ease, visibility 0s 1.4s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.4s ease; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--ox, 50%) var(--oy, 50%); transform-origin: var(--ox, 50%) var(--oy, 50%); transform: scale(1.12); transition: transform 7s cubic-bezier(.25, .1, .25, 1); }
.hero-slide.is-active img { transform: scale(1.01); }
.hero-ui { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero-ui > * { pointer-events: auto; }

.hero-arrow { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); color: #fff; transition: background .3s, color .3s; }
.hero-arrow:hover { background: #fff; color: var(--ink); }
.hero-arrow svg { width: 16px; height: 16px; }
.hero-arrow.prev { left: var(--pad); }
.hero-arrow.prev svg { transform: rotate(180deg); }
.hero-arrow.next { right: var(--pad); }

.hero-bottom { position: absolute; z-index: 4; left: var(--pad); right: var(--pad); bottom: clamp(24px, 3.4vw, 44px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hero-cat { display: flex; align-items: baseline; gap: 14px; }
.hero-cat .ttl { display: block; font-size: clamp(22px, 2.2vw, 34px); font-weight: 300; line-height: 1.2; }
.hero-cat .ttl span { display: block; }
.hero-cat .ttl small { display: block; font-size: var(--fs-small); opacity: .8; margin-top: 4px; }
.hero-side { width: min(330px, 40vw); }
.hero-side p { font-size: var(--fs-small); line-height: 1.7; opacity: .88; min-height: 3.4em; }
.hero-bars { display: flex; gap: 6px; margin-top: 16px; }
.hero-bars button { flex: 1; height: 16px; position: relative; }
.hero-bars button::before, .hero-bars button i { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: rgba(255,255,255,.32); }
.hero-bars button i { background: var(--gold-l); transform: scaleX(0); transform-origin: left; }
.hero-bars button.is-done i { transform: scaleX(1); background: rgba(255,255,255,.85); }
.hero-bars button.is-active i { animation: bar 6.5s linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }
@media (max-width: 760px) {
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .hero-side { width: 100%; }
  .hero-arrow { top: auto; bottom: 46%; width: 40px; height: 40px; }
}

/* ---------- Hero item tag: pulsing pin on the item + frosted info card ---------- */
.tag { position: absolute; z-index: 3; color: #fff; display: flex; align-items: center; gap: 14px; }
.tag-dot { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255,255,255,.35); flex: none; }
.tag-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(255,255,255,.8); animation: tagPulse 2.4s var(--ease) infinite; }
@keyframes tagPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.tag-body { display: flex; align-items: center; gap: 16px; }
.tag-label { display: grid; overflow: hidden; }
.tag-k { font-size: 10.5px; letter-spacing: .02em; opacity: .75; }
.tag-name { font-weight: 300; font-size: 22px; line-height: 1.2; letter-spacing: -.01em; }
.tag-th { font-size: var(--fs-small); opacity: .85; }
.tag-go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); flex: none; transition: background .3s, color .3s, transform .5s var(--ease); }
.tag-go svg { width: 14px; height: 14px; }
.tag:hover .tag-go { background: var(--gold); color: #fff; transform: rotate(-45deg); }

.hero[data-tag="pin"] .tag { left: var(--x, 50%); top: var(--y, 55%); transform: translate(-7px, -7px); }
.hero[data-tag="pin"] .tag-body {
  position: relative; padding: 12px 12px 12px 18px; border-radius: 14px;
  background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.32), 0 20px 40px -20px rgba(0,0,0,.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
.hero[data-tag="pin"] .tag-body::before { content: ""; position: absolute; right: 100%; top: 50%; width: 14px; height: 1px; background: rgba(255,255,255,.7); }
/* not enough room on the right: card sits on the left of the dot */
.hero[data-tag="pin"] .tag.flip { flex-direction: row-reverse; transform: translate(calc(-100% + 7px), -7px); }
.hero[data-tag="pin"] .tag.flip .tag-body::before { right: auto; left: 100%; }

@media (max-width: 760px) {
  /* mobile: dot stays on the item, card hangs below it (JS keeps it inside the screen) */
  .hero[data-tag="pin"] .tag, .hero[data-tag="pin"] .tag.flip { flex-direction: row; transform: translate(-7px, -7px); }
  .hero[data-tag="pin"] .tag-body { position: absolute; top: 30px; left: var(--card-left, -90px); padding: 10px 10px 10px 14px; white-space: nowrap; }
  .hero[data-tag="pin"] .tag-body::before { right: auto; left: var(--line-left, 96px); top: -16px; width: 1px; height: 16px; }
  .hero[data-tag="pin"] .tag.above .tag-body { top: auto; bottom: 30px; }
  .hero[data-tag="pin"] .tag.above .tag-body::before { top: auto; bottom: -16px; }
  .tag-name { font-size: 19px; }
}

/* ---------- Inner page hero ---------- */
.phero { position: relative; height: clamp(420px, 58vh, 620px); overflow: hidden; color: #fff; background: #2a2620; }
.phero-media { position: absolute; inset: -10% 0; }
.phero-media img { width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,13,.55), rgba(20,17,13,.12) 40%, rgba(20,17,13,.62)); }
.phero-bottom { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: clamp(28px, 4vw, 52px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.phero h1 .en { display: block; font-size: clamp(54px, 8.4vw, 136px); line-height: .95; font-weight: 300; letter-spacing: -.035em; }
.phero h1 .en .it { color: var(--gold-l); }
.phero-bottom > p { max-width: 340px; font-size: 13px; opacity: .88; }
.phero + .sec { padding-top: clamp(56px, 6.5vw, 100px); }   /* content starts closer to a page hero */

/* ---------- Sections & headings ---------- */
.sec { padding-block: clamp(80px, 10vw, 150px); }
.sec-tight { padding-block: clamp(56px, 7vw, 100px); }
.sec.pt-0 { padding-top: 0; }
.head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.head h1, .head h2 { font-size: var(--fs-h1); line-height: 1.12; letter-spacing: -.025em; }
.head h1 .th, .head h2 .th { display: block; font-size: clamp(15px, 1.2vw, 17px); letter-spacing: 0; color: var(--c-muted); margin-top: 14px; font-weight: 400; }
@media (max-width: 760px) { .head { grid-template-columns: 1fr; } }

/* ---------- Pills (filters) ---------- */
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-bottom: clamp(36px, 4.4vw, 64px); }
.pill { position: relative; padding: 8px 18px; border-radius: 999px; font-size: 13px; color: var(--c-text); transition: color .35s, background-color .35s; }
.pill sup { font-size: 9.5px; color: var(--gold); margin-left: 3px; }
.pill:hover { background: var(--panel); }
.pill.is-active { background: var(--ink); color: #fff; }
.pill.is-active sup { color: var(--gold-l); }
@media (max-width: 640px) {
  .pills { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); }
  .pills::-webkit-scrollbar { display: none; }
  .pill { flex: none; }
}

/* ---------- Product cards / home teaser ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(16px, 2.4vw, 40px); }
.pcard { display: block; text-align: center; }
.pcard[hidden] { display: none; }
.pmedia { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--panel); }
.pmedia img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
a:hover .pmedia img, .pcard:hover .pmedia img { transform: scale(1.05); }
.pmedia .ask { position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 140%); transition: transform .6s var(--ease); background: rgba(255,255,255,.94); color: var(--ink); height: 36px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); white-space: nowrap; }
.pcard:hover .pmedia .ask { transform: translate(-50%, 0); }
button.pmedia { display: block; width: 100%; cursor: zoom-in; }
.pcard h2 { font-size: 16px; font-weight: 400; margin-top: 18px; }
.pcard .meta { font-size: var(--fs-small); color: var(--c-muted); margin-top: 2px; }
.pgrid-teaser { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pgrid { grid-template-columns: 1fr; } .pgrid-teaser { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; } }

/* ---------- Perks strip (home) ---------- */
.perks { border-bottom: 1px solid var(--line); background: var(--white); }
.perks-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.perk { display: flex; align-items: center; gap: 18px; padding: clamp(22px, 2.6vw, 34px) clamp(16px, 2.4vw, 40px); }
.perk + .perk { border-left: 1px solid var(--line); }
.perk:first-child { padding-left: 0; }
.perk-ico { width: 50px; height: 50px; flex: none; border-radius: 50%; background: var(--panel); color: var(--gold-d); display: grid; place-items: center; }
.perk-ico svg { width: 24px; height: 24px; }
.perk p { font-size: 13px; color: var(--c-muted); margin-top: 2px; }
.perk p.perk-t { font-size: 16.5px; font-weight: 400; line-height: 1.35; color: inherit; margin-top: 0; text-wrap: balance; }
@media (max-width: 860px) {
  .perks-in { grid-template-columns: 1fr; }
  .perk, .perk:first-child { padding: 18px 0; }
  .perk + .perk { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- About (home) ---------- */
.sec-about { padding-top: 0; }
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.about-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); }
.about-media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.about h2 { font-size: clamp(30px, 3.4vw, 54px); line-height: 1.15; letter-spacing: -.02em; margin-top: 14px; }
.about h2 .th { display: block; font-size: 16px; color: var(--c-muted); margin-top: 14px; letter-spacing: 0; }
.about p { color: var(--c-text); margin-top: 22px; max-width: 54ch; }
.about .btn-row { margin-top: 36px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(32px, 4vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); }
.stat b { display: block; font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(44px, 4.4vw, 72px); line-height: 1; color: var(--gold); }
.stat span { font-size: var(--fs-small); color: var(--c-muted); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about-media { aspect-ratio: 4 / 3; } }

/* ---------- Reviews band (TikTok) ---------- */
.reviews { background: var(--panel); }
.reviews-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.reviews h2 { font-size: var(--fs-h1); line-height: 1.12; letter-spacing: -.025em; margin: 14px 0 30px; }
.reviews h2 .th { display: block; font-size: clamp(15px, 1.2vw, 17px); letter-spacing: 0; color: var(--c-muted); margin-top: 14px; }
.reviews-media { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); align-items: center; }
.phone { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 18px; background: var(--panel-2); box-shadow: 0 30px 60px -30px rgba(40, 30, 15, .45); }
.phone:nth-child(2) { transform: translateY(-8%); }
.phone img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.phone:hover img { transform: scale(1.05); }
.phone .play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.88); color: var(--ink); transition: background .3s, color .3s, transform .5s var(--ease); }
.phone .play svg { width: 22px; height: 22px; }
.phone:hover .play { background: var(--ink); color: #fff; transform: scale(1.08); }
@media (max-width: 860px) { .reviews-in { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.svc { padding: 30px 28px 8px 0; position: relative; }
.svc + .svc { padding-left: 28px; border-left: 1px solid var(--line); }
.svc .it { font-size: 44px; line-height: 1; display: block; }
.svc h3 { font-size: 21px; font-weight: 400; margin: 18px 0 8px; }
.svc p { font-size: 14px; color: var(--c-text); }
@media (max-width: 960px) { .svc-grid { grid-template-columns: 1fr 1fr; } .svc:nth-child(3) { padding-left: 0; border-left: 0; } .svc { border-bottom: 1px solid var(--line); padding-bottom: 28px; } }
@media (max-width: 560px) {
  /* compact rows: small number on the left, title + text on the right */
  .svc-grid { grid-template-columns: 1fr; }
  .svc, .svc + .svc { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 16px 0; border-left: 0; }
  .svc .it { font-size: 22px; grid-row: span 2; padding-top: 2px; }
  .svc h3 { font-size: 17px; margin: 0 0 4px; }
  .svc p { font-size: 13px; }
}

/* ---------- Catalog (services) ---------- */
.cblock { padding-top: clamp(48px, 6vw, 88px); scroll-margin-top: 90px; }
.cblock[hidden] { display: none; }
.cblock-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 16px 40px; align-items: end; padding-bottom: 22px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.cblock-head h2 { letter-spacing: -.02em; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.cblock-head h2 .it { font-size: 1.1em; }
.cblock-head h2 small { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); }
.cblock-head p { font-size: 14px; color: var(--c-text); }
.cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 44px); }
.prod-top { display: flex; justify-content: space-between; margin-top: 18px; font-size: 12px; color: var(--c-muted); letter-spacing: .06em; }
.prod h3 { font-weight: 400; margin: 6px 0 8px; }
.prod p { font-size: 14px; color: var(--c-text); max-width: 54ch; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tags span { font-size: 12px; padding: 3px 11px; border-radius: 99px; background: var(--panel); color: var(--gold-d); }
.prod-actions { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
/* "ทั้งหมด": every product in one grid, category headings hidden */
.catalog.is-all { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4vw, 64px) clamp(20px, 2.6vw, 44px); padding-top: clamp(16px, 2vw, 24px); }
.catalog.is-all > .cblock, .catalog.is-all .cgrid { display: contents; }
.catalog.is-all .cblock-head { display: none; }
@media (max-width: 900px) { .cgrid, .catalog.is-all { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .cblock-head { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cgrid, .catalog.is-all { grid-template-columns: 1fr; } }

/* ---------- Order steps (services) ---------- */
.steps-wrap { background: var(--panel); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--panel-2); }
.steps-line { position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.step { padding: 30px 26px 0 0; }
.step .it { font-size: 56px; line-height: 1; display: block; }
.step h3 { font-size: 20px; font-weight: 400; margin: 16px 0 6px; }
.step p { font-size: 14px; color: var(--c-text); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Gallery & lightbox (portfolio) ---------- */
.gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.gitem { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); color: #fff; text-align: left; }
.gitem[hidden] { display: none; }
.gitem .pmedia { position: absolute; inset: 0; aspect-ratio: auto; }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.gitem:hover img { transform: scale(1.06); }
.gitem::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,13,0) 50%, rgba(20,17,13,.6)); opacity: .85; transition: opacity .5s; }
.gitem:hover::after { opacity: 1; }
.gitem-cap { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; font-size: 14px; }
.gitem-cap small { font-size: 11.5px; opacity: .8; white-space: nowrap; }
@media (max-width: 900px) { .gal { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  .gal { gap: 8px; }
  .gitem-cap { left: 10px; right: 10px; bottom: 9px; font-size: 12px; line-height: 1.35; }
  .gitem-cap small { display: none; }
}

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(251, 250, 247, .97); color: var(--ink); display: none; }
.lightbox.is-open { display: block; }
.lb-stage { position: absolute; inset: 72px 80px 96px; display: grid; place-items: center; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-bar { position: absolute; left: var(--pad); right: var(--pad); bottom: 28px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-size: 14px; }
.lb-num { font-family: var(--f-serif); font-style: italic; color: var(--gold); font-size: 22px; }
.lb-close { position: absolute; top: 22px; right: var(--pad); font-size: 13px; }
.lightbox .circ { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; }
.lightbox .circ.prev { left: 16px; }
.lightbox .circ.next { right: 16px; }
.lb-stage img { -webkit-user-select: none; user-select: none; }
@media (max-width: 760px) {
  /* mobile: image uses the full width, arrows sit under it, swipe to change */
  .lb-stage { inset: 64px 0 132px; }
  .lb-stage img { width: 100%; height: 100%; }
  .lightbox .circ { top: auto; bottom: 70px; transform: none; width: 44px; height: 44px; background: var(--white); }
  .lightbox .circ.prev { left: calc(50% - 52px); }
  .lightbox .circ.next { right: calc(50% - 52px); }
  .lb-bar { bottom: 22px; font-size: 13px; }
}

/* ---------- Contact channels ---------- */
.chan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.4vw, 20px); }
.chan-grid:has(> .chan:nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chan { position: relative; overflow: hidden; isolation: isolate; background: var(--panel); padding: clamp(22px, 2.4vw, 34px); display: flex; flex-direction: column; gap: 14px; transition: color .6s var(--ease); }
.chan::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .8s var(--ease); }
.chan:hover::before { transform: none; }
.chan:hover { color: #fff; }
.chan-top { display: flex; align-items: center; gap: 16px; }
.chan-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--white); color: var(--gold-d); display: grid; place-items: center; transition: background .5s, color .5s; }
.chan-ico svg { width: 22px; height: 22px; }
.chan:hover .chan-ico { background: var(--gold); color: #fff; }
.chan h2 { font-size: clamp(28px, 2.6vw, 40px); line-height: 1; letter-spacing: -.03em; }
.chan p { font-size: 14px; opacity: .8; max-width: 40ch; }
.chan-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); transition: border-color .6s; }
.chan:hover .chan-foot { border-top-color: rgba(255,255,255,.18); }
.chan-foot b { display: block; font-size: clamp(18px, 1.5vw, 21px); font-weight: 400; color: var(--gold-d); }
.chan:hover .chan-foot b { color: var(--gold-l); }
.chan-cta { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; white-space: nowrap; transition: background .4s, color .4s; }
.chan-cta svg { width: 14px; height: 14px; }
.chan:hover .chan-cta { background: var(--gold); }
@media (max-width: 960px) { .chan-grid:has(> .chan:nth-child(3)) { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .chan-grid { grid-template-columns: 1fr; } }

/* ---------- Map (contact) ---------- */
.map-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.map-frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--panel); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) sepia(.12) contrast(1.02); transition: filter .5s; }
.map-frame:hover iframe { filter: none; }
.map-info { background: var(--panel); padding: clamp(26px, 3vw, 44px); display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.map-info .chan-ico { margin-bottom: auto; }
.map-info h3 { font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -.02em; margin-top: 24px; }
.map-info p { font-size: 14px; color: var(--c-text); }
.map-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
@media (max-width: 860px) { .map-grid { grid-template-columns: 1fr; } .map-frame { aspect-ratio: 4 / 3; } }

/* ---------- Checklist & FAQ (contact) ---------- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.split h2 { letter-spacing: -.02em; margin: 12px 0 24px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.checklist li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 19px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.checklist li:first-child { border-top: 1px solid var(--line); }
.checklist li span:first-child { display: flex; gap: 14px; align-items: baseline; }
.checklist li span:first-child::before { content: attr(data-n); font-family: var(--f-serif); font-style: italic; color: var(--gold); font-size: 20px; }
.checklist li span:last-child { color: var(--c-muted); text-align: right; }
.checklist + .btn { margin-top: 32px; }

.acc-item { border-bottom: 1px solid var(--line); }
.acc-item:first-child { border-top: 1px solid var(--line); }
.acc-btn { width: 100%; min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; text-align: left; font-size: clamp(16px, 1.4vw, 19px); }
.acc-btn i { width: 30px; height: 30px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); position: relative; transition: background .3s; }
.acc-btn i::before, .acc-btn i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.acc-btn i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.acc-item.is-open .acc-btn i { background: var(--gold); color: #fff; box-shadow: none; }
.acc-item.is-open .acc-btn i::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-panel { overflow: hidden; height: 0; transition: height .6s var(--ease); }
.acc-panel p { padding-bottom: 20px; color: var(--c-text); max-width: 60ch; }

/* ---------- Prose (privacy policy) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 44px 0 12px; }
.prose p { color: var(--c-text); }
.prose p + p, .prose ul + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-top: 10px; color: var(--c-text); }
.prose li + li { margin-top: 4px; }
.prose a { color: var(--gold-d); text-decoration: underline; }
.prose .updated { margin-top: 32px; font-size: 14px; color: var(--c-muted); }

/* ---------- Motion: initial states (only while JS motion is active) ---------- */
.js-motion [data-fade]:not(.is-in) { opacity: 0; transform: translateY(36px); }
.js-motion [data-img]:not(.is-in) { clip-path: inset(100% 0 0 0); }
.js-motion [data-img]:not(.is-in) img { transform: scale(1.25); }
.js-motion .ln > span { transform: translateY(110%); }
.js-motion .hero-bottom, .js-motion .hero-arrow, .js-motion .tag { opacity: 0; }
.js-motion .phero-bottom > p { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; }
}
