
/* ==========================================================
   VISIT MAPUTALAND — MEMBER PROFILE TEMPLATE
   Global Visit Maputaland frame + operator-specific brand layer.
   Partner-specific colours are set as CSS variables on the body.
   ========================================================== */

.profile-page {
  --partner-ink: #3d2a20;
  --partner-accent: #b88552;
  --partner-soft: #d8d7bd;
  --partner-paper: #f4ede1;
  --partner-dark: #2f251f;
  background: var(--paper);
}

.profile-page .site-header {
  color: var(--ink);
  background: rgba(242,239,231,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.profile-main {
  padding-top: 82px;
}

.profile-breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 22px max(28px, 5vw);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(25,33,30,.58);
}

.profile-breadcrumb a:hover { color: var(--ink); }

.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, .75fr);
  min-height: 720px;
}

.profile-hero-media {
  position: relative;
  min-height: 720px;
  overflow: hidden;
}

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

.profile-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(22,27,23,.18), transparent 50%);
  pointer-events: none;
}

.partner-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(42px, 5vw, 82px);
  background: var(--partner-paper);
  color: var(--partner-ink);
}

.partner-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 70px;
}

.partner-mark {
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.partner-mark::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  top: 9px;
  left: 15px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.partner-mark::after {
  content: "≋";
  position: absolute;
  left: 12px;
  bottom: 5px;
  font-size: 22px;
  line-height: 1;
}

.partner-wordmark {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.partner-wordmark strong {
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.partner-wordmark span {
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
  opacity: .64;
}

.partner-kicker {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  font-weight: 600;
  color: rgba(61,42,32,.62);
}

.partner-panel h1 {
  margin: 0 0 10px;
  font: 400 clamp(68px, 7vw, 112px)/.82 var(--serif);
  color: var(--partner-ink);
}

.partner-pronunciation {
  margin: 0 0 34px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(61,42,32,.58);
}

.partner-intro {
  max-width: 470px;
  margin: 0 0 34px;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(61,42,32,.84);
}

.partner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.partner-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid var(--partner-ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  transition: .2s ease;
}

.partner-button.primary {
  background: var(--partner-ink);
  color: var(--partner-paper);
}

.partner-button:hover {
  transform: translateY(-1px);
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--partner-dark);
  color: #fffaf2;
  border-top: 1px solid rgba(255,255,255,.12);
}

.profile-fact {
  min-height: 150px;
  padding: 30px max(20px, 3vw);
  border-right: 1px solid rgba(255,255,255,.14);
}

.profile-fact:last-child { border-right: 0; }

.profile-fact span {
  display: block;
  margin-bottom: 15px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: rgba(255,250,242,.55);
}

.profile-fact strong {
  display: block;
  max-width: 250px;
  font: 400 clamp(24px, 2vw, 34px)/1.05 var(--serif);
}

.profile-section {
  padding: 110px max(28px, 6vw);
}

.profile-section-heading {
  display: grid;
  grid-template-columns: 1.05fr .7fr;
  gap: 10vw;
  align-items: end;
  margin-bottom: 56px;
}

.profile-section-heading h2 {
  max-width: 800px;
}

.profile-section-heading p {
  max-width: 520px;
  margin: 0;
  font-size: 17px;
  line-height: 1.72;
  color: rgba(25,33,30,.72);
}

.profile-gallery {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 16px;
}

.profile-gallery-main,
.profile-gallery-stack > figure {
  margin: 0;
  overflow: hidden;
}

.profile-gallery-main {
  min-height: 720px;
}

.profile-gallery-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.profile-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-story {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  background: var(--partner-dark);
  color: #fffaf2;
}

.partner-story-copy {
  padding: 90px max(28px, 6vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.partner-story .eyebrow {
  color: rgba(255,250,242,.62);
}

.partner-story h2 {
  margin-bottom: 28px;
  color: #fffaf2;
}

.partner-story-copy p {
  max-width: 550px;
  font-size: 17px;
  line-height: 1.72;
  color: rgba(255,250,242,.76);
}

.partner-story-media {
  min-height: 680px;
}

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

.profile-details {
  background: #e9e4d8;
}

.profile-details-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 8vw;
}

.profile-details-title {
  position: sticky;
  top: 120px;
  align-self: start;
}

.profile-details-title h2 {
  margin-bottom: 22px;
}

.profile-details-title p {
  max-width: 420px;
  line-height: 1.7;
  color: rgba(25,33,30,.67);
}

.detail-group {
  padding: 28px 0;
  border-top: 1px solid rgba(25,33,30,.19);
}

.detail-group:first-child { border-top: 0; padding-top: 0; }

.detail-group h3 {
  margin-bottom: 18px;
  font: 400 36px/1 var(--serif);
}

.detail-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.55;
}

.detail-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  opacity: .48;
}

.experience-grid-profile {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(25,33,30,.16);
  border: 1px solid rgba(25,33,30,.16);
}

.experience-profile-card {
  min-height: 270px;
  padding: 30px;
  background: var(--paper);
}

.experience-profile-card .number {
  display: block;
  margin-bottom: 48px;
  font-size: 10px;
  letter-spacing: .12em;
  opacity: .45;
}

.experience-profile-card h3 {
  margin-bottom: 12px;
  font: 400 32px/1 var(--serif);
}

.experience-profile-card p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(25,33,30,.65);
}

.experience-profile-card small {
  display: block;
  margin-top: 22px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 9px;
  opacity: .55;
}

.profile-good-to-know {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.good-to-know-item {
  padding: 28px;
  border: 1px solid rgba(25,33,30,.16);
}

.good-to-know-item span {
  display: block;
  margin-bottom: 24px;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .5;
}

.good-to-know-item h3 {
  margin-bottom: 12px;
  font: 400 29px/1 var(--serif);
}

.good-to-know-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(25,33,30,.66);
}

.profile-handoff {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  margin: 0 max(28px, 6vw) 110px;
  padding: 48px;
  background: var(--partner-paper);
  color: var(--partner-ink);
}

.profile-handoff h2 {
  margin-bottom: 10px;
  font-size: clamp(42px, 4vw, 62px);
}

.profile-handoff p {
  max-width: 760px;
  margin: 0;
  line-height: 1.6;
  color: rgba(61,42,32,.72);
}

.profile-handoff .partner-button {
  white-space: nowrap;
}

@media (max-width: 980px) {
  .profile-main { padding-top: 70px; }

  .profile-hero {
    grid-template-columns: 1fr;
  }

  .profile-hero-media {
    min-height: 62vh;
  }

  .partner-panel {
    padding: 54px 28px 60px;
  }

  .partner-lockup {
    margin-bottom: 48px;
  }

  .profile-facts {
    grid-template-columns: 1fr 1fr;
  }

  .profile-fact:nth-child(2) {
    border-right: 0;
  }

  .profile-fact:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.14);
  }

  .profile-section {
    padding: 80px 24px;
  }

  .profile-section-heading,
  .partner-story,
  .profile-details-grid {
    grid-template-columns: 1fr;
  }

  .profile-section-heading {
    gap: 30px;
  }

  .profile-gallery {
    grid-template-columns: 1fr;
  }

  .profile-gallery-main {
    min-height: 56vh;
  }

  .profile-gallery-stack {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .profile-gallery-stack figure {
    min-height: 360px;
  }

  .partner-story-media {
    min-height: 56vh;
  }

  .profile-details-title {
    position: static;
  }

  .experience-grid-profile {
    grid-template-columns: 1fr 1fr;
  }

  .profile-good-to-know {
    grid-template-columns: 1fr;
  }

  .profile-handoff {
    grid-template-columns: 1fr;
    margin: 0 24px 80px;
    padding: 34px 28px;
  }
}

@media (max-width: 620px) {
  .profile-breadcrumb {
    overflow-x: auto;
    white-space: nowrap;
    padding-left: 20px;
    padding-right: 20px;
  }

  .profile-hero-media {
    min-height: 52vh;
  }

  .partner-panel h1 {
    font-size: 72px;
  }

  .profile-facts {
    grid-template-columns: 1fr;
  }

  .profile-fact,
  .profile-fact:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
  }

  .profile-fact:last-child { border-bottom: 0; }

  .profile-gallery-stack {
    grid-template-columns: 1fr;
  }

  .profile-gallery-stack figure {
    min-height: 300px;
  }

  .detail-list {
    grid-template-columns: 1fr;
  }

  .experience-grid-profile {
    grid-template-columns: 1fr;
  }

  .experience-profile-card {
    min-height: 220px;
  }

  .profile-handoff {
    margin-left: 20px;
    margin-right: 20px;
  }
}


/* Ubunye simplification pass */
.lodge-simple-heading { margin-bottom: 38px; }

.amenity-tabs {
  display: flex;
  gap: 56px;
  border-bottom: 1px solid rgba(61,42,32,.22);
  margin-bottom: 34px;
}

.amenity-tab {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0 0 18px;
  color: rgba(61,42,32,.52);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .13em;
  cursor: pointer;
}

.amenity-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: transparent;
}

.amenity-tab.active { color: var(--partner-ink); }
.amenity-tab.active::after { background: var(--partner-ink); }

.amenity-panel { min-height: 330px; }

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 72px;
  row-gap: 8px;
}

.amenity-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  align-items: center;
  min-height: 92px;
  border-bottom: 1px solid rgba(61,42,32,.12);
}

.amenity-item svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--partner-ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.amenity-item span {
  font-size: 18px;
  line-height: 1.35;
  color: var(--partner-ink);
}

.amenity-note {
  max-width: 760px;
  margin: 30px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(61,42,32,.58);
}

.ubunye-experiences { padding-top: 90px; }

.experience-feature-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.experience-feature-image {
  position: sticky;
  top: 110px;
  margin: 0;
  min-height: 650px;
  overflow: hidden;
}

.experience-feature-image img {
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
}

.experience-simple-list {
  border-top: 1px solid rgba(25,33,30,.18);
}

.experience-simple-list article {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 23px 0;
  border-bottom: 1px solid rgba(25,33,30,.18);
}

.experience-simple-list article > span {
  font-size: 10px;
  opacity: .42;
}

.experience-simple-list h3 {
  margin: 0 0 5px;
  font: 400 31px/1 var(--serif);
}

.experience-simple-list p {
  margin: 0;
  max-width: 500px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(25,33,30,.63);
}

.experience-simple-list small {
  text-align: right;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(25,33,30,.52);
}

@media (max-width: 900px) {
  .amenity-tabs {
    gap: 30px;
    overflow-x: auto;
    white-space: nowrap;
  }

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

  .experience-feature-layout { grid-template-columns: 1fr; }

  .experience-feature-image {
    position: static;
    min-height: 52vh;
  }

  .experience-feature-image img { min-height: 52vh; }
}

@media (max-width: 600px) {
  .amenity-tabs { gap: 24px; }
  .amenity-tab { font-size: 11px; }

  .amenity-item {
    grid-template-columns: 48px 1fr;
    gap: 16px;
    min-height: 82px;
  }

  .amenity-item svg {
    width: 38px;
    height: 38px;
  }

  .amenity-item span { font-size: 16px; }

  .experience-simple-list article {
    grid-template-columns: 30px 1fr;
    gap: 14px;
  }

  .experience-simple-list small {
    grid-column: 2;
    text-align: left;
    margin-top: -10px;
  }
}


/* Unified editorial icon family */
.amenity-item svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--partner-ink);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 600px) {
  .amenity-item svg {
    width: 34px;
    height: 34px;
  }
}


/* Visit Maputaland identity frame */
.profile-page {
  background: var(--brand-shell);
  font-family: var(--body);
}

.profile-page .site-header {
  background: rgba(253,245,233,.95);
  color: var(--brand-deep);
}

.profile-page .eyebrow {
  font-family: var(--sans);
}

.partner-panel h1,
.profile-section-heading h2,
.profile-handoff h2,
.experience-simple-list h3 {
  font-family: var(--serif);
}

.amenity-tab {
  font-family: var(--sans);
}

.amenity-tab.active::after {
  background: var(--brand-orange);
}

.amenity-item svg {
  stroke: var(--brand-olive);
}


/* ==========================================================
   THONGA / ISIBINDI PERSONALITY LAYER
   Same profile architecture as Ubunye; different operator world.
   ========================================================== */

.thonga-profile .partner-panel {
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), transparent 35%),
    var(--partner-paper);
}

.thonga-profile .isibindi-lockup {
  margin-bottom: 76px;
}

.thonga-profile .isibindi-wordmark {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-left: 16px;
  border-left: 1px solid rgba(49,69,59,.62);
}

.thonga-profile .isibindi-wordmark strong {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--partner-ink);
}

.thonga-profile .isibindi-wordmark span {
  font-family: var(--body);
  font-size: 14px;
  font-style: italic;
  color: rgba(49,69,59,.60);
}

.thonga-profile .partner-kicker {
  color: rgba(49,69,59,.62);
}

.thonga-profile .partner-panel h1 {
  font-size: clamp(72px, 7.4vw, 118px);
  letter-spacing: -.045em;
}

.thonga-profile .partner-pronunciation {
  color: rgba(49,69,59,.48);
}

.thonga-profile .profile-facts {
  background: var(--partner-dark);
}

.thonga-profile .profile-gallery-main,
.thonga-profile .profile-gallery-stack figure,
.thonga-profile .experience-feature-image {
  background: #d8ddd7;
}

.thonga-profile .profile-gallery img,
.thonga-profile .experience-feature-image img {
  filter: saturate(.92) contrast(.97);
}

.thonga-profile .profile-details {
  background: #e9e8df;
}

.thonga-profile .amenity-tab.active {
  color: var(--partner-ink);
}

.thonga-profile .amenity-tab.active::after {
  background: var(--partner-accent);
}

.thonga-profile .amenity-item svg {
  stroke: var(--partner-ink);
}

.thonga-profile .thonga-experiences {
  background:
    linear-gradient(rgba(238,234,224,.84), rgba(238,234,224,.84)),
    url("../assets/brand/palm-pattern.png");
  background-size: auto, 520px 520px;
}

.thonga-profile .profile-handoff {
  background: var(--partner-paper);
}

@media (max-width: 620px) {
  .thonga-profile .isibindi-lockup {
    margin-bottom: 48px;
  }

  .thonga-profile .partner-panel h1 {
    font-size: 72px;
  }
}


/* ==========================================================
   KOSI FOREST / ISIBINDI PERSONALITY LAYER
   Same structure as Ubunye and Thonga.
   ========================================================== */

.kosi-forest-profile .partner-panel {
  background:
    radial-gradient(circle at 80% 14%, rgba(122,156,131,.13), transparent 30%),
    var(--partner-paper);
}

.kosi-forest-profile .isibindi-lockup {
  margin-bottom: 74px;
}

.kosi-forest-profile .isibindi-wordmark {
  display:flex;
  flex-direction:column;
  gap:7px;
  padding-left:16px;
  border-left:1px solid rgba(38,59,49,.58);
}

.kosi-forest-profile .isibindi-wordmark strong {
  font-family:var(--sans);
  font-size:12px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.22em;
  color:var(--partner-ink);
}

.kosi-forest-profile .isibindi-wordmark span {
  font-family:var(--body);
  font-size:14px;
  font-style:italic;
  color:rgba(38,59,49,.58);
}

.kosi-forest-profile .partner-kicker {
  color:rgba(38,59,49,.60);
}

.kosi-forest-profile .partner-panel h1 {
  font-size:clamp(65px,6.6vw,106px);
  letter-spacing:-.045em;
}

.kosi-forest-profile .partner-pronunciation {
  color:rgba(38,59,49,.46);
}

.kosi-forest-profile .profile-facts {
  background:var(--partner-dark);
}

.kosi-forest-profile .profile-gallery img,
.kosi-forest-profile .experience-feature-image img {
  filter:saturate(.88) contrast(.98);
}

.kosi-forest-profile .profile-details {
  background:#E8EAE2;
}

.kosi-forest-profile .amenity-tab.active::after {
  background:var(--partner-accent);
}

.kosi-forest-profile .amenity-item svg {
  stroke:var(--partner-ink);
}

.kosi-forest-profile .kosi-forest-experiences {
  background:
    linear-gradient(rgba(238,236,227,.86), rgba(238,236,227,.86)),
    url("../assets/brand/palm-pattern.png");
  background-size:auto,520px 520px;
}

.kosi-forest-profile .profile-handoff {
  background:var(--partner-paper);
}

@media(max-width:620px){
  .kosi-forest-profile .isibindi-lockup{margin-bottom:48px}
  .kosi-forest-profile .partner-panel h1{font-size:66px}
}


/* ==========================================================
   GUGS / BIG SKIES PERSONALITY LAYER
   Same structure as Ubunye, Thonga and Kosi Forest.
   ========================================================== */

.gugs-profile .partner-panel {
  background:
    radial-gradient(circle at 84% 16%, rgba(185,135,81,.10), transparent 30%),
    var(--partner-paper);
}

.gugs-profile .partner-lockup {
  margin-bottom: 68px;
}

.gugs-profile .partner-panel h1 {
  font-size: clamp(78px, 7.8vw, 124px);
  letter-spacing: -.05em;
}

.gugs-profile .partner-kicker {
  color: rgba(35,54,81,.58);
}

.gugs-profile .partner-pronunciation {
  color: rgba(35,54,81,.46);
}

.gugs-profile .profile-facts {
  background: var(--partner-dark);
}

.gugs-profile .profile-gallery img,
.gugs-profile .experience-feature-image img {
  filter: saturate(.96) contrast(.98);
}

.gugs-profile .profile-details {
  background: #ECE9DE;
}

.gugs-profile .amenity-tab.active::after {
  background: var(--partner-accent);
}

.gugs-profile .amenity-item svg {
  stroke: var(--partner-ink);
}

.gugs-profile .gugs-experiences {
  background:
    linear-gradient(rgba(242,235,221,.88), rgba(242,235,221,.88)),
    url("../assets/brand/palm-pattern.png");
  background-size: auto, 520px 520px;
}

.gugs-profile .profile-handoff {
  background: var(--partner-paper);
}

@media(max-width:620px){
  .gugs-profile .partner-lockup { margin-bottom: 46px; }
  .gugs-profile .partner-panel h1 { font-size: 76px; }
}
