/* =========================================================
   ROOT VARIABLES
   ========================================================= */

:root {
  --page-bg: #ecebea;
  --shell-bg: #15131b;
  --hero-bg: linear-gradient(180deg, #201829 0%, #15131b 100%);
  --hero-bg-credits: linear-gradient(180deg, #201829 0%, #17141d 100%);
  --section-bg: linear-gradient(180deg, #241b2c 0%, #2c2133 100%);
  --section-bg-soft: linear-gradient(180deg, #261d2e 0%, #33263a 100%);
  --section-bg-credits: linear-gradient(180deg, #231b2b 0%, #2c2234 100%);
  --band-bg: linear-gradient(180deg, #1b1520 0%, #211927 100%);
  --contact-bg: linear-gradient(180deg, #221823 0%, #30222f 100%);
  --panel-bg: linear-gradient(135deg, #241c29 0%, #2a1f31 100%);
  --image-overlay: linear-gradient(135deg, #4d2a63 0%, #9a4f7a 52%, #f1b8b4 100%);

  --text-main: #f6f1ed;
  --text-soft: #ddd0c6;
  --text-panel: #e7dce6;
  --text-gold: #d9b26f;
  --text-gold-hover: #f0d8b0;
  --text-hero-accent: #eadce7;
  --text-muted: #cdbec9;
  --text-dark: #2a202d;

  --border-soft: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.35);
  --border-quote: rgba(217,178,111,0.55);
  --quote-bg: rgba(255,255,255,0.045);

  --radius-shell: 2rem;
  --radius-card: 1.5rem;
  --radius-quote: 1.25rem;
  --radius-image: 1.2rem;
  --content-gutter: 3rem;

  --shadow-shell: 0 24px 56px rgba(0, 0, 0, 0.18);
  --shadow-card: 0 18px 34px rgba(0, 0, 0, 0.20);
  --shadow-image: 0 18px 34px rgba(0,0,0,0.20);

  --body-copy-size: 1.08rem;
  --hero-intro-margin-top: 1.25rem;
}

/* =========================================================
   BASE ELEMENTS
   ========================================================= */

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--page-bg);
  color: #1c1917;
}
body {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.45;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 1px solid rgba(217,178,111,0.85);
  outline-offset: 3px;
}

.nav a,
.nav-mobile a,
.primary-link,
.page-link-title,
.brand a,
.skip-link {
  border-radius: 0.2rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 1000;
  padding: 0.65rem 0.9rem;
  background: #15131b;
  color: var(--text-main);
  border: 1px solid rgba(217,178,111,0.75);
  border-radius: 0.5rem;
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.92rem;
  text-decoration: none;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 1rem;
}

/* =========================================================
   PAGE LAYOUT
   ========================================================= */

.page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.25rem;
}
.shell {
  overflow: hidden;
  border-radius: var(--radius-shell);
  background: var(--shell-bg);
  color: var(--text-main);
  box-shadow: var(--shadow-shell);
  border: 1px solid rgba(0,0,0,0.08);
}

/* =========================================================
   SITE HEADER
   ========================================================= */

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem var(--content-gutter);
  background: rgba(0, 0, 0, 0.10);
  border-bottom: 1px solid var(--border-soft);
  font-family: "Cormorant Garamond", Georgia, serif;
}
.brand {
  font-weight: 500;
  font-size: 1.28rem;
  letter-spacing: 0.02em;
  color: #ddd0df;
  opacity: 0.9;
}
/* =========================================================
   DESKTOP NAVIGATION
   ========================================================= */

.nav {
  display: flex;
  gap: 1.8rem;
  font-size: 1.24rem;
  color: #ddd0df;
}

.nav a {
  color: #ddd0df;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text-gold-hover);
}

/* =========================================================
   MOBILE NAV TOGGLE
   ========================================================= */

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #ddd0df;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-toggle:hover {
  color: var(--text-gold-hover);
}

.nav-toggle:focus-visible {
  outline: 1px solid rgba(217,178,111,0.75);
  outline-offset: 2px;
}

.nav-toggle-box {
  position: relative;
  width: 1.15rem;
  height: 0.9rem;
  display: block;
}

.nav-toggle-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.22s ease, opacity 0.18s ease, top 0.22s ease;
}

.nav-toggle-line:nth-child(1) { top: 0.05rem; }
.nav-toggle-line:nth-child(2) { top: calc(50% - 0.5px); }
.nav-toggle-line:nth-child(3) { top: calc(100% - 1px); }

/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

.nav-mobile {
  display: none;
}

.nav-mobile-inner {
  display: grid;
  gap: 0.95rem;
}

.nav-mobile a {
  display: inline-block;
  width: fit-content;
  font-size: 1.08rem;
  line-height: 1.2;
  color: var(--text-main);
  transition: color 0.2s ease, box-shadow 0.2s ease;
}

.nav-mobile a:hover {
  color: var(--text-gold-hover);
}

/* =========================================================
   TYPOGRAPHY HELPERS
   ========================================================= */

.eyebrow {
  margin: 0 0 1.35rem 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-gold);
}

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 5vw, 4.9rem);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
h1 .sub {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--text-hero-accent);
}
.hero-intro {
  margin-top: var(--hero-intro-margin-top);
  font-size: var(--body-copy-size);
  line-height: 1.6;
  color: var(--text-soft);
}

body[data-page="profile"] .hero-intro,
body[data-page="approach"] .hero-intro {
  color: var(--text-panel);
}

.pull-quote {
  max-width: 35rem;
  margin: 1.55rem 0 0 1.4rem;
  padding: 0.2rem 0 0.2rem 1.25rem;
  border-left: 2px solid var(--text-gold);
  color: var(--text-main);
  font-size: 1.43rem;
  line-height: 1.35;
  font-style: italic;
}
.hero-rule {
  width: 100%;
  max-width: 12rem;
  height: 1px;
  margin-top: 1.5rem;
  background: linear-gradient(90deg, rgba(217,178,111,0.9), rgba(217,178,111,0));
}

.label,
.contact-copy .label,
.section-label {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.8rem;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-gold);
}

/* =========================================================
   CONTENT SECTIONS
   ========================================================= */

.section {
  padding: 2rem var(--content-gutter) 2.2rem;
  background: var(--section-bg);
  border-top: 1px solid var(--border-soft);
}
.section.soft {
  background: var(--section-bg-soft);
}
.section-grid {
  display: grid;
  grid-template-columns: minmax(11rem, 14rem) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.section-label {
  padding-top: 0.3rem;
  font-size: 0.78rem;
}
.section-label::after {
  content: "";
  display: block;
  width: min(8.5rem, 100%);
  height: 1px;
  margin-top: 0.72rem;
  background: linear-gradient(90deg, rgba(217,178,111,0.9), rgba(217,178,111,0));
}
.section-body {
  max-width: 56rem;
}

.section-body p {
  margin: 0 0 1rem 0;
  font-size: var(--body-copy-size);
  line-height: 1.6;
  color: var(--text-panel);
}

/* =========================================================
   SPLIT HERO LAYOUT
   ========================================================= */
.hero--split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: stretch;
  overflow: visible;
  background: var(--hero-bg);
}
.hero--split .hero-copy {
  position: relative;
  z-index: 2;
  padding: 1.35rem 2rem 1.6rem var(--content-gutter);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}
.hero--split .hero-image {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  overflow: visible;
  min-width: 0;
  z-index: 2;
}
.hero--split .hero-image-portrait {
  display: block;
  flex: 0 0 auto;
  width: calc(100% + var(--hero-image-left-overflow, 0rem));
  height: auto;
  max-width: none;
  z-index: 2;
  pointer-events: none;
}
.hero--split .hero-image-stacked {
  display: none;
  z-index: 2;
  pointer-events: none;
}

.image-card {
  position: relative;
  border-radius: var(--radius-image);
  overflow: visible;
  box-shadow: var(--shadow-image);
  align-self: start;
  background: #050507;
  isolation: isolate;
}
.image-flourish::after {
  content: "";
  position: absolute;
  right: clamp(-0.85rem, -1.2vw, -0.45rem);
  bottom: clamp(-1rem, -1.25vw, -0.55rem);
  width: clamp(17.5rem, 109%, 27rem);
  aspect-ratio: 7 / 2;
  background: url('../images/hero-strand.webp') no-repeat right bottom / contain;
  transform: translate(12%, 50%);
  pointer-events: none;
  z-index: 2;
}

/* =========================================================
   STORY IMAGE LAYOUT
   ========================================================= */

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(16rem, 20rem);
  gap: 1.6rem 2rem;
  align-items: start;
}
.story-copy {
  min-width: 0;
}
.story-image {
  width: 100%;
  max-width: 20rem;
  justify-self: end;
}
.story-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
}

/* =========================================================
   SHARED PAGE LINKS
   ========================================================= */
.page-links-wrap {
  width: min(100%, 42rem);
  margin: 2rem 0 0 auto;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  clear: both;
}
.page-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
}
.page-link-card {
  min-width: 0;
}
.page-link-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-panel);
}
.page-link-title {
  display: inline-block;
  margin: 1.15rem 0 0 0;
  color: var(--text-gold);
  font-size: 1.16rem;
  line-height: 1.2;
}
.page-link-title:hover {
  color: var(--text-gold-hover);
}
.page-links-wrap.in-connect {
  width: 100%;
  margin: 0 0 1.85rem 0;
  padding-top: 0;
  border-top: 0;
  clear: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.page-links-wrap.in-connect .label {
  margin: 0 0 1.15rem 0;
  display: block;
}
.page-links.in-connect {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.85rem 2.4rem;
}
.page-links.in-connect .page-link-card {
  padding: 0;
}

/* =========================================================
   CONTACT STRIP
   ========================================================= */

.contact-strip {
  background: var(--contact-bg);
  border-top: 1px solid var(--border-soft);
  padding: 2rem var(--content-gutter) 2.2rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}
.contact-grid.has-page-links {
  grid-template-columns: 1fr;
  gap: 0;
}
.contact-main {
  display: grid;
  gap: 0;
  min-width: 0;
}
.contact-main.with-explore {
  grid-template-columns: 1fr;
  gap: 1.6rem;
  align-items: start;
  align-content: start;
  justify-content: start;
  width: min(100%, 58rem);
}
.contact-copy {
  display: grid;
  align-content: start;
  gap: 0;
  padding-top: 0;
}
.contact-copy.compact {
  max-width: none;
}
.contact-copy .label {
  margin: 0 0 0.9rem 0;
}
.contact-copy.compact .contact-links {
  margin: 0;
}
.contact-nav {
  min-width: 0;
  align-self: start;
  padding-top: 0;
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.25rem;
  justify-content: flex-start;
  align-self: start;
  padding-top: 0;
}
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.04rem;
  color: var(--text-main);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 0.1rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.contact-links a:hover {
  color: var(--text-gold-hover);
  border-color: currentColor;
}
.contact-links .primary-link {
  color: var(--text-gold);
}
.icon {
  width: 1rem;
  height: 1rem;
  display: inline-block;
  color: currentColor;
  flex: 0 0 auto;
}

/* =========================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================= */

@media (max-width: 1100px) {
  html, body {
    background: var(--shell-bg);
  }

  .page {
    padding: 0;
    max-width: none;
  }

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

  .section-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
}

@media (max-width: 1000px) {
  .hero--split { grid-template-columns: 1fr; }
  .hero--split .hero-copy { padding-right: 2rem; padding-bottom: 1.6rem; }
  .hero--split .hero-image {
    width: 100%;
    min-height: 0;
    max-height: none;
    overflow: hidden;
    align-items: stretch;
  }
  .hero--split .hero-image-portrait { display: none; }
  .hero--split .hero-image-stacked {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
}

@media (max-width: 980px) {
  .story-layout {
    grid-template-columns: 1fr;
  }
  .story-image {
    max-width: 22rem;
    justify-self: start;
  }
  .image-flourish::after { display: none; }
}

@media (max-width: 900px) {
  .story-image {
    width: 100%;
  }
  .contact-main.with-explore {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
  }
  .contact-copy.compact {
    max-width: none;
  }
  .contact-links {
    justify-content: flex-start;
  }
  .page-links,
  .page-links.in-connect {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --content-gutter: 1rem;
  }

  .hero--split .hero-copy {
    padding: 2rem var(--content-gutter) 1.7rem;
  }
  .image-flourish::after {
    right: -0.45rem;
    bottom: -0.56rem;
    width: clamp(13.5rem, 75vw, 19.5rem);
  }

  .topbar {
    position: relative;
    flex-wrap: wrap;
    padding: 0.9rem 1rem 0.45rem;
    row-gap: 0;
    border-bottom: 0;
  }

  .topbar.nav-open {
    padding-bottom: 0;
  }

  .brand {
    font-size: 1.22rem;
    line-height: 1.1;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    align-self: center;
  }

  .nav-mobile {
    display: block;
    flex: 0 0 100%;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.28s ease, opacity 0.2s ease, visibility 0.2s ease;
  }

  .nav-mobile::after {
    content: "";
    display: block;
    width: min(10.5rem, 100%);
    height: 1px;
    margin-top: 1rem;
    background: linear-gradient(90deg, rgba(217,178,111,0.9), rgba(217,178,111,0));
  }

  .nav-mobile-inner {
  padding: 0.55rem 0 0;
  gap: 0.2rem;
  }

  .nav-mobile a {
  display: block;
  width: 100%;
  padding: 0.55rem 0;
  font-size: 1.18rem;
  line-height: 1.35;
  color: var(--text-main);
  transition: color 0.2s ease, box-shadow 0.2s ease;
  }

  .nav-mobile a:hover {
    color: var(--text-gold-hover);
  }

  .topbar.nav-open .nav-mobile {
    max-height: 14rem;
    opacity: 1;
    visibility: visible;
    padding-bottom: 0.85rem;
  }

  .topbar.nav-open .nav-toggle {
    color: #ddd0df;
    background: rgba(255,255,255,0.03);
  }

  .topbar.nav-open .nav-toggle-line:nth-child(1) {
    top: calc(50% - 0.5px);
    transform: rotate(45deg);
  }

  .topbar.nav-open .nav-toggle-line:nth-child(2) {
    opacity: 0;
  }

  .topbar.nav-open .nav-toggle-line:nth-child(3) {
    top: calc(50% - 0.5px);
    transform: rotate(-45deg);
  }

  .section,
  .contact-strip {
    padding-left: var(--content-gutter);
    padding-right: var(--content-gutter);
  }

  .page-link-title,
  .page-link-card p {
    font-size: 0.96rem;
  }

  h1 {
    font-size: clamp(2.8rem, 11vw, 4.2rem);
  }

  .hero-intro {
    font-size: 1.06rem;
    line-height: 1.58;
  }

  .section-body p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .pull-quote {
    max-width: 100%;
    margin: 1.2rem 0 0 0.9rem;
    padding: 0.1rem 0 0.1rem 1rem;
    font-size: 1.2rem;
    line-height: 1.32;
  }
}