/* White Nail 2026-12 改版風格。
   色票、字級、留白與區塊節奏參考 Base44 Aurelia / Gloss 模板，
   但品牌、文案、Logo 與作品照皆為本店所有，沒有複製模板內容。
   主視覺為淺米白作品集風，不是先前的黑金帶。 */

:root {
  --bg: #f5f3ef;
  --bg-warm: #e8e5df;
  --bg-dark: #1a1a1a;
  --ink: #1a1a1a;
  --ink-soft: #3d2b1f;
  --ink-muted: rgba(26, 26, 26, 0.62);
  --line: rgba(26, 26, 26, 0.1);
  --line-dark: rgba(245, 243, 239, 0.14);
  --accent: #9c8b7a;
  --accent-soft: #b4a394;
  --rose: #d4a5a5;
  --max: 72rem;
  --font-display: "Cormorant Garamond", "Noto Serif TC", "Iowan Old Style", Georgia, serif;
  --font-serif: "Noto Serif TC", "Cormorant Garamond", "Songti TC", Georgia, serif;
  --font-sans: "Noto Sans TC", "PingFang TC", "Hiragino Sans TC", "Microsoft JhengHei", "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 400;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--accent); }

h1, h2, h3, .logo-text {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--bg-dark);
  color: var(--bg);
  padding: 0.5rem 1rem;
  z-index: 40;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.wrap,
.header-inner,
.footer-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding: 0.95rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}
.logo:hover { color: var(--accent); }

.logo-img {
  display: block;
  height: 2.5rem;
  width: auto;
  flex: none;
}

.logo-img-dark { display: none; }
.logo-img-light { display: block; }

.logo-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.1;
  color: inherit;
}
.logo-text span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: none;
  color: var(--accent);
  margin-top: 0.2rem;
  font-weight: 400;
}

.nav-toggle { display: none; }

.nav-toggle-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 0.4rem 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.header-cta, .btn.header-cta { display: none; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
  color: var(--ink-muted);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--accent); }

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  width: 100%;
  box-sizing: border-box;
  /* 與 .header-inner 左右留白對齊（min(100% - 2.5rem) → 兩側各 1.25rem） */
  padding: 0.25rem 1.25rem 2.9rem;
  border-bottom: 0;
  background: rgba(245, 243, 239, 0.98);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 2rem), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 2rem), transparent 100%);
}

/* nav 是 .site-header 的直接子元素（不在 .header-inner 裡），
   避免 iOS WebKit 把 flex 的 .header-inner 當成 absolute 包含塊，
   選單因此縮在左右各 1.25rem 的內距裡變成方塊。 */
.site-header:has(.nav-toggle:checked) .site-nav,
.site-nav:focus-within { display: block; }

.site-header:has(.nav-toggle:checked) {
  background: rgba(245, 243, 239, 0.98);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 0;
}
body:not(.is-home) .site-header:has(.nav-toggle:checked) .site-nav a {
  color: var(--ink);
  text-shadow: 0 0 10px rgba(245, 243, 239, 0.95), 0 1px 0 rgba(245, 243, 239, 0.9);
}
body:not(.is-home) .site-header:has(.nav-toggle:checked) .site-nav a[aria-current="page"] {
  color: var(--accent);
}

/* Home: transparent header over the hero */
body.is-home .site-header {
  position: absolute;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
  color: #fff;
}
body.is-home .logo,
body.is-home .logo:hover { color: #fff; }
body.is-home .logo-text span { color: rgba(255, 255, 255, 0.78); }
body.is-home .logo-img-dark { display: block; }
body.is-home .logo-img-light { display: none; }
body.is-home .nav-toggle-label {
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}
body.is-home .site-nav a {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8), 0 0 14px rgba(0, 0, 0, 0.65);
}
body.is-home .site-nav a:hover,
body.is-home .site-nav a[aria-current="page"] { color: #e4d5c6; }
body.is-home .site-nav {
  background: rgba(20, 18, 16, 0.66);
  border-bottom: 0;
}
body.is-home .site-header:has(.nav-toggle:checked) {
  background: rgba(20, 18, 16, 0.66);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 0;
}

@supports not ((backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px))) {
  .site-nav,
  .site-header:has(.nav-toggle:checked) {
    background: rgba(245, 243, 239, 0.97);
  }
  body.is-home .site-nav,
  body.is-home .site-header:has(.nav-toggle:checked) {
    background: rgba(20, 18, 16, 0.88);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.45rem;
  background: var(--bg-dark);
  color: #fff;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--bg-dark);
}
.btn:hover {
  background: transparent;
  color: var(--bg-dark);
  border-color: var(--bg-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover {
  background: var(--bg-dark);
  color: #fff;
  border-color: var(--bg-dark);
}

.btn-pending {
  background: transparent;
  color: var(--ink-muted);
  border-color: var(--line);
  pointer-events: none;
}
.btn-pending:hover {
  background: transparent;
  color: var(--ink-muted);
  border-color: var(--line);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.text-link {
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.15rem;
}
.text-link:hover { color: var(--accent); border-bottom-color: var(--accent); }

.footer-line { font-weight: 500; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #111;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.22) 45%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 7.5rem 1.25rem 5.5rem;
  max-width: 42rem;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

.hero h1 {
  margin: 0.35rem 0 1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 10vw, 5.25rem);
  line-height: 1.08;
  color: #fff;
}

.hero-title,
.hero h1 .hero-title { display: block; }

.hero-italic {
  font-style: italic;
  font-weight: 400;
  font-family: var(--font-display);
}

.hero .lead,
.hero-kicker {
  margin: 0 auto 0.55rem;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  line-height: 1.65;
}

.hero .actions { justify-content: center; margin-top: 1.8rem; }

.hero .btn {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}
.hero .btn:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.hero .btn-pending,
.hero .btn-pending:hover {
  color: rgba(255, 255, 255, 0.62);
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  z-index: 1;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1.1rem;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-scroll:hover { color: #fff; }

.eyebrow {
  margin: 0 0 0.7rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
}

/* ---------- Icon / trust bars ---------- */
.icon-bar,
.trust-bar {
  background: var(--bg-warm);
  color: var(--ink);
  padding: 1.35rem 0;
}

.icon-bar ul,
.trust-bar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.icon-bar li,
.trust-bar li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-soft);
  padding: 0.2rem 0;
  border-bottom: 1px solid var(--line);
}
.icon-bar li:last-child,
.trust-bar li:last-child { border-bottom: 0; }

.icon-svg {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  color: var(--accent);
}
.icon-svg svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Sections ---------- */
.section { padding: 3.4rem 0; }
.section-cream { background: var(--bg); }

.section h2, .band-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.15rem;
}

.section-heading .eyebrow { margin-bottom: 0.55rem; }

.intro {
  margin: 0 0 1.4rem;
  color: var(--ink-muted);
  max-width: 36rem;
}

.page-hero {
  padding: 4.25rem 0 2rem;
  background: var(--bg);
}
.page-hero h1 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 8vw, 4.4rem);
  line-height: 1.08;
}
.page-hero p {
  margin: 0;
  max-width: 36rem;
  color: var(--ink-muted);
}

.split {
  display: grid;
  gap: 2rem;
}

.split-photo-media { margin: 0; }
.split-photo-media img,
.split-photo-media picture {
  width: 100%;
  height: auto;
}
.split-photo-media img {
  object-fit: cover;
  object-position: center;
  aspect-ratio: 4 / 5;
}

/* Featured works */
.featured {
  padding: 3.6rem 0 3.2rem;
  background: var(--bg);
}
.featured-grid { display: grid; gap: 1.6rem; }
.featured-head {
  display: grid;
  gap: 1rem;
}
.featured-head .actions { margin-top: 0.4rem; }
.featured-tiles {
  display: grid;
  gap: 1.1rem;
}
.tile { margin: 0; }
.tile img,
.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--bg-warm);
}
.hero-photo picture,
.gallery-item picture,
.tile picture,
.split-photo-media picture { display: block; }

.gallery-item figcaption,
.tile figcaption {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.view-all {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.15rem;
}
.view-all:hover { color: var(--accent); border-bottom-color: var(--accent); }

.ig-more {
  display: inline-block;
  margin-top: 0.3rem;
}

/* Advantages */
.know-band {
  padding: 3.4rem 0;
  background: var(--bg-warm);
}
.advantages ul {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.advantages li {
  margin: 0;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
}
.advantages strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink);
  font-weight: 500;
  font-family: var(--font-sans);
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  text-transform: uppercase;
}

/* CTA band */
.cta-band {
  padding: 4rem 1.25rem;
  text-align: center;
  background: var(--bg-warm);
}
.cta-band h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 3.4rem);
}
.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
  color: var(--ink-muted);
}
.cta-band .actions { justify-content: center; }

.accordion { display: grid; gap: 0; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 2.75rem;
  padding: 1rem 0;
  font-size: 1.05rem;
  font-family: var(--font-serif);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion .num {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.accordion .panel {
  padding: 0 0 1.15rem;
  color: var(--ink-muted);
}

.gallery-grid {
  display: grid;
  gap: 1.5rem 1.1rem;
}
.gallery-item { margin: 0; }
.tryon-link { margin-top: 1.2rem; }

.price-group, .notice, .faq-item, .card, .step {
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
}
.price-group:first-child,
.notice:first-child,
.faq-item:first-child { border-top: 1px solid var(--line); }

.price-group h3, .notice h3, .faq-item h2, .card h3, .step h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.65rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}
.price-table th {
  text-align: left;
  font-weight: 400;
}
.price-table td {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}
.price-table td:last-child { text-align: right; white-space: nowrap; }
.price-table .duration {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-muted);
}
.price-table thead { display: none; }

.notice-list, .faq-list, .steps { display: grid; gap: 0; }
.prose { max-width: 42rem; }
.prose p { margin: 0 0 1rem; }

.disclaimer { color: var(--ink-muted); font-size: 0.92rem; }

/* Articles */
.article-list { display: grid; gap: 0; }
.article-card {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.article-list .article-card:first-child { border-top: 1px solid var(--line); }
.article-card h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.85rem;
}
.article-card h2 a { text-decoration: none; color: inherit; }
.article-card h2 a:hover { color: var(--accent); }
.article-card p { margin: 0; color: var(--ink-muted); }
.article-card .eyebrow { margin-bottom: 0.45rem; }
.article-card .article-more { margin: 0.7rem 0 0; }
.article-card .article-more a { color: var(--ink); }

.page-hero .eyebrow a { color: var(--accent); text-decoration: none; }
.page-hero .eyebrow a:hover { color: var(--ink); }
.page-hero .article-date {
  margin-top: 0.6rem;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.article-prose {
  max-width: 42rem;
  margin: 0 auto;
}
.article-prose h2 {
  margin: 2.2rem 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
}
.article-prose p { margin: 0 0 1rem; }
.article-prose ol { padding-left: 1.2rem; }
.article-prose li { margin: 0 0 0.4rem; }

.article-figures {
  display: grid;
  gap: 1.4rem;
  margin: 1.6rem 0;
}
.article-photo-note {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
}
.article-figure { margin: 0; }
.article-figure img { width: 100%; height: auto; }
.article-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.article-figure figcaption strong { font-weight: 600; }
.article-credit {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
}
.article-credit a { color: inherit; }

.article-cta { margin: 2rem 0 0; }
.article-sources { margin-top: 2.2rem; }
.article-sources h2 { font-size: 1.3rem; }
.article-sources p { color: var(--ink-muted); }
.article-sources a { word-break: break-word; }

.home-article-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.home-article-list li {
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
}
.home-article-list li:first-child { border-top: 1px solid var(--line); }
.home-article-list a {
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-serif);
}
.home-article-list a:hover { color: var(--accent); }
.map-link { margin: 1rem 0 0; }

.booking-panel { margin: 2rem 0; }
.booking-panel p { margin: 0 0 0.8rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark);
  color: #f5f3ef;
  padding: 3.4rem 0 2rem;
  margin-top: 0;
}
.site-footer a { color: #f5f3ef; text-decoration: none; }
.site-footer a:hover { color: var(--accent-soft); }
.site-footer h2 {
  margin: 0 0 0.8rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.footer-brand { margin-bottom: 1.6rem; }
.footer-brand .logo { color: #fff; }
.footer-brand .logo:hover { color: #fff; }
.footer-brand .logo-img-dark { display: block; }
.footer-brand .logo-img-light { display: none; }
.footer-brand .logo-text span { color: var(--accent-soft); }
.footer-brand p { color: rgba(245, 243, 239, 0.72); max-width: 22rem; }
.footer-cta { margin-top: 1.1rem; }
.footer-cta .btn {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.footer-cta .btn:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.footer-grid { display: grid; gap: 2rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 0.45rem; color: rgba(245, 243, 239, 0.78); }
.copyright {
  margin: 2.4rem 0 0;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.82rem;
  color: rgba(245, 243, 239, 0.55);
}

/* 後台入口：一個很小的點，顏色接近頁尾底色，幾乎看不到。隱藏連結不是安全措施，保護靠後台的驗證。 */
.site-footer a.admin-dot {
  display: inline-block;
  margin-left: 0.6rem;
  padding: 0.5rem 0.9rem;
  color: #3a3835;
  font-size: 1rem;
  line-height: 1;
}
.site-footer a.admin-dot:hover,
.site-footer a.admin-dot:focus-visible { color: var(--accent-soft); }

.map-frame {
  width: 100%;
  min-height: 16rem;
  border: 0;
  background: var(--bg-warm);
}

.line-sticky { display: none; }

@media (min-width: 48rem) {
  .nav-toggle-label { display: none; }
  /* logo | 導覽（推右）| LINE 按鈕，單列垂直置中。不使用 display:contents，
     以免表單元素（checkbox）讓 Chromium 無法把 inner 攤平成 grid 子項，導覽掉到第二列。 */
  .site-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.95rem max(1.25rem, calc((100% - var(--max)) / 2));
  }
  .header-inner {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    width: auto;
    margin-inline: 0;
    padding: 0;
  }
  .logo-img { height: 2.7rem; }
  .site-nav {
    display: block;
    position: static;
    width: auto;
    margin-left: auto;
    border: 0;
    padding: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .header-cta, .btn.header-cta { flex: 0 0 auto; }
  .site-nav a {
    display: inline;
    min-height: 0;
    text-shadow: none;
  }
  body:not(.is-home) .site-header:has(.nav-toggle:checked) .site-nav a,
  body:not(.is-home) .site-header:has(.nav-toggle:checked) .site-nav a[aria-current="page"] {
    text-shadow: none;
  }
  body:not(.is-home) .site-header:has(.nav-toggle:checked) .site-nav a[aria-current="page"] {
    color: var(--accent);
  }
  body.is-home .site-nav { background: transparent; border: 0; }
  .site-header:has(.nav-toggle:checked) {
    background: var(--bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 1px solid var(--line);
  }
  body.is-home .site-header:has(.nav-toggle:checked) {
    background: transparent;
    border-bottom: 0;
  }
  .site-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.15rem 1.35rem;
    justify-content: flex-end;
  }
  .split, .service-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
  }
  .featured-head {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 2rem;
    margin-bottom: 1.6rem;
  }
  .featured-tiles { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .icon-bar ul { grid-template-columns: repeat(3, 1fr); }
  .trust-bar ul { grid-template-columns: repeat(4, 1fr); }
  .icon-bar li,
  .trust-bar li {
    border-bottom: 0;
    border-right: 1px solid var(--line);
    padding-right: 0.9rem;
  }
  .icon-bar li:last-child,
  .trust-bar li:last-child { border-right: 0; }
  .section, .featured, .know-band { padding: 5rem 0; }
  .section h2 { font-size: 2.6rem; }
  .page-hero { padding: 5.5rem 0 2.4rem; }
  .advantages ul { grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1.3rem; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .article-figures { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 64rem) {
  .section h2 { font-size: 2.9rem; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid .gallery-item:nth-child(1),
  .gallery-grid .gallery-item:nth-child(2) {
    grid-column: span 1;
  }
  .header-cta, .btn.header-cta { display: inline-flex; }
  .header-cta {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
    min-height: 2.5rem;
    padding: 0.45rem 1.05rem;
  }
  .header-cta:hover {
    background: var(--ink);
    color: #fff;
  }
  body.is-home .header-cta {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.85);
  }
  body.is-home .header-cta:hover {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-anim .reveal,
  .js-anim .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.js-anim .reveal {
  opacity: 0;
  transform: translateY(12px);
}
.js-anim .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 400ms ease, transform 400ms ease;
}

@media (max-width: 63.99rem) {
  .hero-scroll {
    bottom: calc(5.9rem + env(safe-area-inset-bottom, 0px));
  }
  .line-sticky {
    display: inline-flex;
    position: fixed;
    z-index: 30;
    left: 1rem;
    right: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    min-height: 2.75rem;
    min-width: 2.75rem;
    padding: 0.75rem 1.25rem;
    box-shadow: 0 0.45rem 1.4rem rgba(0, 0, 0, 0.28);
  }
  .line-sticky:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
  }
  body {
    padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
  }
}
