/* ==========================================================
   SoulinEssence by Minna Ågren — Homepage
   Layout modelled on a framed, editorial wellness page
   ========================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/jost-latin-300-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/jost-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/jost-latin-500-normal.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --ivory: #f5ede4;
  --paper: #fbf6f0;
  --sand: #ecdccd;
  --stone: #c9b6a8;
  --clay: #b9877a;
  --rose: #d7aea7;
  --mauve: #8a5552;
  --mauve-deep: #6f4240;
  --earth: #3a2826;
  /* dark sections (reference's olive, translated to brand) */
  --earth-2: #4a3532;
  --charcoal: #2b2321;
  --ink-soft: #4d413d;
  --ink-mute: #6e605a;
  --line: rgba(43, 35, 33, .14);
  --line-light: rgba(245, 237, 228, .18);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(16px, 5vw, 72px);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .17 0 0 0 0 .13 0 0 0 0 .11 0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #d9cfc6;
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

/* let aspect-ratio rules win over the HTML height attribute */
a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
p,
figure,
dl,
dd,
blockquote {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

em {
  font-style: italic;
}

:focus-visible {
  outline: 2px solid var(--mauve);
  outline-offset: 3px;
  border-radius: 6px;
}

.dark :focus-visible {
  outline-color: var(--rose);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
}

.skip-link:focus {
  top: 16px;
}

/* The framed "sheet" from the reference */
.page {
  position: relative;
  max-width: 1800px;
  margin: 24px auto;
  background: var(--ivory);
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
}

.page::before {
  /* paper texture */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  background-image: var(--grain);
  opacity: .06;
  mix-blend-mode: multiply;
}

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--mauve);
  margin-bottom: 12px;
}

.dark .eyebrow {
  color: var(--rose);
}

.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -.01em;
  max-width: 16ch;
  text-wrap: balance;
}

.h2 em {
  font-weight: 400;
  color: var(--mauve);
}

.dark .h2 em {
  color: var(--rose);
}

.h2--center {
  margin-inline: auto;
  text-align: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mauve);
  padding: 12px 0;
}

.link-arrow svg,
.btn svg,
.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .3s var(--ease);
}

.link-arrow:hover svg,
.btn:hover svg {
  transform: translateX(3px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}

.btn--sm {
  min-height: 44px;
  padding: 0 20px;
}

.btn--primary {
  background: var(--mauve);
  color: #fbf3ec;
}

.btn--primary:hover {
  background: var(--mauve-deep);
  transform: translateY(-1px);
}

.btn--dark {
  background: var(--earth);
  color: var(--ivory);
}

.btn--dark:hover {
  background: var(--mauve);
}

.btn--glass {
  color: #fff8f2;
  border: 1px solid rgba(255, 248, 242, .6);
  background: rgba(255, 248, 242, .12);
  backdrop-filter: blur(8px);
}

.btn--glass:hover {
  background: #fff8f2;
  color: var(--charcoal);
}

.icon-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  transition: background .3s var(--ease), color .3s var(--ease);
}

.icon-btn:hover {
  background: var(--ivory);
  color: var(--earth);
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--pad);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--earth);
}

.brand__mark {
  width: 34px;
  height: 34px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
}

.brand__by {
  margin-top: 3px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--mauve);
}

.nav ul {
  display: flex;
  gap: 34px;
}

.nav a {
  display: inline-block;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
  transition: color .25s var(--ease);
}

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

.header__aside {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang a {
  min-width: 44px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--ink-mute);
}

.lang a[aria-current="true"] {
  background: var(--sand);
  color: var(--charcoal);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin: 0 clamp(12px, 2vw, 28px);
  height: clamp(560px, 70vw, 780px);
  max-height: 90vh;
  /* ×1.15 zoom ≈ 90vh, keeps the headline above the fold */
  border-radius: 24px;
  overflow: hidden;
  color: #fff8f2;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 25%;
  z-index: -2;
  /* keep the figure right of the headline */
}

.hero::after {
  /* legibility scrim */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(43, 28, 26, .72) 0%, rgba(43, 28, 26, .15) 45%, rgba(43, 28, 26, .25) 100%),
    linear-gradient(to right, rgba(43, 28, 26, .35), transparent 55%);
}

.tags {
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 340px;
}

.tags li {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 248, 242, .55);
  background: rgba(255, 248, 242, .1);
  backdrop-filter: blur(6px);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.tags li.is-active {
  background: #fff8f2;
  color: var(--charcoal);
}

.hero__note {
  position: absolute;
  top: 28px;
  right: 32px;
  text-align: right;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero__note span {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  opacity: .9;
}

.hero__vertical {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-size: 10.5px;
  letter-spacing: .34em;
  text-transform: uppercase;
  opacity: .75;
}

.hero__content {
  position: absolute;
  left: clamp(24px, 4vw, 56px);
  bottom: clamp(28px, 4vw, 52px);
  max-width: 640px;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(52px, 8vw, 80px);
  line-height: .9;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.hero__title em {
  display: block;
  font-weight: 400;
  text-transform: none;
  color: #f2d5cc;
}

.hero__lede {
  margin-top: 18px;
  max-width: 420px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.founder-card {
  position: absolute;
  right: 24px;
  bottom: 50px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 168px;
  padding: 8px 8px 12px;
  border-radius: 18px;
  background: rgba(255, 248, 242, .16);
  border: 1px solid rgba(255, 248, 242, .45);
  backdrop-filter: blur(14px);
  transition: transform .3s var(--ease), background .3s var(--ease);
}

.founder-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 248, 242, .26);
}

.founder-card img {
  width: 100%;
  height: 112px;
  object-fit: cover;
  border-radius: 12px;
}

.founder-card__text {
  display: flex;
  flex-direction: column;
  padding-inline: 4px;
  line-height: 1.2;
}

.founder-card__eyebrow {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .9;
}

.founder-card__name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
}

/* ---------- About ---------- */
.about {
  padding: clamp(64px, 9vw, 120px) var(--pad);
}

.statement {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -.005em;
  text-transform: uppercase;
}

.statement em {
  text-transform: none;
  font-weight: 400;
  color: var(--mauve);
}

.statement span {
  color: var(--stone);
}

.about__intro {
  max-width: 460px;
  margin: 36px 0 0 auto;
  margin-right: max(0px, calc(50% - 500px));
  color: var(--ink-soft);
  font-weight: 300;
}

.about__intro .link-arrow {
  margin-top: 10px;
}

.about__gallery {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 20px;
  align-items: end;
  max-width: 760px;
  margin: 40px auto 0;
  transform: translateX(-12%);
}

.about__small {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
}

.about__photo {
  width: 100%;
  aspect-ratio: 5 / 5.6;
  object-fit: cover;
  object-position: 40% 50%;
  border-radius: 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: clamp(56px, 7vw, 96px) auto 0;
}

.stats div {
  display: flex;
  flex-direction: column-reverse;
}

.stats dd {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1;
  color: var(--earth);
}

.stats dt {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  max-width: 12ch;
}

/* ---------- Dark sections ---------- */
.dark {
  background: var(--earth);
  color: var(--ivory);
}

/* ---------- Ways to work ---------- */
.work {
  padding: clamp(64px, 8vw, 100px) 0 clamp(64px, 8vw, 100px) var(--pad);
}

.work__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-right: var(--pad);
}

.work .h2 {
  max-width: 18ch;
  text-transform: uppercase;
  font-size: clamp(30px, 3.4vw, 46px);
}

.carousel-nav {
  display: flex;
  gap: 10px;
}

.cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(250px, 24vw, 300px);
  gap: 16px;
  margin-top: 44px;
  padding-right: var(--pad);
  padding-bottom: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.cards::-webkit-scrollbar {
  display: none;
}

.card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 22px;
  border: 1px solid var(--line-light);
  border-radius: 18px;
  transition: background .35s var(--ease), border-color .35s var(--ease);
}

.card:hover,
.card--featured {
  background: var(--earth-2);
  border-color: rgba(245, 237, 228, .3);
}

.card__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--rose);
}

.card__icon {
  width: 36px;
  height: 36px;
  margin-top: auto;
  fill: none;
  stroke: var(--rose);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__title {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.1;
}

.card p {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(245, 237, 228, .78);
}

.card__link {
  margin-top: 16px;
  padding: 10px 0;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rose);
  border-bottom: 1px solid currentColor;
}

/* ---------- Offerings ---------- */
.offerings {
  padding: clamp(64px, 9vw, 120px) var(--pad);
}

.offerings .h2 {
  text-transform: uppercase;
  font-size: clamp(30px, 3.4vw, 46px);
  max-width: 20ch;
}

.offerings__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(32px, 6vw, 96px);
  margin-top: 48px;
  align-items: start;
}

.offerings__media {
  position: relative;
  padding-bottom: 60px;
}

.offerings__media img {
  width: 78%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  object-position: 50% 15%;
  border-radius: 18px;
}

.offerings__badge {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 60%;
  padding: 20px;
  border-radius: 16px;
  transform: rotate(-4deg);
  background: var(--earth);
  color: var(--ivory);
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.35;
  box-shadow: 0 20px 40px -20px rgba(43, 28, 26, .6);
}

.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 300;
  font-size: 24px;
  color: var(--mauve);
  transition: transform .3s var(--ease);
}

.accordion details[open] summary::after {
  transform: rotate(45deg);
}

.accordion details p {
  padding: 0 0 22px;
  max-width: 52ch;
  font-weight: 300;
  color: var(--ink-soft);
}

/* ---------- Benefits ---------- */
.benefits {
  padding: 0 var(--pad) clamp(72px, 9vw, 120px);
  text-align: center;
}

.benefits__sub {
  max-width: 46ch;
  margin: 16px auto 0;
  font-weight: 300;
  color: var(--ink-soft);
}

.benefits__grid {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 380px) 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-top: 56px;
}

.benefits__col {
  display: grid;
  gap: 44px;
}

.benefits__col:first-child {
  text-align: left;
}

.benefits__col:last-child {
  text-align: right;
}

.benefits__col h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.1;
}

.benefits__col p {
  margin-top: 6px;
  font-size: 14.5px;
  font-weight: 300;
  color: var(--ink-soft);
}

.benefits__center {
  position: relative;
  aspect-ratio: 1;
}

.benefits__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--clay);
  opacity: .55;
}

.benefits__center img {
  position: absolute;
  inset: 14%;
  width: 72%;
  height: 72%;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 50%;
}

/* ---------- Big type banner ---------- */
.banner {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 5vw, 64px) var(--pad) clamp(32px, 4vw, 48px);
  min-height: clamp(460px, 48vw, 640px);
}

.banner__top {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
  font-weight: 300;
  max-width: 100%;
}

.banner__top p:first-child {
  max-width: 300px;
}

.banner__top strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.banner__right {
  text-align: right;
  font-family: var(--serif);
  font-size: 20px;
}

.banner__word {
  position: relative;
  z-index: 1;
  margin-top: clamp(24px, 4vw, 48px);
  display: flex;
  justify-content: space-between;
  font-family: var(--serif);
  font-weight: 600;
  line-height: .8;
  font-size: clamp(110px, 21vw, 300px);
  letter-spacing: -.03em;
}

.banner__outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ivory);
  position: relative;
  z-index: 3;
}

.banner__img {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  height: 92%;
  width: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 22%);
  mask-image: linear-gradient(to top, transparent 0, #000 22%);
}

.banner__echo {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-family: var(--serif);
  font-weight: 600;
  line-height: .8;
  font-size: clamp(60px, 12vw, 170px);
  letter-spacing: -.03em;
  color: var(--earth-2);
}

.banner__caption {
  position: absolute;
  z-index: 3;
  left: 52%;
  bottom: 40px;
  margin-left: 40px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.5;
  opacity: .8;
}

/* ---------- Gatherings ---------- */
.gatherings {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding: clamp(64px, 9vw, 120px) var(--pad);
}

.gatherings__img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  border-radius: 20px;
}

.gatherings .h2 {
  text-transform: uppercase;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tabs button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: background .25s var(--ease), color .25s var(--ease);
}

.tabs button:hover {
  border-color: var(--mauve);
}

.tabs button[aria-selected="true"] {
  background: var(--earth);
  color: var(--ivory);
  border-color: var(--earth);
}

.slots {
  display: grid;
  gap: 10px;
  margin: 22px 0 28px;
}

.slots[hidden] {
  display: none;
}

.slots li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-soft);
}

.slots li span {
  min-width: 84px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mauve);
}

.slots li.is-active {
  background: var(--sand);
  border-color: transparent;
  color: var(--charcoal);
}

/* ---------- Testimonials ---------- */
.voices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding: 0 var(--pad) clamp(72px, 9vw, 120px);
}

.voices__people {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.voices__people img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ivory);
}

.voices__people img+img {
  margin-left: -12px;
}

.voices__people em {
  margin-left: 14px;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--mauve);
}

.voices .h2 {
  text-transform: uppercase;
  font-size: clamp(30px, 3.4vw, 46px);
}

.voices__sub {
  margin-top: 16px;
  max-width: 40ch;
  font-weight: 300;
  color: var(--ink-soft);
}

.quote {
  padding: clamp(28px, 4vw, 48px);
  border-radius: 22px;
  text-align: center;
}

.quote__mark {
  width: 36px;
  margin: 0 auto 22px;
  fill: var(--rose);
}

.quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
}

.quote figcaption {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
}

.quote strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.quote figcaption span {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .7;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  padding: clamp(56px, 7vw, 88px) var(--pad) 40px;
}

.footer__word {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(72px, 13vw, 190px);
  line-height: .82;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

.footer__word sup {
  font-size: .14em;
  font-weight: 400;
  letter-spacing: .1em;
  vertical-align: top;
  position: relative;
  top: .6em;
}

.footer__word--mute {
  color: var(--earth-2);
}

.footer__nav {
  position: absolute;
  top: clamp(56px, 7vw, 88px);
  right: var(--pad);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer__nav a {
  padding: 8px 0;
  font-size: 14px;
  opacity: .8;
  transition: opacity .25s;
}

.footer__nav a:hover {
  opacity: 1;
  color: var(--rose);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-top: 48px;
}

.footer__info {
  max-width: 340px;
  display: grid;
  gap: 22px;
  justify-items: start;
  font-weight: 300;
  opacity: .9;
}

.footer__small {
  font-size: 12px;
  opacity: .6;
}

.footer__card {
  width: min(380px, 100%);
  position: relative;
}

.footer__card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
}

.footer__card figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.footer__card figcaption span {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .85;
}

/* Scale all type, spacing and components up ~15% on desktop; children still fill the 1800px frame */
@media (min-width: 1200px) {
  .page>* {
    zoom: 1.15;
  }
}

/* ==========================================================
   Motion layer (paired with animations.js)
   ========================================================== */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

/* Intro loader — only exists for motion users; CSS failsafe hides it if JS never runs */
.loader {
  display: none;
}

.anim .loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--earth);
  color: var(--ivory);
  clip-path: inset(0 0 0 0);
  animation: loader-failsafe 0s 5s forwards;
}

@keyframes loader-failsafe {
  to {
    visibility: hidden;
  }
}

.loader__word {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 7vw, 110px);
  letter-spacing: -.01em;
}

/* Oversized hero image gives the parallax room to travel */
.anim .hero__img {
  top: -16%;
  height: 116%;
  will-change: transform;
}

/* Custom cursor (fine pointers only) */
.cursor {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .anim .cursor {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 90;
    pointer-events: none;
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    border-radius: 50%;
    background: #fff;
    mix-blend-mode: difference;
    opacity: 0;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s;
  }

  .anim .cursor.is-on {
    opacity: 1;
  }

  .anim .cursor.is-hover {
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
  }
}

/* Buttons: colour sweeps up from below */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--earth);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}

.btn:hover::before {
  transform: none;
}

.btn--primary:hover {
  background: var(--mauve);
}

/* base stays put; ::before does the colour change */
.btn--dark:hover {
  background: var(--earth);
}

.btn--dark::before,
.dark .btn--primary::before {
  background: var(--clay);
}

.btn--glass::before {
  background: #fff8f2;
}

/* Nav + text links: underline draws in */
.nav a,
.link-arrow,
.footer__nav a {
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 1px no-repeat;
  transition: background-size .5s var(--ease), color .25s;
}

.nav a:hover,
.link-arrow:hover,
.footer__nav a:hover {
  background-size: 100% 1px;
}

.card__link {
  transition: letter-spacing .4s var(--ease);
}

.card:hover .card__link {
  letter-spacing: .26em;
}

/* Cards: pointer spotlight + icon lift */
.card {
  background-image: radial-gradient(260px circle at var(--mx, -50%) var(--my, -50%), rgba(215, 174, 167, .18), transparent 70%);
  transform-style: preserve-3d;
}

.card__icon {
  transition: transform .5s var(--ease);
}

.card:hover .card__icon {
  transform: translateY(-6px) rotate(-8deg);
}

.quote {
  background-image: radial-gradient(320px circle at var(--mx, 50%) var(--my, -50%), rgba(215, 174, 167, .14), transparent 70%);
}

/* Accordion: smooth open/close where supported */
:root {
  interpolate-size: allow-keywords;
}

.accordion details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size .6s var(--ease), content-visibility .6s allow-discrete;
}

.accordion details[open]::details-content {
  block-size: auto;
}

.accordion summary {
  transition: padding-left .4s var(--ease), color .3s;
}

.accordion summary:hover {
  padding-left: 10px;
  color: var(--mauve);
}

/* List rows, image frames */
.slots li {
  transition: background .35s var(--ease), transform .35s var(--ease);
}

.slots li:hover {
  background: var(--sand);
  transform: translateX(6px);
}

.footer__card {
  overflow: hidden;
  border-radius: 18px;
}

.footer__card img {
  transition: transform 1.2s var(--ease);
}

.footer__card:hover img {
  transform: scale(1.08);
}

.founder-card img {
  transition: transform .8s var(--ease);
}

.founder-card:hover img {
  transform: scale(1.06);
}

.tags li {
  transition: background .3s var(--ease), color .3s var(--ease);
}

.tags li:hover {
  background: rgba(255, 248, 242, .3);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav {
    display: none;
  }

  /* shortcut: no mobile menu; add a toggle if nav is needed on small screens */
}

@media (max-width: 860px) {
  .page {
    margin: 0;
    border-radius: 0;
  }

  .lang {
    display: none;
  }

  .hero__vertical,
  .hero__note {
    display: none;
  }

  .founder-card {
    display: none;
  }

  .about__gallery {
    transform: none;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .offerings__grid,
  .gatherings,
  .voices {
    grid-template-columns: 1fr;
  }

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

  .benefits__col:first-child,
  .benefits__col:last-child {
    text-align: center;
  }

  .benefits__center {
    max-width: 300px;
    margin: 0 auto;
    order: -1;
  }

  .banner__caption {
    display: none;
  }

  .footer__nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 32px;
    align-items: center;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 520px) {
  .site-header .btn {
    display: none;
  }

  .hero {
    margin: 0 12px;
  }

  .tags {
    left: 16px;
    top: 16px;
  }

  .about__intro {
    margin-left: 0;
  }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}