:root {
  --ink: #333333;
  --ink-deep: #292f32;
  --ink-soft: #62696c;
  --gold: #7096a9;
  --gold-light: #a5c9bb;
  --ivory: #eff5f2;
  --ivory-deep: #e2ece8;
  --paper: #fcfcfb;
  --white: #ffffff;
  --blue: #7096a9;
  --mint: #a5c9bb;
  --violet: #9e92cf;
  --line: rgba(51, 51, 51, 0.14);
  --shadow: 0 24px 70px rgba(51, 51, 51, 0.13);
  --container: 1440px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Poppins", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink-deep);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

::selection {
  background: var(--gold-light);
  color: var(--ink-deep);
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 17px;
  left: 17px;
  padding: 10px 16px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition:
    background-color 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(51, 51, 51, 0.1);
  background: rgba(252, 252, 251, 0.92);
  box-shadow: 0 8px 32px rgba(25, 49, 42, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 84px;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 194px;
  height: auto;
  max-width: none;
  transition:
    filter 320ms ease,
    transform 320ms ease;
}

.brand:hover .brand-logo {
  filter: drop-shadow(0 8px 14px rgba(112, 150, 169, 0.25));
  transform: translateY(-1px);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding-block: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 17px;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.35;
  text-align: center;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button::before {
  position: absolute;
  z-index: 0;
  top: -80%;
  left: -35%;
  width: 28%;
  height: 260%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  content: "";
  pointer-events: none;
  transform: translateX(-230%) rotate(18deg);
  transition: transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform 180ms ease;
}

.button:hover {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 17px 26px rgba(126, 91, 28, 0.18);
  transform: translateY(-2px);
}

.button:hover::before {
  transform: translateX(620%) rotate(18deg);
}

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

.button--small {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 11px;
}

.button--outline {
  border-color: rgba(51, 51, 51, 0.4);
  background: transparent;
  color: var(--ink);
}

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

.button--light {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.button--light:hover {
  border-color: var(--gold-light);
  background: var(--gold-light);
  color: var(--ink-deep);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  width: 23px;
  height: 1.5px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  padding: 140px 0 74px;
  background:
    linear-gradient(90deg, rgba(252, 252, 251, 0.98) 0%, rgba(252, 252, 251, 0.95) 48%, rgba(252, 252, 251, 0.76) 100%);
}

.hero::before {
  position: absolute;
  top: 106px;
  left: max(10px, calc((100% - var(--container)) / 2 - 24px));
  width: 2px;
  height: calc(100% - 168px);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(112, 150, 169, 0.18) 12%,
    rgba(112, 150, 169, 0.9) 48%,
    rgba(112, 150, 169, 0.2) 88%,
    transparent 100%
  );
  background-size: 100% 180%;
  box-shadow: 0 0 18px rgba(112, 150, 169, 0.22);
  content: "";
  animation: hero-line-flow 5.5s ease-in-out infinite alternate;
}

.hero::after {
  position: absolute;
  top: 34%;
  left: max(7px, calc((100% - var(--container)) / 2 - 27px));
  width: 8px;
  height: 8px;
  border: 1px solid rgba(112, 150, 169, 0.8);
  background: var(--paper);
  box-shadow: 0 0 0 5px rgba(112, 150, 169, 0.08);
  content: "";
  transform: rotate(45deg);
}

.hero-glow {
  position: absolute;
  top: 8%;
  right: -7%;
  width: min(58vw, 840px);
  height: min(58vw, 840px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(165, 201, 187, 0.23), transparent 46%),
    radial-gradient(circle at 65% 45%, rgba(112, 150, 169, 0.16), transparent 50%),
    radial-gradient(circle at 52% 72%, rgba(158, 146, 207, 0.13), transparent 48%);
  filter: blur(30px);
  pointer-events: none;
  animation: hero-glow-drift 9s ease-in-out infinite alternate;
}

.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  gap: clamp(60px, 7vw, 125px);
}

.hero-copy {
  position: relative;
}

.hero-copy::after {
  position: absolute;
  top: -38px;
  left: -38px;
  width: 92px;
  height: 92px;
  border-top: 1px solid rgba(112, 150, 169, 0.3);
  border-left: 1px solid rgba(112, 150, 169, 0.3);
  content: "";
  pointer-events: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow > span {
  position: relative;
  width: 34px;
  height: 1px;
  background: currentColor;
}

.eyebrow > span::after {
  position: absolute;
  top: -2px;
  right: 0;
  width: 5px;
  height: 5px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
}

.hero h1,
.section h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(56px, 6.25vw, 92px);
  text-wrap: balance;
}

.hero h1 em,
.section h2 em {
  display: block;
  color: var(--gold);
  font-weight: 500;
}

.hero-lead {
  max-width: 700px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 8px;
  border-bottom: 1px solid rgba(51, 51, 51, 0.35);
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.025em;
  transition:
    border-color 180ms ease,
    color 180ms ease;
}

.text-link span {
  font-size: 16px;
  transition: transform 180ms ease;
}

.text-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.text-link:hover span {
  transform: translateX(3px);
}

.text-link--gold {
  border-color: rgba(112, 150, 169, 0.5);
  color: var(--gold);
}

.hero-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 26px;
  margin: 38px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero-modes li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #5d676c;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition:
    color 220ms ease,
    transform 220ms ease;
}

.hero-modes li:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.hero-modes svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.hero-visual {
  position: relative;
  min-height: 690px;
}

.hero-visual::before {
  position: absolute;
  z-index: 0;
  top: -32px;
  right: -30px;
  width: min(92%, 625px);
  height: 625px;
  border: 1px solid rgba(112, 150, 169, 0.3);
  border-radius: 50%;
  box-shadow:
    0 0 0 16px rgba(252, 252, 251, 0.5),
    0 0 0 17px rgba(112, 150, 169, 0.08);
  content: "";
  pointer-events: none;
}

.hero-visual::after {
  position: absolute;
  z-index: 0;
  bottom: 40px;
  left: -32px;
  width: 145px;
  height: 145px;
  background-image: radial-gradient(rgba(112, 150, 169, 0.5) 1px, transparent 1px);
  background-size: 13px 13px;
  content: "";
  -webkit-mask-image: linear-gradient(135deg, #000, transparent 78%);
  mask-image: linear-gradient(135deg, #000, transparent 78%);
  opacity: 0.65;
  pointer-events: none;
}

.editorial-frame {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: min(93%, 600px);
  height: 650px;
  overflow: hidden;
  border-radius: 260px 260px 20px 20px;
  background: var(--ivory-deep);
  box-shadow: var(--shadow);
  transition:
    box-shadow 450ms ease,
    transform 450ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.editorial-frame::after {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.editorial-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  transition: transform 800ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.hero-visual:hover .editorial-frame {
  box-shadow: 0 36px 90px rgba(47, 39, 28, 0.2);
  transform: translateY(-7px);
}

.hero-visual:hover .editorial-frame img {
  transform: scale(1.035);
}

.hero-signature {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 6px;
  width: min(78%, 405px);
  padding: 20px 25px 18px;
  border: 1px solid rgba(112, 150, 169, 0.25);
  background: rgba(252, 252, 251, 0.94);
  box-shadow: 0 18px 42px rgba(28, 47, 40, 0.13);
  backdrop-filter: blur(17px);
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 320ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.hero-signature:hover {
  border-color: rgba(112, 150, 169, 0.65);
  box-shadow: 0 24px 54px rgba(28, 47, 40, 0.18);
  transform: translate(-7px, -5px);
}

.hero-signature span {
  display: block;
  margin-bottom: 3px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-signature strong {
  display: block;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 600;
  line-height: 1.1;
}

.hero-signature small {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-seal {
  position: absolute;
  z-index: 2;
  bottom: 42px;
  left: -10px;
  display: grid;
  width: 117px;
  height: 117px;
  place-content: center;
  place-items: center;
  border: 1px solid rgba(112, 150, 169, 0.48);
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-light);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.13em;
  animation: hero-seal-float 5s ease-in-out infinite;
}

.hero-seal i {
  margin-block: 2px;
  font-family: var(--serif);
  font-size: 15px;
  font-style: normal;
}

.trust-bar {
  border-block: 1px solid rgba(112, 150, 169, 0.24);
  background: var(--ivory);
}

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

.trust-grid > div {
  position: relative;
  overflow: hidden;
  padding: 23px 28px;
  border-right: 1px solid rgba(112, 150, 169, 0.24);
  transition:
    background-color 240ms ease,
    transform 240ms ease;
}

.trust-grid > div::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
  transform: scaleX(0);
  transition: transform 320ms ease;
}

.trust-grid > div:hover {
  background: rgba(252, 252, 251, 0.68);
  transform: translateY(-3px);
}

.trust-grid > div:hover::before {
  transform: scaleX(1);
}

.trust-grid > div:first-child {
  padding-left: 0;
}

.trust-grid > div:last-child {
  border-right: 0;
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
}

.trust-grid span {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section {
  padding: 120px 0;
}

.section h2 {
  font-size: clamp(46px, 5vw, 74px);
}

.about {
  overflow: hidden;
  background:
    radial-gradient(circle at 0 100%, rgba(165, 201, 187, 0.17), transparent 32%),
    var(--paper);
}

.about-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(60px, 8vw, 120px);
}

.about-visual {
  position: relative;
  min-height: 720px;
}

.about-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 84%;
  height: 660px;
  overflow: hidden;
  border-radius: 230px 230px 8px 8px;
  background: #c7beb5;
  box-shadow: var(--shadow);
  transition:
    box-shadow 420ms ease,
    transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transition: transform 800ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.about-visual:hover .about-photo {
  box-shadow: 0 34px 84px rgba(47, 39, 28, 0.2);
  transform: translateY(-6px);
}

.about-visual:hover .about-photo img {
  transform: scale(1.025);
}

.about-visual::after {
  position: absolute;
  z-index: -1;
  top: 42px;
  right: 5%;
  width: 42%;
  height: 610px;
  border: 1px solid rgba(112, 150, 169, 0.5);
  border-radius: 220px 220px 0 0;
  content: "";
}

.about-note {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 62%;
  padding: 28px 30px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 16px 36px rgba(51, 51, 51, 0.2);
  transition:
    background-color 260ms ease,
    box-shadow 260ms ease,
    transform 320ms ease;
}

.about-note:hover {
  background: #3a515c;
  box-shadow: 0 22px 48px rgba(51, 51, 51, 0.27);
  transform: translate(-5px, -5px);
}

.about-note span {
  position: absolute;
  top: 8px;
  left: 18px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 50px;
  line-height: 1;
}

.about-note p {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1.35;
  text-align: center;
}

.about-copy h2 em {
  display: inline;
}

.about-copy .lead {
  margin: 26px 0 18px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.42;
}

.about-copy > p:not(.eyebrow, .lead) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.credentials {
  display: grid;
  gap: 0;
  margin: 34px 0 28px;
  border-top: 1px solid var(--line);
}

.credentials article {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition:
    background-color 240ms ease,
    padding 240ms ease,
    transform 240ms ease;
}

.credentials article::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 2px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: scaleY(0.4);
  transition:
    opacity 240ms ease,
    transform 240ms ease;
}

.credentials article:hover {
  padding-right: 16px;
  padding-left: 18px;
  background: rgba(112, 150, 169, 0.055);
  transform: translateX(5px);
}

.credentials article:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.credentials article > span {
  padding-top: 3px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}

.credentials h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.2;
}

.credentials p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.services {
  position: relative;
  overflow: hidden;
  background: var(--ink-deep);
  color: var(--paper);
}

.services::before {
  position: absolute;
  top: -260px;
  left: -180px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(165, 201, 187, 0.15);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px rgba(165, 201, 187, 0.03),
    0 0 0 130px rgba(165, 201, 187, 0.02);
  content: "";
}

.section-heading {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 60px;
  margin-bottom: 60px;
}

.section-heading h2 {
  max-width: 780px;
}

.section-heading > p {
  margin: 0 0 6px;
  color: rgba(252, 252, 251, 0.7);
  font-size: 16px;
}

.eyebrow--light {
  color: var(--gold-light);
}

.service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(252, 252, 251, 0.16);
}

.service-card {
  position: relative;
  display: flex;
  min-height: 530px;
  flex-direction: column;
  padding: 34px 28px 30px;
  border-right: 1px solid rgba(252, 252, 251, 0.16);
  transition:
    background-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.service-card::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(165, 201, 187, 0.17), transparent 32%),
    linear-gradient(145deg, transparent 60%, rgba(112, 150, 169, 0.08));
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:last-child {
  border-right: 0;
}

.service-card:hover {
  z-index: 1;
  background: #354a54;
  box-shadow: 0 28px 55px rgba(2, 19, 15, 0.24);
  transform: translateY(-8px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-number {
  position: absolute;
  top: 26px;
  right: 24px;
  color: rgba(252, 252, 251, 0.35);
  font-family: var(--serif);
  font-size: 16px;
}

.service-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 30px;
  place-items: center;
  border: 1px solid rgba(165, 201, 187, 0.5);
  border-radius: 50%;
  color: var(--gold-light);
  transition:
    background-color 280ms ease,
    border-color 280ms ease,
    color 280ms ease,
    transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.service-card:hover .service-icon {
  border-color: var(--gold-light);
  background: var(--gold-light);
  color: var(--ink-deep);
  transform: rotate(-7deg) scale(1.08);
}

.service-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.3;
}

.service-card h3 {
  min-height: 72px;
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.08;
}

.service-card > p {
  margin: 0;
  color: rgba(252, 252, 251, 0.67);
  font-size: 14px;
  line-height: 1.7;
}

.service-card ul {
  display: grid;
  gap: 7px;
  margin: 22px 0 30px;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 15px;
  color: rgba(252, 252, 251, 0.82);
  font-size: 13px;
}

.service-card li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--gold);
  content: "";
  transform: rotate(45deg);
}

.service-card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(252, 252, 251, 0.18);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.service-card > a span {
  font-size: 17px;
  transition: transform 180ms ease;
}

.service-card > a:hover span {
  transform: translate(2px, -2px);
}

.service-card > .service-badge {
  align-self: flex-start;
  margin: -6px 0 17px;
  padding: 7px 10px;
  border: 1px solid rgba(165, 201, 187, 0.55);
  border-radius: 100px;
  background: rgba(165, 201, 187, 0.08);
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.team {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 5%, rgba(158, 146, 207, 0.14), transparent 31%),
    radial-gradient(circle at 4% 92%, rgba(165, 201, 187, 0.2), transparent 28%),
    var(--paper);
}

.team-heading {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 70px;
  margin-bottom: 56px;
}

.team-heading h2 {
  max-width: 860px;
}

.team-heading h2 em {
  display: inline;
  color: var(--violet);
}

.team-heading > p {
  margin: 0 0 7px;
  color: var(--ink-soft);
  font-size: 16px;
}

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

.team-card {
  overflow: hidden;
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid rgba(112, 150, 169, 0.24);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(51, 51, 51, 0.08);
  transition:
    border-color 280ms ease,
    box-shadow 280ms ease,
    transform 320ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.team-card:hover {
  border-color: rgba(158, 146, 207, 0.58);
  box-shadow: 0 28px 68px rgba(51, 51, 51, 0.14);
  transform: translateY(-8px);
}

.team-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.35;
  margin: 0;
  background: var(--ivory-deep);
}

.team-photo::after {
  position: absolute;
  inset: 0;
  border-bottom: 4px solid transparent;
  background: linear-gradient(to top, rgba(51, 51, 51, 0.09), transparent 32%);
  content: "";
  pointer-events: none;
  transition: border-color 280ms ease;
}

.team-card:hover .team-photo::after {
  border-color: var(--violet);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  transition: transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.team-card:nth-child(2) .team-photo img {
  object-position: center 10%;
}

.team-card:nth-child(3) .team-photo img {
  object-position: center 16%;
}

.team-card:hover .team-photo img {
  transform: scale(1.035);
}

.team-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 29px 30px 31px;
}

.team-role {
  min-height: 34px;
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.55;
  text-transform: uppercase;
}

.team-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
}

.team-register {
  margin: 9px 0 18px;
  color: var(--violet);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-card__body > p:not(.team-role, .team-register) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.team-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: auto 0 0;
  padding: 24px 0 0;
  list-style: none;
}

.team-focus li {
  padding: 7px 10px;
  border: 1px solid rgba(112, 150, 169, 0.25);
  border-radius: 100px;
  background: rgba(165, 201, 187, 0.13);
  color: var(--ink);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.3;
}

.team-guidance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  margin-top: 28px;
  padding: 22px 26px;
  border-left: 3px solid var(--violet);
  background: var(--ivory);
}

.team-guidance p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.team-guidance strong {
  color: var(--ink);
  font-weight: 600;
}

.team-guidance .text-link {
  flex: 0 0 auto;
  font-size: 14px;
}

.neuro {
  background:
    linear-gradient(rgba(252, 252, 251, 0.92), rgba(252, 252, 251, 0.92)),
    radial-gradient(circle at 75% 30%, var(--mint), transparent 45%);
}

.neuro-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.8fr);
  gap: clamp(70px, 9vw, 130px);
}

.neuro-copy h2 {
  max-width: 760px;
}

.neuro-copy h2 em {
  display: inline;
}

.neuro-copy > p {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.neuro-copy .button {
  margin-top: 32px;
}

.process-list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list::before {
  position: absolute;
  top: 35px;
  bottom: 35px;
  left: 29px;
  width: 1px;
  background: rgba(112, 150, 169, 0.45);
  content: "";
}

.process-list li {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition:
    background-color 240ms ease,
    transform 240ms ease;
}

.process-list li:hover {
  background: linear-gradient(90deg, rgba(112, 150, 169, 0.07), transparent);
  transform: translateX(7px);
}

.process-list li:first-child {
  border-top: 1px solid var(--line);
}

.process-list span {
  z-index: 1;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 1px solid rgba(112, 150, 169, 0.5);
  border-radius: 50%;
  background: var(--paper);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  transition:
    background-color 260ms ease,
    box-shadow 260ms ease,
    color 260ms ease,
    transform 340ms ease;
}

.process-list li:hover span {
  background: var(--ink);
  box-shadow: 0 17px 26px rgba(51, 51, 51, 0.16);
  color: var(--gold-light);
  transform: rotate(-6deg) scale(1.05);
}

.process-list h3 {
  margin: 1px 0 7px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2;
}

.process-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.corporate {
  overflow: hidden;
  padding-bottom: 90px;
  background: var(--ink);
  color: var(--paper);
}

.corporate-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(410px, 0.9fr);
  gap: clamp(60px, 8vw, 110px);
}

.corporate-gallery {
  position: relative;
  display: grid;
  min-height: 670px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.15fr 0.85fr;
  gap: 17px;
}

.corporate-gallery figure {
  position: relative;
  min-height: 0;
  overflow: hidden;
  margin: 0;
  background: #4b5c63;
  transition:
    box-shadow 300ms ease,
    transform 300ms ease;
}

.corporate-gallery figure:hover {
  z-index: 1;
  box-shadow: 0 24px 50px rgba(3, 21, 17, 0.3);
  transform: translateY(-5px);
}

.corporate-gallery figure::after,
.space-gallery figure::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(41, 47, 50, 0.28), transparent 50%);
  content: "";
  pointer-events: none;
}

.corporate-gallery .gallery-main {
  grid-column: 1 / 3;
  grid-row: 1;
}

.corporate-gallery img,
.space-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.055);
  transition: transform 600ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.corporate-gallery figure:hover img,
.space-gallery figure:hover img {
  transform: scale(1.1);
}

.corporate-gallery .gallery-main img {
  object-position: 48% center;
}

.gallery-caption {
  position: absolute;
  z-index: 2;
  right: -28px;
  bottom: 44px;
  width: 270px;
  padding: 20px 24px;
  border-left: 3px solid var(--gold);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.35;
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 320ms ease;
}

.corporate-gallery:hover .gallery-caption {
  border-color: var(--gold-light);
  box-shadow: 0 18px 44px rgba(5, 28, 23, 0.2);
  transform: translate(-6px, -5px);
}

.corporate-copy h2 {
  font-size: clamp(45px, 4.4vw, 68px);
}

.corporate-copy h2 em {
  display: inline;
  color: var(--gold-light);
}

.corporate-copy > p:not(.eyebrow) {
  margin: 26px 0 0;
  color: rgba(252, 252, 251, 0.7);
  font-size: 16px;
}

.corporate-offers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 34px 0;
  border-top: 1px solid rgba(252, 252, 251, 0.16);
  border-left: 1px solid rgba(252, 252, 251, 0.16);
}

.corporate-offers > div {
  padding: 18px;
  border-right: 1px solid rgba(252, 252, 251, 0.16);
  border-bottom: 1px solid rgba(252, 252, 251, 0.16);
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    transform 240ms ease;
}

.corporate-offers > div:hover {
  border-color: rgba(165, 201, 187, 0.48);
  background: rgba(165, 201, 187, 0.08);
  transform: translateY(-3px);
}

.corporate-offers span {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 16px;
}

.corporate-offers p {
  margin: 5px 0 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
}

.client-proof {
  margin-top: 82px;
  padding-top: 28px;
  border-top: 1px solid rgba(252, 252, 251, 0.17);
}

.client-proof > p {
  margin: 0 0 22px;
  color: var(--gold-light);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.client-proof > div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 34px;
}

.client-proof span {
  color: rgba(252, 252, 251, 0.56);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  transition:
    color 220ms ease,
    transform 220ms ease;
}

.client-proof span:hover {
  color: var(--gold-light);
  transform: translateY(-2px);
}

.space {
  background: var(--ivory);
}

.space-heading {
  display: grid;
  align-items: end;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  margin-bottom: 54px;
}

.space-heading h2 {
  max-width: 760px;
}

.space-heading > p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 16px;
}

.space-gallery {
  display: grid;
  min-height: 520px;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 14px;
}

.space-gallery figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #d9d0c6;
  box-shadow: 0 16px 35px rgba(53, 47, 38, 0.08);
  transition:
    box-shadow 300ms ease,
    transform 300ms ease;
}

.space-gallery figure:hover {
  z-index: 1;
  box-shadow: 0 30px 62px rgba(53, 47, 38, 0.18);
  transform: translateY(-7px);
}

.space-gallery figcaption {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  left: 17px;
  padding: 7px 11px;
  background: rgba(252, 252, 251, 0.9);
  color: var(--ink);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  transition:
    background-color 240ms ease,
    color 240ms ease,
    transform 240ms ease;
}

.space-gallery figure:hover figcaption {
  background: var(--ink);
  color: var(--paper);
  transform: translate(3px, -3px);
}

.space-gallery img {
  filter: saturate(0.88) contrast(1.02);
}

.values {
  padding: 105px 0;
  background: var(--paper);
}

.values-inner > h2 {
  max-width: 830px;
  margin-bottom: 54px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.value-grid article {
  position: relative;
  padding: 30px 42px 0 0;
  border-right: 1px solid var(--line);
  transition:
    background-color 240ms ease,
    box-shadow 240ms ease,
    transform 240ms ease;
}

.value-grid article:hover {
  z-index: 1;
  background: rgba(112, 150, 169, 0.055);
  box-shadow: 0 20px 44px rgba(47, 39, 28, 0.08);
  transform: translateY(-6px);
}

.value-grid article + article {
  padding-left: 42px;
}

.value-grid article:last-child {
  border-right: 0;
}

.value-grid span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 17px;
}

.value-grid h3 {
  margin: 14px 0 10px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.18;
}

.value-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.faq {
  background: var(--ivory);
}

.faq-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(70px, 10vw, 150px);
}

.faq-intro {
  position: sticky;
  top: 120px;
}

.faq-intro h2 {
  margin-bottom: 25px;
}

.faq-intro > p:not(.eyebrow) {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 16px;
}

.faq-list {
  border-top: 1px solid rgba(51, 51, 51, 0.23);
}

.faq-list details {
  border-bottom: 1px solid rgba(51, 51, 51, 0.23);
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    padding 240ms ease;
}

.faq-list details:hover,
.faq-list details[open] {
  border-color: rgba(112, 150, 169, 0.55);
  background: rgba(252, 252, 251, 0.62);
  padding-inline: 18px;
}

.faq-list summary {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
  transition: color 220ms ease;
}

.faq-list summary:hover,
.faq-list details[open] summary {
  color: var(--gold);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 10px;
  left: 2px;
  width: 18px;
  height: 1px;
  background: var(--gold);
  content: "";
  transition: transform 180ms ease;
}

.faq-list summary span::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: rotate(0);
}

.faq-list details > p {
  max-width: 700px;
  margin: -10px 48px 28px 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 105px 0;
  background: var(--ink-deep);
  color: var(--paper);
  text-align: center;
}

.final-cta::before,
.final-cta::after {
  position: absolute;
  width: 1px;
  height: 100%;
  background: linear-gradient(transparent, rgba(165, 201, 187, 0.25), transparent);
  content: "";
}

.final-cta::before {
  top: 0;
  left: 8%;
}

.final-cta::after {
  top: 0;
  right: 8%;
}

.final-cta__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.2;
}

.final-cta__orb--one {
  top: -170px;
  left: -90px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--blue), transparent 68%);
  animation: final-orb-one 10s ease-in-out infinite alternate;
}

.final-cta__orb--two {
  right: -150px;
  bottom: -180px;
  width: 470px;
  height: 470px;
  background: radial-gradient(circle, var(--violet), transparent 68%);
  animation: final-orb-two 12s ease-in-out infinite alternate;
}

.final-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 900px;
  align-items: center;
  flex-direction: column;
}

.final-cta__inner > img {
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(41, 47, 50, 0.2);
  transition:
    filter 320ms ease,
    transform 520ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.final-cta__inner:hover > img {
  filter: drop-shadow(0 17px 20px rgba(165, 201, 187, 0.22));
  transform: scale(1.05);
}

.final-cta__inner > p:first-of-type {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
}

.final-cta h2 {
  max-width: 860px;
  font-size: clamp(44px, 5vw, 70px);
}

.final-cta__text {
  max-width: 650px;
  margin: 24px auto 0;
  color: rgba(252, 252, 251, 0.68);
  font-size: 15px;
}

.final-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 34px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 10px;
  border-bottom: 1px solid rgba(252, 252, 251, 0.35);
  font-size: 17px;
  font-weight: 600;
  transition:
    border-color 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.social-link:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.social-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.site-footer {
  padding: 74px 0 26px;
  background: #22282b;
  color: rgba(252, 252, 251, 0.64);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.8fr 1.1fr;
  gap: 70px;
}

.brand--footer .brand-logo {
  width: 230px;
  padding: 7px;
  border-radius: 5px;
  background: var(--white);
}

.footer-grid > div:first-child > p {
  max-width: 290px;
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.45;
}

.footer-grid h2 {
  margin: 0 0 19px;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-grid > div:not(:first-child) {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.footer-grid a:not(.brand) {
  margin-bottom: 8px;
  font-size: 11px;
  transition: color 180ms ease;
}

.footer-grid a:not(.brand):hover {
  color: var(--gold-light);
}

.footer-grid > div > p {
  margin: 0 0 7px;
  font-size: 11px;
}

.footer-grid .footer-contact {
  margin-top: 17px;
  color: var(--gold-light);
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid rgba(252, 252, 251, 0.12);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-bottom p {
  margin: 0;
}

.mobile-cta {
  display: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 650ms ease,
    transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.js .reveal--delay,
.js .reveal--delay-sm {
  transition-delay: 90ms;
}

.js .reveal--delay-md {
  transition-delay: 160ms;
}

.js .reveal--delay-lg {
  transition-delay: 230ms;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-line-flow {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 0 100%;
  }
}

@keyframes hero-glow-drift {
  from {
    opacity: 0.82;
    transform: translate3d(0, 0, 0) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translate3d(-22px, 18px, 0) scale(1.04);
  }
}

@keyframes hero-seal-float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

@keyframes final-orb-one {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(35px, 20px, 0) scale(1.1);
  }
}

@keyframes final-orb-two {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(-42px, -24px, 0) scale(1.08);
  }
}

@media (max-width: 1120px) {
  .main-nav {
    gap: 16px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .header-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
    gap: 55px;
  }

  .hero h1 {
    font-size: clamp(54px, 6.7vw, 76px);
  }

  .hero-visual {
    min-height: 600px;
  }

  .editorial-frame {
    height: 570px;
  }

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

  .service-card {
    min-height: 470px;
    border-bottom: 1px solid rgba(252, 252, 251, 0.16);
  }

  .service-card:nth-child(2) {
    border-right: 0;
  }

  .service-card:nth-child(3),
  .service-card:nth-child(4) {
    border-bottom: 0;
  }

  .corporate-gallery {
    min-height: 600px;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 78px;
  }

  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .header-inner {
    min-height: 76px;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    z-index: -1;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    min-height: 100vh;
    height: 100dvh;
    padding:
      max(96px, calc(76px + env(safe-area-inset-top)))
      24px
      max(32px, env(safe-area-inset-bottom));
    background: var(--paper);
    opacity: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: none;
    transform: translateY(-16px);
    visibility: hidden;
    -webkit-overflow-scrolling: touch;
    transition:
      opacity 200ms ease,
      transform 200ms ease,
      visibility 0s linear 200ms;
  }

  .main-nav a {
    width: min(100%, 420px);
    padding: 12px 8px;
    font-family: var(--serif);
    font-size: clamp(25px, 7vw, 36px);
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
  }

  .main-nav.is-open {
    z-index: 99;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
    transition:
      opacity 200ms ease,
      transform 200ms ease,
      visibility 0s;
  }

  .menu-toggle {
    position: relative;
    z-index: 100;
  }

  .site-header.is-menu-open {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .hero {
    min-height: 0;
    padding: 125px 0 65px;
  }

  .hero-grid,
  .about-grid,
  .neuro-grid,
  .corporate-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 50px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    width: min(100%, 610px);
    min-height: 640px;
    margin: 0 auto;
  }

  .editorial-frame {
    width: 88%;
    height: 600px;
  }

  .hero-seal {
    left: 0;
  }

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

  .trust-grid > div {
    padding: 20px;
    border-bottom: 1px solid rgba(112, 150, 169, 0.24);
  }

  .trust-grid > div:first-child {
    padding-left: 20px;
  }

  .trust-grid > div:nth-child(2) {
    border-right: 0;
  }

  .trust-grid > div:nth-child(3),
  .trust-grid > div:nth-child(4) {
    border-bottom: 0;
  }

  .section {
    padding: 92px 0;
  }

  .about-grid {
    gap: 70px;
  }

  .about-visual {
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .about-copy {
    max-width: 700px;
  }

  .section-heading,
  .space-heading,
  .team-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-heading > p,
  .space-heading > p,
  .team-heading > p {
    max-width: 620px;
  }

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

  .team-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  }

  .team-photo {
    min-height: 470px;
    aspect-ratio: auto;
  }

  .neuro-grid {
    gap: 60px;
  }

  .process-list {
    max-width: 650px;
  }

  .corporate-grid {
    gap: 65px;
  }

  .corporate-gallery {
    width: min(100%, 700px);
  }

  .corporate-copy {
    max-width: 740px;
  }

  .space-gallery {
    min-height: 680px;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: 1fr 1fr;
  }

  .space-gallery__wide {
    grid-row: 1 / 3;
  }

  .faq-grid {
    gap: 55px;
  }

  .faq-intro {
    position: static;
    max-width: 600px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 50px;
  }

  .footer-grid > div:last-child {
    grid-column: 2 / 4;
  }
}

@media (max-width: 900px) and (max-height: 520px) {
  .main-nav {
    padding-top: max(76px, calc(66px + env(safe-area-inset-top)));
    padding-bottom: max(18px, env(safe-area-inset-bottom));
  }

  .main-nav a {
    padding-block: 8px;
    font-size: 24px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 62px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    background: rgba(252, 252, 251, 0.98);
    backdrop-filter: none;
  }

  .site-header.is-scrolled {
    backdrop-filter: none;
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-logo {
    width: 158px;
  }

  .hero {
    padding-top: 110px;
  }

  .hero::before {
    top: 84px;
    left: 8px;
    height: calc(100% - 124px);
  }

  .hero::after {
    left: 5px;
  }

  .hero-copy::after {
    top: -24px;
    left: -8px;
    width: 58px;
    height: 58px;
  }

  .eyebrow {
    align-items: flex-start;
    font-size: 9px;
  }

  .eyebrow > span {
    flex: 0 0 28px;
    margin-top: 6px;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 64px);
    line-height: 0.94;
  }

  .hero-lead {
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.75;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    align-self: center;
  }

  .hero-modes {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual {
    min-height: 510px;
  }

  .editorial-frame {
    width: 93%;
    height: 485px;
    border-radius: 210px 210px 14px 14px;
  }

  .editorial-frame img {
    object-position: center 22%;
  }

  .hero-signature {
    right: -2px;
    bottom: 0;
    width: 80%;
    padding: 16px 18px;
  }

  .hero-signature strong {
    font-size: 25px;
  }

  .hero-seal {
    bottom: 34px;
    width: 88px;
    height: 88px;
    font-size: 5.5px;
  }

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

  .trust-grid > div,
  .trust-grid > div:first-child {
    padding: 17px 4px;
    border-right: 0;
    border-bottom: 1px solid rgba(112, 150, 169, 0.24);
  }

  .trust-grid > div:nth-child(3) {
    border-bottom: 1px solid rgba(112, 150, 169, 0.24);
  }

  .trust-grid > div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 76px 0;
  }

  .section h2 {
    font-size: clamp(42px, 12vw, 56px);
    line-height: 0.98;
  }

  .about-grid {
    gap: 58px;
  }

  .about-visual {
    min-height: 560px;
  }

  .about-photo {
    width: 89%;
    height: 520px;
    border-radius: 190px 190px 8px 8px;
  }

  .about-visual::after {
    height: 480px;
  }

  .about-note {
    width: 76%;
    padding: 22px;
  }

  .about-note p {
    font-size: 17px;
  }

  .about-copy .lead {
    font-size: 22px;
  }

  .credentials article {
    grid-template-columns: 36px 1fr;
    gap: 17px;
  }

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

  .service-card {
    min-height: 0;
    padding: 30px 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(252, 252, 251, 0.16);
  }

  .service-card:nth-child(3) {
    border-bottom: 1px solid rgba(252, 252, 251, 0.16);
  }

  .service-card h3 {
    min-height: 0;
    font-size: 29px;
  }

  .service-card > a {
    margin-top: 22px;
  }

  .team-card {
    display: flex;
  }

  .team-photo {
    min-height: 0;
    aspect-ratio: 4 / 4.35;
  }

  .team-card__body {
    padding: 26px 24px 28px;
  }

  .team-guidance {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .process-list li {
    grid-template-columns: 50px 1fr;
    gap: 16px;
  }

  .process-list::before {
    left: 24px;
  }

  .process-list span {
    width: 50px;
    height: 50px;
  }

  .corporate-gallery {
    min-height: 520px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.2fr 0.8fr;
  }

  .corporate-gallery .gallery-main {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .gallery-caption {
    right: 17px;
    bottom: 17px;
    width: min(82%, 260px);
  }

  .corporate-offers {
    grid-template-columns: 1fr;
  }

  .client-proof {
    margin-top: 60px;
  }

  .client-proof > div {
    gap: 11px 22px;
  }

  .client-proof span {
    font-size: 16px;
  }

  .space-gallery {
    min-height: 890px;
    grid-template-columns: 1fr;
    grid-template-rows: 1.2fr 1fr 1fr;
  }

  .space-gallery__wide {
    grid-row: auto;
  }

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

  .value-grid article,
  .value-grid article + article {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .value-grid article:last-child {
    border-bottom: 0;
  }

  .faq-list summary {
    min-height: 84px;
    font-size: 20px;
  }

  .faq-list details > p {
    margin-right: 0;
    font-size: 14px;
  }

  .final-cta {
    padding: 82px 0;
  }

  .final-cta h2 {
    font-size: clamp(41px, 12vw, 56px);
  }

  .final-cta__actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .social-link {
    align-self: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px 25px;
  }

  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    grid-column: 1 / 3;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .mobile-cta {
    position: fixed;
    z-index: 90;
    right: 10px;
    bottom: 9px;
    left: 10px;
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 17px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    background: var(--ink);
    box-shadow: 0 10px 35px rgba(41, 47, 50, 0.32);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
