* {
  box-sizing: border-box;
}

:root {
  --blue-bg: #94a4a7;
  --deep-blue: #34465f;
  --cream: #f8f5ef;
  --paper: #fbfaf8;
  --ink: #101010;
  --gold: #b58b53;
  --line: #e7dfd4;
  --teal: #98c1bd;
  --navy: #2f3f5c;
  --ease: cubic-bezier(.19, 1, .22, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  overflow-x: hidden;
}

body.nav-stable-page,
body.nav-stable-page main {
  max-width: 100%;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

.about-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  gap: 24px;
  background:
    radial-gradient(circle at 18% 18%, rgba(248, 245, 239, 0.16), transparent 24%),
    radial-gradient(circle at 82% 84%, rgba(47, 63, 92, 0.18), transparent 28%),
    linear-gradient(180deg, #8ea1a4 0%, #7d9398 100%);
  color: var(--cream);
  transition: opacity .8s ease, transform 1s var(--ease);
}

.about-loader.hide {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.about-loader span {
  font-size: 13px;
  letter-spacing: .28em;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.about-loader div {
  width: min(280px, 70vw);
  height: 2px;
  background: rgba(255,255,255,.35);
  border-radius: 999px;
  overflow: hidden;
}

.about-loader i {
  display: block;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, #f3dcc0, var(--cream));
  animation: loaderMove 1.2s var(--ease) infinite;
}

@keyframes loaderMove {
  from { transform: translateX(-120%); }
  to { transform: translateX(260%); }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  height: 2px;
  width: 0;
  background: var(--gold);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: 70px;
  display: flex;
  align-items: center;
  padding: 0 56px;
  background: rgba(148,164,167,.94);
  color: var(--cream);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: height .4s var(--ease), border-color .4s ease, box-shadow .4s ease, transform .35s ease;
}

.site-header.scrolled {
  height: 58px;
  background: rgba(148,164,167,.97);
  color: var(--cream);
  border-bottom-color: rgba(255,255,255,.18);
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

.site-header.nav-hidden {
  transform: translateY(-100%);
}

.brand {
  margin-right: auto;
  font-size: clamp(25px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(32px, 4.5vw, 74px);
}

.desktop-nav a {
  position: relative;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .28em;
  transition: color .25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--gold);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width .35s var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  width: calc(100% - .28em);
}

.nav-cta {
  min-width: 112px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(248,245,239,.6);
  border-radius: 999px;
}

.nav-cta::after {
  display: none;
}

.menu-btn {
  display: none;
  border: 0;
  width: 44px;
  height: 38px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 1px;
  margin: 8px 0;
  background: var(--cream);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-105%);
  transition: transform .85s var(--ease);
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu button {
  position: absolute;
  top: 28px;
  right: 28px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 12px 16px;
  cursor: pointer;
  letter-spacing: .16em;
}

.mobile-menu a {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 9vw, 88px);
  line-height: .98;
  opacity: 0;
  transform: translateY(30px);
}

.mobile-menu.open a {
  animation: menuItem .8s var(--ease) forwards;
}

.mobile-menu.open a:nth-of-type(2) { animation-delay: .05s; }
.mobile-menu.open a:nth-of-type(3) { animation-delay: .10s; }
.mobile-menu.open a:nth-of-type(4) { animation-delay: .15s; }
.mobile-menu.open a:nth-of-type(5) { animation-delay: .20s; }

.about-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 800;
  height: 96px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 52px;
  color: var(--cream);
  mix-blend-mode: normal;
  transition: background .4s ease, color .4s ease, height .4s var(--ease), border .4s ease;
}

.about-nav.scrolled {
  height: 70px;
  background: rgba(251,250,248,.94);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.menu-open,
.inquire-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  cursor: pointer;
}

.nav-mark {
  opacity: 0;
  pointer-events: none;
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.inquire-link {
  justify-self: end;
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-105%);
  transition: transform .85s var(--ease);
}

.menu-panel.open {
  transform: translateY(0);
}

.menu-panel button {
  position: absolute;
  top: 28px;
  right: 28px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 12px 16px;
  cursor: pointer;
}

.menu-panel a {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 9vw, 88px);
  line-height: .98;
  opacity: 0;
  transform: translateY(30px);
}

.menu-panel.open a {
  animation: menuItem .8s var(--ease) forwards;
}

.menu-panel.open a:nth-of-type(2) { animation-delay: .05s; }
.menu-panel.open a:nth-of-type(3) { animation-delay: .10s; }
.menu-panel.open a:nth-of-type(4) { animation-delay: .15s; }
.menu-panel.open a:nth-of-type(5) { animation-delay: .20s; }

@keyframes menuItem {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 72px;
  align-items: center;
  padding: 120px 88px 70px;
  background: var(--blue-bg);
  color: var(--cream);
}

.hero-copy {
  justify-self: center;
  width: min(100%, 780px);
  text-align: center;
  padding-top: 70px;
}

.founder-name {
  margin: 0 0 4px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  line-height: 1;
}

.founder-role {
  margin: 0 0 52px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-style: italic;
}

.bio-copy p {
  margin: 0 auto 38px;
  max-width: 780px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(20px, 1.7vw, 23px);
  line-height: 1.48;
}

.hero-inquire {
  margin: 48px auto 0;
  width: fit-content;
  display: grid;
  justify-items: center;
  gap: 4px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px;
  transition: opacity .25s ease, transform .35s var(--ease);
}

.hero-inquire:hover {
  opacity: .82;
  transform: translateY(-4px);
}

.hero-inquire svg {
  width: 92px;
  height: auto;
}

.hero-image {
  margin: 0;
  width: min(100%, 790px);
  height: min(80vh, 980px);
  justify-self: end;
  overflow: hidden;
  background: rgba(255,255,255,.16);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.principles-section {
  min-height: 980px;
  padding: 140px 24px 120px;
  background: var(--paper);
}

.principles-heading {
  text-align: center;
  margin-bottom: 120px;
}

.principles-heading h2 {
  margin: 0 0 26px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(50px, 5.8vw, 74px);
  font-weight: 400;
  line-height: .95;
}

.principles-heading p {
  margin: 0;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .26em;
}

.about-principles-gallery {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto 44px;
  display: grid;
  grid-template-columns: 1.15fr .9fr .95fr;
  gap: 20px;
}

.about-principles-gallery figure {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #d7d2ca;
  box-shadow: 0 20px 54px rgba(16, 16, 16, 0.08);
}

.about-principles-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1.16;
}

.accordion {
  max-width: 1015px;
  margin: 0 auto;
}

.principle-card {
  border-bottom: 2px solid var(--line);
}

.principle-head {
  width: 100%;
  min-height: 124px;
  display: grid;
  grid-template-columns: 72px 1fr 42px;
  align-items: center;
  gap: 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.principle-head span:nth-child(2) {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.1;
}

.principle-head i {
  position: relative;
  width: 28px;
  height: 28px;
  justify-self: end;
}

.principle-head i::before,
.principle-head i::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 0;
  width: 28px;
  height: 1px;
  background: var(--ink);
  transition: transform .35s var(--ease);
}

.principle-head i::after {
  transform: rotate(90deg);
}

.principle-card.open .principle-head i::after {
  transform: rotate(0deg);
}

.principle-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
}

.principle-icon svg {
  width: 54px;
  height: 54px;
}

.icon-hand {
  color: var(--teal);
}

.icon-circle {
  color: var(--navy);
}

.icon-sun {
  color: var(--gold);
}

.principle-body {
  height: 0;
  overflow: hidden;
  transition: height .55s var(--ease);
}

.principle-body p {
  margin: 0 0 30px;
  padding-left: 72px;
  font-size: clamp(18px, 2vw, 27px);
  line-height: 1.45;
  letter-spacing: .04em;
}

.principle-body p:last-child {
  padding-bottom: 46px;
}

.cta-image-section {
  position: relative;
  min-height: 840px;
  background: var(--deep-blue);
  overflow: hidden;
}

.cta-photo {
  margin: 0;
  height: 610px;
  overflow: hidden;
}

.cta-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-blue {
  height: 230px;
  background: var(--deep-blue);
}

.cta-card {
  position: absolute;
  left: 50%;
  top: 470px;
  transform: translateX(-50%) translateY(32px);
  width: min(100% - 48px, 1120px);
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 30px;
  padding: 58px 40px 66px;
  background: var(--paper);
  text-align: center;
}

.cta-card.visible {
  transform: translateX(-50%) translateY(0);
}

.cta-card svg {
  width: 78px;
  height: auto;
  color: var(--gold);
}

.cta-card p {
  margin: 0;
  max-width: 920px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 3.1vw, 42px);
  line-height: 1.28;
}

.cta-card a {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  height: 38px;
  background: var(--deep-blue);
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  transition: transform .3s var(--ease), opacity .25s ease;
}

.cta-card a:hover {
  transform: translateY(-3px);
  opacity: .9;
}

.reveal-up,
.reveal-img {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s ease, transform .9s var(--ease), clip-path 1s var(--ease);
}

.reveal-img {
  clip-path: inset(12% 0 12% 0);
}

.reveal-img img {
  transform: scale(1.08);
  transition: transform 1.5s var(--ease);
}

.reveal-up.visible,
.reveal-img.visible {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0);
}

.reveal-img.visible img {
  transform: scale(1);
}

.split-lines .word,
.title-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.split-lines .word span,
.title-word span {
  display: inline-block;
  transform: translateY(108%);
  animation: wordIn .9s var(--ease) forwards;
}

@keyframes wordIn {
  to { transform: translateY(0); }
}

@media (max-width: 1100px) {
  .about-principles-gallery {
    width: min(720px, calc(100% - 40px));
    grid-template-columns: 1fr 1fr;
  }

  .about-principles-gallery figure:first-child {
    grid-column: 1 / -1;
  }

  .about-hero {
    grid-template-columns: 1fr;
    padding: 110px 28px 70px;
  }

  .hero-copy {
    padding-top: 30px;
  }

  .hero-image {
    justify-self: center;
    width: min(100%, 680px);
    height: 720px;
  }

  .principles-section {
    padding-top: 110px;
  }

  .principles-heading {
    margin-bottom: 80px;
  }
}

@media (max-width: 720px) {
  .about-principles-gallery {
    width: calc(100% - 32px);
    margin-bottom: 30px;
    gap: 12px;
  }

  .about-principles-gallery figure {
    border-radius: 16px;
  }

  .site-header {
    height: 66px;
    padding: 0 18px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-btn {
    display: block;
    margin-left: auto;
  }

  .brand {
    font-size: 24px;
    letter-spacing: .12em;
  }

  .about-nav {
    height: 72px;
    padding: 0 22px;
  }

  .nav-mark {
    display: none;
  }

  .about-hero {
    padding: 96px 20px 56px;
    gap: 44px;
  }

  .hero-image {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .bio-copy p {
    font-size: 20px;
  }

  .principles-section {
    min-height: auto;
    padding: 84px 18px 88px;
  }

  .principles-heading h2 {
    font-size: 48px;
  }

  .principles-heading p {
    font-size: 11px;
  }

  .principle-head {
    min-height: 100px;
    grid-template-columns: 52px 1fr 32px;
    gap: 12px;
  }

  .principle-head span:nth-child(2) {
    font-size: 31px;
  }

  .principle-body p {
    padding-left: 0;
    font-size: 19px;
  }

  .cta-image-section {
    min-height: 730px;
  }

  .cta-photo {
    height: 430px;
  }

  .cta-card {
    top: 330px;
    width: calc(100% - 32px);
    min-height: 330px;
    padding: 42px 20px;
  }

  .cta-card p {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .about-hero,
  .principles-section,
  .cta-image-section,
  .about-cta-section {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .hero-copy,
  .hero-image,
  .accordion,
  .cta-card {
    max-width: 100%;
    min-width: 0;
  }
}


/* Hide navbar while scrolling down, show it again when scrolling up */
.about-nav.nav-hidden {
  transform: translateY(-115%);
}

.about-nav {
  transform: translateY(0);
}


/* CTA center fix:
   The reveal animation was overwriting translateX(-50%),
   so the white CTA card was moving to the right side.
*/
.cta-card.reveal-up {
  transform: translateX(-50%) translateY(34px);
}

.cta-card.reveal-up.visible,
.cta-card.visible {
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 720px) {
  .cta-card.reveal-up {
    transform: translateX(-50%) translateY(30px);
  }

  .cta-card.reveal-up.visible,
  .cta-card.visible {
    transform: translateX(-50%) translateY(0);
  }
}


/* =========================================================
   About page image refresh using new SpaceGlam studio assets
========================================================= */
.about-enhanced-images .sg-unified-hero .hero-image img {
  object-position: center 38%;
}

.about-studio-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5.5vw, 90px);
  align-items: center;
  padding: clamp(84px, 10vw, 148px) clamp(22px, 7vw, 112px);
  background: linear-gradient(180deg, rgba(251,250,248,.98), rgba(248,245,239,.96));
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.about-studio-story::before {
  content: "";
  position: absolute;
  inset: 10% auto auto 4%;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: rgba(185, 141, 83, 0.10);
  filter: blur(20px);
  pointer-events: none;
}

.story-copy {
  position: relative;
  z-index: 1;
  max-width: 500px;
}

.story-copy .gold-label {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.story-copy h2 {
  margin: 0 0 24px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 5.2vw, 82px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.045em;
  color: var(--ink);
}

.story-copy > p:not(.gold-label) {
  margin: 0;
  max-width: 450px;
  color: rgba(17,17,17,.72);
  font-size: 15px;
  line-height: 1.86;
}

.story-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.story-stats span {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(17,17,17,.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.story-stats strong {
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0;
}

.story-gallery {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .82fr;
  grid-template-rows: 310px 310px;
  gap: 18px;
}

.story-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #d9d1c6;
  box-shadow: 0 28px 75px rgba(34, 38, 44, 0.12);
}

.story-photo--large {
  grid-row: 1 / -1;
}

.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-photo--large img {
  object-position: 54% center;
}

.about-enhanced-images .about-principles-gallery figure {
  box-shadow: 0 22px 64px rgba(34, 38, 44, 0.12);
}

.about-enhanced-images .about-principles-gallery img {
  object-position: center 34%;
}

.about-enhanced-images .cta-photo img {
  object-position: center 36%;
}

@media (max-width: 1100px) {
  .about-studio-story {
    grid-template-columns: 1fr;
  }

  .story-copy {
    max-width: 760px;
  }

  .story-copy > p:not(.gold-label) {
    max-width: 650px;
  }
}

@media (max-width: 720px) {
  .about-studio-story {
    padding: 72px 18px;
  }

  .story-gallery {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    grid-template-rows: repeat(2, minmax(170px, 1fr));
    gap: 12px;
    align-items: stretch;
  }

  .story-photo,
  .story-photo--large {
    border-radius: 18px;
    min-height: 170px;
    aspect-ratio: auto;
  }

  .story-photo--large {
    grid-column: 1;
    grid-row: 1 / span 2;
    min-height: 352px;
  }

  .story-gallery .story-photo:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .story-gallery .story-photo:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .story-copy h2 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .story-stats span {
    align-items: flex-start;
    line-height: 1.5;
  }
}


/* About gallery image position refinement */
.about-enhanced-images .story-photo--large img {
  object-position: center 32%;
}

.about-enhanced-images .story-gallery .story-photo:nth-child(2) img {
  object-position: center 24%;
}

.about-enhanced-images .story-gallery .story-photo:nth-child(3) img {
  object-position: center 26%;
}

.about-enhanced-images .cta-photo img {
  object-position: center 48%;
}


/* About page updated portrait set */
.about-enhanced-images .sg-unified-hero .hero-image img {
  object-position: center 16%;
}

.about-enhanced-images .story-photo--large img {
  object-position: center 10%;
}

.about-enhanced-images .story-gallery .story-photo:nth-child(2) img {
  object-position: center 10%;
}

.about-enhanced-images .story-gallery .story-photo:nth-child(3) img {
  object-position: center 14%;
}

.about-enhanced-images .about-principles-gallery figure:nth-child(1) img {
  object-position: center 12%;
}

.about-enhanced-images .about-principles-gallery figure:nth-child(2) img {
  object-position: center 8%;
}

.about-enhanced-images .about-principles-gallery figure:nth-child(3) img {
  object-position: center 12%;
}

.about-enhanced-images .cta-photo img {
  object-position: center 18%;
}


/* Restore previous images for repeated About page spots */
.about-enhanced-images .about-principles-gallery figure:nth-child(2) img {
  object-position: center 34%;
}

.about-enhanced-images .cta-photo img {
  object-position: center 48%;
}


@media (max-width: 425px) {
  .story-gallery {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    grid-template-rows: repeat(2, minmax(158px, 1fr));
    gap: 10px;
  }

  .story-photo,
  .story-photo--large {
    border-radius: 16px;
  }

  .story-photo--large {
    min-height: 326px;
  }

  .story-photo {
    min-height: 158px;
  }
}
