@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;0,6..96,700;1,6..96,400&family=Karla:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  --hc-bone: #f3ebe2;
  --hc-clay: #a56b4a;
  --hc-clay-deep: #7a4a32;
  --hc-umber: #4a3228;
  --hc-sand: #e0d0be;
  --hc-harbour: #3d5a5c;
  --hc-mist: #c8d2d0;
  --hc-ink: #1f1a17;
  --hc-muted: #6a5f56;
  --hc-line: rgba(31, 26, 23, 0.14);
  --hc-panel: #ebe0d3;
  --hc-white: #faf6f1;
  --hc-serif: "Bodoni Moda", Georgia, serif;
  --hc-sans: "Karla", sans-serif;
  --hc-max: 1080px;
  --hc-wide: 1240px;
  --hc-header: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--hc-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--hc-ink);
  background:
    radial-gradient(ellipse 55% 38% at 0% 8%, rgba(61, 90, 92, 0.11), transparent 55%),
    radial-gradient(ellipse 45% 30% at 100% 18%, rgba(165, 107, 74, 0.12), transparent 50%),
    linear-gradient(185deg, var(--hc-bone) 0%, var(--hc-white) 42%, var(--hc-sand) 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--hc-harbour);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--hc-clay-deep);
}

h1,
h2,
h3,
.brand {
  font-family: var(--hc-serif);
  font-weight: 500;
  line-height: 1.12;
  color: var(--hc-ink);
}

p {
  margin: 0 0 1rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--hc-max));
  margin-inline: auto;
}

.wrap-wide {
  width: min(100% - 2.5rem, var(--hc-wide));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--hc-header);
}

.site-header.is-solid {
  position: sticky;
  top: 0;
  background: rgba(243, 235, 226, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hc-line);
}

.header-inner {
  width: min(100% - 2rem, var(--hc-wide));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--hc-ink);
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand span {
  font-family: var(--hc-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hc-muted);
  margin-top: 0.2rem;
}

.site-header:not(.is-solid) .brand,
.site-header:not(.is-solid) .brand span {
  color: var(--hc-white);
}

.site-header:not(.is-solid) .brand span {
  color: rgba(250, 246, 241, 0.75);
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  z-index: 50;
}

.menu-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.site-header:not(.is-solid) .menu-toggle {
  color: var(--hc-white);
}

.site-header.is-solid .menu-toggle {
  color: var(--hc-ink);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-main a {
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
  color: inherit;
  opacity: 0.88;
}

.site-header:not(.is-solid) .nav-main a {
  color: var(--hc-white);
}

.site-header.is-solid .nav-main a {
  color: var(--hc-ink);
}

.nav-main a:hover,
.nav-main a.active {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: var(--hc-white);
  background:
    linear-gradient(180deg, rgba(31, 26, 23, 0.28) 0%, rgba(31, 26, 23, 0.55) 55%, rgba(31, 26, 23, 0.78) 100%),
    url("../images/hero.jpg") center / cover no-repeat;
  overflow: hidden;
}

.hero-inner {
  width: min(100% - 2.5rem, var(--hc-max));
  margin: 0 auto 12vh;
  animation: hcRise 1s ease both;
}

.hero-brand {
  font-family: var(--hc-serif);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 500;
  line-height: 1.02;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.hero h1 {
  font-family: var(--hc-sans);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 500;
  color: rgba(250, 246, 241, 0.92);
  margin: 0 0 0.85rem;
  max-width: 28rem;
  line-height: 1.45;
}

.hero .hero-lead {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  color: rgba(250, 246, 241, 0.78);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

@keyframes hcRise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hcFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.reveal {
  animation: hcRise 0.8s ease both;
}

.reveal-delay {
  animation-delay: 0.15s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  font-family: var(--hc-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--hc-clay);
  color: var(--hc-white);
  border-color: var(--hc-clay);
}

.btn-primary:hover {
  background: var(--hc-clay-deep);
  border-color: var(--hc-clay-deep);
  color: var(--hc-white);
}

.btn-ghost {
  background: transparent;
  color: var(--hc-white);
  border-color: rgba(250, 246, 241, 0.55);
}

.btn-ghost:hover {
  background: rgba(250, 246, 241, 0.1);
  color: var(--hc-white);
}

.btn-outline {
  background: transparent;
  color: var(--hc-umber);
  border-color: var(--hc-umber);
}

.btn-outline:hover {
  background: var(--hc-umber);
  color: var(--hc-white);
}

.btn-on-clay {
  background: var(--hc-bone);
  color: var(--hc-umber);
  border-color: var(--hc-bone);
}

.btn-on-clay:hover {
  background: var(--hc-white);
  color: var(--hc-ink);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
  margin: 0 0 0.75rem;
}

.section-head p {
  color: var(--hc-muted);
  margin: 0;
}

.lede {
  font-size: 1.12rem;
  color: var(--hc-muted);
  max-width: 38rem;
}

.soft-panel {
  background: rgba(235, 224, 211, 0.55);
}

.page-hero {
  padding: 5.5rem 0 2.5rem;
  border-bottom: 1px solid var(--hc-line);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin: 0 0 0.75rem;
}

.page-hero p {
  max-width: 34rem;
  color: var(--hc-muted);
  margin: 0;
}

/* Welcome split */
.welcome-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: end;
}

.welcome-tag {
  font-family: var(--hc-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hc-harbour);
  margin: 0 0 1rem;
}

.welcome-split h2 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin: 0 0 1.25rem;
}

.welcome-aside {
  border-left: 2px solid var(--hc-clay);
  padding-left: 1.5rem;
  color: var(--hc-muted);
}

.welcome-aside em {
  font-family: var(--hc-serif);
  font-style: italic;
  color: var(--hc-ink);
  font-size: 1.2rem;
  display: block;
  margin-top: 1rem;
}

/* Membership band */
.member-band {
  background:
    linear-gradient(120deg, var(--hc-clay-deep) 0%, var(--hc-clay) 48%, #b57a55 100%);
  color: var(--hc-white);
  padding: 4.5rem 0;
}

.member-band h2 {
  color: var(--hc-white);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin: 0 0 0.85rem;
}

.member-band p {
  max-width: 34rem;
  color: rgba(250, 246, 241, 0.88);
}

.member-band .member-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.member-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 246, 241, 0.25);
}

.member-perks h3 {
  color: var(--hc-white);
  font-size: 1.25rem;
  margin: 0 0 0.4rem;
}

.member-perks p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(250, 246, 241, 0.78);
}

/* Pathway list (courses) */
.pathway-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hc-line);
}

.pathway {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1.65rem 0;
  border-bottom: 1px solid var(--hc-line);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, padding 0.2s ease;
}

.pathway:hover {
  background: rgba(165, 107, 74, 0.06);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.pathway-num {
  font-family: var(--hc-serif);
  font-size: 1.5rem;
  color: var(--hc-clay);
}

.pathway h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.pathway p {
  margin: 0;
  color: var(--hc-muted);
  font-size: 0.98rem;
}

.pathway-meta {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hc-harbour);
  white-space: nowrap;
}

/* Levels */
.level-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: none;
}

.level-rail article {
  padding-top: 1.25rem;
  border-top: 2px solid var(--hc-clay);
}

.level-rail h3 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.level-rail p {
  margin: 0;
  color: var(--hc-muted);
  font-size: 0.98rem;
}

/* Course detail blocks */
.course-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: start;
  padding: 3rem 0;
  border-bottom: 1px solid var(--hc-line);
}

.course-block:last-child {
  border-bottom: 0;
}

.course-block .course-visual {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(145deg, rgba(61, 90, 92, 0.35), rgba(74, 50, 40, 0.45)),
    radial-gradient(circle at 30% 40%, rgba(224, 208, 190, 0.5), transparent 60%),
    var(--hc-panel);
  min-height: 14rem;
}

.course-block:nth-child(even) .course-visual {
  background:
    linear-gradient(160deg, rgba(165, 107, 74, 0.4), rgba(61, 90, 92, 0.35)),
    radial-gradient(circle at 70% 60%, rgba(200, 210, 208, 0.45), transparent 55%),
    var(--hc-sand);
}

.course-block:nth-child(even) {
  direction: rtl;
}

.course-block:nth-child(even) > * {
  direction: ltr;
}

.course-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hc-harbour);
  margin: 0 0 0.65rem;
}

.course-block h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 0.85rem;
}

.course-facts {
  list-style: none;
  margin: 1.25rem 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  font-size: 0.9rem;
  color: var(--hc-muted);
}

.course-facts li::before {
  content: "· ";
  color: var(--hc-clay);
  font-weight: 700;
}

.course-facts li:first-child::before {
  content: "";
}

/* Workshop schedule */
.workshop-list {
  display: flex;
  flex-direction: column;
}

.workshop-item {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--hc-line);
}

.workshop-item:first-child {
  border-top: 1px solid var(--hc-line);
}

.workshop-date {
  font-family: var(--hc-serif);
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--hc-clay-deep);
}

.workshop-date small {
  display: block;
  font-family: var(--hc-sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hc-muted);
  margin-top: 0.25rem;
}

.workshop-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}

.workshop-item p {
  margin: 0;
  color: var(--hc-muted);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-portrait {
  aspect-ratio: 3 / 4;
  background:
    linear-gradient(180deg, transparent 40%, rgba(31, 26, 23, 0.35)),
    linear-gradient(135deg, var(--hc-harbour), var(--hc-clay-deep));
  position: relative;
}

.about-portrait::after {
  content: "Nina Vos";
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  font-family: var(--hc-serif);
  font-size: 1.5rem;
  color: var(--hc-white);
}

.studio-hours {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hc-line);
}

.studio-hours dl {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.5rem 1rem;
  margin: 0;
}

.studio-hours dt {
  font-weight: 600;
  color: var(--hc-ink);
}

.studio-hours dd {
  margin: 0;
  color: var(--hc-muted);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.contact-details address {
  font-style: normal;
  line-height: 1.7;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-stack label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--hc-ink);
}

.form-stack input,
.form-stack select,
.form-stack textarea {
  font: inherit;
  font-weight: 400;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--hc-line);
  background: var(--hc-white);
  color: var(--hc-ink);
  border-radius: 0;
}

.form-stack textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-stack input:focus,
.form-stack select:focus,
.form-stack textarea:focus {
  outline: 2px solid var(--hc-clay);
  outline-offset: 1px;
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(61, 90, 92, 0.1);
  border-left: 3px solid var(--hc-harbour);
  color: var(--hc-ink);
}

.form-success.show {
  display: block;
  animation: hcFade 0.35s ease;
}

/* CTA */
.cta-strip {
  padding: 4.5rem 0;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(165, 107, 74, 0.18), transparent 60%),
    var(--hc-panel);
}

.cta-strip h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin: 0 0 0.65rem;
}

.cta-strip p {
  max-width: 30rem;
  margin: 0 auto 1.5rem;
  color: var(--hc-muted);
}

/* Legal */
.legal {
  padding: 5rem 0 4rem;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 1.25rem;
}

.legal h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.65rem;
}

.legal ul {
  padding-left: 1.2rem;
  color: var(--hc-muted);
}

.legal li {
  margin-bottom: 0.4rem;
}

.legal p {
  color: var(--hc-muted);
  max-width: 42rem;
}

.legal code {
  font-size: 0.9em;
  background: var(--hc-panel);
  padding: 0.1em 0.35em;
}

/* Footer */
.site-footer {
  background: var(--hc-umber);
  color: rgba(250, 246, 241, 0.82);
  padding: 3.5rem 0 1.5rem;
  margin-top: 0;
}

.site-footer .brand,
.site-footer .brand span,
.site-footer h3 {
  color: var(--hc-white);
}

.site-footer a {
  color: rgba(250, 246, 241, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--hc-white);
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-grid h3 {
  font-size: 1.05rem;
  margin: 0 0 0.85rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(250, 246, 241, 0.15);
  font-size: 0.88rem;
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
}

/* Cookie banner */
#cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 100;
  max-width: 28rem;
  margin-left: auto;
  padding: 1.25rem;
  background: var(--hc-white);
  border: 1px solid var(--hc-line);
  box-shadow: 0 12px 40px rgba(31, 26, 23, 0.18);
  display: none;
}

#cookie-banner.show {
  display: block;
  animation: hcRise 0.4s ease;
}

#cookie-banner p {
  font-size: 0.92rem;
  margin: 0 0 1rem;
  color: var(--hc-muted);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-actions button,
#cookie-save {
  font-family: var(--hc-sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--hc-line);
  background: var(--hc-bone);
  color: var(--hc-ink);
  cursor: pointer;
}

#cookie-accept {
  background: var(--hc-clay);
  border-color: var(--hc-clay);
  color: var(--hc-white);
}

#cookie-panel {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hc-line);
}

#cookie-panel.open {
  display: block;
}

#cookie-panel label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Mobile */
@media (max-width: 860px) {
  .menu-toggle {
    display: flex;
  }

  .nav-main {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(18rem, 86vw);
    background: var(--hc-bone);
    flex-direction: column;
    align-items: flex-start;
    padding: 5.5rem 1.75rem 2rem;
    gap: 1.1rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -8px 0 30px rgba(31, 26, 23, 0.12);
  }

  .nav-main.open {
    transform: translateX(0);
  }

  .site-header:not(.is-solid) .nav-main a,
  .site-header.is-solid .nav-main a {
    color: var(--hc-ink);
    font-size: 1.05rem;
  }

  .welcome-split,
  .about-grid,
  .contact-grid,
  .course-block,
  .course-block:nth-child(even),
  .level-rail,
  .member-perks,
  .footer-grid {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .pathway {
    grid-template-columns: 3rem 1fr;
  }

  .pathway-meta {
    grid-column: 2;
  }

  .workshop-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .hero-inner {
    margin-bottom: 8vh;
  }

  .hero-brand {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  #cookie-banner {
    inset: auto 0.5rem 0.5rem 0.5rem;
  }
}
