/**
 * IndoWords — Editorial Portfolio & Localization Studio
 * Inspired by Aster Portfolio Agency Design System
 * Palette: Obsidian (#01010b), Charcoal (#18181b), IndoWords Brand Teal (#109E92)
 */

/* ==========================================================================
   1. Design Tokens & Theme Variables
   ========================================================================== */
:root {
  --bg-body: #18181b;
  --bg-alt: #141417;
  --bg-obsidian: #01010b;
  --bg-card: #1e1e23;
  --bg-card-hover: #24242b;
  --bg-header-scrolled: rgba(1, 1, 11, 0.38);

  --text-heading: #ffffff;
  --text-body: #c0c0c7;
  --text-muted: #8d99a7;
  --text-subtle: #68707d;

  --accent: #109e92;
  --accent-bright: #14b8a6;
  --accent-soft: rgba(16, 158, 146, 0.14);
  --accent-border: rgba(16, 158, 146, 0.45);
  --gold-accent: #d4a853;

  --border-line: #2d2d37;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-input: #494954;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-signature: 'Mr De Haviland', cursive;

  --ease-aster: cubic-bezier(0.3, 0, 0.3, 1);
  --container-max: 1260px;

  color-scheme: dark;
}

/* Editorial Gallery Light Mode */
html[data-theme="light"] {
  --bg-body: #f5f4f0;
  --bg-alt: #eceae4;
  --bg-card: #ffffff;
  --bg-card-hover: #faf9f6;
  --bg-header-scrolled: rgba(245, 244, 240, 0.55);

  --text-heading: #141418;
  --text-body: #434652;
  --text-muted: #6c7080;
  --text-subtle: #8a8e9e;

  --accent: #0d8a7f;
  --accent-bright: #109e92;
  --accent-soft: rgba(13, 138, 127, 0.11);
  --accent-border: rgba(13, 138, 127, 0.42);

  --border-line: #dcd9d0;
  --border-subtle: rgba(20, 20, 24, 0.10);
  --border-input: #b8b5ac;

  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-body);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.68;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.45s var(--ease-aster), color 0.45s var(--ease-aster);
}

body.no-scroll {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.12;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.35s var(--ease-aster);
}

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

button, input, select, textarea {
  font-family: var(--font-sans);
}

::selection {
  background: var(--accent);
  color: #ffffff;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

/* ==========================================================================
   3. Aster Preloader Curtain
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #01010b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.9s var(--ease-aster), visibility 0.9s var(--ease-aster);
  will-change: transform;
}

.preloader.is-loaded {
  transform: translate3d(0, -108%, 0) skewY(-3deg);
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.preloader-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  animation: preloaderPulse 1.8s ease-in-out infinite;
}

.preloader-brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
}

.preloader-brand span {
  color: #14b8a6;
}

.preloader-bar {
  position: relative;
  width: 160px;
  height: 2px;
  background: rgba(255, 255, 255, 0.16);
  overflow: visible;
}

.preloader-line {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: #109e92;
  animation: preloaderFill 1.1s var(--ease-aster) forwards;
}

.preloader-dot {
  position: absolute;
  top: 50%;
  right: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #14b8a6;
  transform: translateY(-50%);
  box-shadow: 0 0 12px #14b8a6;
}

@keyframes preloaderFill {
  0% { width: 8%; }
  65% { width: 82%; }
  100% { width: 100%; }
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); opacity: 0.92; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* ==========================================================================
   4. Custom Interactive Magnetic Cursor
   ========================================================================== */
.aster-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  margin-left: -16px;
  margin-top: -16px;
  border: 1px solid rgba(20, 184, 166, 0.72);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: width 0.32s var(--ease-aster),
              height 0.32s var(--ease-aster),
              margin 0.32s var(--ease-aster),
              background-color 0.32s var(--ease-aster),
              border-color 0.32s var(--ease-aster),
              opacity 0.3s ease;
  will-change: transform;
  opacity: 0;
}

.aster-cursor.is-visible {
  opacity: 1;
}

.aster-cursor.is-hover {
  width: 64px;
  height: 64px;
  margin-left: -32px;
  margin-top: -32px;
  background-color: rgba(16, 158, 146, 0.16);
  border-color: #14b8a6;
}

@media (hover: none), (pointer: coarse) {
  .aster-cursor {
    display: none !important;
  }
}

/* ==========================================================================
   5. Minimalist Fixed Header (Aster Top Bar)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 28px 50px;
  transition: padding 0.45s var(--ease-aster),
              background-color 0.45s var(--ease-aster),
              transform 0.45s var(--ease-aster),
              border-color 0.45s var(--ease-aster);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  padding: 16px 50px;
  background-color: var(--bg-header-scrolled);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--border-subtle);
}

/* Immediate visual feedback when Light Mode is active even at top of page */
html[data-theme="light"] .site-header {
  background-color: rgba(245, 244, 240, 0.55);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: rgba(20, 20, 24, 0.08);
}

html[data-theme="light"] .site-header.menu-is-open {
  background-color: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

.site-header.header-hidden:not(.menu-is-open) {
  transform: translate3d(0, -100%, 0);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1680px;
  margin: 0 auto;
}

/* Brand Logotype */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  position: relative;
  z-index: 1010;
}

.brand-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
  transition: transform 0.5s var(--ease-aster);
}

.brand-logo:hover .brand-mark {
  transform: rotate(12deg) scale(1.04);
}

.brand-mark-light {
  display: none;
}

html[data-theme="light"] .site-header .brand-mark-dark {
  display: none;
}

html[data-theme="light"] .site-header .brand-mark-light {
  display: block;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  transition: color 0.35s var(--ease-aster);
}

.brand-title::first-letter {
  color: var(--accent-bright);
}

html[data-theme="light"] .site-header .brand-title {
  color: #141418;
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 3px;
}

html[data-theme="light"] .site-header .brand-sub {
  color: #5a5d6c;
}

/* Header Right Controls */
.header-controls {
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
  z-index: 1010;
}

/* Language Switcher (EN | DE) */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  height: 36px;
  padding: 2px;
}

html[data-theme="light"] .site-header .lang-switcher {
  border-color: rgba(20, 20, 24, 0.22);
}

.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0 11px;
  height: 100%;
  cursor: pointer;
  transition: all 0.3s var(--ease-aster);
}

html[data-theme="light"] .site-header .lang-btn {
  color: rgba(20, 20, 24, 0.62);
}

.lang-btn.active {
  background: var(--accent);
  color: #ffffff !important;
}

.lang-btn:hover:not(.active) {
  color: #ffffff;
}

html[data-theme="light"] .site-header .lang-btn:hover:not(.active) {
  color: #141418;
}

/* Theme Sun / Moon Toggle */
.theme-toggle-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.35s var(--ease-aster);
}

html[data-theme="light"] .site-header .theme-toggle-btn {
  border-color: rgba(20, 20, 24, 0.22);
  color: #141418;
}

.theme-toggle-btn:hover {
  border-color: var(--accent-bright);
  color: var(--accent-bright) !important;
  transform: translateY(-1px);
}

/* Aster 2-Line Hamburger Menu Button */
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 4px 0 4px 6px;
}

html[data-theme="light"] .site-header .menu-btn {
  color: #141418;
}

.menu-btn-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease-aster);
}

.menu-btn:hover .menu-btn-label {
  color: var(--accent-bright);
}

.menu-btn-bars {
  position: relative;
  width: 30px;
  height: 20px;
  display: inline-block;
}

.menu-btn-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transition: transform 0.45s var(--ease-aster), top 0.45s var(--ease-aster), width 0.35s var(--ease-aster);
}

.menu-btn-bars span:nth-child(1) {
  top: 5px;
}

.menu-btn-bars span:nth-child(2) {
  top: 14px;
  width: 72%;
  right: 0;
  left: auto;
}

.menu-btn:hover .menu-btn-bars span:nth-child(2) {
  width: 100%;
}

.menu-btn.active .menu-btn-bars span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}

.menu-btn.active .menu-btn-bars span:nth-child(2) {
  top: 9px;
  width: 100%;
  transform: rotate(-45deg);
}

/* ==========================================================================
   6. Full-Screen Diagonal Skew Menu Overlay (Aster Signature)
   ========================================================================== */
.menu-full-overlay {
  position: fixed;
  inset: 0;
  z-index: 990;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
}

.menu-full-overlay.is-visible {
  visibility: visible;
  pointer-events: auto;
}

.menu-full-bg {
  position: absolute;
  inset: -10% 0;
  background: #01010b;
  transform: translate3d(0, -105%, 0) skewY(-6deg);
  transition: transform 0.85s var(--ease-aster);
  will-change: transform;
}

.menu-full-overlay.is-open .menu-full-bg {
  transform: translate3d(0, 0, 0) skewY(0deg);
}

.menu-watermark {
  position: absolute;
  right: -2%;
  bottom: 6%;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(90px, 16vw, 240px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.025);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.menu-full-container {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 110px 50px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-aster) 0.2s, transform 0.6s var(--ease-aster) 0.2s;
}

.menu-full-overlay.is-open .menu-full-container {
  opacity: 1;
  transform: translateY(0);
}

.menu-full-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  align-items: center;
  gap: 40px;
  margin: auto 0;
}

.menu-full-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-full-item {
  overflow: hidden;
}

.menu-full-link {
  display: inline-flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.4vw, 3.05rem);
  font-weight: 700;
  line-height: 1.22;
  color: #ffffff;
  padding: 4px 0;
  position: relative;
  transition: color 0.35s var(--ease-aster), transform 0.45s var(--ease-aster);
}

.menu-full-num {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #14b8a6;
  min-width: 26px;
}

.menu-full-link::after {
  content: '';
  position: absolute;
  left: 44px;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: #14b8a6;
  transition: width 0.45s var(--ease-aster);
}

.menu-full-link:hover {
  color: #14b8a6;
  transform: translateX(12px);
}

.menu-full-link:hover::after {
  width: calc(100% - 44px);
}

/* Overlay Side Contact Column */
.menu-side-info {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  color: #c0c0c7;
}

.menu-side-block h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #14b8a6;
  margin-bottom: 8px;
}

.menu-side-block a,
.menu-side-block p {
  font-size: 1rem;
  color: #e4e4ea;
  display: block;
}

.menu-side-block a:hover {
  color: #14b8a6;
}

.menu-full-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 22px;
  font-size: 0.82rem;
  color: #8d99a7;
}

.menu-socials {
  display: flex;
  align-items: center;
  gap: 24px;
}

.menu-socials a {
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.menu-socials a:hover {
  color: #14b8a6;
}

/* ==========================================================================
   7. Aster Signature Buttons (Skew-Fill & Protruding More-Btn)
   ========================================================================== */
.aster-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 54px;
  padding: 0 38px;
  border: 1px solid var(--border-input);
  background: transparent;
  color: var(--text-heading);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  transition: color 0.45s var(--ease-aster), border-color 0.45s var(--ease-aster);
}

.aster-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -12%;
  width: 0;
  height: 100%;
  background: var(--accent);
  transform: skew(-14deg);
  transition: width 0.55s var(--ease-aster);
  z-index: -1;
}

.aster-btn:hover {
  color: #ffffff !important;
  border-color: var(--accent);
}

.aster-btn:hover::before {
  width: 125%;
}

.aster-btn-solid {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff !important;
}

.aster-btn-solid::before {
  background: #0b756c;
}

/* Aster Hero "see details" More Button (24px left block expanding on hover) */
.more-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 54px;
  padding: 0 34px 0 26px;
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 1;
  overflow: hidden;
}

.more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -6px;
  width: 24px;
  height: 100%;
  background: #109e92;
  transform: skew(-12deg);
  transition: width 0.55s var(--ease-aster);
  z-index: -1;
}

.more-btn:hover::before {
  width: calc(100% + 18px);
}

.more-btn svg {
  transition: transform 0.4s var(--ease-aster);
}

.more-btn:hover svg {
  transform: translateX(5px);
}

/* ==========================================================================
   8. Character-Splitting & Scroll-Reveal Engine
   ========================================================================== */
[data-splitting] .word {
  display: inline-block;
  white-space: nowrap;
}

[data-splitting] .char {
  display: inline-block;
  will-change: transform, opacity;
}

/* Scroll Reveal Elements */
.reveal-up {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity 0.8s var(--ease-aster), transform 0.8s var(--ease-aster);
}

.reveal-up.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ==========================================================================
   9. Full-Screen (100vh) Parallax Hero Slider
   ========================================================================== */
.hero-main-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 680px;
  background: #01010b;
  overflow: hidden;
  user-select: none;
}

.hero-slides-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity 1.05s var(--ease-aster), visibility 1.05s var(--ease-aster);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 3;
}

.hero-slide.is-leaving {
  opacity: 0;
  visibility: visible;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.10);
  transition: transform 6.5s cubic-bezier(0.2, 0, 0.2, 1);
  will-change: transform;
}

.hero-slide.is-active .slide-bg {
  transform: scale(1.0);
}

/* Multi-layer cinematic dark vignette for AAA typography legibility */
.slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg, rgba(1, 1, 11, 0.88) 0%, rgba(1, 1, 11, 0.64) 48%, rgba(1, 1, 11, 0.26) 100%),
    linear-gradient(180deg, rgba(1, 1, 11, 0.55) 0%, rgba(1, 1, 11, 0.05) 30%, rgba(1, 1, 11, 0.72) 100%);
  pointer-events: none;
}

.slide-container {
  position: relative;
  z-index: 5;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 96px 88px 110px 76px;
  display: flex;
  align-items: center;
}

.slide-caption {
  max-width: 780px;
}

.slide-cat {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #14b8a6;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease-aster) 0.15s, transform 0.65s var(--ease-aster) 0.15s;
}

.slide-cat::before {
  content: '';
  width: 32px;
  height: 2px;
  background: #14b8a6;
  display: inline-block;
}

.hero-slide.is-active .slide-cat {
  opacity: 1;
  transform: translateY(0);
}

.slide-title {
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(3.1rem, 7.3vw, 6.5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: #ffffff !important;
  margin-bottom: 44px;
}

.slide-title .title-line {
  display: block;
}

/* Character-by-character entrance inside active hero slide */
.hero-slide .slide-title .char {
  opacity: 0;
  transform: translate3d(0, 38px, 0);
  transition: opacity 0.6s var(--ease-aster), transform 0.65s var(--ease-aster);
}

.hero-slide.is-active .slide-title .char {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: calc(0.18s + var(--char-index, 0) * 0.025s);
}

/* Aster's Iconic Protruding Horizontal Accent Line beneath Hero Title */
.slide-title::after {
  content: '';
  position: absolute;
  left: -130px;
  bottom: -22px;
  width: 0;
  height: 4px;
  background: #109e92;
  transition: width 0.85s var(--ease-aster) 0.45s, left 0.85s var(--ease-aster) 0.45s;
}

.hero-slide.is-active .slide-title::after {
  left: -46px;
  width: 155px;
}

.slide-desc {
  max-width: 550px;
  font-size: 1.08rem;
  line-height: 1.68;
  color: #d4d4dc !important;
  margin-bottom: 34px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-aster) 0.42s, transform 0.7s var(--ease-aster) 0.42s;
}

.hero-slide.is-active .slide-desc {
  opacity: 1;
  transform: translateY(0);
}

.slide-cta-wrap {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-aster) 0.54s, transform 0.7s var(--ease-aster) 0.54s;
}

.hero-slide.is-active .slide-cta-wrap {
  opacity: 1;
  transform: translateY(0);
}

/* Right-Edge Vertical Pagination Bullets (Aster Signature) */
.hero-pagination {
  position: absolute;
  right: 46px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-bullet {
  width: 24px;
  height: 28px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.hero-bullet-bar {
  width: 4px;
  height: 6px;
  background: rgba(255, 255, 255, 0.36);
  transition: height 0.45s var(--ease-aster), background-color 0.45s var(--ease-aster);
}

.hero-bullet:hover .hero-bullet-bar {
  background: rgba(255, 255, 255, 0.8);
  height: 14px;
}

.hero-bullet.is-active .hero-bullet-bar {
  height: 28px;
  background: #14b8a6;
}

/* Bottom Controls & Credential Strip */
.hero-bottom-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 0 232px 30px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  pointer-events: none;
}

.hero-nav-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  pointer-events: auto;
}

.hero-arrows {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-arrow-btn {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(1, 1, 11, 0.42);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.35s var(--ease-aster);
}

.hero-arrow-btn:hover {
  background: #109e92;
  border-color: #109e92;
  color: #ffffff;
}

.hero-counter {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.75);
  min-width: 64px;
}

.hero-counter strong {
  color: #14b8a6;
}

.hero-progress-track {
  width: 90px;
  height: 2px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.hero-progress-fill {
  height: 100%;
  width: 0%;
  background: #14b8a6;
  transition: width 0.1s linear;
}

.hero-cred-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
  pointer-events: auto;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.hero-cred-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-cred-dot {
  width: 5px;
  height: 5px;
  background: #14b8a6;
  display: inline-block;
}

/* ==========================================================================
   10. Editorial Section Architecture & Monumental Headings
   ========================================================================== */
.aster-section {
  padding: 130px 0;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}

.aster-section-alt {
  background-color: var(--bg-alt);
}

.m-titles {
  margin-bottom: 72px;
  max-width: 820px;
}

.m-titles-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 72px;
  flex-wrap: wrap;
}

.m-titles-split .m-titles {
  margin-bottom: 0;
}

.m-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.m-subtitle::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.h-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.6vw, 5.15rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.015em;
  color: var(--text-heading);
}

.m-desc {
  font-size: 1.08rem;
  color: var(--text-body);
  max-width: 600px;
  margin-top: 22px;
}

/* ==========================================================================
   11. Section 01 — About & Profile Editorial Spread + Counters
   ========================================================================== */
.about-editorial-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 76px;
  align-items: start;
}

.about-portrait-col {
  position: relative;
}

.about-portrait-frame {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  padding: 22px;
}

.about-portrait-frame::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 56px;
  height: 56px;
  border-top: 3px solid var(--accent);
  border-left: 3px solid var(--accent);
  pointer-events: none;
}

/* a small round portrait in the middle of the card */
.about-portrait-img-wrap {
  position: relative;
  overflow: hidden;
  background: transparent;
  padding: 36px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-portrait-img-wrap img {
  width: min(210px, 62%);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 50%;
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 1px var(--accent-border), 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.85s var(--ease-aster);
}

.about-portrait-frame:hover .about-portrait-img-wrap img {
  transform: scale(1.04);
}

.about-pullquote {
  margin-top: 22px;
  padding: 24px 26px;
  border-left: 3px solid var(--accent);
  background: var(--bg-alt);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.24rem;
  line-height: 1.48;
  color: var(--text-heading);
}

/* Academic Timeline */
.edu-editorial-list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.edu-item {
  padding: 22px;
  border: 1px solid var(--border-line);
  background: var(--bg-card);
  transition: border-color 0.35s var(--ease-aster);
}

.edu-item:hover {
  border-color: var(--accent);
}

.edu-year {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 8px;
}

.edu-degree {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.edu-school {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* About Bio Prose */
.about-role-kicker {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 14px 0 28px;
}

.about-prose p {
  margin-bottom: 20px;
  font-size: 1.08rem;
  color: var(--text-body);
}

.about-signature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--border-line);
}

.signature-script {
  font-family: var(--font-signature);
  font-size: 3.1rem;
  line-height: 1;
  color: var(--accent-bright);
  letter-spacing: 0.02em;
}

/* Mission & Vision Hairline Editorial Row */
.mv-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 44px;
  border: 1px solid var(--border-line);
  background: var(--bg-card);
}

.mv-editorial-col {
  padding: 32px 34px;
}

.mv-editorial-col + .mv-editorial-col {
  border-left: 1px solid var(--border-line);
}

.mv-editorial-col h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mv-editorial-col h3::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  display: inline-block;
}

.mv-editorial-col p {
  font-size: 0.98rem;
  color: var(--text-body);
}

/* Monumental 4-Column Stats Bar */
.stats-editorial-bar {
  margin-top: 84px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
}

.stat-editorial-cell {
  padding: 40px 28px;
  border-right: 1px solid var(--border-line);
  transition: background-color 0.35s var(--ease-aster);
}

.stat-editorial-cell:last-child {
  border-right: none;
}

.stat-editorial-cell:hover {
  background-color: var(--accent-soft);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4.3vw, 4.1rem);
  font-weight: 700;
  line-height: 1;
  color: var(--text-heading);
  margin-bottom: 14px;
}

.stat-label {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.stat-sub {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ==========================================================================
   12. Section 02 — Numbered Architectural Services Grid & Throughput
   ========================================================================== */
.services-editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border-line);
  border-left: 1px solid var(--border-line);
}

.service-editorial-item {
  position: relative;
  padding: 44px 42px;
  border-right: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  background: var(--bg-card);
  display: flex;
  gap: 26px;
  overflow: hidden;
  transition: background-color 0.4s var(--ease-aster);
}

.service-editorial-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 0.45s var(--ease-aster);
}

.service-editorial-item:hover {
  background: var(--bg-card-hover);
}

.service-editorial-item:hover::before {
  height: 100%;
}

.service-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  padding-top: 4px;
}

.service-body h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 12px;
  transition: color 0.35s var(--ease-aster);
}

.service-editorial-item:hover .service-body h3 {
  color: var(--accent-bright);
}

.service-body p {
  font-size: 0.98rem;
  color: var(--text-body);
}

/* Daily Capacity Architectural Strip */
.throughput-editorial {
  margin-top: 56px;
  border: 1px solid var(--border-line);
  background: #01010b;
  color: #ffffff;
  padding: 42px 46px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: center;
  gap: 40px;
}

.throughput-head h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: #ffffff !important;
  margin-bottom: 8px;
}

.throughput-head p {
  font-size: 0.94rem;
  color: #a4a8b8 !important;
}

.throughput-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tp-metric-box {
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.tp-metric-name {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #14b8a6;
  margin-bottom: 8px;
}

.tp-metric-val {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
   13. Section 03 — Aster Filterable Specializations Portfolio Grid
   ========================================================================== */
.filter-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 46px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-line);
}

.filter-btn {
  position: relative;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 0;
  cursor: pointer;
  transition: color 0.35s var(--ease-aster);
}

.filter-btn::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -19px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s var(--ease-aster);
}

.filter-btn:hover,
.filter-btn.is-active {
  color: var(--text-heading);
}

.filter-btn.is-active::after {
  width: 100%;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.works-item {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  padding: 40px 34px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 295px;
  transition: transform 0.5s var(--ease-aster),
              border-color 0.45s var(--ease-aster),
              background-color 0.45s var(--ease-aster),
              opacity 0.4s var(--ease-aster);
}

/* Aster's Signature Inset Architectural Hairline */
.works-item::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.45s var(--ease-aster);
}

.works-item:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  background: var(--bg-card-hover);
}

.works-item:hover::after {
  border-color: var(--accent-border);
}

.works-item.is-hidden {
  display: none;
}

.works-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.works-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.works-icon {
  color: var(--text-muted);
  transition: color 0.35s var(--ease-aster), transform 0.35s var(--ease-aster);
}

.works-item:hover .works-icon {
  color: var(--accent-bright);
  transform: scale(1.1);
}

.works-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-heading);
}

.works-desc {
  font-size: 0.96rem;
  color: var(--text-body);
  line-height: 1.64;
}

/* ==========================================================================
   14. Section 04 — Language Technologies & Official Certifications
   ========================================================================== */
.tech-editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.tech-editorial-card {
  padding: 40px 38px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: border-color 0.4s var(--ease-aster), transform 0.4s var(--ease-aster);
}

.tech-editorial-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.tech-icon-box {
  width: 52px;
  height: 52px;
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech-card-content h3 {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  margin-bottom: 10px;
}

.tech-card-content p {
  font-size: 0.96rem;
  color: var(--text-body);
}

/* Verified Certifications Gallery Bar */
.cert-editorial-bar {
  margin-top: 48px;
  padding: 40px 44px;
  border: 1px solid var(--border-line);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}

.cert-editorial-text {
  max-width: 520px;
}

.cert-editorial-text h4 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.cert-editorial-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.cert-badges-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.cert-badge-item {
  position: relative;
  width: 175px;
  height: 118px;
  padding: 12px;
  border: 1px solid var(--border-line);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.35s var(--ease-aster), transform 0.35s var(--ease-aster);
}

.cert-badge-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cert-badge-overlay {
  position: absolute;
  inset: 0;
  background: rgba(1, 1, 11, 0.78);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s var(--ease-aster);
}

.cert-badge-item:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.cert-badge-item:hover .cert-badge-overlay {
  opacity: 1;
}

/* ==========================================================================
   15. Section 05 — 90+ Global Brands Dual Marquee Showcase
   ========================================================================== */
.marquee-editorial-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  position: relative;
  padding: 8px 0;
}

.marquee-editorial-wrap::before,
.marquee-editorial-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 110px;
  z-index: 4;
  pointer-events: none;
}

.marquee-editorial-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-alt) 0%, transparent 100%);
}

.marquee-editorial-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-alt) 0%, transparent 100%);
}

.marquee-container {
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: asterMarquee 105s linear infinite;
}

.marquee-track.reverse {
  animation-direction: reverse;
}

.marquee-editorial-wrap:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes asterMarquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.client-logo-card {
  width: 158px;
  height: 86px;
  background: #ffffff;
  border: 1px solid var(--border-line);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.84;
  filter: saturate(0.85);
  transition: opacity 0.35s var(--ease-aster),
              filter 0.35s var(--ease-aster),
              border-color 0.35s var(--ease-aster),
              transform 0.35s var(--ease-aster);
}

.client-logo-card:hover {
  opacity: 1;
  filter: saturate(1);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.client-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   16. Section 06 — Interactive Turnaround & Project Estimator
   ========================================================================== */
.estimator-editorial-panel {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  border: 1px solid var(--border-line);
  background: var(--bg-card);
}

.estimator-inputs-col {
  padding: 54px 52px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calc-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Aster Sharp Rectangular Selects & Inputs (56px height, 0px radius) */
.aster-select,
.aster-input,
.aster-textarea {
  width: 100%;
  height: 56px;
  padding: 0 20px;
  background-color: var(--bg-body);
  border: 1px solid var(--border-input);
  border-radius: 0;
  color: var(--text-heading);
  font-size: 0.98rem;
  outline: none;
  transition: border-color 0.35s var(--ease-aster), background-color 0.35s var(--ease-aster);
}

.aster-select option {
  background-color: var(--bg-body);
  color: var(--text-heading);
}

.aster-textarea {
  height: 148px;
  padding: 18px 20px;
  resize: vertical;
}

.aster-select:focus,
.aster-input:focus,
.aster-textarea:focus {
  border-color: var(--accent);
}

/* Word Count Slider */
.slider-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.slider-word-readout {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-heading);
}

.slider-word-unit {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 4px;
}

.calc-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  background: var(--border-input);
  outline: none;
  margin-top: 10px;
}

.calc-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: var(--accent);
  border: 3px solid #ffffff;
  border-radius: 0;
  cursor: pointer;
  transition: transform 0.25s var(--ease-aster);
}

.calc-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-range-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--accent);
  border: 3px solid #ffffff;
  border-radius: 0;
  cursor: pointer;
}

/* Obsidian Result Panel */
.estimator-output-col {
  background: #01010b;
  color: #ffffff;
  padding: 54px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  border-left: 1px solid var(--border-line);
}

.est-kicker {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #14b8a6;
  display: block;
  margin-bottom: 10px;
}

.est-big-days {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  color: #ffffff;
}

.est-speed-box {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.est-speed-val {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
}

.est-note {
  font-size: 0.84rem;
  line-height: 1.58;
  color: #969ba8 !important;
}

.estimator-output-col .aster-btn {
  width: 100%;
}

/* ==========================================================================
   17. Section 07 — Editorial Contact & Inquiry Form
   ========================================================================== */
.contact-editorial-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 64px;
  align-items: start;
}

.contact-channels-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-line);
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-line);
  transition: transform 0.35s var(--ease-aster);
}

a.contact-channel-item:hover {
  transform: translateX(8px);
}

.channel-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-line);
  background: var(--bg-card);
  color: var(--accent-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.35s var(--ease-aster), background-color 0.35s var(--ease-aster);
}

a.contact-channel-item:hover .channel-icon {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.channel-meta h4 {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.channel-meta p {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-heading);
}

.contact-form-panel {
  padding: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-alert {
  display: none;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  color: var(--text-heading);
  font-size: 0.94rem;
}

.form-alert.success {
  display: block;
}

/* ==========================================================================
   18. Aster Obsidian Footer (#01010b) & Floating Controls
   ========================================================================== */
.site-footer {
  background: #01010b;
  color: #c0c0c7;
  padding: 88px 0 40px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.85fr;
  gap: 54px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-brand-desc {
  margin-top: 20px;
  max-width: 390px;
  font-size: 0.96rem;
  color: #989ca8 !important;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #14b8a6 !important;
  margin-bottom: 22px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.96rem;
  color: #d4d4dc;
}

.footer-links a:hover {
  color: #14b8a6;
}

.footer-bottom-bar {
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
  color: #7c808e;
}

.footer-top-link {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
}

.footer-top-link:hover {
  color: #14b8a6;
}

/* Certificate Lightbox Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(1, 1, 11, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-aster), visibility 0.4s var(--ease-aster);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  position: relative;
  max-width: 920px;
  max-height: 90vh;
  background: #ffffff;
  padding: 16px;
  border: 1px solid var(--accent);
}

.modal-img {
  max-width: 100%;
  max-height: calc(90vh - 36px);
  object-fit: contain;
}

.modal-close-btn {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 42px;
  height: 42px;
  background: #109e92;
  color: #ffffff;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Back-to-Top */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 900;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s var(--ease-aster);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

/* ==========================================================================
   19. Responsive Breakpoints (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 1080px) {
  .site-header,
  .site-header.scrolled {
    padding: 18px 28px;
  }

  .slide-container {
    padding: 90px 64px 120px 44px;
  }

  .hero-slide.is-active .slide-title::after {
    left: 0;
    width: 120px;
  }

  .hero-cred-strip {
    display: none;
  }

  .hero-bottom-bar {
    padding: 0 28px 26px;
  }

  .about-editorial-grid,
  .estimator-editorial-panel,
  .contact-editorial-grid,
  .throughput-editorial {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .estimator-output-col {
    border-left: none;
    border-top: 1px solid var(--border-line);
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-editorial-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-editorial-cell:nth-child(2) {
    border-right: none;
  }

  .stat-editorial-cell:nth-child(1),
  .stat-editorial-cell:nth-child(2) {
    border-bottom: 1px solid var(--border-line);
  }

  .menu-full-grid {
    grid-template-columns: 1fr;
  }

  .menu-side-info {
    display: none;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 22px;
  }

  .aster-section {
    padding: 88px 0;
  }

  .site-header,
  .site-header.scrolled {
    padding: 14px 18px;
  }

  .brand-sub,
  .menu-btn-label {
    display: none;
  }

  .header-controls {
    gap: 10px;
  }

  .slide-container {
    padding: 88px 24px 116px;
  }

  .hero-pagination {
    right: 14px;
  }

  .hero-bottom-bar {
    padding: 0 20px 22px;
  }

  .services-editorial-grid,
  .works-grid,
  .tech-editorial-grid,
  .edu-editorial-list,
  .mv-editorial-grid,
  .throughput-metrics,
  .calc-row-2,
  .form-row-2,
  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .mv-editorial-col + .mv-editorial-col {
    border-left: none;
    border-top: 1px solid var(--border-line);
  }

  .stats-editorial-bar {
    grid-template-columns: 1fr;
  }

  .stat-editorial-cell {
    border-right: none !important;
    border-bottom: 1px solid var(--border-line);
    padding: 28px 18px;
  }

  .stat-editorial-cell:last-child {
    border-bottom: none;
  }

  .estimator-inputs-col,
  .estimator-output-col,
  .contact-form-panel,
  .throughput-editorial,
  .cert-editorial-bar {
    padding: 30px 22px;
  }

  .menu-full-container {
    padding: 96px 24px 28px;
  }

  .back-to-top {
    right: 18px;
    bottom: 18px;
  }
}

/* ==========================================================================
   19. Menu-Driven Pages — Home stays one clean screen, the rest via the menu
   ========================================================================== */
html.js-pages main > section:not(.is-current-page) {
  display: none;
}

/* Every inner page enters the same way: a short fade of the page, then its
   .reveal-up blocks rise in one after another (stagger set in main.js). */
html.js-pages main > section.is-current-page:not(#home) {
  min-height: 100vh;
  padding-top: 170px;
  border-bottom: none;
  animation: asterPageEnter 0.45s var(--ease-aster) both;
}

html.js-pages main > section.aster-section-alt {
  background-color: var(--bg-body);
}

body.view-home .site-footer,
body.view-inner .home-brands {
  display: none;
}

.menu-full-link.is-current {
  color: #14b8a6;
}

.menu-full-link.is-current::after {
  width: calc(100% - 44px);
}

@keyframes asterPageEnter {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Home: hero + rotating client logos together fill exactly one screen */
:root {
  --home-brands-h: 132px;
}

.hero-main-slider {
  height: calc(100vh - var(--home-brands-h));
  height: calc(100svh - var(--home-brands-h));
  min-height: 560px;
}

.home-brands {
  height: var(--home-brands-h);
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 0 0 0 50px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-line);
  overflow: hidden;
}

.home-brands-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 260px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--text-muted);
}

.home-brands-num {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--accent-bright);
}

.home-brands-marquee {
  flex: 1;
  min-width: 0;
}

.home-brands .marquee-track {
  gap: 14px;
  animation-duration: 210s;
}

/* Logos sit straight on the band, one colour per theme: the files in
   assets/clients/mono are white on transparent, the light theme inks them dark */
.home-brands .client-logo-card {
  width: 128px;
  height: 68px;
  padding: 12px 14px;
  background: transparent;
  border: 0;
  opacity: 0.62;
  filter: none;
}

.home-brands .client-logo-card:hover {
  opacity: 1;
  filter: none;
  transform: translateY(-2px);
}

html[data-theme="light"] .home-brands .client-logo-card img {
  filter: brightness(0);
}

html[data-theme="light"] .home-brands .client-logo-card {
  opacity: 0.58;
}

html[data-theme="light"] .home-brands .client-logo-card:hover {
  opacity: 0.9;
}

/* Sub-blocks inside a page (Why IndoWords, My Path, How I Work, …) */
.page-block {
  margin-top: 110px;
}

.page-block-head {
  max-width: 820px;
  margin-bottom: 36px;
}

.page-block-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.15;
  color: var(--text-heading);
}

.page-block-note {
  margin-top: 26px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  font-size: 0.96rem;
  color: var(--text-muted);
}

.mv-editorial-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 0;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.step-grid .edu-item {
  height: 100%;
}

/* Language Tech: tools, environments & formats */
.tool-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.tool-group {
  padding: 28px 30px;
  border: 1px solid var(--border-line);
  background: var(--bg-card);
}

.tool-group h4 {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.tool-group p {
  font-size: 0.98rem;
  color: var(--text-body);
}

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

.tool-chip {
  padding: 6px 12px;
  border: 1px solid var(--border-line);
  background: var(--bg-alt);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-heading);
}

/* Language Tech: GILTify feature */
.giltify-feature {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  border: 1px solid var(--border-line);
  background: var(--bg-card);
}

.giltify-feature-main {
  padding: 46px 48px;
}

.giltify-feature-main .page-block-title {
  margin-bottom: 16px;
}

.giltify-feature-head {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 18px;
}

.giltify-feature-head .page-block-title {
  margin-bottom: 0;
}

.giltify-app-icon {
  flex-shrink: 0;
  width: 92px;
  height: 92px;
}

/* the GILTify page: the icon stands next to the big page title */
.giltify-page-title {
  display: flex;
  align-items: center;
  gap: 26px;
}

.giltify-page-title .giltify-app-icon {
  width: clamp(72px, 9vw, 128px);
  height: clamp(72px, 9vw, 128px);
}

.giltify-app-icon .gi-ring {
  stroke: var(--accent-bright);
}

.giltify-app-icon .gi-badge {
  fill: var(--accent-bright);
}

.giltify-app-icon .gi-letter {
  stroke: var(--text-heading);
}

.giltify-app-icon .gi-letter-fill {
  fill: var(--text-heading);
}

.giltify-feature-main > p {
  font-size: 0.98rem;
  color: var(--text-body);
  max-width: 620px;
}

.giltify-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 22px 0 32px;
}

.giltify-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--text-body);
}

.giltify-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  background: var(--accent);
  transform: translateY(-1px);
}

.giltify-feature-side {
  padding: 46px 44px;
  border-left: 1px solid var(--border-line);
  background: var(--accent-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.giltify-feature-side h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-heading);
}

.giltify-feature-side p {
  font-size: 0.96rem;
  color: var(--text-body);
}

/* GILTify page (sub-page of Language Tech) */
.page-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.3s var(--ease-aster);
}

.page-back-link:hover {
  color: var(--accent-bright);
}

/* The GILTify wordmark as a one-colour silhouette behind the page */
#giltify {
  position: relative;
  overflow: hidden;
}

#giltify > .container {
  position: relative;
  z-index: 1;
}

.giltify-bg-mark {
  position: absolute;
  top: 70px;
  right: -7%;
  width: min(1180px, 92vw);
  color: var(--text-heading);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.giltify-bg-mark svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Inner pages: an Indonesian landmark photo behind the whole page, toned with
   the same left-to-right gradient as the Home hero. The outer layer spans the
   section; the inner layer is one screen tall and sticky, so the photo stays
   in view while the page scrolls and stops where the section (not the footer)
   ends. The gradients use --bg-body, so both themes blend on their own. */
html.js-pages main > section.aster-section:not(#home) > .container {
  position: relative;
  z-index: 1;
}

.page-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  overflow: clip;
  pointer-events: none;
  z-index: 0;
}

.page-photo-img {
  --photo-side: 90%;
  --photo-mid: 72%;
  --photo-far: 42%;
  position: sticky;
  top: 0;
  height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-photo-img::after {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    linear-gradient(96deg,
      color-mix(in srgb, var(--bg-body) var(--photo-side), transparent) 0%,
      color-mix(in srgb, var(--bg-body) var(--photo-mid), transparent) 48%,
      color-mix(in srgb, var(--bg-body) var(--photo-far), transparent) 100%),
    linear-gradient(180deg,
      color-mix(in srgb, var(--bg-body) 50%, transparent) 0%,
      transparent 30%,
      transparent 62%,
      color-mix(in srgb, var(--bg-body) 60%, transparent) 100%);
}

html[data-theme="light"] .page-photo-img {
  --photo-side: 95%;
  --photo-mid: 85%;
  --photo-far: 55%;
}

/* the photo settles in slowly each time a page opens, like the hero slides */
html.js-pages main > section.is-current-page .page-photo-img {
  animation: pagePhotoSettle 6.5s cubic-bezier(0.2, 0, 0.2, 1) both;
}

@keyframes pagePhotoSettle {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

/* Blocks on the inner pages are partly see-through, so the landmark photo
   blends through them; a light blur keeps the text easy to read. */
html.js-pages main > section.aster-section:not(#home) {
  --bg-card: rgba(30, 30, 35, 0.72);
  --bg-card-hover: rgba(36, 36, 43, 0.82);
  --bg-alt: rgba(20, 20, 23, 0.68);
}

html[data-theme="light"].js-pages main > section.aster-section:not(#home) {
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-card-hover: rgba(250, 249, 246, 0.84);
  --bg-alt: rgba(236, 234, 228, 0.7);
}

html:not([data-theme="light"]).js-pages main > section:not(#home) .throughput-editorial,
html:not([data-theme="light"]).js-pages main > section:not(#home) .estimator-output-col {
  background: rgba(1, 1, 11, 0.55);
}

html.js-pages main > section:not(#home) :is(.about-portrait-frame, .about-pullquote,
  .edu-item, .mv-editorial-grid, .service-editorial-item, .works-item,
  .tech-editorial-card, .cert-editorial-bar, .throughput-editorial,
  .estimator-editorial-panel, .estimator-output-col, .contact-form-panel,
  .tool-group, .giltify-feature, .team-card, .blog-card, .blog-empty,
  .blog-article-body, .blog-post-nav-link) {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ==========================================================================
   Blog — list of articles (#blog) and a single article (#blog/<slug>)
   ========================================================================== */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.blog-filter {
  padding: 9px 18px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  cursor: pointer;
  transition: color 0.3s var(--ease-aster), border-color 0.3s var(--ease-aster);
}

.blog-filter:hover,
.blog-filter.is-active {
  color: var(--text-heading);
  border-color: var(--accent);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  transition: border-color 0.35s var(--ease-aster), background-color 0.35s var(--ease-aster);
}

.blog-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
}

.blog-card-cover {
  display: block;
  aspect-ratio: 16 / 8;
  overflow: hidden;
}

.blog-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-aster);
}

.blog-card:hover .blog-card-cover img {
  transform: scale(1.04);
}

.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 30px 32px 28px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.blog-lang {
  padding: 2px 7px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

.blog-card-title {
  margin: 16px 0 0;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  line-height: 1.22;
  color: var(--text-heading);
}

.blog-card-summary {
  margin: 12px 0 0;
  font-size: 0.97rem;
  color: var(--text-body);
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.blog-tags span {
  padding: 4px 10px;
  font-size: 0.74rem;
  color: var(--text-muted);
  border: 1px solid var(--border-line);
}

.blog-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.blog-read svg {
  transition: transform 0.35s var(--ease-aster);
}

.blog-card:hover .blog-read svg {
  transform: translateX(4px);
}

.blog-empty {
  max-width: 620px;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
}

.blog-empty h4 {
  margin: 18px 0 8px;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--text-heading);
}

.blog-empty p {
  margin: 0;
  color: var(--text-body);
}

/* a single article: one readable column */
.blog-article {
  max-width: 780px;
}

.blog-article-title {
  margin-top: 18px;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
}

.blog-article-cover {
  margin: 36px 0 0;
}

.blog-article-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.blog-article-body {
  margin-top: 36px;
  padding: 44px 48px;
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--text-body);
  background: var(--bg-card);
  border: 1px solid var(--border-line);
}

.blog-article-body > :first-child {
  margin-top: 0;
}

.blog-article-body p,
.blog-article-body ul,
.blog-article-body ol,
.blog-article-body blockquote,
.blog-article-body pre,
.blog-article-body figure {
  margin: 0 0 1.3em;
}

.blog-article-body h2,
.blog-article-body h3,
.blog-article-body h4,
.blog-article-body h5 {
  margin: 1.8em 0 0.6em;
  font-family: var(--font-serif);
  line-height: 1.25;
  color: var(--text-heading);
}

.blog-article-body h2 { font-size: 1.75rem; }
.blog-article-body h3 { font-size: 1.4rem; }
.blog-article-body h4,
.blog-article-body h5 { font-size: 1.18rem; }

.blog-article-body ul,
.blog-article-body ol {
  padding-left: 1.4em;
}

.blog-article-body li + li {
  margin-top: 0.35em;
}

.blog-article-body ul li::marker {
  color: var(--accent);
}

.blog-article-body a {
  color: var(--accent);
  text-underline-offset: 3px;
}

.blog-article-body strong {
  color: var(--text-heading);
}

.blog-article-body blockquote {
  padding: 4px 0 4px 22px;
  font-style: italic;
  border-left: 3px solid var(--accent);
}

.blog-article-body blockquote > :last-child {
  margin-bottom: 0;
}

.blog-article-body code {
  padding: 2px 6px;
  font-size: 0.9em;
  background: var(--bg-alt);
  border: 1px solid var(--border-line);
}

.blog-article-body pre {
  padding: 18px 20px;
  overflow-x: auto;
  background: var(--bg-alt);
  border: 1px solid var(--border-line);
}

.blog-article-body pre code {
  padding: 0;
  background: none;
  border: none;
}

.blog-article-body img {
  display: block;
  max-width: 100%;
  height: auto;
}

.blog-article-body figcaption {
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.blog-article-body hr {
  margin: 2.2em 0;
  border: none;
  border-top: 1px solid var(--border-line);
}

.blog-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 780px;
  margin-top: 28px;
}

.blog-post-nav-link {
  display: block;
  padding: 22px 26px;
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  transition: border-color 0.35s var(--ease-aster);
}

.blog-post-nav-link:hover {
  border-color: var(--accent);
}

.blog-post-nav-link.is-older {
  text-align: right;
}

.blog-post-nav-link span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.blog-post-nav-link strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--text-heading);
}

/* Modules, grouped by the steps of a job */
.module-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.module-card .module-head h4 {
  margin-bottom: 0;
}

.module-names {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  line-height: 1.3;
  color: var(--text-heading);
}

.module-card .giltify-list {
  margin: 0;
}

.module-card .giltify-list li {
  font-size: 0.93rem;
}

/* An odd last card (7 modules) spans the full row instead of standing alone */
.module-grid > .module-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* The AI team of the Virtual Office */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.team-card {
  padding: 30px 30px 32px;
  border: 1px solid var(--border-line);
  background: var(--bg-card);
  transition: border-color 0.35s var(--ease-aster), transform 0.35s var(--ease-aster);
}

.team-card:hover {
  border-color: var(--agent);
  transform: translateY(-3px);
}

.team-figure {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 236px;
  margin-bottom: 24px;
}

/* a soft floor light in the agent's colour */
.team-figure::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 168px;
  height: 168px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--agent) 30%, transparent) 0%, transparent 68%);
}

.team-figure img {
  position: relative;
  height: 220px;
  width: auto;
}

.team-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-heading);
}

.team-role {
  display: block;
  margin: 4px 0 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--agent);
}

.team-card .giltify-list {
  margin: 0;
}

.team-card .giltify-list li::before {
  background: var(--agent);
}

/* the amber/sky role colours need more depth on cream */
html[data-theme="light"] .team-role {
  color: color-mix(in srgb, var(--agent) 72%, #000);
}

.page-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

/* Specializations: "sector CVs on request" card */
.works-item-cta {
  border-style: dashed;
  text-decoration: none;
}

.works-item-cta .works-title {
  color: var(--accent-bright);
}

/* Estimator: overnight-for-Europe hint */
.est-overnight {
  padding: 14px 16px;
  border-left: 3px solid #14b8a6;
  background: rgba(20, 184, 166, 0.08);
  font-size: 0.9rem;
  line-height: 1.55;
  color: #d4d4dc;
}

.est-overnight strong {
  color: #ffffff;
}

/* Logos that swap with the theme (preloader, footer) */
.logo-on-light {
  display: none;
}

.footer-brand .brand-title {
  color: #ffffff;
}

.footer-brand .brand-sub {
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1080px) {
  .mv-editorial-grid-3 {
    grid-template-columns: 1fr;
  }

  .mv-editorial-grid-3 .mv-editorial-col + .mv-editorial-col {
    border-left: none;
    border-top: 1px solid var(--border-line);
  }

  .step-grid,
  .step-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .giltify-feature {
    grid-template-columns: 1fr;
  }

  .giltify-feature-side {
    border-left: none;
    border-top: 1px solid var(--border-line);
  }
}

@media (max-width: 720px) {
  html.js-pages main > section.is-current-page:not(#home) {
    padding-top: 120px;
  }

  :root {
    --home-brands-h: 124px;
  }

  .home-brands {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    padding: 0;
  }

  .home-brands-label {
    max-width: none;
    padding: 0 20px;
    font-size: 0.66rem;
  }

  .home-brands-num {
    font-size: 1.5rem;
  }

  .home-brands .client-logo-card {
    width: 108px;
    height: 56px;
  }

  .page-block {
    margin-top: 80px;
  }

  .step-grid,
  .step-grid-5,
  .tool-groups {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .giltify-feature-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .giltify-app-icon {
    width: 64px;
    height: 64px;
  }

  .blog-grid,
  .blog-post-nav {
    grid-template-columns: 1fr;
  }

  .blog-card-body,
  .blog-empty {
    padding: 26px 22px;
  }

  .blog-article-body {
    padding: 28px 22px;
  }

  .giltify-bg-mark {
    top: 40px;
    right: -20%;
    width: 150vw;
  }

  .giltify-feature-main,
  .giltify-feature-side {
    padding: 32px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js-pages main > section.is-current-page:not(#home) {
    animation: none;
  }

  html.js-pages main > section.is-current-page .page-photo-img {
    animation: none;
  }

  .reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   20. Light Theme Sync — every surface follows the light palette
   (dark-only panels, hero, menu, footer and floating controls)
   ========================================================================== */
html[data-theme="light"] .logo-on-dark {
  display: none;
}

html[data-theme="light"] .logo-on-light {
  display: block;
}

/* Preloader */
html[data-theme="light"] .preloader {
  background: var(--bg-body);
}

html[data-theme="light"] .preloader-brand {
  color: var(--text-heading);
}

html[data-theme="light"] .preloader-brand span {
  color: var(--accent);
}

html[data-theme="light"] .preloader-bar {
  background: rgba(20, 20, 24, 0.12);
}

/* Full-screen menu */
html[data-theme="light"] .menu-full-bg {
  background: var(--bg-body);
}

html[data-theme="light"] .menu-watermark {
  color: rgba(20, 20, 24, 0.04);
}

html[data-theme="light"] .menu-full-link {
  color: var(--text-heading);
}

html[data-theme="light"] .menu-full-link:hover,
html[data-theme="light"] .menu-full-link.is-current,
html[data-theme="light"] .menu-full-num,
html[data-theme="light"] .menu-side-block h4,
html[data-theme="light"] .menu-side-block a:hover,
html[data-theme="light"] .menu-socials a:hover {
  color: var(--accent);
}

html[data-theme="light"] .menu-full-link::after {
  background: var(--accent);
}

html[data-theme="light"] .menu-side-info {
  border-left-color: var(--border-line);
  color: var(--text-body);
}

html[data-theme="light"] .menu-side-block a,
html[data-theme="light"] .menu-side-block p,
html[data-theme="light"] .menu-socials a {
  color: var(--text-heading);
}

html[data-theme="light"] .menu-full-footer {
  border-top-color: var(--border-line);
  color: var(--text-muted);
}

/* Hero: same photos, washed with the light paper tone, dark type */
html[data-theme="light"] .hero-main-slider {
  background: var(--bg-body);
}

html[data-theme="light"] .slide-overlay {
  background:
    linear-gradient(96deg, rgba(245, 244, 240, 0.95) 0%, rgba(245, 244, 240, 0.82) 46%, rgba(245, 244, 240, 0.30) 100%),
    linear-gradient(180deg, rgba(245, 244, 240, 0.55) 0%, rgba(245, 244, 240, 0) 30%, rgba(245, 244, 240, 0.85) 100%);
}

html[data-theme="light"] .slide-title {
  color: var(--text-heading) !important;
}

html[data-theme="light"] .slide-desc {
  color: var(--text-body) !important;
}

html[data-theme="light"] .slide-cat,
html[data-theme="light"] .hero-counter strong {
  color: var(--accent);
}

html[data-theme="light"] .slide-cat::before,
html[data-theme="light"] .hero-progress-fill,
html[data-theme="light"] .hero-cred-dot,
html[data-theme="light"] .hero-bullet.is-active .hero-bullet-bar {
  background: var(--accent);
}

html[data-theme="light"] .more-btn {
  color: var(--text-heading) !important;
}

html[data-theme="light"] .more-btn:hover {
  color: #ffffff !important;
}

html[data-theme="light"] .hero-arrow-btn {
  border-color: rgba(20, 20, 24, 0.18);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-heading);
}

html[data-theme="light"] .hero-arrow-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

html[data-theme="light"] .hero-counter,
html[data-theme="light"] .hero-cred-strip {
  color: var(--text-muted);
}

html[data-theme="light"] .hero-progress-track {
  background: rgba(20, 20, 24, 0.12);
}

html[data-theme="light"] .hero-bullet-bar {
  background: rgba(20, 20, 24, 0.28);
}

html[data-theme="light"] .hero-bullet:hover .hero-bullet-bar {
  background: rgba(20, 20, 24, 0.65);
}

/* About portrait */
html[data-theme="light"] .about-portrait-img-wrap img {
  box-shadow: 0 0 0 1px var(--accent-border), 0 14px 32px rgba(20, 20, 24, 0.14);
}

/* Services: daily capacity strip */
html[data-theme="light"] .throughput-editorial {
  background: var(--bg-card);
  color: var(--text-body);
}

html[data-theme="light"] .throughput-head h3 {
  color: var(--text-heading) !important;
}

html[data-theme="light"] .throughput-head p {
  color: var(--text-muted) !important;
}

html[data-theme="light"] .tp-metric-box {
  border-color: var(--border-line);
  background: var(--bg-alt);
}

html[data-theme="light"] .tp-metric-name {
  color: var(--accent);
}

html[data-theme="light"] .tp-metric-val {
  color: var(--text-heading);
}

/* Estimator result panel */
html[data-theme="light"] .estimator-output-col {
  background: var(--bg-alt);
  color: var(--text-body);
}

html[data-theme="light"] .est-kicker {
  color: var(--accent);
}

html[data-theme="light"] .est-big-days,
html[data-theme="light"] .est-speed-val,
html[data-theme="light"] .est-overnight strong {
  color: var(--text-heading);
}

html[data-theme="light"] .est-speed-box {
  border-color: var(--border-line);
}

html[data-theme="light"] .est-note {
  color: var(--text-muted) !important;
}

html[data-theme="light"] .est-overnight {
  border-left-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text-body);
}

/* Footer */
html[data-theme="light"] .site-footer {
  background: var(--bg-alt);
  color: var(--text-body);
  border-top: 1px solid var(--border-line);
}

html[data-theme="light"] .footer-top-grid {
  border-bottom-color: var(--border-line);
}

html[data-theme="light"] .footer-brand .brand-title {
  color: var(--text-heading);
}

html[data-theme="light"] .footer-brand .brand-sub,
html[data-theme="light"] .footer-brand-desc,
html[data-theme="light"] .footer-bottom-bar {
  color: var(--text-muted) !important;
}

html[data-theme="light"] .footer-col h4 {
  color: var(--accent) !important;
}

html[data-theme="light"] .footer-links a {
  color: var(--text-body);
}

html[data-theme="light"] .footer-links a:hover,
html[data-theme="light"] .footer-top-link:hover {
  color: var(--accent);
}

html[data-theme="light"] .footer-top-link {
  color: var(--text-heading);
}

/* Accent text that was hard-coded to the dark-mode teal */
html[data-theme="light"] .menu-full-link.is-current::after {
  background: var(--accent);
}

/* Phone header: brand and controls share the row without touching */
@media (max-width: 720px) {
  .header-inner {
    gap: 12px;
  }

  .brand-logo {
    gap: 9px;
    min-width: 0;
  }

  .site-header .brand-mark {
    width: 32px;
    height: 32px;
  }

  .site-header .brand-title {
    font-size: 1.2rem;
    white-space: nowrap;
  }

  .header-controls {
    flex-shrink: 0;
    gap: 8px;
  }

  .lang-btn {
    padding: 0 9px;
  }
}

@media (max-width: 360px) {
  .site-header .brand-mark {
    width: 28px;
    height: 28px;
  }

  .site-header .brand-title {
    font-size: 1.05rem;
  }

  .header-controls {
    gap: 6px;
  }

  .lang-btn {
    padding: 0 7px;
  }

  .theme-toggle-btn {
    width: 32px;
    height: 32px;
  }
}

