/* ─────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --clr-bg:        #0a0a0a;
  --clr-surface:   #111111;
  --clr-border:    rgba(255,255,255,0.12);
  --clr-text:      #f0ece4;
  --clr-muted:     rgba(240,236,228,0.55);
  --clr-accent:    #c9a96e;          /* warm gold */
  --font-serif:    "Georgia", "Times New Roman", serif;
  --font-sans:     "Helvetica Neue", Arial, sans-serif;
  --nav-h:         72px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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


/* ─────────────────────────────────────────────
   SHARED SECTION TYPOGRAPHY
───────────────────────────────────────────── */
.section-tag {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--clr-muted);
  font-size: 0.9rem;
  max-width: 480px;
}


/* ─────────────────────────────────────────────
   SECTION 1 · HERO
───────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 760px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ── Nav ── */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 3rem;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, transparent 100%);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--clr-text);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.social-icon {
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.social-icon:hover { color: #fff; }

.nav-phone {
  font-size: 0.8rem;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 20px;
  padding: 0.4rem 1.1rem;
  white-space: nowrap;
  transition: background 0.2s;
}
.nav-phone:hover { background: rgba(255,255,255,0.1); }

/* ── Hero BG ── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0,0,0,0.55) 0%, transparent 100%),
    linear-gradient(to right,  rgba(0,0,0,0.45) 0%, transparent 40%),
    linear-gradient(to left,   rgba(0,0,0,0.3)  0%, transparent 40%),
    linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, transparent 35%),
    linear-gradient(to top,    rgba(0,0,0,0.4)  0%, transparent 30%);
}

.hero-bg-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.2);
  border: 2px dashed rgba(255,255,255,0.15);
  background: #1a1a1a;
}

/* ── Hero Content ── */
.hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  padding: calc(var(--nav-h) + 2rem) 3rem 2.5rem;
  display: grid;
  /* 3 cols: left | center | right */
  grid-template-columns: 1fr 2fr 1fr;
  grid-template-rows: auto 1fr auto auto auto;
  grid-template-areas:
    "label-tl  .        .        "
    "headline  wordmark .        "
    ".         stats    .        "
    ".         cta      .        "
    "label-bl  .        label-br ";
  align-items: start;
  row-gap: 2rem;
}

.hero-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.hero-label--tl { grid-area: label-tl; align-self: start; }
.hero-label--bl { grid-area: label-bl; align-self: end; }
.hero-label--br { grid-area: label-br; align-self: end; justify-self: end; }

.hero-headline {
  grid-area: headline;
  align-self: center;
}
.hero-sub {
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-wordmark {
  grid-area: wordmark;
  align-self: center;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

.hero-micro {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.9rem;
}

.hero-headline-main {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1rem;
}

.hero-headline-sub {
  font-size: clamp(0.78rem, 1.2vw, 0.95rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  max-width: 620px;
  margin: 0 auto;
}

.hero-stats {
  grid-area: stats;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  padding: 1.4rem 1.8rem;
  text-align: center;
  min-width: 148px;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.hero-stat:hover {
  background: rgba(0,0,0,0.75);
  border-color: rgba(255,255,255,0.6);
}

.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.4rem;
}
.stat-desc {
  display: block;
  font-size: 0.68rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
  max-width: 140px;
  margin: 0 auto;
}

.hero-cta-group {
  grid-area: cta;
  justify-self: center;
  align-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-cta-secondary {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.hero-cta-secondary:hover { color: #fff; }

.hero-cta {
  justify-self: center;
  align-self: end;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 40px;
  padding: 0.7rem 1.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: background 0.25s, border-color 0.25s;
}
.hero-cta:hover { background: rgba(0,0,0,0.75); border-color: #fff; color: #fff; }
.cta-arrow {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 1rem;
}


/* ─────────────────────────────────────────────
   SECTION 2 · PROPERTIES GRID
───────────────────────────────────────────── */
.properties {
  padding: 6rem 3rem;
  background: var(--clr-bg);
}

.properties-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* ── Service Cards (2×2 horizontal) ── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.svc-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  min-height: 280px;
  cursor: default;
}

.svc-card-img {
  position: absolute;
  inset: 0;
  background-color: #1c1c1c;
  background-size: auto 160%;
  background-position: center 50%;
  background-repeat: no-repeat;
}

/* Gradient overlay — always present, darkens more on hover */
.svc-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
  transition: background 0.3s ease;
}
.svc-card:hover .svc-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 100%);
}

/* Default short text */
.svc-default {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.svc-card:hover .svc-default {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

/* Expanded text on hover */
.svc-expanded {
  position: absolute;
  bottom: 1.8rem;
  left: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.svc-card:hover .svc-expanded {
  opacity: 1;
  transform: translateY(0);
}

.svc-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
}

.svc-short {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.svc-sub {
  font-size: 0.74rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
}

.svc-link {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.svc-link:hover { color: #fff; }


/* ─────────────────────────────────────────────
   SECTION 3 · SPLIT-VIEW FLIP PANELS
   One photo split across 4 flush vertical panels.

   HOW TO ADD REAL PHOTOS:
   On .flip-front::before set:
     background-image: url('assets/split-front.jpg');
   On .flip-back::before set:
     background-image: url('assets/split-back.jpg');
   background-size: 400% 100% is already set so each
   panel automatically shows its correct 1/4 slice.
───────────────────────────────────────────── */
.splitview {
  background: var(--clr-bg);
  padding: 0;            /* strip bleeds edge-to-edge */
}

/* 4 panels flush side-by-side, full viewport width */
.splitview-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 560px;
  width: 100%;
}

/* ── Swap Panel ── */
.flip-card {
  position: relative;
  /* thin vertical divider between panels */
  border-right: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
}
.flip-card:last-child { border-right: none; }

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transition: opacity 0.25s ease;
}

.flip-back { opacity: 0; }

.flip-card:hover .flip-front { opacity: 0; }
.flip-card:hover .flip-back  { opacity: 1; }

/* Shared background-image base for the split effect */
.flip-front::before,
.flip-back::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: 400% 100%;   /* show 1/4 of the wide image */
  background-repeat: no-repeat;
  background-image: url('photos/split_view/villa3.png');
}

/* Each front panel reveals its correct horizontal slice of villa3.jpg */
.flip-card[data-panel="1"] .flip-front::before { background-position: 0%      center; }
.flip-card[data-panel="2"] .flip-front::before { background-position: 33.33%  center; }
.flip-card[data-panel="3"] .flip-front::before { background-position: 66.66%  center; }
.flip-card[data-panel="4"] .flip-front::before { background-position: 100%    center; }

/* Each back panel shows its own individual photo */
.flip-card[data-panel="1"] .flip-back::before { background-image: url('photos/split_view/panel_photos/panel_1.jpg'); background-size: cover; background-position: center; }
.flip-card[data-panel="2"] .flip-back::before { background-image: url('photos/split_view/panel_photos/panel_2.png'); background-size: cover; background-position: center; }
.flip-card[data-panel="3"] .flip-back::before { background-image: url('photos/split_view/panel_photos/panel_3.png'); background-size: cover; background-position: center; }
.flip-card[data-panel="4"] .flip-back::before { background-image: url('photos/split_view/panel_photos/panel_4.jpg'); background-size: cover; background-position: center; }

/* Mobile-only photo inside flip-back — hidden on desktop */
.flip-mobile-img {
  display: none;
}

/* Placeholder shown until real image is added */
.flip-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.18);
  background: #181818;
  border-right: 1px dashed rgba(255,255,255,0.08);
}
.flip-placeholder--back { background: #1f1a14; }

/* Text label pinned to the bottom of each panel */
.flip-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2.5rem 1.4rem 1.6rem;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 100%);
  z-index: 2;
}
.flip-label h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
  letter-spacing: 0.03em;
}
.flip-label p {
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.6);
}

.flip-label--back p { margin-bottom: 1rem; }

.flip-cta {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 20px;
  padding: 0.4rem 1.1rem;
  transition: background 0.2s;
}
.flip-cta:hover { background: rgba(255,255,255,0.12); }


/* ─────────────────────────────────────────────
   SECTION 4 · TEAM
───────────────────────────────────────────── */
.team {
  display: none;
  position: relative;
  padding: 7rem 3rem;
  background: var(--clr-bg);
  overflow: hidden;
}

.team-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.25;
}
.team-bg-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.15);
  background: #111;
  border: 2px dashed rgba(255,255,255,0.08);
}

.team-content {
  position: relative;
  z-index: 5;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.team-members {
  display: flex;
  gap: 1.5rem;
  flex: 1;
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.team-photo {
  position: relative;
  width: 180px;
  height: 220px;
  border-radius: 4px;
  overflow: hidden;
  background: #1c1c1c;
}
.team-photo-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.18);
  border: 1px dashed rgba(255,255,255,0.12);
}

.team-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 400;
}
.team-role {
  font-size: 0.72rem;
  color: var(--clr-muted);
  letter-spacing: 0.05em;
}

.team-text {
  flex: 0 0 300px;
}

.team-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.team-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--clr-muted);
  margin-bottom: 1.5rem;
}
.team-cta {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 20px;
  padding: 0.55rem 1.5rem;
  transition: background 0.2s, border-color 0.2s;
}
.team-cta:hover { background: rgba(255,255,255,0.08); border-color: #fff; }


/* ─────────────────────────────────────────────
   SECTION 5 · WHY AGENTS CHOOSE US
───────────────────────────────────────────── */
.why-us {
  display: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.why-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 2rem 1.6rem;
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.4);
}

.why-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: rgba(255,255,255,0.12);
  line-height: 1;
}

.why-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
}

.why-desc {
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}


/* ─────────────────────────────────────────────
   SECTION 6 · FINAL CTA
───────────────────────────────────────────── */
.final-cta {
  padding: 8rem 3rem;
  background: var(--clr-bg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.final-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 400;
  max-width: 680px;
  line-height: 1.2;
}

.final-cta-sub {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin-bottom: 0.8rem;
}

.final-cta-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.final-cta-btn {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: #fff;
  color: #000;
  border-radius: 30px;
  padding: 0.8rem 2rem;
  transition: background 0.2s, color 0.2s;
}
.final-cta-btn:hover { background: rgba(255,255,255,0.85); }

.final-cta-secondary {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.final-cta-secondary:hover { color: #fff; }


/* ─────────────────────────────────────────────
   HAMBURGER + MOBILE DRAWER
───────────────────────────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
/* X state */
.nav-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(12px);
  z-index: 100;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 4rem 2.5rem 3rem;
  gap: 0.2rem;
}
.nav-drawer.is-open { display: flex; }

.drawer-link {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
  transition: color 0.2s;
}
.drawer-link:hover { color: #fff; }

.drawer-footer {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.drawer-insta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.drawer-insta:hover { color: #fff; }

.drawer-phone {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.drawer-phone:hover { color: #fff; }


/* ─────────────────────────────────────────────
   RESPONSIVE — basic
───────────────────────────────────────────── */
.site-footer {
  padding: 1.5rem 3rem;
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.35);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-right  { display: none; }
  .nav-burger { display: flex; margin-left: auto; }

  .hero-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      "label-tl"
      "headline"
      "wordmark"
      "stats"
      "cta"
      "label-bl";
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .hero-label--br { display: none; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stat { min-width: 120px; padding: 1rem 1.2rem; }

  .properties { padding: 4rem 1.5rem; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card, .svc-card--reverse { flex-direction: column; }
  .svc-card-img { flex: 0 0 200px; }

  /* tap anywhere on card to reveal details */
  .svc-card.is-active .svc-overlay { background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 100%); }
  .svc-card.is-active .svc-default { opacity: 0; transform: translateY(6px); pointer-events: none; }
  .svc-card.is-active .svc-expanded { opacity: 1; transform: translateY(0); }


  .splitview-strip {
    grid-template-columns: 1fr;
    height: auto;
  }
  /* hide photo backgrounds */
  .flip-front::before,
  .flip-back::before { display: none; }

  /* show inline photo below the text */
  .flip-mobile-img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    order: 1;
  }
  .flip-label--back { order: 0; }
  /* hide the front face entirely */
  .flip-front { display: none; }
  /* make back face always visible, no transform */
  .flip-card {
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .flip-inner { transform: none !important; }
  .flip-back {
    position: relative;
    opacity: 1;
    transform: none;
    background: var(--clr-surface);
  }
  .flip-label--back {
    position: relative;
    padding: 2rem 1.5rem;
    background: none;
  }
  .flip-label--back h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  .flip-label--back p {
    font-size: 0.78rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1rem;
  }

  .team { padding: 5rem 1.5rem; }
  .team-content { flex-direction: column; gap: 2.5rem; }
  .team-members { flex-wrap: wrap; justify-content: center; }
  .team-text { flex: unset; text-align: center; }
}
