@font-face {
  font-family: "Josefin Sans";
  font-weight: 400;
  font-display: swap;
  src: url(fonts/JosefinSans-Regular.woff2) format("woff2");
}
@font-face {
  font-family: "Josefin Sans";
  font-weight: 500;
  font-display: swap;
  src: url(fonts/JosefinSans-Medium.woff2) format("woff2");
}
@font-face {
  font-family: "Josefin Sans";
  font-weight: 700;
  font-display: swap;
  src: url(fonts/JosefinSans-Bold.woff2) format("woff2");
}

:root {
  --primary: #57bbbb;
  --primary-dark: #419d9d;
  --primary-light: #bfe3e3;
  --secondary: #573195;
  --secondary-light: #eee8f6;
  --deep: #2b6e6e;
  --deep-dark: #1f5555;
  --ink: #0a1717;
  --muted: #566363;
  --bg: #dbe2e2;
  --soft: #f3f7f7;
  --light: #f6fafa;
  --border: #c5d1d1;
  --shadow: 0 4px 16px rgba(10, 23, 23, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font: 400 16px/1.65 "Josefin Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin-top: 0; }
h1, h2, h3, h4 { margin-top: 0; font-weight: 400; line-height: 1.1; }
h2 { margin-bottom: 16px; font-size: clamp(34px, 4.4vw, 54px); letter-spacing: -.03em; }

.container { width: min(100% - 40px, 1180px); margin-inline: auto; }
.section { padding: clamp(36px, 5vw, 56px) 0; }
.section-heading { max-width: 800px; margin-bottom: 32px; }
.section-heading p:last-child { max-width: 620px; color: var(--muted); font-size: 18px; }

.eyebrow {
  margin: 0 0 16px;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.section-heading .eyebrow::before, .contact .eyebrow::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-bottom: 14px;
  background: var(--secondary);
}
.contact .eyebrow::before { margin-inline: auto; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: var(--primary);
  color: var(--light);
  font-size: 12px;
  font-weight: 700;
  transition: background .2s, color .2s;
}
.button:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.button-outline { background: transparent; color: var(--primary); }
.button-outline:hover { background: var(--primary); border-color: var(--primary); color: var(--light); }
.button-light { background: var(--light); border-color: var(--light); color: var(--secondary); }
.button-light:hover { background: var(--secondary-light); border-color: var(--secondary-light); }

.text-link {
  color: var(--secondary);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.site-header { position: sticky; top: 0; z-index: 10; background: linear-gradient(135deg, var(--deep-dark), var(--deep)); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.nav img { width: 190px; }
.nav-links { display: flex; align-items: center; gap: 28px; color: var(--light); font-size: 12px; font-weight: 500; }
.nav-links a:not(.button):hover { color: var(--primary-light); }
.nav-links .button { min-height: 0; padding: 10px 18px; border-color: rgba(246, 250, 250, .6); color: var(--light); }
.nav-links .button:hover { background: var(--light); border-color: var(--light); color: var(--deep); }
.nav-toggle, .burger { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 64px);
  min-height: calc(100svh - 64px);
  padding: 48px 0;
  background: var(--ink);
  color: var(--light);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--ink) 25%, rgba(10, 23, 23, .55) 55%, rgba(10, 23, 23, .1));
}
.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -2;
  width: min(100%, 1100px);
  height: 100%;
  object-fit: cover;
  mask-image: linear-gradient(90deg, transparent, #000 30%);
}
.hero-text { max-width: 560px; }
.hero h1 { margin-bottom: 28px; font-size: clamp(44px, 6vw, 72px); letter-spacing: -.04em; }
.hero h1 em { display: block; color: var(--primary); font-style: normal; }
.hero-description { font-size: 19px; }
.hero-meta {
  margin: 26px 0 36px;
  color: rgba(246, 250, 250, .7);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; }
.hero .text-link { color: var(--light); }

.photo { overflow: hidden; border-radius: 24px; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo { flex: 0 1 340px; aspect-ratio: 1; }
.work-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px 56px; }
.work-photo { flex: 1 1 300px; max-width: 420px; aspect-ratio: 2 / 3; }
@media (min-width: 900px) { .work-photo { position: sticky; top: 88px; } }

.about-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px 64px; }
.about-text { flex: 1 1 420px; }
.about-text h3 { margin-bottom: 16px; color: var(--primary); font-size: 30px; }
.about-text p:not(.eyebrow) { color: var(--muted); font-size: 17px; }

.education {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 80px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.education > div:first-child { flex: 1 1 240px; }
.education h3 { color: var(--primary); font-size: 30px; }
.timeline { flex: 2 1 400px; }
.timeline-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.timeline-item span { color: var(--secondary); font-size: 12px; font-weight: 700; }
.timeline-item h4 { margin-bottom: 5px; font-size: 22px; }
.timeline-item p { margin: 0; color: var(--muted); }

.work { background: var(--primary); }
.work .eyebrow { color: var(--ink); }
.work .section-heading p:last-child { color: rgba(10, 23, 23, .8); }
.services { flex: 2 1 460px; }
.service { padding: 20px 0 22px; border-top: 1px solid rgba(10, 23, 23, .25); }
.service span { display: block; margin-bottom: 12px; color: var(--ink); font-size: 11px; font-weight: 700; }
.service h3 { margin-bottom: 8px; font-size: 25px; }
.service p { color: rgba(10, 23, 23, .82); }

.prices { background: var(--bg); }
.prices .section-heading { margin-bottom: 52px; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 44px 16px; }
.price-card, blockquote {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.price-card { position: relative; display: flex; flex-direction: column; padding: 26px; }
.price-card h3 { margin-bottom: 8px; font-size: 27px; }
.price-card p { color: var(--muted); }
.price-card ul { margin: 8px 0 16px; padding: 0; list-style: none; font-size: 13px; }
.price-card li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.price { margin: auto 0 16px; line-height: 1.2; color: var(--primary); font-size: 32px; font-weight: 700; }
.card-feature { position: relative; display: flex; flex-direction: column; margin: -29px -7px -7px; padding: 28px 6px 6px; border: 1px solid var(--secondary); border-radius: 12px; }
.card-feature > .price-card { flex: 1; }
.card-feature-label {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  margin: 0;
  padding-inline: 12px;
  overflow: hidden;
  border-radius: 11px 11px 0 0;
  background: var(--secondary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.price-note { margin: 20px 0 0; color: var(--muted); font-size: 12px; }
.price-book { margin: 22px 0 0; font-size: 18px; }

.workshop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 18px; }
.workshop-empty { max-width: 560px; margin-bottom: 20px; color: var(--muted); font-size: 18px; }
.workshop-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--deep), var(--deep-dark));
  color: var(--light);
}
.workshop-card h3 { margin-bottom: 10px; font-size: clamp(28px, 3.5vw, 40px); }
.workshop-card p { color: rgba(246, 250, 250, .78); }
.workshop-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  margin: 14px 0 22px;
  border-top: 1px solid rgba(246, 250, 250, .3);
}
.workshop-details div { padding: 12px 0; border-bottom: 1px solid rgba(246, 250, 250, .3); }
.workshop-details dt { margin-bottom: 4px; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.workshop-details dd { margin: 0; font-size: 16px; font-weight: 500; }
.workshop-card .button { margin-top: auto; }

.testimonials { background: var(--soft); }
.testimonial-grid { columns: 300px; column-gap: 18px; }
blockquote { margin: 0 0 18px; padding: 24px; break-inside: avoid; }
blockquote p { margin-bottom: 0; }
blockquote p { font-size: 17px; }
blockquote cite {
  display: block;
  margin-top: 18px;
  color: var(--secondary);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.faq-list { max-width: 850px; border-bottom: 1px solid var(--border); }
details { border-top: 1px solid var(--border); }
summary { position: relative; padding: 16px 56px 16px 0; font-size: 22px; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  transform: translateY(-50%);
  border: 1px solid var(--primary);
  border-radius: 50%;
  color: var(--primary);
  font-size: 22px;
  line-height: 1;
  transition: background .2s, color .2s;
}
summary:hover::after, details[open] summary::after { background: var(--primary); color: var(--light); }
details[open] summary::after { content: "-"; }
details p { max-width: 700px; margin: 0 0 18px; padding-right: 50px; color: var(--muted); }

.contact {
  padding: clamp(44px, 6vw, 68px) 0;
  background: var(--primary);
  text-align: center;
}
.contact .container { max-width: 850px; }
.contact .eyebrow { color: var(--ink); }
.contact .lead { max-width: 600px; margin: 0 auto 26px; font-size: 19px; }
.contact .note { margin: 16px 0 0; font-size: 12px; opacity: .7; }

.legal .container { max-width: 780px; }
.legal h1 { margin-bottom: 20px; font-size: clamp(38px, 5vw, 56px); letter-spacing: -.03em; }
.legal h2 { margin: 28px 0 8px; font-size: 22px; letter-spacing: 0; }
.legal a { color: var(--secondary); text-decoration: underline; }
.legal-stand { margin-top: 40px; color: var(--muted); font-size: 13px; }

.footer { padding: 24px 0; background: var(--ink); color: rgba(246, 250, 250, .6); font-size: 12px; }
.footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer strong { color: var(--light); font-size: 14px; }
.footer p { margin: 4px 0 0; }
.footer-links { display: flex; align-items: center; gap: 24px; }
.footer .social { display: flex; color: var(--light); }
.footer a:hover { color: var(--primary); }

@media (prefers-reduced-motion: no-preference) {
  .price-card, blockquote, .workshop-card { transition: transform .2s, box-shadow .2s; }
  .price-card:hover, blockquote:hover, .workshop-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(10, 23, 23, .12); }
}

@media (max-width: 900px) {
  .hero { align-items: flex-end; padding: 32px 0 28px; }
  .hero-bg { width: 100%; mask-image: none; }
  .hero::before { background: linear-gradient(0deg, rgba(10, 23, 23, .92) 0%, rgba(10, 23, 23, .8) 38%, rgba(10, 23, 23, .05) 70%); }
}

@media (max-width: 700px) {
  .education { gap: 4px; margin-top: 36px; padding-top: 28px; }
  .education h3 { margin-bottom: 0; }
  .hero h1 { margin-bottom: 16px; font-size: 38px; }
  .hero-description { font-size: 16px; }
  .hero-meta { margin: 16px 0 22px; }
  .nav img { width: 150px; }
  .nav-toggle { position: absolute; right: 20px; width: 44px; height: 44px; opacity: 0; cursor: pointer; z-index: 2; display: block; }
  .burger { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
  .burger span, .burger span::before, .burger span::after { display: block; width: 24px; height: 2px; background: var(--light); content: ""; }
  .burger span { position: relative; }
  .burger span::before { position: absolute; top: -8px; }
  .burger span::after { position: absolute; top: 8px; }
  .nav-toggle:focus-visible + .burger { outline: 2px solid var(--primary-light); border-radius: 8px; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: var(--deep-dark); font-size: 15px; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links a:not(.button) { padding: 14px 0; border-bottom: 1px solid rgba(246, 250, 250, .15); }
  .nav-links .button { justify-content: center; margin-top: 16px; padding: 14px 18px; }
  .workshop-details { grid-template-columns: 1fr; }
}

.about, .faq { background: var(--bg); }
