:root {
  color-scheme: light;
  --blue: #236293;
  --blue-deep: #0c3d66;
  --blue-soft: #eaf4fb;
  --ink: #172431;
  --muted: #647382;
  --paper: #fbfdff;
  --paper-warm: #f6efe5;
  --surface: rgba(255, 255, 255, 0.86);
  --line: rgba(20, 44, 68, 0.14);
  --orange: #f6750e;
  --gold: #fbd009;
  --red: #ae190c;
  --slate: #55748e;
  --shadow: 0 24px 70px rgba(15, 48, 80, 0.14);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-fast: 180ms;
  --motion-med: 360ms;
  --motion-slow: 680ms;
}

[data-theme="dark"] {
  color-scheme: dark;
  --blue-deep: #76b9ea;
  --ink: #f6f8fb;
  --muted: #b8c5cf;
  --paper: #101820;
  --paper-warm: #162535;
  --surface: rgba(18, 29, 40, 0.9);
  --line: rgba(230, 238, 245, 0.14);
  --blue-soft: #102c45;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
}

body.zumenart-site {
  padding-top: 126px;
  background:
    linear-gradient(180deg, rgba(250, 248, 243, 0.82), rgba(250, 248, 243, 0.9)),
    url("../backgrounds/paint-swipes-zumenart.png") center center / cover fixed no-repeat,
    linear-gradient(115deg, rgba(35, 98, 147, 0.12), transparent 28rem),
    linear-gradient(245deg, rgba(246, 117, 14, 0.14), transparent 30rem),
    linear-gradient(180deg, var(--paper), var(--paper-warm) 58%, var(--paper)) !important;
}

[data-theme="dark"] body.zumenart-site {
  background:
    linear-gradient(180deg, rgba(16, 24, 32, 0.34), rgba(16, 24, 32, 0.58)),
    url("../backgrounds/paint-swipes-zumenart-dark.png") center center / cover fixed no-repeat,
    linear-gradient(115deg, rgba(35, 98, 147, 0.18), transparent 28rem),
    linear-gradient(245deg, rgba(246, 117, 14, 0.14), transparent 30rem),
    linear-gradient(180deg, var(--paper), var(--paper-warm) 58%, var(--paper)) !important;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(35, 98, 147, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 98, 147, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  animation: gridDrift 18s var(--ease-out) infinite alternate;
}

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

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

.image-placeholder {
  background:
    linear-gradient(110deg, rgba(35, 98, 147, 0.08) 8%, rgba(255, 255, 255, 0.5) 18%, rgba(35, 98, 147, 0.08) 33%),
    var(--blue-soft);
  background-size: 220% 100%;
  animation: placeholderSweep 1.35s linear infinite;
}

.image-placeholder.is-loaded {
  background: transparent;
  opacity: 1;
  animation: imageSettle 420ms var(--ease-out) both;
}

.placeholder-art {
  display: block;
  width: 100%;
  aspect-ratio: 1.55;
  min-height: 220px;
  border-radius: 6px;
}

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

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  top: 14px;
  right: 0;
  left: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: 0 16px 46px rgba(21, 51, 74, 0.1);
  backdrop-filter: blur(18px);
  animation: headerDrop 560ms var(--ease-out) both;
  transition:
    box-shadow var(--motion-med) var(--ease-out),
    background var(--motion-med) var(--ease-out),
    transform var(--motion-med) var(--ease-out);
}

.site-header[data-scrolled] {
  box-shadow: 0 20px 54px rgba(12, 48, 79, 0.18);
  transform: translateY(-2px);
}

body.admin-bar .site-header {
  top: 46px;
}

@media (min-width: 783px) {
  body.admin-bar .site-header {
    top: 32px;
  }
}

.brand {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
  justify-self: start;
}

.brand img {
  width: clamp(118px, 13vw, 172px);
  height: auto;
  aspect-ratio: 940 / 435;
  transform-origin: left center;
  transition: transform var(--motion-med) var(--ease-out);
}

.brand:hover img,
.brand:focus-visible img {
  transform: rotate(-1.5deg) scale(1.035);
}

.brand span {
  max-width: 130px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.main-nav {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 24px);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
  transition: color var(--motion-fast) ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease-out);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions,
.hero-actions,
.contact-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-actions {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.language-toggle {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: 42px;
  min-width: 84px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  cursor: pointer;
  overflow: hidden;
}

.language-toggle-track {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  align-items: center;
  text-align: center;
}

.language-toggle-track span {
  display: grid;
  min-width: 36px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.language-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(50% - 3px);
  height: 34px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(35, 98, 147, 0.18);
  transform: translateX(0);
  transition:
    transform var(--motion-fast) var(--ease-out),
    width var(--motion-fast) var(--ease-out);
}

.language-toggle[data-active-language="en"] .language-toggle-thumb {
  transform: translateX(100%);
}

.language-toggle[data-active-language="id"] .language-toggle-track span:first-child,
.language-toggle[data-active-language="en"] .language-toggle-track span:last-child {
  color: white;
}

.language-toggle:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.theme-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.theme-toggle span {
  width: 17px;
  height: 17px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  background: linear-gradient(90deg, var(--blue) 50%, transparent 50%);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.portal-link,
.primary-action,
.secondary-action,
.contact-form button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 900;
  transition:
    transform var(--motion-med) var(--ease-out),
    box-shadow var(--motion-med) var(--ease-out),
    background var(--motion-med) var(--ease-out),
    border-color var(--motion-med) var(--ease-out);
}

.portal-link,
.primary-action,
.contact-form button {
  border: 0;
  background: var(--blue);
  color: white;
  box-shadow: 0 16px 36px rgba(35, 98, 147, 0.22);
}

.secondary-action {
  border: 2px solid color-mix(in srgb, var(--blue) 72%, var(--line));
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  color: var(--blue);
}

[data-theme="dark"] .secondary-action {
  border-color: color-mix(in srgb, #76b9ea 58%, var(--line));
  background: color-mix(in srgb, var(--blue) 18%, var(--surface));
  color: #dff1ff;
}

.portal-link:hover,
.primary-action:hover,
.secondary-action:hover,
.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(35, 98, 147, 0.26);
}

.portal-link:active,
.primary-action:active,
.secondary-action:active,
.contact-form button:active {
  transform: translateY(0) scale(0.98);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: start;
  width: min(1320px, calc(100% - 32px));
  min-height: clamp(560px, 74vh, 700px);
  margin: 0 auto;
  padding: clamp(42px, 6vw, 72px) 0 36px;
}

.hero::before {
  position: absolute;
  right: -3vw;
  bottom: 0;
  z-index: -1;
  width: min(60vw, 760px);
  height: min(34vw, 420px);
  content: "";
  background:
    linear-gradient(150deg, transparent 22%, rgba(35, 98, 147, 0.9) 23% 40%, transparent 41%),
    linear-gradient(170deg, transparent 50%, rgba(246, 117, 14, 0.85) 51% 63%, transparent 64%);
  filter: blur(0.2px);
  opacity: 0.2;
  transform: rotate(-5deg);
  animation: brushFloat 6s var(--ease-out) infinite alternate;
}

.since-label,
.section-kicker {
  margin: 0 0 14px;
  color: var(--blue-deep);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 600px;
  margin-bottom: 22px;
  color: var(--blue-deep);
  font-family: Caveat, cursive;
  font-size: clamp(5.4rem, 9vw, 9.8rem);
  line-height: 0.78;
  letter-spacing: 0;
}

h1 > span {
  display: block;
}

h1 > span:not(:first-child) {
  color: var(--orange);
}

[data-lang="id"] .hero h1 {
  max-width: 520px;
  font-size: clamp(4.2rem, 7.4vw, 8rem);
  line-height: 0.82;
}

.typed-hero {
  --typed-caret-color: var(--blue-deep);
  --typed-char-delay: 86ms;
  text-transform: none;
}

.typed-hero > span {
  display: block;
  min-height: 0.78em;
  white-space: nowrap;
}

[data-lang="id"] .typed-hero > span {
  min-height: 0.82em;
}

.typed-hero .typed-char {
  display: inline-block;
  min-height: 0;
}

.typed-char {
  opacity: 0;
  transform: translateY(0.08em);
  animation: typedChar 140ms var(--ease-out) forwards;
}

.typed-caret {
  display: inline-block;
  width: 0.08em;
  height: 0.74em;
  margin-left: 0.06em;
  background: currentColor;
  transform: translateY(0.06em);
  animation: caretBlink 760ms step-end infinite;
}

.hero-lede {
  max-width: 600px;
  color: var(--muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  font-weight: 600;
  line-height: 1.66;
}

.since-label,
.hero h1,
.hero-lede,
.hero-actions,
.page-hero h1,
.page-hero .hero-lede,
.page-hero .hero-actions {
  animation: fadeLift 620ms var(--ease-out) both;
}

.hero h1,
.page-hero h1 {
  animation-delay: 80ms;
}

.hero-lede,
.page-hero .hero-lede {
  animation-delay: 160ms;
}

.hero-actions,
.page-hero .hero-actions {
  animation-delay: 240ms;
}

.hero-media {
  position: relative;
  min-width: 0;
  min-height: clamp(390px, 40vw, 520px);
  animation: mediaRise 760ms var(--ease-snap) 140ms both;
}

.hero-live-frames {
  position: relative;
  min-height: inherit;
}

.hero-frame {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 10px solid color-mix(in srgb, var(--surface) 88%, white);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition:
    transform var(--motion-slow) var(--ease-out),
    box-shadow var(--motion-slow) var(--ease-out),
    opacity var(--motion-med) var(--ease-out);
}

.hero-frame.is-refreshing {
  opacity: 0.58;
}

.hero-frame-main {
  top: 0;
  right: 0;
  z-index: 3;
  width: min(88%, 660px);
}

.hero-frame-side {
  bottom: 8px;
  left: -6%;
  z-index: 5;
  width: min(46%, 320px);
  transform: rotate(-7deg);
}

.hero-frame-small {
  right: -2%;
  bottom: -26px;
  z-index: 4;
  width: min(32%, 230px);
  transform: rotate(5deg);
}

.hero-media img,
.hero-frame img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  transition:
    transform var(--motion-slow) var(--ease-out),
    box-shadow var(--motion-slow) var(--ease-out);
}

.hero-frame-side img,
.hero-frame-small img {
  aspect-ratio: 1;
}

.hero-frame figcaption {
  position: absolute;
  top: 16px;
  left: 16px;
  max-width: calc(100% - 32px);
  padding: 6px 9px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(12, 61, 102, 0.84);
  color: white;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-media:hover .hero-frame-main {
  transform: translateY(-4px) scale(1.012);
  box-shadow: 0 34px 90px rgba(15, 48, 80, 0.2);
}

.hero-media:hover .hero-frame-side {
  transform: rotate(-7deg) translate(-6px, -8px);
}

.hero-media:hover .hero-frame-small {
  transform: rotate(5deg) translate(8px, -3px);
}

.brush-swipe {
  position: absolute;
  z-index: -1;
  height: 42px;
  border-radius: 999px 22px 999px 22px;
  transform: rotate(-7deg);
  animation: brushSlide 780ms var(--ease-out) 340ms both;
}

.brush-swipe.blue {
  right: 10%;
  bottom: -18px;
  width: 58%;
  background: var(--blue);
}

.brush-swipe.orange {
  right: 2%;
  bottom: -38px;
  width: 34%;
  background: var(--orange);
}

.section,
.page-hero,
.contact-section,
.single-article {
  position: relative;
  isolation: isolate;
}

.section > *,
.page-hero > *,
.contact-section > *,
.single-article > * {
  position: relative;
  z-index: 1;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  box-shadow: 0 22px 56px rgba(20, 68, 108, 0.18);
  animation: fadeLift 620ms var(--ease-out) 220ms both;
}

.stats-band div {
  position: relative;
  min-width: 0;
  padding: 22px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
  transition:
    background var(--motion-med) ease,
    box-shadow var(--motion-med) var(--ease-out),
    transform var(--motion-med) var(--ease-out);
}

.stats-band div::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.2), transparent 58%);
  opacity: 0;
  transition: opacity var(--motion-med) ease;
}

.stats-band div:hover,
.stats-band div:focus-within {
  z-index: 1;
  background: color-mix(in srgb, white 9%, var(--blue));
  box-shadow: 0 18px 38px rgba(12, 61, 102, 0.2);
  transform: translateY(-4px);
}

.stats-band div:hover::before,
.stats-band div:focus-within::before,
.stats-band div.is-counted::before {
  opacity: 1;
}

.stats-band div:last-child {
  border-right: 0;
}

.stats-band strong {
  position: relative;
  display: block;
  font-size: clamp(1.55rem, 2.7vw, 2.55rem);
  line-height: 1;
  transition: transform var(--motion-med) var(--ease-out);
}

.stats-band div:hover strong,
.stats-band div:focus-within strong {
  transform: scale(1.05);
}

.stats-band span {
  position: relative;
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  opacity: 0.86;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(78px, 10vw, 132px) 0 0;
  animation: sectionSettle 720ms var(--ease-out) both;
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(80px, 12vw, 150px) 0 clamp(24px, 5vw, 60px);
}

.page-hero h1 {
  max-width: 960px;
  margin-bottom: 22px;
  color: var(--blue-deep);
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(3.4rem, 7vw, 7rem);
  line-height: 0.92;
}

.page-hero .hero-lede {
  max-width: 780px;
}

.split-layout,
.section-heading,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.section-heading {
  align-items: end;
  margin-bottom: 32px;
}

.section-heading.compact {
  align-items: center;
}

h2 {
  color: var(--ink);
  margin-bottom: 18px;
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(2.65rem, 5.6vw, 5.15rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.94;
}

h3 {
  color: var(--ink);
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.section p,
.studio-panel li,
.program-grid p,
.mentor-grid p,
.flow-list p,
.blog-grid p,
.contact-form label {
  color: var(--muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1.03rem, 1.35vw, 1.18rem);
  font-weight: 650;
  line-height: 1.62;
}

.section-heading > p,
.page-hero .hero-lede,
.contact-section > p {
  max-width: 560px;
  font-size: clamp(1.12rem, 1.65vw, 1.38rem);
  line-height: 1.48;
}

.studio-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition:
    transform var(--motion-med) var(--ease-out),
    box-shadow var(--motion-med) var(--ease-out),
    border-color var(--motion-med) var(--ease-out);
}

.studio-panel:hover {
  border-color: color-mix(in srgb, var(--blue) 36%, var(--line));
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(15, 48, 80, 0.17);
}

.studio-panel img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  transition: transform var(--motion-slow) var(--ease-out);
}

.studio-panel:hover img {
  transform: scale(1.018);
}

.studio-panel ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.studio-panel li {
  position: relative;
  padding-left: 24px;
}

.studio-panel li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 12px;
  height: 3px;
  content: "";
  background: var(--orange);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.program-grid article,
.mentor-grid article,
.blog-grid article,
.flow-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 38px rgba(18, 48, 78, 0.08);
  transition:
    transform var(--motion-med) var(--ease-out),
    box-shadow var(--motion-med) var(--ease-out),
    border-color var(--motion-med) var(--ease-out),
    background var(--motion-med) var(--ease-out);
}

.program-grid article:hover,
.mentor-grid article:hover,
.blog-grid article:hover,
.flow-list li:hover {
  border-color: color-mix(in srgb, var(--blue) 34%, var(--line));
  transform: translateY(-5px);
  box-shadow: 0 26px 58px rgba(18, 48, 78, 0.13);
}

.program-grid article {
  padding: 22px;
}

.program-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-size: 1rem;
  font-weight: 900;
  transition: transform var(--motion-med) var(--ease-out);
}

.program-grid article:hover .program-icon,
.flow-list li:hover span {
  transform: rotate(-4deg) scale(1.06);
}

.program-icon.blue {
  background: var(--blue);
}

.program-icon.orange {
  background: var(--orange);
  color: #172431;
}

.program-icon.gold {
  background: #e4aa00;
  color: #172431;
}

.program-icon.red {
  background: var(--red);
}

.program-icon.slate {
  background: var(--slate);
}

.topic-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  max-width: 1060px;
}

.topic-strip button,
.filter-bar button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 900;
  font-family: inherit;
  transition:
    transform var(--motion-fast) var(--ease-out),
    background var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    color var(--motion-fast) ease;
}

.topic-strip button {
  padding: 10px 14px;
}

.topic-strip button.is-active,
.topic-strip button[aria-expanded="true"] {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
  box-shadow: 0 12px 24px rgba(35, 98, 147, 0.16);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-bar button {
  min-height: 38px;
  padding: 0 14px;
}

.filter-bar button.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.topic-strip button:hover,
.filter-bar button:hover {
  transform: translateY(-2px);
}

.subject-detail-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1.22fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  margin-top: 22px;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 94%, white);
  box-shadow: var(--shadow);
}

.subject-detail-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.subject-detail-copy h3 {
  margin-bottom: 14px;
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 0.94;
}

.subject-detail-copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.74;
}

.subject-sample-carousel {
  position: relative;
  min-height: clamp(320px, 36vw, 460px);
  overflow: hidden;
  border-radius: 8px;
  background: var(--blue-soft);
}

.home-locations-section {
  margin-top: clamp(42px, 7vw, 92px);
}

.location-strip {
  margin-bottom: 22px;
}

.location-sort-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: -10px 0 24px;
}

.location-sort-button {
  min-height: 42px;
  padding-inline: 18px;
}

.location-sort-button.is-loading {
  opacity: 0.72;
  cursor: wait;
}

.location-sort-status,
.location-distance {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.4;
}

.location-distance {
  margin: 10px 0 0;
  color: var(--orange);
}

.home-location-panel {
  align-items: stretch;
}

.home-location-panel .subject-detail-copy {
  align-self: center;
}

.home-location-panel h3 {
  max-width: 8ch;
}

.home-location-actions {
  margin-top: 22px;
}

.home-location-map {
  min-height: clamp(320px, 34vw, 460px);
  overflow: hidden;
  border-radius: 8px;
  background: var(--blue-soft);
}

.home-location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  filter: saturate(0.9) contrast(1.02);
}

.subject-sample-carousel figure {
  position: relative;
  height: 100%;
  min-height: inherit;
  margin: 0;
  overflow: hidden;
}

.subject-sample-carousel .subject-artwork,
.subject-sample-carousel .placeholder-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.subject-sample-carousel .placeholder-art {
  z-index: 0;
}

.subject-sample-carousel .subject-artwork {
  z-index: 1;
  display: block;
  opacity: 1;
  transform: scale(1.012);
  transition:
    filter 420ms var(--ease-out),
    transform 620ms var(--ease-out);
}

.subject-sample-carousel .subject-artwork.is-loaded {
  opacity: 1;
  transform: scale(1);
}

.subject-sample-carousel figcaption {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--blue-deep) 86%, transparent);
  color: white;
  font-size: 0.82rem;
  font-weight: 900;
}

.subject-sample-carousel figcaption strong {
  color: color-mix(in srgb, white 74%, var(--orange));
  text-transform: uppercase;
}

.subject-carousel-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--blue-deep);
  transform: translateY(-50%);
}

.subject-carousel-nav.prev {
  left: 12px;
}

.subject-carousel-nav.next {
  right: 12px;
}

.subject-carousel-dots {
  position: absolute;
  right: 18px;
  bottom: 72px;
  z-index: 4;
  display: flex;
  gap: 6px;
}

.subject-carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.subject-carousel-dots button.is-active {
  width: 22px;
  background: var(--orange);
}

.gallery-carousel {
  margin-bottom: 22px;
  outline: none;
}

.carousel-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 94%, white);
  box-shadow: var(--shadow);
}

.carousel-track {
  display: grid;
}

.carousel-slide {
  display: grid;
  grid-area: 1 / 1;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.72fr);
  min-height: 410px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  transition:
    opacity 360ms var(--ease-out),
    transform 420ms var(--ease-out);
  visibility: hidden;
}

.carousel-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  visibility: visible;
}

.carousel-slide.is-active img {
  animation: imageSettle 520ms var(--ease-out) both;
}

.carousel-image-frame {
  position: relative;
  min-height: 410px;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
}

.carousel-student {
  position: absolute;
  right: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  padding: 8px 11px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--blue-deep) 86%, transparent);
  color: white;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.1;
  box-shadow: 0 12px 26px rgba(18, 48, 78, 0.18);
}

.carousel-slide .placeholder-art {
  height: 100%;
  min-height: 410px;
}

.carousel-slide figcaption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 48px);
}

.carousel-slide h3 {
  margin-bottom: 12px;
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 0.96;
}

.carousel-slide p {
  margin-bottom: 22px;
  color: var(--muted);
  line-height: 1.66;
}

.carousel-topic,
.carousel-type {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.carousel-topic {
  margin-bottom: 14px;
  color: var(--blue-deep);
}

.carousel-type {
  color: var(--orange);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 92%, white);
  color: var(--blue-deep);
  box-shadow: 0 14px 30px rgba(18, 48, 78, 0.14);
  transform: translateY(-50%);
  transition:
    transform var(--motion-med) var(--ease-out),
    background var(--motion-med) ease,
    box-shadow var(--motion-med) var(--ease-out);
}

.carousel-nav:hover,
.carousel-nav:focus-visible {
  background: var(--blue);
  color: white;
  box-shadow: 0 20px 40px rgba(18, 48, 78, 0.2);
  transform: translateY(-50%) scale(1.06);
}

.carousel-nav span {
  display: block;
  margin-top: -2px;
  font-size: 2rem;
  line-height: 1;
}

.carousel-nav.prev {
  left: 16px;
}

.carousel-nav.next {
  right: 16px;
}

.carousel-controls {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.carousel-controls > span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

body.zumenart-student-works-page .carousel-controls > span {
  display: none;
}

body.zumenart-student-works-page .carousel-controls {
  justify-content: flex-end;
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--blue) 28%, var(--surface));
  transition:
    width var(--motion-med) var(--ease-out),
    background var(--motion-fast) ease,
    transform var(--motion-fast) var(--ease-out);
}

.carousel-dots button.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--blue);
}

.carousel-dots button:hover {
  transform: scale(1.18);
}

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

.work-grid figure {
  margin: 0;
  padding: 12px 12px 42px;
  overflow: hidden;
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 94%, white);
  box-shadow: 0 18px 42px rgba(21, 50, 72, 0.12);
  transition:
    transform var(--motion-med) var(--ease-out),
    box-shadow var(--motion-med) var(--ease-out);
}

.work-grid figure[role="button"] {
  cursor: pointer;
}

.work-grid figure:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 62px rgba(21, 50, 72, 0.17);
}

.work-grid figure[hidden] {
  display: none;
}

.artwork {
  display: block;
  width: 100%;
  aspect-ratio: 1.22;
  border-radius: 6px;
  background: var(--blue-soft);
  object-fit: cover;
  transition: transform var(--motion-slow) var(--ease-out);
}

.work-grid .placeholder-art {
  aspect-ratio: 1.22;
  min-height: 0;
}

.work-grid figure:hover .artwork {
  transform: scale(1.035);
}

.work-grid figcaption {
  margin-top: 12px;
  color: var(--ink);
  font-weight: 900;
}

.work-grid figcaption span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.topic-gallery-card figcaption strong {
  display: block;
}

.topic-gallery-card {
  position: relative;
  padding: 12px 12px 46px;
}

.topic-gallery-image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--blue-soft);
}

.topic-gallery-card .artwork {
  border-radius: 0;
}

.topic-gallery-student {
  position: absolute;
  right: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 7px 9px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--blue-deep) 86%, transparent);
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.1;
  box-shadow: 0 10px 22px rgba(18, 48, 78, 0.18);
}

.topic-gallery-controls {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  gap: 8px;
  align-items: center;
}

.topic-gallery-nav,
.topic-gallery-dots button {
  padding: 0;
  border: 0;
}

.topic-gallery-nav {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 92%, white);
  color: var(--blue-deep);
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(18, 48, 78, 0.1);
  transition:
    background var(--motion-fast) ease,
    color var(--motion-fast) ease,
    transform var(--motion-fast) var(--ease-out);
}

.topic-gallery-nav:hover,
.topic-gallery-nav:focus-visible {
  background: var(--blue);
  color: white;
  transform: scale(1.08);
}

.topic-gallery-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.topic-gallery-dots button {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--blue) 26%, var(--surface));
  transition:
    width var(--motion-med) var(--ease-out),
    background var(--motion-fast) ease,
    transform var(--motion-fast) var(--ease-out);
}

.topic-gallery-dots button.is-active {
  width: 20px;
  background: var(--blue);
}

.topic-gallery-dots button:hover,
.topic-gallery-dots button:focus-visible {
  transform: scale(1.18);
}

.privacy-note {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 0.92rem;
}

.live-feed-section {
  padding-top: clamp(64px, 8vw, 112px);
}

.feed-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 22px;
}

.feed-tabs {
  justify-content: flex-start;
}

.feed-select {
  display: grid;
  min-width: 150px;
  gap: 7px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.feed-select span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feed-select select {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 900;
  transition:
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease;
}

.feed-select select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 16%, transparent);
}

.feed-status {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 900;
}

.feed-status.is-error {
  color: var(--red);
}

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

.submission-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 94%, white);
  box-shadow: 0 16px 38px rgba(18, 48, 78, 0.08);
  animation: cardIn 440ms var(--ease-out) both;
  animation-delay: calc(var(--item-index, 0) * 36ms);
  transition:
    transform var(--motion-med) var(--ease-out),
    box-shadow var(--motion-med) var(--ease-out),
    border-color var(--motion-med) var(--ease-out);
}

.submission-card:hover {
  border-color: color-mix(in srgb, var(--blue) 34%, var(--line));
  transform: translateY(-5px);
  box-shadow: 0 28px 62px rgba(18, 48, 78, 0.14);
}

.submission-card.is-missing-image {
  display: none;
}

.submission-card img {
  width: 100%;
  aspect-ratio: 1;
  background: var(--blue-soft);
  object-fit: cover;
  transition:
    filter var(--motion-med) ease,
    transform var(--motion-slow) var(--ease-out);
}

.submission-card:hover img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.035);
}

.submission-card div {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.submission-card h3 {
  margin: 0;
  font-size: 1rem;
}

.submission-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.submission-date,
.submission-mentor {
  color: var(--blue-deep);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.submission-mentor {
  color: var(--orange);
}

.feed-actions {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

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

.mentor-grid article,
.mentor-carousel-card {
  display: grid;
  align-items: start;
  padding: 18px;
}

.mentor-carousel {
  overflow: hidden;
}

.mentor-carousel-viewport {
  overflow: hidden;
}

.mentor-carousel-track {
  display: flex;
  gap: 18px;
  transition: transform 760ms var(--ease-snap);
  will-change: transform;
}

.mentor-carousel-card {
  flex: 0 0 calc((100% - 54px) / 4);
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 38px rgba(18, 48, 78, 0.08);
}

.mentor-carousel-card img,
.mentor-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  background: var(--blue-soft);
  object-fit: cover;
  transition:
    filter var(--motion-med) ease,
    transform var(--motion-slow) var(--ease-out);
}

.mentor-carousel-card:hover img,
.mentor-card:hover .mentor-photo {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.025);
}

.mentor-carousel-card h3 {
  margin: 14px 0 0;
  text-align: center;
}

.mentor-carousel-card p {
  max-width: 20ch;
  margin: 8px auto 0;
  color: var(--muted);
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.24;
  text-align: center;
}

.mentor-quote::before {
  content: "\201C";
  color: var(--orange);
  font-size: 1.18em;
  font-style: normal;
  line-height: 0;
}

.mentor-quote::after {
  content: "\201D";
  color: var(--orange);
  font-size: 1.18em;
  font-style: normal;
  line-height: 0;
}

.mentor-profile-grid article {
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 14px;
}

.mentor-card-copy {
  display: grid;
  gap: 8px;
}

.mentor-avatar {
  display: grid;
  grid-row: 1 / span 2;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-size: 0.84rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.34);
}

.mentor-grid h3 {
  margin: 0 0 4px;
}

.mentor-grid p {
  margin: 0;
  font-size: 0.88rem;
}

.tone-a {
  background: linear-gradient(145deg, #f3d8c4, #293e52);
}

.tone-b {
  background: linear-gradient(145deg, #d7edf9, #236293);
}

.tone-c {
  background: linear-gradient(145deg, #f5d472, #4d3a2a);
}

.tone-d {
  background: linear-gradient(145deg, #f0c2b0, #ae190c);
}

.mentor-note {
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--blue) 8%, var(--surface));
  color: var(--blue-deep);
  font-weight: 800;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  position: relative;
  min-width: 0;
  padding: 22px 18px;
}

.flow-list span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 0.82rem;
  font-weight: 900;
}

.blog-grid,
.story-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
}

.blog-grid article,
.story-card {
  padding: 22px;
}

.blog-grid .featured-post,
.story-card-featured {
  grid-row: span 2;
  padding: 0;
  overflow: hidden;
}

.featured-post img,
.story-card-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.featured-post div,
.story-card-copy {
  padding: 22px;
}

.featured-post span,
.story-meta span {
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.story-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-feature-layout {
  display: grid;
}

.story-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition:
    transform var(--motion-med) var(--ease-out),
    border-color var(--motion-med) var(--ease-out),
    box-shadow var(--motion-med) var(--ease-out);
}

.story-card:hover {
  border-color: color-mix(in srgb, var(--blue) 42%, var(--line));
  box-shadow: 0 28px 78px rgba(15, 48, 80, 0.18);
  transform: translateY(-4px);
}

.story-card-media {
  display: block;
  overflow: hidden;
}

.story-card-media img {
  height: 210px;
  transition: transform var(--motion-slow) var(--ease-out);
}

.story-card:hover .story-card-media img {
  transform: scale(1.04);
}

.story-card-featured .story-card-media img {
  height: 300px;
}

.story-card-wide {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: stretch;
}

.story-card-wide .story-card-media img {
  height: 100%;
  min-height: 390px;
}

.story-card-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

.story-card-copy h3 {
  margin: 10px 0 10px;
  color: var(--blue-deep);
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(1.45rem, 2.3vw, 2.15rem);
  line-height: 0.98;
}

.story-card:not(.story-card-featured) .story-card-copy h3 {
  font-size: clamp(1.22rem, 1.55vw, 1.55rem);
  line-height: 1.04;
}

.story-card-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.instagram-post-card {
  color: inherit;
}

.instagram-post-card .story-card-copy {
  justify-content: flex-start;
}

.instagram-caption {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.72;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.story-meta time {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.single-article {
  width: min(920px, calc(100% - 32px));
  margin-top: clamp(58px, 8vw, 98px);
  margin-right: auto;
  margin-bottom: 80px;
  margin-left: auto;
  padding-top: clamp(58px, 8vw, 98px);
}

body.zumenart-single-post-page.ast-separate-container .single-article.ast-article-single {
  width: min(920px, calc(100% - 32px));
  margin: clamp(58px, 8vw, 98px) auto 80px !important;
  padding: clamp(58px, 8vw, 98px) 0 0 !important;
  background: transparent;
}

.single-article-header {
  width: 100%;
  margin: 0 auto 30px;
  text-align: center;
}

.single-article-header .story-meta {
  justify-content: center;
}

.single-article-header h1 {
  max-width: none;
  margin: 16px 0 14px;
  color: var(--blue-deep);
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.single-article-header p {
  margin: 0 auto;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.78;
}

.single-article-media {
  width: 100%;
  overflow: hidden;
  margin: 0 auto 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.single-article-media img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.single-article-content {
  width: min(820px, 100%);
  margin: 0 auto;
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.86;
}

.single-article-content h2,
.single-article-content h3 {
  margin: 34px 0 10px;
  color: var(--blue-deep);
  font-family: Newsreader, Georgia, serif;
  line-height: 1;
}

.single-article-content h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.single-article-content h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
}

.single-article-content p,
.single-article-content ul,
.single-article-content ol {
  margin: 0 0 18px;
}

.single-article-content ul,
.single-article-content ol {
  padding-left: 1.35em;
  color: var(--muted);
  font-weight: 800;
}

.single-article-content li {
  margin: 0 0 8px;
  padding-left: 0.15em;
}

.single-article-content li::marker {
  color: var(--blue-deep);
}

.single-article-content a {
  color: var(--blue-deep);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.single-article-content figure {
  margin: 32px 0;
}

.single-article-content img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.single-article-content figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.single-article-content .aligncenter {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.single-article-actions {
  display: flex;
  justify-content: center;
  width: min(820px, 100%);
  margin: 40px auto 0;
}

.contact-section {
  margin-top: clamp(82px, 10vw, 130px);
  margin-bottom: 74px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-cta {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(82px, 10vw, 130px);
  margin-bottom: 74px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-cta h2 {
  margin-bottom: 10px;
}

.contact-cta .primary-action,
.contact-cta .secondary-action {
  min-width: 180px;
  white-space: nowrap;
}

body.modal-open {
  overflow: hidden;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--motion-med) var(--ease-out);
}

.contact-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--ink) 42%, transparent);
  backdrop-filter: blur(8px);
}

.contact-modal-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(86vh, 760px);
  overflow: auto;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-strong);
  transform: translateY(18px) scale(0.98);
  transition: transform var(--motion-med) var(--ease-out);
}

.contact-modal.is-open .contact-modal-panel {
  transform: translateY(0) scale(1);
}

.contact-modal-panel:focus {
  outline: none;
}

.contact-modal-panel h2 {
  max-width: 8ch;
  margin: 0 0 10px;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 0.92;
}

.contact-modal-panel > p {
  max-width: 54ch;
  margin: 0 0 24px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.7;
}

.contact-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
}

.contact-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-option-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 150px;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 94%, white);
  color: var(--ink);
  text-decoration: none;
  transition:
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    transform var(--motion-fast) ease;
}

.contact-option-card:hover,
.contact-option-card:focus-visible {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.contact-option-card strong {
  color: var(--blue-deep);
  font-size: 1.05rem;
}

.contact-option-card span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.45;
}

.contact-option-card em {
  margin-top: auto;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.quick-actions {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: 0 18px 44px rgba(20, 42, 60, 0.18);
  backdrop-filter: blur(16px);
}

.quick-action {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1;
  transition:
    background var(--motion-fast) ease,
    color var(--motion-fast) ease,
    opacity var(--motion-fast) ease,
    transform var(--motion-fast) ease;
}

.quick-action:first-child {
  font-size: 1.15rem;
}

.quick-action svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.quick-action-whatsapp {
  color: #1f8f4d;
}

.quick-action:hover,
.quick-action:focus-visible {
  background: var(--blue);
  color: white;
  outline: none;
  transform: translateY(-1px);
}

.quick-action[disabled] {
  opacity: 0.36;
  pointer-events: none;
}

.section-action {
  margin-top: 22px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form .wpforms-container,
.contact-form .wpforms-container-full {
  width: 100%;
  margin: 0;
}

.contact-form .wpforms-field {
  padding: 0 0 14px;
}

.contact-form label,
.contact-form .wpforms-field-label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.contact-form .wpforms-field input,
.contact-form .wpforms-field select,
.contact-form .wpforms-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 92%, white);
  color: var(--ink);
}

.contact-form input,
.contact-form select,
.contact-form .wpforms-field input,
.contact-form .wpforms-field select {
  height: 46px;
  padding: 0 12px;
}

.contact-form textarea,
.contact-form .wpforms-field textarea {
  min-height: 112px;
  padding: 12px;
  resize: vertical;
}

.contact-form .wpforms-submit-container {
  margin: 0;
  padding: 0;
}

.contact-form button,
.contact-form .wpforms-submit {
  width: 100%;
}

.contact-form .wpforms-submit {
  min-height: 44px;
  border: 0 !important;
  border-radius: 8px !important;
  background: var(--blue) !important;
  color: white !important;
  font-size: 0.84rem !important;
  font-weight: 900 !important;
  box-shadow: 0 16px 36px rgba(35, 98, 147, 0.22);
}

.studio-locations-section {
  margin-bottom: 84px;
}

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

.location-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(20, 42, 60, 0.1);
}

.location-card iframe {
  display: block;
  width: 100%;
  min-height: 260px;
  border: 0;
  aspect-ratio: 1.45;
  background: color-mix(in srgb, var(--blue) 8%, var(--surface));
}

.location-card-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 16px;
}

.location-card h3 {
  margin: 0;
  color: var(--blue-deep);
  font-size: 1rem;
  line-height: 1.25;
}

.location-card-copy address {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.45;
}

.location-card .location-distance {
  font-size: 0.78rem;
}

.location-card-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.location-card-actions .primary-action,
.location-card-actions .secondary-action {
  min-width: 118px;
  white-space: nowrap;
}

.location-card .secondary-action {
  flex: 0 0 auto;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin-top: clamp(56px, 8vw, 110px);
  padding: 38px 18px 48px;
  background: var(--blue);
  color: white;
}

.site-footer img {
  width: 144px;
  height: auto;
  aspect-ratio: 940 / 435;
}

.site-footer span {
  font-size: 0.88rem;
  font-weight: 800;
  opacity: 0.86;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

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

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes placeholderSweep {
  from {
    background-position: 220% 0;
  }

  to {
    background-position: -220% 0;
  }
}

@keyframes fadeLift {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes typedChar {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes caretBlink {
  50% {
    opacity: 0;
  }
}

@keyframes mediaRise {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes sectionSettle {
  from {
    opacity: 0.001;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes imageSettle {
  from {
    transform: scale(1.035);
  }

  to {
    transform: scale(1);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes brushSlide {
  from {
    opacity: 0;
    transform: translateX(34px) rotate(-7deg) scaleX(0.72);
  }

  to {
    opacity: 1;
    transform: translateX(0) rotate(-7deg) scaleX(1);
  }
}

@keyframes brushFloat {
  from {
    transform: translateY(0) rotate(-5deg);
  }

  to {
    transform: translateY(-8px) rotate(-4deg);
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 28px 18px, 18px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .header-actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .hero,
  .split-layout,
  .section-heading,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

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

  .mentor-carousel-card {
    flex-basis: calc((100% - 36px) / 3);
  }

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

  .flow-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .carousel-slide {
    grid-template-columns: 1fr;
  }

  .carousel-slide img {
    aspect-ratio: 1.45;
    height: auto;
    min-height: 0;
  }

  .hero-media {
    min-height: 520px;
  }
}

@media (min-width: 821px) and (max-width: 1120px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 14px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .brand img {
    width: clamp(126px, 16vw, 152px);
  }

  .brand span {
    max-width: 116px;
    font-size: 0.62rem;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    justify-self: end;
  }

  .header-actions .portal-link {
    display: inline-flex;
    white-space: nowrap;
  }

  .menu-toggle {
    grid-column: 3;
    grid-row: 1;
    display: block;
  }

  .main-nav {
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    padding: 8px 0 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .main-nav.is-open {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .main-nav a {
    width: 100%;
    padding: 12px 6px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    gap: 34px;
    padding-top: 58px;
  }

  [data-lang="id"] .hero h1 {
    max-width: 560px;
    line-height: 0.9;
  }

  .typed-hero > span {
    min-height: 0.92em;
  }

  .hero-media {
    width: min(760px, 100%);
    justify-self: center;
    min-height: 500px;
  }

  .subject-detail-panel,
  .home-location-panel {
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr);
  }

  .location-card-copy {
    grid-template-columns: 1fr;
  }

  .location-card-actions {
    justify-content: stretch;
  }

  .location-card-actions .primary-action,
  .location-card-actions .secondary-action {
    flex: 1 1 150px;
  }

  .quick-actions {
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 820px) {
  body.zumenart-site {
    padding-top: 108px;
  }

  .site-header {
    width: calc(100% - 20px);
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 124px;
  }

  .language-toggle {
    flex: 0 0 auto;
    min-height: 40px;
  }

  .menu-toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .main-nav {
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    padding: 8px 0 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .main-nav.is-open {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .main-nav a {
    width: 100%;
    padding: 12px 6px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a::after {
    display: none;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
  }

  .header-actions .portal-link {
    display: none;
  }

  .theme-toggle {
    display: grid;
    width: 40px;
    height: 40px;
  }

  .site-header.is-menu-open .header-actions .portal-link {
    display: flex;
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    grid-column: 1 / -1;
    width: 100%;
  }

  .site-header.is-menu-open {
    padding-bottom: 76px;
  }

  .hero,
  .stats-band,
  .section {
    width: calc(100% - 20px);
  }

  h1 {
    font-size: clamp(4.1rem, 20vw, 6rem);
  }

  .hero::before,
  .brush-swipe {
    display: none;
  }

  .hero::before {
    display: none;
  }

  .hero-actions,
  .contact-links {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .hero-media img {
    border-width: 8px;
  }

  .hero-media {
    min-height: 430px;
  }

  .hero-frame {
    border-width: 8px;
  }

  .hero-frame-main {
    width: 100%;
  }

  .hero-frame-side {
    bottom: 18px;
    left: -3%;
    width: 47%;
  }

  .hero-frame-small {
    right: -2%;
    bottom: -10px;
    width: 40%;
  }

  .quick-actions {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    padding: 4px;
  }

  .quick-action {
    width: 40px;
    height: 40px;
  }

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

  .stats-band div:nth-child(2n) {
    border-right: 0;
  }

  .program-grid,
  .mentor-grid,
  .flow-list,
  .blog-grid,
  .story-grid,
  .submission-grid {
    grid-template-columns: 1fr;
  }

  body:not(.zumenart-student-works-page) .works-section .work-grid {
    display: none;
  }

  body.zumenart-student-works-page .works-section .work-grid {
    grid-template-columns: 1fr;
  }

  .subject-detail-panel {
    grid-template-columns: 1fr;
  }

  .subject-sample-carousel {
    min-height: 330px;
  }

  .feed-toolbar,
  .contact-cta {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .contact-modal {
    align-items: end;
    padding: 10px;
  }

  .contact-modal-panel {
    width: 100%;
    max-height: 56vh;
    padding: 14px;
  }

  .contact-modal-panel h2 {
    max-width: none;
    padding-right: 42px;
    margin-bottom: 4px;
    font-size: clamp(1.9rem, 9.5vw, 2.55rem);
    line-height: 0.94;
  }

  .contact-modal-panel > p {
    margin-bottom: 10px;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .contact-modal-panel .section-kicker {
    margin-bottom: 6px;
    font-size: 0.68rem;
  }

  .contact-modal-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    font-size: 1.45rem;
  }

  .contact-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .contact-option-card {
    min-height: 0;
    grid-template-columns: 1fr;
    justify-items: start;
    align-content: center;
    gap: 8px;
    padding: 10px;
  }

  .contact-option-card strong {
    font-size: 0.86rem;
    line-height: 1.18;
  }

  .contact-option-card span {
    display: none;
  }

  .contact-option-card em {
    grid-column: auto;
    grid-row: auto;
    padding: 6px 9px;
    font-size: 0.68rem;
  }

  .feed-toolbar {
    display: grid;
  }

  .feed-select {
    width: 100%;
  }

  .carousel-slide {
    min-height: 0;
  }

  .carousel-slide figcaption {
    padding: 22px;
  }

  .carousel-slide h3 {
    font-size: 2.08rem;
  }

  .carousel-nav {
    top: 34%;
    width: 40px;
    height: 40px;
  }

  .carousel-nav.prev {
    left: 10px;
  }

  .carousel-nav.next {
    right: 10px;
  }

  .blog-grid .featured-post,
  .story-card-featured {
    grid-row: auto;
  }

  .story-card-wide {
    grid-template-columns: 1fr;
  }

  .story-card-wide .story-card-media img,
  .story-card-featured .story-card-media img,
  .story-card-media img {
    height: 220px;
    min-height: 0;
  }

  .single-article-header {
    text-align: left;
  }

  .single-article-header .story-meta {
    justify-content: flex-start;
  }

  .filter-bar {
    justify-content: flex-start;
  }

  .contact-section {
    width: calc(100% - 20px);
    padding: 24px 18px;
  }

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

  .location-card iframe {
    min-height: 230px;
  }

  .location-card-copy {
    align-items: stretch;
    flex-direction: column;
  }

  .location-card-actions {
    justify-content: stretch;
  }

  .location-card-actions .primary-action,
  .location-card-actions .secondary-action {
    flex: 1 1 180px;
  }

  .mentor-carousel-card {
    flex-basis: min(76vw, 260px);
  }
}

@media (min-width: 700px) and (max-width: 820px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .header-actions .portal-link {
    display: inline-flex;
    white-space: nowrap;
  }
}
