:root {
  --teal: #3b879d;
  --green: #2a443f;
  --white: #ffffff;
  --linen: #f8f7f3;
  --mist: #ecf6f7;
  --aqua: #d7edf1;
  --clay: #b98968;
  --shadow: 0 18px 45px rgba(42, 68, 63, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--green);
  background: var(--white);
  font-family: Inter, Arial, sans-serif;
}

a {
  color: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(42, 68, 63, 0.1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.menu {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex: 1;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(42, 68, 63, 0.14);
  border-radius: 999px;
  background: var(--white);
  color: var(--green);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle::before {
  transform: translateY(-7px);
}

.menu-toggle::after {
  transform: translateY(7px);
}

.menu a,
.footer a {
  text-decoration: none;
}

.menu a {
  color: rgba(42, 68, 63, 0.82);
  font-size: 15px;
  font-weight: 800;
}

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

.section {
  padding: 88px 0;
}

.section-tight {
  padding: 64px 0;
}

.linen {
  background: var(--linen);
}

.mist {
  background: var(--mist);
}

.green-band {
  background: var(--green);
  color: var(--white);
}

.home-hero {
  padding-top: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 64px;
  align-items: center;
}

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

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

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

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 86px);
  line-height: 1.03;
  font-weight: 900;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  font-weight: 850;
}

h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 850;
}

.copy {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(42, 68, 63, 0.76);
  font-size: 18px;
  line-height: 1.8;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-actions {
  flex-wrap: nowrap;
  gap: 10px;
}

.hero-actions .btn {
  padding-inline: 16px;
  font-size: 14px;
  white-space: nowrap;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: clamp(300px, 42vw, 560px);
  margin: 0 0 80px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.studio-slider-section .hero-slider {
  margin-bottom: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  animation: hero-slide 15s infinite;
  opacity: 0;
}

.hero-slide:nth-child(2) {
  animation-delay: 5s;
}

.hero-slide:nth-child(3) {
  animation-delay: 10s;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-slide span {
  position: absolute;
  left: max(24px, calc((100vw - 1180px) / 2 + 24px));
  bottom: 28px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(42, 68, 63, 0.82);
  color: white;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@keyframes hero-slide {
  0%,
  28% {
    opacity: 1;
    transform: scale(1);
  }

  34%,
  94% {
    opacity: 0;
    transform: scale(1.045);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
}

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

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

.btn-ghost {
  border-color: rgba(42, 68, 63, 0.18);
  background: var(--white);
  color: var(--green);
  box-shadow: none;
}

.btn-light {
  background: var(--white);
  color: var(--green);
}

.class-category-row {
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.class-category-row .btn {
  flex: 0 0 auto;
  padding-inline: 16px;
  font-size: 14px;
  white-space: nowrap;
}

.card {
  border: 1px solid rgba(42, 68, 63, 0.1);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 30px;
}

.soft-card {
  border-radius: 28px;
  background: var(--linen);
  padding: 28px;
}

.logo-card {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 42px;
  border-radius: 34px;
  background: radial-gradient(circle at top left, var(--aqua), transparent 38%),
    linear-gradient(135deg, rgba(59, 135, 157, 0.16), rgba(42, 68, 63, 0.08));
  box-shadow: var(--shadow);
  text-align: center;
}

.logo-card img {
  width: min(100%, 410px);
  height: auto;
}

.logo-card p {
  max-width: 430px;
  margin: 24px auto 0;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.55;
}

.icon {
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: var(--mist);
}

.muted {
  color: rgba(42, 68, 63, 0.7);
  line-height: 1.75;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.portfolio-card {
  overflow: hidden;
}

.portfolio-img {
  height: 180px;
  width: calc(100% + 60px);
  margin: -30px -30px 24px;
  display: block;
  object-fit: cover;
  border-radius: 28px 28px 0 0;
}

.dashboard-image-card {
  overflow: hidden;
  padding: 0;
}

.dashboard-image-card img {
  width: 100%;
  height: 260px;
  display: block;
  object-fit: cover;
}

.dashboard-image-card > div {
  padding: 30px;
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--green);
  font-size: 14px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(42, 68, 63, 0.16);
  border-radius: 18px;
  background: var(--white);
  color: var(--green);
  padding: 14px 16px;
  font: inherit;
}

textarea {
  min-height: 150px;
}

.full {
  grid-column: 1 / -1;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.green-band .eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

.green-band .copy {
  color: rgba(255, 255, 255, 0.78);
}

.footer {
  padding: 64px 0 24px;
  background: var(--green);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  width: 115px;
  height: auto;
  padding: 12px;
  border-radius: 18px;
  background: var(--white);
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.76);
}

.footer a {
  display: block;
  margin: 10px 0;
}

.copyright {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

@media (max-width: 1180px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    min-height: 76px;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .menu {
    display: none;
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0 18px;
  }

  .menu a {
    border: 1px solid rgba(42, 68, 63, 0.12);
    border-radius: 999px;
    padding: 12px 16px;
    text-align: center;
  }

  .menu.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav > .btn {
    display: none;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 420px);
  }

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

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 36px, 1180px);
  }

  .section {
    padding: 64px 0;
  }

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

  .card,
  .soft-card {
    padding: 24px;
  }

  .button-row .btn {
    width: 100%;
  }

  .logo {
    width: 78px;
  }
}
