/* ==========================================================================
   Swiss Solarmontagen — Design System
   Swiss editorial / agency aesthetic
   ========================================================================== */

/* --------------------------------------------------------------------------
   01 · Tokens
   -------------------------------------------------------------------------- */
:root {
  --cream: #faf9f6;
  --cream-2: #f3f1ec;
  --cream-3: #ece9e2;
  --ink: #1a1a1a;
  --ink-2: #4a4a4a;
  --ink-3: #8a8a8a;
  --ink-4: #b3aea6;
  --taupe: #c9c3ba;
  --red: #e2001a;
  --red-deep: #bd0015;
  --dark: #0a0a0a;
  --dark-2: #131313;
  --white: #ffffff;
  --line: rgba(26, 26, 26, 0.1);
  --line-soft: rgba(26, 26, 26, 0.06);
  --line-strong: rgba(26, 26, 26, 0.2);
  --line-light: rgba(255, 255, 255, 0.12);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.4, 0, 0.2, 1);
  --pad: clamp(1.25rem, 4.5vw, 4rem);
  --maxw: 1500px;
  --header-h: 5.5rem;
  --sp: clamp(4.5rem, 11vh, 9rem);
}

/* --------------------------------------------------------------------------
   02 · Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  animation: body-in 0.6s ease both;
}

@keyframes body-in {
  from {
    opacity: 0;
  }
}

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

img {
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  appearance: none;
  border: 0;
  background: none;
  cursor: pointer;
}

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

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

::selection {
  background: var(--ink);
  color: var(--cream);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 999;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  font-size: 0.8125rem;
  transition: top 0.25s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

/* --------------------------------------------------------------------------
   03 · Layout helpers
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  padding-block: var(--sp);
  position: relative;
}

.section--tight {
  padding-block: clamp(3rem, 7vh, 5.5rem);
}

.section--cream-2 {
  background: var(--cream-2);
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 3rem);
}

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

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

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

/* --------------------------------------------------------------------------
   04 · Typography
   -------------------------------------------------------------------------- */
.display {
  font-weight: 300;
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.display--sm {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  line-height: 1.02;
}

.h2 {
  font-weight: 300;
  font-size: clamp(1.875rem, 4.2vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.h3 {
  font-weight: 400;
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.h4 {
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.3;
  letter-spacing: 0.005em;
}

.lead {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.7;
  color: var(--ink-2);
  font-weight: 300;
  max-width: 58ch;
}

.body {
  color: var(--ink-2);
  font-size: 0.9688rem;
  line-height: 1.75;
  max-width: 62ch;
}

.body + .body {
  margin-top: 1.125rem;
}

.muted {
  color: var(--ink-3);
}

.strong {
  color: var(--ink);
  font-weight: 500;
}

.italic {
  font-style: italic;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--red);
  flex: none;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.55);
}

.eyebrow--plain::before {
  display: none;
}

.meta {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   05 · Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background: var(--ink);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1.0625rem 1.75rem;
  border-radius: 2px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.btn:hover {
  background: var(--red);
  transform: translateY(-1px);
}

.btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

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

.btn--light {
  background: var(--cream);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--white);
  color: var(--red);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn--outline-light:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.3s ease, border-color 0.3s ease, gap 0.3s var(--ease);
}

.link:hover {
  color: var(--red);
  border-color: var(--red);
  gap: 0.75rem;
}

.link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.link:hover svg {
  transform: translate(2px, -2px);
}

.link--light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.link--light:hover {
  color: var(--white);
  border-color: var(--white);
}

.link-plain {
  color: var(--ink-2);
  transition: color 0.3s ease;
}

.link-plain:hover {
  color: var(--red);
}

/* --------------------------------------------------------------------------
   06 · Preloader
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--cream);
  display: grid;
  place-items: center;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
}

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.preloader__logo {
  width: 132px;
  color: var(--ink);
}

.preloader__logo .logo {
  height: 2.5rem;
  width: auto;
}

.preloader__track {
  width: 132px;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}

.preloader__bar {
  height: 100%;
  width: 0;
  background: var(--red);
  animation: preload 0.9s var(--ease-io) forwards;
}

@keyframes preload {
  to {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   07 · Custom cursor
   -------------------------------------------------------------------------- */
.cursor,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  will-change: transform;
}

.cursor {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  transition: opacity 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(26, 26, 26, 0.35);
  transition: opacity 0.2s ease, width 0.25s var(--ease),
    height 0.25s var(--ease), border-color 0.25s ease;
}

.cursor.is-on,
.cursor-ring.is-on {
  opacity: 1;
}

.cursor.is-light {
  background: var(--cream);
}

.cursor-ring.is-light {
  border-color: rgba(255, 255, 255, 0.45);
}

.cursor.is-hover {
  width: 0;
  height: 0;
}

.cursor-ring.is-hover {
  width: 58px;
  height: 58px;
  border-color: var(--red);
}

.cursor.is-hidden,
.cursor-ring.is-hidden {
  opacity: 0 !important;
}

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

/* --------------------------------------------------------------------------
   08 · Header
   -------------------------------------------------------------------------- */
.main-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: var(--white);
}

.main-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  color: var(--white);
  flex: none;
}

.brand .logo {
  height: 1.7rem;
  width: auto;
}

.main-nav {
  display: none;
  align-items: center;
  gap: clamp(1.75rem, 3vw, 3rem);
  margin-left: auto;
  margin-right: 2.5rem;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s ease;
}

.main-nav a::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--white);
}

.main-nav a:hover::before,
.main-nav a[aria-current="page"]::before {
  opacity: 1;
  transform: none;
}

.header-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.3125rem 0.3125rem 0.3125rem 1rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.header-pill__phone {
  display: none;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
}

.header-pill__phone:hover {
  color: var(--white);
}

.header-pill__sep {
  display: none;
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.2);
}

.burger {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background 0.3s ease;
}

.burger:hover {
  background: rgba(255, 255, 255, 0.12);
}

.burger__lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 17px;
}

.burger__lines span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
}

body.menu-open .burger__lines span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

body.menu-open .burger__lines span:nth-child(2) {
  opacity: 0;
}

body.menu-open .burger__lines span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* Sticky header */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 190;
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  transform: translateY(-101%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.55s var(--ease), opacity 0.4s ease;
}

.sticky-header.is-shown {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.sticky-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4.25rem;
}

.sticky-header .brand {
  color: var(--ink);
}

.sticky-header .brand .logo {
  height: 1.35rem;
}

.sticky-header .main-nav a {
  color: var(--ink-3);
}

.sticky-header .main-nav a:hover,
.sticky-header .main-nav a[aria-current="page"] {
  color: var(--ink);
}

.sticky-header .header-pill {
  border-color: var(--line);
  padding-left: 0.75rem;
}

.sticky-header .header-pill__phone {
  display: none;
  color: var(--ink-2);
}

.sticky-header .header-pill__phone:hover {
  color: var(--red);
}

.sticky-header .header-pill__sep {
  background: var(--line);
}

.sticky-header .burger {
  color: var(--ink);
}

.sticky-header .burger:hover {
  background: rgba(26, 26, 26, 0.06);
}

/* --------------------------------------------------------------------------
   09 · Fullscreen menu
   -------------------------------------------------------------------------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--dark);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0s linear 0.45s;
}

.menu:focus {
  outline: none;
}

.menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.45s ease, visibility 0s;
}

.menu__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
  overflow-y: auto;
}

.menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: auto;
}

.menu__top .brand {
  color: var(--white);
}

.menu__top .brand .logo {
  height: 1.6rem;
}

.menu__close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 50%;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.menu__close:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.menu__close svg {
  width: 15px;
  height: 15px;
}

.menu__body {
  display: grid;
  gap: clamp(2.5rem, 6vh, 4.5rem);
  padding-block: clamp(2.5rem, 8vh, 5rem);
  align-items: start;
}

.menu__nav {
  display: flex;
  flex-direction: column;
}

.menu__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.875rem;
  padding-block: 0.5rem;
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.35s ease, transform 0.5s var(--ease);
}

.menu__link::before {
  content: attr(data-index);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--red);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.menu__link:hover,
.menu__link[aria-current="page"] {
  color: var(--white);
  transform: translateX(6px);
}

.menu__link:hover::before,
.menu__link[aria-current="page"]::before {
  opacity: 1;
}

.menu__aside {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 30rem;
}

.menu__panel {
  border: 1px solid var(--line-light);
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.02);
}

.menu__panel .eyebrow {
  margin-bottom: 1rem;
}

.menu__panel p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  line-height: 1.7;
  font-weight: 300;
}

.menu__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--line-light);
  padding-top: 1.5rem;
}

.menu__stat b {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.375rem;
}

.menu__stat span {
  font-size: 0.6875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
}

.menu__contact {
  border-top: 1px solid var(--line-light);
  padding-top: 1.5rem;
}

.menu__contact-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.menu__contact-name {
  font-size: 1rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.menu__contact-role {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.25rem;
}

.menu__contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1rem;
}

.menu__contact-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.menu__contact-links a:hover {
  color: var(--white);
  border-color: var(--white);
}

.menu__social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.menu__social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.menu__social a:hover {
  color: var(--white);
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.menu__social svg {
  width: 15px;
  height: 15px;
}

.menu__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.35);
}

.menu__foot a {
  transition: color 0.3s ease;
}

.menu__foot a:hover {
  color: var(--white);
}

body.menu-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   10 · Hero (fixed, scroll-over)
   -------------------------------------------------------------------------- */
.hero-fixed {
  position: fixed;
  inset: 0 0 auto 0;
  height: 100vh;
  height: 100svh;
  z-index: 1;
  overflow: hidden;
  background: var(--dark);
}

.hero {
  position: relative;
  height: 100%;
  color: var(--white);
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s var(--ease-io), visibility 0s linear 1.2s;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 1.2s var(--ease-io), visibility 0s;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  transition: transform 8s linear;
}

.hero__slide.is-active img {
  transform: scale(1);
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.12) 22%,
      rgba(0, 0, 0, 0.08) 45%,
      rgba(0, 0, 0, 0.55) 78%,
      rgba(0, 0, 0, 0.85) 100%
    ),
    radial-gradient(
      ellipse 90% 70% at 50% 45%,
      transparent 25%,
      rgba(0, 0, 0, 0.22) 100%
    );
}

.hero__inner {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(5.5rem, 12vh, 8rem);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}

.hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--red);
}

.hero__title {
  font-weight: 300;
  font-size: clamp(2.5rem, 7.5vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 20ch;
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title .line--muted {
  font-size: clamp(1.5rem, 4.1vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-top: 0.35em;
}

.hero__title .line > span {
  display: block;
  transform: translateY(105%);
  opacity: 0;
}

.hero__title .line--muted > span {
  color: rgba(255, 255, 255, 0.52);
}

.hero.is-ready .hero__title .line > span {
  animation: hero-line 1s var(--ease) forwards;
  animation-delay: var(--d, 0.2s);
}

@keyframes hero-line {
  to {
    transform: none;
    opacity: 1;
  }
}

.hero__meta {
  margin-top: 1.75rem;
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  opacity: 0;
}

.hero.is-ready .hero__meta {
  animation: hero-fade 0.8s var(--ease) 0.75s forwards;
}

@keyframes hero-fade {
  to {
    opacity: 1;
  }
}

/* Hero card */
.hero__card {
  position: absolute;
  right: var(--pad);
  bottom: clamp(5.5rem, 12vh, 8rem);
  z-index: 4;
  width: min(20rem, 82vw);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 10, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.25rem 1.375rem 1.125rem;
  display: none;
}

.hero__card-label {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.hero__card-body {
  position: relative;
  margin-top: 0.6875rem;
  min-height: 3.25rem;
}

.hero__card-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease);
  pointer-events: none;
}

.hero__card-item.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.hero__card-name {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.2;
  padding-bottom: 0.75rem;
  position: relative;
}

.hero__card-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 1px;
  background: var(--red);
}

.hero__card-text {
  margin-top: 0.625rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.58);
}

.hero__card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.3s ease, gap 0.3s var(--ease);
}

.hero__card-cta:hover {
  color: var(--white);
  gap: 0.75rem;
}

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

.hero__dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.dot {
  width: 5px;
  height: 5px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transition: background 0.3s ease, transform 0.3s var(--ease);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.dot.is-active {
  background: var(--red);
  transform: scale(1.35);
}

.hero__dots--dark .dot {
  background: rgba(26, 26, 26, 0.2);
}

.hero__dots--dark .dot:hover {
  background: rgba(26, 26, 26, 0.4);
}

.hero__dots--dark .dot.is-active {
  background: var(--red);
}

/* Hero mobile info bar */
.hero__bar {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 1.25rem;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.625rem 0.875rem;
}

.hero__bar-info {
  position: relative;
  flex: 1;
  min-width: 0;
  display: grid;
}

.hero__bar-item {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero__bar-item.is-active {
  opacity: 1;
}

.hero__bar-name {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero__bar-text {
  font-size: 0.5625rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.125rem;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  z-index: 4;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.hero__scroll:hover {
  color: var(--white);
}

.hero__scroll-line {
  width: 1px;
  height: 38px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.55) 50%,
    transparent
  );
  animation: breathe 2.6s ease-in-out infinite;
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(1);
  }
  50% {
    opacity: 0.9;
    transform: scaleY(1.12);
  }
}

.hero__scroll-label {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero__counter {
  position: absolute;
  left: var(--pad);
  top: calc(var(--header-h) + 1rem);
  z-index: 4;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.45);
  display: none;
}

.hero__counter b {
  color: var(--white);
  font-weight: 500;
}

.hero-spacer {
  height: 100vh;
  height: 100svh;
  pointer-events: none;
}

.scroll-content {
  position: relative;
  z-index: 10;
  background: var(--cream);
  box-shadow: 0 -30px 60px -28px rgba(0, 0, 0, 0.22);
  border-top: 1px solid rgba(26, 26, 26, 0.04);
}

/* --------------------------------------------------------------------------
   11 · Page head (subpages)
   -------------------------------------------------------------------------- */
.page-head {
  position: relative;
  background: var(--dark);
  color: var(--white);
  min-height: clamp(30rem, 72svh, 42rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.page-head__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.page-head__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.55) contrast(1.05);
  opacity: 0.5;
  transform: scale(1.04);
  animation: page-head-zoom 1.6s var(--ease) forwards;
}

@keyframes page-head-zoom {
  to {
    transform: scale(1);
  }
}

.page-head__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.4) 40%,
      rgba(0, 0, 0, 0.78) 100%
    ),
    radial-gradient(
      ellipse 80% 60% at 50% 40%,
      transparent 20%,
      rgba(0, 0, 0, 0.35) 100%
    );
}

.page-head--plain .page-head__shade {
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.75) 100%
    ),
    radial-gradient(
      ellipse 90% 70% at 30% 30%,
      rgba(255, 255, 255, 0.05),
      transparent 70%
    );
}

.page-head__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: clamp(3rem, 7vh, 5rem);
}

.page-head__title {
  font-weight: 300;
  font-size: clamp(2.75rem, 8vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin-top: 1.25rem;
  max-width: 20ch;
}

.page-head__lead {
  margin-top: 1.75rem;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  font-size: clamp(1rem, 1.3vw, 1.1875rem);
  line-height: 1.7;
}

.page-head__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: clamp(2rem, 5vh, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.page-head__foot b {
  color: var(--white);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   12 · Section headers
   -------------------------------------------------------------------------- */
.section-head {
  display: grid;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
}

.section-head--split {
  align-items: end;
}

.section-head .h2 {
  max-width: 22ch;
}

/* Intro block: eyebrow + big statement + copy */
.intro__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.intro__statement {
  font-weight: 300;
  font-size: clamp(1.625rem, 3.4vw, 3rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin-top: 1.5rem;
}

.intro__copy {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.intro__aside {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.25rem;
}

.fact-list {
  display: grid;
  gap: 1rem;
}

.fact-list li {
  display: flex;
  gap: 0.875rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.fact-list svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 0.2rem;
  color: var(--red);
}

/* --------------------------------------------------------------------------
   13 · Services grid
   -------------------------------------------------------------------------- */
.services {
  border-top: 1px solid var(--line);
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  border-left: 1px solid var(--line);
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 11.5rem;
  transition: background 0.4s ease;
}

.service:hover {
  background: var(--cream-2);
}

.service__index {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--ink-4);
  margin-bottom: 1.5rem;
}

.service__icon {
  display: block;
  width: 30px;
  height: 30px;
  color: var(--ink-3);
  margin-bottom: 2.5rem;
  transition: color 0.4s ease, transform 0.5s var(--ease);
}

.service__icon svg,
.service__arrow svg,
.tile__arrow svg {
  width: 100%;
  height: 100%;
}

.service:hover .service__icon {
  color: var(--red);
  transform: translateY(-2px);
}

.service__title {
  margin-top: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service__line {
  display: block;
  width: 0;
  height: 1px;
  background: var(--red);
  margin-top: 0.625rem;
  transition: width 0.6s var(--ease);
}

.service:hover .service__line {
  width: 100%;
}

.service__text {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.65;
  color: var(--ink-3);
}

.service__arrow {
  position: absolute;
  right: 1.25rem;
  bottom: 1.5rem;
  width: 15px;
  height: 15px;
  color: var(--red);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease);
}

.service:hover .service__arrow {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   14 · Editorial list (Services page)
   -------------------------------------------------------------------------- */
.editorial {
  border-top: 1px solid var(--line);
}

.editorial__row {
  display: grid;
  gap: 1.25rem;
  padding-block: clamp(2rem, 4.5vh, 3rem);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s ease;
}

.editorial__row:hover {
  background: var(--cream-2);
}

.editorial__index {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--red);
  font-weight: 500;
}

.editorial__title {
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.editorial__text {
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.75;
  max-width: 60ch;
}

.editorial__media {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

.editorial__media .media {
  max-height: 32rem;
}

.media {
  position: relative;
  overflow: hidden;
  background: var(--cream-3);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.6s var(--ease), filter 0.8s ease;
  filter: grayscale(0.3) contrast(1.03);
}

.media:hover img {
  filter: grayscale(0) contrast(1.05);
}

.is-in .media img {
  transform: scale(1);
}

.media--wide {
  aspect-ratio: 16 / 9;
}

.media--4x3 {
  aspect-ratio: 4 / 3;
}

.media--3x4 {
  aspect-ratio: 3 / 4;
}

.media--1x1 {
  aspect-ratio: 1 / 1;
}

.media__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--cream);
  color: var(--ink);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.625rem 0.875rem;
}

/* --------------------------------------------------------------------------
   15 · Gallery
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  gap: clamp(0.5rem, 1vw, 0.875rem);
  grid-template-columns: 1fr;
}

.tile {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--cream-3);
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.6s ease;
  filter: grayscale(0.35) contrast(1.03);
}

.tile:hover img {
  transform: scale(1.05);
  filter: grayscale(0) contrast(1.05);
}

.tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.72),
    rgba(10, 10, 10, 0.1) 45%,
    transparent
  );
  transition: background 0.5s ease;
}

.tile:hover .tile__overlay {
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.82),
    rgba(10, 10, 10, 0.2) 50%,
    rgba(10, 10, 10, 0.08)
  );
}

.tile__info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.tile__eyebrow {
  display: block;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.tile__title {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 0.375rem;
  transition: color 0.4s ease, transform 0.5s var(--ease);
}

.tile:hover .tile__title {
  color: var(--white);
  transform: translateY(-2px);
}

.tile__arrow {
  width: 20px;
  height: 20px;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease);
  flex: none;
}

.tile:hover .tile__arrow {
  opacity: 1;
  transform: none;
}

.tile--cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem;
  min-height: 14rem;
  background: var(--ink);
  color: var(--white);
  transition: background 0.45s ease;
}

.tile--cta:hover {
  background: var(--red);
}

.tile--cta .tile__eyebrow {
  color: rgba(255, 255, 255, 0.5);
}

.tile--cta__text {
  font-weight: 300;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-top: auto;
}

.tile--cta__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  transition: gap 0.35s var(--ease), color 0.3s ease;
}

.tile--cta__link svg {
  width: 14px;
  height: 14px;
}

.tile--cta:hover .tile--cta__link {
  gap: 0.75rem;
  color: var(--white);
}

/* --------------------------------------------------------------------------
   16 · About / image pair
   -------------------------------------------------------------------------- */
.about__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about__images {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.62fr;
  gap: 1rem;
  align-items: end;
}

.about__images .media:first-child {
  aspect-ratio: 4 / 5;
}

.about__images .media:last-child {
  aspect-ratio: 3 / 4;
  margin-bottom: -2rem;
}

.about__badge {
  position: absolute;
  left: 1rem;
  bottom: -1.25rem;
  background: var(--ink);
  color: var(--white);
  padding: 1rem 1.25rem;
  display: grid;
  gap: 0.125rem;
  z-index: 2;
}

.about__badge b {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about__badge span {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
}

.about__quote {
  margin-top: 2rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--red);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink);
}

.about__quote cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.6875rem;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   17 · Dark statement section
   -------------------------------------------------------------------------- */
.statement {
  position: relative;
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
}

.statement::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 70% 60% at 25% 20%,
      rgba(255, 255, 255, 0.05),
      transparent 65%
    ),
    radial-gradient(
      ellipse 60% 60% at 85% 90%,
      rgba(226, 0, 26, 0.07),
      transparent 70%
    );
  pointer-events: none;
}

.statement__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(5rem, 14vh, 10rem);
}

.statement__lines {
  margin-top: 2rem;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.statement__line {
  display: block;
  font-size: clamp(1.75rem, 5.5vw, 4.5rem);
}

.statement__line--muted {
  color: rgba(255, 255, 255, 0.42);
}

.statement__line--indent {
  padding-left: clamp(1rem, 6vw, 5rem);
}

.statement__line--accent {
  font-weight: 400;
}

.statement__body {
  margin-top: clamp(2rem, 5vh, 3rem);
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 300;
  line-height: 1.75;
}

.stats {
  display: grid;
  gap: 2rem;
  margin-top: clamp(2.5rem, 6vh, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line-light);
}

.stat b {
  display: block;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.stat span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.stat i {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-style: normal;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   18 · Principles
   -------------------------------------------------------------------------- */
.principles {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.principle {
  background: var(--cream);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: background 0.4s ease;
}

.principle:hover {
  background: var(--cream-2);
}

.principle__index {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--red);
}

.principle__title {
  margin-top: 1.5rem;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 300;
  letter-spacing: -0.015em;
}

.principle__text {
  margin-top: 0.875rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 34ch;
}

/* --------------------------------------------------------------------------
   19 · Contact
   -------------------------------------------------------------------------- */
.contact__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.contact__card {
  border: 1px solid var(--line);
  background: var(--cream-2);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.contact__card .h3 {
  margin-top: 1.25rem;
  font-weight: 300;
}

.contact__card p {
  margin-top: 1rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.75;
}

.contact__phone {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.contact__phone-icon {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.contact__phone-icon img {
  width: 18px;
  height: 18px;
  filter: brightness(0);
  opacity: 0.78;
}

.contact__phone a {
  display: block;
  font-size: 1.125rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact__phone a:hover {
  color: var(--red);
}

.contact__phone span {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.25rem;
}

/* Contact info cards */
.info-cards {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.info-card {
  background: var(--cream);
  padding: 1.75rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: background 0.4s ease;
}

.info-card:hover {
  background: var(--cream-2);
}

.info-card__icon {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}

.info-card__icon img {
  width: 17px;
  height: 17px;
  filter: brightness(0);
  opacity: 0.78;
}

.info-card h3 {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.info-card p,
.info-card a {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink);
}

.info-card a {
  transition: color 0.3s ease;
}

.info-card a:hover {
  color: var(--red);
}

/* Form */
.form {
  display: grid;
  gap: 1.375rem;
}

.form__row {
  display: grid;
  gap: 1.375rem;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 300;
  border-radius: 0;
  transition: border-color 0.3s ease;
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-4);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--red);
}

.form__check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--ink-3);
}

.form__check input {
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
  flex: none;
  accent-color: var(--red);
}

.form__check a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.form__note {
  font-size: 0.6875rem;
  color: var(--ink-3);
}

.form__status {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--red);
  display: none;
}

.form__status.is-shown {
  display: block;
}

/* Map */
.map {
  position: relative;
  border: 1px solid var(--line);
  background: var(--cream-2);
  overflow: hidden;
}

.map iframe {
  display: block;
  width: 100%;
  height: clamp(18rem, 40vh, 26rem);
  border: 0;
  filter: grayscale(1) contrast(0.95);
  transition: filter 0.6s ease;
}

.map:hover iframe {
  filter: grayscale(0.2) contrast(1);
}

/* --------------------------------------------------------------------------
   20 · CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.cta-band__media {
  position: absolute;
  inset: 0;
}

.cta-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.28;
}

.cta-band__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(4rem, 10vh, 7rem);
  display: grid;
  gap: 2rem;
  align-items: center;
}

.cta-band__title {
  font-weight: 300;
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 24ch;
}

.cta-band__title em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.45);
}

/* --------------------------------------------------------------------------
   21 · Footer
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  z-index: 10;
  background: var(--dark);
  color: var(--white);
}

.footer__contact {
  border-bottom: 1px solid var(--line-light);
}

.footer__contact-grid {
  display: grid;
  gap: 0;
}

.footer__contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-top: 1px solid var(--line-light);
}

.footer__contact-item:first-child {
  border-top: 0;
}

.footer__contact-icon {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
}

.footer__contact-icon img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer__contact-item h3 {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer__contact-item p,
.footer__contact-item a {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
}

.footer__contact-item a:hover {
  color: var(--red);
}

.footer__main {
  padding-block: clamp(3rem, 7vh, 5rem);
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.footer__brand {
  display: grid;
  gap: 1.5rem;
  max-width: 34ch;
}

.footer__brand .brand {
  color: var(--white);
}

.footer__brand .brand .logo {
  height: 2rem;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9375rem;
  line-height: 1.7;
  font-weight: 300;
}

.footer__cols {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

.footer__col h2 {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.25rem;
}

.footer__col li + li {
  margin-top: 0.75rem;
}

.footer__col a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.3s ease, padding-left 0.3s var(--ease);
}

.footer__col a:hover {
  color: var(--white);
  padding-left: 0.375rem;
}

.footer__social {
  display: flex;
  gap: 0.5rem;
}

.footer__social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.footer__social a:hover {
  color: var(--white);
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.footer__social svg {
  width: 15px;
  height: 15px;
}

.footer__bottom {
  border-top: 1px solid var(--line-light);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.38);
}

.footer__bottom a {
  transition: color 0.3s ease;
}

.footer__bottom a:hover {
  color: var(--white);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

/* --------------------------------------------------------------------------
   22 · Reveal animations
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.js [data-reveal="fade"] {
  transform: none;
}

.js [data-reveal="left"] {
  transform: translateX(-26px);
}

.js [data-reveal="right"] {
  transform: translateX(26px);
}

.js [data-reveal="scale"] {
  transform: scale(0.97);
}

.js [data-reveal].is-in {
  transform: none;
  opacity: 1;
}

/* --------------------------------------------------------------------------
   23 · Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .hero__slide img {
    object-position: center 42%;
  }

  .hero__title {
    max-width: 16ch;
  }

  .hero__inner {
    padding-bottom: 7.5rem;
  }
}

@media (min-width: 640px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

@media (min-width: 1024px) {
  .hero__scroll {
    display: flex;
  }

  .hero__bar {
    display: none;
  }
}

@media (min-width: 900px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about__grid {
    grid-template-columns: 1.05fr 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr 1.35fr;
  }

  .info-cards {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .statement__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: end;
  }

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

  .principles {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-band__inner {
    grid-template-columns: 1.4fr 1fr;
  }

  .footer__main {
    grid-template-columns: 1.2fr 1fr;
  }

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

  .editorial__row {
    grid-template-columns: 3.5rem 1fr 1.1fr;
    align-items: baseline;
  }

  .editorial__media {
    grid-column: 2 / -1;
  }

  .section-head--split {
    grid-template-columns: 1.1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
  }

  .header-pill__phone,
  .header-pill__sep,
  .sticky-header .header-pill__phone {
    display: inline-block;
  }

  .hero__card {
    display: block;
  }

  .hero__counter {
    display: block;
  }

  .hero__inner {
    padding-bottom: 5.5rem;
  }

  .hero__card {
    bottom: 5.5rem;
  }

  .menu__body {
    grid-template-columns: 1.25fr 1fr;
    align-items: start;
  }
}

@media (min-width: 1100px) {
  .services__grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery .tile--wide {
    grid-column: span 2;
  }

  .footer__contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__contact-item {
    border-top: 0;
    border-left: 1px solid var(--line-light);
    padding: 2.5rem 2rem;
  }

  .footer__contact-item:first-child {
    border-left: 0;
    padding-left: 0;
  }
}

@media (min-width: 1280px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1023px) {
  .menu__nav {
    order: 1;
  }

  .menu__aside {
    order: 2;
  }

  .menu__stats {
    display: none;
  }
}

@media (max-width: 899px) {
  .statement__body {
    margin-top: 2rem;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   24 · Logo (inline SVG)
   -------------------------------------------------------------------------- */
.logo {
  display: block;
  height: 100%;
  width: auto;
  overflow: visible;
}

.logo__arcs {
  fill: none;
  stroke: var(--red);
  stroke-width: 7;
}

.logo__mark {
  fill: currentColor;
  font-family: var(--font);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -2px;
  text-anchor: middle;
}

.logo__rule {
  stroke: currentColor;
  stroke-width: 1.5;
  opacity: 0.85;
}

.logo__words {
  fill: currentColor;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 3px;
}

/* --------------------------------------------------------------------------
   25 · Legal pages
   -------------------------------------------------------------------------- */
.legal__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.legal__toc {
  position: sticky;
  top: 6rem;
}

.legal__toc-links {
  display: grid;
  gap: 0.625rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.legal__toc-links a {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-3);
  transition: color 0.3s ease, padding-left 0.3s var(--ease);
}

.legal__toc-links a:hover {
  color: var(--red);
  padding-left: 0.25rem;
}

.legal__content {
  display: grid;
  gap: clamp(2.5rem, 5vh, 3.5rem);
  max-width: 68ch;
}

.legal__section {
  scroll-margin-top: 6rem;
}

.legal__section h2 {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--line);
}

.legal__text {
  margin-top: 1.25rem;
  display: grid;
  gap: 1rem;
}

.legal__text p {
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.75;
}

@media (min-width: 900px) {
  .legal__grid {
    grid-template-columns: 16rem 1fr;
  }
}

/* --------------------------------------------------------------------------
   26 · Reduced motion & print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero__title .line > span {
    transform: none;
    opacity: 1;
  }

  .hero__meta {
    opacity: 1;
  }

  .hero__slide img {
    transform: none;
  }

  .cursor,
  .cursor-ring {
    display: none !important;
  }
}
