/* ─── Ekatra Design System ─────────────────────────────────────────── */
:root {
  --base: #8a8a8a;
  --base-light: #b5b5b5;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --bg: #faf9f7;
  --bg-warm: #f3f0eb;
  --bg-dark: #0d0d0d;
  --white: #ffffff;

  --mind: #6b7d8f;
  --mind-light: rgba(107, 125, 143, 0.12);
  --body: #c49a7a;
  --body-light: rgba(196, 154, 122, 0.14);
  --brain: #2e2a4a;
  --brain-light: rgba(46, 42, 74, 0.1);

  --sage: #8da399;
  --peach: #ebb08c;
  --navy: #2e3192;

  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans: "DM Sans", system-ui, sans-serif;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --header-h: 5rem;
}

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

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

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ─── Typography ───────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--base);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-top: 0.75rem;
}

.logo-img {
  border-radius: 2px;
}

/* ─── Layout utilities ─────────────────────────────────────────────── */
.container {
  width: min(92%, 72rem);
  margin-inline: auto;
}

.container--wide {
  width: min(96%, 90rem);
}

/* ─── Header ───────────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.header.is-scrolled {
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header__inner {
  width: min(96%, 90rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo img {
  height: 2.25rem;
  width: auto;
  transition: opacity 0.3s;
  border-radius: 3px;
}

.header__logo:hover img {
  opacity: 0.8;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__list {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav__link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s;
}

.nav__link:hover {
  color: var(--text);
}

.nav__cta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  background: var(--text);
  color: var(--white);
  transition: background 0.3s, transform 0.2s;
}

.nav__cta:hover {
  background: var(--brain);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ─── Hero ─────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: var(--header-h);
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 4rem 4rem max(4vw, 2rem);
}

.hero__logo {
  max-width: 18rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.2s forwards;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--text);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.4s forwards;
}

.hero__title em {
  font-style: italic;
  color: var(--base);
}

.hero__lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 28rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.55s forwards;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.7s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 1.75rem;
  transition: all 0.3s var(--ease);
}

.btn--primary {
  background: var(--text);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--brain);
}

.btn--ghost {
  border: 1px solid var(--base-light);
  color: var(--text-muted);
}

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

.hero__visual {
  position: relative;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__visual-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.hero__tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: transform 0.6s var(--ease);
  position: relative;
  overflow: hidden;
}

.hero__tile::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s;
}

.hero__tile:hover::before {
  opacity: 1;
}

.hero__tile--mind {
  background: var(--mind);
}

.hero__tile--mind::before {
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.25));
}

.hero__tile--body {
  background: var(--body);
}

.hero__tile--body::before {
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.2));
}

.hero__tile--brain {
  background: var(--brain);
  grid-column: span 2;
}

.hero__tile--brain::before {
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.35));
}

.hero__tile-label {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.hero__tile-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.35rem;
  position: relative;
  z-index: 1;
  max-width: 20rem;
}

.hero__tile-dot {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

/* ─── Intro strip ──────────────────────────────────────────────────── */
.intro {
  padding: 6rem 0;
  text-align: center;
}

.intro__text {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--text);
  max-width: 42rem;
  margin-inline: auto;
  line-height: 1.45;
}

.intro__text span {
  color: var(--base);
}

/* ─── Pillars (Porsche-style tiles) ────────────────────────────────── */
.pillars {
  padding-bottom: 6rem;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  min-height: 32rem;
}

.pillar {
  position: relative;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 28rem;
  overflow: hidden;
  cursor: default;
  transition: flex 0.6s var(--ease);
}

.pillar__number {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  opacity: 0.15;
  color: currentColor;
}

.pillar__content {
  position: relative;
  z-index: 2;
}

.pillar__title {
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.pillar__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 22rem;
  opacity: 0.85;
}

.pillar__accent {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  margin-bottom: 2rem;
}

.pillar--mind {
  background: var(--mind-light);
  color: var(--mind);
}

.pillar--mind .pillar__accent {
  background: var(--mind);
}

.pillar--body {
  background: var(--body-light);
  color: #8b6b52;
}

.pillar--body .pillar__accent {
  background: var(--body);
}

.pillar--brain {
  background: var(--brain-light);
  color: var(--brain);
}

.pillar--brain .pillar__accent {
  background: var(--brain);
}

.pillar:hover {
  z-index: 2;
}

.pillar--mind:hover {
  background: var(--mind);
  color: var(--white);
}

.pillar--mind:hover .pillar__accent {
  background: rgba(255, 255, 255, 0.3);
}

.pillar--body:hover {
  background: var(--body);
  color: var(--white);
}

.pillar--body:hover .pillar__accent {
  background: rgba(255, 255, 255, 0.3);
}

.pillar--brain:hover {
  background: var(--brain);
  color: var(--white);
}

.pillar--brain:hover .pillar__accent {
  background: rgba(255, 255, 255, 0.3);
}

/* ─── Team ─────────────────────────────────────────────────────────── */
.team {
  background: var(--bg);
  padding-bottom: 0;
}

.team__intro {
  padding: 6rem 0 3rem;
}

.team__intro-text {
  color: var(--text-muted);
  max-width: 36rem;
  margin-top: 1.25rem;
  line-height: 1.7;
}

.team-lead {
  margin-bottom: 0;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 0 auto 6rem;
}

.team-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: background 0.35s var(--ease);
}

.team-card:hover {
  background: var(--bg);
}

.team-card__media {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
}

.team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s var(--ease);
}

.team-card:hover .team-card__media img {
  transform: scale(1.03);
}

.team-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card__placeholder::after {
  content: "";
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  opacity: 0.6;
}

.team-card--mind .team-card__placeholder {
  background: linear-gradient(165deg, var(--mind) 0%, #4a5d6e 100%);
}

.team-card--body .team-card__placeholder {
  background: linear-gradient(165deg, var(--body) 0%, #9a7558 100%);
}

.team-card__body {
  padding: 2rem 2.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.team-card__badge {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--base);
  margin-bottom: 0.65rem;
}

.team-card__name {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.team-card__role {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1rem;
}

.team-card__bio {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.team-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin-top: 1.25rem;
}

.team-card__tag {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  background: var(--bg-warm);
  color: var(--text-muted);
}

.team-card__link {
  margin-top: 1.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brain);
  transition: opacity 0.25s;
}

.team-card__link:hover {
  opacity: 0.65;
}

.team-card__more {
  margin: 0.5rem 0 0;
  border-top: 1px solid var(--bg-warm);
}

.team-card__more summary {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mind);
  cursor: pointer;
  padding: 1rem 0 0.5rem;
  list-style: none;
}

.team-card--body .team-card__more summary {
  color: #8b6b52;
}

.team-card__more summary::-webkit-details-marker {
  display: none;
}

.team-card__more summary::after {
  content: " +";
  font-weight: 400;
}

.team-card__more[open] summary::after {
  content: " −";
}

.team-card__more-content {
  padding-bottom: 0.5rem;
}

.team-card__more-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.team-card__personal {
  font-style: italic;
  color: var(--base) !important;
}

.team-card--mind .team-card__media img {
  object-position: center 15%;
}

/* ─── About (director profile) ─────────────────────────────────────── */
.about {
  display: grid;
  grid-template-columns: minmax(16rem, 2fr) 3fr;
  min-height: 36rem;
  align-items: stretch;
}

.about__image {
  background: var(--bg-warm);
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  min-height: 100%;
}

.about__image .about__portrait {
  max-width: none;
  height: 100%;
  min-height: 28rem;
}

.about__portrait {
  width: 100%;
  max-width: 22rem;
  margin: 0;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-warm);
}

.about__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 4rem 4rem 3rem;
  background: var(--white);
}

.about__content h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1.5rem;
}

.about__content p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: 36rem;
}

.about__role {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text) !important;
  margin-top: -0.5rem;
  margin-bottom: 1.75rem !important;
  letter-spacing: 0.01em;
}

.about__role-note {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--base);
  margin-top: 0.25rem;
}

.about__tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem) !important;
  font-style: italic;
  color: var(--brain) !important;
  margin-top: 0.5rem !important;
  margin-bottom: 0 !important;
  letter-spacing: 0.02em;
}

.about__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--bg-warm);
}

.credential {
  flex: 1;
  min-width: 8rem;
}

.credential__value {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text);
  line-height: 1;
}

.credential__label {
  font-size: 0.75rem;
  color: var(--base);
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
}

/* ─── Services tiles ───────────────────────────────────────────────── */
.services {
  padding: 6rem 0;
  background: var(--bg-dark);
  color: var(--white);
}

.services__header {
  margin-bottom: 3rem;
}

.services__header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-top: 0.75rem;
}

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

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.service-tile {
  background: var(--bg-dark);
  padding: 2.5rem;
  min-height: 14rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.service-tile::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  transition: width 0.5s var(--ease);
}

.service-tile:hover {
  background: #161616;
}

.service-tile--mind::after { background: var(--mind); }
.service-tile--body::after { background: var(--body); }
.service-tile--brain::after { background: var(--brain); }
.service-tile--integrative::after { background: var(--sage); }

.service-tile:hover::after {
  width: 100%;
}

.service-tile__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.service-tile--mind .service-tile__icon { background: var(--mind); }
.service-tile--body .service-tile__icon { background: var(--body); }
.service-tile--brain .service-tile__icon { background: var(--brain); }
.service-tile--integrative .service-tile__icon { background: var(--sage); }

.service-tile h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-tile p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  max-width: 24rem;
}

.service-tile__arrow {
  align-self: flex-end;
  font-size: 1.25rem;
  opacity: 0.3;
  transition: opacity 0.3s, transform 0.3s;
}

.service-tile:hover .service-tile__arrow {
  opacity: 1;
  transform: translate(4px, -4px);
}

/* ─── Process ──────────────────────────────────────────────────────── */
.process {
  padding: 6rem 0;
}

.process__header {
  text-align: center;
  margin-bottom: 4rem;
}

.process__header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-top: 0.75rem;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.step {
  text-align: center;
  padding: 2rem 1rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

.step__num {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--base-light);
  line-height: 1;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.step p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ─── Quote / emotional address ────────────────────────────────────── */
.quote-section {
  padding: 8rem 0;
  background: var(--bg-warm);
  text-align: center;
}

.quote-section blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-style: italic;
  color: var(--text);
  max-width: 48rem;
  margin-inline: auto;
  line-height: 1.4;
}

.quote-section cite {
  display: block;
  margin-top: 2rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-style: normal;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--base);
}

/* ─── Contact ──────────────────────────────────────────────────────── */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact__info {
  padding: 5rem 4rem;
  background: var(--brain);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact__info h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.contact__info > p {
  opacity: 0.75;
  margin-bottom: 2.5rem;
  max-width: 24rem;
}

.contact__details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact__details li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact__details strong {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.5;
  font-weight: 500;
}

.contact__details a,
.contact__details span {
  font-size: 1rem;
  transition: opacity 0.25s;
}

.contact__details a:hover {
  opacity: 0.7;
}

.contact__form-wrap {
  padding: 5rem 4rem;
  background: var(--white);
}

.contact__form-wrap h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--base);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 0;
  border: none;
  border-bottom: 1px solid var(--base-light);
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--text);
}

.form-group textarea {
  resize: vertical;
  min-height: 5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-submit {
  margin-top: 1rem;
}

.form-note {
  font-size: 0.75rem;
  color: var(--base);
  margin-top: 1rem;
}

/* ─── Footer ───────────────────────────────────────────────────────── */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__logo img {
  height: 1.75rem;
  opacity: 0.7;
}

.footer__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--base);
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--base);
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer__links a {
  font-size: 0.75rem;
  color: var(--base);
  transition: color 0.25s;
}

.footer__links a:hover {
  color: var(--text);
}

/* ─── Animations ───────────────────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* ─── Mobile menu overlay ──────────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-nav.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text);
}

/* ─── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 24rem;
  }

  .hero__content {
    padding: 3rem 2rem;
    text-align: center;
    align-items: center;
  }

  .hero__lead {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

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

  .pillar {
    min-height: auto;
    padding: 2.5rem;
  }

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

  .team__intro {
    padding: 4rem 0 2rem;
  }

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

  .about__image .about__portrait {
    max-width: 18rem;
    margin-inline: auto;
    min-height: auto;
    aspect-ratio: 4/5;
  }

  .about__image {
    padding: 2.5rem 2rem 0;
    align-items: center;
  }

  .about__content {
    padding: 3rem 2rem;
  }

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

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

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

  .contact__info,
  .contact__form-wrap {
    padding: 3rem 2rem;
  }
}

@media (max-width: 768px) {
  .nav__list,
  .nav__cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
