/*
Theme Name: Amandan Tapahtumat 2.0
Theme URI: https://amandantapahtumat.fi/
Author: Amandan Tapahtumat
Description: Modern Finnish-first bilingual theme for Amandan Tapahtumat events, classes and enquiries.
Version: 2.5.8
Text Domain: amandan-20
*/

:root {
  --ink: #191112;
  --ink-soft: #2b2020;
  --night: #160d10;
  --night-soft: #281318;
  --wine: #741d35;
  --wine-bright: #a52f4e;
  --coral: #f26d50;
  --gold: #f4b942;
  --gold-light: #ffd978;
  --cream: #fff2d8;
  --paper: #fffaf0;
  --paper-deep: #f5ead8;
  --teal: #27a69d;
  --muted: #71645f;
  --line: rgba(25, 17, 18, 0.14);
  --line-light: rgba(255, 242, 216, 0.17);
  --shadow: 0 26px 80px rgba(31, 13, 17, 0.17);
  --shadow-dark: 0 34px 100px rgba(0, 0, 0, 0.35);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

body.lang-fi .lang-en,
body.lang-en .lang-fi {
  display: none !important;
}

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

a {
  color: inherit;
}

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

button {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: -999px;
  z-index: 1000;
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--cream);
  background: var(--night);
  text-decoration: none;
  font-weight: 900;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 17px clamp(18px, 4vw, 56px);
  transition: padding 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.site-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(10, 5, 7, 0.74), rgba(10, 5, 7, 0));
  pointer-events: none;
}

.site-header.is-scrolled {
  padding-block: 9px;
  background: rgba(18, 9, 12, 0.88);
  box-shadow: 0 14px 46px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled::before {
  opacity: 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1220px, 100%);
  margin: 0 auto;
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
  transition: transform 240ms ease;
}

.brand:hover img {
  transform: rotate(-4deg) scale(1.04);
}

.brand span {
  display: none;
  max-width: 125px;
  line-height: 1.1;
}

.brand.image-error {
  min-width: 86px;
  min-height: 86px;
  border-radius: 50%;
  background: var(--gold);
}

.nav-actions,
.primary-nav,
.language-switcher {
  display: flex;
  align-items: center;
}

.nav-actions {
  gap: 16px;
}

.primary-nav {
  gap: clamp(15px, 2vw, 27px);
}

.primary-nav a {
  position: relative;
  color: var(--cream);
  text-decoration: none;
  font-size: 0.91rem;
  font-weight: 800;
}

.primary-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.primary-nav > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.primary-nav .nav-cta {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  padding: 9px 17px;
  border: 1px solid rgba(255, 242, 216, 0.32);
  border-radius: 999px;
  background: rgba(255, 242, 216, 0.1);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.primary-nav .nav-cta:hover {
  color: var(--ink);
  background: var(--gold);
  transform: translateY(-2px);
}

.language-switcher {
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255, 242, 216, 0.26);
  border-radius: 999px;
  background: rgba(18, 9, 12, 0.24);
}

.language-option {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  color: rgba(255, 242, 216, 0.72);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  transition: color 180ms ease, background 180ms ease;
}

.language-option.is-active {
  color: var(--ink);
  background: var(--gold);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  gap: 4px;
  padding: 11px;
  border: 1px solid rgba(255, 242, 216, 0.32);
  border-radius: 50%;
  background: rgba(255, 242, 216, 0.1);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--cream);
  transition: transform 180ms ease, opacity 180ms ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

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

.hero {
  --pointer-x: 68%;
  --pointer-y: 30%;
  position: relative;
  display: grid;
  min-height: min(920px, 100svh);
  align-items: end;
  overflow: hidden;
  color: var(--cream);
  background: var(--night);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(90deg, rgba(12, 5, 8, 0.89) 0%, rgba(26, 8, 15, 0.62) 49%, rgba(12, 5, 8, 0.16) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.04) 50%, rgba(12, 5, 8, 0.9) 100%),
    var(--hero-image) center 28% / cover no-repeat;
  transform: scale(1.005);
  animation: hero-breathe 14s ease-in-out infinite alternate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(244, 185, 66, 0.2), transparent 26%),
    linear-gradient(120deg, rgba(116, 29, 53, 0.3), transparent 50%);
  transition: background 260ms ease;
}

.hero-ambient {
  position: absolute;
  right: -15vw;
  bottom: -45vw;
  z-index: -1;
  width: 70vw;
  height: 70vw;
  border: 1px solid rgba(244, 185, 66, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 9vw rgba(244, 185, 66, 0.028),
    0 0 0 18vw rgba(242, 109, 80, 0.025);
  animation: slow-spin 36s linear infinite;
}

@keyframes hero-breathe {
  from { transform: scale(1.005); }
  to { transform: scale(1.025); }
}

@keyframes slow-spin {
  to { transform: rotate(360deg); }
}

.hero-inner {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 67px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 1px;
  content: "";
  background: currentColor;
}

.hero-eyebrow {
  animation: rise-in 700ms 100ms both;
}

.hero h1 {
  max-width: 920px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 8.6rem);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.045em;
  text-wrap: balance;
  animation: rise-in 800ms 180ms both;
}

.hero h1 span {
  display: block;
}

.hero h1 span:last-child {
  color: var(--gold-light);
  font-style: italic;
}

.hero-copy {
  max-width: 690px;
  margin: 30px 0 0;
  color: rgba(255, 242, 216, 0.9);
  font-size: clamp(1.06rem, 1.7vw, 1.3rem);
  animation: rise-in 800ms 260ms both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.hero .hero-actions {
  animation: rise-in 800ms 340ms both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 18px 42px rgba(244, 185, 66, 0.25);
}

.button-primary:hover {
  box-shadow: 0 22px 52px rgba(244, 185, 66, 0.36);
}

.button-secondary {
  color: var(--cream);
  border-color: rgba(255, 242, 216, 0.4);
  background: rgba(255, 242, 216, 0.1);
  backdrop-filter: blur(10px);
}

.button-secondary:hover {
  background: rgba(255, 242, 216, 0.18);
}

.button-dark {
  color: var(--cream);
  background: var(--night);
  box-shadow: 0 16px 36px rgba(22, 13, 16, 0.2);
}

.button-dark:hover {
  background: var(--wine);
}

.button:disabled {
  cursor: wait;
  opacity: 0.66;
}

.button.is-loading {
  animation: submit-pulse 1s ease-in-out infinite alternate;
}

@keyframes submit-pulse {
  to { transform: scale(0.98); opacity: 0.7; }
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 950px;
  margin-top: 54px;
  overflow: hidden;
  border: 1px solid rgba(255, 242, 216, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 242, 216, 0.07);
  backdrop-filter: blur(16px);
  animation: rise-in 800ms 430ms both;
}

.hero-meta div {
  padding: 18px 20px;
  border-right: 1px solid rgba(255, 242, 216, 0.14);
}

.hero-meta div:last-child {
  border-right: 0;
}

.hero-meta strong {
  display: block;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
}

.hero-meta span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 242, 216, 0.72);
  font-size: 0.84rem;
  line-height: 1.45;
}

.scroll-cue {
  position: absolute;
  right: clamp(22px, 5vw, 70px);
  bottom: 38px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 242, 216, 0.72);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-cue span:last-child {
  color: var(--gold);
  font-size: 1.2rem;
  animation: scroll-bounce 1.8s ease-in-out infinite;
}

@keyframes scroll-bounce {
  50% { transform: translateY(6px); }
}

.section {
  position: relative;
  padding: clamp(80px, 10vw, 142px) clamp(18px, 4vw, 56px);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.section-kicker .eyebrow {
  margin: 0;
}

.section-index {
  color: var(--wine);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-style: italic;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.55fr);
  align-items: end;
  gap: clamp(30px, 6vw, 96px);
  margin-bottom: 44px;
}

.section-heading h2,
.display-heading,
.contact-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 5.7vw, 5.7rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.section-heading p,
.lead-copy {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.13rem);
}

.services-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(244, 185, 66, 0.12), transparent 29%),
    var(--paper);
}

.services-section::before {
  position: absolute;
  top: 38px;
  right: -70px;
  content: "RITMO";
  color: rgba(116, 29, 53, 0.035);
  font-family: var(--font-display);
  font-size: clamp(7rem, 18vw, 17rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
  pointer-events: none;
}

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

.service-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 242, 216, 0.12);
  border-radius: var(--radius-md);
  color: var(--cream);
  background: var(--night);
  box-shadow: var(--shadow);
  transition: border-color 250ms ease, transform 250ms ease, box-shadow 250ms ease;
}

.service-card:hover {
  border-color: rgba(244, 185, 66, 0.44);
  transform: translateY(-5px);
  box-shadow: var(--shadow-dark);
}

.service-card.is-open {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  border-color: rgba(244, 185, 66, 0.45);
  transform: none;
}

.service-trigger {
  position: relative;
  display: block;
  width: 100%;
  min-height: 390px;
  overflow: hidden;
  padding: 0;
  border: 0;
  cursor: pointer;
  text-align: left;
  background: var(--night-soft);
}

.service-card.is-open .service-trigger {
  min-height: 560px;
}

.service-media,
.service-overlay {
  position: absolute;
  inset: 0;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 550ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.service-media.image-error {
  background:
    radial-gradient(circle at 70% 20%, rgba(244, 185, 66, 0.35), transparent 25%),
    linear-gradient(145deg, var(--wine), var(--night));
}

.service-card:hover .service-media img,
.service-card.is-open .service-media img {
  transform: scale(1.07);
  filter: saturate(1.08);
}

.service-overlay {
  background:
    linear-gradient(180deg, rgba(7, 3, 5, 0.03) 22%, rgba(13, 6, 9, 0.9) 100%),
    linear-gradient(120deg, rgba(116, 29, 53, 0.15), transparent 54%);
}

.service-copy {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  min-height: 58%;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
}

.service-number {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-style: italic;
}

.service-title {
  display: block;
  max-width: 90%;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.1vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.service-summary {
  display: block;
  margin-top: 11px;
  color: rgba(255, 242, 216, 0.78);
  font-size: 0.94rem;
  line-height: 1.5;
}

.service-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 242, 216, 0.16);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-action > span:last-child {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border: 1px solid rgba(244, 185, 66, 0.45);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: transform 240ms ease, background 240ms ease;
}

.service-card.is-open .service-action > span:last-child {
  background: rgba(244, 185, 66, 0.14);
  transform: rotate(45deg);
}

.service-details {
  min-width: 0;
  padding: clamp(29px, 5vw, 62px);
  color: var(--cream);
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 185, 66, 0.16), transparent 32%),
    linear-gradient(145deg, var(--night-soft), var(--night));
}

.service-details[hidden] {
  display: none;
}

.service-details-inner {
  max-width: 700px;
}

.service-details-inner p {
  margin: 0 0 18px;
  color: rgba(255, 242, 216, 0.82);
}

.service-details-inner h4 {
  margin: 27px 0 9px;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 600;
}

.service-details-inner ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 25px;
  padding: 0;
  list-style: none;
}

.service-details-inner li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 242, 216, 0.84);
}

.service-details-inner li::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "✓";
  color: var(--gold);
  font-weight: 950;
}

.service-details-inner .button {
  margin-top: 10px;
}

.section-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 32px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--wine);
  text-decoration: none;
  font-weight: 950;
}

.text-link span:last-child {
  transition: transform 180ms ease;
}

.text-link:hover span:last-child {
  transform: translateX(5px);
}

.classes-feature {
  min-height: 900px;
  scroll-margin-top: 84px;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 75% 25%, rgba(39, 166, 157, 0.2), transparent 31%),
    linear-gradient(135deg, #731c35, var(--night) 58%, #153f3c);
}

.classes-image {
  position: absolute;
  top: 0;
  right: 0;
  width: min(43vw, 700px);
  height: 100%;
  background:
    linear-gradient(90deg, var(--night) 0%, transparent 34%),
    linear-gradient(180deg, transparent 50%, rgba(22, 13, 16, 0.88) 100%),
    var(--classes-image) center / cover no-repeat;
  opacity: 0.76;
}

.classes-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(480px, 1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 90px);
}

.classes-copy {
  position: relative;
  z-index: 1;
}

.classes-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6.2rem);
  font-weight: 500;
  line-height: 0.93;
  letter-spacing: -0.04em;
}

.classes-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin: 25px 0 0;
  color: rgba(255, 242, 216, 0.76);
  font-size: 1.08rem;
}

.feature-panel {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 3.5vw, 43px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: rgba(255, 250, 240, 0.94);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(18px);
}

@media (min-width: 1025px) {
  .classes-feature .feature-panel {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 250, 240, 0.76);
    backdrop-filter: blur(10px) saturate(1.14);
  }

  .classes-feature .class-item {
    background: rgba(255, 255, 255, 0.65);
  }

  .classes-feature .class-item:hover {
    background: rgba(255, 255, 255, 0.88);
  }
}

.feature-panel > h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 500;
  line-height: 1;
}

.feature-panel > p {
  color: var(--muted);
}

.class-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.class-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.class-item:hover {
  border-color: rgba(116, 29, 53, 0.36);
  background: #fff;
  transform: translateX(4px);
}

.class-day {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: var(--cream);
  background: linear-gradient(145deg, var(--wine-bright), var(--wine));
  font-size: 0.82rem;
  font-weight: 950;
}

.class-item h3 {
  margin: 0;
  font-size: 1rem;
}

.class-item p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.class-item .button {
  min-height: 39px;
  padding: 9px 14px;
  font-size: 0.78rem;
}

.note {
  margin-top: 18px;
  padding: 15px 17px;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: rgba(244, 185, 66, 0.14);
  font-size: 0.86rem;
}

.note p {
  margin: 0;
}

.process-section,
.audience-section {
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 12% 90%, rgba(116, 29, 53, 0.35), transparent 30%),
    var(--night);
}

.process-section::after {
  position: absolute;
  right: -16vw;
  bottom: -28vw;
  width: 55vw;
  height: 55vw;
  border: 1px solid rgba(244, 185, 66, 0.1);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 8vw rgba(244, 185, 66, 0.018), 0 0 0 16vw rgba(244, 185, 66, 0.014);
}

.process-section .section-index,
.audience-section .section-index {
  color: var(--gold);
}

.section-heading-light h2 {
  color: var(--cream);
}

.section-heading-light p {
  color: rgba(255, 242, 216, 0.7);
}

.process-grid,
.proof-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.process-card,
.proof-card {
  min-height: 270px;
  padding: 29px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: rgba(255, 242, 216, 0.055);
  backdrop-filter: blur(10px);
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.process-card:hover,
.proof-card:hover {
  border-color: rgba(244, 185, 66, 0.42);
  background: rgba(255, 242, 216, 0.09);
  transform: translateY(-5px);
}

.process-card > span,
.proof-card > span {
  display: inline-grid;
  width: 47px;
  height: 47px;
  place-items: center;
  margin-bottom: 53px;
  border: 1px solid rgba(244, 185, 66, 0.46);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-style: italic;
}

.process-card h3,
.proof-card h3 {
  margin: 0 0 9px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.1;
}

.process-card p,
.proof-card p {
  margin: 0;
  color: rgba(255, 242, 216, 0.68);
}

.contact-cta {
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(244, 185, 66, 0.16), transparent 28%),
    var(--gold);
}

.contact-cta-art {
  position: absolute;
  top: 50%;
  left: -5vw;
  color: rgba(25, 17, 18, 0.055);
  font-family: var(--font-display);
  font-size: min(62vw, 850px);
  font-style: italic;
  line-height: 0.5;
  transform: translateY(-50%);
  pointer-events: none;
}

.contact-cta-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.52fr);
  align-items: center;
  gap: clamp(35px, 7vw, 110px);
}

.contact-cta .eyebrow {
  color: var(--wine);
}

.cta-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(25, 17, 18, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 240, 0.73);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.cta-panel p {
  margin: 0 0 26px;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.page-hero {
  position: relative;
  min-height: 670px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 180px clamp(18px, 4vw, 56px) 82px;
  color: var(--cream);
  background:
    linear-gradient(90deg, rgba(18, 8, 12, 0.87), rgba(18, 8, 12, 0.48) 60%, rgba(18, 8, 12, 0.17)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.07), rgba(18, 8, 12, 0.74)),
    var(--hero-image) center / cover no-repeat;
  isolation: isolate;
}

.page-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: radial-gradient(circle at 76% 24%, rgba(244, 185, 66, 0.19), transparent 25%);
}

.page-hero-orbit {
  position: absolute;
  top: -230px;
  right: -190px;
  width: 590px;
  height: 590px;
  border: 1px solid rgba(244, 185, 66, 0.19);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(244, 185, 66, 0.025), 0 0 0 140px rgba(244, 185, 66, 0.018);
  animation: slow-spin 32s linear infinite;
}

.page-hero-inner {
  position: relative;
}

.page-hero h1 {
  max-width: 980px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.3rem, 7vw, 7.1rem);
  font-weight: 500;
  line-height: 0.91;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.page-hero p:not(.eyebrow) {
  max-width: 740px;
  margin: 25px 0 0;
  color: rgba(255, 242, 216, 0.82);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

@media (min-width: 900px) {
  .page-hero-contained {
    background-position: center, center, calc(100% - clamp(24px, 5vw, 72px)) center;
    background-size: cover, cover, auto 92%;
    background-repeat: no-repeat;
  }

  .page-hero-contained .page-hero-inner {
    padding-right: clamp(330px, 39vw, 520px);
  }
}

.services-page-section {
  background:
    radial-gradient(circle at 100% 0%, rgba(39, 166, 157, 0.08), transparent 25%),
    var(--paper);
}

.audience-section .section-action {
  justify-content: center;
  margin-top: 40px;
}

.classes-page-section {
  background:
    radial-gradient(circle at 0% 10%, rgba(244, 185, 66, 0.12), transparent 26%),
    var(--paper);
}

.classes-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(500px, 1fr);
  align-items: start;
  gap: clamp(35px, 7vw, 100px);
}

.classes-page-grid .display-heading {
  margin-bottom: 25px;
}

.classes-page-grid .feature-panel {
  background: #fff;
}

.class-main-cta {
  width: 100%;
  margin-top: 22px;
}

.contact-section {
  background:
    radial-gradient(circle at 15% 5%, rgba(244, 185, 66, 0.13), transparent 28%),
    var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 50px;
}

.contact-card {
  position: relative;
  display: grid;
  min-height: 255px;
  align-content: end;
  gap: 7px;
  overflow: hidden;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 18px 52px rgba(31, 13, 17, 0.09);
  text-decoration: none;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.contact-card::before {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  content: "";
  background: rgba(244, 185, 66, 0.11);
  transition: transform 320ms ease;
}

.contact-card:hover {
  border-color: rgba(116, 29, 53, 0.25);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.contact-card:hover::before {
  transform: scale(1.25);
}

.contact-icon {
  display: grid;
  width: 51px;
  height: 51px;
  place-items: center;
  margin-bottom: auto;
  border-radius: 50%;
  color: var(--cream);
  background: var(--wine);
  font-size: 1.16rem;
  font-weight: 950;
}

.contact-card strong {
  color: var(--wine);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.contact-card > span:not(.contact-icon) {
  overflow-wrap: anywhere;
  font-weight: 800;
}

.contact-card small {
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-form-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.15fr);
  gap: clamp(36px, 7vw, 100px);
  padding: clamp(29px, 6vw, 72px);
  border-radius: var(--radius-lg);
  color: var(--cream);
  background:
    radial-gradient(circle at 0% 100%, rgba(116, 29, 53, 0.5), transparent 32%),
    radial-gradient(circle at 100% 0%, rgba(39, 166, 157, 0.22), transparent 26%),
    var(--night);
  box-shadow: var(--shadow-dark);
}

.contact-form-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.contact-form-heading > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: rgba(255, 242, 216, 0.7);
}

.contact-estimator-prompt {
  display: grid;
  gap: 15px;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(244, 185, 66, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(244, 185, 66, 0.08);
}

.contact-estimator-prompt div,
.contact-estimator-prompt strong,
.contact-estimator-prompt small {
  display: grid;
  gap: 4px;
}

.contact-estimator-prompt strong { color: var(--gold-light); }
.contact-estimator-prompt small { color: rgba(255, 242, 216, 0.67); line-height: 1.45; }
.contact-estimator-prompt .button { width: max-content; max-width: 100%; }

.form-status {
  grid-column: 1 / -1;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-weight: 850;
}

.form-status-success {
  border: 1px solid rgba(39, 166, 157, 0.5);
  background: rgba(39, 166, 157, 0.18);
}

.form-status-error {
  border: 1px solid rgba(242, 109, 80, 0.5);
  background: rgba(242, 109, 80, 0.15);
}

.contact-form {
  min-width: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.form-grid label {
  display: grid;
  gap: 8px;
  color: rgba(255, 242, 216, 0.82);
  font-size: 0.84rem;
  font-weight: 850;
}

.form-span {
  grid-column: 1 / -1;
}

.service-choices {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.service-choices legend {
  margin-bottom: 10px;
  color: rgba(255, 242, 216, 0.9);
  font-size: 0.84rem;
  font-weight: 850;
}

.service-choices legend small {
  margin-left: 7px;
  color: rgba(255, 242, 216, 0.58);
  font-weight: 650;
}

.service-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.form-grid .service-choice {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 242, 216, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 242, 216, 0.055);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.form-grid .service-choice:hover,
.form-grid .service-choice:has(input:checked) {
  border-color: rgba(244, 185, 66, 0.7);
  background: rgba(244, 185, 66, 0.12);
  transform: translateY(-1px);
}

.service-choice input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--gold);
}

.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 51px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 242, 216, 0.2);
  border-radius: var(--radius-sm);
  color: var(--cream);
  background: rgba(255, 242, 216, 0.07);
  outline: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.contact-form select option {
  color: var(--ink);
  background: var(--paper);
}

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

.contact-form input:not([type="checkbox"]):focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 242, 216, 0.11);
  box-shadow: 0 0 0 4px rgba(244, 185, 66, 0.1);
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 18px 0;
  color: rgba(255, 242, 216, 0.72);
  font-size: 0.83rem;
}

.consent-row input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--gold);
}

.consent-row a { color: var(--gold-light); font-weight: 800; }
.consent-row-optional { margin-top: -7px; padding: 13px; border: 1px solid rgba(255, 242, 216, 0.12); border-radius: var(--radius-sm); background: rgba(255, 242, 216, 0.04); }

.button-submit {
  min-width: 190px;
}

.contact-offer-note {
  max-width: 650px;
  margin: 15px 0 0;
  color: rgba(255, 242, 216, 0.62);
  font-size: 0.76rem;
  line-height: 1.55;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.content-container {
  max-width: 850px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease var(--delay, 0ms), transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1) var(--delay, 0ms);
}

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

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 75px clamp(18px, 4vw, 56px) 25px;
  color: rgba(255, 242, 216, 0.72);
  background: #0e080a;
}

.footer-glow {
  position: absolute;
  top: -230px;
  left: 18%;
  width: 520px;
  height: 360px;
  border-radius: 50%;
  background: rgba(116, 29, 53, 0.23);
  filter: blur(60px);
  pointer-events: none;
}

.footer-inner,
.footer-bottom {
  position: relative;
  display: grid;
  width: min(1220px, 100%);
  margin: 0 auto;
}

.footer-inner {
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: start;
  gap: clamp(30px, 7vw, 100px);
}

.footer-brand > span {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-style: italic;
  line-height: 1;
}

.footer-brand p {
  max-width: 370px;
  margin: 15px 0 0;
}

.footer-contact,
.footer-social {
  display: grid;
  gap: 12px;
}

.footer-contact a,
.footer-social a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 800;
}

.footer-contact a:hover,
.footer-social a:hover {
  color: var(--gold);
}

.footer-contact .footer-admin-link {
  width: fit-content;
  margin-top: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 242, 216, 0.16);
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-contact .footer-admin-link:hover {
  border-color: rgba(255, 242, 216, 0.42);
  background: rgba(255, 242, 216, 0.07);
}

.footer-cookie-link {
  width: fit-content;
  padding: 0;
  border: 0;
  color: var(--cream);
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.footer-cookie-link:hover { color: var(--gold); }

.legal-hero { min-height: 500px; }
.legal-section { background: var(--paper); }
.legal-container { width: min(900px, 100%); }
.legal-document { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.72; }
.legal-document .legal-updated { display: inline-flex; padding: 7px 11px; border-radius: 999px; color: var(--wine); background: rgba(116, 29, 53, 0.08); font-size: .76rem; font-weight: 850; }
.legal-document .legal-lead { color: var(--ink); font-family: var(--font-display); font-size: clamp(1.35rem, 2.8vw, 2rem); line-height: 1.35; }
.legal-document h2 { margin: 48px 0 13px; color: var(--wine); font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, 2.6rem); font-weight: 600; line-height: 1.1; }
.legal-document li { margin-bottom: 10px; }
.legal-document a { color: var(--wine); font-weight: 750; }
.legal-document address { margin: 22px 0; padding: 20px; border-left: 4px solid var(--gold); border-radius: var(--radius-sm); background: #fff; font-style: normal; }
.legal-table-wrap { overflow-x: auto; margin: 24px 0; }
.legal-document table { width: 100%; border-collapse: collapse; min-width: 620px; background: #fff; }
.legal-document th, .legal-document td { padding: 13px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-document th { color: var(--cream); background: var(--wine); }

.footer-bottom {
  grid-template-columns: 1fr auto;
  gap: 20px;
  margin-top: 58px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 242, 216, 0.12);
  font-size: 0.78rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1080px) {
  .primary-nav {
    gap: 14px;
  }

  .primary-nav a {
    font-size: 0.82rem;
  }

  .primary-nav .nav-cta {
    display: none;
  }

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

  .classes-layout,
  .classes-page-grid {
    grid-template-columns: 1fr;
  }

  .classes-copy {
    max-width: 730px;
  }

  .classes-image {
    width: 65vw;
    opacity: 0.42;
  }

  .contact-form-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 12px 17px;
  }

  .brand img {
    width: 72px;
    height: 72px;
  }

  .nav-actions {
    gap: 10px;
  }

  .nav-toggle {
    display: grid;
  }

  .language-switcher,
  .nav-toggle {
    position: relative;
    z-index: 2;
  }

  .primary-nav {
    position: fixed;
    inset: 0;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100dvh;
    z-index: -1;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: max(105px, calc(env(safe-area-inset-top) + 92px)) 25px max(36px, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background:
      radial-gradient(circle at 100% 0%, rgba(244, 185, 66, 0.16), transparent 28%),
      rgba(18, 9, 12, 0.98);
    opacity: 0;
    transform: translateY(-16px);
    transition: visibility 220ms ease, opacity 220ms ease, transform 220ms ease;
  }

  body.nav-open .primary-nav {
    z-index: 1;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  html.nav-open,
  body.nav-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  body.nav-open .site-header.is-scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .primary-nav a,
  .primary-nav .nav-cta {
    display: flex;
    justify-content: space-between;
    padding: 13px 2px;
    border-bottom: 1px solid rgba(255, 242, 216, 0.12);
    border-radius: 0;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 7vw, 3.3rem);
    font-weight: 500;
  }

  @media (max-height: 620px) {
    .primary-nav {
      padding-top: max(88px, calc(env(safe-area-inset-top) + 78px));
    }

    .primary-nav a,
    .primary-nav .nav-cta {
      padding-block: 9px;
      font-size: clamp(1.45rem, 6vh, 2.25rem);
    }
  }

  .primary-nav .nav-cta {
    min-height: auto;
    color: var(--gold-light);
    background: transparent;
  }

  .scroll-cue {
    display: none;
  }

  .section-heading,
  .contact-cta-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    gap: 22px;
  }

  .service-card.is-open {
    grid-template-columns: 1fr;
  }

  .service-card.is-open .service-trigger {
    min-height: 430px;
  }

  .process-grid,
  .proof-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .process-card,
  .proof-card {
    min-height: 230px;
  }

  .process-card > span,
  .proof-card > span {
    margin-bottom: 37px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 82px;
  }

  .language-option {
    width: 32px;
    height: 32px;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(12, 5, 8, 0.91) 0%, rgba(26, 8, 15, 0.57) 62%, rgba(12, 5, 8, 0.31) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.17) 0%, rgba(0, 0, 0, 0.06) 45%, rgba(12, 5, 8, 0.93) 100%),
      var(--hero-image-mobile, var(--hero-image)) 58% top / cover no-repeat;
  }

  .hero-inner {
    width: min(100% - 32px, 1220px);
    padding-top: 132px;
    padding-bottom: 45px;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 16vw, 4.6rem);
    line-height: 0.88;
  }

  .hero-copy {
    margin-top: 23px;
    font-size: 1rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    margin-top: 35px;
  }

  .hero-meta div {
    padding: 14px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 242, 216, 0.12);
  }

  .hero-meta div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 70px 16px;
  }

  .section-heading h2,
  .display-heading,
  .contact-cta h2 {
    font-size: clamp(2.5rem, 13vw, 3.6rem);
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-choice-grid {
    grid-template-columns: 1fr;
  }

  .service-trigger {
    min-height: 350px;
  }

  .service-card.is-open .service-trigger {
    min-height: 390px;
  }

  .service-copy {
    padding: 21px;
  }

  .service-details {
    padding: 26px 21px 30px;
  }

  .classes-feature {
    min-height: 0;
  }

  .classes-image {
    width: 100%;
    opacity: 0.24;
  }

  .classes-copy h2 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .feature-panel {
    padding: 19px;
    border-radius: var(--radius-md);
  }

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

  .class-item .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .page-hero {
    min-height: 540px;
    padding: 135px 16px 56px;
  }

  .page-hero h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .contact-form-shell {
    padding: 27px 19px;
    border-radius: var(--radius-md);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-span {
    grid-column: auto;
  }

  .button-submit {
    width: 100%;
  }

  .footer-inner,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    gap: 6px;
  }
}

.service-page-link {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  border-top: 1px solid rgba(37, 20, 25, 0.12);
  color: var(--wine);
  background: var(--cream);
  font-weight: 800;
  text-decoration: none;
}

.service-seo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
  gap: clamp(35px, 7vw, 95px);
  align-items: start;
}

.service-seo-copy {
  max-width: 760px;
  font-size: 1.07rem;
}

.service-seo-copy h4 {
  margin: 38px 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.service-seo-copy li {
  margin-bottom: 9px;
}

.service-seo-copy .button {
  margin-top: 28px;
}

.service-seo-aside {
  position: sticky;
  top: 110px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--cream);
  background: var(--wine);
}

.service-seo-aside img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.service-seo-aside p {
  margin: 0;
  padding: 24px;
}

@media (max-width: 760px) {
  .service-seo-grid {
    grid-template-columns: 1fr;
  }

  .service-seo-aside {
    position: static;
  }
}

/* The compact party form shares this theme's fixed public navigation. */
body.amandan-workshop-page .amh-registration {
  padding-top: clamp(128px, 11vw, 170px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
