
:root {
  --content-width: 1240px;
  --content-pad: 0.5rem;
  --radius: 0.5rem;
  --ease: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Theme: legacy-teal (current default) ── */
[data-theme="legacy-teal"] {
  --bg: #ffffff;
  --bg-alt: #f1f5f9;
  --bg-deep: #e2e8f0;
  --surface: #ffffff;
  --line: #cbd5e1;
  --text: #0f172a;
  --muted: #334155;
  --accent: #0f766e;
  --accent-strong: #0d9488;
  --accent-soft: rgba(15, 118, 110, 0.08);
  --secondary: #200142;
  --text-accent: #0f766e;
  --button-text: #ffffff;
  --focus-ring: rgba(15, 118, 110, 0.4);
  --shadow-soft: rgba(15, 23, 42, 0.08);
  --hero-gradient-start: #f8fafc;
  --hero-gradient-end: #e2e8f0;
  --glow-a: rgba(15, 118, 110, 0.12);
  --glow-b: rgba(15, 118, 110, 0.06);
  --hero-noise-line: rgba(15, 118, 110, 0.08);
  --hero-noise-mask: rgba(248, 250, 252, 0.9);
}

/* ── Theme: logo-teal (built from headerLogo #23d6ac) ── */
[data-theme="logo-teal"] {
  --bg: #ffffff;
  --bg-alt: #f0fdf9;
  --bg-deep: #d5faef;
  --surface: #ffffff;
  --line: #b0ece0;
  --text: #061a17;
  --muted: #1a5c52;
  --accent: #23d6ac;
  --accent-strong: #0f9e7e;
  --accent-soft: rgba(35, 214, 172, 0.10);
  --secondary: #061a17;
  --text-accent: #0f9e7e;
  --button-text: #061a17;
  --focus-ring: rgba(35, 214, 172, 0.5);
  --shadow-soft: rgba(6, 26, 23, 0.07);
  --hero-gradient-start: #f0fdf9;
  --hero-gradient-end: #d5faef;
  --glow-a: rgba(35, 214, 172, 0.18);
  --glow-b: rgba(15, 158, 126, 0.10);
  --hero-noise-line: rgba(35, 214, 172, 0.10);
  --hero-noise-mask: rgba(240, 253, 249, 0.9);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  overflow-x: clip;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(40rem 40rem at -10% -8%, var(--glow-a), transparent 65%),
    radial-gradient(34rem 34rem at 110% 20%, var(--glow-b), transparent 58%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 56%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: "Poppins", sans-serif;
  font-weight: 450;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--hero-noise-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hero-noise-line) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at top, black 10%, transparent 80%);
}

h1,
h2,
h3,
.brand,
.eyebrow,
.card-label,
.steps span,
.panel-title,
.item-label,
.testimonial-meta {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p,
ul,
ol,
figure {
  margin: 0;
  font-weight: inherit;
}

ul,
ol {
  padding: 0;
}

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

img {
  max-width: 100%;
}

#app::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  z-index: 9999;
  transform-origin: left;
  animation: loadingSimulate 2s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}

#app.is-loaded::before {
  animation: loadingComplete 0.4s ease-out forwards;
}

@keyframes loadingSimulate {
  0% {
    transform: scaleX(0);
    opacity: 1;
  }

  100% {
    transform: scaleX(0.85);
    opacity: 1;
  }
}

@keyframes loadingComplete {
  0% {
    transform: scaleX(0.85);
    opacity: 1;
  }

  40% {
    transform: scaleX(1);
    opacity: 1;
  }

  99% {
    transform: scaleX(1);
    opacity: 0;
  }

  100% {
    transform: scaleX(1);
    opacity: 0;
    visibility: hidden;
  }
}

.loading-shell {
  min-height: 40vh;
}

.site-header,
main,
.site-footer {
  width: min(var(--content-width), calc(100% - (var(--content-pad) * 2)));
  margin-inline: auto;
}

.site-header {
  padding: 0.6rem 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  height: 40px;
  width: auto;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--secondary);
}

.brand-specialty {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.6rem;
  position: relative;
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 1.5px solid var(--line);
  border-radius: 0.8rem;
  background: var(--surface);
  color: var(--text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
  transition:
    border-color var(--ease),
    box-shadow var(--ease),
    transform var(--ease);
}

.nav-toggle-line {
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform var(--ease), opacity var(--ease);
}

.nav-toggle:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px var(--bg-deep),
    0 0 0 4px var(--focus-ring);
}

.site-header.is-menu-open .nav-toggle-line:nth-child(1) {
  transform: translateY(0.39rem) rotate(45deg);
}

.site-header.is-menu-open .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .nav-toggle-line:nth-child(3) {
  transform: translateY(-0.39rem) rotate(-45deg);
}

.site-header.is-nav-breakpoint-switch .nav-toggle,
.site-header.is-nav-breakpoint-switch .nav-toggle-line,
.site-header.is-nav-breakpoint-switch .nav-backdrop,
.site-header.is-nav-breakpoint-switch .nav-panel {
  transition: none !important;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-backdrop {
  display: none;
}

/* For SEO/A11y redundant text if logo has it, but here we keep it subtle */
/* If the user still finds it weird, we can use sr-only */

.top-nav,
.header-socials,
.links-row,
.footer-links,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.header-socials {
  gap: 0.4rem;
}

.top-nav a,
.text-link {
  border: 1.5px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  padding: 0.45rem 0.8rem;
  background: transparent;
  transition:
    color var(--ease),
    border-color var(--ease),
    background var(--ease),
    transform var(--ease),
    box-shadow var(--ease);
}

.top-nav a:hover,
.text-link:hover {
  color: var(--text);
  border-color: var(--accent);
  background: var(--bg-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--shadow-soft);
}

.top-nav a:focus-visible,
.text-link:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px var(--bg-deep),
    0 0 0 4px var(--focus-ring),
    0 10px 22px var(--shadow-soft);
}

.top-nav a[aria-current="page"] {
  color: var(--button-text);
  border-color: var(--accent);
  background: var(--accent);
}

.text-link-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.text-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.text-link-icon svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.social-link {
  width: 2.1rem;
  height: 2.1rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition:
    color var(--ease),
    border-color var(--ease),
    background var(--ease),
    transform var(--ease),
    box-shadow var(--ease);
}

.social-link svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.social-link:hover {
  color: var(--text);
  border-color: var(--accent);
  background: var(--bg-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--shadow-soft);
}

.social-link:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px var(--bg-deep),
    0 0 0 4px var(--focus-ring),
    0 10px 22px var(--shadow-soft);
}

.section {
  padding: clamp(1.3rem, 3.5vw, 2.8rem) 0;
}

.hero {
  position: relative;
  overflow: clip;
  border-radius: var(--radius);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-left-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}


.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.work-links,
.video-card,
.site-error .card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(4px);
}

.work-links,
.video-card,
.site-footer,
.site-error .card {
  padding: clamp(1rem, 2vw, 1.45rem);
}

.hero-portrait img,
.photo-feature img,
.photo-support img,
.video-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.72rem;
  border: 1px solid var(--line);
}

.hero-portrait figcaption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
  max-width: 42ch;
}

.eyebrow {
  color: var(--text-accent);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0.7rem 0 1rem;
  font-size: 3rem;
  line-height: 0.98;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65), 0 4px 8px var(--shadow-soft);
}

h1 span {
  display: block;
  color: var(--text-accent);
}

h2 {
  margin: 0;
  font-size: clamp(1.55rem, 1.1rem + 2.6vw, 2.9rem);
  text-transform: uppercase;
  line-height: 1.02;
  max-width: 18ch;
  text-wrap: balance;
}

h3 {
  margin: 0;
  text-transform: uppercase;
  font-size: 1.05rem;
  line-height: 1.2;
}

.lede {
  color: var(--muted);
  font-size: 1.125rem;
  font-weight: 450;
  line-height: 1.6;
  max-width: 48ch;
}

.hero-actions {
  margin-top: 1.2rem;
  gap: 0.6rem;
}

.panel-title {
  color: var(--text-accent);
  text-transform: uppercase;
  font-size: 0.79rem;
  margin-bottom: 0.65rem;
  letter-spacing: 0.06em;
}

.hero-panel ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.hero-panel li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  max-width: 36ch;
  line-height: 1.5;
}

.hero-panel li::before {
  content: "";
  position: absolute;
  top: 0.54em;
  left: 0;
  width: 0.42rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform var(--ease),
    background var(--ease),
    border-color var(--ease),
    color var(--ease),
    box-shadow var(--ease);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px var(--shadow-soft);
}

.btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px var(--bg-deep),
    0 0 0 4px var(--focus-ring),
    0 12px 24px var(--shadow-soft);
}

.btn-solid {
  background: var(--accent);
  color: var(--button-text);
}

.btn-outline {
  border: 2px solid var(--line);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--accent);
  background: var(--bg-alt);
}

.section-head {
  display: grid;
  gap: 0.72rem;
  margin-bottom: clamp(1.25rem, 3.6vw, 2.1rem);
}

.card {
  display: grid;
  gap: 0.65rem;
}

.feature-list,
.testimonials-list,
.steps,
.photo-layout,
.photo-rail {
  display: grid;
  gap: 1rem;
}

.feature-row {
  display: grid;
  gap: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.feature-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.item-label {
  font-size: 0.78rem;
  color: var(--text-accent);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.feature-copy {
  display: grid;
  gap: 0.45rem;
}

.feature-copy p,
.steps p,
.video-card p,
.site-footer p {
  color: var(--muted);
  max-width: 56ch;
}

.card-label {
  font-size: 0.79rem;
  color: var(--text-accent);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.steps {
  list-style: none;
  max-width: 54rem;
  gap: 1.1rem;
}

.steps li {
  display: grid;
  grid-template-columns: 2.8rem 1fr;
  align-items: start;
  gap: 0.9rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.steps li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.steps span {
  color: var(--text-accent);
  font-size: 1.85rem;
  line-height: 1;
}

.testimonial-entry {
  display: grid;
  gap: 0.75rem;
  padding: 0.3rem 0 1rem 1rem;
  border-left: 3px solid var(--accent);
  border-bottom: 1px solid var(--line);
}

.testimonial-entry:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.testimonial-quote {
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 56ch;
}

.testimonial-meta {
  color: var(--text-accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.photo-feature,
.photo-support {
  display: grid;
  gap: 0.65rem;
}

.photo-feature figcaption,
.photo-support figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.photo-feature figcaption span,
.photo-support figcaption span {
  font-weight: 700;
  letter-spacing: 0.03em;
}

.work-links {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.75rem;
}

.video-card {
  display: grid;
  gap: 1rem;
}

.video-card div {
  display: grid;
  gap: 0.6rem;
}

.site-footer {
  margin-top: 3rem;
  padding-bottom: 5rem;
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
}

.footer-logo {
  height: 20rem;
  width: auto;
  display: block;
}

.footer-links {
  justify-content: center;
}

.site-error .card {
  max-width: 38rem;
}

.patarimas-section {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-inline: 0;
}

.patarimas-card {
  gap: 1rem;
}

.patarimas-card h2 {
  max-width: 24ch;
}

.patarimas-card h3 {
  margin-top: 0.25rem;
}

.patarimas-card p {
  color: var(--muted);
  max-width: 65ch;
}

.patarimas-card strong {
  color: var(--text);
}

.patarimas-card a {
  color: var(--accent);
  text-decoration: underline;
}

.patarimas-payment {
  display: grid;
  gap: 0.3rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--bg-alt);
  width: fit-content;
  max-width: 100%;
}

.patarimas-payment-line {
  margin: 0;
}

/* Paskaita layout - image on top (mobile), image on right (desktop) */
.paskaita-card {
  padding: 0;
  overflow: hidden;
}

.paskaita-layout {
  display: grid;
  gap: 0;
}

.paskaita-image {
  margin: 0;
  padding: 0;
}

.paskaita-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  border: none;
}

.paskaita-content {
  padding: clamp(1rem, 2vw, 1.45rem);
  display: grid;
  gap: 1rem;
}

.paskaita-content h2 {
  max-width: 24ch;
}

.paskaita-content h3 {
  margin-top: 0.25rem;
}

.paskaita-content p {
  color: var(--muted);
  max-width: 65ch;
}

.paskaita-content strong {
  color: var(--text);
}

.paskaita-content a {
  color: var(--accent);
  text-decoration: underline;
}

@media (min-width: 48rem) {
  .paskaita-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .paskaita-image {
    order: 2;
  }

  .paskaita-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .paskaita-content {
    order: 1;
    padding: clamp(1.2rem, 2.5vw, 1.8rem);
  }
}

@media (min-width: 48rem) {
  :root {
    --content-pad: 1.1rem;
  }

  .site-header {
    padding-top: 1.35rem;
    gap: 0.9rem;
  }

  .hero-shell {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: start;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .hero-portrait {
    grid-column: 2;
    grid-row: 1;
  }

  .hero-panel {
    grid-column: 2;
    grid-row: 2;
  }

  .photo-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 1.15rem;
    align-items: start;
  }

  .video-card {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
  }
}

@media (max-width: 63.99rem) {
  body.mobile-nav-open {
    overflow: hidden;
  }

  .site-header[data-mobile-nav] {
    position: relative;
    align-items: flex-start;
  }

  .site-header[data-mobile-nav] .header-actions {
    margin-left: auto;
    align-items: flex-end;
  }

  .site-header[data-mobile-nav] .nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 80;
  }

  .site-header[data-mobile-nav] .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--ease), visibility var(--ease);
    pointer-events: none;
    z-index: 60;
  }

  .site-header[data-mobile-nav].is-menu-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-header[data-mobile-nav] .nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(84vw, 22rem);
    display: grid;
    align-content: start;
    gap: 1rem;
    padding: 5.2rem 1rem 1.1rem;
    border-left: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface);
    box-shadow: -18px 0 32px var(--shadow-soft);
    opacity: 1;
    visibility: visible;
    transform: translateX(100%);
    pointer-events: none;
    transition: transform var(--ease);
    z-index: 70;
    overflow-y: auto;
  }

  .site-header[data-mobile-nav].is-menu-open .nav-panel {
    transform: translateX(0);
    pointer-events: auto;
  }

  .site-header[data-mobile-nav] .top-nav,
  .site-header[data-mobile-nav] .header-socials {
    width: 100%;
    display: grid;
    gap: 0.6rem;
  }

  .site-header[data-mobile-nav] .top-nav a {
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
  }
}

@media (min-width: 64rem) {
  .site-header {
    padding-top: 1rem;
     }

  .logo {
    height: 48px;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .brand-specialty {
    font-size: 0.78rem;
  }

  .photo-layout {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  }

  .feature-list,
  .testimonials-list {
    max-width: 64rem;
  }
}

.container {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
}


.bio-text {
  display: grid;
  gap: 1.5rem;
  color: var(--text);
}

.bio-text p {
  max-width: 65ch;
}

/* Topic Blocks */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.topic-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: transform var(--ease), box-shadow var(--ease);
}

.topic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-soft);
}

.topic-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.topic-body {
  padding: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.topic-tagline {
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 0.9rem;
}

.topic-desc {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Workshops */
.workshops-list {
  display: grid;
  gap: 1.5rem;
}

.workshop-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-alt);
}

.workshop-info {
  display: grid;
  gap: 0.5rem;
}

.workshop-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.workshop-price {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-accent);
}

/* Hover Effects */
.hvr-sweep-to-right {
  display: inline-block;
  vertical-align: middle;
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  transition-property: color;
  transition-duration: 0.3s;
}

.hvr-sweep-to-right:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition-property: transform;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
}

.hvr-sweep-to-right:hover,
.hvr-sweep-to-right:focus,
.hvr-sweep-to-right:active {
  color: white;
}

.hvr-sweep-to-right:hover:before,
.hvr-sweep-to-right:focus:before,
.hvr-sweep-to-right:active:before {
  transform: scaleX(1);
}

.btn-text {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent-strong);
  border-radius: 4px;
}

@media (max-width: 48rem) {
  .workshop-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .workshop-action {
    align-items: flex-start;
    width: 100%;
  }

  .workshop-action .btn {
    width: 100%;
  }

  .hero-copy {
    order: 2;
  }

  .hero-left-side {
    order: 1;
  }
}


/* Email Form */
.email-form-section {
  background: var(--bg-deep);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px var(--shadow-soft);
}

.form-head {
  text-align: center;
  margin-bottom: 2rem;
}

.form-head h2 {
  margin-bottom: 0.5rem;
}

.email-form {
  display: grid;
  gap: 1.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--ease);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.email-form .btn {
  width: 100%;
  padding: 1.25rem;
  font-size: 1.1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.form-status {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 4px;
  text-align: center;
}

.form-status.success {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.form-status.error {
  background: rgba(220, 38, 38, 0.08);
  color: #991b1b;
}

.none {
  display: none;
}

body.is-modal-open {
  overflow: hidden;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: rgba(15, 23, 42, 0.5);
}

.modal-backdrop[hidden] {
  display: none !important;
}

.modal-card {
  width: min(720px, 100%);
  max-height: calc(100vh - 4rem);
  border-radius: 0.8rem;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 24px 48px var(--shadow-soft);
  padding: 1.5rem;
  padding-top: 3rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-card h2 {
  margin-bottom: 0.75rem;
}

.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text);
  background: var(--bg-alt);
}

@media (max-width: 48rem) {
  .modal-backdrop {
    padding: 0;
  }

  .modal-card {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
    border: 0;
  }
}

@media (prefers-reduced-motion: reduce) {

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
