/* Noventra Corp — site styles
   Implements project/Site Overview.dc.html (Home, About, Services, Contact). */

:root {
  --ink: #16171B;
  --ink-hover: #33353C;
  --paper: #F6F4EF;
  --paper-hero: #FAF8F4;
  --white: #FFFFFF;
  --text-2: #3A3C43;
  --text-3: #5B5E68;
  --text-4: #706E67;
  --dot: #A6A49E;
  --muted-on-dark: #C9C7C1;
  --text-on-dark: #E9E7E1;
  --line: #DAD6CE;
  --line-card: #E6E3DC;
  --line-hero: #ECE9E2;
  --line-footer: #E3E0D9;
  --field-bg: #F9F8F5;
  --error: #B3261E;
  --star: #B8862B;

  /* Gradient accents: warm = blush & sand (3b), fresh = chalk lime & fog (3c) */
  --warm-1: #EFC6BE;
  --warm-2: #EAD9B8;
  --warm-3: #F5E2DA;
  --fresh-1: #DCE49E;
  --fresh-2: #C6D6D0;
  --fresh-3: #EEF1CF;

  --font: Geist, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --wordmark: Manrope, sans-serif;

  --max: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-gap: clamp(88px, 11vw, 144px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
a:hover { color: var(--text-3); }
input, textarea, button { font-family: inherit; }
[id] { scroll-margin-top: 96px; }
img, svg { display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.num { font-family: var(--mono); font-size: 12px; color: var(--text-4); }

.h-section {
  margin: 0;
  font-weight: 300;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.h-side {
  margin: 0;
  font-weight: 300;
  flex: 1 1 260px;
  font-size: clamp(32px, 3.6vw, 44px);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

/* ---------- Logo ---------- */
.logo { display: flex; align-items: center; text-decoration: none; color: var(--ink); }
.logo svg { flex: none; }
.logo__word {
  font-family: var(--wordmark);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}
.logo__word span { font-weight: 400; }
/* size 26: gap 8, font 22 · size 34: gap 11, font 29 · size 48: gap 15, font 41 */
.logo--26 { gap: 8px; } .logo--26 svg { width: 26px; height: 26px; } .logo--26 .logo__word { font-size: 22px; }
.logo--34 { gap: 11px; } .logo--34 svg { width: 34px; height: 34px; } .logo--34 .logo__word { font-size: 29px; }
.logo--48 { gap: 15px; } .logo--48 svg { width: 48px; height: 48px; } .logo--48 .logo__word { font-size: 41px; }
.logo:hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 999px;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .2s;
}
.btn--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--dark:hover { background: var(--ink-hover); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--white); color: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--white); color: var(--ink); }
.btn--sm { padding: 10px 20px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(246, 244, 239, .82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(22, 23, 27, .06);
}
.site-header__bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav { display: flex; gap: 36px; align-items: center; }
.nav a { text-decoration: none; font-size: 14px; color: var(--text-3); font-weight: 400; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.site-header__actions { display: flex; align-items: center; gap: 14px; }

.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.lang button {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 5px 11px;
  font-family: var(--mono);
  font-size: 11px;
  background: transparent;
  color: var(--text-3);
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .25s; }
.site-header.is-open .menu-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
.site-header.is-open .menu-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-menu {
  display: none;
  padding: 8px var(--gutter) 28px;
  flex-direction: column;
  gap: 24px;
  border-top: 1px solid rgba(22, 23, 27, .06);
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  text-decoration: none;
  font-size: 30px;
  font-weight: 300;
  letter-spacing: -0.03em;
  padding: 12px 0;
  border-bottom: 1px solid #E6E3DC;
  color: var(--text-3);
}
.mobile-menu nav a[aria-current="page"] { color: var(--ink); }
.mobile-menu__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mobile-menu .lang button { padding: 10px 16px; font-size: 12px; }
.mobile-menu .btn { padding: 14px 26px; }

@media (max-width: 859.98px) {
  .site-header .nav, .site-header__actions { display: none; }
  .menu-toggle { display: flex; }
  .site-header.is-open .mobile-menu { display: flex; }
}

/* ---------- Hero ---------- */
.hero-wrap { padding: 12px; }
.hero {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: var(--paper-hero);
  border: 1px solid var(--line-hero);
  display: flex;
  align-items: flex-end;
}
.hero--home { min-height: clamp(560px, 84vh, 880px); }
.hero--about { min-height: clamp(420px, 60vh, 640px); }
.hero--services { min-height: clamp(520px, 74vh, 800px); }
.hero--contact { min-height: clamp(380px, 52vh, 560px); }
.hero__content {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 8vw, 96px) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero--contact .hero__content { padding-top: clamp(40px, 8vw, 88px); padding-bottom: clamp(40px, 8vw, 88px); gap: 24px; }
.hero .eyebrow { color: var(--text-2); }
.hero__title {
  margin: 0;
  font-weight: 300;
  font-size: clamp(52px, 9vw, 136px);
  letter-spacing: -0.055em;
  line-height: .95;
}
.hero--home .hero__title { font-size: clamp(56px, 11vw, 168px); line-height: .92; }
.hero__services-title {
  margin: 0;
  max-width: 1000px;
  font-weight: 300;
  font-size: clamp(44px, 7vw, 104px);
  letter-spacing: -0.05em;
  line-height: .98;
  text-wrap: balance;
}
.hero__lead {
  margin: 0;
  max-width: 600px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
}
.hero--contact .hero__lead { max-width: 560px; }
.hero__row { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end; justify-content: space-between; }
.hero__sub {
  margin: 0;
  max-width: 520px;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.45;
  color: var(--text-2);
  text-wrap: pretty;
}

/* Orbs: drifting blurred gradients + faint route lines */
.orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform, border-radius; }
/* Each orb loops along its own closed path at its own speed, and its outline
   wobbles out of sync with the movement, so the pattern never visibly repeats. */
.orb--a { width: 58%; height: 75%; left: -10%; top: -18%; animation: nvFloat1 18s ease-in-out infinite, nvMorph 11s ease-in-out infinite; }
.orb--b { width: 62%; height: 80%; right: -12%; bottom: -28%; animation: nvFloat2 23s ease-in-out infinite, nvMorph 14s ease-in-out infinite reverse; }
.orb--c { width: 40%; height: 55%; left: 34%; top: 8%; animation: nvFloat3 15s ease-in-out infinite, nvMorph 9s ease-in-out -4s infinite; }
.orbs--warm .orb--a { background: var(--warm-1); }
.orbs--warm .orb--b { background: var(--warm-2); }
.orbs--warm .orb--c { background: var(--warm-3); }
.orbs--fresh .orb--a { background: var(--fresh-1); }
.orbs--fresh .orb--b { background: var(--fresh-2); }
.orbs--fresh .orb--c { background: var(--fresh-3); }
.orbs svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbs path { fill: none; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.orbs .route-dash { stroke-dasharray: 2 10; animation: nvDash 30s linear infinite; }

@keyframes nvFloat1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  25%      { transform: translate(18%, 12%) rotate(25deg) scale(1.12); }
  50%      { transform: translate(30%, -4%) rotate(50deg) scale(.95); }
  75%      { transform: translate(8%, -10%) rotate(20deg) scale(1.08); }
}
@keyframes nvFloat2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1.05); }
  30%      { transform: translate(-22%, -14%) rotate(-30deg) scale(.92); }
  60%      { transform: translate(-8%, -26%) rotate(-55deg) scale(1.1); }
  80%      { transform: translate(6%, -8%) rotate(-20deg) scale(.98); }
}
@keyframes nvFloat3 {
  0%, 100% { transform: translate(0, 0) scale(.95); }
  33%      { transform: translate(-26%, 18%) scale(1.18); }
  66%      { transform: translate(22%, 24%) scale(1.02); }
}
@keyframes nvMorph {
  0%, 100% { border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; }
  33%      { border-radius: 62% 38% 46% 54% / 44% 58% 42% 56%; }
  66%      { border-radius: 40% 60% 58% 42% / 58% 40% 60% 42%; }
}
@keyframes nvGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-90px, 70px) scale(1.2); }
}
@keyframes nvDash { to { stroke-dashoffset: -400; } }

/* ---------- Sections ---------- */
.section { padding-top: var(--section-gap); }
.section--last { padding-bottom: var(--section-gap); }
.stack-48 { display: flex; flex-direction: column; gap: 48px; }
.split { display: flex; flex-wrap: wrap; gap: 24px 48px; }
.split__main { flex: 2 1 520px; min-width: 0; }

/* Cards */
.card-grid { display: grid; gap: 16px; }
.card-grid--services { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card-grid--values { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: var(--white);
  border: 1px solid var(--line-card);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: var(--ink);
}
.card__body { display: flex; flex-direction: column; gap: 12px; }
.card__title { font-size: 24px; letter-spacing: -0.025em; }
.card__text { font-size: 15px; line-height: 1.55; color: var(--text-3); }
.card--link { min-height: 280px; gap: 32px; transition: border-color .2s, transform .3s; }
.card--link:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.card__arrow { font-size: 18px; }
.card--value { min-height: 250px; gap: 28px; justify-content: flex-start; }
.card--value .card__title { font-size: 22px; }

/* Dark panel (CTA / Vision / Quality promise) */
.panel {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border-radius: 32px;
  padding: clamp(40px, 7vw, 96px);
}
.panel > * { position: relative; }
.panel__glow {
  animation: nvGlow 16s ease-in-out infinite;
  will-change: transform;
  position: absolute !important;
  width: 520px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.panel--cta { display: flex; flex-direction: column; gap: 28px; }
.panel--cta h2 { margin: 0; font-weight: 300; font-size: clamp(40px, 6vw, 84px); letter-spacing: -0.045em; line-height: 1; }
.panel--cta p { margin: 0; max-width: 640px; font-size: 17px; line-height: 1.6; color: var(--muted-on-dark); text-wrap: pretty; }
.panel--split { display: flex; flex-wrap: wrap; gap: 24px 48px; }
.panel__quote {
  flex: 2 1 520px;
  margin: 0;
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.025em;
  line-height: 1.35;
  color: var(--text-on-dark);
  text-wrap: pretty;
  min-width: 0;
}

/* How we work */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(32px, 4vw, 56px); }
.principle { display: flex; flex-direction: column; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line); }
.principle__title { font-size: 24px; letter-spacing: -0.025em; }
.principle__text { font-size: 15px; line-height: 1.6; color: var(--text-3); max-width: 340px; }

/* Contact details */
.details { display: flex; flex-direction: column; }
.details__row { border-top: 1px solid var(--line); }
.details__row:last-child { border-bottom: 1px solid var(--line); }
.details--grid .details__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 18px 0;
  font-size: 15px;
  line-height: 1.5;
}
.details--grid .label { padding-top: 3px; }
.details--stack .details__row { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; font-size: 16px; line-height: 1.5; }


.home-contact__info { display: flex; flex-direction: column; gap: 36px; max-width: 760px; }


/* About */
.mission {
  flex: 2 1 520px;
  margin: 0;
  font-weight: 300;
  font-size: clamp(32px, 4.4vw, 60px);
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-wrap: pretty;
  min-width: 0;
}
.mission-label { flex: 1 1 260px; padding-top: 14px; }
.prose {
  flex: 2 1 520px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.65;
  color: var(--text-2);
  max-width: 720px;
  min-width: 0;
}
.prose p { margin: 0; text-wrap: pretty; }

/* Services list */
.service-list { display: flex; flex-direction: column; padding-top: clamp(72px, 9vw, 120px); }
.service {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px clamp(32px, 5vw, 64px);
  padding: clamp(36px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service__media { flex: 1 1 320px; max-width: 460px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.service__img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; background: var(--line-card); }
.service__body { flex: 2 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.service__body h3 { margin: 0; font-weight: 300; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.035em; line-height: 1.1; }
.service__body p {
  margin: 0;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.65;
  color: var(--text-2);
  max-width: 640px;
  text-wrap: pretty;
}
.cta-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 36px; }
.cta-center p {
  margin: 0;
  max-width: 900px;
  font-weight: 300;
  font-size: clamp(34px, 4.8vw, 64px);
  letter-spacing: -0.045em;
  line-height: 1.05;
  text-wrap: balance;
}
.cta-center .btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-center .btn { padding: 15px 28px; }

/* Contact form */
.contact-layout {
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: var(--section-gap);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 64px);
  align-items: flex-start;
}
.form-card {
  flex: 2 1 600px;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line-card);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 48px);
}
.contact-layout .details { flex: 1 1 300px; }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px 16px; }
.form[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text-3); }
.field--full, .consent, .form__submit { grid-column: 1 / -1; }
.field input, .field textarea {
  background: var(--field-bg);
  border: 1px solid var(--line-footer);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  width: 100%;
}
.field input[type="date"] { padding-top: 13px; padding-bottom: 13px; }
.field textarea { line-height: 1.5; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); background: var(--white); }
.field [aria-invalid="true"], .field [aria-invalid="true"]:focus { border-color: var(--error); }
.field__error { margin: 0; font-size: 13px; line-height: 1.4; color: var(--error); }
.field__error[hidden] { display: none; }
.form__note { grid-column: 1 / -1; margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-3); }
.form__note a { color: var(--text-2); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text-2); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.form__submit { display: flex; padding-top: 8px; }
.form__submit .btn { padding: 16px 30px; }
.form-success { min-height: 420px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; }
.form-success[hidden] { display: none; }
.form-success p { margin: 0; max-width: 560px; font-weight: 300; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.035em; line-height: 1.12; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-footer); }
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.site-footer__legal { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.site-footer__line { display: flex; flex-wrap: wrap; column-gap: 10px; row-gap: 2px; }
.site-footer__line strong { font-weight: 500; color: var(--ink); }
.site-footer .sep { color: var(--dot); }
.site-footer__register { max-width: 720px; color: var(--text-3); text-wrap: pretty; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line-footer);
  font-size: 13px;
  color: var(--text-3);
}
.site-footer__bottom a { color: var(--text-3); }

/* ---------- Scroll reveal (enabled by main.js) ---------- */
.js [data-reveal].is-pending {
  opacity: 0;
  transform: translateY(28px);
}
.js [data-reveal] { transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb, .orbs .route-dash, .panel__glow { animation: none !important; }
  .js [data-reveal].is-pending { opacity: 1; transform: none; }
  .card--link { transition: none; }
}
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: 14px; font-size: 14px; line-height: 1.5; color: var(--error); background: #FBEDEB; }
.form__status[hidden] { display: none; }
.form__status a { color: var(--error); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Privacy policy ---------- */
.policy { padding-top: clamp(48px, 7vw, 96px); padding-bottom: var(--section-gap); max-width: 860px; margin-left: auto; margin-right: auto; }
.policy__head { display: flex; flex-direction: column; gap: 16px; padding-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.policy__title { margin: 0; font-weight: 300; font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.045em; line-height: 1; }
.policy__updated { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.policy__section { padding: clamp(28px, 3.5vw, 40px) 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.65; color: var(--text-2); }
.policy__section h2 { margin: 0 0 14px; font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); }
.policy__section p, .policy__section ul { margin: 0 0 12px; text-wrap: pretty; }
.policy__section > :last-child { margin-bottom: 0; }
.policy__section ul { padding-left: 1.2em; }
.policy__section li + li { margin-top: 6px; }
.policy__section strong { font-weight: 500; color: var(--ink); }

/* ---------- Photos ---------- */
.photo { margin: 0; border-radius: 32px; overflow: hidden; background: var(--line-card); aspect-ratio: 16 / 9; }
.photo__img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .photo { aspect-ratio: 21 / 9; } }

/* ---------- Reviews carousel ---------- */
.carousel__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.carousel__nav { display: flex; gap: 10px; }
.carousel__btn {
  width: 52px; height: 52px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  color: var(--ink); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background-color .2s, border-color .2s, opacity .2s;
}
.carousel__btn:hover:not(:disabled) { background: var(--white); border-color: var(--ink); }
.carousel__btn:disabled { opacity: .35; cursor: default; }
.carousel { display: flex; flex-direction: column; gap: 28px; }
.carousel__track {
  list-style: none; margin: 0; padding: 0; position: relative;
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; border-radius: 24px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.review {
  flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; min-width: 0; min-height: 320px;
  background: var(--white); border: 1px solid var(--line-card); border-radius: 24px; padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 24px;
}
@media (max-width: 1023.98px) { .review { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 639.98px) { .review { flex-basis: 88%; min-height: 280px; } }
.review__stars { display: flex; gap: 3px; }
.review__stars svg { width: 18px; height: 18px; fill: var(--star); }
.review__quote { margin: 0; flex: 1; }
.review__quote p { margin: 0; font-weight: 300; font-size: clamp(19px, 1.7vw, 22px); letter-spacing: -0.015em; line-height: 1.45; text-wrap: pretty; }
.review__author { margin: 0; display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 1px solid var(--line-card); }
.review__name { font-size: 15px; font-weight: 500; }
.review__company { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.carousel__dots { display: flex; gap: 8px; justify-content: center; }
.carousel__dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 999px; background: var(--line); cursor: pointer; transition: width .3s, background-color .3s; }
.carousel__dot[aria-current="true"] { width: 28px; background: var(--ink); }
.carousel__dots[hidden], .carousel__dot[hidden] { display: none; }
