/* ==========================================
   MOZU HOLDINGS — Official Style Sheet
   Bespoke Executive Design System (Japan x Global)
   ========================================== */

/* 1. CSS Reset & Base Tokens
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --background: #ffffff;
  --foreground: #111111;
  --ink: #0a0a0a;
  --muted: #666666;
  --subtle: #b6b6b6;
  --line: #e6e5e2;
  --surface: #f6f5f3;
  --surface-2: #e8e7e4;
  
  /* Brand Accent: Bronze Gold & Royal Purple */
  --accent: #c47c45;
  --accent-from: #d48b52;
  --accent-to: #9c5520;
  --brand-purple: #5c277e;
  
  --hero-from: #141414;
  --hero-to: #050505;

  --radius-pill: 9999px;
  --radius-card: 1.75rem;
  --radius-card-sm: 1.125rem;
  --radius-control: 0.75rem;
  --container-shell: 88rem;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: auto; /* Managed by Lenis */
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Onest', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  line-break: strict;
}

/* Japanese headings: break on phrases, not mid-word (Chromium; others fall back to normal) */
h1, h2, h3, h4, .hero-h1, .about-statement, .footer-cta-h2, .carousel-title,
.service-title, .faq-question span, .svc-hero-h1, .svc-section-title {
  word-break: auto-phrase;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.faq-question span, .carousel-body { min-width: 0; }

::selection {
  background: rgba(196, 124, 69, 0.28);
  color: inherit;
}

html {
  scrollbar-color: #b9b4ad transparent;
  accent-color: var(--accent);
}

section[id] {
  scroll-margin-top: 6rem;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

ul, ol {
  list-style: none;
}

img, svg {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Rem-based Adaptive Grid — clamped so tablet / small-laptop widths never shrink body text below ~14px */
@media (max-width: 1920px) { html { font-size: clamp(15px, 0.833333vw, 16px); } }
@media (max-width: 1440px) { html { font-size: clamp(14.5px, 1.111111vw, 16px); } }
@media (max-width: 1024px) { html { font-size: 15.5px; } }
@media (max-width: 640px)  { html { font-size: clamp(15px, 4.1vw, 16.5px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Common Shell */
.shell {
  max-width: var(--container-shell);
  margin-inline: auto;
  padding-inline: 1.25rem;
  width: 100%;
}
@media (min-width: 640px) {
  .shell { padding-inline: 2.25rem; }
}

/* ==========================================
   2. UI Components & Micro-styles
   ========================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.eyebrow.tone-dark {
  color: rgba(17, 17, 17, 0.75);
}
.eyebrow.tone-dark .dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: var(--radius-pill);
  background: var(--accent);
}
.eyebrow.tone-light {
  color: rgba(255, 255, 255, 0.8);
}
.eyebrow.tone-light .dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: var(--radius-pill);
  background: var(--accent-from);
}
.eyebrow.badge-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  padding: 0.375rem 1rem;
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(12px);
  color: #ffffff;
}

/* Pill Buttons */
.pill-btn {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, background 0.3s ease;
  cursor: pointer;
  user-select: none;
}
.pill-btn:hover {
  transform: scale(1.03);
}
.pill-btn.with-arrow {
  padding: 0.375rem 0.375rem 0.375rem 1.5rem;
  gap: 0.75rem;
}
.pill-btn.no-arrow {
  padding: 0.875rem 1.75rem;
}
.pill-btn.dark {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.pill-btn.dark .btn-arrow-badge {
  background: #ffffff;
  color: var(--ink);
}
.pill-btn.light {
  background: var(--surface);
  color: var(--foreground);
}
.pill-btn.light .btn-arrow-badge {
  background: var(--ink);
  color: #ffffff;
}
.pill-btn.outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(10, 10, 10, 0.3);
  backdrop-filter: blur(12px);
  color: #ffffff;
}
.pill-btn.outline:hover {
  background: rgba(255, 255, 255, 0.15);
}
.pill-btn.outline .btn-arrow-badge {
  background: #ffffff;
  color: var(--ink);
}
/* Outline on light surfaces: a real outline, not a grey smoked fill */
.pill-btn.outline.on-light {
  border-color: rgba(17, 17, 17, 0.18);
  background: transparent;
  backdrop-filter: none;
  color: var(--ink);
}
.pill-btn.outline.on-light:hover {
  border-color: var(--ink);
  background: var(--surface);
}
.pill-btn.outline.on-light .btn-arrow-badge {
  background: var(--ink);
  color: #ffffff;
}
.pill-btn:active {
  transform: scale(0.98);
}
.pill-btn.accent {
  background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(196, 124, 69, 0.35);
}
.pill-btn.accent .btn-arrow-badge {
  background: #ffffff;
  color: var(--accent-to);
}

.btn-arrow-badge {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pill-btn:hover .btn-arrow-badge.arrow-right {
  transform: translateX(3px);
}
.pill-btn:hover .btn-arrow-badge.arrow-up-right {
  transform: translate(2px, -2px);
}

/* Tag Chip */
.tag-chip {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}

/* Animated Link */
.animated-link {
  display: inline-flex;
  align-items: center;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
  opacity: 0.7;
}
.animated-link:hover {
  transform: translateX(4px);
  opacity: 1;
}

/* Reveal Mechanics */
.reveal-line-wrap {
  overflow: hidden;
  display: block;
}
.reveal-line {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.9s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.revealed .reveal-line,
.reveal-line.active {
  transform: translateY(0%);
  opacity: 1;
}

.reveal-word {
  display: inline-block;
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.revealed .reveal-word,
.reveal-word.active {
  transform: translateY(0);
  opacity: 1;
}

.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.revealed .reveal-up,
.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   3. Page Loader (Full-screen Dark Overlay)
   ========================================== */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: var(--ink);
  color: #ffffff;
  border-radius: 0 0 2rem 2rem;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  user-select: none;
}
#page-loader.exit {
  transform: translateY(-100%);
}
.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
#page-loader.exit .loader-content {
  opacity: 0;
  transform: translateY(-12px);
}
.loader-logo-img {
  height: 7rem;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(196, 124, 69, 0.3));
}
.loader-sub {
  max-width: 32ch;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}
.loader-progress-wrap {
  width: min(22rem, 72vw);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.loader-track {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}
.loader-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-from), var(--brand-purple));
  transition: width 0.05s linear;
}
.loader-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.58);
}
.loader-counter {
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================
   4. Site Header (Refined Floating Dark Glass Nav)
   ========================================== */
#site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  padding-top: 1rem;
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
  pointer-events: none;
}
#site-header.ready {
  opacity: 1;
  transform: translateY(0);
}
.header-glass-bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.625rem 0.75rem 0.625rem 1.25rem;
  background: rgba(12, 12, 12, 0.86);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
@media (min-width: 640px) {
  .header-glass-bar { padding: 0.625rem 0.75rem 0.625rem 1.5rem; }
}

/* Brand lockup: emblem + set wordmark (the raster wordmark is illegible at header size) */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}
.brand-mark {
  height: 2.25rem;
  width: auto;
}
.brand-word {
  font-family: 'Onest', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  color: #ffffff;
  white-space: nowrap;
}
.brand-word span {
  color: var(--accent-from);
  font-weight: 500;
}
.footer-brand-title .brand-mark { height: 3rem; }
.footer-brand-title .brand-word { font-size: 1.125rem; }

.brand-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
}
.brand-btn:hover {
  transform: scale(1.03);
  opacity: 0.95;
}
.header-logo-img {
  height: 2rem;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}
@media (min-width: 640px) {
  .header-logo-img { height: 2.25rem; }
}

.primary-nav {
  display: none;
}
@media (min-width: 1024px) {
  .primary-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
  }
}
.nav-item-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
}
.nav-item-btn {
  position: relative;
  padding-block: 0.375rem;
}
.nav-item-btn::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent-from);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-item-btn:hover {
  color: #ffffff;
}
.nav-item-btn:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.clock-chip {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}
@media (min-width: 768px) {
  .clock-chip { display: flex; }
}
.clock-label {
  color: var(--accent-from);
  font-weight: 600;
}
.clock-time {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: #ffffff;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  transition: background 0.3s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.menu-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.04);
}
.menu-btn svg {
  width: 0.875rem;
  height: 0.875rem;
}

/* ==========================================
   5. Hero Section (Liquid Reveal Background)
   ========================================== */
#home {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 0 0 2.5rem 2.5rem;
  background: #0a0a0a;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

.liquid-reveal-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.liquid-base-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.liquid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.45) 0%, rgba(10, 10, 10, 0.1) 40%, rgba(10, 10, 10, 0.75) 100%);
}

.hero-watermark {
  position: absolute;
  inset-inline: 0;
  bottom: 6rem;
  z-index: 1;
  text-align: center;
  user-select: none;
  pointer-events: none;
  font-weight: 700;
  line-height: 1;
  font-size: clamp(4rem, 12vw, 13rem);
  color: rgba(255, 255, 255, 0.12);
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s, transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.hero-watermark.ready {
  opacity: 0.15;
  transform: translateY(0);
}

.hero-content-grid {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-top: 8rem;
  padding-bottom: 3.5rem;
}
@media (min-width: 1024px) {
  .hero-content-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 3.5rem;
    align-items: center;
    padding-top: 10rem;
    padding-bottom: 5rem;
    min-height: 82vh;
  }
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
}
.hero-h1 {
  max-width: 18ch;
  /* each authored line must fit one row at 360px: 12 full-width glyphs */
  font-size: clamp(1.75rem, 7.6vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}
@media (min-width: 640px) {
  .hero-h1 { font-size: 3.25rem; }
}
@media (min-width: 1024px) {
  .hero-h1 { font-size: 3.75rem; }
}

.hero-rating-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.rating-stars {
  display: flex;
  gap: 0.25rem;
  color: var(--accent-from);
}
.rating-stars svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 0.5rem;
}

/* Hero Right: Carousel & Partners */
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .hero-right { align-items: flex-end; }
}

.hero-carousel-card {
  width: 100%;
  max-width: 24rem;
  border-radius: var(--radius-card-sm);
  background: rgba(15, 15, 15, 0.8);
  padding: 0.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  user-select: none;
}
@media (min-width: 1024px) {
  .hero-carousel-card { width: 24rem; }
}
.carousel-inner {
  display: flex;
  gap: 0.5rem;
  border-radius: var(--radius-control);
  cursor: pointer;
}
.carousel-icon-tile {
  aspect-ratio: 1;
  width: 5.5rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-control);
  background: #000000;
  padding: 0.5rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.carousel-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.carousel-body {
  flex: 1;
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 5.5rem;
}
/* Items share one grid cell, so the slot is always as tall as the longest slide — nothing clips */
.carousel-slot {
  display: grid;
  overflow: hidden;
}
.carousel-item {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}
.carousel-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.carousel-caption {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-from);
}
.carousel-title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: #ffffff;
  margin-top: 0.125rem;
}
.carousel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.carousel-dot {
  height: 0.25rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.25);
  width: 0.375rem;
  transition: width 0.3s ease, background 0.3s ease;
}
.carousel-dot.active {
  width: 1.25rem;
  background: var(--accent-from);
}
.carousel-nav-btns {
  display: flex;
  gap: 0.375rem;
}
.carousel-arrow-btn {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.carousel-arrow-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}
.carousel-arrow-btn svg {
  width: 0.75rem;
  height: 0.75rem;
}

.hero-partners {
  width: 100%;
  max-width: 24rem;
}
@media (min-width: 1024px) {
  .hero-partners { width: 24rem; }
}
.partners-label {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  text-align: left;
}
@media (min-width: 1024px) {
  .partners-label { text-align: right; }
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  column-gap: 0.75rem;
  row-gap: 0.5rem;
}
.partner-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.partner-item:hover {
  transform: translateY(-2px);
  color: #ffffff;
}
.partner-item svg {
  width: 0.625rem;
  height: 0.625rem;
  color: var(--accent-from);
}

/* Hero Bottom Bar */
.hero-status-bar {
  position: relative;
  z-index: 20;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem 0;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.7);
}
.status-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.status-center {
  display: none;
}
@media (min-width: 640px) {
  .status-center { display: inline; }
}

/* ==========================================
   6. About Section
   ========================================== */
#about {
  background: #ffffff;
  padding: 5rem 0;
}
@media (min-width: 1024px) {
  #about { padding: 7rem 0; }
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 3.5rem;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1.15fr; }
}
.about-left {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: space-between;
}
.about-image-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 22rem;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--line);
}
.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.about-image-card:hover .about-image {
  transform: scale(1.05);
}
.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: #ffffff;
}
.about-image-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: fit-content;
  margin-bottom: 0.75rem;
}
.about-image-badge svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--accent-from);
}
.about-image-caption {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.about-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.about-statement {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--ink);
}
@media (min-width: 640px) {
  .about-statement { font-size: 1.625rem; }
}
.about-statement .text-accent {
  color: #a8612d; /* bronze, darkened to hold 4.5:1 on white */
}
.about-statement .text-sub {
  display: block;
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--muted);
}

/* 4 Core Pillars Mini Cards inside About */
.about-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .about-feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.about-feature-card {
  padding: 1.25rem;
  background: var(--surface);
  border-radius: var(--radius-card-sm);
  border: 1px solid var(--line);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.about-feature-card:hover {
  background: #ffffff;
  border-color: rgba(196, 124, 69, 0.4);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.about-feature-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.about-feature-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--ink);
  color: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.about-feature-icon svg {
  width: 1.125rem;
  height: 1.125rem;
  stroke: var(--accent-from);
}
.about-feature-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
}
.about-feature-desc {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.55;
}

.about-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
  margin-top: 2.25rem;
}
.about-action-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================
   7. Brand Value Banner (Japan Hospitality x Global Reach)
   ========================================== */
.brand-value-banner-section {
  background: #ffffff;
  padding: 1rem 0 3.5rem;
}
.brand-value-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .brand-value-banner {
    grid-template-columns: repeat(3, 1fr);
  }
}
.brand-value-tile {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.brand-value-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.1);
  border-color: rgba(196, 124, 69, 0.35);
}
.brand-value-tile.dark {
  background: var(--ink);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.08);
}
.brand-value-tile.dark:hover {
  box-shadow: 0 16px 35px -8px rgba(0, 0, 0, 0.35);
  border-color: rgba(196, 124, 69, 0.5);
}
.brand-value-num {
  font-size: 1.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  line-height: 1;
}
.brand-value-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.brand-value-content p {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
}
.brand-value-tile.dark .brand-value-content p {
  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================
   8. Portfolio / Solutions Section (Visual Rich Cards)
   ========================================== */
#works {
  background: #ffffff;
  padding: 3rem 0 5rem;
}
@media (min-width: 1024px) {
  #works { padding: 4rem 0 7rem; }
}
.section-header-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}
.section-title {
  font-size: clamp(1.75rem, 7.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
@media (min-width: 640px) {
  .section-title { font-size: 3rem; }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 768px) {
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
}

.portfolio-card {
  position: relative;
  min-height: 26rem;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--ink);
  padding: 2rem;
  color: #ffffff;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
}
@media (min-width: 640px) {
  .portfolio-card {
    min-height: 30rem;
    padding: 2.5rem;
  }
}
.portfolio-card:hover {
  transform: translateY(-8px) scale(1.012);
  box-shadow: 0 25px 55px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(196, 124, 69, 0.6);
}
.portfolio-card:active {
  transform: translateY(-4px) scale(1.005);
}

/* Background image on card */
.portfolio-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.45;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
}
.portfolio-card:hover .portfolio-bg-img {
  transform: scale(1.06);
  opacity: 0.6;
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.6) 45%, rgba(10, 10, 10, 0.3) 100%);
  pointer-events: none;
}

.portfolio-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 2;
}
.portfolio-arrow-badge {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s ease;
}
.portfolio-card:hover .portfolio-arrow-badge {
  transform: rotate(45deg) scale(1.1);
  background: var(--accent);
}
.portfolio-arrow-badge svg {
  width: 1rem;
  height: 1rem;
}

.portfolio-card-bottom {
  position: relative;
  z-index: 2;
}
.portfolio-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
@media (min-width: 640px) {
  .portfolio-card-title { font-size: 1.875rem; }
}
/* Authored <br>s suit the two-column desktop card; on phones let phrases wrap naturally */
@media (max-width: 639px) {
  .portfolio-card-title br { display: none; }
}
.portfolio-card-desc {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}
.portfolio-tags {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.portfolio-disclaimer {
  margin-top: 0.75rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
}

.portfolio-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.portfolio-card:hover .portfolio-detail-link {
  background: var(--accent);
  border-color: var(--accent-from);
  box-shadow: 0 4px 15px rgba(196, 124, 69, 0.4);
}
.portfolio-detail-link svg {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 0.3s ease;
}
.portfolio-card:hover .portfolio-detail-link svg {
  transform: translateX(4px);
}

/* ==========================================
   9. Services Section
   ========================================== */
#services {
  background: #ffffff;
  padding: 2rem 0 5rem;
}
@media (min-width: 1024px) {
  #services { padding: 3rem 0 7rem; }
}
.services-header {
  margin-bottom: 3.5rem;
}
.services-list {
  display: flex;
  flex-direction: column;
}
.service-row-item {
  border-top: 1px solid var(--line);
}
.service-row-item:first-child {
  border-top: none;
}
.service-row-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: var(--radius-card-sm);
  padding: 1.75rem 1.25rem;
  transition: background 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), padding 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}
@media (min-width: 640px) {
  .service-row-link {
    gap: 1.5rem;
    padding: 2.25rem 1.5rem;
  }
}
.service-row-link:hover {
  background: var(--surface);
  padding-left: 2rem;
  padding-right: 1.25rem;
}
.service-idx {
  width: 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .service-idx { width: 2.5rem; }
}
.service-title {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere; /* long phrases may still break rather than push the row wider */
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
@media (min-width: 640px) {
  .service-title { font-size: 1.75rem; }
}
@media (min-width: 1024px) {
  .service-title { font-size: 2rem; }
}
.service-desc-preview {
  display: none;
  max-width: 24rem;
  font-size: 0.875rem;
  color: rgba(17, 17, 17, 0.65);
  line-height: 1.5;
}
@media (min-width: 1024px) {
  .service-desc-preview { display: block; }
}
.service-arrow-badge {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #ffffff;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s ease;
}
@media (min-width: 640px) {
  .service-arrow-badge { width: 3rem; height: 3rem; }
}
.service-row-link:hover .service-arrow-badge {
  transform: translateX(6px);
  background: var(--accent);
}
.service-arrow-badge svg {
  width: 1rem;
  height: 1rem;
}

/* ==========================================
   10. Stats Panel (Scroll Count-up & Rich Cards)
   ========================================== */
.stats-section {
  background: #ffffff;
  padding: 0 0 5rem;
}
@media (min-width: 1024px) {
  .stats-section { padding-bottom: 7rem; }
}
.stats-panel {
  border-radius: var(--radius-card);
  background: var(--ink);
  padding: 3rem 1.5rem;
  color: #ffffff;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}
.stats-panel::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40rem;
  height: 40rem;
  background: radial-gradient(circle, rgba(196, 124, 69, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
@media (min-width: 640px) {
  .stats-panel { padding: 4rem 2.5rem; }
}
@media (min-width: 1024px) {
  .stats-panel { padding: 5rem 4rem; }
}
.stats-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-card-box {
  padding: 2rem;
  border-radius: var(--radius-card-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s ease;
}
.stat-card-box:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(196, 124, 69, 0.4);
  transform: translateY(-4px);
}
.stat-number {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}
@media (min-width: 640px) {
  .stat-number { font-size: 3.25rem; }
}
@media (min-width: 1024px) {
  .stat-number { font-size: 3.5rem; }
}
.stat-suffix {
  color: var(--accent-from);
  font-size: 0.65em;
}
.stat-heading {
  margin-top: 1rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
}
.stat-label {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

/* ==========================================
   11. Footer
   ========================================== */
#site-footer {
  position: relative;
  overflow: hidden;
  border-radius: 2.5rem 2.5rem 0 0;
  background: var(--ink);
  color: #ffffff;
}
.footer-inner {
  position: relative;
  z-index: 10;
  padding-block: 5rem 2.5rem; /* block only: keep .shell's side gutters */
}
@media (min-width: 1024px) {
  .footer-inner { padding-top: 6rem; }
}
.footer-cta-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 4rem;
}
@media (min-width: 1024px) {
  .footer-cta-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.footer-cta-h2 {
  max-width: 22ch;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
@media (min-width: 640px) {
  .footer-cta-h2 { font-size: 2.75rem; }
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .footer-columns { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.footer-logo-img {
  height: 2.75rem;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}
.footer-brand-tagline {
  max-width: 22rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 1.25rem;
}
.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.footer-legal-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.58);
}
@media (min-width: 640px) {
  .footer-legal-bar {
    flex-direction: row;
    align-items: center;
  }
}
.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-disclaimer-box {
  margin-top: 2rem;
  padding: 1.25rem;
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.58);
}

.footer-watermark {
  position: absolute;
  inset-inline: 0;
  bottom: -1.5rem;
  z-index: 0;
  text-align: center;
  pointer-events: none;
  user-select: none;
  font-weight: 700;
  line-height: 1;
  font-size: clamp(4rem, 12vw, 13rem);
  color: rgba(255, 255, 255, 0.03);
  letter-spacing: -0.03em;
}

/* ==========================================
   12. Full-Screen NavMenu Overlay
   ========================================== */
#nav-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 115;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
#nav-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.nav-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}
.nav-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.125rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.nav-close-btn:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.nav-close-btn svg {
  width: 0.875rem;
  height: 0.875rem;
}
.nav-menu-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.nav-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.nav-menu-item-btn {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.5rem 0;
  text-align: left;
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out, color 0.3s ease;
}
@media (min-width: 640px) {
  .nav-menu-item-btn { font-size: 3.5rem; }
}
#nav-menu-overlay.open .nav-menu-item-btn {
  opacity: 1;
  transform: translateY(0);
}
.nav-menu-num {
  font-size: 1.125rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.3s ease;
}
.nav-menu-label {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}
.nav-menu-item-btn:hover .nav-menu-num {
  color: var(--accent-from);
}
.nav-menu-item-btn:hover .nav-menu-label {
  color: #ffffff;
}

.nav-menu-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: rgba(255, 255, 255, 0.58);
}
.nav-menu-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .nav-menu-footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ==========================================
   13. Request / Contact Modal
   ========================================== */
#request-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
@media (min-width: 640px) {
  #request-modal-backdrop { align-items: center; }
}
#request-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 32rem;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: var(--radius-card);
  background: #ffffff;
  padding: 2rem 1.5rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  transform: translateY(28px);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (min-width: 640px) {
  .modal-panel { padding: 2.5rem 2rem; }
}
#request-modal-backdrop.open .modal-panel {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: rgba(17, 17, 17, 0.6);
  transition: background 0.2s ease, color 0.2s ease;
}
.modal-close-btn:hover {
  background: var(--surface-2);
  color: #111111;
}
.modal-close-btn svg {
  width: 1rem;
  height: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1rem;
}
.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: rgba(17, 17, 17, 0.6);
}
.form-control {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(246, 245, 243, 0.6);
  border-radius: var(--radius-control);
  padding: 0.75rem 1rem;
  font-size: max(16px, 0.875rem); /* <16px makes iOS Safari zoom the page on focus */
  color: var(--foreground);
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.form-control::placeholder {
  color: #8a8a8a;
}
.form-control:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(196, 124, 69, 0.18);
}
.form-control:user-invalid {
  border-color: #c0392b;
}
.pill-btn:disabled {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}
textarea.form-control {
  resize: none;
}

.modal-success-box {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  padding: 2.5rem 1rem;
}
.modal-success-icon {
  width: 4.5rem;
  height: 4.5rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--ink);
  padding: 0.75rem;
}
.modal-success-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==========================================
   EXTENDED STYLES — Service Pages, FAQ, Testimonials, Floating CTA
   ========================================== */

/* ---- Floating CTA Button (Global) ---- */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  opacity: 0;
  transform: translateY(1.5rem) scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}
.floating-cta.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
/* The footer carries its own CTA — step aside instead of covering legal text */
.floating-cta.visible.at-footer {
  opacity: 0;
  transform: translateY(1.5rem) scale(0.95);
  pointer-events: none;
}
@media (max-width: 640px) {
  .floating-cta {
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom));
  }
  .floating-cta-btn {
    padding: 0.75rem 1.125rem;
    font-size: 0.8125rem;
  }
}
.floating-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 32px rgba(196, 124, 69, 0.45), 0 2px 8px rgba(0,0,0,0.18);
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}
.floating-cta-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 42px rgba(196, 124, 69, 0.55), 0 4px 12px rgba(0,0,0,0.22);
}
.floating-cta-btn svg {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  stroke: #fff;
}

/* ---- Scroll Progress Bar ---- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(to right, var(--accent-from), var(--brand-purple));
  z-index: 9999;
}

/* ---- Testimonials Section ---- */
.testimonials-section {
  padding: 6rem 0 5rem;
  background: var(--surface);
}
.testimonials-header,
.faq-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header-centered .section-lead {
  margin-top: -0.25rem;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}
.testimonial-card {
  background: var(--background);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  opacity: 0;
  transform: translateY(1.5rem);
}
.testimonial-card.active {
  opacity: 1;
  transform: translateY(0);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.testimonial-stars {
  display: flex;
  gap: 0.25rem;
}
.testimonial-stars svg {
  width: 1rem;
  height: 1rem;
  fill: var(--accent);
  stroke: var(--accent);
}
.testimonial-quote {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--foreground);
  flex: 1;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.testimonial-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--foreground);
}
.testimonial-profile {
  font-size: 0.8125rem;
  color: var(--muted);
}
.testimonial-service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.25rem;
}
.testimonial-service-tag::before {
  content: '';
  display: block;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--accent);
}

/* ---- FAQ Section ---- */
.faq-section {
  padding: 6rem 0;
  background: var(--background);
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: 1rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; }
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-card-sm);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item.open {
  border-color: var(--accent);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  background: none;
  width: 100%;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--foreground);
  border: none;
  font-family: inherit;
  transition: background 0.2s ease;
}
.faq-question:hover {
  background: var(--surface);
}
.faq-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.faq-item.open .faq-icon {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(45deg);
}
.faq-icon svg {
  width: 0.875rem;
  height: 0.875rem;
  stroke: var(--foreground);
  transition: stroke 0.3s ease;
}
.faq-item.open .faq-icon svg {
  stroke: #fff;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ---- Page Breadcrumb (for sub-pages) ---- */
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}
.page-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.page-breadcrumb a:hover {
  color: var(--accent);
}
.page-breadcrumb .sep { color: var(--subtle); }

/* ---- Service Page Hero ---- */
.svc-hero {
  min-height: 62vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.svc-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.svc-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.svc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,0.88) 0%, rgba(10,10,10,0.45) 55%, rgba(10,10,10,0.12) 100%);
}
.svc-hero-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 0 3.5rem;
}
.svc-hero-num {
  font-size: 6rem;
  font-weight: 800;
  color: rgba(255,255,255,0.06);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.svc-hero-h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.svc-hero-desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 40rem;
  margin-bottom: 2rem;
}

/* ---- Service Page Content Sections ---- */
.svc-section { padding: 5rem 0; }
.svc-section + .svc-section { padding-top: 0; }
.svc-section-alt {
  background: var(--surface);
  padding: 5rem 0;
}
.svc-section-title {
  font-size: clamp(1.625rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
.svc-section-lead {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 46rem;
  margin-bottom: 2.5rem;
}
.svc-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) {
  .svc-two-col { grid-template-columns: 1fr; gap: 2.5rem; }
}
.svc-image-block {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.svc-image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.svc-image-block:hover img { transform: scale(1.04); }

/* Feature List */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 1.5rem;
}
.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: var(--radius-card-sm);
  background: var(--background);
  border: 1px solid var(--line);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.svc-section-alt .feature-item { background: var(--background); }
.feature-item:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(196,124,69,0.12);
  transform: translateX(4px);
}
.feature-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
  display: grid;
  place-items: center;
}
.feature-icon svg {
  width: 1.125rem;
  height: 1.125rem;
  stroke: #fff;
  fill: none;
}
.feature-title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--foreground);
}
.feature-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Case Study Cards */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 640px) { .cases-grid { grid-template-columns: 1fr; } }
.case-card {
  border-radius: var(--radius-card);
  background: var(--background);
  border: 1px solid var(--line);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.case-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.case-num::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--accent);
}
.case-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.4;
}
.case-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.75;
  flex: 1;
}
.case-note {
  font-size: 0.75rem;
  color: var(--subtle);
  line-height: 1.6;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

/* Legal Notice Box */
.legal-notice-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-card-sm);
  padding: 1.5rem 1.75rem;
  margin-top: 2rem;
}
.legal-notice-box p {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.75;
}

/* Service Page CTA Banner */
.svc-cta-banner {
  background: var(--ink);
  border-radius: var(--radius-card);
  padding: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}
.svc-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at right bottom, rgba(196,124,69,0.28) 0%, transparent 65%);
  pointer-events: none;
}
.svc-cta-banner-title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.svc-cta-banner-desc {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}
@media (max-width: 640px) {
  .svc-cta-banner { flex-direction: column; padding: 2rem; }
}

/* Related Services */
.related-services-section {
  padding: 4rem 0 5rem;
  background: var(--surface);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  background: var(--background);
  border: 1px solid var(--line);
  border-radius: var(--radius-card-sm);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.related-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.related-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.related-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.4;
}
.related-desc {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.related-arrow {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.5rem;
}
.related-arrow svg {
  width: 1rem;
  height: 1rem;
  stroke: var(--accent);
  fill: none;
  transition: transform 0.25s ease;
}
.related-card:hover .related-arrow svg { transform: translateX(4px); }

/* About Page */
.vision-quote {
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.35;
  color: var(--foreground);
  max-width: 44rem;
}
.vision-quote em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent-from), var(--brand-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
@media (max-width: 768px) { .value-cards { grid-template-columns: 1fr; } }
.value-card {
  padding: 2rem;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.08);
}
.value-icon { font-size: 2rem; line-height: 1; }
.value-title { font-size: 1rem; font-weight: 700; }
.value-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }

/* Compliance Table */
.compliance-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.875rem;
}
.compliance-table th,
.compliance-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.65;
}
.compliance-table th {
  background: var(--surface);
  font-weight: 700;
  white-space: nowrap;
}
.compliance-table td { color: var(--muted); }
@media (max-width: 640px) {
  .compliance-table { display: block; overflow-x: auto; }
}

/* Portfolio detail link */
.portfolio-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1rem;
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.08);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.portfolio-detail-link:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.6);
  transform: translateX(3px);
}
.portfolio-detail-link svg {
  width: 0.875rem;
  height: 0.875rem;
  stroke: currentColor;
  fill: none;
}

/* Section lead text */
.section-lead {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 40rem;
}

/* Touch devices: no sticky hover lifts left behind after a tap */
@media (hover: none) {
  .portfolio-card:hover,
  .brand-value-tile:hover,
  .stat-card-box:hover,
  .testimonial-card.active:hover,
  .about-feature-card:hover,
  .pill-btn:hover,
  .floating-cta-btn:hover {
    transform: none;
  }
  .portfolio-card:hover .portfolio-bg-img { transform: none; }
}
