/* =========================================================
   Art of Shine Clinic · Global Landing
   White & Burgundy. Tokens first, components after.
   ========================================================= */

:root {
  --wine: #7c1a2a;
  --wine-deep: #6a0415;
  --wine-light: #8e1b31;
  --ink: #1a1517;
  --ink-2: #333333;
  --ink-3: #505050;
  --ink-4: #6b6b6b;
  --line: #e5e5ec;
  --line-2: #c9c9c9;
  --line-3: #d9d9d9;
  --bg: #ffffff;
  --strike: #8a8a8a;

  --serif-en: "Playfair Display", Georgia, "Times New Roman", serif;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", var(--serif-en);
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: 40px;
  --header-h: 76px;
  --header-h-compact: 64px;
  --sec-y: 112px;
  --radius: 2px;
}
html[lang="zh-Hant-TW"] {
  --serif: "Noto Serif TC", "PingFang TC", "Songti TC", var(--serif-en);
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Japanese: lines break only at the phrase points the build marks with <wbr> (lib/jbreak.mjs).
     A phrase longer than the line still breaks instead of overflowing. */
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}
p, li, dd, td, .a, figcaption, .lead { text-wrap: pretty; }
/* one-line labels: Chrome would otherwise still break at <wbr> */
.nav a wbr, .notice .label wbr, .ev-tab wbr, .selbar .btn wbr, .caution .label wbr, .prose th wbr, .spec-table thead th wbr, .btn wbr { display: none; }
.ev-tab { flex: 0 0 auto; }
.nw { white-space: nowrap; }
td, th { overflow-wrap: break-word; } /* tables keep whole phrases (they scroll sideways if they must) */
h1.col-h1 { font-size: clamp(21px, 2.5vw, 34px); } /* h1.: beats the later .h2 rule */
/* column guide box (doc.cta, or AI Manager's own html) */
.column-cta { margin: 32px 0 40px; padding: 24px 26px; border: 1px solid var(--wine); background: #fbf7f8; display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
.column-cta p { margin: 0; flex: 1 1 300px; min-width: 0; font-family: var(--serif); font-weight: 500; font-size: 16px; line-height: 1.85; color: var(--ink); }
.prose .column-cta-btn, .column-cta-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; background: var(--wine); color: #fff; border: 1px solid var(--wine); border-radius: var(--radius); font-size: 13px; letter-spacing: 0.08em; font-weight: 500; white-space: nowrap; transition: background .2s; }
.prose .column-cta-btn:hover, .column-cta-btn:hover { background: var(--wine-deep); border-color: var(--wine-deep); color: #fff; }
.column-cta-btn wbr { display: none; }
@media (max-width: 520px) { .column-cta { padding: 20px 18px; } .column-cta-btn { width: 100%; } }
img { max-width: 100%; height: auto; display: block; } /* height: auto so aspect-ratio rules win over the width/height attributes */
a { color: var(--wine); text-decoration: none; }
a:hover { color: var(--wine-deep); }
button { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.45; letter-spacing: 0.02em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--wine); color: #fff; padding: 10px 16px; border-radius: var(--radius); font-size: 13px; }
.skip:focus { top: 12px; color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sec { padding-top: var(--sec-y); padding-bottom: var(--sec-y); scroll-margin-top: calc(var(--header-h-compact) + 8px); }
.sec + .sec, .sec.bt { border-top: 1px solid var(--line); }

/* ---------- type helpers ---------- */
.eyebrow { font-family: var(--serif-en); font-size: 11px; letter-spacing: 0.26em; color: var(--wine); font-weight: 500; text-transform: uppercase; }
.eyebrow.muted { color: var(--ink-4); }
.eyebrow.light { color: rgba(255,255,255,0.72); }
.label { font-family: var(--serif-en); font-size: 11px; letter-spacing: 0.2em; color: var(--wine); text-transform: uppercase; }
.h2 { font-size: clamp(24px, 2.5vw, 34px); }
.lead { font-size: 14px; color: var(--ink-3); max-width: 46em; }
.sec-head { display: flex; flex-direction: column; gap: 14px; }
.sec-head.split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.sec-head.split > div { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.textlink { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 12.5px; letter-spacing: 0.08em; color: var(--wine); border-bottom: 1px solid var(--wine); padding-bottom: 2px; }
.textlink.dark { color: var(--ink); border-bottom-color: var(--ink); font-size: 13px; }
.textlink svg { flex: 0 0 auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 30px; border-radius: var(--radius); font-size: 13px; letter-spacing: 0.1em; font-weight: 500; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.btn-solid { background: var(--wine); color: #fff; border-color: var(--wine); }
.btn-solid:hover { background: var(--wine-deep); border-color: var(--wine-deep); color: #fff; }
.btn-outline { background: transparent; color: var(--wine); border-color: var(--wine); }
.btn-outline:hover { background: var(--wine); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink-3); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-white { background: #fff; color: var(--wine-deep); border-color: #fff; }
.btn-white:hover { background: #f6eeee; color: var(--wine-deep); }
.btn-white-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-white-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 12px; letter-spacing: 0.12em; }
.btn-event { min-height: 44px; padding: 0 22px; font-size: 11.5px; letter-spacing: 0.2em; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: height .25s; }
.header .wrap { height: var(--header-h); display: flex; align-items: center; gap: 24px; transition: height .25s; }
.header.compact .wrap { height: var(--header-h-compact); }
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { font-size: 13px; letter-spacing: 0.04em; color: var(--ink-3); padding: 8px 11px; white-space: nowrap; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover, .nav a.active { color: var(--wine); }
.nav a.active { border-bottom-color: var(--wine); }
.header-right { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; margin-left: auto; }
.nav + .header-right { margin-left: 0; }
.langsw { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.06em; }
.langsw a { color: var(--ink-4); padding: 4px 2px; }
.langsw a.on { color: var(--ink); }
.langsw .sep { width: 1px; height: 12px; background: var(--line-2); display: inline-block; }
.burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer; margin-left: -8px; }
.burger span { display: block; width: 22px; height: 1px; background: var(--ink); transition: transform .25s, opacity .25s; }

/* drawer (mobile menu) */
.drawer { position: fixed; inset: 0; z-index: 60; background: #fff; display: flex; flex-direction: column; padding: 20px 24px 32px; transform: translateX(-100%); transition: transform .3s ease; overflow-y: auto; }
.drawer.open { transform: translateX(0); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.drawer-top img { height: 24px; }
.drawer-close { width: 44px; height: 44px; background: none; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ink); margin-right: -10px; }
.drawer-nav { display: flex; flex-direction: column; margin-top: 28px; border-top: 1px solid var(--line); }
.drawer-nav a { font-family: var(--serif); font-size: 20px; color: var(--ink); padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer-nav a.ev { color: var(--wine); }
.drawer-foot { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 16px; font-size: 13px; color: var(--ink-3); }
.drawer-foot .langsw { font-size: 14px; }
body.drawer-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); min-height: 760px; border-bottom: 1px solid var(--line); }
.hero-text { padding: 96px 72px 96px 120px; display: flex; flex-direction: column; justify-content: center; gap: 26px; min-width: 0; }
.hero h1 { font-family: var(--sans); font-weight: 500; font-size: 13.5px; line-height: 1.7; letter-spacing: 0.06em; color: var(--ink-2); margin-top: -14px; }
.hero .slogan { font-family: var(--serif); font-weight: 500; font-size: clamp(27px, 3vw, 42px); line-height: 1.42; letter-spacing: 0.02em; color: var(--ink); }
.hero .sub { max-width: 36em; font-size: 14.5px; line-height: 2; color: var(--ink-3); }
.hero-cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 4px; }
.hero-trust { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-4); line-height: 1.8; }
.hero-img { position: relative; min-height: 520px; overflow: hidden; }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.caption { position: absolute; left: 24px; bottom: 22px; display: flex; align-items: center; gap: 12px; font-family: var(--serif-en); font-size: 11.5px; letter-spacing: 0.2em; color: var(--ink-3); background: rgba(255,255,255,0.88); padding: 8px 14px; }
.caption::before { content: ""; width: 18px; height: 1px; background: var(--wine); }

/* ---------- burgundy bands ---------- */
.band { background: var(--wine-deep); color: #fff; }
.band h2, .band h3 { color: #fff; }
.band p { color: rgba(255,255,255,0.82); }
.philosophy .intro { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.philosophy .intro h2 { font-size: clamp(22px, 2.6vw, 36px); line-height: 1.5; max-width: 24em; }
.philosophy .intro p { font-size: 14.5px; max-width: 42em; line-height: 2; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 64px; }
.principle { border-top: 1px solid rgba(255,255,255,0.45); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.principle .num { font-family: var(--serif-en); font-size: 13px; letter-spacing: 0.2em; color: rgba(255,255,255,0.72); }
.principle h3 { font-size: 21px; }
.principle p { font-size: 14px; line-height: 1.95; color: rgba(255,255,255,0.8); }

/* ---------- grids ---------- */
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.s4 { grid-column: span 4; } .s5 { grid-column: span 5; } .s7 { grid-column: span 7; } .s8 { grid-column: span 8; } .s12 { grid-column: span 12; }
.g2s { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; }

/* ---------- doctor ---------- */
.doctor .g12 { align-items: center; gap: 48px 24px; }
.doctor-photo { width: 100%; aspect-ratio: 4 / 5; border: 1px solid var(--line-2); background: #fff; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; font-size: 12.5px; letter-spacing: 0.08em; color: var(--ink-4); overflow: hidden; }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-body { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.doctor-body .en { font-family: var(--serif-en); font-size: 14px; letter-spacing: 0.12em; color: var(--ink-3); }
.doctor-body .quote { font-family: var(--serif); font-size: 19px; line-height: 1.75; max-width: 26em; }
.doctor-facts { border-top: 1px solid var(--line); padding-top: 20px; }
.doctor-facts .label { display: block; margin-bottom: 8px; }
.doctor-facts div > div { font-size: 13.5px; color: var(--ink-3); line-height: 1.9; }

/* ---------- treatments ---------- */
.trows { margin-top: 48px; border-bottom: 1px solid var(--line); }
.trow { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; padding: 34px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.trow-head { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.trow-head .num { font-family: var(--serif-en); font-size: 12px; letter-spacing: 0.2em; color: var(--wine); }
.trow-head h3 { font-size: 21px; }
.trow-head .en { font-family: var(--serif-en); font-size: 11.5px; letter-spacing: 0.16em; color: var(--ink-4); text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; min-width: 0; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 1px solid var(--line-3); border-radius: 999px; font-size: 13px; color: var(--ink-2); background: #fff; }

/* ---------- signature ---------- */
.sig-note { font-size: 12px; color: var(--ink-4); max-width: 30em; text-align: right; }
.sig-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.sig { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 28px 26px; display: flex; flex-direction: column; gap: 12px; min-width: 0; min-height: 280px; background: #fff; }
.sig-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sig-top .num { font-family: var(--serif-en); font-size: 12px; letter-spacing: 0.2em; color: var(--wine); }
.sig-top .tag { font-size: 11px; letter-spacing: 0.1em; color: var(--ink-4); text-align: right; }
.sig h3 { font-size: 19px; line-height: 1.55; }
.sig p { font-size: 13.5px; color: var(--ink-3); line-height: 1.9; flex: 1 1 auto; }
.sig-price { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-top: 1px dashed var(--line); padding-top: 14px; }
.price { font-family: var(--serif-en); font-size: 20px; letter-spacing: 0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.vat { font-size: 11px; color: var(--ink-4); letter-spacing: 0.06em; }

/* ---------- journey ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.step { border-top: 1px solid var(--wine); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.step .num { font-family: var(--serif-en); font-size: 13px; letter-spacing: 0.2em; color: var(--wine); }
.step h3 { font-size: 18px; line-height: 1.5; }
.step p { font-size: 13.5px; color: var(--ink-3); line-height: 1.9; }
.notice { margin-top: 40px; border: 1px solid var(--wine); padding: 22px 26px; display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.notice .label { padding-top: 4px; white-space: nowrap; }
.notice p { font-size: 13.5px; color: var(--ink-2); line-height: 1.9; flex: 1 1 420px; min-width: 0; }

/* ---------- clinic ---------- */
.gallery { margin-top: 48px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gallery img { width: 100%; object-fit: cover; }
.gallery .r1610 img { aspect-ratio: 16 / 10; }
.gallery .r45 img { aspect-ratio: 4 / 5; }
.gallery .r219 img { aspect-ratio: 21 / 9; }
.gallery figcaption { font-family: var(--serif-en); font-size: 11.5px; letter-spacing: 0.2em; color: var(--ink-4); text-transform: uppercase; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.faq-list { border-top: 1px solid var(--line); min-width: 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 28px minmax(0, 1fr) 24px; gap: 16px; padding: 22px 0; align-items: start; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .q { font-family: var(--serif-en); font-size: 16px; color: var(--wine); line-height: 1.5; }
.faq-list summary h3 { font-size: 17px; line-height: 1.6; font-weight: 500; }
.faq-list summary .ic { width: 24px; height: 24px; position: relative; margin-top: 4px; }
.faq-list summary .ic::before, .faq-list summary .ic::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink-3); transform: translate(-50%, -50%); transition: transform .2s; }
.faq-list summary .ic::before { width: 14px; height: 1px; }
.faq-list summary .ic::after { width: 1px; height: 14px; }
.faq-list details[open] summary .ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list .a { padding: 0 24px 24px 44px; font-size: 13.5px; color: var(--ink-3); line-height: 1.9; }

/* ---------- access ---------- */
.access-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; }
.access-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.access-main .addr { font-size: 15px; line-height: 1.9; }
.access-main .way { font-size: 13.5px; color: var(--ink-3); line-height: 1.9; }
.access-main .maps { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.access-main .g2s { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 20px; }
.access-main .g2s .label { display: block; margin-bottom: 6px; }
.access-main .g2s div > div { font-size: 13px; color: var(--ink-3); line-height: 1.9; }
.hours { border: 1px solid var(--line); padding: 32px 30px; display: flex; flex-direction: column; gap: 18px; align-self: start; min-width: 0; }
.hours-rows { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.hours-rows div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.hours-rows div:last-child { border-bottom: 0; padding-bottom: 0; }
.hours-rows span:first-child { color: var(--ink-3); }
.hours-rows .t { font-family: var(--serif-en); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.hours-rows .closed { color: var(--wine); }
.hours .tel { font-size: 13px; color: var(--ink-3); line-height: 1.9; border-top: 1px solid var(--line); padding-top: 14px; }
.hours .tel a { color: var(--ink-3); }

/* ---------- contact band ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.contact-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.contact-main .wordmark { height: 18px; width: auto; opacity: 0.9; }
.contact-main h2 { font-size: clamp(22px, 2.4vw, 31px); line-height: 1.5; }
.contact-main p { font-size: 14.5px; line-height: 2; max-width: 36em; }
.contact-main .btns { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.contact-side { border-left: 1px solid rgba(255,255,255,0.3); padding-left: 40px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; line-height: 1.9; color: rgba(255,255,255,0.9); min-width: 0; }
.contact-side a { color: #fff; }
.contact-side .eyebrow { color: rgba(255,255,255,0.7); }

/* ---------- footer ---------- */
.footer { padding: 36px 0 44px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--ink-4); line-height: 1.9; }
.footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer .legal { min-width: 0; max-width: 60em; }
.footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer .links a { color: var(--ink-4); }
.footer .links a:hover { color: var(--wine); }

/* ---------- floating rail / bottom bar ---------- */
.rail { position: fixed; right: 28px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-2); z-index: 40; }
.rail a { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; color: var(--ink); border-bottom: 1px solid var(--line); transition: background .2s, color .2s; }
.rail a:last-child { border-bottom: 0; }
.rail a:hover { background: var(--wine); color: #fff; }
.rail a.ev { color: var(--wine); font-family: var(--serif-en); font-size: 10px; letter-spacing: 0.14em; }
.mbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(14px + env(safe-area-inset-bottom, 0px)); align-items: center; gap: 10px; }
.mbar .btn-solid { flex: 1 1 auto; min-height: 48px; }
.mbar .ico { flex: 0 0 48px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); color: var(--ink); border-radius: var(--radius); }
.mbar .ev { flex: 0 0 auto; min-height: 48px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--wine); color: var(--wine); font-family: var(--serif-en); font-size: 10.5px; letter-spacing: 0.16em; border-radius: var(--radius); }
.totop { position: fixed; right: 28px; bottom: 28px; width: 44px; height: 44px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 39; cursor: pointer; }
.totop.show { opacity: 1; pointer-events: auto; }

/* =========================================================
   EVENT PAGE
   ========================================================= */
.event-page { padding-bottom: 120px; }
.ev-intro { padding-top: 72px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.ev-intro-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ev-intro h1 { font-family: var(--sans); font-weight: 500; font-size: 13.5px; line-height: 1.7; letter-spacing: 0.06em; color: var(--ink-2); }
.ev-title { font-family: var(--serif-en); font-weight: 400; font-size: clamp(34px, 4vw, 56px); line-height: 1.15; letter-spacing: 0.01em; color: var(--ink); }
.ev-title em { font-style: italic; color: var(--wine); }
.ev-intro .lead-serif { font-family: var(--serif); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.7; color: var(--ink); }
.ev-intro .sub { font-size: 14px; color: var(--ink-3); max-width: 40em; }
.ev-how { border-left: 1px solid var(--line); padding-left: 28px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--ink-3); min-width: 0; }
.ev-notes { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ev-note { padding: 22px 24px 22px 0; border-right: 1px solid var(--line); margin-right: 24px; min-width: 0; }
.ev-note:last-child { border-right: 0; margin-right: 0; }
.ev-note .label { display: block; margin-bottom: 6px; }
.ev-note div:last-child { font-size: 13.5px; }
.ev-tabs-wrap { position: sticky; top: var(--header-h-compact); z-index: 30; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); margin-top: 36px; }
.ev-tabs { display: flex; gap: 4px; flex-wrap: wrap; padding: 8px 0; }
.ev-tab { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; font-size: 12.5px; letter-spacing: 0.08em; color: var(--ink-3); border-bottom: 1px solid transparent; white-space: nowrap; transition: color .2s, border-color .2s; }
.ev-tab:hover, .ev-tab.active { color: var(--wine); border-bottom-color: var(--wine); }
.ev-cat { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 40px; padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
.ev-cat:last-of-type { border-bottom: 0; }
.ev-cat-head { display: flex; flex-direction: column; gap: 10px; align-self: start; min-width: 0; position: sticky; top: 140px; }
.ev-cat-head .en { font-family: var(--serif-en); font-size: 12px; letter-spacing: 0.22em; color: var(--wine); text-transform: uppercase; }
.ev-cat-head h2 { font-size: clamp(22px, 2.2vw, 30px); }
.ev-cat-head p { font-size: 13.5px; color: var(--ink-3); line-height: 1.9; max-width: 22em; }
.ev-cat-head .cnt { font-size: 12px; color: var(--ink-4); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; background: #fff; transition: border-color .2s, box-shadow .2s; }
.card.on { border-color: var(--wine); box-shadow: inset 0 0 0 1px var(--wine); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.card-top .tag { font-family: var(--serif-en); font-size: 11px; letter-spacing: 0.14em; color: var(--ink-4); text-transform: uppercase; }
.card-top .pct { font-size: 11px; letter-spacing: 0.08em; color: var(--wine); border: 1px solid var(--wine); padding: 2px 8px; border-radius: var(--radius); }
.card h3 { font-size: 17px; line-height: 1.55; }
.card .comp { font-size: 12.5px; color: var(--ink-4); line-height: 1.8; flex: 1 1 auto; }
.card-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; border-top: 1px dashed var(--line); padding-top: 12px; flex-wrap: wrap; }
.card-foot .prices { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.card-foot .orig { font-size: 12px; color: var(--strike); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.card-foot .price { font-size: 22px; line-height: 1.2; }
.pick { min-height: 40px; padding: 0 16px; background: #fff; color: var(--wine); border: 1px solid var(--wine); border-radius: var(--radius); font-size: 12px; letter-spacing: 0.08em; cursor: pointer; transition: background .2s, color .2s; }
.pick:hover { background: #fbf3f4; }
.pick[aria-pressed="true"] { background: var(--wine); color: #fff; }
.anes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.anes { border: 1px solid var(--line); padding: 20px 22px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.anes span:first-child { font-family: var(--serif); font-size: 16px; }
.anes .price { font-size: 18px; }

/* selection bar */
.selbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line-2); box-shadow: 0 -8px 24px rgba(0,0,0,0.04); }
.selbar .in { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 24px; }
.selbar .sum { display: flex; align-items: baseline; gap: 24px; flex: 1 1 auto; min-width: 0; flex-wrap: wrap; }
.selbar .sum > div { display: flex; align-items: baseline; gap: 10px; }
.selbar .k { font-size: 12px; letter-spacing: 0.08em; color: var(--ink-4); }
.selbar .v { font-family: var(--serif-en); font-size: 22px; color: var(--ink); font-variant-numeric: tabular-nums; }
.selbar .v.wine { color: var(--wine); }
.selbar .clear { background: none; border: 0; padding: 6px 0; font-size: 12px; color: var(--ink-4); text-decoration: underline; cursor: pointer; }
.selbar .clear[hidden] { display: none; }
.selbar .btn { white-space: nowrap; }

/* quote modal */
.modal { position: fixed; inset: 0; z-index: 70; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(26,21,23,0.45); }
.modal.open { display: flex; }
.modal-box { background: #fff; max-width: 560px; width: 100%; max-height: 90vh; overflow: auto; padding: 32px 32px 28px; display: flex; flex-direction: column; gap: 16px; border-radius: var(--radius); }
.modal-box h2 { font-size: 22px; }
.modal-box textarea { width: 100%; min-height: 220px; font: 13px/1.7 var(--sans); color: var(--ink-2); border: 1px solid var(--line-2); padding: 14px; resize: vertical; border-radius: var(--radius); }
.modal-box .row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.modal-box .hint { font-size: 12px; color: var(--ink-4); }
.modal-close { align-self: flex-end; background: none; border: 0; cursor: pointer; color: var(--ink-3); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; margin: -10px -10px 0 0; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .hero-text { padding: 80px 56px 80px 72px; }
  .nav a { padding: 8px 8px; font-size: 12.5px; }
}
@media (max-width: 1160px) and (min-width: 961px) {
  /* 8 menu items + EVENT: keep the header inside the screen from 961px to 1160px */
  .header .wrap { gap: 14px; }
  .nav a { padding: 8px 5px; font-size: 12px; letter-spacing: 0.02em; }
  .logo img { height: 22px; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header-right { margin-left: auto; }
  .langsw.in-header { display: none; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-cat { grid-template-columns: 1fr; gap: 24px; }
  .ev-cat-head { position: static; }
}
@media (max-width: 860px) {
  :root { --gutter: 20px; --sec-y: 64px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { order: 2; padding: 40px 20px 48px; }
  .hero-img { order: 1; min-height: 380px; }
  .principles { grid-template-columns: 1fr; gap: 28px; margin-top: 44px; }
  .g12 { grid-template-columns: 1fr; gap: 20px; }
  .s4, .s5, .s7, .s8, .s12 { grid-column: span 1; }
  .g2s { grid-template-columns: 1fr; gap: 18px; }
  .trow { grid-template-columns: 1fr; gap: 16px; padding: 26px 0; }
  .sig-grid { grid-template-columns: 1fr; }
  .sig { min-height: 0; }
  .sig-note { text-align: left; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .faq-grid, .access-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-side { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.3); padding-top: 24px; }
  .rail, .totop { display: none; }
  .mbar { display: flex; }
  body.has-mbar { padding-bottom: 88px; }
  .ev-intro { grid-template-columns: 1fr; gap: 24px; padding-top: 44px; }
  .ev-how { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .ev-notes { grid-template-columns: 1fr; }
  .ev-note { border-right: 0; margin-right: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .ev-note:last-child { border-bottom: 0; }
  .ev-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .ev-tabs::-webkit-scrollbar { display: none; }
  .ev-cat { padding: 44px 0; scroll-margin-top: 120px; }
  .cards { grid-template-columns: 1fr; gap: 12px; }
  .anes-grid { grid-template-columns: 1fr; }
  .selbar .in { padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px)); gap: 12px; flex-wrap: wrap; }
  .selbar .sum { gap: 14px; }
  .selbar .v { font-size: 18px; }
  .selbar .btn { flex: 1 1 100%; }
  .event-page { padding-bottom: 160px; }
  .modal-box { padding: 24px 20px 20px; }
}
@media (max-width: 400px) {
  .hero .slogan { font-size: 25px; }
}

/* =========================================================
   v2 additions: basic info table, doctors, caution, drafts, columns
   ========================================================= */
.wrap.narrow { max-width: 820px; }
.info-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); font-size: 14px; }
.info-table th, .info-table td { text-align: left; vertical-align: top; padding: 16px 0; border-bottom: 1px solid var(--line); line-height: 1.9; }
.info-table th { width: 11.5em; padding-right: 20px; font-family: var(--serif); font-weight: 500; font-size: 15px; color: var(--ink); }
.info-table td { color: var(--ink-2); }
.info-table td a { color: var(--ink-2); border-bottom: 1px solid var(--line-2); }
.doctor-row + .doctor-row { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--line); }
.doctor-row { align-items: center; gap: 48px 24px; }
.doctor-body h3.h2 { font-size: clamp(24px, 2.5vw, 34px); }
.caution { margin-top: 40px; border: 1px solid var(--line); padding: 20px 24px; display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.caution .label { padding-top: 3px; white-space: nowrap; color: var(--ink-3); font-family: var(--sans); letter-spacing: 0.08em; font-size: 12px; }
.caution p { font-size: 12.5px; color: var(--ink-3); line-height: 1.9; flex: 1 1 420px; min-width: 0; }
.addr-ko { font-size: 15px; color: var(--ink); line-height: 1.8; border-left: 2px solid var(--wine); padding-left: 14px; }
.addr-ko span { display: block; font-size: 12px; color: var(--ink-4); }
.draft-mark { display: inline-block; font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.06em; color: #fff; background: #b26a00; padding: 1px 7px; border-radius: 2px; vertical-align: middle; margin-left: 6px; font-weight: 500; }
ol.steps { list-style: none; padding-top: 0; padding-bottom: 0; }
ol.steps.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }

/* columns */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-4); }
.crumbs a { color: var(--ink-4); }
.crumbs a:hover { color: var(--wine); }
.col-list { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.col-card { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.col-card > a { display: flex; flex-direction: column; gap: 12px; padding: 30px 28px 26px; color: inherit; height: 100%; }
.col-card h2 { font-size: 20px; line-height: 1.6; }
.col-card p { font-size: 13.5px; color: var(--ink-3); line-height: 1.9; flex: 1 1 auto; }
.col-card .textlink { align-self: flex-start; }
.col-meta { display: flex; gap: 14px; align-items: center; font-size: 12px; color: var(--ink-4); }
.article h1 { font-size: clamp(25px, 3vw, 36px); line-height: 1.5; margin-top: 12px; }
.byline { margin-top: 18px; font-size: 12.5px; color: var(--ink-4); line-height: 1.9; }
.byline a { color: var(--ink-3); border-bottom: 1px solid var(--line-2); }
.summary { margin-top: 32px; border: 1px solid var(--wine); padding: 22px 26px; }
.summary ul { margin-top: 10px; padding-left: 1.2em; list-style: disc; font-size: 14.5px; line-height: 1.95; color: var(--ink-2); }
.prose { margin-top: 40px; font-size: 15.5px; line-height: 2.05; color: var(--ink-2); }
.prose h2 { font-size: 23px; margin: 56px 0 16px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink); scroll-margin-top: 90px; }
.prose h3 { font-size: 18px; margin: 34px 0 10px; color: var(--ink); }
.prose h4 { font-size: 16px; margin: 26px 0 8px; color: var(--ink); }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 1.4em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li { margin: 4px 0; }
.prose a { border-bottom: 1px solid var(--wine); }
.prose blockquote { margin: 0 0 18px; padding: 4px 0 4px 18px; border-left: 2px solid var(--wine); color: var(--ink-3); }
.prose code { font-size: 0.9em; background: #f6f3f3; padding: 1px 5px; }
.table-scroll { overflow-x: auto; margin: 0 0 22px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.8; }
.prose th, .prose td { text-align: left; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--serif); font-weight: 500; color: var(--ink); border-bottom-color: var(--ink-4); white-space: nowrap; }
.col-faq { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); }
.col-faq h2 { font-size: 23px; margin-bottom: 8px; }
.col-faq h3 { font-size: 17px; margin: 26px 0 8px; }
.col-faq p { font-size: 14.5px; color: var(--ink-3); line-height: 1.95; }
.col-cta { margin-top: 40px; display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
/* columns drawn from AI Manager data (lib/columns.mjs) */
.col-empty { margin-top: 48px; padding: 44px 28px; border: 1px solid var(--line); text-align: center; font-size: 14.5px; color: var(--ink-3); }
.summary h2.label { font-weight: 400; line-height: 1.6; }
.summary-lead { margin-top: 10px; font-family: var(--serif); font-weight: 500; font-size: 17px; line-height: 1.9; color: var(--ink); }
.summary-items { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.summary-items li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.summary-items li:last-child { border-bottom: 0; padding-bottom: 4px; }
.summary-items .num { font-family: var(--serif-en); font-size: 20px; line-height: 1.5; color: var(--wine); }
.summary-items strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 15px; color: var(--ink); line-height: 1.7; }
.summary-items p { margin-top: 2px; font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.toc { margin-top: 28px; padding: 20px 26px 18px; background: #faf7f7; }
.toc h2.label { font-weight: 400; line-height: 1.6; }
.toc ol { margin: 8px 0 0; padding-left: 1.4em; list-style: decimal; font-size: 14.5px; line-height: 1.8; color: var(--ink-4); }
.toc a { display: block; padding: 6px 0; color: var(--ink-2); border-bottom: 1px solid transparent; }
.toc a:hover { color: var(--wine); border-bottom-color: var(--wine); }
.prose h3 { scroll-margin-top: 90px; }
.prose strong { font-weight: 500; color: var(--ink); background: linear-gradient(transparent 62%, #f3e3e6 62%); }
.prose caption { caption-side: top; text-align: left; padding: 0 0 8px; font-size: 12.5px; color: var(--ink-4); letter-spacing: 0.04em; }
.prose td { min-width: 6.5em; }
.prose th, .prose td { padding-right: 18px; }
.prose .cite, .summary .cite { font-size: 0.72em; line-height: 0; margin-left: 2px; }
.prose .cite a, .summary .cite a { color: var(--wine); border-bottom: 0; padding: 6px 2px; }
.col-qa { margin: 4px 0 18px; }
.col-qa h3, .col-qa h4 { position: relative; padding-left: 1.7em; font-size: 17px; margin: 26px 0 8px; color: var(--ink); }
.col-qa h3::before, .col-qa h4::before { content: "Q"; position: absolute; left: 0; top: 0; font-family: var(--serif-en); color: var(--wine); }
.col-qa p { padding-left: 1.85em; color: var(--ink-2); }
.refs, .related { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); }
.refs h2, .related h2 { font-size: 19px; }
.refs ol { margin: 14px 0 0; padding-left: 2em; list-style: none; counter-reset: ref; font-size: 13px; line-height: 1.8; color: var(--ink-3); }
.refs li { counter-increment: ref; position: relative; padding: 8px 0; scroll-margin-top: 100px; }
.refs li::before { content: "[" counter(ref) "]"; position: absolute; left: -2em; color: var(--wine); }
.refs li:target { background: #faf3f4; }
.refs a { color: var(--ink-3); border-bottom: 1px solid var(--line-2); overflow-wrap: anywhere; }
.related ul { margin: 12px 0 0; padding-left: 1.2em; list-style: disc; font-size: 14.5px; line-height: 1.9; }
.related a { display: inline-block; padding: 5px 0; border-bottom: 1px solid var(--wine); }
.col-cta .textlink + .textlink { margin-left: -4px; }
@media (max-width: 860px) {
  .info-table th, .info-table td { display: block; width: 100%; padding: 0; border-bottom: 0; }
  .info-table th { padding-top: 14px; font-size: 14px; color: var(--wine); }
  .info-table td { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .doctor-row + .doctor-row { margin-top: 48px; padding-top: 48px; }
  .col-list { grid-template-columns: 1fr; }
  .hero h1 { margin-top: -10px; }
}

.nb { display: inline-block; }

/* v3: signature specs, downtime table, doctor photos */
.sig-spec { margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: 12px; line-height: 1.7; color: var(--ink-3); }
.sig-spec div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 8px; }
.sig-spec dt { color: var(--ink-4); letter-spacing: 0.04em; }
.sig-spec dd { margin: 0; }
.sig p { flex: 0 0 auto; }
.sig .sig-price { margin-top: auto; }
.spec-h { margin-top: 64px; font-size: 22px; scroll-margin-top: 90px; }
.spec-table { width: 100%; min-width: 760px; border-collapse: collapse; margin-top: 20px; font-size: 13px; line-height: 1.8; border-top: 1px solid var(--ink-4); }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 13px 16px 13px 0; border-bottom: 1px solid var(--line); }
.spec-table thead th { font-family: var(--sans); font-weight: 500; font-size: 11.5px; letter-spacing: 0.1em; color: var(--ink-4); white-space: nowrap; }
.spec-table tbody th { font-family: var(--serif); font-weight: 500; font-size: 14px; color: var(--ink); width: 30%; }
.spec-table td { color: var(--ink-2); }
/* phones: one block per treatment instead of a table that has to be scrolled sideways */
@media (max-width: 640px) {
  .table-scroll:has(.spec-table) { overflow: visible; }
  .spec-table { min-width: 0; border-top: 0; }
  .spec-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .spec-table tr { display: block; padding: 16px 0 14px; border-top: 1px solid var(--line); }
  .spec-table tbody tr:first-child { border-top-color: var(--ink-4); }
  .spec-table tbody th { display: block; width: auto; padding: 0 0 8px; border: 0; font-size: 15px; line-height: 1.7; }
  .spec-table td { display: block; position: relative; padding: 3px 0 3px 7em; border: 0; font-size: 13px; line-height: 1.75; }
  .spec-table td::before { content: attr(data-label); position: absolute; left: 0; top: 3px; color: var(--ink-4); font-size: 12px; }
}
.spec-note { margin-top: 12px; font-size: 12px; color: var(--ink-4); }
.doctor-photo { padding: 0; border: 0; background: #f6f3f1; }
.doctor-photo img { object-position: center top; }
.doctor-row .s5 { align-self: start; }
#doctor-nam .doctor-photo { max-width: 360px; }

/* v4: treatment photos */
.tr-section { scroll-margin-top: calc(var(--header-h-compact) + 8px); padding-bottom: var(--sec-y); }
.tr-banner { position: relative; background: #f0f0f0; overflow: hidden; }
.tr-banner-img { position: absolute; right: 0; bottom: 0; height: 100%; width: auto; max-width: none; }
.tr-banner .wrap { position: relative; }
.tr-banner-text { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; max-width: 520px; padding: 96px 0; }
.tr-section .trows { margin-top: 0; }
.tr-section .trow:first-child { border-top: 0; }
.trow-body { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.thumbs { display: flex; flex-wrap: wrap; gap: 14px 12px; }
.thumbs li { width: 104px; display: flex; flex-direction: column; gap: 6px; }
.thumbs img { width: 104px; height: 104px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.thumbs span { font-size: 11px; line-height: 1.5; color: var(--ink-3); text-align: center; }
.sig-img { margin: -30px -28px 6px; height: 200px; border-bottom: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sig-img img { height: 100%; width: auto; object-fit: contain; }
.ev-cat-img { width: 100%; max-width: 200px; height: auto; aspect-ratio: 1 / 1; object-fit: contain; border: 1px solid var(--line); background: #fff; margin-top: 8px; }
@media (max-width: 860px) {
  .tr-banner-img { height: 230px; }
  .tr-banner-text { padding: 48px 0 250px; max-width: none; }
  .thumbs li { width: 88px; } .thumbs img { width: 88px; height: 88px; }
  .sig-img { height: 180px; }
  .ev-cat-img { max-width: 140px; }
}
@media (max-width: 860px) {
  .thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; }
  @media (max-width: 520px) { .thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; } }
  .thumbs li { width: auto; }
  .thumbs img { width: 100%; height: auto; aspect-ratio: 1 / 1; }
}

/* v5: touch targets (44px) for small text links */
.footer .links { gap: 0 22px; }
.footer .links a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-side { gap: 2px; }
.contact-side .eyebrow { margin-bottom: 10px; }
.contact-side a { display: inline-block; padding: 11px 0; }
.info-table td a, .hours .tel a { display: inline-block; padding: 10px 0; }
.logo { min-height: 44px; }
.byline a, .crumbs a { padding: 10px 0; display: inline-block; }

/* v6: event page built from the official campaign data */
.ev-feature { padding-top: 72px; }
.ev-feature-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ev-feature-card { display: flex; flex-direction: column; border: 1px solid var(--line); color: inherit; background: #fff; transition: border-color .2s; min-width: 0; }
.ev-feature-card:hover { border-color: var(--wine); color: inherit; }
.ev-feature-img { aspect-ratio: 1616 / 502; overflow: hidden; background: #f3f1f0; }
.ev-feature-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.ev-feature-body { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 18px 20px; flex-wrap: wrap; }
.ev-feature-body h3 { font-size: 19px; margin-top: 4px; }
.ev-feature-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--ink-4); font-variant-numeric: tabular-nums; }
.ev-feature-meta svg { color: var(--wine); }
.ev-sec { padding: 72px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 124px; }
.ev-banner { margin-bottom: 28px; background: #f3f1f0; }
.ev-banner img { width: 100%; height: auto; }
.ev-sec-head { display: flex; gap: 28px; align-items: center; margin-bottom: 32px; }
.ev-thumb { flex: 0 0 150px; width: 150px; height: 150px; overflow: hidden; border: 1px solid var(--line); }
.ev-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ev-sec-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ev-sec-text .en { font-family: var(--serif-en); font-size: 12px; letter-spacing: 0.22em; color: var(--wine); text-transform: uppercase; }
.ev-sec-text h2 { font-size: clamp(22px, 2.2vw, 30px); }
.ev-sec-text p { font-size: 13.5px; color: var(--ink-3); line-height: 1.9; max-width: 48em; }
.ev-sec-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; color: var(--ink-4); font-variant-numeric: tabular-nums; }
.ev-sec .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ev-sec .card { padding: 20px 18px 18px; }
.ev-sec .card h3 { font-size: 15.5px; line-height: 1.6; }
.ev-sec .card .comp { font-size: 12px; }
.ev-sec .card-foot .price { font-size: 20px; }
.ev-sec .pick { padding: 0 12px; }
.ev-perks { margin-top: 20px; border: 1px solid var(--wine); padding: 18px 22px; display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
.ev-perks ul { flex: 1 1 400px; font-size: 13px; color: var(--ink-2); line-height: 1.9; }
.ev-perks strong { font-weight: 500; }
.ev-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.ev-tabs::-webkit-scrollbar { display: none; }
.ev-tab { padding: 0 13px; }
@media (max-width: 1100px) { .ev-sec .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .ev-sec .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .ev-feature { padding-top: 48px; }
  .ev-feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .ev-feature-img { aspect-ratio: 640 / 376; }
  .ev-sec { padding: 48px 0; scroll-margin-top: 116px; }
  .ev-sec-head { gap: 16px; margin-bottom: 22px; }
  .ev-thumb { flex-basis: 96px; width: 96px; height: 96px; }
}
@media (max-width: 520px) {
  /* phones: smaller thumbnail so the section title gets the width it needs */
  .ev-sec-head { align-items: flex-start; gap: 14px; }
  .ev-thumb { flex-basis: 68px; width: 68px; height: 68px; margin-top: 4px; }
  .ev-sec-text h2 { font-size: 20px; line-height: 1.5; }
  .ev-sec .cards { grid-template-columns: 1fr; }
}

.ev-sec.collapsed .cards .card:nth-child(n+13) { display: none; }
.ev-more { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin-top: 16px; background: #fff; border: 1px solid var(--wine); color: var(--wine); font-size: 13px; letter-spacing: 0.08em; border-radius: var(--radius); cursor: pointer; transition: background .2s, color .2s; }
.ev-more:hover { background: var(--wine); color: #fff; }
@media (max-width: 860px) { .ev-sec.collapsed .cards .card:nth-child(n+7) { display: none; } }

.prose figure { margin: 0 0 22px; }
.prose figure img { width: 100%; height: auto; }
.prose figcaption { margin-top: 8px; font-size: 12px; color: var(--ink-4); }
