:root {
  --ink: #0F1418;
  --ink-soft: #1A2026;
  --ecru: #F4F4F2;
  --paper: #FBFBFA;
  --sand: #E5E5E2;
  --line: rgba(15, 20, 24, 0.12);
  --line-soft: rgba(15, 20, 24, 0.06);
  --accent: #D2B600;
  --accent-soft: #ECD744;
  --accent-deep: #D2B600;
  --accent-ink: #D2B600;
  --sea: oklch(48% 0.05 225);
  --sea-mist: oklch(82% 0.02 220);

  --font-display: "Fira Sans", "Helvetica Neue", Arial, sans-serif;
  --font-accent: "Fira Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "PT Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 2px;
  --radius-lg: 6px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
  mix-blend-mode: multiply;
}

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

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.6;
  font-weight: 500;
}

.h-display {
  font-family: var(--font-display);
  font-weight: var(--display-weight, 600);
  letter-spacing: 0.04em;
  line-height: 1.02;
  color: color-mix(in srgb, var(--ink) 80%, var(--paper));
  text-wrap: balance;
}

.h-section {
  font-family: var(--font-display);
  font-weight: var(--display-weight, 600);
  letter-spacing: 0.04em;
  line-height: 1.12;
  color: color-mix(in srgb, var(--ink) 80%, var(--paper));
  font-size: clamp(30px, 3.4vw, 50px);
  text-wrap: balance;
}

.body-lead {
  font-size: 19px;
  line-height: 1.6;
  opacity: 0.82;
  max-width: 56ch;
  text-wrap: pretty;
  font-weight: 400;
}

.body-text {
  opacity: 0.7;
  text-wrap: pretty;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  background: none;
  transition: all 240ms cubic-bezier(0.2, 0.6, 0.2, 1);
  border-radius: var(--radius);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-1px);
}

.btn-yellow {
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
}
.btn-yellow:hover {
  background: #C9AD03;
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px -8px rgba(15,20,24,0.4);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-link {
  padding: 0;
  background: none;
  color: var(--ink);
  border: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  letter-spacing: 0.08em;
}
.btn-link .arrow { transition: transform 200ms; }
.btn-link:hover .arrow { transform: translateX(4px); }

.container {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 768px) {
  .container { padding: 0 24px; }
}

.chevron {
  display: inline-block;
  width: 16px;
  height: 16px;
  transform: skewX(-18deg);
  background: var(--accent);
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}
.badge-sale  { background: var(--accent); color: var(--ink); font-weight: 700; }
.badge-build { background: rgba(0,0,0,0.04); color: var(--sea); }
.badge-done  { background: rgba(0,0,0,0.04); color: rgba(15,20,24,0.6); }
.badge-flagship {
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 8px 12px;
}
.badge-flagship::before { background: var(--ink); }

.section { padding: 120px 0; }
@media (max-width: 768px) { .section { padding: 72px 0; } }

.divider-line {
  height: 1px;
  background: var(--line);
  width: 100%;
}

.img-placeholder {
  background-image:
    repeating-linear-gradient(135deg,
      rgba(15,20,24,0.04) 0,
      rgba(15,20,24,0.04) 1px,
      transparent 1px,
      transparent 9px);
  background-color: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(15,20,24,0.5);
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 280ms, border-color 280ms, backdrop-filter 280ms;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(251, 251, 250, 0.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  gap: 24px;
}
.logo-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img {
  height: 88px !important;
  width: auto !important;
  max-width: none !important;
  max-height: 88px !important;
  display: block;
  object-fit: contain;
  transition: height 240ms;
}
.site-header.is-scrolled .logo-img { height: 68px !important; max-height: 68px !important; }
.footer-logo {
  height: 104px !important;
  width: auto !important;
  max-width: none !important;
  max-height: 104px !important;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.breadcrumbs a {
  color: var(--ink);
  opacity: 0.55;
  text-decoration: none;
  transition: opacity 160ms, color 160ms;
}
.breadcrumbs a:hover { opacity: 1; color: var(--accent); }
.breadcrumbs .bc-sep { opacity: 0.3; }
.breadcrumbs .bc-parent { opacity: 0.55; }
.breadcrumbs .bc-current {
  color: var(--accent);
  opacity: 1;
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.92;
  transition: opacity 200ms, color 200ms;
  position: relative;
  padding: 6px 0;
}
.nav-link:hover { opacity: 1; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transition: right 280ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.nav-link:hover::after { right: 0; }

.nav-group {
  position: relative;
}
.nav-link-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 0;
}
.nav-link-toggle .nav-chev {
  transition: transform 220ms;
  margin-top: 1px;
  opacity: 0.7;
}
.nav-group.is-open .nav-link-toggle .nav-chev { transform: rotate(180deg); opacity: 1; }
.nav-group.is-open .nav-link-toggle::after { right: 0; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: -20px;
  min-width: 280px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.18), 0 4px 12px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  z-index: 200;
  animation: navDropIn 180ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes navDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 32px;
  height: 3px;
  background: var(--accent);
}
.nav-dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: background 160ms;
  position: relative;
}
.nav-dropdown-item:last-child { border-bottom: none; }
.nav-dropdown-item:hover {
  background: var(--paper-warm, #f5f2ea);
}
.nav-dropdown-item::after {
  content: "→";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  opacity: 0;
  transition: all 200ms;
}
.nav-dropdown-item:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.nav-dropdown-label {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.15;
}
.nav-dropdown-desc {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
}

.mobile-nav-group { display: flex; flex-direction: column; }
.mobile-nav-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding-right: 8px;
}
.mobile-nav-chev {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 300;
  opacity: 0.6;
  width: 24px;
  text-align: center;
}
.mobile-nav-toggle.is-open .mobile-nav-chev { color: var(--accent); opacity: 1; }
.mobile-nav-sub {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 16px;
  margin: 4px 0 8px;
  border-left: 1px solid var(--line);
}
.mobile-nav-sublink {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  padding: 8px 0;
  color: var(--ink);
  opacity: 0.85;
  text-decoration: none;
}
.mobile-nav-sublink:hover { opacity: 1; color: var(--accent); }

.nav-flagship {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1.5px solid var(--accent);
  background: rgba(227, 197, 4, 0.1);
  border-radius: 2px;
  transition: all 200ms;
}
.nav-flagship:hover { background: var(--accent); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 22px;
}
.header-tel {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  opacity: 0.78;
}
.header-btn { padding: 12px 20px; font-size: 13px; }

@media (max-width: 1100px) {
  .site-nav { display: none; }
  .header-tel { display: none; }
}
@media (min-width: 1101px) {
  .burger { display: none; }
}

.burger {
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  border-radius: 2px;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(15,20,24,0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  animation: fadeIn 240ms;
}
.mobile-menu-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  background: var(--paper);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  animation: slideRight 320ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
@keyframes slideRight { from {transform: translateX(20px); opacity: 0;} to {transform: translateX(0); opacity: 1;} }
.mobile-menu-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  width: 40px; height: 40px;
  line-height: 1;
}
.mobile-menu-logo { height: 48px; width: auto; max-height: 48px; max-width: none; align-self: flex-start; }
.mobile-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mobile-nav-flagship {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  align-self: flex-start;
}
.mobile-menu-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.mobile-tel {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 0;
  background: var(--paper);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: grayscale(0.05) contrast(0.95);
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(251,251,250,0.97) 0%, rgba(251,251,250,0.85) 32%, rgba(251,251,250,0.5) 52%, rgba(251,251,250,0) 72%),
    linear-gradient(to bottom, rgba(251,251,250,0.4) 0%, rgba(251,251,250,0) 25%, rgba(251,251,250,0) 55%, rgba(251,251,250,0.85) 88%, rgba(251,251,250,1) 100%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
  padding-top: 40px;
  padding-bottom: 80px;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}
.eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--ink);
  opacity: 0.4;
}
.serif-italic {
  font-family: var(--font-accent);
  font-style: var(--accent-style, italic);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
  position: relative;
  text-decoration: underline;
  text-decoration-color: var(--ink);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.18em;
  text-decoration-skip-ink: none;
}

.cta-title .serif-italic,
.featured-title .serif-italic,
.ap-quote-text .serif-italic {
  text-decoration-color: var(--paper);
}
.hero-title {
  font-size: clamp(36px, 4.6vw, 66px);
  margin: 0;
  color: color-mix(in srgb, var(--ink) 80%, transparent);
}
.title-rule {
  display: block;
  width: 80px;
  height: 1px;
  background: var(--ink);
  opacity: 0.3;
  margin: 32px 0 24px;
}
.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--ink);
  opacity: 0.78;
  display: block;
}

.hero-meta {
  display: flex;
  align-items: stretch;
  gap: 18px;
  margin: 40px 0 36px;
  font-family: var(--font-mono);
  font-size: 14px;
}
.meta-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.meta-cell strong {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 0;
}
.meta-cell span {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.72;
  font-weight: 500;
}
.meta-divider {
  width: 1px;
  background: var(--line);
}

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

.hero-plan {
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
}

.plan-card {
  width: 100%;
  max-width: 460px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px;
  position: relative;
  box-shadow:
    0 1px 0 rgba(15,20,24,0.04),
    0 30px 60px -30px rgba(15,20,24,0.18);
}
.showcase-card {
  width: 100%;
  max-width: 440px;
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
  box-shadow:
    0 1px 0 rgba(15,20,24,0.04),
    0 30px 60px -30px rgba(15,20,24,0.22);
}
.showcase-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.showcase-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(15,20,24,0.55);
  backdrop-filter: blur(4px);
  padding: 5px 9px;
}
.showcase-media-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 18px 14px;
  font-size: 14px;
  letter-spacing: 0.01em;
  color: var(--paper);
  background: linear-gradient(to top, rgba(15,20,24,0.72) 0%, rgba(15,20,24,0) 100%);
}
.showcase-media-cap .serif-italic { color: var(--accent); }
.showcase-body { padding: 22px 22px 20px; }
.showcase-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.sc-cell {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-right: 12px;
  position: relative;
}
.sc-cell:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: var(--line);
}
.sc-num {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.sc-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.62;
  line-height: 1.5;
}
.showcase-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: color 200ms;
}
.showcase-link svg {
  flex: 0 0 auto;
  transition: transform 220ms cubic-bezier(0.2,0.7,0.2,1);
}
.showcase-link:hover { color: var(--accent); }
.showcase-link:hover svg { transform: translateX(4px); }
.plan-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.plan-compass {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.15em;
  opacity: 0.55;
}
.plan-svg {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  background: #F4F4F2;
  border: 1px solid var(--line-soft);
}
.plan-legend {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.7;
}
.legend-item { display: inline-flex; align-items: center; gap: 6px; }
.dot {
  width: 8px; height: 8px;
  display: inline-block;
}
.dot-avail { background: var(--accent); }
.dot-res   { background: rgba(15,20,24,0.55); }
.dot-sold  { background: rgba(15,20,24,0.25); }

.plan-tooltip {
  position: absolute;
  bottom: 70px;
  right: 24px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  font-size: 13px;
  pointer-events: none;
  border-radius: 2px;
}
.tt-name { font-weight: 500; }
.tt-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; margin-top: 2px;}

.hero-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  background: rgba(251, 251, 250, 0.92);
  backdrop-filter: blur(8px);
}
.hero-strip-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  padding: 32px 48px;
}
@media (max-width: 980px) {
  .hero-strip-inner { grid-template-columns: repeat(2, 1fr); padding: 24px; }
  .strip-cta { grid-column: 1 / -1; }
}
.strip-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.strip-num {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.strip-num .m {
  font-family: var(--font-mono);
  font-size: 14px;
  vertical-align: super;
  margin-left: 2px;
  opacity: 0.6;
}
.strip-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.65;
  line-height: 1.5;
  font-weight: 500;
}
.strip-cta { justify-content: center; align-self: center; }

.hero-slider {
  --strip-h: 0px;
  padding: 0;
  position: relative;
  min-height: auto;
}
.hero-slides {
  position: relative;
  min-height: auto;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 230px;
  padding-bottom: 104px;
  min-height: 600px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 750ms ease;
}
.hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero-slide .hero-grid {
  flex: 0 0 auto;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-slide.is-active .hero-text > * {
    animation: heroRise 700ms cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  }
  .hero-slide.is-active .hero-text > *:nth-child(1) { animation-delay: 60ms; }
  .hero-slide.is-active .hero-text > *:nth-child(2) { animation-delay: 140ms; }
  .hero-slide.is-active .hero-text > *:nth-child(3) { animation-delay: 220ms; }
  .hero-slide.is-active .hero-text > *:nth-child(4) { animation-delay: 300ms; }
  .hero-slide.is-active .hero-plan { animation: heroRise 800ms 260ms cubic-bezier(0.2,0.7,0.2,1) backwards; }
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-img-company { object-position: center 32%; filter: contrast(1.02) saturate(1.02); }

.hero-vignette-company {
  background:
    linear-gradient(to right, rgba(251,251,250,0.85) 0%, rgba(251,251,250,0.4) 30%, rgba(251,251,250,0) 56%),
    linear-gradient(to bottom, rgba(251,251,250,0.5) 0%, rgba(251,251,250,0.04) 14%, rgba(15,20,24,0.02) 55%, rgba(251,251,250,0.78) 90%, rgba(251,251,250,1) 100%);
}
.hero-grid-company { grid-template-columns: 1fr; }
.hero-grid-company .hero-text { max-width: 760px; }

.hero-nav {
  position: absolute;
  right: 48px;
  bottom: 36px;
  z-index: 5;
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.hero-arrow {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(251, 251, 250, 0.78);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.hero-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.hero-dots {
  display: flex;
  gap: 8px;
}
.hero-dot {
  appearance: none;
  background: rgba(251, 251, 250, 0.78);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  padding: 9px 16px 11px;
  cursor: pointer;
  text-align: left;
  min-width: 150px;
  transition: border-color 180ms ease, background 180ms ease;
}
.hero-dot:hover { border-color: rgba(15, 20, 24, 0.35); }
.hero-dot.is-active { border-color: var(--ink); }
.hero-dot-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}
.hero-dot-index {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--ink);
  opacity: 0.5;
}
.hero-dot.is-active .hero-dot-index { opacity: 1; color: var(--accent-deep); }
.hero-dot-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.72;
  white-space: nowrap;
}
.hero-dot.is-active .hero-dot-label { opacity: 1; font-weight: 500; }
.hero-dot-track {
  display: block;
  height: 2px;
  background: rgba(15, 20, 24, 0.14);
  overflow: hidden;
}
.hero-dot-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.hero-dot.is-active .hero-dot-fill {
  animation: heroDotFill 7500ms linear forwards;
}
.hero-slider[data-paused="true"] .hero-dot.is-active .hero-dot-fill {
  animation-play-state: paused;
}
@keyframes heroDotFill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-dot.is-active .hero-dot-fill { animation: none; transform: scaleX(1); }
}

@media (max-width: 980px) {
  .hero-slider { --strip-h: 0px; }
  .hero-nav {
    right: 0;
    left: 0;
    bottom: 24px;
    justify-content: center;
  }
  .hero-dot { min-width: 0; }
  .hero-dot-label { font-size: 12px; }
}
@media (max-width: 560px) {
  .hero-dot-label { display: none; }
  .hero-dot { padding: 9px 12px 11px; }
}

.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.chevron-mark {
  display: inline-block;
  width: 0; height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid var(--accent);
}
.chevron-mark-light { border-left-color: var(--accent); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.h-section { margin: 0; }
.about-right .body-lead { margin: 0 0 40px; }
.about-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  margin-bottom: 32px;
}
.fact { display: flex; flex-direction: column; gap: 8px; }
.fact-num {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.fact-num sup {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  vertical-align: super;
  margin-left: 2px;
  color: var(--accent);
  background: none;
  padding: 0;
  border-radius: 0;
}
.fact-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
  line-height: 1.5;
}
.about-cta { display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-facts { grid-template-columns: repeat(2, 1fr); }
}

.section-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.head-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 4px;
}
@media (max-width: 980px) {
  .section-head { grid-template-columns: 1fr; gap: 32px; }
}

.section-completed { background: var(--paper); }
.proj-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
}
.proj-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 320ms;
}
.proj-card-feature { grid-column: span 6; }
.proj-card-feature .proj-img-wrap { aspect-ratio: 21 / 9; }
.proj-card-feature .proj-name { font-size: 48px; }
@media (max-width: 1100px) {
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .proj-card { grid-column: span 1; }
  .proj-card-feature { grid-column: span 2; }
}
@media (max-width: 700px) {
  .proj-grid { grid-template-columns: 1fr; }
  .proj-card-feature { grid-column: span 1; }
}

.proj-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--sand);
  overflow: hidden;
}
.proj-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.proj-card:hover .proj-img-wrap img { transform: scale(1.04); }
.proj-num {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  background: var(--paper);
  padding: 4px 8px;
  color: var(--ink);
}

.proj-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 12px;
}
.proj-loc {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
  font-weight: 500;
}
.proj-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.proj-type {
  font-size: 15px;
  opacity: 0.7;
  margin-bottom: 16px;
}
.proj-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.proj-arrow .arrow {
  transition: transform 240ms;
}
.proj-card:hover .proj-arrow .arrow { transform: translateX(4px); }

.section-current { background: var(--ecru); }

.featured-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--ink);
  color: var(--paper);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  min-height: 0;
}
@media (max-width: 980px) {
  .featured-card { grid-template-columns: 1fr; min-height: 0; }
  .featured-img { aspect-ratio: 16 / 10; height: auto; }
  .featured-text { padding: 32px 24px; }
}
.featured-img {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 0;
}
.featured-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 800ms;
}
.featured-card:hover .featured-img img { transform: scale(1.04); }
.featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 50%, rgba(15,20,24,0.6) 100%);
}
.featured-text {
  padding: 40px 40px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.featured-text .badge { background: rgba(255,255,255,0.1); color: var(--accent); }

.featured-thumbs {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  height: 52px;
  flex-shrink: 0;
}
.featured-thumbs .thumb {
  flex: 1 1 0;
  height: 52px;
  min-width: 0;
  padding: 0;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  transition: all 240ms;
  opacity: 0.7;
}
.featured-thumbs .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.featured-thumbs .thumb:hover { opacity: 1; }
.featured-thumbs .thumb.is-active {
  border-color: var(--accent);
  opacity: 1;
}

.featured-counter {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--paper);
  background: rgba(15,20,24,0.55);
  backdrop-filter: blur(6px);
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.featured-counter-label {
  text-transform: uppercase;
  opacity: 0.7;
  letter-spacing: 0.12em;
  border-left: 1px solid rgba(255,255,255,0.25);
  padding-left: 12px;
}
.featured-eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}
.featured-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}
.featured-loc {
  display: block;
  font-size: 14px;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-top: 14px;
  font-style: normal;
  font-weight: normal;
}
.featured-desc {
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.75;
  max-width: 46ch;
}
.featured-stats {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-top: 8px;
}
.featured-stats > div {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}
.featured-stats > div span {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--paper);
  opacity: 1;
  margin-bottom: 6px;
}
.featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 4px;
}
.featured-card:hover .featured-cta .arrow { transform: translateX(4px); }
.featured-cta .arrow { transition: transform 240ms; }

.cur-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1100px) { .cur-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .cur-grid { grid-template-columns: 1fr; } }

.cur-card { display: flex; flex-direction: column; gap: 14px; }
.cur-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand);
}
.cur-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms; }
.cur-card:hover .cur-img-wrap img { transform: scale(1.05); }
.cur-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 10px; }
.cur-loc {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
  font-weight: 500;
}
.cur-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.1;
  margin: 0 0 5px;
}
.cur-type { font-size: 14px; opacity: 0.65; }

.section-adv {
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.adv-head { margin-bottom: 64px; }
.adv-title { max-width: 18ch; }
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) { .adv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .adv-grid { grid-template-columns: 1fr; } }
.adv-item {
  padding: 40px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.adv-item:nth-child(3n) { border-right: none; padding-right: 0; }
.adv-item:nth-child(3n+1) { padding-left: 0; }
.adv-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 24px;
  height: 2px;
  background: var(--accent);
}
.adv-num {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  opacity: 0.5;
  padding-top: 24px;
}
.adv-t {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  margin: 0;
}
.adv-icon {
  display: block;
  width: 30px;
  height: 30px;
  margin: 22px 0 16px;
  color: var(--ink);
  opacity: 0.85;
}
.adv-icon svg { display: block; width: 100%; height: 100%; }
.adv-d { opacity: 0.65; line-height: 1.55; margin: 0; }

.section-cta {
  position: relative;
  padding: 140px 0;
  color: var(--paper);
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,20,24,0.92) 0%, rgba(15,20,24,0.7) 100%);
}
.cta-inner { position: relative; z-index: 2; }
.eyebrow-light { color: var(--paper); }
.eyebrow-light .eyebrow { color: var(--paper); opacity: 0.7; }
.cta-title {
  color: var(--paper);
  margin-bottom: 32px;
}
.cta-lead {
  font-size: 18px;
  line-height: 1.55;
  opacity: 0.8;
  max-width: 52ch;
  margin-bottom: 40px;
}
.cta-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-btn { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.cta-btn:hover { background: var(--paper); border-color: var(--paper); }
.cta-tel { display: flex; flex-direction: column; gap: 4px; }
.cta-tel-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.6;
}
.cta-tel-num {
  font-family: var(--font-mono);
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--paper);
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.footer-logo {
  display: block;
  opacity: 0.95;
}
.footer-tagline {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
  opacity: 0.85;
  margin: 0;
}
.footer-h {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 18px;
  opacity: 0.6;
}
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-col p { margin: 0; opacity: 0.7; line-height: 1.6; }
.footer-col a { opacity: 0.7; transition: opacity 200ms; }
.footer-col a:hover { opacity: 1; color: var(--accent); }
.footer-legal { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em; line-height: 1.7; opacity: 0.5 !important; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.55;
}
.insys-link {
  color: var(--accent);
  opacity: 1;
  font-weight: 500;
  letter-spacing: 0.14em;
  margin-left: 4px;
}
.insys-link:hover { text-decoration: underline; }
@media (max-width: 700px) { .footer-bottom { flex-direction: column; gap: 12px; } }

.inquiry-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,20,24,0.6);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 240ms;
}
@keyframes fadeIn { from {opacity:0} to {opacity:1} }
.inquiry-card {
  background: var(--paper);
  width: 100%;
  max-width: 520px;
  padding: 40px;
  position: relative;
  animation: slideUp 320ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
@keyframes slideUp { from {opacity:0; transform: translateY(12px) scale(0.98)} to {opacity:1; transform: translateY(0) scale(1)} }
.inq-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px; height: 32px;
  font-size: 20px;
  opacity: 0.6;
}
.inq-close:hover { opacity: 1; }
.inq-eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 12px;
}
.inq-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  margin: 0 0 24px;
  letter-spacing: -0.015em;
}
.inq-form { display: flex; flex-direction: column; gap: 14px; }
.inq-field {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 200ms;
}
.inq-field:focus { outline: none; border-color: var(--ink); }
.inq-field::placeholder { color: rgba(15,20,24,0.4); }
textarea.inq-field { min-height: 80px; resize: vertical; }
.inq-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  opacity: 0.7;
  margin-top: 8px;
  cursor: pointer;
}
.inq-check input { margin-top: 3px; }
.inq-submit { margin-top: 8px; justify-content: center; }

.screen-reader-text {
  border: 0; clip-path: inset(50%); height: 1px; width: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute;
  word-wrap: normal !important;
}
.skip-link.screen-reader-text:focus {
  clip-path: none; height: auto; width: auto;
  position: fixed; top: 8px; left: 8px; z-index: 100000;
  background: var(--accent); color: var(--ink);
  padding: 12px 18px; font-family: var(--font-mono); font-size: 13px;
}
.cp-form-error {
  color: #a4322a; font-size: 14px; margin: 6px 0 0;
}
.cp-submit[disabled] { opacity: 0.6; cursor: wait; }

.news-loadmore { display: flex; flex-direction: column; gap: 18px; align-items: center; }
.news-loadmore .pagination { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.news-loadmore .nav-links { display: flex; gap: 16px; align-items: center; }
.news-loadmore .page-numbers { padding: 8px 12px; border: 1px solid var(--line); color: var(--ink); }
.news-loadmore .page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.news-loadmore .page-numbers:hover:not(.current) { border-color: var(--ink); }

.na-body .wp-block-image img { height: auto; }
.na-body .aligncenter { margin-left: auto; margin-right: auto; }

[hidden] { display: none !important; }
@media (min-width: 1101px) {
  .burger { display: none !important; }
}
section[id], .elea-plan { scroll-margin-top: 96px; }

html, body { overflow-x: clip; }
@media (max-width: 980px) {
  .hero-grid > * { min-width: 0; }
  .hero-meta { flex-wrap: wrap; row-gap: 14px; }
}

.cookie-bar {
  position: fixed; left: 24px; bottom: 24px; z-index: 300;
  max-width: 430px;
  background: var(--ink); color: var(--paper);
  border-top: 3px solid var(--accent);
  padding: 20px 22px;
  display: grid; grid-template-columns: 42px 1fr; gap: 0 14px; align-items: start;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.45);
  opacity: 1; transform: none; transition: opacity 0.3s, transform 0.3s;
}
.cookie-bar.hide { opacity: 0; transform: translateY(10px); pointer-events: none; }
.cookie-bar-ico {
  grid-row: 1 / span 2;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(210, 182, 0, 0.16);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.cookie-bar-ico svg { width: 22px; height: 22px; }
.cookie-bar-text { grid-column: 2; margin: 0; font-size: 13.5px; line-height: 1.55; opacity: 0.94; }
.cookie-bar-text strong { display: block; margin-bottom: 4px; font-size: 15px; }
.cookie-bar-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cookie-bar-actions { grid-column: 2; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.cookie-btn {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 11px 18px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--ink); cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.cookie-btn:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.cookie-btn-ghost { background: none; border-color: rgba(255, 255, 255, 0.35); color: var(--paper); font-weight: 400; }
.cookie-btn-ghost:hover { background: none; border-color: var(--accent); color: var(--accent); }
@media (max-width: 640px) {
  .cookie-bar { left: 10px; right: 10px; bottom: 10px; max-width: none; padding: 12px 14px 13px; grid-template-columns: 1fr; gap: 0; }
  .cookie-bar-ico { display: none; }
  .cookie-bar-text { grid-column: 1; font-size: 12.5px; line-height: 1.45; }
  .cookie-bar-text strong { display: inline; margin-right: 6px; font-size: 13px; }
  .cookie-bar-actions { grid-column: 1; margin-top: 10px; gap: 8px; }
  .cookie-btn { flex: 1 1 auto; text-align: center; padding: 9px 12px; font-size: 11px; }
}

@media (max-width: 768px) {
  .header-inner { padding: 12px 16px; gap: 14px; }
  .logo-img { height: 64px !important; max-height: 64px !important; }
  .site-header.is-scrolled .logo-img { height: 54px !important; max-height: 54px !important; }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.lang-item {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding: 8px 11px;
  color: var(--ink);
  opacity: 0.55;
  text-decoration: none;
  transition: opacity 160ms, background 160ms, color 160ms;
}
.lang-item + .lang-item { border-left: 1px solid var(--line); }
.lang-item.is-active {
  opacity: 1;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
}
a.lang-item:hover { opacity: 1; color: var(--accent); }
.lang-switch-mobile { margin-bottom: 14px; }
.lang-switch-mobile .lang-item { padding: 10px 16px; font-size: 13px; }
@media (max-width: 1100px) {
  .site-header .lang-switch { display: none; }
}

.social-links { display: inline-flex; align-items: center; gap: 8px; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  opacity: 0.6;
  transition: opacity 160ms, color 160ms, border-color 160ms;
}
.social-link svg { width: 15px; height: 15px; display: block; }
.social-link:hover { opacity: 1; color: var(--accent); border-color: var(--accent); }
@media (max-width: 1240px) {
  .site-header .social-links-header { display: none; }
}
.social-links-mobile { margin-top: 6px; }
.social-links-mobile .social-link { width: 42px; height: 42px; }
.social-links-mobile .social-link svg { width: 17px; height: 17px; }
.footer-social { margin-top: -4px; }
.footer-social .social-link { border-color: rgba(251, 251, 250, 0.22); color: var(--paper); opacity: 0.75; }
.footer-social .social-link:hover { opacity: 1; color: var(--accent); border-color: var(--accent); }
