/* nagoyainternet.group */

:root {
  --bg: #f5f3ef;
  --bg-alt: #ebe7e0;
  --ink: #1d1c1a;
  --sub: #5d5952;
  --line: #d5cfc5;
  --accent: #7a5a30;
  --wrap: 1120px;
  --mincho: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --gothic: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
}

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

/* Non-selectable UI elements */
.site-header, .global-nav, .nav-toggle,
.button, .text-link,
.hero-place, .hero-name, .hero-links, .hero-index,
.scroll-progress,
.biz-item-num, .biz-item-en, .biz-item-rule, .biz-item-wm, .biz-item-tags,
.section-head p,
.statement2-corner, .statement2-bg-deco,
.footer-mark, .site-footer nav, .site-footer a,
#cursor-dot, #cursor-ring, .cursor-trail {
  user-select: none;
  -webkit-user-select: none;
}

/* Text selection — gold aesthetic */
::selection {
  background: rgba(168,136,90,.28);
  color: #1a1510;
  text-shadow: 0 0 24px rgba(200,160,55,.5);
}
.hero ::selection,
.biz-section ::selection,
.statement ::selection,
.statement2 ::selection {
  background: rgba(168,136,90,.35);
  color: #f4f0e8;
  text-shadow: 0 0 28px rgba(220,175,70,.55);
}
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, dl, dd, table { margin: 0; }
h1, h2, h3, p, dd, td { word-break: auto-phrase; text-wrap: pretty; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 8px 14px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }

/* Buttons & links */
.button {
  display: inline-block;
  padding: 14px 32px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  font: inherit;
  font-size: .95rem;
  letter-spacing: .08em;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.button:hover { background: transparent; color: var(--ink); }
.button[disabled] { opacity: .5; pointer-events: none; }
.text-link { color: var(--ink); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--accent); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,243,239,.94);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(245,243,239,.82); backdrop-filter: blur(8px); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: var(--mincho); font-size: 1.05rem; font-weight: 600; letter-spacing: .1em; text-decoration: none; }
.global-nav ul { display: flex; align-items: center; gap: 32px; }
.global-nav a { font-size: .9rem; text-decoration: none; color: var(--sub); transition: color .2s; white-space: nowrap; }
.global-nav a:hover, .global-nav a.is-active { color: var(--ink); }
.global-nav .nav-contact { color: var(--ink); padding: 8px 18px; border: 1px solid var(--ink); }
.global-nav .nav-contact:hover { background: var(--ink); color: #fff; }
.site-header { transition: background .3s, border-color .3s, color .3s; }
.site-header.on-dark { background: #171614; border-bottom-color: rgba(236,231,223,.12); color: #ece7df; backdrop-filter: none; }
.site-header.on-dark .global-nav a { color: #b5aea3; }
.site-header.on-dark .global-nav a:hover { color: #ece7df; }
.site-header.on-dark .global-nav .nav-contact { color: #ece7df; border-color: rgba(236,231,223,.6); }
.site-header.on-dark .global-nav .nav-contact:hover { background: #ece7df; color: #171614; }
.site-header.on-dark .nav-toggle { color: #ece7df; border-color: rgba(236,231,223,.3); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); padding: 6px 14px; font: inherit; font-size: .85rem; color: var(--ink); cursor: pointer; }

/* Hero — dark lobby band */
.hero {
  --h-ink: #171614;
  --h-text: #ece7df;
  --h-sub: #a9a297;
  --h-line: rgba(236,231,223,.16);
  --brass: #a8885a;
  position: relative;
  color: var(--h-text);
  background-color: var(--h-ink);
  /* stone panel joints + soft top-down light */
  background-image:
    repeating-linear-gradient(90deg, rgba(236,231,223,.045) 0 1px, transparent 1px 180px),
    linear-gradient(180deg, #211f1c 0%, #171614 55%, #121110 100%);
  background-position: center top;
  padding: 96px 0;
  min-height: calc(100vh - 68px);
  min-height: calc(100svh - 68px);
  display: flex; align-items: center;
  overflow: hidden; overflow: clip;
}
.hero::after { /* polished floor edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass); opacity: .6;
}
.hero-grid {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(56px, 9vw, 140px); align-items: center;
}
.hero-title {
  writing-mode: vertical-rl;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: clamp(2rem, min(3.6vw, 5.2vh), 3.2rem);
  line-height: 1.8;
  letter-spacing: .2em;
  color: #f4f0e8;
  white-space: nowrap;
}
.hero-title > span { display: block; }
.hero-title .ch { display: inline; }
.hero-title > span + span { margin-top: 2em; } /* stagger second column downward */
.hero-body { padding-top: 8px; max-width: 520px; }
.hero-place { display: flex; align-items: center; gap: 16px; font-size: .82rem; color: var(--h-sub); letter-spacing: .2em; }
.hero-place::before { content: ""; width: 48px; height: 1px; background: var(--brass); }
.hero-name { margin-top: 22px; font-family: var(--mincho); font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: .16em; line-height: 1.6; }
.hero-text { margin-top: 28px; color: var(--h-sub); font-size: .95rem; line-height: 2.1; }
.hero-links { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.button-light { background: var(--h-text); color: var(--h-ink); border-color: var(--h-text); }
.button-light:hover { background: transparent; color: var(--h-text); }
.hero .text-link { color: var(--h-text); }
.hero .text-link:hover { color: #d8be8f; }
.hero-index { margin-top: 64px; border-top: 1px solid var(--brass); }
.hero-index-title { padding: 14px 0; font-size: .78rem; color: var(--h-sub); letter-spacing: .16em; border-bottom: 1px solid var(--h-line); }
.hero-index a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 16px 0; border-bottom: 1px solid var(--h-line);
  text-decoration: none; transition: color .25s;
}
.hero-index a span { font-family: var(--mincho); font-size: 1.1rem; letter-spacing: .06em; }
.hero-index a small { font-size: .76rem; color: var(--h-sub); }
.hero-index a:hover span { color: #d8be8f; }

/* Sections */
.section { padding: 112px 0; }
.section-alt { background: var(--bg-alt); }

/* Content-visibility for deep below-fold sections — defers paint cost until needed */
#about, #owner, #contact, .site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 0 480px;
}
.section-head { max-width: 36em; margin-bottom: 56px; }
.section-head h2 { font-family: var(--mincho); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: .08em; line-height: 1.5; }
.section-head p { margin-top: 18px; color: var(--sub); }
.section-head .note { font-size: .85rem; }

/* Products */
.product {
  display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px;
  padding: 40px 0; border-top: 1px solid var(--line);
}
.product:last-child { border-bottom: 1px solid var(--line); }
.product h3 { font-family: var(--mincho); font-weight: 500; font-size: 1.75rem; letter-spacing: .04em; line-height: 1.4; }
.product-kind { margin-top: 6px; font-size: .85rem; color: var(--sub); }
.product-body > p { max-width: 38em; }
.product-spec { margin-top: 20px; font-size: .88rem; }
.product-spec div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 16px; padding: 6px 0; }
.product-spec dt { color: var(--sub); }
.product-link {
  display: inline-block; margin-top: 22px; font-size: .9rem;
  color: var(--accent); text-underline-offset: 5px; text-decoration-thickness: 1px; word-break: break-all;
}
.product-link::after { content: " ↗"; }
.product-link:hover { color: var(--ink); }
.product-detail { display: inline-block; margin-top: 10px; margin-left: 16px; font-size: .82rem; color: var(--sub); text-decoration: underline; text-underline-offset: 3px; }
.product-detail:hover { color: var(--accent); }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.service { padding-top: 24px; border-top: 1px solid var(--ink); }
.service h3 { font-family: var(--mincho); font-weight: 500; font-size: 1.25rem; letter-spacing: .06em; }
.service p { margin-top: 14px; font-size: .93rem; color: var(--sub); }
.status { margin-left: 8px; padding: 1px 8px; font-family: var(--gothic); font-size: .72rem; color: var(--sub); border: 1px solid var(--line); vertical-align: middle; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 64px; align-items: start; }
.about-grid .section-head { margin-bottom: 0; }
.info-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: .95rem; }
.info-table th, .info-table td { padding: 18px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 9.5em; padding-right: 24px; font-weight: normal; color: var(--sub); white-space: nowrap; }
.info-table a { color: var(--accent); text-underline-offset: 4px; }

/* Business section — cinematic dark */
.biz-section {
  position: relative; overflow: clip;
  background: #07050302;
  background-color: #080604;
  color: #ece7df;
}
.biz-section-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 44vw 44vw at var(--cx, 50%) var(--cy, 50%), rgba(168,120,30,.1) 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(100,70,20,.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(90,60,20,.1) 0%, transparent 50%);
}
.biz-section-head {
  padding: clamp(72px,10vw,120px) 0 clamp(48px,6vw,72px);
  border-bottom: 1px solid rgba(168,136,90,.2);
  position: relative; z-index: 1;
}
.biz-section-title {
  font-family: var(--mincho); font-weight: 500;
  font-size: clamp(1.7rem,3vw,2.2rem); letter-spacing: .1em;
  color: #f4f0e8; padding-bottom: 20px; position: relative;
}
.biz-section-title::after {
  content: ""; position: absolute; bottom: 0; left: 0;
  width: 36px; height: 1px; background: #a8885a;
}
.biz-section-sub { margin-top: 20px; color: rgba(220,210,195,.5); font-size: .93rem; }
.biz-items { position: relative; z-index: 1; }
.biz-item {
  position: relative;
  padding: clamp(56px,8vw,96px) 0;
  border-bottom: 1px solid rgba(168,136,90,.12);
  transition: background .5s;
}
.biz-item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 100% at 15% 50%, rgba(168,120,30,.07) 0%, transparent 65%);
  opacity: 0; transition: opacity .6s;
}
.biz-item:hover::after { opacity: 1; }
.biz-item-wm {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: "Georgia", serif;
  font-size: clamp(5rem, 17vw, 14rem);
  letter-spacing: .22em; line-height: 1;
  color: rgba(255,255,255,.019);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.biz-item-rule {
  display: block; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, #a8885a 25%, #f0d060 50%, #a8885a 75%, transparent);
  transform: scaleX(0); transform-origin: left;
}
#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.biz-item-inner {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(32px,6vw,80px); align-items: start;
  transition: transform .55s var(--ease-out);
}
.biz-item-num {
  font-family: "Georgia", serif;
  font-size: clamp(5rem,13vw,11rem); line-height: 1; letter-spacing: -.02em;
  color: rgba(168,120,30,.14);
  transition: color .5s; user-select: none;
}
.biz-item:hover .biz-item-num { color: rgba(168,120,30,.4); text-shadow: 0 0 60px rgba(200,160,50,.3), 0 0 110px rgba(168,120,30,.14); }
.biz-item-en {
  font-size: .72rem; letter-spacing: .35em; text-transform: uppercase;
  color: #a8885a; margin-bottom: 18px;
}
.biz-item-title {
  font-family: var(--mincho); font-weight: 500;
  font-size: clamp(1.5rem,3.2vw,2.4rem); letter-spacing: .08em; line-height: 1.45;
  color: #f4f0e8; margin-bottom: 24px;
}
.biz-item-desc {
  font-size: .95rem; color: rgba(220,210,195,.6); line-height: 2.1;
  max-width: 44em; margin-bottom: 32px;
}
.biz-item-tags {
  display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0;
}
.biz-item-tags li {
  font-size: .76rem; letter-spacing: .1em;
  padding: 5px 16px; border: 1px solid rgba(168,136,90,.25);
  color: rgba(220,210,195,.5);
  transition: border-color .3s, color .3s;
}
.biz-item:hover .biz-item-tags li { border-color: rgba(168,136,90,.55); color: #c9a850; }
@media (max-width: 760px) {
  .biz-section-head {
    padding: 100px 0 96px;
    border-bottom-color: rgba(168,136,90,.1);
  }
  .biz-section-head::before {
    content: "— BUSINESS —";
    display: block;
    font-size: .6rem; letter-spacing: .45em;
    color: rgba(168,136,90,.45);
    margin-bottom: 24px;
  }
  .biz-section-title {
    font-size: clamp(1.65rem, 6.5vw, 2rem);
  }
  .biz-section-sub {
    font-size: .88rem; line-height: 2; letter-spacing: .02em;
    margin-top: 16px;
  }
  .biz-item { padding: 44px 0 40px; }
  .biz-item-inner { display: block; }
  .biz-item-num {
    position: absolute; top: 16px; right: 0;
    font-size: clamp(5.5rem, 28vw, 9rem);
    color: rgba(168,120,30,.07);
    line-height: 1; margin: 0; z-index: 0;
  }
  .biz-item-content { position: relative; z-index: 1; }
  .biz-item-en {
    font-size: .68rem; letter-spacing: .3em;
    margin-bottom: 12px;
  }
  .biz-item-title {
    font-size: clamp(1.2rem, 5.2vw, 1.55rem);
    letter-spacing: .05em; line-height: 1.5;
    margin-bottom: 14px;
  }
  .biz-item-desc {
    font-size: .88rem; line-height: 2;
    margin-bottom: 22px;
  }
  .biz-item-wm { font-size: clamp(2.8rem, 14vw, 5rem); }
  .biz-item-tags { gap: 7px; }
  .biz-item-tags li { font-size: .7rem; padding: 4px 10px; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 64px; align-items: start; }
.contact-grid .section-head { margin-bottom: 0; }
.form-box { background: #fff; padding: 48px; border: 1px solid var(--line); }
.field { margin-bottom: 24px; }
.field label { display: block; margin-bottom: 8px; font-size: .9rem; }
.req { margin-left: 8px; font-size: .72rem; color: var(--accent); }
.field input, .field textarea {
  display: block; width: 100%;
  padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line); border-radius: 0;
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; line-height: 1.8; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #a33a2a; }
.field-inline input { width: 120px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-bottom: 16px; color: #a33a2a; font-size: .9rem; }
.alert { margin-bottom: 28px; padding: 14px 18px; font-size: .92rem; border-left: 3px solid; }
.alert-ok { border-color: #3f6b46; background: #eef4ef; }
.alert-err { border-color: #a33a2a; background: #f8ecea; }

/* Footer */
.site-footer { padding: 64px 0 32px; background: var(--ink); color: #c9c4bb; font-size: .88rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid #3a3834; }
.footer-name { margin-bottom: 6px; font-family: var(--mincho); font-size: 1.05rem; color: #fff; letter-spacing: .1em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.copyright { padding-top: 24px; color: #8f8a81; }

/* Homepage-production CTA band */
.hpcta { background: var(--bg-alt); padding: 96px 0; }
.hpcta-inner { max-width: 940px; margin: 0 auto; padding: 0 32px; }
.hpcta-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-top: 3px solid #a8885a; border-radius: 6px; padding: 56px; text-align: center; box-shadow: 0 40px 80px -50px rgba(29, 28, 26, .4); }
.hpcta-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(168, 136, 90, .12), transparent 70%); pointer-events: none; }
.hpcta-eyebrow { position: relative; font-size: .72rem; letter-spacing: .28em; color: #a8885a; margin-bottom: 18px; }
.hpcta-title { position: relative; font-family: var(--mincho); font-weight: 500; font-size: clamp(1.7rem, 4vw, 2.5rem); letter-spacing: .06em; line-height: 1.45; color: var(--ink); }
.hpcta-text { position: relative; margin: 22px auto 0; max-width: 600px; color: var(--sub); line-height: 2; font-size: .96rem; }
.hpcta-tags { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.hpcta-tags li { font-size: .78rem; color: var(--sub); padding: 7px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.hpcta-actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 24px; margin-top: 36px; }
.hpcta-btn { position: relative; isolation: isolate; overflow: hidden; display: inline-block; padding: 16px 42px; background: #a8885a; color: #171614; border: 1px solid #a8885a; font-size: 1rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; border-radius: 2px; box-shadow: 0 14px 34px -16px rgba(168, 136, 90, .75); transition: transform .2s, background .2s, box-shadow .3s; }
.hpcta-btn:hover { background: #b89b6e; transform: translateY(-2px); box-shadow: 0 20px 44px -16px rgba(168, 136, 90, .9); }
.hpcta-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 32%, rgba(255, 255, 255, .55) 50%, transparent 68%); transform: translateX(-130%); transition: transform .7s var(--ease-out, ease); }
.hpcta-btn:hover::before { transform: translateX(130%); }
.hpcta-tags li { transition: border-color .25s, color .25s, background .25s; }
.hpcta-tags li:hover { border-color: #a8885a; color: var(--ink); background: #fff; }
.hpcta-link { color: var(--ink); font-size: .9rem; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(29, 28, 26, .3); }
.hpcta-link:hover { color: var(--accent); }
@media (max-width: 760px) {
  .hpcta { padding: 64px 0; }
  .hpcta-inner { padding: 0 20px; }
  .hpcta-card { padding: 40px 24px; }
  .hpcta-actions { flex-direction: column; gap: 14px; }
  .hpcta-btn { width: 100%; }
}

/* Responsive */
@media (max-width: 960px) {
  .global-nav ul { gap: 22px; }
  .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .product { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .service-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .header-inner { height: 60px; }
  .logo { font-size: .95rem; }
  .nav-toggle { display: block; }
  .global-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    visibility: hidden; opacity: 0; pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .22s var(--ease-out), transform .22s var(--ease-out), visibility 0s .22s;
  }
  .global-nav.is-open {
    visibility: visible; opacity: 1; pointer-events: auto;
    transform: none;
    transition: opacity .22s var(--ease-out), transform .22s var(--ease-out), visibility 0s;
  }
  .global-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; }
  .global-nav li {
    opacity: 0; transform: translateX(-14px);
    transition: opacity .22s var(--ease-out), transform .22s var(--ease-out);
  }
  .global-nav.is-open li { opacity: 1; transform: none; }
  .global-nav.is-open li:nth-child(1) { transition-delay: .06s; }
  .global-nav.is-open li:nth-child(2) { transition-delay: .12s; }
  .global-nav.is-open li:nth-child(3) { transition-delay: .18s; }
  .global-nav.is-open li:nth-child(4) { transition-delay: .24s; }
  .global-nav.is-open li:nth-child(5) { transition-delay: .30s; }
  .global-nav.is-open li:nth-child(6) { transition-delay: .36s; }
  .global-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--ink); }
  .global-nav .nav-contact { margin-top: 16px; text-align: center; border: 1px solid var(--ink); }
  .hero { padding: 64px 0 72px; min-height: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-name { font-size: clamp(1.05rem, 5vw, 1.25rem); letter-spacing: .08em; white-space: nowrap; }
  .hero-title { justify-self: center; font-size: clamp(1.9rem, 8.4vw, 2.4rem); letter-spacing: .18em; }
  .site-header.on-dark .global-nav { background: #171614; }
  .site-header.on-dark .global-nav a { border-bottom-color: rgba(236,231,223,.12); color: #ece7df; }
  .site-header.on-dark .global-nav li { opacity: 0; }
  .site-header.on-dark .global-nav.is-open li { opacity: 1; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .form-box { padding: 28px 20px; }
  .info-table th { width: 7.5em; padding-right: 12px; }
  #submitBtn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .site-header, .nav-toggle { display: none; }
  body { background: #fff; }
}

/* =====================================================================
   Lower sections — residence finish
   ===================================================================== */
/* scroll progress (brass hairline under header) */
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: #a8885a; transform-origin: left; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* section headings: short brass rule */
.section-head h2 { position: relative; padding-bottom: 22px; }
.section-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 1px; background: #a8885a; }

/* Products: large residence-plate names */
.product { position: relative; grid-template-columns: 380px minmax(0, 1fr); padding: 56px 0; transition: background .6s; }
.product h3 { font-size: clamp(2rem, 3.4vw, 2.9rem); letter-spacing: .03em; }
.mask { display: block; overflow: hidden; padding-bottom: .08em; }
.mask > span { display: inline-block; }
.product-kind { margin-top: 10px; letter-spacing: .14em; }
.product::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: #a8885a; transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.19,1,.22,1); }
.product:hover::after { transform: scaleX(1); }
.product h3 .mask > span { transition: transform .8s cubic-bezier(.19,1,.22,1); }
.product:hover h3 .mask > span { transform: translateX(10px); }

/* Statement interlude: dark lobby band */
.statement {
  position: relative; overflow: hidden; overflow: clip;
  color: #ece7df;
  background-color: #171614;
  background-image:
    repeating-linear-gradient(90deg, rgba(236,231,223,.045) 0 1px, transparent 1px 180px),
    linear-gradient(180deg, #211f1c 0%, #171614 60%, #121110 100%);
  padding: clamp(120px, 16vw, 200px) 0;
}
.statement::before, .statement::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: #a8885a; opacity: .6; }
.statement::before { top: 0; } .statement::after { bottom: 0; }
.statement-inner { position: relative; z-index: 1; }
.statement-text {
  font-family: var(--mincho); font-weight: 500;
  font-size: clamp(2.6rem, 8.4vw, 7.2rem); line-height: 1.3; letter-spacing: .18em;
  color: #f4f0e8; white-space: nowrap;
}
.statement-sub { margin-top: 40px; max-width: 34em; color: #a9a297; line-height: 2.1; }
.statement-doors { display: none; }

/* Statement 2 — dark gold luxury */
.statement2 {
  position: relative; overflow: clip;
  background: #0e0b07;
  background-image: radial-gradient(ellipse 100% 80% at 50% 50%, #1a1409 0%, #0a0804 100%);
  padding: clamp(100px, 15vw, 200px) 0;
  text-align: center;
  color: #ece7df;
}
.statement2::before, .statement2::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, #a8763a 20%, #f0d070 50%, #a8763a 80%, transparent 100%);
  opacity: .7;
}
.statement2::before { top: 0; } .statement2::after { bottom: 0; }
.statement2-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 65% 55% at 50% 50%, rgba(190,140,40,.13) 0%, transparent 68%);
}
.statement2-bg-deco {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--mincho);
  font-size: clamp(18rem, 50vw, 48rem);
  color: rgba(190,140,30,.07); pointer-events: none; user-select: none; line-height: 1;
}
.statement2-inner { position: relative; z-index: 1; }
.statement2-frame {
  position: relative; display: inline-block;
  padding: clamp(28px,4vw,52px) clamp(28px,7vw,80px);
}
.statement2-corner {
  position: absolute; width: 22px; height: 22px; border-style: solid;
  border-color: rgba(210,165,60,.55);
}
.statement2-corner.tl { top: 0; left: 0; border-width: 1px 0 0 1px; }
.statement2-corner.tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.statement2-corner.bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.statement2-corner.br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.statement2-ornament {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 0 auto 36px; max-width: 260px;
}
.statement2-frame .statement2-ornament:last-of-type { margin: 36px auto 0; }
.statement2-line {
  display: block; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(210,165,60,.75));
}
.statement2-line.s2l-r { background: linear-gradient(90deg, rgba(210,165,60,.75), transparent); }
.statement2-diamond {
  display: block; width: 6px; height: 6px; flex-shrink: 0;
  background: rgba(220,175,65,.85); transform: rotate(45deg);
}
.statement2-text {
  font-family: var(--mincho); font-weight: 500;
  font-size: clamp(2.4rem, 7.5vw, 6rem);
  letter-spacing: .2em; line-height: 1.65;
  background: linear-gradient(110deg, #b88a30 0%, #e8c860 22%, #fff8d0 38%, #e8c860 54%, #b88a30 76%, #dfc050 88%, #fff0a0 100%);
  background-size: 300% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #c9a040;
}
.statement2-sub {
  margin-top: 44px; max-width: 30em; margin-left: auto; margin-right: auto;
  color: rgba(220,210,195,.5); line-height: 2.1; font-size: .95rem;
}

/* Services: vertical titles */
.service { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; padding-top: 32px; }
.service h3 { writing-mode: vertical-rl; font-size: 1.45rem; letter-spacing: .32em; line-height: 1.6; white-space: nowrap; }
.service p { margin-top: 0; font-size: .95rem; line-height: 2.1; }
.status { display: inline-block; margin: 14px 0 0; }
.service p .status { display: block; width: max-content; }

/* About: cornerstone plaque */
.plaque {
  position: relative; padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 52px);
  background: #fbfaf7; border: 1px solid #b9a582;
  box-shadow: 0 30px 60px -40px rgba(29,28,26,.45);
}
.plaque-frame { position: absolute; inset: 9px; border: 1px solid rgba(168,136,90,.45); pointer-events: none; }
.plaque .info-table { border-top: 0; }
.plaque .info-table tr:last-child th, .plaque .info-table tr:last-child td { border-bottom: 0; }

/* Form: underline draws on focus */
.field input, .field textarea {
  background-image: linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0 2px;
  transition: border-color .3s, background-color .3s, background-size .7s cubic-bezier(.19,1,.22,1);
}
.field input:focus, .field textarea:focus { background-size: 100% 2px; }

/* Footer wordmark */
.footer-mark { overflow: hidden; padding-bottom: 48px; }
.footer-mark + .footer-inner .footer-name { display: none; }
.footer-mark span {
  display: inline-block; font-family: var(--mincho); font-weight: 500;
  font-size: clamp(1.3rem, min(4.4vw, 4.6rem), 4.6rem); letter-spacing: .06em; line-height: 1.25; color: #ece7df; white-space: nowrap;
}

@media (max-width: 960px) {
  .product { grid-template-columns: minmax(0, 1fr); padding: 44px 0; }
}
@media (max-width: 760px) {
  .statement-text { font-size: clamp(2rem, 10.5vw, 3rem); letter-spacing: .12em; }
  .service h3 { font-size: 1.25rem; }
  .plaque .info-table th, .plaque .info-table td { display: block; width: auto; padding-right: 0; }
  .plaque .info-table th { padding: 16px 0 2px; border-bottom: 0; font-size: .8rem; }
  .plaque .info-table td { padding: 0 0 16px; }
  .plaque .info-table tr { display: block; border-bottom: 1px solid var(--line); }
  .plaque .info-table tr:last-child { border-bottom: 0; }
}

/* =====================================================================
   Inner page — page hero + policy body
   =================================================================== */
.page-hero {
  background: var(--ink);
  color: #ece7df;
  padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(190,140,40,.07) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-eyebrow {
  font-size: .68rem;
  letter-spacing: .5em;
  color: rgba(168,136,90,.7);
  margin-bottom: 20px;
}
.page-hero h1 {
  font-family: var(--mincho);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.4;
}
.page-hero-date {
  margin-top: 16px;
  font-size: .82rem;
  color: rgba(236,231,223,.35);
  letter-spacing: .05em;
}
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: rgba(168,136,90,.55);
  margin-bottom: 52px;
}
.page-breadcrumb a { color: rgba(168,136,90,.55); text-decoration: none; }
.page-breadcrumb a:hover { color: rgba(168,136,90,.9); }
.page-breadcrumb span { color: rgba(168,136,90,.3); }
.policy-body { max-width: 44em; }
.policy-body h2 {
  font-family: var(--mincho);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 500;
  letter-spacing: .06em;
  margin: 56px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.policy-body h2:first-child { margin-top: 0; }
.policy-body p { line-height: 2; color: var(--sub); margin-top: 14px; }
.policy-body p:first-of-type { margin-top: 0; }
.policy-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.policy-body ul { margin-top: 14px; padding-left: 1.4em; list-style: disc; }
.policy-body ul li { line-height: 1.9; color: var(--sub); margin-top: 6px; }
.policy-body ul li::marker { color: rgba(168,136,90,.45); }

/* =====================================================================
   Service detail pages
   ===================================================================== */
.service-body { max-width: 56em; }
.service-body h2 { font-family: var(--mincho); font-size: clamp(1.05rem,2vw,1.2rem); font-weight: 500; letter-spacing: .06em; margin: 56px 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.service-body h2:first-child { margin-top: 0; }
.service-body h3 { font-family: var(--gothic); font-size: .93rem; font-weight: 700; color: var(--ink); margin: 28px 0 10px; }
.service-body p { line-height: 2; color: var(--sub); margin-top: 14px; }
.service-body p:first-of-type { margin-top: 0; }
.service-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.service-body ul { margin-top: 14px; padding-left: 1.4em; list-style: disc; }
.service-body ul li { line-height: 1.9; color: var(--sub); margin-top: 6px; }
.service-body ul li::marker { color: rgba(168,136,90,.45); }

.service-steps { display: flex; flex-direction: column; gap: 16px; margin: 20px 0; }
.service-step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; background: rgba(168,136,90,.04); border: 1px solid var(--line); border-radius: 10px; padding: 20px 24px; }
.service-step-num { font-family: var(--mincho); font-size: 2rem; font-weight: 500; color: rgba(168,136,90,.25); line-height: 1; }
.service-step-body h3 { font-size: .9rem; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.service-step-body p { font-size: .85rem; color: var(--sub); line-height: 1.85; margin: 0; }

.service-feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 20px 0; }
.service-feat-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.service-feat-card .feat-icon { font-size: 1.5rem; margin-bottom: 10px; display: block; }
.service-feat-card h3 { font-size: .88rem; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.service-feat-card p { font-size: .82rem; color: var(--sub); line-height: 1.8; margin: 0; }

.service-table { width: 100%; border-collapse: collapse; margin: 16px 0 32px; font-size: .85rem; }
.service-table th { background: var(--bg-alt); color: var(--ink); font-weight: 700; padding: 10px 14px; border: 1px solid var(--line); text-align: left; }
.service-table td { padding: 9px 14px; color: var(--sub); border: 1px solid var(--line); }
.service-table tr:hover td { background: rgba(168,136,90,.03); }

.service-faq { display: flex; flex-direction: column; gap: 8px; margin: 20px 0; }
.service-faq-item { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.service-faq-item summary { font-size: .9rem; font-weight: 600; color: var(--ink); padding: 14px 20px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.service-faq-item summary::after { content: '+'; color: var(--accent); font-size: 1.1rem; flex-shrink: 0; }
.service-faq-item[open] summary { background: var(--bg-alt); }
.service-faq-item[open] summary::after { content: '−'; }
.service-faq-item p { font-size: .85rem; color: var(--sub); line-height: 1.9; margin: 0; padding: 0 20px 16px; }

.service-cta { margin-top: 56px; padding: 40px 32px; background: var(--ink); border-radius: 12px; text-align: center; color: #ece7df; }
.service-cta h2 { font-family: var(--mincho); font-size: clamp(1.1rem,2.5vw,1.4rem); font-weight: 500; color: #ece7df; margin: 0 0 14px; border: none; padding: 0; }
.service-cta p { font-size: .85rem; color: rgba(236,231,223,.55); margin: 0 0 24px; line-height: 1.9; }
.service-cta-btn { display: inline-block; padding: 12px 32px; background: rgba(168,136,90,.85); color: #ece7df; border-radius: 6px; font-size: .88rem; font-weight: 600; letter-spacing: .05em; text-decoration: none; transition: background .2s; }
.service-cta-btn:hover { background: rgba(168,136,90,1); color: #ece7df; text-decoration: none; }

/* =====================================================================
   Motion
   Everything below only runs with JS and when the visitor has not asked
   for reduced motion. Without JS the page is fully static and visible.
   ===================================================================== */
:root { --ease-out: cubic-bezier(.19,1,.22,1); --ease-io: cubic-bezier(.65,0,.35,1); }

/* Custom cursor — fine pointer only */
@media (pointer: fine) {
  .js body { cursor: none; }
  .js a, .js button, .js [role="button"], .js label[for], .js select { cursor: none; }

  #cursor-dot {
    position: fixed; top: 0; left: 0; z-index: 9999;
    width: 8px; height: 8px; border-radius: 50%;
    background: #fff; mix-blend-mode: exclusion;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: opacity .3s, width .25s var(--ease-out), height .25s var(--ease-out), border-radius .25s var(--ease-out);
    will-change: transform;
  }
  #cursor-dot.is-text { width: 2px; height: 22px; border-radius: 2px; opacity: .5; }
  #cursor-dot.is-active { width: 20px; height: 20px; opacity: .4; }

  #cursor-ring {
    position: fixed; top: 0; left: 0; z-index: 9998;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1.5px solid #fff; mix-blend-mode: exclusion;
    transform: translate(-50%, -50%);
    pointer-events: none; opacity: .75;
    transition: width .5s var(--ease-out), height .5s var(--ease-out),
                border-radius .5s var(--ease-out), border-width .3s,
                opacity .3s, background .3s;
    will-change: transform;
  }
  #cursor-ring.is-link {
    width: 62px; height: 62px;
    border-width: 1px;
    border-style: dashed;
    opacity: 1;
    animation: cursor-spin 5s linear infinite;
  }
  #cursor-ring.is-text {
    width: 36px; height: 2px;
    border-radius: 2px;
    opacity: .45;
  }
  #cursor-ring.is-active {
    width: 72px; height: 72px;
    opacity: .25;
    transition: width .2s var(--ease-out), height .2s var(--ease-out), opacity .2s;
  }

  .cursor-trail {
    position: fixed; top: 0; left: 0; z-index: 9996;
    border-radius: 50%; background: #fff; mix-blend-mode: exclusion;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: opacity .3s;
    will-change: transform;
  }

  body.cursor-out #cursor-dot,
  body.cursor-out #cursor-ring,
  body.cursor-out .cursor-trail { opacity: 0 !important; }

  @keyframes cursor-spin { to { rotate: 360deg; } }
}

/* Hover: button fill wipe */
.button { position: relative; isolation: isolate; overflow: hidden; transition: color .5s var(--ease-out), border-color .5s; }
.button::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--bg);
  transform: scaleX(0); transform-origin: right center;
  transition: transform .6s var(--ease-out);
}
.button:hover { background: var(--ink); color: var(--ink); }
.button:hover::before, .button:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.button-light::before { background: var(--h-ink, #171614); }
.button-light:hover { background: var(--h-text, #ece7df); color: var(--h-text, #ece7df); }

/* Hover: underline draws */
.text-link, .product-link, .info-table a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px;
}
.text-link:hover, .product-link:hover, .info-table a:hover { animation: underline .8s var(--ease-out); }
@keyframes underline { 0% { background-size: 100% 1px; background-position: 100% 100%; } 45% { background-size: 0 1px; background-position: 100% 100%; } 46% { background-position: 0 100%; } 100% { background-size: 100% 1px; background-position: 0 100%; } }
.hero-index a span, .hero-index a small { transition: color .3s, transform .6s var(--ease-out); }
.hero-index a:hover span { transform: translateX(6px); }

@media (prefers-reduced-motion: no-preference) {

  /* ---- Opening: header ---- */
  .js body { background: linear-gradient(#171614, #171614) 0 0 / 100% 80px no-repeat, var(--bg); }
  .js .site-header { animation: hdIn 1.2s var(--ease-out) .2s both; }
  @keyframes hdIn { from { opacity: 0; transform: translateY(-100%); } }

  /* ---- Opening: lobby lights come up ---- */
  .js .hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background: #0b0a09;
    animation: lightsOn 2.6s var(--ease-io) .1s both;
  }
  @keyframes lightsOn { from { opacity: 1; } to { opacity: 0; } }
  .hero .wrap { position: relative; z-index: 1; }
  /* panel joints slowly settle in */
  .js .hero { animation: joints 3.2s var(--ease-out) .3s both; }
  @keyframes joints { from { background-size: 150px 100%, 100% 100%; } to { background-size: 180px 100%, 100% 100%; } }

  /* ---- Opening: vertical tagline, one character at a time ---- */
  .js .hero-title { visibility: hidden; animation: failsafe 0s 3s forwards; }
  .js .hero-title.is-split { visibility: visible; animation: none; }
  @keyframes failsafe { to { visibility: visible; } }
  .hero-title .ch {
    opacity: 0;
    filter: blur(12px);
    animation: ink 1.5s var(--ease-out) both;
    animation-delay: calc(.6s + var(--i) * 75ms);
  }
  @keyframes ink { 40% { opacity: .55; } to { opacity: 1; filter: blur(0); } }

  /* ---- Opening: body copy & brass lines ---- */
  .js .hero-body > * { opacity: 0; transform: translateY(18px); animation: rise 1.4s var(--ease-out) both; }
  .js .hero-body > :nth-child(1) { animation-delay: 1.5s; }
  .js .hero-body > :nth-child(2) { animation-delay: 1.65s; }
  .js .hero-body > :nth-child(3) { animation-delay: 1.8s; }
  .js .hero-body > :nth-child(4) { animation-delay: 1.95s; }
  .js .hero-body > :nth-child(5) { animation-delay: 2.1s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
  .js .hero-name { animation-name: riseName !important; }
  @keyframes riseName { from { opacity: 0; letter-spacing: .4em; transform: none; } to { opacity: 1; letter-spacing: .16em; transform: none; } }
  @media (max-width: 760px) { @keyframes riseName { from { opacity: 0; letter-spacing: .2em; } to { opacity: 1; letter-spacing: .08em; } } }
  .js .hero-place::before { transform-origin: left; animation: draw 1.4s var(--ease-io) 1.6s both; }
  @keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  .js .hero-index { position: relative; border-top-color: transparent; }
  .js .hero-index::before {
    content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--brass);
    transform-origin: left; animation: draw 1.8s var(--ease-io) 2.2s both;
  }
  .js .hero-index li { opacity: 0; animation: rise 1.2s var(--ease-out) both; }
  .js .hero-index li:nth-child(1) { animation-delay: 2.5s; }
  .js .hero-index li:nth-child(2) { animation-delay: 2.62s; }
  .js .hero-index li:nth-child(3) { animation-delay: 2.74s; }
  .js .hero::after { transform-origin: center; animation: draw 2.4s var(--ease-io) 1.2s both; }

  /* ---- Scroll reveals ---- */
  .js .rv { opacity: 0; transform: translateY(32px); transition: opacity 1.3s var(--ease-out), transform 1.3s var(--ease-out); transition-delay: var(--d, 0s); }
  .js .rv.in { opacity: 1; transform: none; }

  .js .rv-wipe { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease-io); transition-delay: var(--d, 0s); }
  .js .rv-wipe.in { clip-path: inset(0 0 0 0); }

  /* rules draw across, then content follows */
  .js .rv-line { position: relative; border-top-color: transparent !important; }
  .js .rv-line::before {
    content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--line-c, var(--ink));
    transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-io); transition-delay: var(--d, 0s);
  }
  .js .rv-line.in::before { transform: scaleX(1); }
  .js .rv-line > * { opacity: 0; transform: translateY(20px); transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: calc(var(--d, 0s) + .45s); }
  .js .rv-line.in > * { opacity: 1; transform: none; }
  .js .product.rv-line { --line-c: var(--line); }

  .js .info-table tr { opacity: 0; transform: translateX(-14px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
  .js .info-table.in tr { opacity: 1; transform: none; }
  .js .info-table.in tr:nth-child(2) { transition-delay: .08s; }
  .js .info-table.in tr:nth-child(3) { transition-delay: .16s; }
  .js .info-table.in tr:nth-child(4) { transition-delay: .24s; }
  .js .info-table.in tr:nth-child(5) { transition-delay: .32s; }
  .js .info-table.in tr:nth-child(6) { transition-delay: .40s; }
  .js .info-table.in tr:nth-child(7) { transition-delay: .48s; }
  .js .info-table.in tr:nth-child(8) { transition-delay: .56s; }

  /* parallax on the vertical tagline (set by JS) */
  .hero-title { will-change: transform; }
}

@media (prefers-reduced-motion: reduce) {
  .button::before { display: none; }
  .button:hover { background: transparent; color: var(--ink); }
  .button-light:hover { background: transparent; color: var(--h-text, #ece7df); }
}

/* ---- Motion, lower sections ---- */
@media (prefers-reduced-motion: no-preference) {

  /* Elevator doors: two stone panels part from the centre as the band scrolls in (--open set by JS 0→1) */
  .js .statement-doors { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
  .js .statement-doors::before, .js .statement-doors::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 50.5%;
    background-color: #e4dfd6;
    background-image: repeating-linear-gradient(90deg, rgba(29,28,26,.05) 0 1px, transparent 1px 90px);
    will-change: transform;
  }
  .js .statement-doors::before { left: 0;  border-right: 1px solid #a8885a; transform: translate3d(calc(var(--open, 0) * -101%), 0, 0); }
  .js .statement-doors::after  { right: 0; border-left:  1px solid #a8885a; transform: translate3d(calc(var(--open, 0) *  101%), 0, 0); }

  /* Statement characters light up with scroll (--lit set per char by JS) */
  .js .statement-text .ch { opacity: calc(.12 + .88 * var(--lit, 0)); filter: blur(calc((1 - var(--lit, 0)) * 6px)); transition: opacity .25s linear, filter .25s linear; }
  .js .statement-sub { opacity: 0; transform: translateY(24px); transition: opacity 1.4s var(--ease-out), transform 1.4s var(--ease-out); }
  .js .statement.lit-done .statement-sub { opacity: 1; transform: none; }

  /* Business section animations */

  /* Section head: BUSINESS label + title + subtitle */
  .js .biz-section-head::before {
    opacity: 0; transform: translateY(-10px);
    transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  }
  .js .biz-section-head.in::before { opacity: 1; transform: none; }

  .js .biz-section-title {
    opacity: 0; transform: translateY(20px);
    transition: opacity 1.1s var(--ease-out) .2s, transform 1.1s var(--ease-out) .2s;
  }
  .js .biz-section-head.in .biz-section-title { opacity: 1; transform: none; }

  .js .biz-section-title::after {
    transform: scaleX(0); transform-origin: left;
    transition: transform .9s var(--ease-io) .55s;
  }
  .js .biz-section-head.in .biz-section-title::after { transform: scaleX(1); }

  .js .biz-section-sub {
    opacity: 0; transform: translateY(14px);
    transition: opacity 1s var(--ease-out) .45s, transform 1s var(--ease-out) .45s;
  }
  .js .biz-section-head.in .biz-section-sub { opacity: 1; transform: none; }

  /* Chromatic aberration on fast scroll */
  .chroma {
    animation: chroma-flash .3s var(--ease-out) forwards;
  }
  @keyframes chroma-flash {
    0%   { filter: none; }
    28%  { filter: drop-shadow(-2.5px 0 rgba(255,30,80,.55)) drop-shadow(2.5px 0 rgba(0,210,255,.55)) blur(.4px); }
    100% { filter: none; }
  }

  /* Scan light — gold wash sweeps across each item */
  .js .biz-item::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, transparent 0%, rgba(200,165,65,.07) 50%, transparent 100%);
    transform: translateX(-110%);
  }
  .js .biz-item.in::before { animation: biz-scan 2s var(--ease-io) .05s forwards; }
  @keyframes biz-scan { from { transform: translateX(-110%); } to { transform: translateX(110%); } }

  /* Rule line */
  .js .biz-item-rule { animation: none; }
  .js .biz-item.in .biz-item-rule { animation: biz-rule 1.5s var(--ease-io) forwards; }
  @keyframes biz-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }

  /* Glow dot that races along the rule */
  .js .biz-item-rule::after {
    content: ""; position: absolute; top: -3px; left: 0; width: 80px; height: 7px;
    background: radial-gradient(ellipse 100% 100% at 50% 50%, #f0d060 0%, rgba(240,208,96,0) 100%);
    opacity: 0; border-radius: 50%;
  }
  .js .biz-item.in .biz-item-rule::after { animation: biz-rule-dot 1.5s var(--ease-io) forwards; }
  @keyframes biz-rule-dot {
    0%   { left: 0%;   opacity: 0; }
    5%   { opacity: 1; }
    85%  { opacity: .9; }
    100% { left: calc(100% - 80px); opacity: 0; }
  }

  /* Number — blur+scale reveal */
  .js .biz-item-num { opacity: 0; transform: translateX(-50px) scale(.88); filter: blur(6px);
    transition: opacity 1.6s var(--ease-out) .1s, transform 1.6s var(--ease-out) .1s, filter 1.6s var(--ease-out) .1s; }
  .js .biz-item.in .biz-item-num { opacity: 1; transform: none; filter: none; }

  /* EN label — wipe in + letter-spacing tightens */
  .js .biz-item-en { opacity: 0; clip-path: inset(0 100% 0 0); letter-spacing: .7em;
    transition: clip-path 1.1s var(--ease-io) .4s, opacity .01s .4s, letter-spacing 1.3s var(--ease-out) .4s; }
  .js .biz-item.in .biz-item-en { opacity: 1; clip-path: inset(0 0% 0 0); letter-spacing: .35em; }

  /* Title — chars rotate in with 3D stagger */
  .js .biz-item-title { opacity: 1; transform: none; perspective: 500px; }
  .js .biz-item.in .biz-item-title { opacity: 1; transform: none; }
  .js .biz-item-title .ch {
    display: inline-block; backface-visibility: hidden;
    opacity: 0; transform: translateY(28px) rotateX(-55deg);
    transform-origin: 50% 100%;
    transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
    transition-delay: calc(.55s + var(--i) * .045s);
  }
  .js .biz-item.in .biz-item-title .ch { opacity: 1; transform: none; }

  /* Desc */
  .js .biz-item-desc { opacity: 0; transform: translateY(16px); transition: opacity 1.1s var(--ease-out) .8s, transform 1.1s var(--ease-out) .8s; }
  .js .biz-item.in .biz-item-desc { opacity: 1; transform: none; }

  /* Tags — each tag flies in individually */
  .js .biz-item-tags { opacity: 1; transform: none; }
  .js .biz-item-tags li { opacity: 0; transform: translateY(10px) scale(.88);
    transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); }
  .js .biz-item.in .biz-item-tags li { opacity: 1; transform: none; }
  .js .biz-item.in .biz-item-tags li:nth-child(1) { transition-delay: 1.05s; }
  .js .biz-item.in .biz-item-tags li:nth-child(2) { transition-delay: 1.15s; }
  .js .biz-item.in .biz-item-tags li:nth-child(3) { transition-delay: 1.25s; }
  .js .biz-item.in .biz-item-tags li:nth-child(4) { transition-delay: 1.35s; }
  .js .biz-item.in .biz-item-tags li:nth-child(5) { transition-delay: 1.45s; }
  .js .biz-item.in .biz-item-tags li:nth-child(6) { transition-delay: 1.55s; }

  /* Statement 2 animations */
  @keyframes gold-shimmer { 0% { background-position: 0% center; } 100% { background-position: 300% center; } }

  .js .statement2-bg-deco { opacity: 0; transform: scale(1.08); transition: opacity 2s var(--ease-out) .1s, transform 2s var(--ease-out) .1s; }
  .js .statement2.in .statement2-bg-deco { opacity: 1; transform: scale(1); }

  .js .statement2-corner { opacity: 0; transition: opacity .5s .4s; }
  .js .statement2.in .statement2-corner { opacity: 1; }
  .js .statement2-corner.tr { transition-delay: .5s; }
  .js .statement2-corner.bl { transition-delay: .6s; }
  .js .statement2-corner.br { transition-delay: .7s; }

  .js .statement2-line { transform: scaleX(0); transition: transform 1.4s var(--ease-io) .3s; }
  .js .statement2-line.s2l-r { transform-origin: right; transition-delay: .35s; }
  .js .statement2.in .statement2-line { transform: scaleX(1); }
  .js .statement2-diamond { opacity: 0; transition: opacity .5s 1s; }
  .js .statement2.in .statement2-diamond { opacity: 1; }

  .js .statement2-text {
    opacity: 0; transform: translateY(32px);
    transition: opacity 1.4s var(--ease-out) .8s, transform 1.4s var(--ease-out) .8s;
    animation: gold-shimmer 9s linear infinite;
  }
  .js .statement2.in .statement2-text { opacity: 1; transform: none; }

  .js .statement2-sub { opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease-out) 1.3s, transform 1.2s var(--ease-out) 1.3s; }
  .js .statement2.in .statement2-sub { opacity: 1; transform: none; }

  /* Product names rise out of their mask after the rule is drawn */
  .js .product .mask > span { transform: translateY(110%); transition: transform 1.3s var(--ease-out) .35s; }
  .js .product.in .mask > span { transform: none; }
  .js .product.in:hover h3 .mask > span { transform: translateX(10px); transition-delay: 0s; transition-duration: .8s; }
  .js .product-spec div { opacity: 0; transform: translateX(-12px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
  .js .product.in .product-spec div { opacity: 1; transform: none; }
  .js .product.in .product-spec div:nth-child(1) { transition-delay: .7s; }
  .js .product.in .product-spec div:nth-child(2) { transition-delay: .8s; }
  .js .product.in .product-spec div:nth-child(3) { transition-delay: .9s; }

  /* Section heading brass rule draws after the wipe */
  .js .section-head h2::after { transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-io) .9s; }
  .js .section-head h2.in::after { transform: scaleX(1); }

  /* Service vertical titles ink in, one character at a time */
  .js .service h3 .ch { opacity: 0; filter: blur(8px); transition: opacity 1.2s var(--ease-out), filter 1.2s var(--ease-out); transition-delay: calc(var(--d, 0s) + .5s + var(--i) * 90ms); }
  .js .service.in h3 .ch { opacity: 1; filter: blur(0); }
  .js .service.rv-line > h3 { opacity: 1; transform: none; } /* chars handle their own entrance */

  /* Plaque: frame draws around, then rows appear */
  .js .plaque { opacity: 0; transform: translateY(30px); transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); }
  .js .plaque.in { opacity: 1; transform: none; }
  .js .plaque-frame {
    border-color: transparent;
    background:
      linear-gradient(#a8885a, #a8885a) left top / 0 1px no-repeat,
      linear-gradient(#a8885a, #a8885a) right top / 1px 0 no-repeat,
      linear-gradient(#a8885a, #a8885a) right bottom / 0 1px no-repeat,
      linear-gradient(#a8885a, #a8885a) left bottom / 1px 0 no-repeat;
  }
  .js .plaque.in .plaque-frame { animation: frame 2.2s var(--ease-io) .3s forwards; }
  @keyframes frame {
    25%  { background-size: 100% 1px, 1px 0, 0 1px, 1px 0; }
    50%  { background-size: 100% 1px, 1px 100%, 0 1px, 1px 0; }
    75%  { background-size: 100% 1px, 1px 100%, 100% 1px, 1px 0; }
    100% { background-size: 100% 1px, 1px 100%, 100% 1px, 1px 100%; }
  }
  .js .plaque .info-table tr { transition-delay: 0s; }
  .js .plaque.in .info-table tr { opacity: 1; transform: none; }
  .js .plaque.in .info-table tr:nth-child(1) { transition-delay: .9s; }
  .js .plaque.in .info-table tr:nth-child(2) { transition-delay: 1.0s; }
  .js .plaque.in .info-table tr:nth-child(3) { transition-delay: 1.1s; }
  .js .plaque.in .info-table tr:nth-child(4) { transition-delay: 1.2s; }
  .js .plaque.in .info-table tr:nth-child(5) { transition-delay: 1.3s; }
  .js .plaque.in .info-table tr:nth-child(6) { transition-delay: 1.4s; }
  .js .plaque.in .info-table tr:nth-child(7) { transition-delay: 1.5s; }
  .js .plaque.in .info-table tr:nth-child(8) { transition-delay: 1.6s; }

  /* Footer wordmark slides up out of the floor */
  .js .footer-mark span { transform: translateY(105%); transition: transform 1.8s var(--ease-out); }
  .js .footer-mark.in span { transform: none; }

  /* Form fields settle in */
  .js .form-box.in .field { animation: fieldIn 1s var(--ease-out) both; }
  @keyframes fieldIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  .js .form-box.in .field:nth-of-type(1) { animation-delay: .2s; }
  .js .form-box.in .field:nth-of-type(2) { animation-delay: .3s; }
  .js .form-box.in .field:nth-of-type(3) { animation-delay: .4s; }
  .js .form-box.in .field:nth-of-type(4) { animation-delay: .5s; }
  .js .form-box.in .field:nth-of-type(5) { animation-delay: .6s; }
}
