/* Gracious One — website styles. Self-contained (design-system tokens inlined). */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Jost:wght@300;400;500;600&family=Noto+Sans+TC:wght@300;400;500;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* ---- Tokens ---- */
:root {
  --onyx-900: oklch(0.19 0.008 60);
  --onyx-800: oklch(0.26 0.008 60);
  --onyx-700: oklch(0.36 0.008 60);
  --onyx-600: oklch(0.48 0.007 60);
  --onyx-500: oklch(0.60 0.006 60);
  --onyx-400: oklch(0.72 0.005 65);
  --onyx-300: oklch(0.84 0.006 70);
  --onyx-200: oklch(0.90 0.006 72);
  --onyx-100: oklch(0.95 0.006 75);
  --ivory-000: oklch(0.99 0.006 82);
  --ivory-050: oklch(0.975 0.008 82);
  --ivory-100: oklch(0.96 0.010 82);
  --gold-700: oklch(0.55 0.09 78);
  --gold-600: oklch(0.66 0.10 80);
  --gold-500: oklch(0.74 0.10 82);
  --gold-400: oklch(0.82 0.08 84);
  --gold-100: oklch(0.94 0.035 85);

  --bg-page: var(--ivory-000);
  --bg-alt: var(--ivory-100);
  --surface-card: var(--ivory-050);
  --text-strong: var(--onyx-900);
  --text-body: var(--onyx-700);
  --text-muted: var(--onyx-500);
  --text-inverse: var(--ivory-000);
  --accent: var(--gold-500);
  --accent-strong: var(--gold-600);
  --accent-press: var(--gold-700);
  --accent-tint: var(--gold-100);
  --border-hairline: var(--onyx-300);
  --border-soft: var(--onyx-200);
  --rule-gold: var(--gold-500);

  --font-display: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Jost', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --eyebrow-tracking: 0.22em;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px oklch(0.19 0.008 60 / 0.06);
  --shadow-md: 0 4px 16px oklch(0.19 0.008 60 / 0.08);
  --shadow-lg: 0 18px 48px oklch(0.19 0.008 60 / 0.12);
  --shadow-gold: 0 8px 28px oklch(0.66 0.10 80 / 0.28);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 160ms;
  --dur-med: 280ms;
  --dur-slow: 520ms;

  --container: 1240px;
  --narrow: 760px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(72px, 10vw, 148px);
}

/* language-specific type: swap display serif for a serif-flavored sans in CJK */
:root[lang="zh-Hant"] { --font-sans: 'Noto Sans TC', sans-serif; --font-display: 'Noto Sans TC', serif; }
:root[lang="ja"] { --font-sans: 'Noto Sans JP', sans-serif; --font-display: 'Noto Sans JP', serif; }

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg-page); color: var(--text-body);
  font-family: var(--font-sans); font-weight: 400; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; color: var(--text-strong); margin: 0; line-height: 1.1; text-wrap: balance; }
:root[lang="zh-Hant"] h1, :root[lang="zh-Hant"] h2, :root[lang="zh-Hant"] h3,
:root[lang="ja"] h1, :root[lang="ja"] h2, :root[lang="ja"] h3 { font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--accent-strong); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
a:hover { color: var(--accent-press); }
ul { margin: 0; padding: 0; list-style: none; }

/* ---- Layout ---- */
.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--narrow); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section--onyx { background: var(--onyx-900); color: color-mix(in oklab, var(--ivory-000) 78%, transparent); }
.section--onyx h1, .section--onyx h2, .section--onyx h3 { color: var(--ivory-000); }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: var(--eyebrow-tracking); text-transform: uppercase; color: var(--accent-strong); display: inline-flex; flex-direction: column; gap: 10px; }
.eyebrow::after { content: ""; width: 32px; height: 1px; background: var(--rule-gold); }
.eyebrow--center { align-items: center; }
.section--onyx .eyebrow { color: var(--accent); }
.lead { font-size: clamp(19px, 2.4vw, 22px); font-weight: 300; line-height: 1.55; color: var(--text-body); }
.section--onyx .lead { color: color-mix(in oklab, var(--ivory-000) 82%, transparent); }

h1.display { font-size: clamp(44px, 6vw, 78px); }
h2.display { font-size: clamp(32px, 4.4vw, 54px); }
h3.display { font-size: clamp(22px, 2.6vw, 30px); }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-sans); font-weight: 500; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; padding: 14px 28px; border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer; transition: all var(--dur-fast) var(--ease-out); line-height: 1; white-space: nowrap; }
:root[lang="ja"] .btn, :root[lang="zh-Hant"] .btn { letter-spacing: 0.06em; text-transform: none; }
.btn--primary { background: var(--accent); color: var(--onyx-900); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); box-shadow: var(--shadow-gold); color: var(--onyx-900); }
.btn--outline { background: transparent; color: var(--text-strong); border-color: var(--border-hairline); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent-strong); }
.btn--inverse { background: transparent; color: var(--ivory-000); border-color: color-mix(in oklab, var(--ivory-000) 40%, transparent); }
.btn--inverse:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { padding: 17px 34px; font-size: 14px; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in oklab, var(--ivory-000) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-soft); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; min-width: 0; }
.brand__mark { width: 40px; height: 40px; flex: none; border: 1px solid var(--accent); border-radius: var(--radius-sm); display: grid; place-items: center; }
.brand__mark img { height: 24px; }
.brand__name { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--text-strong); white-space: nowrap; }
.brand__name em { font-style: italic; color: var(--accent-strong); }
:root[lang="zh-Hant"] .brand__name, :root[lang="ja"] .brand__name { font-family: 'EB Garamond', serif; }

.nav { display: flex; align-items: center; gap: 4px; min-width: 0; }
.nav a { color: var(--text-body); font-size: 14px; letter-spacing: 0.02em; padding: 10px 14px; border-radius: var(--radius-sm); position: relative; white-space: nowrap; }
.nav a:hover { color: var(--text-strong); }
:root[lang="ja"] .nav a, :root[lang="zh-Hant"] .nav a { padding: 10px 10px; font-size: 13px; }
:root[lang="ja"] .nav, :root[lang="zh-Hant"] .nav { gap: 0; }
.nav a[aria-current="page"] { color: var(--accent-strong); }
.nav__group { position: relative; }
.nav__panel { position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; background: var(--ivory-000); border: 1px solid var(--border-soft); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all var(--dur-fast) var(--ease-out); }
.nav__group:hover .nav__panel, .nav__group:focus-within .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__panel a { display: block; padding: 9px 12px; font-size: 14px; }
.nav__panel a:hover { background: var(--accent-tint); }

.header__actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.lang { display: flex; align-items: center; gap: 2px; border: 1px solid var(--border-soft); border-radius: var(--radius-pill); padding: 3px; }
.lang button { background: transparent; border: 0; cursor: pointer; font-family: var(--font-sans); font-size: 12px; padding: 5px 11px; border-radius: var(--radius-pill); color: var(--text-muted); transition: all var(--dur-fast); }
.lang button.is-active { background: var(--onyx-900); color: var(--ivory-000); }

/* Floating LINE chat button */
.line-fab { position: fixed; right: 20px; bottom: 28px; z-index: 90; display: flex; align-items: center; gap: 10px; transition: transform var(--dur-fast) var(--ease-out); text-decoration: none; }
.line-fab:hover { transform: scale(1.04); }
.line-fab__icon { width: 58px; height: 58px; border-radius: 50%; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,0.22); background: #06C755; flex: none; }
.line-fab__icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.line-fab__label { background: var(--gold-500,#c8a24a); color: #fff; font-family: var(--font-sans); font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: var(--radius-pill); box-shadow: 0 6px 20px rgba(0,0,0,0.18); white-space: nowrap; position: relative; top: 5px; }
@media (max-width: 560px) { .line-fab { right: 16px; bottom: 24px; gap: 8px; } .line-fab__icon { width: 52px; height: 52px; } .line-fab__label { font-size: 12px; padding: 8px 14px; } }

/* Compact globe language control — becomes a floating button on mobile */
.lang-mini { display: none; }
.lang-mini__btn { display: flex; align-items: center; gap: 5px; background: var(--ivory-000); border: 1px solid var(--border-soft); border-radius: var(--radius-pill); padding: 6px 10px; cursor: pointer; color: var(--text-body); font-family: var(--font-sans); font-size: 12px; box-shadow: 0 4px 14px rgba(0,0,0,0.10); }
.lang-mini__menu { position: absolute; top: calc(100% + 8px); right: 0; background: var(--ivory-000); border: 1px solid var(--border-soft); border-radius: var(--radius-md); box-shadow: 0 12px 34px rgba(0,0,0,0.16); padding: 6px; display: flex; flex-direction: column; gap: 2px; z-index: 61; min-width: 128px; }
.lang-mini__menu[hidden] { display: none; }
.lang-mini__menu button { background: transparent; border: 0; cursor: pointer; text-align: left; font-family: var(--font-sans); font-size: 14px; padding: 10px 14px; border-radius: var(--radius-sm); color: var(--text-body); }
.lang-mini__menu button.is-active { background: var(--onyx-900); color: var(--ivory-000); }

.nav-toggle { display: none; background: transparent; border: 0; cursor: pointer; width: 42px; height: 42px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 22px; height: 1.5px; background: var(--text-strong); position: relative; transition: all var(--dur-fast); }
.nav-toggle span::before { position: absolute; top: -7px; } .nav-toggle span::after { position: absolute; top: 7px; }

/* ---- Hero ---- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; background: var(--onyx-900); overflow: hidden; }
.hero__media { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, oklch(0.24 0.01 60) 0 16px, oklch(0.21 0.01 60) 16px 32px); display: grid; place-items: center; }
.hero__media span { font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: oklch(0.5 0.01 60); letter-spacing: 0.06em; }
.hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.19 0.008 60 / 0.5) 0%, oklch(0.19 0.008 60 / 0.12) 40%, oklch(0.19 0.008 60 / 0.85) 100%); }
.hero__inner { position: relative; padding-block: clamp(48px, 8vw, 104px); max-width: 940px; width: 100%; }
.hero h1 { color: var(--ivory-000); margin: 22px 0 0; }
.hero .lead { color: color-mix(in oklab, var(--ivory-000) 85%, transparent); margin: 24px 0 34px; max-width: 46ch; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- Grids & cards ---- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.pcard { display: block; background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: var(--radius-md); overflow: hidden; color: inherit; box-shadow: var(--shadow-sm); transition: box-shadow var(--dur-med) var(--ease-out); }
.pcard:hover { box-shadow: var(--shadow-md); color: inherit; }
.pcard__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: repeating-linear-gradient(135deg, var(--ivory-100) 0 12px, var(--ivory-050) 12px 24px); display: grid; place-items: center; }
.pcard__media span { font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: var(--text-muted); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.tagpill { position: absolute; top: 14px; left: 14px; font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--onyx-900); background: var(--accent-tint); padding: 5px 10px; border-radius: var(--radius-pill); }
.tagpill--sold { background: var(--onyx-900); color: var(--ivory-000); }

/* ---- Admin edit bar (shown only to a logged-in admin browsing the live site) ---- */
.admin-editbar { position: fixed; left: 20px; bottom: 20px; z-index: 500; background: var(--onyx-900); color: var(--ivory-000); font-family: var(--font-sans); font-size: 13px; font-weight: 500; padding: 12px 20px; border-radius: var(--radius-pill); box-shadow: var(--shadow-lg); text-decoration: none; letter-spacing: 0.02em; transition: transform var(--dur-fast); }
.admin-editbar:hover { transform: translateY(-2px); color: var(--accent); }
.pcard__body { padding: 22px 22px 24px; }
.pcard__loc { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.pcard__title { font-size: 22px; margin-bottom: 12px; line-height: 1.2; }
.pcard__meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }
.pcard__price { padding-top: 14px; border-top: 1px solid var(--border-soft); font-family: var(--font-display); font-size: 22px; color: var(--accent-strong); }

/* ---- Feature/pillar ---- */
.pillar__num { font-family: var(--font-display); font-size: 20px; color: var(--accent-strong); }
.pillar__rule { width: 32px; height: 1px; background: var(--rule-gold); margin: 14px 0 18px; }
.pillar h3 { margin-bottom: 10px; }

/* ---- Stats ---- */
.stats { display: flex; gap: clamp(28px, 5vw, 72px); flex-wrap: wrap; }
.stat__value { font-family: var(--font-display); font-size: clamp(34px, 4vw, 50px); color: var(--text-strong); line-height: 1; }
.section--onyx .stat__value { color: var(--ivory-000); }
.stat__label { font-size: 11px; letter-spacing: var(--eyebrow-tracking); text-transform: uppercase; color: var(--text-muted); margin-top: 8px; }

/* ---- Filters ---- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 40px; }
.chip { background: transparent; border: 1px solid var(--border-hairline); color: var(--text-body); font-family: var(--font-sans); font-size: 13px; letter-spacing: 0.02em; padding: 9px 18px; border-radius: var(--radius-pill); cursor: pointer; transition: all var(--dur-fast); }
.chip:hover { border-color: var(--accent); }
.chip.is-active { background: var(--onyx-900); color: var(--ivory-000); border-color: var(--onyx-900); }
.filter-empty { color: var(--text-muted); padding: 40px 0; }

/* ---- FAQ ---- */
.faq { border-top: 1px solid var(--border-soft); }
.faq__item { border-bottom: 1px solid var(--border-soft); }
.faq__q { width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer; font-family: var(--font-display); font-size: clamp(19px, 2.2vw, 24px); color: var(--text-strong); padding: 26px 40px 26px 0; position: relative; display: flex; }
.faq__q::after { content: "+"; position: absolute; right: 0; font-family: var(--font-sans); font-weight: 300; color: var(--accent-strong); transition: transform var(--dur-fast); }
.faq__item.is-open .faq__q::after { content: "\2013"; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--dur-med) var(--ease-out); }
.faq__a > div { padding: 0 0 26px; color: var(--text-body); max-width: 68ch; }

/* ---- Forms ---- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field label { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.field input, .field select, .field textarea { font-family: var(--font-sans); font-size: 15px; color: var(--text-strong); background: var(--ivory-000); border: 1px solid var(--border-hairline); border-radius: var(--radius-sm); padding: 12px 14px; outline: none; transition: border-color var(--dur-fast); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.form-card { background: var(--ivory-000); border-radius: var(--radius-md); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-note { font-size: 12px; color: var(--text-muted); }
.form-success { display: none; }
.form-card.is-sent .form-body { display: none; }
.form-card.is-sent .form-success { display: block; }

/* ---- Offices ---- */
.office { border-top: 1px solid var(--border-soft); padding-top: 22px; }
.office h4 { font-family: var(--font-display); font-size: 20px; margin-bottom: 10px; }
.office p { font-size: 15px; margin-bottom: 4px; }

/* ---- Footer ---- */
.site-footer { background: var(--onyx-800); color: color-mix(in oklab, var(--ivory-000) 62%, transparent); padding-block: clamp(56px, 7vw, 88px) 36px; }
.site-footer a { color: color-mix(in oklab, var(--ivory-000) 68%, transparent); }
.site-footer a:hover { color: var(--accent); }
.footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.footer__brand .brand__name { color: var(--ivory-000); }
.footer__brand p { font-size: 14px; margin-top: 14px; max-width: 34ch; }
.footer__tagline { font-family: var(--font-display); font-size: 22px; font-style: italic; color: var(--accent); margin-top: 12px !important; }
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid color-mix(in oklab, var(--ivory-000) 20%, transparent); border-radius: 50%; color: color-mix(in oklab, var(--ivory-000) 72%, transparent); transition: all var(--dur-fast) var(--ease-out); }
.social a:hover { color: var(--onyx-900); background: var(--accent); border-color: var(--accent); }
.footer__col h5 { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; font-family: var(--font-sans); font-weight: 500; }
.footer__col li { margin-bottom: 11px; font-size: 14px; }
.footer__legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid color-mix(in oklab, var(--ivory-000) 12%, transparent); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: color-mix(in oklab, var(--ivory-000) 45%, transparent); }

/* ---- Breadcrumb ---- */
.crumb { font-size: 12px; letter-spacing: 0.06em; color: var(--text-muted); padding-top: 22px; }
.crumb a { color: var(--text-muted); }
.crumb a:hover { color: var(--accent-strong); }

/* ---- Team ---- */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 300px)); gap: clamp(24px, 4vw, 44px); justify-content: center; }
.member { background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: var(--radius-md); overflow: hidden; }
.member__photo { aspect-ratio: 1/1; overflow: hidden; background: var(--ivory-100); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.member__body { padding: 22px 24px 26px; }
.member__name { font-family: var(--font-display); font-size: 24px; color: var(--text-strong); }
.member__role { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-strong); margin: 6px 0 14px; }
.member__bio { font-size: 15px; color: var(--text-body); }
.team-hero { border-radius: var(--radius-md); overflow: hidden; margin-top: clamp(28px, 4vw, 44px); }
.team-hero img { width: 100%; display: block; }

/* ---- Page hero (interior) ---- */
.pagehead { background: var(--onyx-900); color: var(--ivory-000); padding-block: clamp(64px, 9vw, 120px) clamp(48px, 7vw, 84px); position: relative; }
.pagehead h1, .pagehead h2, .pagehead h3 { color: var(--ivory-000); }
.pagehead .crumb, .pagehead .crumb a { color: color-mix(in oklab, var(--ivory-000) 70%, transparent); }
.pagehead .lead { color: color-mix(in oklab, var(--ivory-000) 88%, transparent); max-width: 52ch; }
.pagehead .eyebrow { color: var(--accent); }
/* Extra bottom scrim so headings stay legible over bright photos */
.pagehead[style*="url("] { background-position: center; }

/* ---- Article page: tags, FAQ, share buttons ---- */
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tagchip { font-size: 12px; letter-spacing: 0.04em; color: var(--text-muted); border: 1px solid var(--border-hairline); border-radius: var(--radius-pill); padding: 5px 13px; }
.article-faq { border-top: 1px solid var(--border-soft); padding-top: 8px; }
.article-faq .faq-item p { color: var(--text-body); }
.article-share { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--border-soft); }
.share-label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.share-buttons { display: flex; gap: 8px; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-hairline); background: var(--ivory-000); color: var(--text-strong); font-size: 12px; font-weight: 600; text-decoration: none; cursor: pointer; transition: all var(--dur-fast) var(--ease-out); }
.share-btn:hover { border-color: var(--accent); color: var(--accent-strong); }

/* ---- Utilities ---- */
.mt-s { margin-top: 18px; } .mt-m { margin-top: 30px; } .mt-l { margin-top: 48px; }
.center { text-align: center; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .header__actions .lang { display: flex; }
  .header__actions .lang-mini { display: none; }
  .header__actions .header__enquire { display: none; }
  .lang-mini__btn svg { width: 18px; height: 18px; }
  .lang-mini__menu button { font-size: 15px; padding: 12px 16px; }
  .nav { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--ivory-000); border-bottom: 1px solid var(--border-soft); padding: 12px var(--gutter) 24px; gap: 2px; transform: translateY(-120%); transition: transform var(--dur-med) var(--ease-out); box-shadow: var(--shadow-lg); }
  .nav.is-open { transform: none; }
  .nav a { padding: 13px 8px; border-bottom: 1px solid var(--border-soft); border-radius: 0; }
  .nav__panel { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 16px; min-width: 0; }
  .footer__top { grid-template-columns: 1fr; }
}
/* ja nav labels are longer and don't fit a single-row desktop header gracefully — always use the hamburger menu for Japanese */
:root[lang="ja"] .nav-toggle { display: block; }
:root[lang="ja"] .nav { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--ivory-000); border-bottom: 1px solid var(--border-soft); padding: 12px var(--gutter) 24px; gap: 2px; transform: translateY(-120%); transition: transform var(--dur-med) var(--ease-out); box-shadow: var(--shadow-lg); flex-wrap: nowrap; }
:root[lang="ja"] .nav.is-open { transform: none; }
:root[lang="ja"] .header__actions .lang { display: flex; }
:root[lang="ja"] .header__actions .lang-mini { display: none; }
:root[lang="ja"] .header__actions .header__enquire { display: none; }
:root[lang="ja"] .nav a { padding: 13px 8px; border-bottom: 1px solid var(--border-soft); border-radius: 0; font-size: 14px; }
:root[lang="ja"] .nav__panel { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 16px; min-width: 0; }
@media (max-width: 560px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
}
