:root {
  --font-body: "Segoe UI", Arial, Helvetica, sans-serif;
  --font-heading: "Segoe UI", Arial, Helvetica, sans-serif;
  --text-base: 17px;
  --heading-scale: 1;
  --section-space: 96px;
  --radius-card: 8px;
  --radius-control: 6px;
  --card-shadow: 0 18px 48px rgba(32, 38, 39, 0.12);
  --ink: #202627;
  --ink-soft: #4a5352;
  --paper: #fbfaf7;
  --white: #ffffff;
  --mist: #eef3ef;
  --rose: #b96c72;
  --rose-deep: #7e3f48;
  --sage: #71815f;
  --clay: #a45d4f;
  --line: rgba(32, 38, 39, 0.13);
  --shadow: var(--card-shadow);
  --container: min(1120px, calc(100vw - 32px));
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, var(--paper) 0%, color-mix(in srgb, var(--mist) 52%, var(--paper)) 48%, var(--paper) 100%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

.site-loading-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 3px;
  overflow: hidden;
  background: color-mix(in srgb, var(--rose) 18%, transparent);
  opacity: 1;
  transition: opacity 420ms ease;
}

.site-loading-bar span {
  display: block;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, var(--rose), var(--sage));
  transform: translateX(-110%);
}

.site-loading-bar.is-active span {
  animation: siteLoading 1.1s ease-in-out infinite;
}

.site-loading-bar.is-finished {
  opacity: 0;
}

@keyframes siteLoading {
  0% {
    transform: translateX(-110%);
  }

  100% {
    transform: translateX(250%);
  }
}

img {
  display: block;
  max-width: 100%;
  transition: opacity 180ms ease;
}

img.is-loading {
  opacity: 0.72;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: var(--header-height);
  width: 100%;
  margin: 0;
  padding: 10px max(16px, calc((100vw - 1120px) / 2));
  background: color-mix(in srgb, var(--paper) 86%, white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 34px rgba(32, 38, 39, 0.07);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 128px;
}

.brand img {
  width: 148px;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  font-weight: 700;
  line-height: 1.15;
  transition: transform 180ms ease, background 180ms ease, border 180ms ease;
}

.header-cta {
  background: var(--ink);
  color: var(--white);
  font-size: 0.92rem;
  box-shadow: 0 10px 26px rgba(32, 38, 39, 0.18);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--white);
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  margin-top: calc(var(--header-height) * -1);
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(860px, 92svh);
  overflow: hidden;
  color: var(--white);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(32, 38, 39, 0.86), rgba(32, 38, 39, 0.48) 52%, rgba(32, 38, 39, 0.16)),
    linear-gradient(180deg, rgba(32, 38, 39, 0.18), rgba(32, 38, 39, 0.34));
}

.hero-content {
  width: var(--container);
  margin: 0 auto;
  padding: calc(var(--header-height) + 92px) 0 124px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--rose);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c7c8;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 760px;
  font-size: calc(clamp(3rem, 8vw, 6.8rem) * var(--heading-scale));
  font-weight: 700;
}

h2 {
  max-width: 760px;
  font-size: calc(clamp(2rem, 4vw, 4rem) * var(--heading-scale));
  font-weight: 700;
}

h3 {
  font-size: 1.28rem;
}

.hero-copy {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 760px;
  margin-top: 24px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.1;
}

.conversion-strip {
  position: relative;
  z-index: 4;
  margin-top: -58px;
  padding: 0 0 72px;
  background: transparent;
  border-bottom: 0;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.decision-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--white) 92%, var(--paper));
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.decision-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--rose);
}

.decision-card:first-child {
  background: var(--ink);
  color: var(--white);
}

.decision-card:first-child p {
  color: rgba(255, 255, 255, 0.76);
}

.decision-card:first-child .decision-number {
  color: #f0c7c8;
}

.decision-card h2 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.decision-card p {
  margin: 0;
  color: var(--ink-soft);
}

.decision-number {
  color: var(--rose-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.button-primary {
  background: var(--rose);
  color: var(--white);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--rose) 34%, transparent);
}

.button-primary:hover {
  background: var(--rose-deep);
}

.button-secondary-dark {
  border-color: rgba(32, 38, 39, 0.18);
  background: var(--white);
  color: var(--ink);
}

.button-secondary-dark:hover {
  border-color: var(--ink);
}

.button-quiet {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.button-quiet:hover {
  background: rgba(255, 255, 255, 0.12);
}

.button-quiet-dark {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.button-quiet-dark:hover {
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding: var(--section-space) 0;
}

.section-muted {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--mist) 78%, white), var(--mist));
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
}

.section-heading p {
  max-width: 720px;
  margin: 0;
  color: var(--ink-soft);
}

.intro-grid,
.contact-grid,
.process-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
}

.intro-media {
  position: relative;
}

.intro-media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  border: 1px solid color-mix(in srgb, var(--rose) 58%, transparent);
  border-radius: var(--radius-card);
}

.intro-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

.intro-copy {
  display: grid;
  gap: 18px;
}

.rich-text p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.highlight {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.highlight strong {
  display: block;
  color: var(--rose-deep);
  font-size: 1.5rem;
  line-height: 1;
}

.highlight span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.service-grid,
.gallery-grid,
.testimonial-grid {
  display: grid;
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.gallery-grid,
.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.course-card,
.testimonial-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
}

.service-card {
  display: grid;
  overflow: hidden;
  grid-column: span 2;
  transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--rose) 42%, var(--line));
  box-shadow: var(--card-shadow);
}

.service-card:first-child,
.service-card:nth-child(2) {
  grid-column: span 3;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  min-height: 360px;
}

.service-card img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card-content {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(185, 108, 114, 0.3);
  border-radius: 999px;
  color: var(--rose-deep);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
}

.service-card p,
.course-card p,
.testimonial-card p,
.faq-item p {
  margin: 0;
  color: var(--ink-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid rgba(126, 63, 72, 0.22);
  border-radius: var(--radius-control);
  color: var(--rose-deep);
  font-weight: 700;
  line-height: 1.15;
}

.text-link:hover {
  border-color: var(--rose-deep);
  background: #fff7f7;
}

.process-layout {
  align-items: start;
}

.process-list {
  display: grid;
  gap: 12px;
}

.process-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.process-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
}

.process-item p {
  margin: 6px 0 0;
  color: var(--ink-soft);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
}

.filter-button.is-active {
  background: var(--ink);
  color: var(--white);
}

.gallery-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
}

.gallery-item {
  grid-column: span 4;
  display: grid;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--ink);
  color: var(--white);
  min-height: 330px;
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(4) {
  grid-column: span 6;
  min-height: 430px;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(3) {
  grid-column: span 3;
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 220ms ease, opacity 220ms ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
  opacity: 0.72;
}

.gallery-caption {
  position: relative;
  align-self: end;
  padding: 96px 20px 20px;
  background: linear-gradient(0deg, rgba(32, 38, 39, 0.85), transparent);
}

.gallery-caption span {
  color: #f0c7c8;
  font-size: 0.82rem;
  font-weight: 700;
}

.gallery-caption h3 {
  margin-top: 6px;
}

.course-list {
  display: grid;
  gap: 16px;
}

.course-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  overflow: hidden;
  border: 0;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--white) 94%, var(--rose)), var(--white));
  box-shadow: var(--card-shadow);
}

.course-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--rose), var(--sage));
}

.course-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.course-content {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 26px;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
}

.course-meta .pill {
  min-height: 26px;
  padding: 5px 9px;
  font-size: 0.72rem;
}

.course-modules {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
}

.course-modules li {
  padding-left: 18px;
  position: relative;
}

.course-modules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
}

.course-outcome {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 12px 14px;
  border-left: 4px solid var(--sage);
  border-radius: var(--radius-control);
  background: var(--paper);
  color: var(--ink);
}

.course-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.testimonial-card {
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.testimonial-card blockquote {
  margin: 0;
  color: var(--ink-soft);
}

.testimonial-card footer {
  margin-top: 18px;
  color: var(--ink);
  font-weight: 700;
}

.faq-layout {
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  padding: 20px;
}

.faq-item h3 {
  margin-bottom: 8px;
}

.contact-section {
  background: var(--ink);
  color: var(--white);
}

.contact-grid {
  align-items: start;
}

.contact-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-link {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.06);
}

.contact-link span {
  color: #f0c7c8;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-link strong {
  font-size: 1.06rem;
  line-height: 1.3;
  color: var(--white);
}

.site-footer {
  padding: 30px 0;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255, 255, 255, 0.78);
}

.empty-state {
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-card);
  color: var(--ink-soft);
  background: var(--white);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .header-cta {
    order: 2;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: grid;
    gap: 0;
    justify-content: stretch;
    padding: 14px 16px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform 200ms ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .intro-grid,
  .contact-grid,
  .process-layout,
  .faq-layout,
  .course-card {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .gallery-grid,
  .testimonial-grid,
  .decision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card,
  .service-card:first-child,
  .service-card:nth-child(2),
  .gallery-item,
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4) {
    grid-column: auto;
  }

  .service-card:first-child,
  .service-card:nth-child(2) {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .course-card img {
    min-height: 220px;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 68px;
  }

  body {
    font-size: 16px;
  }

  .site-header {
    padding: 9px 16px;
    width: 100%;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 124px;
  }

  .header-cta {
    min-height: 40px;
    padding: 10px 12px;
  }

  .hero {
    min-height: calc(82svh - var(--header-height));
    margin-top: calc(var(--header-height) * -1 - 8px);
  }

  .hero-image {
    object-position: 68% center;
  }

  .hero-overlay {
    background: rgba(32, 38, 39, 0.67);
  }

  .hero-content {
    padding: 56px 0;
  }

  .hero-actions,
  .footer-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 62px 0;
  }

  .highlights,
  .service-grid,
  .gallery-grid,
  .testimonial-grid,
  .decision-grid {
    grid-template-columns: 1fr;
  }

  .conversion-strip {
    margin-top: 0;
    padding: 16px 0 54px;
  }

  .decision-card {
    padding: 18px;
  }

  .pill {
    white-space: normal;
  }

  .gallery-item {
    min-height: 360px;
  }

  .intro-media::before {
    inset: 12px -10px -12px 10px;
  }
}
