/* =========================================================
   IRINKA — interior pages
   ========================================================= */

.page {
  background:
    radial-gradient(ellipse at 88% 2%, rgba(178, 214, 233, 0.64), transparent 32%),
    radial-gradient(ellipse at 6% 42%, rgba(166, 204, 237, 0.5), transparent 37%),
    linear-gradient(148deg, #eef5fa 0%, #eaf2f8 48%, #e4eff7 100%);
}

.page main {
  overflow: hidden;
}

.page-hero {
  position: relative;
  padding: clamp(40px, 5.4vw, 72px) 0 clamp(58px, 7.5vw, 96px);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 8%;
  right: -14%;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(47, 118, 155, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: 25%;
  right: -4%;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(47, 118, 155, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}





.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.45fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: end;
}

.page-title {
  max-width: 1000px;
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 87px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.94;
  text-wrap: balance;
}

.page-title em {
  color: var(--accent);
  font-style: normal;
}

.page-hero__lead {
  max-width: 590px;
  margin-top: 27px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  text-wrap: pretty;
}

.page-hero__panel {
  position: relative;
  overflow: hidden;
  padding: 23px;
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: var(--glass-shadow);
}

.page-hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.42), transparent 44%);
  pointer-events: none;
}

.page-panel__eyebrow {
  position: relative;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.page-panel__row {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
}

.page-panel__row span {
  color: var(--muted);
  font-size: 9.5px;
}

.page-panel__row strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  text-align: right;
}

.page-panel__note {
  position: relative;
  margin-top: 17px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.page-section {
  position: relative;
  padding-block: clamp(72px, 8.5vw, 118px);
  border-top: 1px solid var(--line);
}

.page-section--plain {
  border-top: 0;
}

.page-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.42fr);
  gap: 44px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 58px);
}

.page-section__head .display {
  max-width: 820px;
}

.page-section__note {
  max-width: 340px;
  padding-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.editorial {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
}

.editorial--reverse {
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
}

.editorial__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.82;
  border-radius: 24px;
  background: var(--bg-deep);
  box-shadow: var(--shadow-soft);
}

.editorial__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.editorial__media:hover img {
  transform: scale(1.035);
}

.editorial__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(17, 39, 53, 0.4));
  pointer-events: none;
}

.editorial__caption {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 1;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.15;
}

.editorial__body h2 {
  margin-bottom: 25px;
}

.editorial__body > p {
  max-width: 530px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.editorial__body > p + p {
  margin-top: 14px;
}

.editorial__quote {
  margin-top: 33px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(25px, 2.4vw, 33px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.editorial__quote small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.principle-card {
  position: relative;
  min-height: 0;
  padding: 23px;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  backdrop-filter: blur(20px) saturate(1.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 40px rgba(28, 67, 87, 0.07);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}

.principle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow);
}


.principle-card__signal {
  width: 35px;
  height: 35px;
  margin-bottom: 22px;
  background: rgba(247, 251, 253, 0.72);
}

.principle-card h3 {
  margin-top: 0;
  font-family: var(--serif);
  font-size: clamp(24px, 2.2vw, 31px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.principle-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}

.statement {
  max-width: 950px;
  font-family: var(--serif);
  font-size: clamp(26px, 3.38vw, 47px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.statement em {
  color: var(--accent);
  font-style: normal;
}

.statement-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.statement-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.statement-meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  counter-reset: steps;
}

.step-card {
  position: relative;
  padding: 23px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.step-card__icon {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  place-items: center;
}

.step-card__icon .icon {
  width: 15px;
  height: 15px;
}

.step-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.step-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.page-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 5.5vw, 72px);
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(47, 118, 155, 0.34), transparent 46%),
    var(--ink);
  color: var(--cream);
}

.page-cta::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -220px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(248, 251, 253, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.page-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 45px;
}

.page-cta .display {
  max-width: 760px;
}

.page-cta__side {
  flex: 0 0 auto;
  max-width: 290px;
}

.page-cta__side p {
  margin-bottom: 20px;
  color: rgba(248, 251, 253, 0.54);
  font-size: 11.5px;
  line-height: 1.65;
}

.page-cta .btn--accent {
  background: var(--accent-soft);
  color: var(--ink);
}

.page-cta .btn--accent:hover {
  background: var(--cream);
}

/* Services interior page */
.page-services .services__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-services .service-card {
  min-height: 430px;
}

.page-services .service-card__body h3 {
  font-size: 36px;
}

.page-services .services__intro {
  display: none;
}

.page-services .services {
  padding-block: clamp(60px, 7vw, 92px);
}


/* Team interior page */
.page-team .team-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.page-team .team-detail {
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(247, 251, 253, 0.5);
}

.page-team .team-detail__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.page-team .team-detail h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.page-team .team-detail__role {
  margin-top: 8px;
  color: var(--accent);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-team .team-detail__text {
  max-width: 460px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

.page-team .team-detail__facts {
  display: grid;
  gap: 0;
  margin-top: 25px;
  border-top: 1px solid var(--line);
}

.page-team .team-detail__facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
}

.page-team .team-detail__facts span {
  color: var(--muted);
}

.page-team .team-detail__facts strong {
  font-weight: 500;
  text-align: right;
}

/* Space interior page */
.page-space .gallery-section {
  padding-block: clamp(72px, 8vw, 115px);
}

.page-space .gallery__intro {
  display: none;
}

.page-space .gallery__grid {
  grid-auto-rows: 275px;
}

.space-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.space-fact {
  padding: 22px;
  border: 1px solid var(--glass-border);
  border-radius: 17px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.space-fact strong {
  display: block;
  margin-bottom: 9px;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.space-fact p {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.6;
}

/* Contacts interior page */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: stretch;
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: clamp(25px, 3.3vw, 40px);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  backdrop-filter: blur(20px) saturate(1.35);
  box-shadow: var(--glass-shadow);
}

.contact-card__eyebrow {
  margin-bottom: 27px;
  color: var(--accent);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-card h2 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.contact-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.contact-lines {
  display: grid;
  gap: 0;
  margin-top: 27px;
  border-top: 1px solid var(--line);
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px;
}

.contact-line .icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.contact-line span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.03em;
}

.contact-card .btn {
  width: fit-content;
  margin-top: 26px;
}

.contact-map {
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  background: var(--bg-deep);
  box-shadow: var(--shadow-soft);
}

.contact-map .map {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.contact-map .map__svg {
  aspect-ratio: 1.25;
}

.contact-map__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px;
  background: rgba(247, 251, 253, 0.72);
}

.contact-map__foot p {
  color: var(--muted);
  font-size: 10px;
}

.contact-map__foot a {
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  border-bottom: 1px solid var(--line-strong);
}

.visit-note {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.visit-note div {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(247, 251, 253, 0.48);
}

.visit-note strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.visit-note p {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .page-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(235px, 0.45fr);
    gap: 40px;
  }

  .page-title {
    font-size: clamp(57px, 8.8vw, 92px);
  }

  .page-services .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-grid {
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  }
}

@media (max-width: 800px) {
  .page-hero {
    padding: 26px 0 54px;
  }


  .page-hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-title {
    font-size: clamp(48px, 12vw, 82px);
  }

  .page-hero__lead {
    margin-top: 20px;
    font-size: 12.5px;
  }

  .page-hero__panel {
    width: min(100%, 460px);
  }

  .page-section {
    padding-block: 65px;
  }

  .page-section__head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 33px;
  }

  .page-section__note {
    padding-bottom: 0;
  }

  .editorial,
  .editorial--reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .editorial--reverse .editorial__media {
    order: 2;
  }

  .editorial__media {
    width: min(100%, 480px);
    aspect-ratio: 0.9;
  }

  .editorial__body h2 {
    margin-bottom: 18px;
  }

  .principles-grid,
  .steps,
  .space-facts {
    grid-template-columns: 1fr;
  }

  .principle-card {
    min-height: 230px;
  }

  .principle-card h3 {
    margin-top: 28px;
  }

  .page-services .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-cta {
    padding: 29px;
  }

  .page-cta__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .page-cta__side {
    max-width: 420px;
  }

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

  .contact-card {
    padding: 24px;
  }

  .contact-map .map__svg {
    aspect-ratio: 1.2;
  }

  .visit-note {
    grid-template-columns: 1fr;
  }

  .page-space .gallery__grid {
    grid-auto-rows: 220px;
  }

  .page-services .service-card__body h3 {
    font-size: 32px;
  }
}

@media (max-width: 560px) {
  .page-title {
    font-size: clamp(46px, 13vw, 67px);
  }

  .page-hero__lead {
    font-size: 12px;
  }

  .page-section {
    padding-block: 56px;
  }

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

  .page-services .service-card {
    min-height: 0;
  }

  .page-services .service-card__body h3 {
    font-size: 27px;
  }

  .page-team .team-detail {
    padding: 22px;
  }

  .page-team .team-detail h2 {
    font-size: 37px;
  }

  .page-cta {
    padding: 24px;
    border-radius: 19px;
  }

  .contact-card .btn {
    width: 100%;
    justify-content: space-between;
  }

  .contact-map__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }

  .space-facts {
    gap: 8px;
  }

  .space-fact {
    padding: 18px;
  }
}

@media (max-width: 800px) {
  .page-space .gallery-section {
    padding-block: 46px;
  }

  .page-space .gallery__grid {
    grid-auto-rows: 160px;
  }
}

/* =========================================================
   Mobile readability for interior pages
   ========================================================= */
@media (max-width: 800px) {
  .page-hero {
    padding: 18px 0 34px;
  }

  .page-hero__grid {
    gap: 18px;
  }

  .page-title {
    font-size: clamp(32px, 8.6vw, 38px);
    line-height: 1.02;
  }

  .page-hero__lead {
    margin-top: 13px;
    font-size: 13.5px;
    line-height: 1.55;
  }

  .page-hero__panel {
    padding: 15px;
    border-radius: 15px;
  }

  .page-panel__eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
    line-height: 1.3;
  }

  .page-panel__row {
    gap: 12px;
    padding-block: 9px;
  }

  .page-panel__row span {
    font-size: 11.5px;
    line-height: 1.4;
  }

  .page-panel__row strong {
    font-size: 14px;
    line-height: 1.3;
  }

  .page-panel__note {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.5;
  }

  .page-section {
    padding-block: 42px;
  }

  .page-section__head {
    gap: 14px;
    margin-bottom: 20px;
  }

  .page-section__note {
    max-width: none;
    padding: 14px 16px 14px 20px;
    font-size: 13.5px;
    line-height: 1.55;
  }

  .editorial {
    gap: 22px;
  }

  .editorial__media {
    aspect-ratio: 1.2;
  }

  .editorial__body h2 {
    margin-bottom: 14px;
  }

  .editorial__body > p {
    font-size: 13px;
    line-height: 1.6;
  }

  .editorial__quote {
    margin-top: 20px;
    padding-top: 16px;
    font-size: 22px;
    line-height: 1.2;
  }

  .editorial__quote small {
    margin-top: 9px;
    font-size: 11px;
    line-height: 1.45;
  }

  .statement {
    font-size: clamp(25px, 6.4vw, 29px);
    line-height: 1.15;
  }

  .statement-meta {
    gap: 8px 15px;
    margin-top: 18px;
    font-size: 11px;
    line-height: 1.45;
  }

  .principles-grid {
    gap: 8px;
  }

  .principle-card {
    min-height: 0;
    padding: 16px;
    border-radius: 15px;
  }

  .principle-card h3 {
    margin-top: 0;
    font-size: 22px;
    line-height: 1.12;
  }

  .principle-card p {
    margin-top: 8px;
    font-size: 12.5px;
    line-height: 1.55;
  }

  .steps {
    gap: 8px;
  }

  .step-card {
    padding: 16px;
    border-radius: 15px;
  }

  .step-card__icon {
    width: 34px;
    height: 34px;
    margin-bottom: 28px;
  }

  .step-card h3 {
    font-size: 22px;
    line-height: 1.12;
  }

  .step-card p {
    margin-top: 7px;
    font-size: 12.5px;
    line-height: 1.5;
  }

  .page-cta {
    padding: 20px;
    border-radius: 15px;
  }

  .page-cta__inner {
    gap: 16px;
  }

  .page-cta__side p {
    margin-bottom: 13px;
    font-size: 12.5px;
    line-height: 1.5;
  }

  .page-cta__side .btn {
    min-height: 48px;
    font-size: 13px;
  }

  .contact-grid {
    gap: 12px;
  }

  .contact-card {
    padding: 17px;
    border-radius: 15px;
  }

  .contact-card__eyebrow {
    margin-bottom: 15px;
    font-size: 11px;
    line-height: 1.3;
  }

  .contact-card h2 {
    margin-bottom: 9px;
    font-size: 28px;
    line-height: 1.1;
  }

  .contact-card p {
    font-size: 13px;
    line-height: 1.55;
  }

  .contact-lines {
    margin-top: 15px;
  }

  .contact-line {
    padding-block: 10px;
    font-size: 12.5px;
    line-height: 1.45;
  }

  .contact-line span {
    font-size: 11px;
  }

  .contact-card .btn {
    min-height: 48px;
    margin-top: 15px;
    font-size: 12.5px;
  }

  .contact-map .map__svg {
    aspect-ratio: 1.35;
  }

  .contact-map__foot {
    padding: 11px 13px;
  }

  .contact-map__foot p,
  .contact-map__foot a {
    font-size: 11px;
    line-height: 1.5;
  }

  .visit-note {
    gap: 7px;
    margin-top: 14px;
  }

  .visit-note div {
    padding: 13px;
  }

  .visit-note strong {
    font-size: 16px;
  }

  .visit-note p {
    font-size: 12px;
    line-height: 1.5;
  }

  .team-detail {
    padding: 18px;
  }

  .team-detail h2 {
    font-size: 27px;
    line-height: 1.1;
  }

  .team-detail__role {
    margin-top: 5px;
    font-size: 11px;
    line-height: 1.35;
  }

  .team-detail__text {
    font-size: 13px;
    line-height: 1.55;
  }

  .team-detail__facts {
    margin-top: 15px;
  }

  .team-detail__facts div {
    padding-block: 8px;
    font-size: 11px;
    line-height: 1.4;
  }

  .space-facts {
    gap: 8px;
  }

  .space-fact {
    padding: 14px;
  }

  .space-fact strong {
    font-size: 20px;
  }

  .space-fact p {
    font-size: 12px;
    line-height: 1.5;
  }

  .page-space .gallery__grid {
    grid-auto-rows: 150px;
  }

  .principle-card__signal {
    width: 30px;
    height: 30px;
    margin-bottom: 16px;
  }

  .page-team .team-detail__role {
    font-size: 11px;
    line-height: 1.4;
  }

  .page-team .team-detail__facts div {
    font-size: 11px;
    line-height: 1.5;
  }

  .page-team .team-detail__facts span,
  .page-team .team-detail__facts strong {
    font-size: 11.5px;
    line-height: 1.45;
  }
}

/* Give the philosophy and team pages their own editorial hero structure. */
@media (min-width: 801px) {
  .page-philosophy .page-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    align-items: start;
  }

  .page-philosophy .page-title {
    max-width: 920px;
  }

  .page-philosophy .page-hero__panel {
    display: grid;
    grid-template-columns: auto repeat(3, minmax(0, 1fr));
    gap: 0 22px;
    align-items: start;
    overflow: visible;
    padding: 18px 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .page-philosophy .page-hero__panel::before {
    display: none;
  }

  .page-philosophy .page-panel__eyebrow {
    margin: 4px 0 0;
    font-size: 11px;
  }

  .page-philosophy .page-panel__row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 0 0 0 20px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .page-philosophy .page-panel__row span {
    font-size: 11px;
  }

  .page-philosophy .page-panel__row strong {
    font-size: 18px;
    text-align: left;
  }

  .page-philosophy .page-panel__note {
    grid-column: 1 / -1;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-size: 12px;
  }

  .page-team .page-hero__panel {
    overflow: visible;
    padding: 8px 0 8px 26px;
    border: 0;
    border-left: 1px solid var(--line-strong);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .page-team .page-hero__panel::before {
    display: none;
  }

  .page-team .page-panel__eyebrow {
    margin-bottom: 16px;
    font-size: 11px;
  }

  .page-team .page-panel__row {
    padding-block: 11px;
    border-top-color: rgba(24, 44, 58, 0.12);
  }

  .page-team .page-panel__row span {
    font-size: 11.5px;
  }

  .page-team .page-panel__note {
    font-size: 11.5px;
  }
}



@media (max-width: 800px) {
  /* Each interior page gets a different hero rhythm. */
  .page-philosophy .page-hero__panel {
    padding: 14px 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .page-philosophy .page-hero__panel::before {
    display: none;
  }

  .page-team .page-hero__panel {
    padding: 4px 0 4px 18px;
    overflow: visible;
    border: 0;
    border-left: 1px solid var(--line-strong);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .page-team .page-hero__panel::before {
    display: none;
  }

  .page-team .page-panel__eyebrow {
    margin-bottom: 14px;
  }
}

/* Page section notes become editorial decks, not floating cards. */
.page-section__note {
  max-width: 360px;
  padding: 0 0 0 15px;
  border-left: 1px solid var(--accent);
  color: var(--ink-muted);
  font-size: 12.5px;
  line-height: 1.65;
}

@media (max-width: 800px) {
  .page-section__note {
    max-width: none;
    padding: 0 0 0 14px;
    border: 0;
    border-left: 1px solid var(--accent);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 13.5px;
    line-height: 1.55;
  }
}

@media (min-width: 801px) {
  .page-hero {
    padding-bottom: clamp(48px, 5.5vw, 72px);
  }

  .page-section {
    padding-block: clamp(64px, 7vw, 96px);
  }

  .page-philosophy .page-hero {
    padding-bottom: 42px;
  }

  .page-philosophy .page-section {
    padding-top: 64px;
  }
}

/* Additional 15% tighter vertical rhythm on interior pages. */
.page-section {
  padding-block: clamp(41px, 4.46vw, 61px);
}

@media (min-width: 801px) {
  .page-hero {
    padding-bottom: clamp(31px, 3.49vw, 46px);
  }

  .page-philosophy .page-hero {
    padding-bottom: 27px;
  }

  .page-philosophy .page-section {
    padding-top: 41px;
  }
}

@media (max-width: 800px) {
  .page-section {
    padding-block: 27px;
  }

  .page-hero {
    padding-bottom: 22px;
  }
}
