html,
body.has-profile-page {
  overflow-x: hidden;
}

body.has-profile-page {
  background: #080809;
}

body.has-profile-page .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 76px;
  background: rgba(8,8,9,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.profile-page,
.profile-page *,
.profile-page *::before,
.profile-page *::after {
  box-sizing: border-box;
}

.profile-page {
  --profile-bg: #080809;
  --profile-card: #111113;
  --profile-elevated: #161618;
  --profile-text: #F5F2EE;
  --profile-muted: #98989F;
  --profile-accent: #E58C76;
  --profile-border: rgba(255,255,255,.07);
  background: var(--profile-bg);
  color: var(--profile-text);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
  width: 100%;
}

.profile-page img {
  display: block;
  max-width: 100%;
}

.profile-container {
  width: min(100% - 48px, 1320px);
  margin-inline: auto;
}

.profile-eyebrow {
  color: var(--profile-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.profile-btn {
  align-items: center;
  border-radius: 14px;
  cursor: pointer;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 800;
  height: 52px;
  justify-content: center;
  letter-spacing: 0;
  padding: 0 26px;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
  width: auto;
}

.profile-btn:hover {
  transform: translateY(-1px);
}

.profile-btn-primary {
  background: var(--profile-accent);
  border: 1px solid transparent;
  color: #17100d;
}

.profile-btn-secondary {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--profile-text);
}

.profile-page .profile-hero {
  align-items: end;
  display: grid;
  height: min(78vh, 820px);
  min-height: 620px;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.profile-page .profile-hero::after {
  content: none;
}

.profile-hero-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
}

.profile-hero-overlay {
  background:
    linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.18) 54%, rgba(0,0,0,.34) 100%),
    linear-gradient(180deg, rgba(0,0,0,.05) 20%, rgba(0,0,0,.30) 55%, rgba(0,0,0,.88) 100%);
  inset: 0;
  position: absolute;
}

.profile-hero-content {
  max-width: 700px;
  min-width: 0;
  padding: 56px;
  position: relative;
  z-index: 1;
}

.profile-badges,
.profile-card-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.profile-badges span,
.profile-card-status span {
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: var(--profile-text);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 7px;
  padding: 8px 12px;
}

.profile-badges i,
.profile-card-status i {
  background: #98e7ad;
  border-radius: 999px;
  display: inline-block;
  height: 7px;
  width: 7px;
}

.profile-page .profile-hero h1 {
  color: var(--profile-text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(52px, 7vw, 110px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: .92;
  margin: 0;
  max-width: 700px;
  text-transform: none;
}

.profile-hero-meta,
.profile-help {
  color: var(--profile-muted);
  font-size: 1rem;
  line-height: 1.5;
  margin: 16px 0 0;
}

.profile-hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.profile-help {
  font-size: .9rem;
  margin-top: 12px;
}

.profile-tabs {
  background: #080809;
  border-bottom: 1px solid var(--profile-border);
}

.profile-tabs .profile-container {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding-block: 18px;
}

.profile-tabs a {
  color: var(--profile-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.profile-tabs a:hover {
  color: var(--profile-accent);
}

.profile-overview,
.profile-gallery,
.profile-details,
.profile-about,
.profile-trust,
.profile-final-cta {
  padding-block: 96px;
}

.profile-overview-grid {
  align-items: start;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, .8fr);
}

.profile-overview-grid.is-compact {
  grid-template-columns: minmax(320px, 420px);
  justify-content: end;
}

.profile-copy,
.profile-copy *,
.profile-contact-card,
.profile-gallery-grid > *,
.profile-details-grid > *,
.profile-trust-grid > * {
  min-width: 0;
}

.profile-copy h2,
.profile-section-head h2,
.profile-about h2,
.profile-final-card h2 {
  color: var(--profile-text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 600;
  line-height: .98;
  margin: 0;
}

.profile-copy p:not(.profile-eyebrow),
.profile-about p,
.profile-final-card p {
  color: var(--profile-muted);
  font-size: 18px;
  line-height: 1.7;
  margin: 24px 0 0;
  max-width: 720px;
}

.profile-contact-card {
  background: var(--profile-card);
  border: 1px solid var(--profile-border);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  max-width: 380px;
  padding: 22px;
  position: sticky;
  top: 110px;
  width: 100%;
}

.profile-contact-card > img {
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  margin-bottom: 20px;
  object-fit: cover;
  width: 100%;
}

.profile-contact-card h2 {
  color: var(--profile-text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 42px;
  line-height: 1;
  margin: 0;
}

.profile-contact-card > p,
.profile-contact-card small {
  color: var(--profile-muted);
  display: block;
  margin-top: 8px;
}

.profile-card-status {
  margin-top: 16px;
}

.profile-card-facts {
  border-block: 1px solid var(--profile-border);
  display: grid;
  margin: 20px 0;
}

.profile-card-facts div {
  display: grid;
  gap: 5px;
  padding: 14px 0;
}

.profile-card-facts div + div {
  border-top: 1px solid var(--profile-border);
}

.profile-card-facts span,
.profile-details-grid span,
.profile-trust-grid span {
  color: var(--profile-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.profile-card-facts strong {
  color: var(--profile-text);
}

.profile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.profile-chips span {
  border: 1px solid var(--profile-border);
  border-radius: 999px;
  color: var(--profile-muted);
  font-size: 13px;
  padding: 7px 10px;
}

.profile-contact-card .profile-btn {
  width: 100%;
}

.profile-save-link {
  background: none;
  border: 0;
  color: var(--profile-accent);
  cursor: pointer;
  display: block;
  font-weight: 800;
  margin: 16px auto 8px;
  padding: 0;
}

.profile-section-head {
  margin-bottom: 28px;
}

.profile-gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.profile-gallery-item {
  background: var(--profile-card);
  border: 1px solid var(--profile-border);
  border-radius: 18px;
  cursor: zoom-in;
  overflow: hidden;
  padding: 0;
}

.profile-gallery-item img {
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform .45s ease;
  width: 100%;
}

.profile-gallery-item:hover img {
  transform: scale(1.02);
}

.profile-gallery-item.item-1 { aspect-ratio: 4 / 5; grid-column: span 7; }
.profile-gallery-item.item-2 { aspect-ratio: 16 / 10; grid-column: span 5; }
.profile-gallery-item.item-3 { aspect-ratio: 16 / 10; grid-column: span 5; }
.profile-gallery-item.item-4 { aspect-ratio: 4 / 5; grid-column: span 7; }
.profile-gallery-item.item-5 { aspect-ratio: 16 / 8; grid-column: span 12; }

.profile-details-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-details-grid article,
.profile-trust-grid article {
  background: var(--profile-card);
  border: 1px solid var(--profile-border);
  border-radius: 18px;
  padding: 22px;
}

.profile-details-grid strong {
  color: var(--profile-text);
  display: block;
  font-size: 18px;
  margin-top: 10px;
}

.profile-about p {
  max-width: 720px;
}

.profile-trust-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-trust-grid p {
  color: var(--profile-muted);
  line-height: 1.6;
  margin: 10px 0 0;
}

.profile-final-card {
  background: var(--profile-card);
  border: 1px solid var(--profile-border);
  border-radius: 24px;
  padding: 64px;
  text-align: center;
}

.profile-final-card p {
  margin-inline: auto;
}

.profile-final-card form {
  margin-top: 28px;
}

.profile-mobile-cta {
  display: none;
}

.profile-lightbox {
  align-items: center;
  background: rgba(0,0,0,.96);
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 140;
}

.profile-lightbox:not([hidden]) {
  display: flex;
}

.profile-lightbox img {
  max-height: 90vh;
  max-width: 90vw;
  object-fit: contain;
}

.profile-lightbox button {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: var(--profile-text);
  cursor: pointer;
  padding: 12px 16px;
  position: fixed;
}

.profile-lightbox .lightbox-close { right: 24px; top: 24px; }
.profile-lightbox .lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.profile-lightbox .lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

.profile-lightbox span {
  bottom: 24px;
  color: var(--profile-muted);
  left: 50%;
  position: fixed;
  transform: translateX(-50%);
}

@media (max-width: 1024px) {
  .profile-overview-grid {
    gap: 36px;
    grid-template-columns: 1fr;
  }
  .profile-contact-card {
    max-width: none;
    position: static;
  }
  .profile-details-grid,
  .profile-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body.has-profile-page {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }
  .profile-container {
    width: min(100% - 32px, 1320px);
  }
  .profile-page .profile-hero {
    height: 75svh;
    min-height: 580px;
  }
  .profile-hero-content {
    padding: 24px;
  }
  .profile-page .profile-hero h1 {
    font-size: clamp(42px, 13vw, 64px);
    max-width: 100%;
  }
  .profile-hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 360px;
  }
  .profile-btn {
    width: 100%;
  }
  .profile-overview,
  .profile-gallery,
  .profile-details,
  .profile-about,
  .profile-trust,
  .profile-final-cta {
    padding-block: 64px;
  }
  .profile-gallery-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
  }
  .profile-gallery-item.item-1,
  .profile-gallery-item.item-2,
  .profile-gallery-item.item-3,
  .profile-gallery-item.item-4,
  .profile-gallery-item.item-5 {
    aspect-ratio: 4 / 5;
    grid-column: auto;
  }
  .profile-details-grid,
  .profile-trust-grid {
    grid-template-columns: 1fr;
  }
  .profile-final-card {
    padding: 36px 20px;
  }
  .profile-mobile-cta {
    align-items: center;
    backdrop-filter: blur(18px);
    background: rgba(8,8,9,.92);
    border-top: 1px solid var(--profile-border);
    bottom: 0;
    display: grid;
    gap: 10px;
    grid-template-columns: 54px 1fr;
    left: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    position: fixed;
    right: 0;
    z-index: 120;
  }
  .profile-mobile-cta button {
    border-radius: 14px;
    cursor: pointer;
    font-weight: 800;
    height: 52px;
  }
  .profile-mobile-cta form:first-child button {
    background: rgba(255,255,255,.06);
    border: 1px solid var(--profile-border);
    color: var(--profile-text);
    width: 54px;
  }
  .profile-mobile-cta form:last-child button {
    background: var(--profile-accent);
    border: 0;
    color: #17100d;
    text-transform: uppercase;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .profile-container {
    width: min(100% - 32px, 1320px);
  }
  .profile-tabs .profile-container {
    gap: 20px;
  }
  .profile-copy h2,
  .profile-section-head h2,
  .profile-about h2,
  .profile-final-card h2 {
    font-size: 42px;
  }
}
