@charset "UTF-8";
/* ==========================================================================
   ANEZ PSİKOLOJİK DANIŞMANLIK MERKEZİ
   Unified Warm Editorial Wellness Design System
   Ground: Warm Alabaster #FAF7F2 · Surface: Soft Stone #F2ECE3
   Ink: Charcoal Espresso #181614 · Accent: Terracotta Sienna #A85432
   ========================================================================== */

:root {
  /* Palette */
  --cream: #faf7f2;
  --cream-elev: #ffffff;
  --stone: #f2ece3;
  --stone-deep: #e7dfd3;
  --obsidian: #161412;
  --obsidian-soft: #201d1a;

  --ink: #181614;
  --ink-strong: #110f0d;
  --ink-soft: #57514b;
  --ink-muted: #8a827a;

  --bone: #f6f2eb;
  --bone-soft: rgba(246, 242, 235, 0.78);
  --bone-muted: rgba(246, 242, 235, 0.56);

  --sienna: #a85432;
  --sienna-deep: #8b4224;
  --sienna-light: #d68562;
  --sienna-tint: rgba(168, 84, 50, 0.08);

  --line: rgba(24, 22, 20, 0.1);
  --line-strong: rgba(24, 22, 20, 0.18);
  --line-dark: rgba(246, 242, 235, 0.12);
  --line-dark-strong: rgba(246, 242, 235, 0.24);

  /* Legacy alias tokens for subpage compatibility */
  --paper: var(--cream);
  --paper-elev: var(--cream-elev);
  --paper-stone: var(--stone);
  --ivory: var(--bone);
  --ivory-soft: var(--bone-soft);
  --ivory-muted: var(--bone-muted);
  --brass: var(--sienna);
  --brass-light: var(--sienna-light);
  --forest: #24201c;
  --rule: var(--line);
  --rule-strong: var(--line-strong);
  --rule-dark: var(--line-dark);
  --rule-dark-strong: var(--line-dark-strong);
  --color-primary: var(--sienna);
  --color-primary-deep: var(--sienna-deep);
  --color-muted-foreground: var(--ink-muted);
  --pastel-sage: var(--stone);

  /* Typography */
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Plus Jakarta Sans", -apple-system, sans-serif;

  /* Radii & Motion */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 24px 60px -28px rgba(24, 22, 20, 0.16);
  --shadow-float: 0 28px 64px -22px rgba(24, 22, 20, 0.22);
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img,
picture,
video,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

svg:not([width]):not([height]) {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
.an-serif {
  font-family: var(--font-serif);
  font-weight: 300;
  font-variation-settings: "opsz" 72, "SOFT" 45;
  letter-spacing: -0.026em;
  line-height: 1.08;
}

h1 em,
h2 em,
.an-em {
  font-style: italic;
  color: var(--sienna);
  font-weight: 300;
}

.an-on-dark h1 em,
.an-on-dark h2 em {
  color: #eab394;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 9999;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 600;
}
.skip-link:focus {
  top: 16px;
}

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

/* Containers & Editorial Spacing */
.ky-container {
  width: min(1320px, calc(100% - clamp(32px, 6vw, 96px)));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.ky-container-mid {
  width: min(1060px, calc(100% - clamp(32px, 6vw, 96px)));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.ky-container-narrow {
  width: min(840px, calc(100% - clamp(32px, 6vw, 96px)));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.ky-section {
  position: relative;
  padding: clamp(84px, 9vw, 136px) 0;
}

.ky-section-sm {
  position: relative;
  padding: clamp(48px, 5vw, 76px) 0;
}

.an-band-cream {
  background: var(--cream);
  color: var(--ink);
}

.an-band-stone {
  background: var(--stone);
  color: var(--ink);
}

/* Subtle Reveal Choreography */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.82s var(--ease), transform 0.82s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Kickers, Section Headers & Links */
.an-kicker,
.aw-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sienna);
  margin-bottom: 16px;
}

.aw-kicker-center {
  justify-content: center;
}

.an-kicker--light,
.aw-kicker--light {
  color: #e4ab89;
}

.an-sec-head,
.ky-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.an-sec-head h2,
.ky-sec-head h2 {
  font-size: clamp(2.15rem, 4vw, 3.45rem);
  color: var(--ink-strong);
  max-width: 19ch;
}

.an-sec-sub,
.ky-sec-sub {
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 54ch;
}

.ky-sec-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(36px, 4.5vw, 56px);
}

.ky-sec-center h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.25rem);
  color: var(--ink-strong);
  margin-bottom: 12px;
}

/* Unified Luxury Pill Buttons */
.an-btn,
.ky-btn,
.aw-btn,
.aw-btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  font-size: 0.89rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background-color 0.26s var(--ease), color 0.26s var(--ease),
    border-color 0.26s var(--ease), transform 0.26s var(--ease), box-shadow 0.26s var(--ease);
}

.an-btn svg,
.ky-btn svg,
.aw-btn svg,
.aw-btn-pill svg {
  width: 15px;
  height: 15px;
  transition: transform 0.26s var(--ease);
}

.an-btn:hover svg,
.ky-btn:hover svg,
.aw-btn:hover svg,
.aw-btn-pill:hover svg {
  transform: translateX(3px);
}

.an-btn--sienna,
.ky-btn-primary,
.aw-btn-pill {
  background: var(--sienna);
  color: #fff;
  border: 1px solid var(--sienna);
}

.an-btn--sienna:hover,
.ky-btn-primary:hover,
.aw-btn-pill:hover {
  background: var(--sienna-deep);
  border-color: var(--sienna-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -12px rgba(168, 84, 50, 0.55);
}

.an-btn--ink {
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
}
.an-btn--ink:hover {
  background: var(--sienna);
  border-color: var(--sienna);
  color: #fff;
  transform: translateY(-1px);
}

.an-btn--bone,
.aw-btn-pill-light {
  background: var(--cream);
  color: var(--ink-strong);
  border: 1px solid var(--cream);
}
.an-btn--bone:hover,
.aw-btn-pill-light:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.35);
}

.an-btn--glass-light {
  background: rgba(250, 247, 242, 0.12);
  color: var(--bone);
  border: 1px solid rgba(250, 247, 242, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.an-btn--glass-light:hover {
  background: rgba(250, 247, 242, 0.22);
  border-color: rgba(250, 247, 242, 0.52);
  transform: translateY(-1px);
}

.an-btn--outline,
.ky-btn-outline,
.ky-btn-wa,
.aw-btn-glass {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.an-btn--outline:hover,
.ky-btn-outline:hover,
.ky-btn-wa:hover,
.aw-btn-glass:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.an-btn--sm {
  height: 42px;
  padding: 0 18px;
  font-size: 0.83rem;
}

.ky-btn-lg {
  height: 54px;
  padding: 0 28px;
  font-size: 0.94rem;
}

.an-text-link,
.aw-underline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.22s ease, border-color 0.22s ease, gap 0.24s var(--ease);
}

.an-text-link svg,
.aw-underline-link svg {
  width: 14px;
  height: 14px;
}

.an-text-link:hover,
.aw-underline-link:hover {
  color: var(--sienna);
  border-color: var(--sienna);
  gap: 12px;
}

.an-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--cream-elev);
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.an-circle-btn svg {
  width: 16px;
  height: 16px;
}

.an-circle-btn:hover:not(:disabled) {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.an-circle-btn:disabled {
  opacity: 0.34;
  cursor: default;
}

/* ==========================================================================
   ANIMATEDWEBS PRO LIQUID GLASS DYNAMIC ISLAND CONCIERGE DOCK + MASTHEAD
   (Real Spring-Proximity Dock + Morphing Concierge Sheet — Desktop & Mobile)
   ========================================================================== */
.ky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 210;
  pointer-events: none;
  background: transparent;
  transition: transform 0.38s var(--ease);
}

.ky-header .an-island-wrap,
.ky-header .ky-navbar {
  pointer-events: auto;
}

.ky-header.is-hidden:not(.has-island-open) {
  transform: translateY(-120%);
}

.ky-header.is-on-dark {
  color: var(--bone);
}

.ky-header.is-on-dark:not(.is-scrolled)::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 152px;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(180deg, rgba(16, 14, 12, 0.56) 0%, rgba(16, 14, 12, 0.14) 68%, transparent 100%);
}

.ky-header.is-on-paper {
  color: var(--ink);
}

/* Floating Liquid Glass Dynamic Island Wrapper (Fixed 46px Slot — Zero Layout Shift on Morph) */
.an-island-wrap {
  position: relative;
  z-index: 40;
  width: min(1140px, calc(100% - clamp(20px, 5vw, 96px)));
  height: 46px;
  margin: 12px auto 0;
  transition: height 0.36s var(--ease), margin 0.36s var(--ease), opacity 0.28s ease, transform 0.36s var(--ease);
}

.ky-header.is-scrolled:not(.has-island-open) .an-island-wrap {
  height: 0;
  margin-top: 0;
  opacity: 0;
  transform: translateY(-14px);
  pointer-events: none;
  overflow: hidden;
}

/* Liquid Glass Capsule (Adapted directly from AnimatedWebs Pro atd-glass + atd-modern) */
.an-island {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  border-radius: 26px;
  background: linear-gradient(158deg, rgba(255, 250, 244, 0.16) 0%, rgba(25, 21, 18, 0.62) 46%, rgba(18, 15, 13, 0.78) 100%);
  box-shadow:
    0 22px 54px -20px rgba(0, 0, 0, 0.78),
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  color: var(--bone);
  transition: border-radius 0.4s var(--ease), background 0.32s ease, box-shadow 0.36s var(--ease);
}

/* Luminous Alabaster Liquid Glass over Light Pages */
.ky-header.is-on-paper .an-island {
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.9) 0%, rgba(246, 241, 234, 0.84) 100%);
  box-shadow:
    0 18px 42px -22px rgba(24, 22, 20, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 0 0 1px rgba(24, 22, 20, 0.1);
  color: var(--ink);
}

.an-island.is-open {
  border-radius: 24px;
  background: linear-gradient(162deg, rgba(36, 28, 23, 0.94) 0%, rgba(18, 15, 13, 0.96) 100%);
  box-shadow:
    0 36px 90px -18px rgba(0, 0, 0, 0.76),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.ky-header.is-on-paper .an-island.is-open {
  background: rgba(255, 253, 250, 0.98);
  box-shadow:
    0 32px 76px -22px rgba(24, 22, 20, 0.32),
    inset 0 0 0 1px rgba(24, 22, 20, 0.12);
}

/* Specular Liquid Rim & Pointer Copper Spotlight */
.an-island-rim {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  overflow: hidden;
}

.an-island-rim::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(240px circle at var(--ix, 50%) var(--iy, 50%), rgba(240, 190, 157, 0.24), transparent 70%),
    linear-gradient(168deg, rgba(255, 255, 255, 0.2) 0%, transparent 28%, transparent 78%, rgba(255, 255, 255, 0.1) 100%);
}

.an-island-rim::after {
  content: "";
  position: absolute;
  top: 0;
  left: -45%;
  width: 45%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 203, 176, 0.85), rgba(255, 255, 255, 0.95), transparent);
  animation: anIslandGlint 7.5s var(--ease) infinite;
}

.ky-header.is-on-paper .an-island-rim::after {
  background: linear-gradient(90deg, transparent, rgba(168, 84, 50, 0.55), rgba(214, 133, 98, 0.7), transparent);
}

@keyframes anIslandGlint {
  0%, 24% {
    transform: translateX(0);
    opacity: 0;
  }
  32% {
    opacity: 1;
  }
  66% {
    transform: translateX(340%);
    opacity: 0.9;
  }
  72%, 100% {
    transform: translateX(340%);
    opacity: 0;
  }
}

/* Spring-Proximity Interactive Dock Track */
.an-island-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 5px 6px;
  min-height: 44px;
}

.an-dock-branches,
.an-dock-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.an-dock-sep {
  width: 1px;
  height: 18px;
  margin: 0 4px;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.ky-header.is-on-paper .an-dock-sep {
  background: rgba(24, 22, 20, 0.12);
}

/* Each Interactive Proximity Dock Item */
.an-dock-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 34px;
  padding: 0 13px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 0.76rem;
  font-weight: 500;
  white-space: nowrap;
  color: rgba(246, 242, 235, 0.88);
  transition: color 0.18s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  transform-origin: 50% 0;
  will-change: transform;
}

.ky-header.is-on-paper .an-dock-item {
  color: var(--ink-soft);
}

.an-dock-item svg {
  width: 13px;
  height: 13px;
  opacity: 0.82;
  flex-shrink: 0;
}

.an-dock-item[data-dock-near="true"],
.an-dock-item:hover,
.an-dock-item:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 18px -10px rgba(0, 0, 0, 0.72);
}

.ky-header.is-on-paper .an-dock-item[data-dock-near="true"],
.ky-header.is-on-paper .an-dock-item:hover,
.ky-header.is-on-paper .an-dock-item:focus-visible {
  color: var(--ink-strong);
  border-color: rgba(24, 22, 20, 0.12);
  background: #fff;
  box-shadow: 0 8px 18px -10px rgba(24, 22, 20, 0.22);
}

.an-dock-status {
  padding: 0 12px 0 11px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #faf7f2;
  font-weight: 600;
}

.ky-header.is-on-paper .an-dock-status {
  background: var(--stone);
  border-color: rgba(24, 22, 20, 0.08);
  color: var(--ink-strong);
}

.an-status-short {
  display: none;
}

.ky-live-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #82de7c;
  flex-shrink: 0;
}

.ky-live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(130, 222, 124, 0.7);
  animation: anLivePulse 2.4s ease-out infinite;
}

@keyframes anLivePulse {
  0% {
    transform: scale(0.75);
    opacity: 0.92;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.an-island-clock {
  padding-left: 7px;
  margin-left: 2px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #f4cbb0;
}

.ky-header.is-on-paper .an-island-clock {
  border-left-color: rgba(24, 22, 20, 0.14);
  color: var(--sienna);
}

.an-island-chev {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: transform 0.34s var(--ease);
}

.ky-header.is-on-paper .an-island-chev {
  background: rgba(24, 22, 20, 0.06);
}

.an-island-chev svg {
  width: 11px;
  height: 11px;
}

.an-island.is-open .an-island-chev {
  transform: rotate(180deg);
}

.an-dock-branch svg {
  color: #f0be9d;
}

.ky-header.is-on-paper .an-dock-branch svg {
  color: var(--sienna);
}

.an-dock-call svg {
  color: #f0be9d;
}

.ky-header.is-on-paper .an-dock-call svg {
  color: var(--sienna);
}

.an-dock-wa {
  background: linear-gradient(180deg, #b85d39 0%, #964829 100%);
  border-color: rgba(255, 220, 198, 0.32);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 20px -10px rgba(168, 84, 50, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.ky-header.is-on-paper .an-dock-wa {
  color: #fff;
}

.an-dock-wa:hover,
.an-dock-wa[data-dock-near="true"],
.ky-header.is-on-paper .an-dock-wa:hover,
.ky-header.is-on-paper .an-dock-wa[data-dock-near="true"] {
  background: linear-gradient(180deg, #c96842 0%, #a5502e 100%);
  border-color: rgba(255, 232, 218, 0.52);
  color: #fff;
}

/* Morphing Expandable Dynamic Island Concierge Sheet */
.an-island-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.44s var(--ease), opacity 0.3s ease;
}

.an-island.is-open .an-island-panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.an-island-panel-inner {
  overflow: hidden;
  padding: 0 18px;
  transition: padding 0.36s var(--ease);
}

.an-island.is-open .an-island-panel-inner {
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.ky-header.is-on-paper .an-island.is-open .an-island-panel-inner {
  border-top-color: var(--line);
}

.an-island-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.an-island-eyebrow {
  display: block;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0be9d;
  margin-bottom: 2px;
}

.ky-header.is-on-paper .an-island-eyebrow {
  color: var(--sienna);
}

.an-island-sheet-head p {
  font-size: 0.8rem;
  color: rgba(246, 242, 235, 0.8);
}

.ky-header.is-on-paper .an-island-sheet-head p {
  color: var(--ink-soft);
}

.an-island-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-grid;
  place-items: center;
  color: inherit;
  flex-shrink: 0;
}

.ky-header.is-on-paper .an-island-close {
  border-color: var(--line-strong);
}

.an-island-close svg {
  width: 14px;
  height: 14px;
}

.an-island-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.an-island-card {
  padding: 14px 15px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ky-header.is-on-paper .an-island-card {
  background: var(--stone);
  border-color: var(--line);
}

.an-ic-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #f0be9d;
}

.ky-header.is-on-paper .an-ic-tag {
  color: var(--sienna);
}

.an-island-card strong {
  font-family: var(--font-serif);
  font-size: 1.04rem;
  font-weight: 400;
  color: #faf7f2;
}

.ky-header.is-on-paper .an-island-card strong {
  color: var(--ink-strong);
}

.an-island-card p {
  font-size: 0.76rem;
  line-height: 1.5;
  color: rgba(246, 242, 235, 0.74);
  margin-bottom: 4px;
}

.ky-header.is-on-paper .an-island-card p {
  color: var(--ink-soft);
}

.an-ic-links {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.74rem;
  font-weight: 600;
  color: #f4cbb0;
}

.ky-header.is-on-paper .an-ic-links {
  border-top-color: var(--line);
  color: var(--sienna);
}

.an-ic-links a:hover {
  text-decoration: underline;
}

.an-island-mobile-bar {
  display: none;
  gap: 8px;
  margin-top: 12px;
}

.an-island-mbtn {
  flex: 1;
  height: 40px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
}

.an-island-mbtn--call {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}

.ky-header.is-on-paper .an-island-mbtn--call {
  background: var(--stone);
  border-color: var(--line-strong);
  color: var(--ink-strong);
}

.an-island-mbtn--wa {
  background: var(--sienna);
  color: #fff;
}

/* Responsive Liquid Glass Dynamic Island (Tablet & Mobile 390px) */
@media (max-width: 1120px) {
  .an-dock-branches,
  .an-dock-sep {
    display: none;
  }
  .an-island-wrap {
    width: min(740px, calc(100% - 32px));
  }
}

@media (max-width: 720px) {
  .an-island-wrap {
    width: calc(100% - 24px);
    height: 44px;
    margin-top: 10px;
  }
  .an-island {
    border-radius: 22px;
  }
  .an-island-bar {
    min-height: 42px;
    padding: 4px 5px;
    gap: 6px;
  }
  .an-status-full,
  .an-island-clock {
    display: none;
  }
  .an-status-short {
    display: inline;
  }
  .an-dock-status {
    height: 34px;
    padding: 0 10px;
    font-size: 0.74rem;
    gap: 6px;
  }
  .an-dock-call {
    width: 34px;
    height: 34px;
    padding: 0;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.16);
  }
  .ky-header.is-on-paper .an-dock-call {
    background: var(--stone);
    border-color: var(--line);
  }
  .an-dock-call span {
    display: none;
  }
  .an-dock-wa {
    height: 34px;
    padding: 0 12px;
    font-size: 0.73rem;
  }
  .an-island.is-open .an-island-panel-inner {
    padding: 12px 14px 14px;
  }
  .an-island-sheet-head {
    margin-bottom: 10px;
  }
  .an-island-cards {
    grid-template-columns: 1fr;
    gap: 8px;
    max-height: 58svh;
    overflow-y: auto;
    scrollbar-width: none;
  }
  .an-island-cards::-webkit-scrollbar {
    display: none;
  }
  .an-island-card {
    padding: 11px 13px;
    gap: 4px;
    border-radius: 13px;
  }
  .an-island-card p {
    font-size: 0.73rem;
    line-height: 1.42;
    margin-bottom: 2px;
  }
  .an-island-mobile-bar {
    display: flex;
    margin-top: 10px;
  }
}

/* ==========================================================================
   FLOATING LIQUID GLASS ARCHITECTURAL COMMAND NAVBAR (DESKTOP & MOBILE)
   Morphs cleanly into a specular Liquid Glass pill on scroll with elastic
   gliding link highlight, inset-disc CTA & subtle scroll-progress thread.
   ========================================================================== */
.ky-navbar {
  position: relative;
  width: min(1320px, calc(100% - clamp(24px, 5vw, 96px)));
  margin: 4px auto 0;
  height: 68px;
  padding: 0 4px;
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: transparent;
  transition: width 0.42s var(--ease), height 0.36s var(--ease), margin 0.36s var(--ease),
    padding 0.36s var(--ease), background 0.32s ease, box-shadow 0.36s var(--ease);
}

/* Scrolled State: Floating Warm Alabaster Liquid Glass Command Capsule */
.ky-header.is-scrolled.is-on-paper .ky-navbar {
  width: min(1260px, calc(100% - clamp(20px, 4vw, 64px)));
  height: 58px;
  margin-top: 12px;
  padding: 0 8px 0 22px;
  background: linear-gradient(180deg, rgba(255, 253, 250, 0.9) 0%, rgba(244, 238, 230, 0.84) 100%);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  box-shadow:
    0 20px 50px -22px rgba(24, 22, 20, 0.24),
    0 2px 10px -4px rgba(24, 22, 20, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 0 0 1px rgba(24, 22, 20, 0.09);
}

/* Scrolled over Hero: Smoked Obsidian Liquid Glass Capsule */
.ky-header.is-scrolled.is-on-dark .ky-navbar {
  width: min(1260px, calc(100% - clamp(20px, 4vw, 64px)));
  height: 58px;
  margin-top: 12px;
  padding: 0 8px 0 22px;
  background: linear-gradient(160deg, rgba(32, 26, 22, 0.84) 0%, rgba(18, 15, 13, 0.86) 100%);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  box-shadow:
    0 22px 54px -20px rgba(0, 0, 0, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

/* Subtle Terracotta Reading Progress Thread along bottom of scrolled capsule */
.an-nav-progress {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sienna), #d98c68);
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.ky-header.is-scrolled .an-nav-progress {
  opacity: 0.85;
}

.ky-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ky-logo img {
  height: 30px;
  width: auto;
  transition: height 0.3s var(--ease);
}

.ky-header.is-scrolled .ky-logo img {
  height: 27px;
}

.ky-header.is-on-dark .logo-for-paper {
  display: none;
}
.ky-header.is-on-paper .logo-for-dark {
  display: none;
}

/* Nav Track with Elastic Liquid Glass Glider Pill */
.ky-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.35vw, 6px);
}

.an-nav-glider {
  position: absolute;
  top: 50%;
  left: 0;
  height: 34px;
  width: 0;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transform: translate3d(0, -50%, 0);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.34s var(--ease), width 0.34s var(--ease), opacity 0.22s ease;
}

.ky-header.is-on-paper .an-nav-glider {
  background: rgba(24, 22, 20, 0.055);
  border-color: rgba(24, 22, 20, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.an-nav-glider.is-visible {
  opacity: 1;
}

.ky-nav-item {
  position: relative;
  z-index: 2;
}

.ky-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 clamp(8px, 0.72vw, 12px);
  border-radius: var(--r-pill);
  font-size: 0.825rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  opacity: 0.84;
  white-space: nowrap;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.ky-nav-link:hover,
.ky-nav-link.is-active {
  opacity: 1;
}

.ky-header.is-on-paper .ky-nav-link.is-active {
  color: var(--ink-strong);
  font-weight: 600;
}

.ky-nav-link--kids {
  font-weight: 600;
}

.an-kids-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e9ab84;
  flex-shrink: 0;
}

.ky-header.is-on-paper .an-kids-dot {
  background: var(--sienna);
}

.ky-nav-chev {
  width: 11px;
  height: 11px;
  opacity: 0.6;
  transition: transform 0.24s ease;
}

.ky-nav-item:hover .ky-nav-chev,
.ky-nav-item.is-open .ky-nav-chev {
  transform: rotate(180deg);
}

.ky-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 256px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 253, 250, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 28px 64px -20px rgba(24, 22, 20, 0.26);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s var(--ease), visibility 0.24s;
}

.ky-nav-item:hover .ky-dropdown,
.ky-nav-item.is-open .ky-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.ky-dropdown-mega {
  min-width: 540px;
  padding: 18px;
}

.ky-dropdown-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sienna);
}

.ky-dropdown-title a {
  color: var(--ink);
  text-decoration: underline;
}

.ky-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 12px;
}

.ky-dropdown-list {
  display: grid;
  gap: 2px;
}

.ky-dropdown-link {
  display: block;
  padding: 8px 11px;
  border-radius: 10px;
  font-size: 0.84rem;
  color: var(--ink-soft);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.ky-dropdown-link:hover {
  background: var(--stone);
  color: var(--ink-strong);
}

.ky-dropdown-link-highlight {
  font-weight: 600;
  color: var(--ink-strong);
  margin-bottom: 4px;
}

.ky-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Compact Live Concierge Quick-Reopen Pill (Appears when Scrolled) */
.an-nav-concierge-btn {
  display: none;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--stone);
  color: var(--ink);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ky-header.is-on-dark .an-nav-concierge-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--bone);
}

.ky-header.is-scrolled:not(.has-island-open) .an-nav-concierge-btn {
  display: inline-flex;
}

.an-nav-concierge-btn:hover {
  border-color: var(--sienna);
  transform: translateY(-1px);
}

/* Sculpted Inset-Disc CTA Pill (Adapted from AnimatedWebs Pro atd-modern__cta) */
.ky-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 5px 0 18px;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  background: linear-gradient(180deg, #b85c38 0%, #974829 100%);
  color: #fff;
  box-shadow:
    0 12px 26px -12px rgba(168, 84, 50, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.24s var(--ease), box-shadow 0.24s ease, filter 0.2s ease;
}

.an-cta-disc {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 250, 245, 0.2);
  display: inline-grid;
  place-items: center;
  transition: transform 0.26s var(--ease), background-color 0.24s ease;
}

.an-cta-disc svg {
  width: 13px;
  height: 13px;
}

.ky-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 16px 32px -12px rgba(168, 84, 50, 0.88),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  filter: brightness(1.04);
}

.ky-nav-cta:hover .an-cta-disc {
  background: rgba(255, 250, 245, 0.34);
  transform: translateX(2px);
}

.ky-burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  place-items: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.ky-header.is-on-paper .ky-burger {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.75);
}

.ky-burger svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1180px) {
  .ky-nav {
    display: none;
  }
  .ky-burger {
    display: inline-grid;
  }
}

@media (max-width: 720px) {
  .ky-navbar {
    width: calc(100% - 24px);
    height: 60px;
    padding: 0 2px;
  }
  .ky-header.is-scrolled.is-on-paper .ky-navbar,
  .ky-header.is-scrolled.is-on-dark .ky-navbar {
    width: calc(100% - 24px);
    height: 54px;
    margin-top: 10px;
    padding: 0 7px 0 15px;
  }
  .ky-logo img {
    height: 26px;
  }
  .an-nav-concierge-btn span:last-child {
    display: none;
  }
  .an-nav-concierge-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    justify-content: center;
  }
  .ky-nav-cta {
    height: 36px;
    padding: 0 4px 0 13px;
    gap: 7px;
    font-size: 0.75rem;
  }
  .an-cta-disc {
    width: 28px;
    height: 28px;
  }
  .ky-burger {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 400px) {
  .ky-nav-cta span:first-child {
    display: none;
  }
  .ky-nav-cta {
    padding: 0 4px;
  }
}

/* Mobile Navigation Drawer */
.ky-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(22, 20, 18, 0.56);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s;
}
.ky-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.ky-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(390px, 100%);
  z-index: 310;
  background: var(--cream);
  color: var(--ink);
  padding: 24px 24px 36px;
  overflow-y: auto;
  transform: translateX(104%);
  transition: transform 0.42s var(--ease);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.2);
}
.ky-drawer.is-open {
  transform: translateX(0);
}

.ky-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.ky-drawer-head img {
  height: 28px;
}
.ky-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
}
.ky-drawer-close svg {
  width: 16px;
  height: 16px;
}

.ky-drawer-body {
  padding-top: 12px;
}

.ky-drawer-menu {
  margin-bottom: 24px;
}

.ky-drawer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.ky-drawer-menu a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-serif);
  font-size: 1.32rem;
  color: var(--ink-strong);
}

.ky-drawer-tog {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
}

.ky-drawer-sub {
  display: none;
  padding: 4px 0 12px 14px;
}
.ky-drawer-sub.is-open {
  display: grid;
  gap: 2px;
}
.ky-drawer-sub a {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 6px 0;
  color: var(--ink-soft);
}

.ky-drawer-ctas {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.ky-drawer-meta {
  display: grid;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--ink-soft);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   HERO: FULL-BLEED 35MM EDITORIAL + WEBGL FLUTED-GLASS PRISM REFRACTION
   (Function Health 1470/media_1.webp Architecture)
   ========================================================================== */
.an-hero {
  position: relative;
  min-height: clamp(690px, 100svh, 960px);
  display: flex;
  align-items: flex-end;
  background: var(--obsidian);
  color: var(--bone);
  overflow: hidden;
  padding: 164px 0 clamp(44px, 5.5vw, 72px);
}

.an-hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
  z-index: 0;
}

#aw-prism-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.6s ease;
}

#aw-prism-canvas.is-ready {
  opacity: 1;
}

.an-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(96deg, rgba(20, 17, 14, 0.72) 0%, rgba(20, 17, 14, 0.36) 44%, rgba(20, 17, 14, 0.08) 76%, rgba(20, 17, 14, 0.22) 100%),
    linear-gradient(180deg, rgba(20, 17, 14, 0.38) 0%, transparent 26%, transparent 62%, rgba(20, 17, 14, 0.68) 100%);
}

.an-hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.65fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}

.an-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 242, 235, 0.8);
  margin-bottom: 20px;
}

.an-hero-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: #e4ab89;
}

.an-hero h1 {
  font-size: clamp(2.85rem, 6.1vw, 5.25rem);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: #faf7f2;
  max-width: 14.5ch;
  margin-bottom: 22px;
}

.an-hero h1 em {
  font-style: italic;
  color: #f0be9d;
}

.an-hero-lead {
  font-size: clamp(0.98rem, 1.15vw, 1.1rem);
  line-height: 1.7;
  color: rgba(246, 242, 235, 0.84);
  max-width: 48ch;
  margin-bottom: 30px;
}

.an-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Function Bottom-Right Airy Hairline Metrics */
.an-hero-metrics {
  display: grid;
  gap: 18px;
  justify-self: end;
  width: 100%;
  max-width: 320px;
}

.an-hero-metric {
  padding-top: 14px;
  border-top: 1px solid rgba(246, 242, 235, 0.24);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.an-hero-metric strong {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 400;
  color: #faf7f2;
  letter-spacing: -0.02em;
}

.an-hero-metric span {
  font-size: 0.78rem;
  color: rgba(246, 242, 235, 0.74);
  text-align: right;
}

@media (max-width: 960px) {
  .an-hero {
    min-height: 700px;
    padding-top: 148px;
  }
  .an-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .an-hero-metrics {
    justify-self: start;
    max-width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .an-hero-metric {
    flex-direction: column;
    gap: 4px;
  }
  .an-hero-metric span {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .an-hero {
    padding-bottom: 88px;
  }
  .an-hero-metrics {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .an-hero-metric {
    flex-direction: row;
    justify-content: space-between;
  }
  .ky-float-wa {
    width: 46px;
    height: 46px;
    right: 16px;
    bottom: 16px;
  }
  .ky-back-top {
    width: 40px;
    height: 40px;
    right: 19px;
    bottom: 72px;
  }
}

/* ==========================================================================
   CHAPTER 01: FUNCTION × IN COMMON WITH × KOBU EDITORIAL PHILOSOPHY
   & INTERACTIVE 4-CHAPTER LIQUID GLASS SANCTUARY STAGE
   ========================================================================== */
.an-approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: start;
  margin-bottom: clamp(44px, 5.5vw, 72px);
}

.an-mission-statement {
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 4.1vw, 3.65rem);
  font-weight: 300;
  line-height: 1.09;
  letter-spacing: -0.028em;
  color: var(--ink-strong);
  max-width: 19ch;
  margin-bottom: 28px;
}

.an-motto-card {
  margin: 0;
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--stone);
  border-left: 3px solid var(--sienna);
  max-width: 48ch;
}

.an-motto-card p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.16rem;
  line-height: 1.44;
  color: var(--ink-strong);
  margin-bottom: 6px;
}

.an-motto-card footer {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.an-approach-right {
  padding-top: 26px;
}

.an-approach-lead {
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--ink-strong);
  font-weight: 500;
  margin-bottom: 16px;
}

.an-approach-body {
  font-size: 0.96rem;
  line-height: 1.74;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.an-approach-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 20px 0 24px;
  margin-bottom: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.an-approach-stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 400;
  color: var(--sienna);
  line-height: 1.1;
  margin-bottom: 4px;
}

.an-approach-stats span {
  display: block;
  font-size: 0.76rem;
  color: var(--ink-muted);
  line-height: 1.35;
}

/* Interactive 4-Chapter Architectural Sanctuary Cinema Stage */
.an-sanctuary-stage {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: clamp(500px, 60vh, 650px);
  background: var(--obsidian);
  color: var(--bone);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 32px 80px -30px rgba(24, 22, 20, 0.34);
}

.an-sanctuary-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.an-sanctuary-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.07);
  transition: opacity 0.85s var(--ease), transform 1.25s var(--ease);
}

.an-sanctuary-media img.is-active {
  opacity: 1;
  transform: scale(1);
}

.an-sanctuary-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(16, 14, 12, 0.56) 0%, rgba(16, 14, 12, 0.12) 34%, rgba(16, 14, 12, 0.24) 60%, rgba(16, 14, 12, 0.84) 100%),
    linear-gradient(96deg, rgba(16, 14, 12, 0.52) 0%, rgba(16, 14, 12, 0.14) 55%, transparent 100%);
}

.an-sanctuary-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(20px, 3vw, 34px) 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.an-sc-counter {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f4cbb0;
}

.an-sc-top-right {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.an-sc-coords {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(246, 242, 235, 0.72);
}

.an-sc-arrows {
  display: inline-flex;
  gap: 8px;
}

.an-sc-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(20, 17, 14, 0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--bone);
  display: inline-grid;
  place-items: center;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.an-sc-arrow svg {
  width: 14px;
  height: 14px;
}

.an-sc-arrow:hover {
  background: var(--cream);
  color: var(--ink-strong);
  border-color: var(--cream);
}

/* Floating Liquid Glass Pillar Narrative Card */
.an-sanctuary-mid {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 3.5vw, 44px) clamp(20px, 3vw, 34px);
  margin-top: auto;
}

.an-sc-glass-card {
  max-width: 500px;
  padding: clamp(22px, 2.8vw, 30px);
  border-radius: 22px;
  background: linear-gradient(158deg, rgba(255, 250, 244, 0.16) 0%, rgba(22, 18, 15, 0.68) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 24px 60px -20px rgba(0, 0, 0, 0.68),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(26px) saturate(185%);
  -webkit-backdrop-filter: blur(26px) saturate(185%);
}

.an-sc-pane[hidden] {
  display: none;
}

.an-sc-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f4cbb0;
  margin-bottom: 10px;
}

.an-sc-pane h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  color: #faf7f2;
  margin-bottom: 10px;
}

.an-sc-pane p {
  font-size: 0.92rem;
  line-height: 1.66;
  color: rgba(246, 242, 235, 0.86);
  margin-bottom: 16px;
}

.an-sc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.an-sc-chips span {
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.72rem;
  font-weight: 500;
  color: #faf7f2;
}

.an-sc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #f4cbb0;
  transition: color 0.2s ease, gap 0.24s var(--ease);
}

.an-sc-link svg {
  width: 14px;
  height: 14px;
}

.an-sc-link:hover {
  color: #fff;
  gap: 12px;
}

/* KOBU Bottom 4-Pillar Editorial Progress Strip */
.an-sanctuary-tabs {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(16, 14, 12, 0.56);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.an-sc-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px clamp(16px, 2vw, 26px);
  text-align: left;
  color: rgba(246, 242, 235, 0.62);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.24s ease, background-color 0.24s ease;
}

.an-sc-tab:last-child {
  border-right: 0;
}

.an-sc-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.an-sc-tab.is-active {
  color: #faf7f2;
  background: rgba(255, 255, 255, 0.08);
}

.an-sc-tab-bar {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  overflow: hidden;
}

.an-sc-tab-bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #e09670, #f4cbb0);
  transform-origin: left center;
  transform: scaleX(0);
}

.an-sc-tab.is-active .an-sc-tab-bar span {
  animation: anSanctuaryProg 6.5s linear forwards;
}

.an-sanctuary-stage.is-paused .an-sc-tab.is-active .an-sc-tab-bar span {
  animation-play-state: paused;
}

@keyframes anSanctuaryProg {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.an-sc-tab-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #e4ab89;
  opacity: 0.75;
}

.an-sc-tab.is-active .an-sc-tab-num {
  opacity: 1;
}

.an-sc-tab strong {
  font-family: var(--font-serif);
  font-size: 1.04rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

@media (max-width: 1024px) {
  .an-approach-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .an-approach-right {
    padding-top: 0;
  }
  .an-sanctuary-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .an-sc-tab {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 680px) {
  .an-sc-coords {
    display: none;
  }
  .an-sanctuary-stage {
    min-height: 540px;
    border-radius: var(--r-lg);
  }
  .an-sanctuary-top {
    padding: 16px 18px 14px;
  }
  .an-sanctuary-mid {
    padding: 18px;
  }
  .an-sc-glass-card {
    padding: 20px;
    border-radius: 18px;
  }
  .an-sanctuary-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .an-sc-tab {
    padding: 13px 14px;
    gap: 8px;
  }
  .an-sc-tab strong {
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   CHAPTER 02: ARCHITECTURAL SILKFOLD ATELIER × JOURNEY RAIL × TOPO-DRIFT
   (AnimatedWebs Pro Silkfold WebGL + 4-Step Architectural Spine + Topo Drift)
   ========================================================================== */
#bento-yaklasim .an-sec-head {
  margin-bottom: clamp(28px, 3vw, 40px);
}

/* Shared AnimatedWebs Pro Prism Cards Cursor Spotlight & Glowing Edge */
[data-prism-card] {
  position: relative;
  transition: transform 0.42s var(--ease), box-shadow 0.36s var(--ease);
  will-change: transform;
}

[data-prism-card]::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  z-index: 6;
  opacity: var(--po, 0);
  transition: opacity 0.32s ease;
  background: radial-gradient(300px circle at var(--pmx, 50%) var(--pmy, 50%), rgba(244, 203, 176, 0.85), rgba(168, 84, 50, 0.36) 45%, transparent 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* ACT 1: FULL-WIDTH LIVING WEBGL SILKFOLD COMPASS STAGE */
.an-silk-stage {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  isolation: isolate;
  background: #1c0e0a;
  color: var(--bone);
  box-shadow: 0 38px 86px -34px rgba(24, 14, 10, 0.56);
  margin-bottom: 22px;
}

.an-silk-fallback,
.an-silk-canvas,
.an-silk-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.an-silk-fallback {
  z-index: 0;
  background:
    radial-gradient(110% 70% at 80% 18%, rgba(255, 224, 200, 0.34), transparent 56%),
    linear-gradient(122deg, transparent 16%, rgba(255, 224, 204, 0.16) 24%, transparent 31%, rgba(16, 8, 5, 0.42) 42%, transparent 50%, rgba(255, 224, 204, 0.14) 60%, transparent 69%),
    linear-gradient(155deg, #74361f 0%, #3d1b10 48%, #1c0e0a 100%);
}

.an-silk-canvas {
  z-index: 1;
  display: block;
}

.an-silk-stage.is-no-gl .an-silk-canvas {
  display: none;
}

.an-silk-scrim {
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(16, 9, 7, 0.64) 0%, rgba(16, 9, 7, 0.22) 52%, rgba(16, 9, 7, 0.36) 100%),
    linear-gradient(180deg, rgba(16, 9, 7, 0.2) 0%, transparent 40%, rgba(16, 9, 7, 0.46) 100%);
}

.an-silk-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(22px, 3vw, 44px);
  padding: clamp(24px, 3.2vw, 42px);
  align-items: center;
  min-height: 500px;
}

/* Left Architectural 6-Unit Index Rail */
.an-silk-rail {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.an-silk-rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.an-silk-rail-head .an-kicker {
  margin-bottom: 0;
}

.an-silk-counter {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(250, 247, 242, 0.72);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}

.an-silk-tabs {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.an-silk-tab {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 16px;
  text-align: left;
  color: rgba(246, 242, 235, 0.78);
  background: rgba(250, 247, 242, 0.06);
  border: 1px solid rgba(250, 247, 242, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.28s var(--ease), background-color 0.24s ease, border-color 0.24s ease, color 0.22s ease, box-shadow 0.28s ease;
}

.an-silk-tab:hover {
  color: #fff;
  background: rgba(250, 247, 242, 0.13);
  border-color: rgba(250, 247, 242, 0.26);
  transform: translateX(4px);
}

.an-silk-tab.is-active {
  color: var(--ink-strong);
  background: linear-gradient(180deg, #fffdf9 0%, #f3ece2 100%);
  border-color: rgba(255, 255, 255, 0.92);
  transform: translateX(6px);
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.65);
}

.an-silk-tab-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #f4cbb0;
  font-variant-numeric: tabular-nums;
}

.an-silk-tab.is-active .an-silk-tab-num {
  color: var(--sienna);
}

.an-silk-tab-name {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.an-silk-tab-meta {
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(250, 247, 242, 0.78);
  white-space: nowrap;
}

.an-silk-tab.is-active .an-silk-tab-meta {
  background: rgba(168, 84, 50, 0.12);
  color: var(--sienna);
}

.an-silk-hint {
  font-size: 0.77rem;
  line-height: 1.5;
  color: rgba(246, 242, 235, 0.62);
  padding-top: 4px;
}

/* Right Floating Liquid Glass Showcase Monolith over Living Silk */
.an-silk-glass {
  padding: clamp(24px, 3vw, 38px);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(255, 250, 244, 0.16) 0%, rgba(24, 15, 11, 0.56) 100%);
  border: 1px solid rgba(255, 244, 234, 0.24);
  box-shadow:
    0 30px 68px -22px rgba(0, 0, 0, 0.66),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(28px) saturate(185%);
  -webkit-backdrop-filter: blur(28px) saturate(185%);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.an-silk-glass-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.an-bc-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #f4cbb0;
  margin-bottom: 10px;
}

.an-silk-glass h3 {
  font-size: clamp(1.65rem, 2.5vw, 2.32rem);
  line-height: 1.08;
  color: #faf7f2;
  max-width: 18ch;
}

.an-silk-plaque {
  flex-shrink: 0;
  min-width: 126px;
  padding: 14px 18px;
  border-radius: 18px;
  text-align: center;
  background: rgba(255, 250, 244, 0.1);
  border: 1px solid rgba(255, 244, 234, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.an-silk-metric {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.025em;
  color: #faf7f2;
  margin-bottom: 5px;
  white-space: nowrap;
}

.an-silk-metric-sub {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f4cbb0;
}

.an-silk-desc {
  font-size: 0.96rem;
  line-height: 1.66;
  color: rgba(246, 242, 235, 0.88);
  max-width: 54ch;
}

.an-silk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.an-silk-chips span {
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: rgba(255, 250, 244, 0.1);
  border: 1px solid rgba(255, 244, 234, 0.18);
  font-size: 0.74rem;
  font-weight: 500;
  color: #faf7f2;
}

.an-silk-roster {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(16, 10, 8, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.an-bc-avatars {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.an-bc-avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
  border: 2px solid #2b150e;
  margin-left: -8px;
}

.an-bc-avatars img:first-child {
  margin-left: 0;
}

.an-silk-roster-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.an-silk-roster-copy strong {
  font-size: 0.84rem;
  font-weight: 600;
  color: #faf7f2;
}

.an-silk-roster-copy span {
  font-size: 0.75rem;
  color: rgba(246, 242, 235, 0.72);
}

.an-silk-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 4px;
}

.an-silk-secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f4cbb0;
  transition: color 0.2s ease, gap 0.24s var(--ease);
}

.an-silk-secondary svg {
  width: 14px;
  height: 14px;
}

.an-silk-secondary:hover {
  color: #fff;
  gap: 11px;
}

/* ACT 2A: ARCHITECTURAL JOURNEY ATELIER (AnimatedWebs Pro Stepline × Visual Stage) */
.an-journey-atelier {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 3.2vw, 44px);
  align-items: stretch;
  border-radius: 30px;
  padding: clamp(24px, 3vw, 38px);
  background: linear-gradient(180deg, #f5f0e8 0%, #efe8dc 100%);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -34px rgba(24, 22, 20, 0.16);
  margin-bottom: 22px;
}

.an-ja-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.an-ja-head {
  margin-bottom: 24px;
}

.an-ja-head .an-kicker {
  margin-bottom: 8px;
}

.an-ja-head h3 {
  font-size: clamp(1.55rem, 2.35vw, 2.15rem);
  line-height: 1.08;
  color: var(--ink-strong);
}

.an-ja-head h3 em {
  color: var(--sienna);
}

/* AnimatedWebs Pro Stepline Vertical Connected Spine */
.an-ja-steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.an-ja-spine {
  position: absolute;
  left: 29px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: rgba(24, 22, 20, 0.12);
  border-radius: 2px;
  overflow: hidden;
  pointer-events: none;
}

.an-ja-spine-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--sienna), #d98c68);
  transform-origin: 50% 0;
  transform: scaleY(0);
  transition: transform 0.44s var(--ease);
}

.an-ja-item {
  position: relative;
  z-index: 2;
}

.an-ja-btn {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 12px 14px 12px 10px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  transition: background-color 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.an-ja-btn:hover {
  background: rgba(255, 253, 250, 0.56);
}

.an-ja-item.is-active .an-ja-btn {
  background: var(--cream-elev);
  border-color: rgba(168, 84, 50, 0.26);
  box-shadow: 0 18px 40px -24px rgba(24, 22, 20, 0.22);
}

.an-ja-dot {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cream-elev);
  border: 2px solid rgba(24, 22, 20, 0.16);
  color: var(--ink-muted);
  transition: background-color 0.26s ease, border-color 0.26s ease, color 0.26s ease, box-shadow 0.26s ease;
}

.an-ja-dot-num {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.an-ja-dot-chk {
  display: none;
  width: 16px;
  height: 16px;
}

.an-ja-item.is-active .an-ja-dot {
  border-color: var(--sienna);
  color: var(--sienna);
  box-shadow: 0 0 0 5px rgba(168, 84, 50, 0.14);
}

.an-ja-item.is-done .an-ja-dot {
  background: var(--sienna);
  border-color: var(--sienna);
  color: #fff;
}

.an-ja-item.is-done .an-ja-dot-num {
  display: none;
}

.an-ja-item.is-done .an-ja-dot-chk {
  display: block;
}

.an-ja-copy {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.an-ja-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.an-ja-row strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.22s ease;
}

.an-ja-item.is-active .an-ja-row strong,
.an-ja-item.is-done .an-ja-row strong {
  color: var(--ink-strong);
}

.an-ja-time {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(24, 22, 20, 0.055);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
  transition: background-color 0.22s ease, color 0.22s ease;
}

.an-ja-item.is-active .an-ja-time {
  background: rgba(168, 84, 50, 0.12);
  color: var(--sienna);
}

.an-ja-desc-wrap {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.36s var(--ease), opacity 0.26s ease, margin-top 0.3s ease;
}

.an-ja-item.is-active .an-ja-desc-wrap {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 7px;
}

.an-ja-desc {
  overflow: hidden;
  display: block;
  font-size: 0.85rem;
  line-height: 1.56;
  color: var(--ink-soft);
}

.an-ja-mob-caption {
  display: none;
}

/* Right Depth-Stacked Cinematic Visual Stage */
.an-ja-stage-wrap {
  position: relative;
  display: flex;
  min-width: 0;
  max-width: 100%;
  padding: 6px 8px 6px 0;
}

.an-ja-stage-wrap::before,
.an-ja-stage-wrap::after {
  content: "";
  position: absolute;
  border-radius: 24px;
  pointer-events: none;
}

.an-ja-stage-wrap::before {
  inset: 16px 0 16px 14px;
  background: rgba(168, 84, 50, 0.12);
  border: 1px solid rgba(168, 84, 50, 0.16);
}

.an-ja-stage-wrap::after {
  inset: 10px 4px 10px 8px;
  background: rgba(255, 253, 250, 0.72);
  border: 1px solid var(--line);
}

.an-ja-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 430px;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  background: var(--obsidian);
  color: var(--bone);
  box-shadow: 0 32px 68px -28px rgba(24, 16, 12, 0.56);
}

.an-ja-bg-stack,
.an-ja-bg,
.an-ja-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.an-ja-bg {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.07);
  transition: opacity 0.65s var(--ease), transform 1.2s var(--ease);
}

.an-ja-bg.is-active {
  opacity: 1;
  transform: scale(1);
}

.an-ja-scrim {
  background:
    linear-gradient(180deg, rgba(16, 13, 10, 0.48) 0%, rgba(16, 13, 10, 0.16) 44%, rgba(16, 13, 10, 0.84) 100%);
}

.an-ja-stage-top,
.an-ja-panes {
  position: relative;
  z-index: 3;
}

.an-ja-stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.an-ja-pill {
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: rgba(20, 16, 13, 0.48);
  border: 1px solid rgba(255, 248, 240, 0.26);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: #f4cbb0;
  white-space: nowrap;
}

.an-ja-arrows {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.an-ja-arr {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #faf7f2;
  background: rgba(20, 16, 13, 0.46);
  border: 1px solid rgba(255, 248, 240, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color 0.22s ease, color 0.22s ease, transform 0.2s ease;
}

.an-ja-arr svg {
  width: 15px;
  height: 15px;
}

.an-ja-arr:hover {
  background: var(--cream);
  color: var(--ink-strong);
  transform: scale(1.04);
}

/* Floating Liquid Glass Interactive Artifact Card inside Stage */
.an-ja-glass {
  padding: 20px 22px;
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(255, 250, 244, 0.18) 0%, rgba(18, 14, 11, 0.72) 100%);
  border: 1px solid rgba(255, 248, 240, 0.24);
  box-shadow:
    0 24px 54px -20px rgba(0, 0, 0, 0.68),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(26px) saturate(185%);
  -webkit-backdrop-filter: blur(26px) saturate(185%);
  animation: anJaFade 0.38s var(--ease);
}

.an-ja-glass[hidden] {
  display: none;
}

@keyframes anJaFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.an-ja-g-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #f4cbb0;
  margin-bottom: 7px;
}

.an-ja-glass h4 {
  font-family: var(--font-serif);
  font-size: clamp(1.28rem, 1.8vw, 1.56rem);
  font-weight: 400;
  line-height: 1.15;
  color: #faf7f2;
  margin-bottom: 14px;
}

/* Artifact 01: Live Channels */
.an-ja-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.an-ja-chan {
  padding: 11px 13px;
  border-radius: 13px;
  background: rgba(255, 250, 244, 0.1);
  border: 1px solid rgba(255, 248, 240, 0.18);
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: background-color 0.22s ease, border-color 0.22s ease;
}

.an-ja-chan:hover {
  background: rgba(255, 250, 244, 0.18);
  border-color: rgba(244, 203, 176, 0.55);
}

.an-ja-chan strong {
  font-size: 0.84rem;
  font-weight: 600;
  color: #fff;
}

.an-ja-chan span {
  font-size: 0.72rem;
  color: rgba(246, 242, 235, 0.76);
}

/* Artifact 02: Specialist Match Roster */
.an-ja-match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.an-ja-match-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.an-ja-match-tags span {
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 250, 244, 0.12);
  border: 1px solid rgba(255, 248, 240, 0.18);
  font-size: 0.71rem;
  font-weight: 500;
  color: #faf7f2;
}

/* Artifact 03: First Session 3-Part Rhythm */
.an-ja-rhythm {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.an-ja-rhythm div {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 250, 244, 0.1);
  border: 1px solid rgba(255, 248, 240, 0.16);
}

.an-ja-rhythm b {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: #f4cbb0;
  margin-bottom: 2px;
}

.an-ja-rhythm span {
  font-size: 0.74rem;
  color: #faf7f2;
}

/* Artifact 04: Progress Cadence Bars */
.an-ja-bars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
  height: 62px;
  margin-bottom: 12px;
}

.an-ja-bars span {
  position: relative;
  height: var(--h, 50%);
  border-radius: 10px 10px 5px 5px;
  background: rgba(255, 250, 244, 0.16);
  border: 1px solid rgba(255, 248, 240, 0.22);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 5px;
}

.an-ja-bars span.is-peak {
  background: linear-gradient(180deg, rgba(217, 140, 104, 0.75) 0%, rgba(168, 84, 50, 0.85) 100%);
  border-color: rgba(244, 203, 176, 0.6);
}

.an-ja-bars b {
  font-size: 0.66rem;
  font-weight: 600;
  color: #faf7f2;
}

.an-ja-g-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 248, 240, 0.16);
  font-size: 0.76rem;
  color: rgba(246, 242, 235, 0.76);
}

.an-ja-g-foot a {
  font-weight: 600;
  color: #f4cbb0;
}

.an-ja-g-foot a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ACT 2B: BALANCED 50 / 50 SCULPTURAL PROOF MONOLITHS */
.an-proof-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

/* Left Monolith: Architectural Acoustic Sanctuary + Liquid Glass Manifesto */
.an-proof-privacy {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  color: #fff;
  background: var(--obsidian);
}

.an-proof-privacy img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease);
}

.an-proof-privacy:hover img {
  transform: scale(1.05);
}

.an-proof-privacy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 16, 13, 0.32) 0%, rgba(20, 16, 13, 0.14) 44%, rgba(20, 16, 13, 0.78) 100%);
}

.an-bento-photo-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.an-bento-corner-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(250, 247, 242, 0.18);
  border: 1px solid rgba(250, 247, 242, 0.34);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: inline-grid;
  place-items: center;
  transition: background-color 0.24s ease, color 0.24s ease, transform 0.24s var(--ease);
}

.an-bento-corner-arrow svg {
  width: 15px;
  height: 15px;
}

.an-proof-privacy:hover .an-bento-corner-arrow {
  background: var(--cream);
  color: var(--ink-strong);
  transform: translateX(3px);
}

.an-glass-chip {
  display: inline-block;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: rgba(24, 18, 15, 0.44);
  border: 1px solid rgba(250, 247, 242, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.an-proof-privacy-glass {
  position: relative;
  z-index: 2;
  padding: 20px 22px;
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(255, 250, 244, 0.16) 0%, rgba(18, 14, 11, 0.68) 100%);
  border: 1px solid rgba(255, 248, 240, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(22px) saturate(175%);
  -webkit-backdrop-filter: blur(22px) saturate(175%);
}

.an-proof-privacy-glass h3 {
  font-size: clamp(1.36rem, 1.8vw, 1.68rem);
  color: #fff;
  margin-bottom: 6px;
}

.an-proof-privacy-glass p {
  font-size: 0.85rem;
  line-height: 1.56;
  color: rgba(246, 242, 235, 0.86);
}

/* Right Monolith: AnimatedWebs Pro Topo Drift Live Contour Canvas + Interactive Scales */
.an-proof-topo {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 360px;
  background: #171311;
  color: var(--bone);
  border: 1px solid rgba(255, 240, 226, 0.1);
  box-shadow: 0 30px 64px -30px rgba(24, 16, 12, 0.52);
}

.an-topo-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  opacity: 0.88;
}

.an-proof-topo-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: clamp(24px, 2.8vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background: radial-gradient(90% 80% at 80% 10%, rgba(168, 84, 50, 0.14), rgba(23, 19, 17, 0.42) 72%);
}

.an-topo-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.an-topo-num {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 3.6vw, 3.2rem);
  font-weight: 300;
  line-height: 0.96;
  color: #f4cbb0;
  margin-bottom: 6px;
}

.an-proof-topo h3 {
  font-size: clamp(1.32rem, 1.8vw, 1.62rem);
  color: #faf7f2;
}

.an-topo-badge {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 250, 244, 0.08);
  border: 1px solid rgba(244, 203, 176, 0.24);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: #f4cbb0;
  white-space: nowrap;
}

.an-topo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.an-topo-chip {
  padding: 7px 13px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(250, 247, 242, 0.18);
  background: rgba(250, 247, 242, 0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(246, 242, 235, 0.84);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.an-topo-chip:hover {
  border-color: rgba(244, 203, 176, 0.6);
  color: #fff;
}

.an-topo-chip.is-active {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink-strong);
}

.an-topo-readout-box {
  padding: 15px 18px;
  border-radius: 16px;
  background: rgba(18, 14, 12, 0.62);
  border: 1px solid rgba(255, 244, 234, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.an-topo-age {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #f4cbb0;
  margin-bottom: 5px;
}

.an-topo-readout {
  font-size: 0.84rem;
  line-height: 1.56;
  color: rgba(246, 242, 235, 0.86);
  min-height: 42px;
}

.an-topo-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 244, 234, 0.14);
  font-size: 0.85rem;
  font-weight: 600;
  color: #f4cbb0;
  transition: color 0.2s ease;
}

.an-topo-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.24s var(--ease);
}

.an-topo-link:hover {
  color: #fff;
}

.an-topo-link:hover svg {
  transform: translateX(4px);
}

/* Responsive Tablet & Mobile Section 02 */
@media (max-width: 1024px) {
  .an-silk-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 0;
  }
  .an-silk-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .an-silk-tab {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 3px;
    padding: 11px 10px;
  }
  .an-silk-tab.is-active,
  .an-silk-tab:hover {
    transform: none;
  }
  .an-silk-tab-num,
  .an-silk-hint {
    display: none;
  }
  .an-silk-tab-name {
    font-size: 0.95rem;
  }
  .an-proof-pair {
    grid-template-columns: 1fr;
  }
}

/* Keep Journey Atelier 2-column split all the way down to 860px (user ~1000px window stays full-scale!) */
@media (max-width: 860px) {
  .an-journey-atelier {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 20px 16px;
    border-radius: 24px;
    overflow: hidden;
  }
  .an-ja-left,
  .an-ja-stage-wrap,
  .an-ja-stage,
  .an-ja-panes {
    min-width: 0;
    max-width: 100%;
  }
  .an-ja-head {
    margin-bottom: 16px;
  }
  .an-ja-steps {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
    margin-bottom: 14px;
    width: 100%;
  }
  .an-ja-spine {
    left: 20px;
    right: 20px;
    top: 19px;
    bottom: auto;
    width: auto;
    height: 2px;
  }
  .an-ja-spine-fill {
    transform-origin: 0 50%;
    transform: scaleX(var(--jp, 0));
  }
  .an-ja-btn {
    padding: 0;
    width: auto;
    border: 0;
    background: transparent !important;
    box-shadow: none !important;
  }
  .an-ja-copy {
    display: none;
  }
  .an-ja-mob-caption {
    display: block;
    width: 100%;
    padding: 14px 15px;
    border-radius: 16px;
    background: var(--cream-elev);
    border: 1px solid var(--line);
  }
  .an-ja-mob-caption strong {
    display: block;
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--ink-strong);
    margin-bottom: 4px;
  }
  .an-ja-mob-caption p {
    font-size: 0.82rem;
    line-height: 1.54;
    color: var(--ink-soft);
  }
  .an-ja-stage-wrap {
    padding: 0;
  }
  .an-ja-stage-wrap::before,
  .an-ja-stage-wrap::after {
    display: none;
  }
  .an-ja-stage {
    min-height: 360px;
    padding: 14px;
    border-radius: 20px;
  }
  .an-ja-stage-top {
    gap: 8px;
  }
  .an-ja-pill {
    font-size: 0.61rem;
    letter-spacing: 0.07em;
    padding: 5px 10px;
    white-space: normal;
    line-height: 1.25;
  }
  .an-ja-arr {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }
  .an-ja-glass {
    padding: 16px;
    border-radius: 16px;
  }
}

@media (max-width: 640px) {
  .an-silk-stage {
    border-radius: 24px;
  }
  .an-silk-grid {
    padding: 18px;
  }
  .an-silk-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .an-silk-glass {
    padding: 20px 18px;
    border-radius: 20px;
    gap: 16px;
  }
  .an-silk-glass-top {
    flex-direction: column;
    gap: 14px;
  }
  .an-silk-plaque {
    display: flex;
    align-items: baseline;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    text-align: left;
  }
  .an-silk-metric {
    margin-bottom: 0;
    font-size: 1.55rem;
  }
  .an-silk-roster {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .an-silk-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .an-silk-actions .an-btn {
    justify-content: center;
  }
  .an-silk-secondary {
    justify-content: center;
  }
  .an-ja-channels,
  .an-ja-rhythm {
    grid-template-columns: 1fr;
  }
  .an-proof-privacy,
  .an-proof-topo {
    border-radius: 24px;
    min-height: 320px;
  }
}

/* ==========================================================================
   CHAPTER 03: ANIMATEDWEBS PRO PERSPECTIVE EDITORIAL FILMSTRIP RAIL
   (Looping Spatial Depth Curve + Dynamic Optical Focus + Live Inspector Bar)
   ========================================================================== */
.an-showcase-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.an-fs-play-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--cream-elev);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.an-fs-play-toggle:hover {
  border-color: var(--sienna);
  color: var(--ink-strong);
}

.an-fs-play-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sienna);
  box-shadow: 0 0 0 0 rgba(168, 84, 50, 0.45);
  animation: anFsLivePulse 2.2s ease-out infinite;
}

.an-fs-play-toggle.is-paused {
  background: var(--stone);
  color: var(--ink-muted);
}

.an-fs-play-toggle.is-paused .an-fs-play-dot {
  background: var(--ink-muted);
  animation: none;
  box-shadow: none;
}

@keyframes anFsLivePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(168, 84, 50, 0.5);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(168, 84, 50, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(168, 84, 50, 0);
  }
}

.an-fs-shell {
  border-radius: 30px;
  overflow: hidden;
  background: #e9e0d2;
  border: 1px solid rgba(24, 22, 20, 0.1);
  box-shadow: 0 32px 76px -36px rgba(28, 20, 14, 0.32);
  margin-bottom: clamp(52px, 6vw, 80px);
}

/* Perspective Gallery Stage (AnimatedWebs Pro Character Filmstrip Architecture) */
.an-fs-stage {
  --pointer-x: 50%;
  position: relative;
  width: 100%;
  height: clamp(440px, 43vw, 512px);
  overflow: hidden;
  isolation: isolate;
  perspective: 1600px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  background:
    linear-gradient(90deg, rgba(64, 48, 30, 0.045) 1px, transparent 1px) 50% 0 / 25% 100%,
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 98px,
      rgba(64, 48, 30, 0.055) 99px,
      transparent 100px
    ),
    radial-gradient(circle at var(--pointer-x) 44%, rgba(255, 250, 240, 0.94), transparent 42%),
    linear-gradient(180deg, #eee7da 0%, #e1d6c4 100%);
}

.an-fs-stage.is-dragging {
  cursor: grabbing;
}

/* Archival Paper Grain */
.an-fs-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.24;
  background:
    repeating-radial-gradient(circle at 14% 20%, rgba(68, 48, 28, 0.15) 0 0.5px, transparent 0.7px 4px),
    repeating-radial-gradient(circle at 78% 74%, rgba(255, 255, 255, 0.32) 0 0.5px, transparent 0.8px 5px);
  mix-blend-mode: multiply;
}

/* Soft Warm Gallery Side Vignettes */
.an-fs-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(36, 26, 17, 0.2) 0%,
    transparent 13%,
    transparent 87%,
    rgba(36, 26, 17, 0.2) 100%
  );
}

.an-fs-deck {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform-style: preserve-3d;
}

/* Floating Liquid Glass On-Stage Slider Arrows */
.an-fs-stage-arrow {
  position: absolute;
  top: 50%;
  z-index: 8;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 252, 247, 0.72);
  background: rgba(250, 247, 242, 0.76);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  color: var(--ink-strong);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow:
    0 12px 28px -10px rgba(28, 20, 14, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: transform 0.24s var(--ease-out), background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.an-fs-stage-arrow--prev {
  left: 18px;
}

.an-fs-stage-arrow--next {
  right: 18px;
}

.an-fs-stage-arrow:hover {
  transform: translateY(-50%) scale(1.07);
  background: rgba(255, 253, 249, 0.94);
  border-color: rgba(168, 84, 50, 0.45);
  color: var(--sienna);
}

.an-fs-stage-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.an-fs-stage-arrow svg {
  width: 18px;
  height: 18px;
}

/* Auto-Revolving Copper Progress Hairline */
.an-fs-progress-track {
  position: relative;
  width: 100%;
  height: 3px;
  background: rgba(24, 22, 20, 0.08);
  overflow: hidden;
}

.an-fs-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--sienna) 0%, #d4835c 100%);
  will-change: transform;
}

/* Individual Framed Archival Perspective Plate */
.an-fs-card {
  --focus: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(216px, 20vw, 282px);
  aspect-ratio: 0.75;
  padding: 8px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(47, 34, 19, 0.28);
  background: #f9f4eb;
  color: #f4ece0;
  display: block;
  text-decoration: none;
  box-shadow:
    0 calc(12px + var(--focus) * 26px) calc(22px + var(--focus) * 44px)
      rgba(38, 24, 14, calc(0.18 + var(--focus) * 0.28)),
    inset 0 0 0 1px rgba(255, 255, 255, 0.78);
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
  cursor: pointer;
}

.an-fs-card::before {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: 4;
  border-radius: 10px;
  border: 1px solid rgba(28, 20, 14, calc(0.08 + var(--focus) * 0.14));
  pointer-events: none;
}

.an-fs-card[aria-current="true"] {
  border-color: rgba(168, 84, 50, 0.56);
}

.an-fs-photo {
  position: absolute;
  inset: 8px 8px 25%;
  border-radius: 8px 8px 2px 2px;
  overflow: hidden;
  background: #4e4237;
  display: block;
}

.an-fs-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transform: scale(calc(1.02 + (1 - var(--focus)) * 0.08));
  filter:
    sepia(calc((1 - var(--focus)) * 0.28))
    saturate(calc(0.72 + var(--focus) * 0.3))
    contrast(1.03);
  transition: filter 0.24s ease;
}

.an-fs-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: rgba(20, 16, 13, 0.56);
  border: 1px solid rgba(255, 248, 240, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #faf7f2;
  opacity: calc(0.35 + var(--focus) * 0.65);
}

.an-fs-plate {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  height: calc(25% - 8px);
  border-radius: 2px 2px 8px 8px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 8px 12px;
  background: #181512;
  color: #f3eadc;
  text-align: left;
}

.an-fs-num {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(217, 140, 104, 0.72);
  color: #e8a47c;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.26s ease, color 0.26s ease;
}

.an-fs-card[aria-current="true"] .an-fs-num {
  background: var(--sienna);
  border-color: var(--sienna);
  color: #fff;
}

.an-fs-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.an-fs-name {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 1.15vw, 1.14rem);
  font-weight: 400;
  line-height: 1.12;
  color: #faf7f2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.an-fs-sub {
  display: block;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #e8a47c;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Synchronized Editorial Inspector Strip below Perspective Stage */
.an-fs-inspector {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(18px, 2.8vw, 36px);
  align-items: center;
  padding: clamp(22px, 2.6vw, 30px) clamp(22px, 3vw, 36px);
  background: linear-gradient(180deg, #faf7f2 0%, #f4eee4 100%);
  border-top: 1px solid var(--line);
}

.an-fs-ins-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.an-fs-ins-count {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--sienna);
  font-variant-numeric: tabular-nums;
}

.an-fs-ins-pill {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--stone);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--ink-soft);
}

.an-fs-ins-main.is-swapping {
  animation: anFsSwap 0.42s var(--ease-out) both;
}

@keyframes anFsSwap {
  from {
    opacity: 0.42;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.an-fs-ins-main h3 {
  font-size: clamp(1.38rem, 2.1vw, 1.88rem);
  color: var(--ink-strong);
  margin-bottom: 6px;
}

.an-fs-ins-main p {
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--ink-soft);
  max-width: 54ch;
}

.an-fs-ins-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.an-fs-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.an-fs-dot {
  padding: 6px 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.an-fs-dot span {
  font-weight: 700;
  color: var(--ink-muted);
  margin-right: 3px;
}

.an-fs-dot:hover {
  border-color: var(--line-strong);
  color: var(--ink-strong);
}

.an-fs-dot.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.an-fs-dot.is-active span {
  color: #f4cbb0;
}

@media (max-width: 960px) {
  .an-fs-inspector {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .an-fs-ins-side {
    align-items: flex-start;
  }
  .an-fs-dots {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .an-fs-play-toggle {
    padding: 6px 11px;
    font-size: 0.64rem;
  }
  .an-fs-stage-arrow {
    width: 36px;
    height: 36px;
  }
  .an-fs-stage-arrow--prev {
    left: 8px;
  }
  .an-fs-stage-arrow--next {
    right: 8px;
  }
  .an-fs-stage-arrow svg {
    width: 15px;
    height: 15px;
  }
  .an-fs-shell {
    border-radius: 24px;
  }
  .an-fs-stage {
    height: 368px;
  }
  .an-fs-card {
    width: clamp(194px, 55vw, 224px);
    padding: 7px;
  }
  .an-fs-plate {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px;
    padding: 6px 10px;
  }
  .an-fs-num {
    width: 30px;
    height: 30px;
    font-size: 0.64rem;
  }
  .an-fs-inspector {
    padding: 18px 16px;
  }
  .an-fs-ins-side .an-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Universal Category Filter Pills (Subpages: Services, Team, FAQ) */
.ky-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.ky-filter-btn {
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.ky-filter-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.ky-filter-btn.is-active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

/* ==========================================================================
   CHAPTER 03B: SPLIT VISUAL EDITORIAL DIRECTORY + ELASTIC FILTER DOCK + PRISM SPOTLIGHT
   ========================================================================== */
.an-dir-wrap {
  position: relative;
}

.an-dir-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.an-dir-kicker {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--sienna);
  margin-bottom: 8px;
}

.an-dir-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.an-dir-header h3 {
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  color: var(--ink-strong);
  line-height: 1.12;
}

.an-dir-live-count {
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(168, 84, 50, 0.1);
  border: 1px solid rgba(168, 84, 50, 0.22);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--sienna);
  font-variant-numeric: tabular-nums;
}

.an-dir-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--cream-elev);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-strong);
  transition: border-color 0.22s ease, background-color 0.22s ease, color 0.22s ease, transform 0.22s var(--ease-out);
}

.an-dir-all-btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.24s var(--ease-out);
}

.an-dir-all-btn:hover {
  border-color: var(--sienna);
  background: var(--ink);
  color: var(--cream);
}

.an-dir-all-btn:hover svg {
  transform: translateX(3px);
}

/* Elastic Sliding Filter Dock + Instant Search Bar */
.an-dir-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.an-dir-filter-dock {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: var(--r-pill);
  background: rgba(255, 253, 249, 0.78);
  border: 1px solid rgba(24, 22, 20, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 26px -18px rgba(28, 20, 14, 0.22);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.an-dir-filter-dock::-webkit-scrollbar {
  display: none;
}

.an-dir-glider {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  z-index: 1;
  border-radius: var(--r-pill);
  background: var(--ink);
  box-shadow: 0 8px 18px -8px rgba(24, 22, 20, 0.45);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), width 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
  pointer-events: none;
  will-change: transform, width;
}

.an-dir-tab {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  border: 0;
  background: transparent;
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.24s ease;
}

.an-dir-tab span {
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0.62;
  font-variant-numeric: tabular-nums;
}

.an-dir-tab:hover {
  color: var(--ink-strong);
}

.an-dir-tab.is-active {
  color: var(--cream);
}

.an-dir-tab.is-active span {
  color: #f4cbb0;
  opacity: 1;
}

.an-dir-search {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 248px;
  flex: 0 1 300px;
  padding: 10px 15px;
  border-radius: var(--r-pill);
  background: rgba(255, 253, 249, 0.82);
  border: 1px solid rgba(24, 22, 20, 0.11);
  color: var(--ink-muted);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.an-dir-search:focus-within {
  border-color: var(--sienna);
  background: #fffdf9;
  box-shadow: 0 0 0 3px rgba(168, 84, 50, 0.12);
  color: var(--sienna);
}

.an-dir-search svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.an-dir-search input {
  width: 100%;
  border: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--ink-strong);
  outline: none;
}

.an-dir-search input::placeholder {
  color: var(--ink-muted);
}

/* Asymmetric 2-Zone Editorial Atelier Stage (stays 2-col down to 860px) */
.an-dir-stage {
  display: grid;
  grid-template-columns: minmax(310px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(20px, 2.8vw, 34px);
  align-items: start;
}

/* LEFT: Sticky Live Visual Dossier Monolith (Prism Spotlight + Cross-Fade Photography) */
.an-dir-preview {
  position: sticky;
  top: 94px;
  border-radius: 26px;
  overflow: hidden;
  background: #191613;
  color: var(--cream);
  border: 1px solid rgba(255, 248, 238, 0.14);
  box-shadow:
    0 34px 72px -34px rgba(24, 18, 12, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  isolation: isolate;
}

.an-dir-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  pointer-events: none;
  opacity: var(--o, 0);
  transition: opacity 0.32s ease;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(232, 164, 124, 0.14), transparent 62%);
}

.an-dir-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  opacity: var(--o, 0);
  transition: opacity 0.32s ease;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(232, 164, 124, 0.72), rgba(168, 84, 50, 0.25) 45%, transparent 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.an-dir-prev-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #2b241e;
}

.an-dir-prev-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.07);
  transition: opacity 0.56s cubic-bezier(0.22, 1, 0.36, 1), transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.an-dir-prev-img.is-visible {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.an-dir-prev-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(20, 16, 13, 0.34) 0%,
    rgba(20, 16, 13, 0.04) 36%,
    rgba(20, 16, 13, 0.12) 64%,
    rgba(25, 22, 19, 0.88) 100%
  );
}

.an-dir-prev-top,
.an-dir-prev-bottom {
  position: absolute;
  left: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.an-dir-prev-top {
  top: 16px;
}

.an-dir-prev-bottom {
  bottom: 14px;
}

.an-dir-prev-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(20, 16, 13, 0.56);
  border: 1px solid rgba(255, 248, 240, 0.24);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #faf7f2;
}

.an-dir-prev-pill strong {
  color: #f4cbb0;
  font-variant-numeric: tabular-nums;
}

.an-dir-prev-sep {
  opacity: 0.5;
}

.an-dir-prev-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.an-dir-mini-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 248, 240, 0.28);
  background: rgba(20, 16, 13, 0.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #faf7f2;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease-out);
}

.an-dir-mini-btn svg {
  width: 14px;
  height: 14px;
}

.an-dir-mini-btn:hover {
  background: var(--sienna);
  border-color: var(--sienna);
  transform: scale(1.06);
}

.an-dir-prev-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.86);
}

.an-dir-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e8a47c;
  box-shadow: 0 0 0 3px rgba(232, 164, 124, 0.25);
}

.an-dir-prev-dur {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 248, 240, 0.14);
  border: 1px solid rgba(255, 248, 240, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.7rem;
  font-weight: 600;
  color: #faf7f2;
}

.an-dir-prev-body {
  position: relative;
  z-index: 2;
  padding: 22px 24px 24px;
  background: linear-gradient(170deg, #211c18 0%, #161310 100%);
}

.an-dir-prev-body.is-swapping {
  animation: anDirSwap 0.36s var(--ease-out) both;
}

@keyframes anDirSwap {
  from {
    opacity: 0.45;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.an-dir-prev-body h4 {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 1.85vw, 1.58rem);
  font-weight: 400;
  line-height: 1.2;
  color: #faf7f2;
  margin-bottom: 10px;
}

.an-dir-prev-body p {
  font-size: 0.86rem;
  line-height: 1.62;
  color: rgba(250, 247, 242, 0.76);
  margin-bottom: 16px;
}

.an-dir-prev-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.an-dir-mchip {
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: rgba(232, 164, 124, 0.12);
  border: 1px solid rgba(232, 164, 124, 0.26);
  font-size: 0.7rem;
  font-weight: 600;
  color: #f3ccb2;
  line-height: 1.2;
}

.an-dir-prev-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 13px 18px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink-strong);
  font-size: 0.85rem;
  font-weight: 700;
  transition: background-color 0.24s ease, color 0.24s ease, transform 0.24s var(--ease-out);
}

.an-dir-prev-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.24s var(--ease-out);
}

.an-dir-prev-cta:hover {
  background: var(--sienna);
  color: #fff;
  transform: translateY(-1px);
}

.an-dir-prev-cta:hover svg {
  transform: translateX(4px);
}

/* RIGHT: Kinetic Visual Index Ledger */
.an-dir-list-col {
  min-width: 0;
}

.an-dir-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.an-dir-item {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 16px;
  padding: 14px 16px 14px 18px;
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.62);
  border: 1px solid rgba(24, 22, 20, 0.08);
  text-decoration: none;
  overflow: hidden;
  transition:
    background-color 0.26s ease,
    border-color 0.26s ease,
    transform 0.28s var(--ease-out),
    box-shadow 0.28s ease;
}

.an-dir-item[hidden] {
  display: none;
}

.an-dir-item.is-entering {
  animation: anDirReveal 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(min(var(--stagger-i, 0), 10) * 32ms);
}

@keyframes anDirReveal {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Prism Pointer Spotlight inside each row */
.an-dir-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: var(--o, 0);
  transition: opacity 0.26s ease;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(168, 84, 50, 0.1), transparent 64%);
}

.an-dir-spine {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: var(--sienna);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.an-dir-item:hover,
.an-dir-item:focus-visible,
.an-dir-item.is-active {
  background: #fffdf9;
  border-color: rgba(168, 84, 50, 0.34);
  box-shadow: 0 18px 36px -24px rgba(34, 22, 14, 0.32);
  transform: translateX(4px);
}

.an-dir-item:hover .an-dir-spine,
.an-dir-item:focus-visible .an-dir-spine,
.an-dir-item.is-active .an-dir-spine {
  transform: scaleY(1);
}

.an-dir-thumb {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 13px;
  overflow: hidden;
  background: #ded4c6;
  border: 1px solid rgba(24, 22, 20, 0.08);
  flex-shrink: 0;
}

.an-dir-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.an-dir-item:hover .an-dir-thumb img,
.an-dir-item.is-active .an-dir-thumb img {
  transform: scale(1.08);
}

.an-dir-num {
  position: absolute;
  left: 5px;
  bottom: 5px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(20, 16, 13, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #f4cbb0;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
}

.an-dir-item.is-active .an-dir-num {
  background: var(--sienna);
  color: #fff;
}

.an-dir-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.an-dir-meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.an-dir-cat-tag {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sienna);
}

.an-dir-dur {
  font-size: 0.71rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.an-dir-dur::before {
  content: "·";
  margin-right: 8px;
  opacity: 0.55;
}

.an-dir-title {
  font-family: var(--font-serif);
  font-size: clamp(1.04rem, 1.35vw, 1.18rem);
  font-weight: 400;
  line-height: 1.22;
  color: var(--ink-strong);
  transition: color 0.22s ease;
}

.an-dir-item:hover .an-dir-title,
.an-dir-item.is-active .an-dir-title {
  color: var(--sienna);
}

.an-dir-sum {
  font-size: 0.82rem;
  line-height: 1.48;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.an-dir-arr {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  display: inline-grid;
  place-items: center;
  color: var(--ink-strong);
  transition: background-color 0.24s ease, border-color 0.24s ease, color 0.24s ease, transform 0.24s var(--ease-out);
}

.an-dir-arr svg {
  width: 15px;
  height: 15px;
  transition: transform 0.24s var(--ease-out);
}

.an-dir-item:hover .an-dir-arr,
.an-dir-item.is-active .an-dir-arr {
  background: var(--sienna);
  border-color: var(--sienna);
  color: #fff;
}

.an-dir-item:hover .an-dir-arr svg,
.an-dir-item.is-active .an-dir-arr svg {
  transform: translateX(2px);
}

.an-dir-empty {
  padding: 36px 24px;
  border-radius: 20px;
  background: rgba(255, 253, 249, 0.75);
  border: 1px dashed var(--line-strong);
  text-align: center;
}

.an-dir-empty p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

@media (max-width: 860px) {
  .an-dir-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .an-dir-preview {
    position: relative;
    top: auto;
  }
  .an-dir-prev-media {
    aspect-ratio: 16 / 10;
  }
  .an-dir-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .an-dir-filter-dock {
    width: 100%;
  }
  .an-dir-search {
    min-width: 0;
    flex: 1 1 auto;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .an-dir-item {
    grid-template-columns: 54px minmax(0, 1fr) 32px;
    gap: 12px;
    padding: 12px 12px 12px 14px;
  }
  .an-dir-item:hover,
  .an-dir-item.is-active {
    transform: none;
  }
  .an-dir-thumb {
    width: 54px;
    height: 54px;
    border-radius: 11px;
  }
  .an-dir-arr {
    width: 32px;
    height: 32px;
  }
  .an-dir-prev-body {
    padding: 18px 18px 20px;
  }
}

/* ==========================================================================
   CHAPTER 04: ANIMATEDWEBS PRO RIBBON FIELD WEBGL PERSONAL CARE CONCIERGE
   ========================================================================== */
.an-planner-shell {
  position: relative;
  border-radius: 30px;
  padding: clamp(22px, 3vw, 36px);
  background:
    radial-gradient(65% 75% at 15% 15%, rgba(168, 84, 50, 0.24), transparent 62%),
    linear-gradient(155deg, #201b17 0%, #15120f 100%);
  border: 1px solid rgba(255, 248, 238, 0.14);
  box-shadow:
    0 38px 84px -38px rgba(24, 18, 12, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(22px, 3vw, 36px);
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
}

.an-plan-ribbon-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 0.72;
}

.an-plan-ambient-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(48% 58% at 22% 84%, rgba(232, 164, 124, 0.12), transparent 68%),
    linear-gradient(180deg, rgba(20, 16, 13, 0.28) 0%, rgba(20, 16, 13, 0.52) 100%);
}

.an-plan-left {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  min-width: 0;
}

.an-planner-step {
  margin-bottom: 0;
}

.an-planner-step-lbl {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.74);
  margin-bottom: 12px;
}

.an-planner-step-lbl span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(232, 164, 124, 0.16);
  border: 1px solid rgba(232, 164, 124, 0.42);
  color: #f4cbb0;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
}

/* 2x3 Visual Domain Tile Grid */
.an-plan-area-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.an-plan-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px 10px 10px;
  border-radius: 16px;
  background: rgba(255, 250, 243, 0.07);
  border: 1px solid rgba(255, 248, 240, 0.13);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #faf7f2;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition:
    background-color 0.26s ease,
    border-color 0.26s ease,
    transform 0.24s var(--ease-out),
    box-shadow 0.26s ease;
}

.an-plan-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: var(--o, 0);
  transition: opacity 0.26s ease;
  background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(232, 164, 124, 0.18), transparent 65%);
}

.an-plan-tile:hover {
  background: rgba(255, 250, 243, 0.13);
  border-color: rgba(232, 164, 124, 0.42);
  transform: translateY(-2px);
}

.an-plan-tile.is-active {
  background: linear-gradient(145deg, #faf7f2 0%, #f1e9dd 100%);
  border-color: #faf7f2;
  color: var(--ink-strong);
  box-shadow: 0 18px 34px -18px rgba(0, 0, 0, 0.65);
}

.an-plan-tile-thumb {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  overflow: hidden;
  flex-shrink: 0;
  background: #302822;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.an-plan-tile-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease-out);
}

.an-plan-tile:hover .an-plan-tile-thumb img,
.an-plan-tile.is-active .an-plan-tile-thumb img {
  transform: scale(1.08);
}

.an-plan-tile-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.an-plan-tile-copy strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.22;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.an-plan-tile-copy small {
  display: block;
  font-size: 0.7rem;
  color: rgba(250, 247, 242, 0.62);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.an-plan-tile.is-active .an-plan-tile-copy small {
  color: var(--sienna);
  font-weight: 600;
}

.an-plan-tile-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 248, 240, 0.34);
  transition: background-color 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.an-plan-tile.is-active .an-plan-tile-dot {
  background: var(--sienna);
  border-color: var(--sienna);
  box-shadow: 0 0 0 4px rgba(168, 84, 50, 0.18);
}

/* Step 02: Elastic Sliding 3-Branch Segmented Dock */
.an-plan-branch-dock {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255, 250, 243, 0.06);
  border: 1px solid rgba(255, 248, 240, 0.13);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.an-plan-branch-glider {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  z-index: 1;
  border-radius: 13px;
  background: linear-gradient(145deg, #faf7f2 0%, #f0e8dc 100%);
  box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.55);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), width 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  will-change: transform, width;
}

.an-plan-branch-btn {
  position: relative;
  z-index: 2;
  padding: 11px 10px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  text-align: center;
  cursor: pointer;
  color: rgba(250, 247, 242, 0.78);
  transition: color 0.24s ease;
}

.an-plan-branch-btn strong {
  display: block;
  font-size: 0.79rem;
  font-weight: 600;
  line-height: 1.2;
}

.an-plan-branch-btn small {
  display: block;
  font-size: 0.66rem;
  opacity: 0.68;
  margin-top: 3px;
}

.an-plan-branch-btn:hover {
  color: #fff;
}

.an-plan-branch-btn.is-active {
  color: var(--ink-strong);
}

.an-plan-branch-btn.is-active small {
  color: var(--sienna);
  opacity: 1;
  font-weight: 600;
}

/* Bottom Concierge Assurance Strip */
.an-plan-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 250, 243, 0.05);
  border: 1px solid rgba(255, 248, 240, 0.1);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(250, 247, 242, 0.72);
}

.an-plan-trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.an-plan-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6da37b;
  box-shadow: 0 0 0 3px rgba(109, 163, 123, 0.28);
}

/* RIGHT: Live Morphing Editorial Visual Dossier Card */
.an-planner-card {
  position: relative;
  z-index: 2;
  background: #faf7f2;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 28px 60px -28px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
}

.an-plan-card-hero {
  position: relative;
  height: 204px;
  overflow: hidden;
  background: #2b241d;
  flex-shrink: 0;
}

.an-plan-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.54s cubic-bezier(0.22, 1, 0.36, 1), transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.an-plan-hero-img.is-visible {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.an-plan-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(20, 16, 13, 0.38) 0%,
    rgba(20, 16, 13, 0.06) 44%,
    rgba(250, 247, 242, 0.96) 100%
  );
}

.an-plan-hero-badges {
  position: absolute;
  top: 14px;
  left: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.an-plan-hero-pill {
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(20, 16, 13, 0.62);
  border: 1px solid rgba(255, 248, 240, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f4cbb0;
}

.an-plan-hero-dur {
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(250, 247, 242, 0.88);
  color: var(--ink-strong);
  font-size: 0.68rem;
  font-weight: 700;
}

.an-plan-card-body {
  padding: 8px clamp(20px, 2.6vw, 30px) clamp(22px, 2.8vw, 30px);
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.an-plan-card-body.is-swapping {
  animation: anPlanSwap 0.36s var(--ease-out) both;
}

@keyframes anPlanSwap {
  from {
    opacity: 0.45;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.an-plan-card-body h3 {
  font-size: clamp(1.45rem, 2.1vw, 1.88rem);
  color: var(--ink-strong);
  line-height: 1.16;
  margin-bottom: 8px;
}

.an-plan-card-body > p {
  font-size: 0.87rem;
  line-height: 1.58;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.an-plan-meta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-strong);
  padding: 9px 13px;
  border-radius: 11px;
  background: var(--stone);
  border: 1px solid rgba(24, 22, 20, 0.06);
  margin-bottom: 14px;
}

.an-plan-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.an-plan-tags span {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(168, 84, 50, 0.22);
  background: rgba(168, 84, 50, 0.07);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sienna);
}

.an-plan-specs-lbl {
  display: block;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 9px;
}

.an-plan-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 20px;
}

.an-plan-spec-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: #fffdf9;
  text-align: left;
  cursor: pointer;
  min-width: 0;
  transition: border-color 0.22s ease, background-color 0.22s ease, transform 0.22s var(--ease-out), box-shadow 0.22s ease;
}

.an-plan-spec-chip:hover {
  border-color: var(--sienna);
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -14px rgba(34, 22, 14, 0.28);
}

.an-plan-spec-chip img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(24, 22, 20, 0.08);
}

.an-plan-spec-info {
  min-width: 0;
  flex: 1 1 auto;
}

.an-plan-spec-chip b {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-strong);
  line-height: 1.24;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.an-plan-spec-chip small {
  display: block;
  font-size: 0.68rem;
  color: var(--ink-muted);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.an-plan-spec-plus {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--stone);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.an-plan-spec-chip:hover .an-plan-spec-plus {
  background: var(--sienna);
  color: #fff;
}

.an-plan-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.an-plan-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-strong);
  transition: border-color 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.an-plan-more-btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.22s var(--ease-out);
}

.an-plan-more-btn:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.an-plan-more-btn:hover svg {
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .an-planner-shell {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
    border-radius: 24px;
  }
}

@media (max-width: 600px) {
  .an-plan-area-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .an-plan-branch-dock {
    grid-template-columns: minmax(0, 1fr);
  }
  .an-plan-branch-glider {
    display: none;
  }
  .an-plan-branch-btn.is-active {
    background: linear-gradient(145deg, #faf7f2 0%, #f0e8dc 100%);
    box-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.5);
  }
  .an-plan-specs {
    grid-template-columns: minmax(0, 1fr);
  }
  .an-plan-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .an-plan-actions .an-btn,
  .an-plan-more-btn {
    justify-content: center;
  }
}

/* ==========================================================================
   CHAPTER 05: ANIMATEDWEBS PRO MAGNETIC TEAM GRID (OBSIDIAN GALLERY + ARCHED FLIP CARDS)
   ========================================================================== */
.an-band-obsidian {
  position: relative;
  background:
    linear-gradient(90deg, rgba(250, 247, 242, 0.03) 1px, transparent 1px) 50% 0 / 25% 100%,
    linear-gradient(180deg, #161310 0%, #110e0c 52%, #171310 100%);
  color: #faf7f2;
  overflow: hidden;
  isolation: isolate;
}

.an-mt-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(560px circle at var(--field-x, 50%) var(--field-y, 35%), rgba(186, 102, 62, 0.22), transparent 62%),
    radial-gradient(55% 42% at 88% 12%, rgba(217, 140, 104, 0.12), transparent 65%),
    radial-gradient(45% 45% at 12% 88%, rgba(126, 94, 68, 0.14), transparent 65%);
}

.an-mt-container {
  position: relative;
  z-index: 2;
}

.an-mt-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.an-mt-head-main {
  max-width: 680px;
}

.an-mt-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #e8a47c;
  margin-bottom: 12px;
}

.an-mt-head-main h2 {
  font-size: clamp(2.15rem, 4.1vw, 3.35rem);
  line-height: 1.04;
  color: #faf7f2;
  margin-bottom: 14px;
}

.an-mt-head-main h2 em {
  color: #e8a47c;
  font-style: italic;
}

.an-mt-underline {
  display: block;
  width: min(260px, 55%);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #c96b42 0%, #f0c29e 68%, transparent 100%);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  margin-bottom: 16px;
}

.an-mt-underline.is-drawn {
  transform: scaleX(1);
}

.an-mt-sub {
  font-size: 0.94rem;
  line-height: 1.62;
  color: rgba(250, 247, 242, 0.68);
  max-width: 58ch;
}

.an-mt-head-side {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.an-mt-count-pill {
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: rgba(232, 164, 124, 0.12);
  border: 1px solid rgba(232, 164, 124, 0.3);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f4cbb0;
  font-variant-numeric: tabular-nums;
}

.an-mt-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 248, 240, 0.22);
  background: rgba(255, 248, 240, 0.06);
  font-size: 0.84rem;
  font-weight: 600;
  color: #faf7f2;
  transition: background-color 0.24s ease, border-color 0.24s ease, color 0.24s ease;
}

.an-mt-all-btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.24s var(--ease-out);
}

.an-mt-all-btn:hover {
  background: #faf7f2;
  border-color: #faf7f2;
  color: var(--ink-strong);
}

.an-mt-all-btn:hover svg {
  transform: translateX(3px);
}

/* Smoked-Glass Elastic Filter Dock + Live Interaction Hint */
.an-mt-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.an-mt-filter-dock {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: var(--r-pill);
  background: rgba(255, 250, 243, 0.06);
  border: 1px solid rgba(255, 248, 240, 0.13);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.an-mt-filter-dock::-webkit-scrollbar {
  display: none;
}

.an-mt-glider {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  z-index: 1;
  border-radius: var(--r-pill);
  background: linear-gradient(145deg, #faf7f2 0%, #f0e8dc 100%);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.65);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), width 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  will-change: transform, width;
}

.an-mt-tab {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  border: 0;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(250, 247, 242, 0.72);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.24s ease;
}

.an-mt-tab span {
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0.56;
  font-variant-numeric: tabular-nums;
}

.an-mt-tab:hover {
  color: #fff;
}

.an-mt-tab.is-active {
  color: var(--ink-strong);
}

.an-mt-tab.is-active span {
  color: var(--sienna);
  opacity: 1;
}

.an-mt-hint-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.an-mt-live-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.73rem;
  font-weight: 500;
  color: rgba(250, 247, 242, 0.62);
}

.an-mt-live-hint i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e8a47c;
  box-shadow: 0 0 0 4px rgba(232, 164, 124, 0.22);
}

.an-mt-mobile-arrows {
  display: none;
  align-items: center;
  gap: 8px;
}

.an-mt-mob-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 248, 240, 0.22);
  background: rgba(255, 248, 240, 0.08);
  color: #faf7f2;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.an-mt-mob-btn svg {
  width: 16px;
  height: 16px;
}

/* 12-Card Magnetic Spring Field Constellation */
.an-mt-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  perspective: 1400px;
}

.an-mt-slot {
  position: relative;
  height: 456px;
  perspective: 1200px;
  will-change: transform;
  transform-style: preserve-3d;
}

.an-mt-slot[hidden] {
  display: none;
}

.an-mt-slot.is-entering {
  animation: anMtEnter 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(min(var(--stagger-i, 0), 8) * 34ms);
}

@keyframes anMtEnter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.an-mt-flipper {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.62s cubic-bezier(0.23, 1, 0.32, 1);
}

.an-mt-slot.is-flipped .an-mt-flipper {
  transform: rotateY(180deg);
}

.an-mt-face {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

/* FRONT FACE: Obsidian Monolith + Sculpted Architectural Arch Portrait */
.an-mt-front {
  display: flex;
  flex-direction: column;
  padding: 14px 14px 16px;
  background:
    radial-gradient(110% 80% at 50% 0%, rgba(232, 164, 124, 0.11), transparent 62%),
    linear-gradient(170deg, #221d19 0%, #171310 100%);
  border: 1px solid rgba(255, 248, 240, 0.12);
  box-shadow:
    0 24px 48px -28px rgba(0, 0, 0, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.28s ease, box-shadow 0.28s ease;
}

.an-mt-slot:hover .an-mt-front,
.an-mt-slot:focus-within .an-mt-front {
  border-color: rgba(232, 164, 124, 0.5);
  box-shadow:
    0 28px 56px -24px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(232, 164, 124, 0.22);
}

.an-mt-slot.is-flipped .an-mt-front {
  pointer-events: none;
}

.an-mt-arch {
  position: relative;
  width: 100%;
  height: 262px;
  border-radius: 132px 132px 14px 14px;
  overflow: hidden;
  background: #29221c;
  border: 1px solid rgba(232, 164, 124, 0.26);
  margin-bottom: 14px;
  flex-shrink: 0;
}

.an-mt-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--crop-pos, 50% 16%);
  transform: scale(var(--crop-scale, 1.08));
  filter: contrast(1.04) saturate(1.08) brightness(1.02);
  transition: filter 0.42s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.an-mt-slot:hover .an-mt-arch img,
.an-mt-slot.is-near .an-mt-arch img {
  filter: contrast(1.06) saturate(1.14) brightness(1.05);
  transform: scale(calc(var(--crop-scale, 1.08) * 1.05));
}

.an-mt-arch-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 42%, transparent 62%, rgba(16, 13, 10, 0.24) 100%),
    linear-gradient(180deg, rgba(16, 13, 10, 0.08) 0%, transparent 24%, transparent 74%, rgba(16, 13, 10, 0.46) 100%);
}

.an-mt-arch-top {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.an-mt-num {
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: rgba(18, 14, 11, 0.72);
  border: 1px solid rgba(232, 164, 124, 0.36);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #f4cbb0;
  font-variant-numeric: tabular-nums;
}

.an-mt-lang {
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: rgba(168, 84, 50, 0.88);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.an-mt-front-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 0 4px;
}

.an-mt-tag {
  display: block;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #e8a47c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
}

.an-mt-name {
  font-family: var(--font-serif);
  font-size: 1.14rem;
  font-weight: 400;
  line-height: 1.2;
  color: #faf7f2;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.an-mt-role {
  font-size: 0.76rem;
  color: rgba(250, 247, 242, 0.62);
  line-height: 1.38;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: auto;
}

.an-mt-front-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid rgba(255, 248, 240, 0.09);
}

.an-mt-flip-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(244, 203, 176, 0.85);
  cursor: pointer;
  transition: color 0.2s ease;
}

.an-mt-flip-hint svg {
  width: 13px;
  height: 13px;
  transition: transform 0.35s var(--ease-out);
}

.an-mt-flip-hint:hover {
  color: #fff;
}

.an-mt-flip-hint:hover svg {
  transform: translateX(3px);
}

.an-mt-plus-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 248, 240, 0.2);
  background: rgba(255, 248, 240, 0.06);
  color: #faf7f2;
  font-size: 0.95rem;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.26s var(--ease-out);
}

.an-mt-plus-mini:hover {
  background: var(--sienna);
  border-color: var(--sienna);
  transform: rotate(90deg);
}

/* BACK FACE: Engraved Obsidian-Bronze Collector's Credential Plate (AnimatedWebs Engraved Certificate + Prism) */
.an-mt-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  padding: 18px 18px 16px;
  background:
    repeating-linear-gradient(0deg, rgba(244, 203, 176, 0.032) 0 0.5px, transparent 0.5px 6px),
    radial-gradient(96% 62% at 88% 6%, rgba(196, 114, 72, 0.28), transparent 62%),
    radial-gradient(80% 60% at 10% 92%, rgba(168, 84, 50, 0.16), transparent 65%),
    linear-gradient(158deg, #27201a 0%, #16120f 55%, #1e1712 100%);
  color: #faf7f2;
  border: 1px solid rgba(232, 164, 124, 0.44);
  box-shadow:
    0 30px 62px -22px rgba(0, 0, 0, 0.88),
    inset 0 1px 0 rgba(255, 236, 218, 0.2);
  pointer-events: none;
  isolation: isolate;
}

.an-mt-slot.is-flipped .an-mt-back {
  pointer-events: auto;
}

/* Live Cursor-Tracking Prism Copper Rim & Glow on Back Plate */
.an-mt-back::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  opacity: var(--bo, 0);
  transition: opacity 0.28s ease;
  background: radial-gradient(240px circle at var(--bmx, 50%) var(--bmy, 50%), rgba(244, 203, 176, 0.18), transparent 64%);
}

.an-mt-back::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  opacity: var(--bo, 0);
  transition: opacity 0.28s ease;
  background: radial-gradient(200px circle at var(--bmx, 50%) var(--bmy, 50%), rgba(244, 203, 176, 0.9), rgba(168, 84, 50, 0.3) 45%, transparent 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Fine Engraved Architectural Inner Hairline Frame */
.an-mt-back-frame {
  position: absolute;
  inset: 7px;
  z-index: 1;
  border-radius: 16px;
  border: 1px solid rgba(232, 164, 124, 0.18);
  pointer-events: none;
}

/* Brushed Copper Light Sheen Sweep on Card Flip */
.an-mt-back-sheen {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  width: 54%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(244, 203, 176, 0.04) 35%,
    rgba(255, 232, 210, 0.19) 50%,
    rgba(244, 203, 176, 0.04) 65%,
    transparent 100%
  );
  transform: translateX(-160%) skewX(-16deg);
  opacity: 0;
}

.an-mt-slot.is-flipped .an-mt-back-sheen {
  animation: anMtSheen 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

@keyframes anMtSheen {
  0% {
    transform: translateX(-150%) skewX(-16deg);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    transform: translateX(310%) skewX(-16deg);
    opacity: 0;
  }
}

/* Engraved Guilloche Rosette Filigree Watermark */
.an-mt-back-rosette {
  position: absolute;
  right: -28px;
  bottom: 44px;
  width: 148px;
  height: 148px;
  z-index: 1;
  color: rgba(232, 164, 124, 0.16);
  pointer-events: none;
  animation: anMtRosetteSpin 38s linear infinite;
}

@keyframes anMtRosetteSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.an-mt-back-head,
.an-mt-back-edu,
.an-mt-back-bio,
.an-mt-back-mods,
.an-mt-back-status,
.an-mt-back-actions {
  position: relative;
  z-index: 3;
}

.an-mt-back-head {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(232, 164, 124, 0.18);
}

.an-mt-back-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid #e8a47c;
  box-shadow: 0 0 0 3px rgba(232, 164, 124, 0.16), 0 8px 18px -6px rgba(0, 0, 0, 0.65);
  flex-shrink: 0;
  background: #2b231d;
  margin-top: 1px;
}

.an-mt-back-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--crop-pos, 50% 16%);
  transform: scale(var(--crop-scale, 1.08));
}

.an-mt-back-id {
  min-width: 0;
  flex: 1 1 auto;
}

.an-mt-back-id strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.96rem;
  font-weight: 400;
  color: #faf7f2;
  line-height: 1.18;
  white-space: normal;
}

.an-mt-back-id span {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #e8a47c;
  line-height: 1.28;
  white-space: normal;
  margin-top: 3px;
}

.an-mt-flip-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(232, 164, 124, 0.28);
  background: rgba(255, 248, 240, 0.07);
  color: #f4cbb0;
  font-size: 0.85rem;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.an-mt-flip-close:hover {
  background: var(--sienna);
  border-color: var(--sienna);
  color: #fff;
}

.an-mt-back-edu {
  padding: 9px 11px 9px 12px;
  border-radius: 10px;
  background: rgba(255, 248, 240, 0.055);
  border: 1px solid rgba(232, 164, 124, 0.16);
  border-left: 2.5px solid #d98c68;
  margin-bottom: 11px;
  flex-shrink: 0;
}

.an-mt-back-sec-lbl {
  display: block;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #e8a47c;
  margin-bottom: 4px;
}

.an-mt-back-edu-txt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(250, 247, 242, 0.92);
}

.an-mt-back-bio {
  font-size: 0.77rem;
  line-height: 1.5;
  color: rgba(250, 247, 242, 0.76);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.an-mt-back-mods {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: auto;
}

.an-mt-back-mods span {
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: rgba(232, 164, 124, 0.11);
  border: 1px solid rgba(232, 164, 124, 0.28);
  font-size: 0.64rem;
  font-weight: 600;
  color: #f4cbb0;
  line-height: 1.25;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Live Branch & Availability Metadata Strip (fills lower space cleanly) */
.an-mt-back-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(255, 248, 240, 0.04);
  border: 1px solid rgba(255, 248, 240, 0.09);
}

.an-mt-back-status span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  color: #a9d6b3;
  white-space: nowrap;
}

.an-mt-back-status i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6fb580;
  box-shadow: 0 0 0 3px rgba(111, 181, 128, 0.24);
}

.an-mt-back-status small {
  font-size: 0.63rem;
  color: rgba(250, 247, 242, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.an-mt-back-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding-top: 11px;
  border-top: 1px solid rgba(232, 164, 124, 0.16);
}

.an-mt-back-cta {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 11px;
  border-radius: 11px;
  background: linear-gradient(145deg, #faf7f2 0%, #ede3d5 100%);
  color: var(--ink-strong);
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.65);
  transition: background 0.24s ease, color 0.24s ease, transform 0.22s var(--ease-out);
}

.an-mt-back-cta svg {
  width: 13px;
  height: 13px;
  transition: transform 0.22s var(--ease-out);
}

.an-mt-back-cta:hover {
  background: linear-gradient(135deg, #c76b42 0%, #a85432 100%);
  color: #fff;
  transform: translateY(-1px);
}

.an-mt-back-cta:hover svg {
  transform: translateX(2px);
}

.an-mt-back-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 10px;
  border-radius: 11px;
  border: 1px solid rgba(232, 164, 124, 0.3);
  background: rgba(255, 248, 240, 0.06);
  color: #faf7f2;
  font-size: 0.73rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.an-mt-back-wa svg {
  width: 13px;
  height: 13px;
  color: #e8a47c;
}

.an-mt-back-wa:hover {
  border-color: #e8a47c;
  background: rgba(232, 164, 124, 0.16);
}

.an-mt-back-plus {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  border: 1px solid rgba(232, 164, 124, 0.28);
  background: rgba(255, 248, 240, 0.06);
  color: #f4cbb0;
  font-size: 1rem;
  font-weight: 600;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.an-mt-back-plus:hover {
  background: var(--sienna);
  border-color: var(--sienna);
  color: #fff;
}

/* 12th Editorial Concierge Card inside Obsidian Constellation */
.an-mt-match-card {
  position: relative;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #1c1713;
  border: 1px solid rgba(232, 164, 124, 0.34);
  box-shadow: 0 26px 52px -28px rgba(0, 0, 0, 0.8);
}

.an-mt-match-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
  transition: transform 0.75s var(--ease-out), opacity 0.4s ease;
}

.an-mt-match-card:hover .an-mt-match-bg {
  transform: scale(1.08);
  opacity: 0.36;
}

.an-mt-match-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(85% 70% at 85% 12%, rgba(168, 84, 50, 0.42), transparent 64%),
    linear-gradient(180deg, rgba(20, 16, 13, 0.48) 0%, rgba(18, 14, 11, 0.94) 100%);
}

.an-mt-match-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.an-mt-match-num {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(232, 164, 124, 0.16);
  border: 1px solid rgba(232, 164, 124, 0.36);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #f4cbb0;
}

.an-mt-match-inner h3 {
  font-family: var(--font-serif);
  font-size: 1.56rem;
  font-weight: 400;
  line-height: 1.16;
  color: #faf7f2;
  margin-bottom: 10px;
}

.an-mt-match-inner h3 em {
  color: #e8a47c;
  font-style: italic;
}

.an-mt-match-inner p {
  font-size: 0.82rem;
  line-height: 1.56;
  color: rgba(250, 247, 242, 0.76);
}

.an-mt-match-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.an-mt-match-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 15px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink-strong);
  font-size: 0.8rem;
  font-weight: 700;
  transition: background-color 0.22s ease, color 0.22s ease;
}

.an-mt-match-btn svg {
  width: 14px;
  height: 14px;
}

.an-mt-match-btn:hover {
  background: var(--sienna);
  color: #fff;
}

.an-mt-match-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 248, 240, 0.24);
  color: rgba(250, 247, 242, 0.9);
  font-size: 0.78rem;
  font-weight: 600;
  transition: border-color 0.22s ease, background-color 0.22s ease;
}

.an-mt-match-wa svg {
  width: 14px;
  height: 14px;
}

.an-mt-match-wa:hover {
  border-color: #e8a47c;
  background: rgba(232, 164, 124, 0.14);
}

@media (max-width: 1120px) {
  .an-mt-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .an-mt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .an-mt-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .an-mt-filter-dock {
    width: 100%;
  }
}

/* Mobile (< 640px): Magnetic Team Grid Snap-X Horizontal Swipe Carousel */
@media (max-width: 640px) {
  .an-mt-mobile-arrows {
    display: inline-flex;
  }
  .an-mt-hint-bar {
    width: 100%;
    justify-content: flex-end;
  }
  .an-mt-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding: 4px 2px 14px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .an-mt-grid::-webkit-scrollbar {
    display: none;
  }
  .an-mt-slot {
    flex: 0 0 82%;
    max-width: 312px;
    height: 462px;
    scroll-snap-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .an-mt-flipper {
    transition: none;
  }
  .an-mt-slot.is-flipped .an-mt-flipper {
    transform: none;
  }
  .an-mt-slot.is-flipped .an-mt-front {
    opacity: 0;
  }
  .an-mt-back {
    transform: none;
    opacity: 0;
    transition: opacity 0.25s ease;
  }
  .an-mt-slot.is-flipped .an-mt-back {
    opacity: 1;
  }
}

/* Luxury Slide-Over Clinician Dossier Drawer */
.spec-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 320;
  background: rgba(22, 20, 18, 0.56);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.spec-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.spec-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(470px, 100%);
  z-index: 330;
  background: var(--cream);
  color: var(--ink);
  overflow-y: auto;
  transform: translateX(104%);
  transition: transform 0.44s var(--ease);
  box-shadow: -24px 0 64px rgba(0, 0, 0, 0.22);
}
.spec-drawer.is-open {
  transform: translateX(0);
}

.spec-drawer-head {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sienna);
}

.spec-drawer-body {
  padding: 26px;
}

.spec-drawer-photo {
  border-radius: var(--r-md);
  aspect-ratio: 4 / 4.2;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--stone);
}

.spec-drawer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
}

.spec-drawer-body h3 {
  font-size: 1.85rem;
  color: var(--ink-strong);
  margin: 6px 0 6px;
}

.spec-drawer-role {
  font-size: 0.92rem;
  color: var(--sienna);
  font-weight: 600;
  margin-bottom: 4px;
}

.spec-drawer-edu {
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.spec-drawer-bio {
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.spec-drawer-mods {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
}

.spec-drawer-mods span {
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--stone);
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.spec-drawer-cta {
  display: grid;
  gap: 10px;
}

/* ==========================================================================
   CHAPTER 06A: ANIMATEDWEBS PRO SWIPE STACK STORIES + SYNCED 35MM EDITORIAL WINDOW
   ========================================================================== */
.an-st-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(52% 58% at 82% 48%, rgba(168, 84, 50, 0.08), transparent 68%),
    var(--cream);
}

.an-st-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.an-st-left {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.an-st-head h2 {
  font-size: clamp(2rem, 3.5vw, 3.05rem);
  color: var(--ink-strong);
  line-height: 1.06;
  margin-bottom: 12px;
}

.an-st-head h2 em {
  color: var(--sienna);
  font-style: italic;
}

.an-st-sub {
  font-size: 0.93rem;
  line-height: 1.64;
  color: var(--ink-soft);
  max-width: 48ch;
}

/* Scroll Count-Up Architectural Trust Strip */
.an-st-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(242, 236, 227, 0.72);
  border: 1px solid var(--line);
}

.an-st-stat {
  position: relative;
  min-width: 0;
}

.an-st-stat + .an-st-stat {
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
}

.an-st-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.22rem, 1.8vw, 1.52rem);
  font-weight: 400;
  color: var(--ink-strong);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.an-st-stat span {
  display: block;
  font-size: 0.69rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-top: 4px;
  line-height: 1.3;
}

/* Synchronized 35mm Editorial Photography Window */
.an-st-photo-frame {
  position: relative;
  aspect-ratio: 16 / 9.6;
  border-radius: 22px;
  overflow: hidden;
  background: #ded4c6;
  border: 1px solid rgba(24, 22, 20, 0.1);
  box-shadow: 0 24px 52px -30px rgba(28, 20, 14, 0.36);
}

.an-st-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
  opacity: 0;
  transform: scale(1.07);
  transition: opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1), transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.an-st-photo.is-visible {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.an-st-photo-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 16, 13, 0.06) 0%, rgba(20, 16, 13, 0.12) 48%, rgba(20, 16, 13, 0.72) 100%);
}

.an-st-photo-cap {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.an-st-photo-branch {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f4cbb0;
}

.an-st-photo-cap strong {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  color: #faf7f2;
  line-height: 1.25;
}

.an-st-left-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.an-st-pager {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.an-st-read {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--sienna);
  min-width: 56px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* RIGHT: AnimatedWebs Pro Swipe Stack Draggable & Flingable Card Deck */
.an-st-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding-top: 8px;
}

.an-st-deck {
  position: relative;
  width: 100%;
  max-width: 540px;
  height: 456px;
  touch-action: pan-y;
  user-select: none;
  outline: none;
}

.an-st-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 392px;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  will-change: transform, opacity;
  transition:
    transform 0.56s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.44s ease,
    box-shadow 0.44s ease;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 68px, 0) scale(0.82);
  box-shadow: 0 26px 56px -30px rgba(26, 18, 12, 0.28);
}

.an-st-card.is-ivory {
  background: linear-gradient(165deg, #fffdf9 0%, #f6f0e6 100%);
  border: 1px solid rgba(24, 22, 20, 0.11);
  color: var(--ink-strong);
}

.an-st-card.is-stone {
  background: linear-gradient(165deg, #f3ece1 0%, #e7ddd0 100%);
  border: 1px solid rgba(168, 84, 50, 0.2);
  color: var(--ink-strong);
}

.an-st-card.is-espresso {
  background:
    radial-gradient(85% 70% at 88% 8%, rgba(168, 84, 50, 0.28), transparent 62%),
    linear-gradient(158deg, #241e19 0%, #15120f 100%);
  border: 1px solid rgba(232, 164, 124, 0.34);
  color: #faf7f2;
  box-shadow: 0 32px 66px -26px rgba(18, 13, 9, 0.56);
}

.an-st-card[data-stack-pos="0"] {
  z-index: 40;
  opacity: 1;
  pointer-events: auto;
  cursor: grab;
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
}

.an-st-card[data-stack-pos="0"].is-dragging {
  cursor: grabbing;
  transition: none;
}

.an-st-card[data-stack-pos="0"].is-flinging {
  transition: transform 0.36s cubic-bezier(0.32, 0, 0.67, 0), opacity 0.32s ease;
}

.an-st-card[data-stack-pos="1"] {
  z-index: 30;
  opacity: 0.94;
  transform: translate3d(0, 20px, 0) scale(0.95) rotate(-2.2deg);
}

.an-st-card[data-stack-pos="2"] {
  z-index: 20;
  opacity: 0.78;
  transform: translate3d(0, 38px, 0) scale(0.9) rotate(2deg);
}

.an-st-card[data-stack-pos="3"] {
  z-index: 10;
  opacity: 0.5;
  transform: translate3d(0, 54px, 0) scale(0.85) rotate(-1.3deg);
}

.an-st-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.an-st-tag {
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(168, 84, 50, 0.1);
  border: 1px solid rgba(168, 84, 50, 0.22);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--sienna);
}

.an-st-card.is-espresso .an-st-tag {
  background: rgba(232, 164, 124, 0.14);
  border-color: rgba(232, 164, 124, 0.34);
  color: #f4cbb0;
}

.an-st-idx {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.56;
  font-variant-numeric: tabular-nums;
}

.an-st-qmark {
  display: block;
  font-family: var(--font-serif);
  font-size: 3.4rem;
  line-height: 0.72;
  color: var(--sienna);
  opacity: 0.78;
  margin-top: 8px;
}

.an-st-card.is-espresso .an-st-qmark {
  color: #e8a47c;
}

.an-st-card blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.55vw, 1.38rem);
  line-height: 1.52;
  color: inherit;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}

.an-st-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.an-st-card.is-espresso .an-st-foot {
  border-top-color: rgba(232, 164, 124, 0.18);
}

.an-st-author {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.an-st-author .an-st-monogram {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(168, 84, 50, 0.12);
  border: 1.5px solid rgba(168, 84, 50, 0.4);
  color: var(--sienna);
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  opacity: 1;
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.an-st-card.is-espresso .an-st-author .an-st-monogram {
  background: rgba(232, 164, 124, 0.14);
  border-color: rgba(232, 164, 124, 0.5);
  color: #f4cbb0;
}

.an-st-author > div strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
}

.an-st-author > div span {
  display: block;
  font-size: 0.74rem;
  opacity: 0.7;
  margin-top: 2px;
}

.an-st-verified {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(24, 22, 20, 0.06);
  color: var(--ink-muted);
  white-space: nowrap;
}

.an-st-card.is-espresso .an-st-verified {
  background: rgba(255, 248, 240, 0.08);
  color: rgba(244, 203, 176, 0.86);
}

/* Elongated Elastic Progress Pips (AnimatedWebs Swipe Stack) */
.an-st-pips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
}

.an-st-pip {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: var(--r-pill);
  background: rgba(24, 22, 20, 0.18);
  cursor: pointer;
  transition: width 0.34s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.24s ease;
}

.an-st-pip:hover {
  background: rgba(168, 84, 50, 0.55);
}

.an-st-pip.is-active {
  width: 28px;
  background: var(--sienna);
}

@media (max-width: 1080px) {
  .an-st-card blockquote {
    font-size: 1.08rem;
    line-height: 1.48;
  }
}

/* Stays 2-column down to 860px (supports split-screen ~1000px cleanly) */
@media (max-width: 860px) {
  .an-st-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .an-st-deck {
    height: 438px;
  }
  .an-st-card {
    height: 378px;
  }
}

@media (max-width: 560px) {
  .an-st-stats {
    gap: 8px;
    padding: 12px;
  }
  .an-st-stat + .an-st-stat {
    padding-left: 8px;
  }
  .an-st-left-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .an-st-left-foot .an-btn {
    justify-content: center;
  }
  .an-st-pager {
    justify-content: center;
  }
  .an-st-deck {
    height: 438px;
  }
  .an-st-card {
    height: 382px;
    padding: 22px 20px;
  }
  .an-st-verified {
    display: none;
  }
}

/* ==========================================================================
   CHAPTER 06B: ANIMATEDWEBS PRO EDITORIAL MONOGRAPH ATELIER (6 ARTICLES + HINGED COVER)
   ========================================================================== */
.an-jr-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(50% 48% at 14% 18%, rgba(168, 84, 50, 0.08), transparent 68%),
    var(--stone);
}

.an-jr-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.an-jr-head-main h2 {
  font-size: clamp(2rem, 3.5vw, 3.05rem);
  color: var(--ink-strong);
  line-height: 1.06;
  margin-bottom: 10px;
}

.an-jr-head-main h2 em {
  color: var(--sienna);
  font-style: italic;
}

.an-jr-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  background: rgba(255, 253, 249, 0.82);
  border: 1px solid var(--line-strong);
  color: var(--ink-strong);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease), background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.an-jr-all-btn:hover {
  transform: translateY(-1px);
  background: var(--ink-strong);
  border-color: var(--ink-strong);
  color: #faf7f2;
}

/* Toolbar: Elastic Sliding Filter Dock + Issue Pager */
.an-jr-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.an-jr-dock {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: var(--r-pill);
  background: rgba(255, 253, 249, 0.78);
  border: 1px solid var(--line-strong);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.an-jr-dock::-webkit-scrollbar {
  display: none;
}

.an-jr-glider {
  position: absolute;
  top: 5px;
  left: 5px;
  height: calc(100% - 10px);
  border-radius: var(--r-pill);
  background: var(--ink-strong);
  box-shadow: 0 10px 22px -12px rgba(24, 22, 20, 0.55);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), width 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 0;
}

.an-jr-tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.25s ease;
}

.an-jr-tab span {
  font-size: 0.7rem;
  opacity: 0.62;
  font-variant-numeric: tabular-nums;
}

.an-jr-tab:hover {
  color: var(--ink-strong);
}

.an-jr-tab.is-active {
  color: #faf7f2;
}

.an-jr-tab.is-active span {
  color: #f4cbb0;
  opacity: 0.92;
}

.an-jr-pager {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.an-jr-counter {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--sienna);
  min-width: 54px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* 2-Column Editorial Monograph Atelier (Stays 2-Col Down to 880px) */
.an-jr-atelier {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(20px, 2.6vw, 32px);
  align-items: start;
}

/* LEFT: Deep Obsidian-Bronze Collector's Monograph Stage */
.an-jr-stage {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(82% 58% at 88% 12%, rgba(168, 84, 50, 0.24), transparent 62%),
    linear-gradient(164deg, #1b1612 0%, #120f0c 100%);
  border: 1px solid rgba(232, 164, 124, 0.24);
  box-shadow: 0 34px 72px -32px rgba(20, 14, 10, 0.56);
  color: #faf7f2;
  display: flex;
  flex-direction: column;
}

.an-jr-hero {
  position: relative;
  aspect-ratio: 16 / 8.8;
  overflow: hidden;
  background: #221c17;
  border-bottom: 1px solid rgba(232, 164, 124, 0.16);
}

.an-jr-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1), transform 0.84s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.an-jr-hero-img.is-visible {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.an-jr-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(18, 14, 11, 0.42) 0%, rgba(18, 14, 11, 0.08) 44%, rgba(18, 14, 11, 0.72) 100%);
}

.an-jr-hero-top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.an-jr-hero-pill,
.an-jr-hero-time {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.an-jr-hero-pill {
  background: rgba(20, 16, 13, 0.66);
  border: 1px solid rgba(244, 203, 176, 0.34);
  color: #f4cbb0;
}

.an-jr-hero-time {
  background: rgba(20, 16, 13, 0.52);
  border: 1px solid rgba(255, 248, 240, 0.18);
  color: rgba(250, 247, 242, 0.9);
}

/* Sculptural Hinged Hardcover Print Monograph (AnimatedWebs Pro Cover Flip) */
.an-jr-book {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 4;
  width: 96px;
  height: 128px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  perspective: 900px;
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 18px 24px rgba(10, 7, 5, 0.6));
}

.an-jr-book:hover {
  transform: translateY(-5px) rotate(-1.2deg);
}

.an-jr-book-pages {
  position: absolute;
  top: 4px;
  right: -6px;
  bottom: 4px;
  width: 8px;
  border-radius: 0 3px 3px 0;
  background: repeating-linear-gradient(
    90deg,
    #f3eadb 0px,
    #f3eadb 1px,
    #d6c7b2 1px,
    #d6c7b2 2px
  );
  box-shadow: inset 1px 0 2px rgba(24, 18, 12, 0.25);
}

.an-jr-book-inside {
  position: absolute;
  inset: 0;
  border-radius: 3px 8px 8px 3px;
  background: linear-gradient(155deg, #fbf6ed 0%, #efe5d5 100%);
  border: 1px solid rgba(168, 84, 50, 0.3);
  padding: 9px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  color: #1c1815;
}

.an-jr-book-in-head {
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--sienna);
  border-bottom: 1px solid rgba(168, 84, 50, 0.24);
  padding-bottom: 4px;
}

.an-jr-book-in-head em {
  font-style: normal;
  font-weight: 800;
}

.an-jr-book-in-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.54rem;
  line-height: 1.35;
  color: #2b241e;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.an-jr-book-in-foot {
  font-size: 0.46rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #6b5a4e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.an-jr-book-cover {
  position: absolute;
  inset: 0;
  border-radius: 3px 8px 8px 3px;
  overflow: hidden;
  background: #231c17;
  border: 1px solid rgba(244, 203, 176, 0.42);
  transform-origin: left center;
  transform: rotateY(0deg);
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: inset 3px 0 8px rgba(0, 0, 0, 0.45);
}

.an-jr-book:hover .an-jr-book-cover,
.an-jr-book.is-open .an-jr-book-cover {
  transform: rotateY(-138deg);
}

.an-jr-book.is-swapping {
  transform: translateY(-4px) scale(0.96);
}

.an-jr-book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.an-jr-book-cover-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 12, 9, 0.56) 0%, rgba(16, 12, 9, 0.14) 50%, rgba(16, 12, 9, 0.76) 100%);
}

.an-jr-book-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 7px;
  background: linear-gradient(90deg, rgba(244, 203, 176, 0.34), rgba(16, 12, 9, 0.45) 55%, transparent);
}

.an-jr-book-foil {
  position: absolute;
  top: 8px;
  left: 11px;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #f4cbb0;
}

.an-jr-book-num {
  position: absolute;
  bottom: 8px;
  left: 11px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1;
  color: #faf7f2;
}

/* Stage Body */
.an-jr-body {
  padding: clamp(20px, 2.3vw, 26px) clamp(22px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: opacity 0.24s ease, transform 0.28s var(--ease);
}

.an-jr-body.is-fading {
  opacity: 0.42;
  transform: translateY(4px);
}

.an-jr-mode-row {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
  padding: 3px;
  border-radius: var(--r-pill);
  background: rgba(255, 248, 240, 0.06);
  border: 1px solid rgba(232, 164, 124, 0.2);
}

.an-jr-mode-btn {
  border: 0;
  border-radius: var(--r-pill);
  padding: 5px 13px;
  background: transparent;
  color: rgba(250, 247, 242, 0.68);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.24s ease, color 0.24s ease;
}

.an-jr-mode-btn:hover {
  color: #faf7f2;
}

.an-jr-mode-btn.is-active {
  background: rgba(232, 164, 124, 0.2);
  color: #f4cbb0;
}

.an-jr-body h3 {
  font-size: clamp(1.38rem, 2.1vw, 1.84rem);
  line-height: 1.18;
  color: #faf7f2;
  margin: 0;
}

.an-jr-body h3 a {
  color: inherit;
  transition: color 0.24s ease;
}

.an-jr-body h3 a:hover {
  color: #f4cbb0;
}

.an-jr-excerpt {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.66;
  color: rgba(250, 247, 242, 0.78);
}

.an-jr-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 248, 240, 0.05);
  border-left: 2.5px solid #d4895d;
  animation: anJrUnfold 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.an-jr-preview[hidden] {
  display: none;
}

.an-jr-preview p {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.66;
  color: rgba(250, 247, 242, 0.88);
}

.an-jr-preview p:empty {
  display: none;
}

@keyframes anJrUnfold {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.an-jr-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.an-jr-tags span {
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: rgba(232, 164, 124, 0.1);
  border: 1px solid rgba(232, 164, 124, 0.24);
  font-size: 0.71rem;
  font-weight: 600;
  color: #f4cbb0;
}

.an-jr-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(232, 164, 124, 0.18);
  flex-wrap: wrap;
}

.an-jr-author {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 200px;
}

.an-jr-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
  border: 1.5px solid rgba(244, 203, 176, 0.5);
  flex-shrink: 0;
}

.an-jr-author-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.an-jr-author-text strong {
  font-size: 0.86rem;
  font-weight: 600;
  color: #faf7f2;
  line-height: 1.25;
}

.an-jr-author-text span {
  font-size: 0.71rem;
  color: rgba(244, 203, 176, 0.78);
  margin-top: 2px;
  line-height: 1.25;
}

.an-jr-author:hover .an-jr-author-text strong {
  color: #f4cbb0;
}

.an-jr-progress {
  display: block;
  height: 3px;
  width: 100%;
  background: rgba(255, 248, 240, 0.08);
  overflow: hidden;
}

.an-jr-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #a85432, #f4cbb0);
  transform-origin: left center;
  transform: scaleX(0);
}

/* RIGHT: Curated 6-Issue Tactile Index Shelf */
.an-jr-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.an-jr-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 10px 14px;
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.64);
  border: 1px solid rgba(24, 22, 20, 0.08);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.26s ease,
    border-color 0.26s ease,
    box-shadow 0.3s ease;
}

.an-jr-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3.5px;
  border-radius: 0 4px 4px 0;
  background: var(--sienna);
  transform: scaleY(0);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.an-jr-item:hover {
  background: rgba(255, 253, 249, 0.94);
  border-color: rgba(168, 84, 50, 0.26);
  transform: translateX(3px);
}

.an-jr-item.is-active {
  background: #fffdf9;
  border-color: rgba(168, 84, 50, 0.42);
  box-shadow: 0 18px 34px -24px rgba(32, 22, 14, 0.34);
  transform: translateX(4px);
}

.an-jr-item.is-active::before {
  transform: scaleY(1);
}

.an-jr-item.is-hidden {
  display: none;
}

.an-jr-item-select {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

.an-jr-thumb {
  position: relative;
  width: 92px;
  height: 68px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--stone-deep);
  flex-shrink: 0;
}

.an-jr-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.an-jr-item:hover .an-jr-thumb img,
.an-jr-item.is-active .an-jr-thumb img {
  transform: scale(1.07);
}

.an-jr-thumb-num {
  position: absolute;
  top: 5px;
  left: 5px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(20, 16, 13, 0.72);
  color: #f4cbb0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.an-jr-item-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.an-jr-item-meta {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--sienna);
}

.an-jr-item-title {
  font-family: var(--font-serif);
  font-size: 0.99rem;
  font-weight: 500;
  line-height: 1.26;
  color: var(--ink-strong);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.an-jr-item-author {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
}

.an-jr-item-author img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
  border: 1px solid rgba(168, 84, 50, 0.35);
  flex-shrink: 0;
}

.an-jr-item-author span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.an-jr-item-go {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(242, 236, 227, 0.7);
  color: var(--ink-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease);
}

.an-jr-item.is-active .an-jr-item-go,
.an-jr-item-go:hover {
  background: var(--sienna);
  border-color: var(--sienna);
  color: #faf7f2;
  transform: translateX(2px);
}

/* Responsive: Keeps 2-column atelier cleanly down to 880px (supports ~1000px split-screen) */
@media (max-width: 1080px) {
  .an-jr-thumb {
    width: 78px;
    height: 60px;
  }
  .an-jr-item-title {
    font-size: 0.93rem;
  }
  .an-jr-book {
    width: 82px;
    height: 110px;
  }
}

@media (max-width: 880px) {
  .an-jr-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .an-jr-atelier {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
}

@media (max-width: 560px) {
  .an-jr-toolbar {
    gap: 12px;
  }
  .an-jr-pager {
    width: 100%;
    justify-content: flex-end;
  }
  .an-jr-book {
    width: 74px;
    height: 100px;
    right: 12px;
    bottom: 12px;
  }
  .an-jr-hero-top {
    top: 12px;
    left: 12px;
    right: 12px;
  }
  .an-jr-hero-time {
    display: none;
  }
  .an-jr-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .an-jr-foot .an-btn {
    justify-content: center;
  }
  .an-jr-thumb {
    width: 74px;
    height: 58px;
  }
}

/* ==========================================================================
   CHAPTER 07: KOBU ARCHITECTURAL BRANCHES (2 PHYSICAL + ONLINE) & FAQ
   ========================================================================== */
.an-branches-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: clamp(72px, 8vw, 112px);
}

.an-branch-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--cream-elev);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.an-branch-media {
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: var(--stone-deep);
}

.an-branch-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.72s var(--ease);
}

.an-branch-card:hover .an-branch-media img {
  transform: scale(1.045);
}

.an-branch-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.an-branch-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sienna);
  margin-bottom: 8px;
}

.an-branch-body h3 {
  font-size: 1.46rem;
  color: var(--ink-strong);
  margin-bottom: 10px;
}

.an-branch-addr {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.an-branch-list {
  display: grid;
  gap: 7px;
  padding-top: 14px;
  margin-bottom: 20px;
  border-top: 1px solid var(--line);
}

.an-branch-list li {
  font-size: 0.84rem;
  color: var(--ink-soft);
  padding-left: 16px;
  position: relative;
}

.an-branch-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sienna);
  opacity: 0.7;
}

.an-branch-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* Serene FAQ Split */
.an-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.an-faq-aside h2 {
  font-size: clamp(2rem, 3.4vw, 2.95rem);
  color: var(--ink-strong);
  margin-bottom: 14px;
}

.an-faq-aside p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.ky-faq-list {
  border-top: 1px solid var(--line);
}

.ky-faq-item {
  border-bottom: 1px solid var(--line);
}

.ky-faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 400;
  color: var(--ink-strong);
}

.ky-faq-q {
  font-weight: 400;
}

.ky-faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.28s var(--ease), background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.ky-faq-icon svg {
  width: 14px;
  height: 14px;
}

.ky-faq-item.is-open .ky-faq-icon {
  background: var(--sienna);
  border-color: var(--sienna);
  color: #fff;
  transform: rotate(180deg);
}

.ky-faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.36s var(--ease);
}

.ky-faq-item.is-open .ky-faq-panel {
  grid-template-rows: 1fr;
}

.ky-faq-answer {
  overflow: hidden;
}

.ky-faq-answer p {
  padding: 0 4px 24px;
  font-size: 0.95rem;
  line-height: 1.74;
  color: var(--ink-soft);
  max-width: 66ch;
}

@media (max-width: 980px) {
  .an-branches-grid,
  .an-faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CHAPTER 08: FUNCTION DARK ORBITAL CLOSING SANCTUARY (1481/media_1.webp)
   + FRAMED WARM-CREAM FOOTER (1495/media_0.webp)
   + SUPERPOWER PHOTO-CLIPPED WORDMARK (1495/media_2.webp)
   ========================================================================== */
.an-closing-sanctuary {
  position: relative;
  padding: clamp(92px, 11vw, 152px) 0 clamp(80px, 9vw, 124px);
  background:
    radial-gradient(56% 52% at 50% 48%, rgba(168, 84, 50, 0.2), transparent 72%),
    var(--obsidian);
  color: var(--bone);
  text-align: center;
  overflow: hidden;
}

#aw-orbit-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.an-closing-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.an-closing-sanctuary h2 {
  font-size: clamp(2.45rem, 5.2vw, 4.45rem);
  font-weight: 300;
  color: #faf7f2;
  margin-bottom: 18px;
}

.an-closing-sanctuary p {
  font-size: 1.04rem;
  line-height: 1.76;
  color: var(--bone-soft);
  max-width: 54ch;
  margin: 0 auto 32px;
}

.an-closing-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Function Framed Warm-Cream Footer inside Dark Ground */
.ky-footer {
  background: var(--obsidian);
  padding: 0 clamp(12px, 2vw, 24px) clamp(12px, 2vw, 24px);
}

.an-footer-sheet {
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--r-xl);
  padding: clamp(48px, 6vw, 76px) 0 clamp(24px, 3vw, 36px);
  overflow: hidden;
}

.ky-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 52px);
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.ky-footer-logo img {
  height: 34px;
  margin-bottom: 16px;
}

.ky-footer-about {
  font-size: 0.89rem;
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 36ch;
  margin-bottom: 20px;
}

.ky-footer-socials {
  display: flex;
  gap: 10px;
}

.ky-footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.ky-footer-socials a:hover {
  background: var(--sienna);
  border-color: var(--sienna);
  color: #fff;
}

.ky-footer-socials svg {
  width: 17px;
  height: 17px;
}

.ky-footer-col h3 {
  font-family: var(--font-sans);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sienna);
  margin-bottom: 16px;
}

.ky-footer-links {
  display: grid;
  gap: 10px;
}

.ky-footer-links a {
  font-size: 0.88rem;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.ky-footer-links a:hover {
  color: var(--sienna);
}

.ky-footer-contact {
  display: grid;
  gap: 13px;
}

.ky-footer-ci {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.84rem;
  line-height: 1.52;
  color: var(--ink-soft);
}

.ky-footer-ci b {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink-strong);
  margin-bottom: 2px;
}

.ky-footer-ci-box {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--stone);
  color: var(--sienna);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.ky-footer-ci-box svg {
  width: 15px;
  height: 15px;
}

/* Integrated Warm-Stone Newsletter Bar */
.ky-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  margin: 34px 0 24px;
  border-radius: var(--r-lg);
  background: var(--stone);
}

.ky-newsletter h3 {
  font-size: 1.48rem;
  color: var(--ink-strong);
  margin-bottom: 6px;
}

.ky-newsletter p {
  font-size: 0.89rem;
  color: var(--ink-soft);
}

.ky-newsletter-form {
  display: flex;
  gap: 10px;
}

.ky-newsletter-form input {
  flex: 1;
  height: 46px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
}

.ky-footer-disclaimer {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.79rem;
  line-height: 1.62;
  color: var(--ink-muted);
}

.ky-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0 12px;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.ky-footer-legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.ky-footer-legal a:hover {
  color: var(--sienna);
}

/* Superpower Photo-Clipped Giant Wordmark (1495/media_2.webp) */
.an-footer-wordmark-wrap {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
}

.an-footer-wordmark {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(3.1rem, 11.4vw, 10.4rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.045em;
  white-space: nowrap;
  user-select: none;
  background-image: linear-gradient(120deg, rgba(168, 84, 50, 0.25), rgba(24, 22, 20, 0.18)),
    url("../images/editorial/hero-cinematic.webp");
  background-size: cover;
  background-position: 50% 42%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 980px) {
  .ky-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ky-newsletter {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .ky-footer-grid {
    grid-template-columns: 1fr;
  }
  .ky-newsletter-form {
    flex-direction: column;
  }
}

/* ==========================================================================
   COMPLETE SUBPAGE DESIGN SYSTEM (ALL 54 SUBPAGES — UNIFIED WARM ALABASTER)
   ========================================================================== */
.ky-bg-white {
  background: var(--cream);
  color: var(--ink);
}
.ky-bg-cream {
  background: var(--stone);
  color: var(--ink);
}
.ky-bg-team {
  background: var(--stone);
  color: var(--ink);
}
.ky-border-y {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ky-page-hero {
  padding: 176px 0 64px;
  background:
    radial-gradient(65% 65% at 88% 12%, rgba(168, 84, 50, 0.08), transparent 62%),
    var(--stone);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.ky-page-hero-sage {
  background:
    radial-gradient(65% 65% at 88% 12%, rgba(168, 84, 50, 0.1), transparent 62%),
    var(--stone);
}

.ky-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 18px;
}

.ky-breadcrumb a:hover {
  color: var(--sienna);
}

.ky-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 18px;
  transition: color 0.2s ease, gap 0.2s ease;
}

.ky-back-link svg {
  width: 14px;
  height: 14px;
}

.ky-back-link:hover {
  color: var(--sienna);
  gap: 11px;
}

.ky-page-hero h1 {
  font-size: clamp(2.25rem, 4.4vw, 3.7rem);
  color: var(--ink-strong);
  max-width: 22ch;
  margin-bottom: 14px;
}

.ky-lead,
.ky-page-hero-lead {
  font-size: 1.05rem;
  line-height: 1.74;
  color: var(--ink-soft);
  max-width: 62ch;
}

.ky-page-meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ky-meta-pill {
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--cream-elev);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.ky-sec-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 4.5vw, 52px);
}

.ky-sec-split h2 {
  font-size: clamp(2.1rem, 3.6vw, 3.2rem);
  color: var(--ink-strong);
  max-width: 19ch;
}

.ky-sec-split p {
  margin-top: 10px;
  font-size: 0.98rem;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* Subpage Grids */
.ky-detail-grid,
.ky-profile-grid,
.ky-contact-grid,
.ky-split-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(300px, 0.78fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: start;
}

.ky-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ky-cards-3,
.ky-services-grid,
.ky-branches-grid,
.ky-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ky-team-grid,
.ky-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

/* Subpage Cards */
.ky-card,
.ky-box,
.ky-srv-card,
.ky-post-card,
.ky-branch-card,
.ky-spec-card,
.ky-album-card {
  border-radius: var(--r-lg);
  background: var(--cream-elev);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--ease), box-shadow 0.28s ease;
}

.ky-srv-card:hover,
.ky-post-card:hover,
.ky-branch-card:hover,
.ky-album-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.ky-card-pad,
.ky-box {
  padding: 26px;
}

.ky-srv-media,
.ky-post-media,
.ky-album-media,
.ky-branch-media {
  position: relative;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: var(--stone);
}

.ky-srv-media img,
.ky-post-media img,
.ky-album-media img,
.ky-branch-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.ky-srv-card:hover img,
.ky-post-card:hover img,
.ky-branch-card:hover img,
.ky-album-card:hover img {
  transform: scale(1.045);
}

.ky-srv-dur {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(22, 20, 18, 0.72);
  backdrop-filter: blur(8px);
  color: var(--bone);
  font-size: 0.72rem;
  font-weight: 600;
}

.ky-srv-body,
.ky-post-body,
.ky-branch-body,
.ky-album-body {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ky-srv-headrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ky-srv-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sienna);
  display: inline-block;
  margin-bottom: 6px;
}

.ky-srv-title,
.ky-post-title {
  font-size: 1.32rem;
  color: var(--ink-strong);
  margin-bottom: 8px;
}

.ky-srv-desc,
.ky-post-excerpt {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.ky-srv-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--sienna);
}

.ky-arr,
.ky-srv-more svg {
  width: 14px;
  height: 14px;
}

.ky-spec-card {
  padding: 18px;
  text-align: center;
}

.ky-spec-avatar {
  width: 100%;
  border-radius: var(--r-md);
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--stone);
}

.ky-spec-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
}

.ky-spec-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sienna);
  margin-bottom: 4px;
}

.ky-spec-name {
  font-size: 1.22rem;
  color: var(--ink-strong);
  margin-bottom: 4px;
}

.ky-spec-role {
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.ky-spec-edu {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 6px;
}

.ky-post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.ky-post-pill,
.ky-post-pill-sky {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--sienna-tint);
  color: var(--sienna);
  font-weight: 600;
  font-size: 0.72rem;
}

.ky-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.ky-post-tags span {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--stone);
  font-size: 0.74rem;
  color: var(--ink-soft);
}

.ky-branch-inner {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ky-branch-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.ky-branch-pill {
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--sienna-tint);
  color: var(--sienna);
  font-size: 0.72rem;
  font-weight: 600;
}

.ky-branch-coord {
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.ky-branch-addr {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 8px 0 12px;
}

.ky-branch-transit {
  display: grid;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.ky-branch-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.ky-branch-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.ky-branch-link:hover {
  color: var(--sienna);
}

.ky-branch-link svg {
  width: 14px;
  height: 14px;
}

/* Subpage Callouts, Prose, Checklists & Sidebars */
.ky-callout {
  padding: 24px 28px;
  border-radius: var(--r-md);
  background: var(--stone);
  border-left: 3px solid var(--sienna);
  margin-bottom: 30px;
}

.ky-callout-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sienna);
  margin-bottom: 8px;
}

.ky-callout p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--ink-strong);
}

.ky-prose h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  color: var(--ink-strong);
  margin: 34px 0 12px;
}
.ky-prose h2:first-child {
  margin-top: 0;
}
.ky-prose h3 {
  font-size: 1.32rem;
  color: var(--ink-strong);
  margin: 24px 0 8px;
}
.ky-prose p {
  font-size: 1rem;
  line-height: 1.82;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.ky-prose ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 24px;
}
.ky-prose li {
  position: relative;
  padding-left: 18px;
  font-size: 0.96rem;
  line-height: 1.68;
  color: var(--ink-soft);
}
.ky-prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sienna);
}

.ky-check-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 26px;
}

.ky-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: var(--cream-elev);
  border: 1px solid var(--line);
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.ky-check-list li::before {
  display: none;
}
.ky-check-list svg {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--sienna);
  flex-shrink: 0;
}

.ky-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 26px;
}
.ky-pill-list li {
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--stone);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink);
}
.ky-pill-list li::before {
  display: none;
}

.ky-aside-card,
.ky-form-card {
  position: sticky;
  top: 96px;
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--cream-elev);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.ky-form-card {
  position: static;
}

.ky-aside-ico {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sienna-tint);
  color: var(--sienna);
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
}
.ky-aside-ico svg {
  width: 20px;
  height: 20px;
}

.ky-aside-card h3 {
  font-size: 1.52rem;
  color: var(--ink-strong);
  margin-bottom: 8px;
}

.ky-aside-card > p {
  font-size: 0.91rem;
  line-height: 1.66;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.ky-aside-btns {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.ky-aside-meta {
  display: grid;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.ky-aside-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
}
.ky-aside-meta span {
  color: var(--ink-muted);
}
.ky-aside-meta b {
  color: var(--ink-strong);
  font-weight: 600;
  text-align: right;
}

.ky-info-rows {
  display: grid;
  gap: 12px;
}
.ky-info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--cream-elev);
  border: 1px solid var(--line);
}
.ky-info-ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--stone);
  color: var(--sienna);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.ky-info-ico svg {
  width: 17px;
  height: 17px;
}
.ky-info-lbl {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 3px;
}
.ky-info-val {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-strong);
  line-height: 1.5;
}

.ky-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.ky-field-full {
  grid-column: 1 / -1;
}
.ky-field label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.ky-field input,
.ky-field select,
.ky-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-size: 0.94rem;
}
.ky-field textarea {
  min-height: 112px;
  resize: vertical;
}
.ky-field input:focus,
.ky-field select:focus,
.ky-field textarea:focus {
  outline: none;
  border-color: var(--sienna);
  background: #fff;
}

.ky-map-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.ky-map-frame {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  height: 420px;
  overflow: hidden;
}
.ky-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.ky-share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 28px 0;
}
.ky-share-lbl {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}
.ky-share-btn {
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.ky-share-btn:hover {
  background: var(--ink);
  color: var(--cream);
}

.ky-pastel,
.ky-pastel-0,
.ky-pastel-1,
.ky-pastel-2,
.ky-pastel-3,
.ky-pastel-4,
.ky-pastel-5,
.ky-pastel-6 {
  border-radius: var(--r-lg);
  background: var(--cream-elev);
  border: 1px solid var(--line);
}

.aw-btn-disc {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
}
.aw-btn-disc svg {
  width: 14px;
  height: 14px;
}
.aw-glass-chip {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
}
.aw-glass-chip svg {
  width: 14px;
  height: 14px;
}

/* Floating Utilities: WhatsApp, Back-to-Top, Cookie Notice, Lightbox */
.ky-float-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 190;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sienna);
  color: #fff;
  display: inline-grid;
  place-items: center;
  box-shadow: 0 16px 36px -10px rgba(168, 84, 50, 0.55);
  transition: transform 0.25s var(--ease), background-color 0.25s ease;
}
.ky-float-wa:hover {
  transform: translateY(-3px);
  background: var(--sienna-deep);
}
.ky-float-wa svg {
  width: 23px;
  height: 23px;
}

.ky-back-top {
  position: fixed;
  right: 25px;
  bottom: 84px;
  z-index: 185;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-elev);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  display: inline-grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}
.ky-back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.ky-back-top svg {
  width: 16px;
  height: 16px;
}

.ky-cookie {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 200;
  max-width: 390px;
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: var(--obsidian);
  color: var(--bone);
  box-shadow: 0 24px 54px -16px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
}
.ky-cookie.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.ky-cookie p {
  font-size: 0.83rem;
  line-height: 1.58;
  color: var(--bone-soft);
  margin-bottom: 14px;
}
.ky-cookie-acts {
  display: flex;
  gap: 8px;
  align-items: center;
}
.ky-cookie-accept {
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--cream);
  color: var(--ink-strong);
  font-size: 0.76rem;
  font-weight: 600;
}
.ky-cookie-reject,
.ky-cookie-x {
  padding: 8px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-dark-strong);
  color: var(--bone);
  font-size: 0.76rem;
}

dialog.ky-lightbox {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: min(92vw, 980px);
  overflow: visible;
}
dialog.ky-lightbox::backdrop {
  background: rgba(22, 20, 18, 0.84);
  backdrop-filter: blur(8px);
}
.ky-lightbox-inner {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--obsidian);
}
.ky-lightbox-inner img {
  max-height: 82vh;
  width: auto;
  margin: 0 auto;
}
.ky-lightbox-bar {
  padding: 14px 20px;
  font-size: 0.84rem;
  color: var(--bone-soft);
  text-align: center;
}
.ky-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(22, 20, 18, 0.76);
  color: var(--bone);
  display: grid;
  place-items: center;
}

@media (max-width: 1024px) {
  .ky-detail-grid,
  .ky-profile-grid,
  .ky-contact-grid,
  .ky-split-sidebar {
    grid-template-columns: 1fr;
  }
  .ky-aside-card {
    position: static;
  }
  .ky-team-grid,
  .ky-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ky-cards-3,
  .ky-services-grid,
  .ky-branches-grid,
  .ky-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .ky-form-grid,
  .ky-grid-2,
  .ky-team-grid,
  .ky-grid-4,
  .ky-cards-3,
  .ky-services-grid,
  .ky-branches-grid,
  .ky-grid-3 {
    grid-template-columns: 1fr;
  }
}

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