:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #66736f;
  --soft: #eef3ef;
  --paper: #fbfbf6;
  --line: rgba(23, 32, 29, 0.13);
  --white: #ffffff;
  --accent: #1d6d68;
  --accent-2: #bedbd5;
  --clay: #b87963;
  --shadow: 0 24px 70px rgba(20, 34, 31, 0.18);
  --radius: 8px;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

body::selection {
  background: var(--accent-2);
  color: var(--ink);
}

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

button,
input,
select {
  font: inherit;
}

.site-shell {
  overflow: hidden;
}

.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  width: min(1160px, calc(100% - 32px));
  min-height: 64px;
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: rgba(251, 251, 246, 0.78);
  box-shadow: 0 18px 50px rgba(23, 32, 29, 0.12);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.brand-name,
.brand-note {
  display: block;
  line-height: 1.1;
}

.brand-name {
  font-weight: 800;
}

.brand-note {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.nav-links a,
.nav-action {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  color: rgba(23, 32, 29, 0.76);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-action:hover {
  background: rgba(29, 109, 104, 0.1);
  color: var(--ink);
  transform: translateY(-1px);
}

.nav-action {
  background: rgba(23, 32, 29, 0.92);
  color: var(--paper);
}

.nav-action:hover {
  background: var(--accent);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: clamp(720px, 96vh, 920px);
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-tint {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(251, 251, 246, 0.96) 0%, rgba(251, 251, 246, 0.78) 35%, rgba(251, 251, 246, 0.18) 68%, rgba(23, 32, 29, 0.12) 100%),
    linear-gradient(180deg, rgba(251, 251, 246, 0.15), rgba(251, 251, 246, 0.95));
}

.hero-inner {
  display: flex;
  min-height: inherit;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 142px 0 74px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow,
.section-kicker,
.detail-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  width: min(670px, 100%);
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.94;
}

.hero-copy {
  width: min(550px, 100%);
  margin-bottom: 32px;
  color: #3d4845;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 54px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button svg,
.format-icon svg,
.automation-icon svg {
  width: 20px;
  height: 20px;
  margin-right: 9px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 16px 36px rgba(29, 109, 104, 0.26);
}

.secondary {
  border-color: rgba(23, 32, 29, 0.22);
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  width: min(600px, 100%);
  margin: 0;
  border-top: 1px solid rgba(23, 32, 29, 0.18);
  border-bottom: 1px solid rgba(23, 32, 29, 0.18);
}

.hero-stats div {
  padding: 18px 18px 18px 0;
}

.hero-stats dt {
  font-size: 1.55rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.intro-band {
  width: 100%;
  padding: 74px max(16px, calc((100% - 1160px) / 2));
  background: var(--ink);
  color: var(--paper);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1fr);
  gap: 54px;
  align-items: end;
}

.section h2 {
  margin-bottom: 0;
  font-size: clamp(2.15rem, 4vw, 4.6rem);
  line-height: 1;
}

.section-text {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.intro-band .section-text {
  color: rgba(251, 251, 246, 0.76);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: end;
  margin-bottom: 28px;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.format-card,
.studio-card,
.schedule-panel,
.lead-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 55px rgba(23, 32, 29, 0.08);
}

.format-card {
  min-height: 278px;
  padding: 24px;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.format-card:hover,
.format-card.active {
  border-color: rgba(29, 109, 104, 0.34);
  background: #ffffff;
  transform: translateY(-3px);
}

.format-icon,
.automation-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: rgba(29, 109, 104, 0.1);
  color: var(--accent);
}

.format-icon svg,
.automation-icon svg {
  margin-right: 0;
}

.format-card h3,
.studio-card h3,
.format-detail h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.15;
}

.format-card p,
.studio-card p,
.format-detail p,
.automation-row p {
  color: var(--muted);
}

.ghost-button {
  min-height: 36px;
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-weight: 800;
}

.format-detail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  margin-top: 18px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--soft);
}

.format-detail ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.format-detail li {
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.schedule {
  display: grid;
  grid-template-columns: minmax(270px, 0.9fr) minmax(340px, 1fr);
  gap: 48px;
  align-items: center;
}

.schedule-panel {
  padding: 22px;
  background: #ffffff;
}

.panel-top,
.automation-row,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-top {
  margin-bottom: 18px;
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #e7f1ee;
  color: var(--accent);
  font-size: 0.78rem;
}

.slot-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.slot {
  display: grid;
  min-height: 132px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8f3;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.slot:hover,
.slot.active {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.slot span {
  color: currentColor;
  font-weight: 800;
}

.slot strong {
  align-self: center;
  font-size: 1.45rem;
}

.slot small {
  align-self: end;
  color: currentColor;
  font-size: 0.8rem;
}

.automation-row {
  justify-content: flex-start;
  margin-top: 16px;
  padding: 16px;
  border-radius: 8px;
  background: #eef3ef;
}

.automation-row .automation-icon {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.automation-row p {
  margin: 0;
  font-weight: 700;
}

.studio {
  width: 100%;
  padding-right: max(16px, calc((100% - 1160px) / 2));
  padding-left: max(16px, calc((100% - 1160px) / 2));
  background: #e9efec;
}

.studio-layout {
  display: grid;
  grid-template-columns: minmax(270px, 1.3fr) repeat(3, minmax(180px, 1fr));
  gap: 14px;
}

.studio-card {
  min-height: 254px;
  padding: 24px;
}

.studio-card.dark {
  background: var(--ink);
  color: var(--paper);
}

.studio-card.dark .section-kicker {
  color: var(--accent-2);
}

.studio-card span {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--clay);
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(270px, 0.9fr) minmax(340px, 1fr);
  gap: 48px;
  align-items: start;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: #ffffff;
}

.lead-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f9f4;
  color: var(--ink);
  outline: none;
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(29, 109, 104, 0.12);
}

.form-submit {
  width: 100%;
  margin-top: 6px;
}

.form-status {
  min-height: 25px;
  margin: 0;
  color: var(--accent);
  font-weight: 800;
}

.footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 920px) {
  .topbar {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-tint {
    background:
      linear-gradient(90deg, rgba(251, 251, 246, 0.98) 0%, rgba(251, 251, 246, 0.8) 52%, rgba(251, 251, 246, 0.28) 100%),
      linear-gradient(180deg, rgba(251, 251, 246, 0.2), rgba(251, 251, 246, 0.96));
  }

  .section-grid,
  .schedule,
  .contact,
  .format-detail {
    grid-template-columns: 1fr;
  }

  .format-grid,
  .studio-layout {
    grid-template-columns: 1fr;
  }

  .studio-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .topbar {
    top: 10px;
    width: calc(100% - 20px);
    padding: 9px;
  }

  .brand {
    min-width: 0;
  }

  .brand-note {
    display: none;
  }

  .nav-action {
    padding: 0 11px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 740px;
  }

  .hero-inner {
    padding-top: 118px;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.6rem);
  }

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

  .hero-stats,
  .slot-list {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    padding-right: 0;
    border-bottom: 1px solid rgba(23, 32, 29, 0.12);
  }

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

  .section {
    padding: 64px 0;
  }

  .intro-band,
  .studio {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}
