:root {
  --bg: #0d0d0f;
  --bg-soft: #141418;
  --bg-muted: #191922;
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.15);
  --error: #f87171;
  --border: rgba(255, 255, 255, 0.08);
  --max-width: 1200px;
  --font-sans: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Playfair Display", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a:hover,
a:focus {
  color: var(--accent);
}

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

section {
  padding: 6rem 1.5rem;
}

.scroll-story {
  background: radial-gradient(circle at top, rgba(37, 37, 43, 0.45), rgba(13, 13, 15, 0.95));
}

.scroll-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  align-items: start;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr);
}

.story-visual {
  position: sticky;
  top: 6rem;
  min-height: clamp(22rem, 60vh, 34rem);
  border-radius: 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 12, 16, 0.6);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  transition: opacity 0.6s ease, transform 1s ease;
}

.story-visual-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  background: linear-gradient(180deg, rgba(6, 6, 8, 0.2) 20%, rgba(6, 6, 8, 0.85) 100%);
  gap: 1rem;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.story-visual-overlay h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-family: var(--font-serif);
}

.story-visual-overlay.is-hidden {
  opacity: 0;
  transform: translateY(12px);
}

.story-steps {
  display: grid;
  gap: 2.5rem;
}

.story-step {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding: 0 1rem 0 4.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.4s ease, transform 0.6s ease;
}

.story-step::before {
  content: "";
  position: absolute;
  left: -0.75rem;
  top: 1.25rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.story-step h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-family: var(--font-serif);
}

.story-step .step-number {
  font-size: 0.8rem;
  letter-spacing: 0.4rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.story-step p {
  color: var(--text-muted);
  max-width: 34ch;
}

.story-step.is-active {
  color: var(--text);
  transform: translateX(10px);
}

.story-step.is-active::before {
  background: var(--accent);
  transform: scale(1.6);
  box-shadow: 0 0 18px rgba(255, 115, 59, 0.35);
}

.story-step.is-active p {
  color: rgba(255, 255, 255, 0.85);
}

.story-visual img.is-transitioning {
  opacity: 0;
  transform: scale(1.05);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(2rem + env(safe-area-inset-top, 0px)) 1.5rem 4rem;
  overflow: hidden;
}

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

.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(4, 4, 5, 0.82), rgba(4, 4, 5, 0.32));
  z-index: -1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto 4rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  font-size: 0.8rem;
}

.logo {
  font-weight: 600;
  color: var(--text);
  background: rgba(13, 13, 15, 0.6);
  border: 1px solid var(--border);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
}

.nav-link {
  border: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  transition: 0.3s ease;
}

.nav-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0d0d0f;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.hero-content .subheadline {
  max-width: 500px;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.05rem;
  transition: 0.3s ease;
  cursor: pointer;
}

.btn.primary {
  background: var(--accent);
  color: #0d0d0f;
}

.btn.primary:hover {
  box-shadow: 0 20px 40px rgba(249, 115, 22, 0.35);
  transform: translateY(-2px);
}

.btn.ghost {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn.ghost:hover {
  background: var(--accent);
  color: #0d0d0f;
}

main > section {
  max-width: var(--max-width);
  margin: 0 auto;
}

.about {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.about-media img {
  border-radius: 1.5rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
}

.branches .branch-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

.ai-teaser {
  margin: 6rem auto;
  max-width: 900px;
  padding: 2.5rem 3rem;
  border-radius: 1.5rem;
  background: rgba(15, 15, 20, 0.85);
  border: 1px solid var(--border);
  text-align: center;
  font-size: 1.1rem;
}

.ai-teaser p {
  margin: 0;
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.link-arrow {
  position: relative;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.link-arrow::after {
  content: "→";
  transition: transform 0.3s ease;
}

.link-arrow:hover::after,
.link-arrow:focus-visible::after {
  transform: translateX(4px);
}

.ai {
  background: linear-gradient(135deg, rgba(20, 20, 24, 0.95), rgba(10, 10, 14, 0.95));
  border: 1px solid var(--border);
  border-radius: 2rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 6rem;
}

.ai p {
  max-width: 620px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 0 auto 2.5rem;
  max-width: 520px;
  text-align: left;
  display: grid;
  gap: 1rem;
}

.bullets li {
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.showcase {
  position: relative;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.highlight {
  margin-bottom: 3rem;
}

.highlight-caption {
  margin-top: 1rem;
  color: var(--text-muted);
  text-align: center;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.work-item {
  background: var(--bg-soft);
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.work-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.work-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.work-item figcaption {
  padding: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.social-proof {
  background: var(--bg-muted);
  border-radius: 2rem;
  border: 1px solid var(--border);
  padding: 6rem 2rem;
}

.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.logo-item {
  border: 1px solid var(--border);
  padding: 1rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.testimonials {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonials article {
  background: var(--bg-soft);
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  padding: 2.5rem;
  color: var(--text-muted);
}

.cta {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: start;
}

.cta-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.cta-form {
  background: var(--bg-soft);
  border-radius: 1.5rem;
  padding: 2.5rem;
  border: 1px solid var(--border);
  display: grid;
  gap: 1rem;
}

.cta-form label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  color: var(--text-muted);
}

input,
textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  color: var(--text);
  font: inherit;
}

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

textarea {
  resize: vertical;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.form-note.success {
  color: var(--accent);
}

.form-note.error {
  color: var(--error);
}

.freebie {
  text-align: center;
  background: linear-gradient(135deg, rgba(25, 25, 34, 0.95), rgba(9, 9, 12, 0.95));
  border-radius: 2rem;
  border: 1px solid var(--border);
}

.freebie-form {
  margin: 0 auto;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
}

.freebie-form input {
  background: rgba(255, 255, 255, 0.06);
}

.footer {
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--border);
  background: #08080a;
  text-align: center;
  display: grid;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  font-size: 0.75rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  color: var(--text-muted);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons svg {
  width: 24px;
  height: 24px;
  fill: var(--text-muted);
  transition: fill 0.3s ease;
}

.social-icons a:hover svg {
  fill: var(--accent);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 8, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 2rem;
  z-index: 1000;
}

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

.modal-content {
  max-width: 900px;
  width: 100%;
  position: relative;
}

.modal-video {
  position: relative;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: 1rem;
  overflow: hidden;
}

.modal-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
}

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

@media (max-width: 768px) {
  section {
    padding: 4rem 1.25rem;
  }

  .hero {
    padding: calc(1.25rem + env(safe-area-inset-top, 0px)) 1.25rem 3rem;
  }

  .nav {
    margin-bottom: 1.5rem;
    gap: 0.75rem;
  }

  .hero-content {
    text-align: left;
  }

  .hero-content .subheadline {
    margin-left: 0;
  }

  .scroll-wrapper {
    grid-template-columns: 1fr;
  }

  .story-visual {
    position: relative;
    top: auto;
    min-height: 20rem;
  }

  .story-visual-overlay {
    padding: 2rem;
  }

  .story-steps {
    gap: 1.5rem;
  }

  .story-step {
    min-height: auto;
    padding: 2.5rem 1.5rem;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.5rem;
    background: rgba(20, 20, 24, 0.55);
  }

  .story-step::before {
    left: 1.5rem;
    top: 1.5rem;
  }

  .freebie-form {
    flex-direction: column;
  }

  .modal-close {
    top: -2rem;
  }
}

@media (max-width: 480px) {
  .logo,
  .nav-link {
    padding: 0.6rem 1.1rem;
  }

  .nav {
    font-size: 0.7rem;
    letter-spacing: 0.16rem;
  }
}

@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;
  }

  .hero-video {
    display: none;
  }

  .hero .overlay {
    background: linear-gradient(120deg, rgba(4, 4, 5, 0.95), rgba(4, 4, 5, 0.75));
  }
}
