/* 2026-11-10 editorial look: serif (Mincho) type, thin four-column lines on light
   sections, a full-bleed photo slideshow on the home page, photo tiles for services
   and quiet dark bands. Loaded after every other stylesheet. */

:root {
  --paper: #f2f3f4;
  --paper-light: #ffffff;
  --line: #e1e4e6;
  --grid-line: rgba(23, 56, 46, 0.08);
  --ink: #1d2826;
  --ink-soft: #44504c;
  --muted: #5c6864;
  --accent: #a2875a;
  --band-dark: #1f2826;
  --font-display: 'Cormorant Garamond', 'Newsreader', 'Noto Serif JP', serif;
  --font-sans: 'Newsreader', 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-serif: 'Newsreader', 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
}

html[lang='zh-CN'] {
  --font-display: 'Cormorant Garamond', 'Newsreader', 'Noto Serif SC', serif;
  --font-sans: 'Newsreader', 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  --font-serif: 'Newsreader', 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
}

html[lang='zh-TW'] {
  --font-display: 'Cormorant Garamond', 'Newsreader', 'Noto Serif TC', serif;
  --font-sans: 'Newsreader', 'Noto Serif TC', 'Songti TC', 'PMingLiU', serif;
  --font-serif: 'Newsreader', 'Noto Serif TC', 'Songti TC', 'PMingLiU', serif;
}

/* ---- Type: serif throughout, a little air between characters ---- */
body,
button,
input,
select,
textarea {
  font-family: var(--font-sans);
}

html[lang='ja'] body,
html[lang^='zh'] body {
  letter-spacing: 0.05em;
}

html[lang='ja'] main p,
html[lang^='zh'] main p {
  line-height: 2;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
}

html[lang='ja'] :is(h1, h2, h3),
html[lang^='zh'] :is(h1, h2, h3) {
  font-weight: 500;
  letter-spacing: 0.06em;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

/* The large English word above a section, as on many Japanese hospitality sites. */
.section-word {
  margin: 0 0 0.3em;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.4vw, 5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.03em;
}

:is(.property-section, .company-section, .decision-bar, .contact-band) .section-word {
  color: #fff;
}

/* ---- Buttons and links: square, thin, spaced ---- */
.button {
  min-height: 54px;
  border-radius: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.12em;
}

.button > span:last-child {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.text-link {
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* ---- Four thin vertical lines on light sections ---- */
:is(.message-section, .intro-section, .services-section, .process-section, .contact-section, .inner-lines) {
  background-color: var(--paper-light);
  background-image: linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 25% 100%;
}

.faq-section,
.portal-section {
  background-color: var(--paper);
}

/* ---- Header: transparent over the home slideshow, white once scrolled ---- */
.header,
.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
}

.header .brand-copy strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.header .nav-link {
  font-family: var(--font-sans);
  letter-spacing: 0.08em;
}

.header-cta {
  border-radius: 0;
  letter-spacing: 0.1em;
}

body:has(.hero-stage) .header:not(.scrolled) {
  background: linear-gradient(180deg, rgba(8, 14, 12, 0.45), transparent);
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body:has(.hero-stage):not(.menu-open) .header:not(.scrolled) :is(.brand-copy strong, .brand-copy span, .nav-link, .lang-btn) {
  color: #fff;
}

body:has(.hero-stage):not(.menu-open) .header:not(.scrolled) .lang-switcher {
  border-color: rgba(255, 255, 255, 0.45);
}

body:has(.hero-stage):not(.menu-open) .header:not(.scrolled) .lang-btn.active {
  color: var(--ink);
  background: #fff;
}

body:has(.hero-stage):not(.menu-open) .header:not(.scrolled) .header-cta {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.75);
}

body:has(.hero-stage):not(.menu-open) .header:not(.scrolled) .menu-toggle {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

/* ---- Home hero: full-bleed slideshow with a centred headline ---- */
.home-hero.hero-stage {
  position: relative;
  display: block;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: #0e1714;
}

.stage-slides,
.stage-slide,
.stage-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.stage-slide {
  opacity: 0;
}

.stage-slide img {
  object-fit: cover;
  object-position: center;
}

.stage-slide.is-current {
  z-index: 1;
  opacity: 1;
}

.stage-slide.is-entering {
  z-index: 2;
  opacity: 1;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(8, 14, 12, 0.5) 0%, rgba(8, 14, 12, 0.22) 38%, rgba(8, 14, 12, 0.3) 62%, rgba(8, 14, 12, 0.7) 100%);
}

.hero-lines {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.hero-lines span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-lines span:nth-child(1) { left: 25%; }
.hero-lines span:nth-child(2) { left: 50%; }
.hero-lines span:nth-child(3) { left: 75%; }

.hero-center {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 40px) 24px 150px;
  text-align: center;
}

.hero-center .eyebrow {
  margin: 0 0 1.6rem;
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: 0.32em;
}

.hero-stage .hero-title,
html[lang] .hero-stage .hero-title {
  max-width: none;
  margin: 0;
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.4vw, 4.8rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

html[lang='ja'] .hero-stage .hero-title,
html[lang^='zh'] .hero-stage .hero-title {
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  line-height: 1.7;
  letter-spacing: 0.1em;
}

.hero-stage .hero-title > span {
  display: inline;
}

.hero-stage .hero-title .hero-word {
}

.hero-stage .hero-title .hero-word-current {
  display: inline-block;
}

.hero-word {
  display: inline-flex;
  min-width: var(--word-w, 3.4em);
  margin: 0 0.3em;
  padding: 0.04em 0.55em 0.1em;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  line-height: 1.3;
  box-sizing: content-box;
  vertical-align: 0.04em;
}

.hero-word-current {
  display: inline-block;
  transition: opacity 0.55s ease, transform 0.55s ease, filter 0.55s ease;
}

.hero-word-current.is-out {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(0.25em);
}

.hero-tagline {
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.06em;
}

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

.hero-stage .hero-actions .button-gold,
.home-hero.hero-stage .hero-actions .button-gold {
  min-width: 260px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-stage .hero-actions .button-gold:hover {
  color: var(--ink);
  background: #fff;
}

.hero-bar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 25%;
  z-index: 6;
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 1.6rem;
  padding-left: 30px;
  color: #fff;
  background: rgba(24, 28, 27, 0.86);
  text-decoration: none;
  letter-spacing: 0.08em;
}

.hero-bar-label {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.hero-bar-text {
  font-size: 0.95rem;
}

.hero-bar-plus {
  display: grid;
  width: 66px;
  height: 66px;
  margin-left: auto;
  place-items: center;
  background: var(--accent);
  font-family: var(--font-display);
  font-size: 1.7rem;
  transition: background 200ms ease;
}

.hero-bar:hover .hero-bar-plus {
  background: #b89a62;
}

/* ---- Message: the opening paragraph, centred under the slideshow ---- */
.message-section {
  padding: 120px 0 112px;
  text-align: center;
}

.message-inner {
  max-width: 900px;
}

.message-section .message-lead {
  max-width: 38em;
  margin: 1.8rem auto 0;
  color: var(--ink);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 2.2;
}

.message-section .message-facts {
  display: flex;
  max-width: none;
  margin: 3rem auto 0;
  padding: 0;
  justify-content: center;
  gap: 1rem 3.5rem;
  flex-wrap: wrap;
  border: 0;
}

.message-facts div {
  display: grid;
  gap: 0.35rem;
}

.message-facts dt {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.message-facts dd {
  color: var(--ink);
  font-size: 0.95rem;
}

/* ---- Bands ---- */
.decision-bar {
  background: var(--band-dark);
}

.decision-grid > p {
  font-family: var(--font-serif);
  letter-spacing: 0.06em;
}

/* ---- Services: four full-height photo tiles across the page ---- */
.services-section {
  padding-bottom: 0;
}

.services-section .section-heading-row {
  display: block;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.services-section .section-heading-row .section-lead {
  max-width: 40em;
  margin: 1.6rem auto 0;
}

.services-section .service-list {
  display: grid;
  width: 100%;
  margin: 72px 0 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 0;
  background: #101614;
}

.services-section .service-row,
.services-section .service-row-featured {
  position: relative;
  display: flex;
  min-height: clamp(480px, 44vw, 640px);
  padding: 36px 30px 40px;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  gap: 0;
  text-align: left;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  grid-template-columns: none;
}

.services-section .service-row:hover {
  background: transparent;
  transform: none;
}

.services-section .service-row::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: '';
  background: linear-gradient(180deg, rgba(10, 16, 14, 0.1) 0%, rgba(10, 16, 14, 0.5) 42%, rgba(10, 16, 14, 0.88) 100%);
}

.service-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.65, 0.2, 1);
}

.services-section .service-row:hover .service-photo {
  transform: scale(1.06);
}

.services-section .service-symbol {
  margin-bottom: 1rem;
  color: var(--gold);
}

.services-section .service-symbol .visual-icon {
  display: none;
}

.services-section .service-symbol small {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.services-section .service-tag {
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.18em;
}

.services-section .service-title-wrap h3 {
  color: #fff;
  font-size: clamp(1.35rem, 1.9vw, 1.7rem);
  line-height: 1.45;
}

.services-section .service-row > p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  line-height: 1.95;
}

/* ---- Property types: a dark band with photo cards ---- */
.property-section {
  background: var(--band-dark);
}

.property-section .property-heading {
  display: block;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.property-section .property-heading > p {
  max-width: 40em;
  margin: 1.6rem auto 0;
}

.property-section .property-image-frame {
  border-radius: 0;
}

.property-section .property-grid {
  gap: 28px;
}

.property-section .property-card {
  min-height: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
}

.property-section .property-card .card-photo {
  margin: 0 0 18px;
  aspect-ratio: 4 / 3;
}

.property-section .property-card-top {
  margin-bottom: 0.6rem;
}

.property-section .property-card-top .visual-icon {
  display: none;
}

.property-section .property-card-top span {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.property-section .property-card h3 {
  font-size: 1.2rem;
}

.property-section .property-card p {
  font-size: 0.88rem;
}

/* ---- Rounded corners give way to square photographs ---- */
:is(.journey-grid, .journey-badge, .operations-card, .portal-card, .portal-photo, .representative-card, .company-office, .company-details, .contact-layout, .section-photo, .section-photo img, .inner-hero-note) {
  border-radius: 0;
}

/* ---- Company: dark band with the name set large in the background ---- */
.company-section {
  position: relative;
  overflow: hidden;
  background: var(--band-dark);
}

.company-section::before {
  position: absolute;
  top: 70px;
  left: 50%;
  content: 'ZIYOU';
  color: rgba(255, 255, 255, 0.045);
  font-family: var(--font-display);
  font-size: clamp(7rem, 24vw, 21rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(-50%);
}

.company-section > .site-container {
  position: relative;
}

/* ---- Contact: photograph band above the form ---- */
.contact-section {
  padding-top: 0;
}

.contact-band {
  position: relative;
  margin-bottom: 90px;
  padding: 130px 0 120px;
  color: #fff;
  background: #1b2420 url('../images/photos/band-garden-walkway-2000.webp') center / cover no-repeat;
}

.contact-band::before {
  position: absolute;
  inset: 0;
  content: '';
  background: rgba(10, 16, 14, 0.58);
}

.contact-band > .site-container {
  position: relative;
  text-align: center;
}

.contact-band :is(.eyebrow, h2, p) {
  color: #fff;
}

.contact-band .contact-heading > p:not(.eyebrow):not(.section-word) {
  max-width: 38em;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.88);
}

/* ---- Footer ---- */
.footer {
  background: var(--band-dark);
}

.footer .brand-copy strong {
  font-family: var(--font-display);
  letter-spacing: 0.16em;
}

/* ---- Inner pages share the lines and square shapes ---- */
.inner-hero-title {
  font-family: var(--font-serif);
}

/* ---- Tablet ---- */
@media (max-width: 1120px) {
  .services-section .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-section .service-row {
    min-height: 460px;
  }

  .hero-bar {
    left: 0;
  }
}

/* ---- Phone ---- */
@media (max-width: 768px) {
  :is(.message-section, .intro-section, .services-section, .process-section, .contact-section, .inner-lines) {
    background-size: 50% 100%;
  }

  .hero-lines span:nth-child(1),
  .hero-lines span:nth-child(3) {
    display: none;
  }

  .hero-center {
    padding: calc(var(--header-height) + 24px) 20px 130px;
  }

  html[lang] .hero-stage .hero-title {
    font-size: clamp(1.9rem, 8.4vw, 2.6rem);
  }

  html[lang='ja'] .hero-stage .hero-title,
  html[lang^='zh'] .hero-stage .hero-title {
    font-size: clamp(1.7rem, 7.4vw, 2.3rem);
    letter-spacing: 0.06em;
  }

  .hero-stage .hero-actions .button-gold {
    min-width: 0;
    width: 100%;
    max-width: 320px;
  }

  .hero-bar {
    min-height: 58px;
    gap: 1rem;
    padding-left: 20px;
  }

  .hero-bar-plus {
    width: 58px;
    height: 58px;
  }

  .hero-bar-label {
    display: none;
  }

  .message-section {
    padding: 84px 0 76px;
  }

  .services-section .service-list {
    margin-top: 48px;
    grid-template-columns: 1fr;
  }

  .services-section .service-row {
    min-height: 420px;
    padding: 28px 22px 32px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .contact-band {
    margin-bottom: 56px;
    padding: 96px 0 88px;
    background-image: url('../images/photos/band-garden-walkway-1000.webp');
  }
}

/* ---- Motion (only when the visitor has not asked for less) ---- */
@property --blind {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

@media (prefers-reduced-motion: no-preference) {
  .stage-slide.is-current img {
    animation: hero-drift 9s ease-out both;
  }

  .stage-slide.is-entering img {
    transform: scale(1.08);
  }

  .stage-slide.is-entering {
    -webkit-mask-image: linear-gradient(90deg, #000 var(--blind), transparent var(--blind));
    mask-image: linear-gradient(90deg, #000 var(--blind), transparent var(--blind));
    -webkit-mask-size: calc(100% / 12) 100%;
    mask-size: calc(100% / 12) 100%;
    -webkit-mask-repeat: repeat-x;
    mask-repeat: repeat-x;
    animation: hero-blinds 1.5s cubic-bezier(0.65, 0, 0.25, 1) forwards;
  }

  .hero-lines span {
    transform-origin: top;
    animation: hero-line 1.6s cubic-bezier(0.65, 0, 0.25, 1) both;
  }

  .hero-lines span:nth-child(2) { animation-delay: 0.15s; }
  .hero-lines span:nth-child(3) { animation-delay: 0.3s; }

  .hero-center > * {
    animation: hero-rise 1.1s cubic-bezier(0.2, 0.65, 0.2, 1) both;
  }

  .hero-center > :nth-child(2) { animation-delay: 0.15s; }
  .hero-center > :nth-child(4) { animation-delay: 0.3s; }
  .hero-center > :nth-child(5) { animation-delay: 0.45s; }
}

@keyframes hero-drift {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@keyframes hero-blinds {
  to { --blind: 100%; }
}

@keyframes hero-line {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* English headline: "Own your [hotel]" on one line, "in Japan." on the next */
html[lang='en'] .hero-stage .hero-title-tail {
  display: block;
}

.services-section .service-symbol {
  align-items: flex-start;
}

/* Property cards: four across on wide screens, like a row of results */
@media (min-width: 1121px) {
  .property-section .property-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 641px) and (max-width: 1120px) {
  .property-section .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

html[lang='ja'] .message-lead {
  word-break: auto-phrase;
}

.contact-band .contact-heading {
  display: block;
  max-width: 860px;
  text-align: center;
}

.contact-band .contact-heading h2 {
  margin-top: 0.4rem;
}

.contact-band .contact-heading > p:last-child {
  margin-top: 1.4rem;
}

.portal-card {
  background: #fff;
}

.journey-copy {
  background: var(--paper);
}

:is(.form-input, .form-select, .form-textarea, .contact-channels a) {
  border-radius: 0;
}

.hero-stage .hero-title-tail {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .hero-center .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
  }

  html[lang='ja'] .hero-stage .hero-title,
  html[lang^='zh'] .hero-stage .hero-title {
    font-size: clamp(1.45rem, 6.3vw, 2.2rem);
    letter-spacing: 0.04em;
  }

  .hero-word {
    margin: 0 0.2em;
    padding-inline: 0.4em;
  }

  .hero-tagline {
    font-size: 1.05rem;
  }
}

html[lang=en] .hero-word {
  padding-block: 0 0.12em;
  line-height: 1.15;
}

.hero-stage .hero-title-tail:empty {
  display: none;
}

/* ================= Inner pages ================= */

/* About: white opening with the large word, then the photograph full width */
.inner-hero.inner-hero-about {
  display: block;
  min-height: 0;
  padding-top: var(--header-height);
  color: var(--ink);
  background-color: var(--paper-light);
  background-image: linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 25% 100%;
}

.inner-hero-about .inner-hero-copy {
  display: block;
  min-height: 0;
  background: none;
  text-align: center;
}

html[lang] .inner-hero-about .inner-hero-copy-inner {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0 84px;
}

.inner-hero-about .eyebrow {
  justify-content: center;
  color: var(--gold-deep);
}

html[lang] .inner-hero-about .inner-hero-title {
  max-width: none;
  color: var(--ink);
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
}

html[lang='ja'] .inner-hero-about .inner-hero-title,
html[lang^='zh'] .inner-hero-about .inner-hero-title {
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.inner-hero-about .inner-hero-lead {
  max-width: 38em;
  margin-inline: auto;
  color: var(--ink-soft);
}

.inner-hero-about .hero-actions {
  justify-content: center;
}

.inner-hero-about .hero-actions .button-gold {
  color: #fff;
  background: var(--forest);
}

.inner-hero-about .hero-actions .button-ghost {
  color: var(--ink);
  border-color: var(--ink);
}

.inner-hero-about .inner-hero-visual {
  min-height: clamp(380px, 46vw, 640px);
}

/* Screening page: the photograph hero keeps its layout; the word sits in white */
.screening-hero .section-word {
  color: #fff;
}

.screening-hero-title {
  font-family: var(--font-serif);
}

/* Bands under the inner heroes */
.proof-strip {
  color: #fff;
  background: var(--band-dark);
}

.proof-grid span {
  color: var(--gold);
}

.proof-grid strong {
  color: #fff;
}

.proof-grid > div {
  border-color: rgba(255, 255, 255, 0.14);
}

/* Light sections on inner pages carry the same lines */
:is(.inner-statement, .inner-company, .inner-cta-section, .screening-intro, .screening-process) {
  background-color: var(--paper-light);
  background-image: linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 25% 100%;
}

:is(.inner-services, .screening-scope, .screening-boundaries) {
  background-color: var(--paper);
}

@media (max-width: 768px) {
  :is(.inner-hero-about, .inner-statement, .inner-company, .inner-cta-section, .screening-intro, .screening-process) {
    background-size: 50% 100%;
  }

  html[lang] .inner-hero-about .inner-hero-copy-inner {
    padding: 72px 0 56px;
  }
}

/* Chinese headline: the full stop follows the box directly */
html[lang^='zh'] .hero-word {
  margin-right: 0.08em;
}

/* Japanese and Chinese headlines: the spaces between the headline parts (needed for
   English) take no width, so the box sits right against the text. */
html[lang='ja'] .hero-stage .hero-title,
html[lang^='zh'] .hero-stage .hero-title {
  font-size: 0;
}

html[lang='ja'] .hero-stage .hero-title > span,
html[lang^='zh'] .hero-stage .hero-title > span {
  font-size: clamp(2.1rem, 4.6vw, 4rem);
}

@media (max-width: 768px) {
  html[lang='ja'] .hero-stage .hero-title > span,
  html[lang^='zh'] .hero-stage .hero-title > span {
    font-size: clamp(1.45rem, 6.3vw, 2.2rem);
  }
}

/* ==== 2026-11-10 second pass ==== */

/* Headline: it sharpens into place instead of fading in, so browsers count it as shown
   from the first frame (a faded-in headline made the page look 2-3 s slower to Google). */
@media (prefers-reduced-motion: no-preference) {
  .hero-center > .hero-title {
    animation-name: hero-title-in;
  }
}

@keyframes hero-title-in {
  from { filter: blur(8px); transform: translateY(14px); }
  to { filter: none; transform: none; }
}

/* Pause button for the slideshow and the rotating word */
.hero-pause {
  position: absolute;
  right: 20px;
  bottom: 86px;
  z-index: 6;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: #fff;
  background: rgba(24, 28, 27, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.hero-pause[hidden] {
  display: none;
}

.hero-pause:hover,
.hero-pause:focus-visible {
  background: rgba(24, 28, 27, 0.72);
  border-color: #fff;
}

.hero-pause:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.hero-pause span {
  display: block;
  width: 10px;
  height: 12px;
  box-sizing: border-box;
  border-right: 3px solid currentColor;
  border-left: 3px solid currentColor;
}

.hero-pause[aria-pressed='true'] span {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-width: 7px 0 7px 11px;
  border-style: solid;
  border-color: transparent transparent transparent currentColor;
}

.hero-stage.is-paused .stage-slide img {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .hero-pause {
    right: 14px;
    bottom: 72px;
  }
}

/* The back-to-top button no longer sits on the privacy link at the end of the footer */
.footer-bottom {
  padding-right: 64px;
}

@media (max-width: 768px) {
  .footer-bottom {
    padding-right: 0;
    padding-bottom: 56px;
  }
}

/* Portal card: the old rings and "P / 01" ran through the heading on phones */
.portal-section .portal-card::before,
.portal-section .portal-card::after,
.portal-section .portal-index {
  display: none;
}

/* ---- 404 page in the same look ---- */
.error-body {
  position: relative;
  background: #1f2826 !important;
}

.error-body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: '';
  background:
    linear-gradient(180deg, rgba(14, 20, 18, 0.72), rgba(14, 20, 18, 0.62) 45%, rgba(14, 20, 18, 0.82)),
    url('../images/photos/band-garden-walkway-2000.webp') center / cover no-repeat;
}

.error-body .error-page {
  position: relative;
  z-index: 1;
}

.error-body .brand-copy strong,
.error-body .brand-copy span {
  color: #fff;
}

.error-body .brand-copy strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.16em;
}

.error-body .brand-copy span {
  font-family: var(--font-serif);
}

/* Roof photo in the property band: show the lower edge so the caption sits on dark wood */
.property-section .property-image-frame img {
  object-position: center 85%;
}

.error-content {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.error-content > p.section-word {
  margin: 0 0 1rem;
  color: #fff;
  font-variant-numeric: lining-nums;
  font-size: clamp(4.2rem, 11vw, 7.5rem);
  line-height: 1;
}

.error-content h1 {
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.error-content > p:not(.section-word) {
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.9;
}

.error-content > p + p:not(.section-word) {
  margin-top: 0.2rem;
}

.error-actions {
  justify-content: center;
  margin-top: 2.4rem;
}

.error-actions .button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

/* Direct message links at the end of every guide (2026-11-20). The call-to-action card is dark. */
.guide-cta .guide-channels {
  display: grid;
  gap: 0.7rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.guide-cta .guide-channels-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}

.guide-cta .contact-channels {
  margin-top: 0;
  padding-top: 0;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

/* Footer license and copyright lines: contrast 6.4:1 on the dark footer (was 3.7:1). */
.footer-bottom {
  color: rgba(255, 255, 255, 0.6);
}
