:root {
  --sand: #f3ebe0;
  --sand-deep: #e4d5c2;
  --sand-dark: #c9b49a;
  --teal: #1a6b6e;
  --teal-mid: #2a8588;
  --teal-deep: #0f4548;
  --teal-soft: #d8ecec;
  --ink: #1c2a2b;
  --ink-soft: #4a5a5b;
  --cream: #faf7f2;
  --white: #ffffff;
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --radius: 2px;
  --shadow-soft: 0 18px 40px rgba(15, 69, 72, 0.08);
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(26, 107, 110, 0.06), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(201, 180, 154, 0.25), transparent 50%),
    var(--cream);
  line-height: 1.65;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--teal-deep);
}

ul {
  list-style: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 107, 110, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--teal-deep);
  letter-spacing: -0.02em;
}

.logo span {
  font-style: italic;
  color: var(--teal);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  z-index: 110;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--teal-deep);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--teal-deep);
}

.main-nav .nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
}

.main-nav .nav-cta:hover {
  background: var(--teal-deep);
}

/* Hero — full-bleed */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: heroDrift 22s ease-in-out infinite alternate;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 69, 72, 0.25) 0%, rgba(15, 69, 72, 0.55) 45%, rgba(15, 69, 72, 0.88) 100%),
    linear-gradient(90deg, rgba(15, 69, 72, 0.45) 0%, transparent 55%);
}

@keyframes heroDrift {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 5rem;
  max-width: 640px;
  animation: fadeUp 0.9s var(--ease) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
  color: var(--white);
}

.brand-mark em {
  font-style: italic;
  color: var(--sand);
}

.hero h1 {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.75rem;
  max-width: 28ch;
}

.hero-content > p:not(.brand-mark) {
  font-size: 1.02rem;
  color: rgba(243, 235, 224, 0.88);
  margin-bottom: 1.75rem;
  max-width: 38ch;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.45rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s, border-color 0.25s, transform 0.25s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--sand);
  color: var(--teal-deep);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--teal-deep);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn-secondary {
  background: var(--teal);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--teal-deep);
  color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal-deep);
}

.btn-outline-dark:hover {
  background: var(--teal);
  color: var(--white);
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-sand {
  background:
    linear-gradient(165deg, var(--sand) 0%, var(--sand-deep) 100%);
}

.section-teal {
  background:
    linear-gradient(145deg, var(--teal-deep) 0%, var(--teal) 100%);
  color: var(--white);
}

.section-teal .eyebrow {
  color: var(--sand);
}

.section-teal h2 {
  color: var(--white);
}

.section-teal p {
  color: rgba(243, 235, 224, 0.88);
}

.section-soft {
  background: var(--teal-soft);
}

.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.65rem;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--teal-deep);
  margin-bottom: 0.85rem;
}

h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--teal-deep);
  margin-bottom: 0.45rem;
}

.section-intro {
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.section-intro p {
  color: var(--ink-soft);
}

/* Welcome strip */
.welcome-strip {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.welcome-strip p + p {
  margin-top: 0.85rem;
}

.welcome-strip img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* Intention row */
.intention {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.intention article {
  padding: 1.5rem 1rem;
  border-top: 2px solid var(--teal);
}

.intention h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.intention p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Offer bands */
.offer-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(26, 107, 110, 0.2);
}

.offer-row {
  display: grid;
  grid-template-columns: 1.2fr 2fr auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(26, 107, 110, 0.2);
  transition: background 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.offer-row:hover {
  padding-left: 0.5rem;
  background: rgba(255, 255, 255, 0.35);
}

.offer-row p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.offer-meta {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  white-space: nowrap;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
}

.split p + p {
  margin-top: 0.85rem;
}

.split p {
  color: var(--ink-soft);
}

.feature-list {
  margin: 1.25rem 0 1.75rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.55rem;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
}

/* Studio panel */
.studio-panel {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.studio-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.studio-panel-copy {
  background: var(--teal-deep);
  color: var(--white);
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.studio-panel-copy .eyebrow {
  color: var(--sand);
}

.studio-panel-copy h2 {
  color: var(--white);
}

.studio-panel-copy p {
  color: rgba(243, 235, 224, 0.85);
  margin-bottom: 1.5rem;
}

/* Quotes */
.quote-wall {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
}

.quote-item {
  padding: 1.75rem;
  background: var(--white);
  border-left: 3px solid var(--teal);
}

.quote-featured {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--teal);
  border-left: none;
  color: var(--white);
}

.quote-featured blockquote {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--white);
}

.quote-item blockquote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--teal-deep);
  margin-bottom: 1rem;
}

.quote-featured cite,
.quote-item cite {
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.quote-featured cite {
  color: var(--sand);
}

/* Page hero */
.page-hero {
  padding: 4rem 0 3rem;
  background:
    linear-gradient(135deg, var(--sand) 0%, var(--teal-soft) 100%);
  border-bottom: 1px solid rgba(26, 107, 110, 0.12);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 500;
  color: var(--teal-deep);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--ink-soft);
  max-width: 46ch;
}

/* Class detail blocks */
.class-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(26, 107, 110, 0.15);
}

.class-block:last-child {
  border-bottom: none;
}

.class-block img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
}

.class-block p {
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}

.class-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--teal);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-details p {
  margin-bottom: 0.65rem;
  color: var(--ink-soft);
}

.contact-details strong {
  color: var(--teal-deep);
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
  margin-top: 1.25rem;
}

.contact-details strong:first-child {
  margin-top: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(26, 107, 110, 0.1);
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--teal-deep);
  display: block;
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(26, 107, 110, 0.25);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

#form-message,
#newsletter-message {
  display: none;
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--teal-soft);
  color: var(--teal-deep);
  border-radius: var(--radius);
  font-size: 0.92rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
  max-width: 480px;
}

.newsletter-form input {
  flex: 1 1 200px;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

/* Legal */
.legal-content {
  max-width: 720px;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.65rem;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  background: var(--teal-deep);
  color: rgba(243, 235, 224, 0.8);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.site-footer .logo {
  color: var(--sand);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.site-footer .logo span {
  color: var(--white);
}

.site-footer h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--sand);
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.site-footer a {
  color: rgba(243, 235, 224, 0.8);
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer ul li {
  margin-bottom: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid rgba(243, 235, 224, 0.15);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--teal-deep);
  color: var(--sand);
  padding: 1.25rem 0;
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-inner p {
  flex: 1 1 280px;
  font-size: 0.9rem;
  color: rgba(243, 235, 224, 0.9);
}

.cookie-inner p a {
  color: var(--sand);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-actions .btn {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(15, 69, 72, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.cookie-modal.open {
  display: flex;
}

.cookie-modal-panel {
  background: var(--cream);
  color: var(--ink);
  padding: 2rem;
  border-radius: var(--radius);
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-soft);
}

.cookie-modal-panel h3 {
  margin-bottom: 0.75rem;
}

.cookie-modal-panel p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}

.cookie-option input {
  margin-top: 0.2rem;
}

.cookie-modal-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Map note */
.map-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--sand);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Responsive */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 85vw);
    height: 100vh;
    background: var(--cream);
    padding: 5rem 1.75rem 2rem;
    transform: translateX(105%);
    transition: transform 0.35s var(--ease);
    box-shadow: -8px 0 30px rgba(15, 69, 72, 0.12);
    z-index: 105;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .welcome-strip,
  .split,
  .studio-panel,
  .contact-grid,
  .quote-wall,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .intention {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .offer-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .class-block {
    grid-template-columns: 1fr;
  }

  .quote-featured {
    grid-row: auto;
  }

  .welcome-strip img,
  .split img {
    height: 300px;
  }

  .studio-panel img {
    min-height: 240px;
  }

  .hero {
    min-height: 85svh;
  }
}

@media (max-width: 560px) {
  section {
    padding: 3.5rem 0;
  }

  .hero-content {
    padding: 3rem 0 3.5rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
