html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(146, 112, 43, .28);
  color: #ffffff;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #92702b;
  outline-offset: 3px;
}

.media-placeholder {
  background:
    linear-gradient(135deg, rgba(146, 112, 43, .06), transparent 55%),
    #f8f7f4;
  border: 1px dashed rgba(146, 112, 43, .4);
}

.portrait-video-shell {
  width: min(100%, 17rem);
  overflow: hidden;
  border: 1px solid rgba(146, 112, 43, .4);
  background: #090a09;
}

.portrait-video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #090a09;
}

.portrait-video-fallback {
  margin: 0;
  padding: .65rem .8rem;
  color: #bdb8aa;
  font-size: .75rem;
  line-height: 1.5;
}

.portrait-video-fallback a {
  color: #ead49a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Shared presentation refinements */
body {
  letter-spacing: -0.01em;
}

header a,
header button,
footer a,
.fixed {
  transition-timing-function: ease;
  transition-duration: 180ms;
}

header nav[aria-label="Main navigation"] {
  gap: clamp(0.65rem, 1.15vw, 1.15rem);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

header nav[aria-label="Main navigation"] a {
  position: relative;
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.1rem;
  border: 0;
  border-radius: 0;
  color: #393730;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 180ms ease;
}

header nav[aria-label="Main navigation"] a::after {
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  left: 0;
  height: 2px;
  background: #92702b;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

header nav[aria-label="Main navigation"] a:hover,
header nav[aria-label="Main navigation"] a[aria-current="page"] {
  color: #171717;
}

header nav[aria-label="Main navigation"] a:hover::after,
header nav[aria-label="Main navigation"] a[aria-current="page"]::after {
  transform: scaleX(1);
}

header nav[aria-label="Main navigation"] a[aria-current="page"] {
  color: #765b24;
}

header.sticky {
  background: rgba(255, 255, 255, 0.97) !important;
  border-bottom-color: #e5e0d6 !important;
  color: #171717;
}

header > div > a[href^="https://wa.me/"] {
  min-height: 2.65rem;
  justify-content: center;
  border: 1px solid #92702b !important;
  border-radius: 999px;
  background: #92702b !important;
  color: #fff !important;
  padding: 0.6rem 1rem !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
}

header > div > a[href^="https://wa.me/"]:hover {
  border-color: #765b24 !important;
  background: #765b24 !important;
  color: #fff !important;
}

header nav[aria-label="Mobile navigation"] {
  border-top: 1px solid #e5e0d6 !important;
  background: #fff !important;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

header nav[aria-label="Mobile navigation"] a {
  display: flex;
  min-height: 3rem;
  align-items: center;
  margin-bottom: 0;
  padding: 0.7rem 0.15rem;
  border: 0;
  border-bottom: 1px solid #eeeae2;
  border-radius: 0;
  background: transparent;
  color: #393730;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 180ms ease;
}

header nav[aria-label="Mobile navigation"] a:hover {
  color: #765b24;
}

header nav[aria-label="Mobile navigation"] a[aria-current="page"] {
  color: #765b24;
}

header nav[aria-label="Mobile navigation"] > a:last-child {
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.8rem;
  border: 1px solid #92702b !important;
  border-radius: 999px;
  background: #92702b;
  color: #fff;
  padding-inline: 1rem;
}

main section {
  position: relative;
}

main h1.font-display {
  font-size: clamp(2.25rem, 4.5vw, 4rem);
}

main h2.font-display {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

main li h2.font-display {
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
}

main h3.font-display {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
}

video,
iframe,
img {
  border-radius: 0.5rem;
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  h1,
  h2 {
    text-wrap: balance;
  }

  .fixed.bottom-6.right-6 {
    bottom: 1rem;
    right: 1rem;
  }
}

.programmes-page #top > section > div > ol.grid:last-of-type {
  gap: 1rem;
  border: 0;
}

.programmes-page #top > section > div > ol.grid:last-of-type > li {
  min-width: 0;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid #e5e0d6;
  border-radius: 0.75rem;
  background: linear-gradient(160deg, #fff 0%, #f8f7f4 100%);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.programmes-page #top > section > div > ol.grid:last-of-type > li:hover,
.programmes-page #top > section > div > ol.grid:last-of-type > li:focus-within {
  transform: translateY(-3px);
  border-color: rgba(146, 112, 43, 0.55);
  box-shadow: 0 14px 32px rgba(23, 23, 23, 0.08);
}

.programmes-page #top > section > div > ol.grid:last-of-type > li h2 {
  min-height: 2.8rem;
}

.programmes-page #top > section > div > ol.grid:last-of-type > li > div:last-child {
  padding-top: 1.1rem;
  border-top: 1px solid #e5e0d6;
}

.programmes-page #top > section > div > ol.grid:last-of-type > li > div:last-child > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid #92702b;
  border-radius: 0.4rem;
  background: #92702b;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.programmes-page #top > section > div > ol.grid:last-of-type > li > div:last-child > a:hover {
  border-color: #765b24;
  background: #765b24;
  color: #fff;
}

.programmes-page #top > section > div > a[href="process.html"] span {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .programmes-page #top > section > div > ol.grid:last-of-type > li,
  .programmes-page #top > section > div > ol.grid:last-of-type > li > div:last-child > a {
    transition: none;
  }
}

@media (max-width: 767px) {
  .programmes-page #top > section > div > ol.grid:last-of-type {
    gap: 0.75rem;
  }

  .programmes-page #top > section > div > ol.grid:last-of-type > li h2 {
    min-height: 0;
  }
}

.home-page .portrait-video-shell {
  border-color: rgba(146, 112, 43, 0.38);
  border-radius: 0.75rem;
  box-shadow: 0 18px 44px rgba(23, 23, 23, 0.12);
}

.home-page main > section:first-child h1.font-display {
  font-size: clamp(2.25rem, 3.5vw, 3rem);
}

.home-page .home-credibility {
  display: grid;
  width: min(100%, 34rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.home-page .home-credibility > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #e5e0d6;
  border-radius: 0.55rem;
  background: #fff;
}

.home-page .home-credibility span {
  color: #706b62;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page .home-credibility strong {
  color: #171717;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}

.home-page .home-hero-note {
  margin: 0.6rem 0 0;
  color: #625e56;
  font-size: 0.76rem;
  line-height: 1.5;
}

.home-page .home-founder-figure {
  width: min(100%, 17rem);
  margin: 0;
}

.home-page .home-founder-caption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border: 1px solid #e5e0d6;
  border-top: 0;
  border-radius: 0 0 0.65rem 0.65rem;
  background: #fff;
  padding: 0.85rem 1rem;
}

.home-page .home-founder-caption strong {
  color: #171717;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 0.9rem;
}

.home-page .home-founder-caption span {
  color: #706b62;
  font-size: 0.72rem;
}

.home-page main > section:first-child .flex.flex-wrap.gap-3 a {
  min-height: 2.9rem;
  border-radius: 0.4rem;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.home-page main > section:first-child .flex.flex-wrap.gap-3 a:hover {
  transform: translateY(-1px);
}

.home-page #services article {
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid rgba(146, 112, 43, 0.28);
  border-radius: 0.75rem;
  background: linear-gradient(155deg, #24231f 0%, #1b1b1b 100%);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-page #services article:hover,
.home-page #services article:focus-within {
  transform: translateY(-3px);
  border-color: rgba(146, 112, 43, 0.62);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.home-page #services article > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  transition: color 180ms ease;
}

.home-page .service-card-heading {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 3.5rem;
  margin-bottom: 0.85rem;
}

.home-page .service-card-icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 0.7rem;
  background: rgba(212, 175, 55, 0.08);
  color: #e8c85e;
}

.home-page .service-card-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.home-page .service-card-heading h3 {
  line-height: 1.25;
}

.home-page main > section.bg-elevated a.border {
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.82);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-page main > section.bg-elevated a.border:hover,
.home-page main > section.bg-elevated a.border:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(146, 112, 43, 0.62);
  box-shadow: 0 10px 24px rgba(23, 23, 23, 0.07);
}

.home-page .community-card {
  display: flex;
  min-height: 10.5rem;
  flex-direction: column;
}

.home-page .community-card-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
  color: #171717;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.home-page .community-card-icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  place-items: center;
  border: 1px solid rgba(146, 112, 43, 0.22);
  border-radius: 0.65rem;
  background: rgba(146, 112, 43, 0.08);
  color: #92702b;
}

.home-page .community-card-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.home-page .community-card-copy {
  flex: 1;
}

.process-page .process-step-mark {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.process-page .process-step-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  place-items: center;
  border: 1px solid rgba(146, 112, 43, 0.3);
  border-radius: 0.75rem;
  background: rgba(146, 112, 43, 0.08);
  color: #92702b;
}

.process-page .process-step-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.process-page .process-step-mark + h2 {
  margin-top: 0;
}

.process-page .copy {
  min-width: 4rem;
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.35rem;
  font-size: 0.7rem;
  white-space: nowrap;
}

.process-page .enquiry-panel input:focus-visible,
.process-page .enquiry-panel select:focus-visible,
.process-page .enquiry-panel textarea:focus-visible {
  outline: 2px solid #92702b;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .home-page .portrait-video-shell,
  .home-page main > section:first-child .flex.flex-wrap.gap-3 a,
  .home-page #services article,
  .home-page #services article > a,
  .home-page main > section.bg-elevated a.border {
    transition: none;
  }
}

@media (max-width: 640px) {
  .home-page .home-hero-note {
    margin-top: 0.5rem;
  }
}

.home-page main > section:first-child {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 86% 18%, rgba(146, 112, 43, 0.12), transparent 34%),
    linear-gradient(120deg, #faf9f6 0%, #f2efe8 100%) !important;
  border-bottom-color: #e5e0d6 !important;
  color: #171717;
}

.home-page main > section:first-child > div {
  position: relative;
  z-index: 1;
}

.home-page main > section:first-child .text-muted {
  color: #57534b !important;
}

.home-page main > section:first-child .text-gold {
  color: #765b24 !important;
}

.home-page main > section:first-child .border-line {
  border-color: #d7d1c5 !important;
}

.home-page main > section:first-child .bg-gold.text-paper {
  color: #171717 !important;
}

.home-page main > section:first-child h1.font-display {
  max-width: none;
  font-size: clamp(2.5rem, 3.8vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.home-page .home-credibility > div {
  border-color: #e5e0d6;
  background: rgba(255, 255, 255, 0.82);
}

.home-page .home-credibility span {
  color: #706b62;
}

.home-page .home-credibility strong {
  color: #171717;
}

.home-page .home-hero-note {
  color: #625e56;
}

.home-page .home-founder-figure {
  position: relative;
  isolation: isolate;
  width: min(100%, 18.5rem);
}

.home-page .home-founder-figure::before {
  position: absolute;
  z-index: -1;
  top: 8%;
  right: -15%;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(146, 112, 43, 0.2), transparent 70%);
  content: "";
  pointer-events: none;
}

.home-page .portrait-video-shell {
  border-color: rgba(146, 112, 43, 0.5);
  border-radius: 1rem 1rem 0 0;
  box-shadow: 0 24px 55px rgba(23, 23, 23, 0.16), 0 0 0 7px rgba(146, 112, 43, 0.06);
}

.home-page .portrait-video {
  object-fit: cover;
  background: #e9e5dc;
}

.home-page .home-founder-caption {
  border-color: #e5e0d6;
  border-radius: 0 0 1rem 1rem;
  background: #fff;
}

.home-page .home-founder-caption strong {
  color: #171717;
}

.home-page .home-founder-caption span {
  color: #706b62;
}

.home-page .home-story-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(1.35rem, 2.4vw, 1.8rem);
  border: 1px solid #e7e2d8;
  border-radius: 1rem;
  background: linear-gradient(155deg, #fff 0%, #fbfaf7 100%);
  box-shadow: 0 12px 32px rgba(23, 23, 23, 0.045);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-page .home-story-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: #92702b;
  content: "";
}

.home-page .home-story-card--green::before {
  background: #267446;
}

.home-page .home-story-card--red::before {
  background: #bf5048;
}

.home-page .home-story-card--gold::before {
  background: #b8942a;
}

.home-page .home-story-label {
  color: #765b24;
}

.home-page .home-story-card--green .home-story-label {
  color: #267446;
}

.home-page .home-story-card--red .home-story-label {
  color: #a63c35;
}

.home-page .home-story-card h3 {
  min-height: 2.5em;
  max-width: 19ch;
  line-height: 1.2;
}

.home-page .home-story-card details {
  margin-top: auto;
  padding-top: 1rem;
  border-color: #e7e2d8;
}

.home-page .home-story-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
}

.home-page .home-story-card summary::-webkit-details-marker {
  display: none;
}

.home-page .home-story-card summary::after {
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 0.5rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.home-page .home-story-card details[open] summary::after {
  transform: rotate(225deg);
}

.home-page .home-story-card:hover,
.home-page .home-story-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(146, 112, 43, 0.46);
  box-shadow: 0 18px 38px rgba(23, 23, 23, 0.09);
}

.home-page .home-review-grid {
  gap: 0.85rem;
}

.home-page .home-review-step {
  min-width: 0;
  padding: 1.35rem;
  border: 1px solid #e7e2d8;
  border-radius: 0.85rem;
  background: linear-gradient(155deg, #fff 0%, #fbfaf7 100%);
}

.home-page .home-review-step > span {
  display: inline-flex;
  min-height: 1.75rem;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(146, 112, 43, 0.2);
  border-radius: 999px;
  background: rgba(146, 112, 43, 0.07);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.home-page .home-cta {
  background: #f8f7f4;
  border-block: 1px solid #e7e2d8;
}

.home-page .home-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border: 1px solid rgba(232, 200, 94, 0.28);
  border-radius: 1.2rem;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(212, 175, 55, 0.16), transparent 36%),
    linear-gradient(120deg, #171714, #24221b);
  color: #faf8f2;
  box-shadow: 0 20px 50px rgba(23, 23, 23, 0.12);
}

.home-page .home-cta-panel .text-gold {
  color: #e8c85e;
}

.home-page .home-cta-panel .text-muted {
  color: rgba(250, 248, 242, 0.72);
}

.home-page .home-cta-actions {
  display: flex;
  min-width: 14rem;
  flex-direction: column;
  gap: 0.65rem;
}

.home-page .home-cta-primary,
.home-page .home-cta-secondary {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.home-page .home-cta-primary {
  background: #d4af37;
  color: #171717;
}

.home-page .home-cta-primary:hover {
  transform: translateY(-2px);
  background: #e8c85e;
}

.home-page .home-cta-primary img {
  width: 1rem;
  height: 1rem;
}

.home-page .home-cta-secondary {
  border-color: rgba(250, 248, 242, 0.28);
  color: #faf8f2;
}

.home-page .home-cta-secondary:hover {
  transform: translateY(-2px);
  border-color: #e8c85e;
  color: #e8c85e;
}

@media (max-width: 767px) {
  .home-page main > section:first-child h1.font-display {
    max-width: none;
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .home-page .home-founder-figure {
    width: min(100%, 17.5rem);
  }

  .home-page .home-story-card h3 {
    min-height: 0;
  }

  .home-page .home-review-step {
    padding: 1.15rem;
  }

  .home-page .home-cta-panel {
    align-items: stretch;
    flex-direction: column;
    gap: 1.5rem;
  }

  .home-page .home-cta-actions {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .home-story-card,
  .home-page .home-story-card summary::after,
  .home-page .home-cta-primary,
  .home-page .home-cta-secondary {
    transition: none;
  }
}
