
/* =========================================
   THE FABLE MEDIA — MAIN STYLESHEET
   Change colors and fonts in :root to rebrand.
========================================= */

:root {
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --card: #151515;
  --accent: #ffb52e;
  --accent-hover: #ffd071;
  --text: #f5f3ef;
  --muted: #999999;
  --border: rgba(255,255,255,.11);
  --heading-font: 'Space Grotesk', sans-serif;
  --body-font: 'DM Sans', sans-serif;
  --container: 1180px;
}

.youform-container {
    width: 100%;
    min-height: 700px;
    overflow: hidden;
    position: relative;
}

.youform-container iframe {
    display: block;
    width: 100%;
    height: 700px;
    border: none;
    background: transparent;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: auto;
    text-decoration: none;
    white-space: nowrap;
}

.logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.logo-text {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  overflow-x: hidden;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  width: 100%;
}

::selection {
  background: var(--accent);
  color: #000;
}

.container {
  width: min(var(--container), 90%);
  margin-inline: auto;
}

.accent {
  color: var(--accent);
}

.section {
  padding: 115px 0;
}

.section-small {
  padding: 60px 0;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 2.5px;
  font-weight: 800;
  margin-bottom: 20px;
}

.placeholder-note {
  color: #777;
  font-size: 10px;
  text-align: center;
  margin-top: 22px;
}

/* TEXTURE */

.noise {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 55px;
}

.section-heading h2,
.faq-intro h2 {
  font-family: var(--heading-font);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -3px;
}

.section-heading > p {
  color: var(--muted);
  max-width: 360px;
  font-size: 14px;
  padding-bottom: 5px;
}

/* NAVBAR */

.navbar {
  height: 82px;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  background: rgba(10,10,10,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #000;
  background: var(--accent);
  font-size: 23px;
  font-weight: 800;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links > a {
  font-size: 12px;
  color: #c3c3c3;
  transition: color .25s;
}

.nav-links > a:hover {
  color: var(--accent);
}

.nav-links .nav-cta {
  padding: 12px 19px;
  background: var(--accent);
  color: #000;
  font-weight: 800;
  border-radius: 3px;
}

.nav-cta:hover {
  background: var(--accent-hover);
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px;
  background: white;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  min-height: 51px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .5px;
  border: 1px solid transparent;
  transition: .3s ease;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(255,181,46,.15);
}

.btn-outline {
  border-color: rgba(255,255,255,.3);
  color: white;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

.full-btn {
  width: 100%;
}

/* HERO */

.hero {
  min-height: 700px;
  height: min(850px, calc(100vh - 82px));
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .36;
}

.hero-overlay {
  background:
    linear-gradient(90deg, #080808 2%, rgba(8,8,8,.85) 43%, rgba(8,8,8,.2)),
    linear-gradient(0deg, #0a0a0a 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 40px;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 9px;
  box-shadow: 0 0 12px var(--accent);
}

.hero h1 {
  font-family: var(--heading-font);
  font-size: clamp(55px, 9vw, 112px);
  font-weight: 700;
  line-height: .99;
  letter-spacing: -7px;
  margin-bottom: 28px;
}

.outline-text {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.7);
}

.hero-description {
  max-width: 470px;
  color: #bcbcbc;
  font-size: 15px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  max-width: 660px;
  margin-top: 100px;
  font-size: 9px;
  color: #888;
  letter-spacing: 2px;
}

.hero-side-text {
  position: absolute;
  right: 25px;
  top: 50%;
  writing-mode: vertical-rl;
  color: #888;
  font-size: 9px;
  letter-spacing: 3px;
}

/* TRUSTED BY */

.trusted {
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.client-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
}

.client-logos span {
  color: #777;
  font-family: var(--heading-font);
  font-size: clamp(14px, 2vw, 21px);
  font-weight: 700;
  letter-spacing: 2px;
}

.client-logos .serif-logo {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

/* SERVICES */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.service-card {
  min-height: 250px;
  padding: 30px;
  position: relative;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  transition: background .3s, transform .3s;
}

.service-card:hover {
  background: var(--card);
}

.service-number,
.plan-label {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 700;
}

.service-icon {
  font-size: 30px;
  color: var(--accent);
  margin: 26px 0 14px;
}

.service-card h3 {
  font-family: var(--heading-font);
  font-size: 20px;
  margin-bottom: 9px;
}

.service-card p {
  color: var(--muted);
  font-size: 12px;
  max-width: 280px;
}

.service-arrow {
  position: absolute;
  right: 28px;
  bottom: 25px;
  color: var(--accent);
  opacity: 0;
  transition: .3s;
}

.service-card:hover .service-arrow {
  opacity: 1;
  transform: translate(3px,-3px);
}

/* PORTFOLIO */

.portfolio-section {
  background: #0d0d0d;
}

.portfolio-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.filter-btn {
  padding: 10px 19px;
  background: transparent;
  color: #999;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 11px;
  transition: .25s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px 22px;
}



.portfolio-item {
  cursor: pointer;
  min-width: 0;
}

.portfolio-item.hidden {
  display: none;
}

.portfolio-image {
  position: relative;
  height: 245px;
  overflow: hidden;
  background: #222;
}

.portfolio-image img {
  height: 100%;
  object-fit: cover;
  transition: transform .6s;
}

.portfolio-item:hover img {
  transform: scale(1.06);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 55px;
  height: 55px;
  transform: translate(-50%,-50%);
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #000;
  border-radius: 50%;
  opacity: 0;
  transition: .3s;
}

.portfolio-item:hover .play-button {
  opacity: 1;
}

.portfolio-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
}

.portfolio-meta span {
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 1.5px;
}

.portfolio-meta h3 {
  font-family: var(--heading-font);
  font-size: 17px;
  margin-top: 5px;
}

/* VIDEO MODAL */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5%;
}

.video-modal.open {
  display: flex;
}

.modal-content {
  width: min(900px, 100%);
  aspect-ratio: 16 / 9;
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-content video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.modal-close {
  position: absolute;
  top: 25px;
  right: 35px;
  background: none;
  color: white;
  border: 0;
  font-size: 30px;
}

/* PROCESS */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--border);
}

.process-step {
  padding: 35px 25px 20px 0;
  position: relative;
}

.step-count {
  color: var(--accent);
  font-family: var(--heading-font);
  font-size: 40px;
  font-weight: 700;
}

.process-step h3 {
  font-family: var(--heading-font);
  margin: 18px 0 9px;
  font-size: 19px;
}

.process-step p {
  color: var(--muted);
  font-size: 12px;
  max-width: 220px;
}

/* BEFORE / AFTER */

.comparison-section {
  background: #101010;
}

.comparison {
  position: relative;
  height: 490px;
  overflow: hidden;
  user-select: none;
}

.comparison > img,
.comparison-after img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-after {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  border-right: 3px solid var(--accent);
}

.comparison-after img {
  width: 100%;
  max-width: none;
  position: absolute;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: left;
}

.comparison-label {
  position: absolute;
  bottom: 25px;
  z-index: 2;
  padding: 8px 14px;
  background: rgba(0,0,0,.7);
  font-size: 10px;
  letter-spacing: 2px;
}

.before-label {
  right: 25px;
}

.after-label {
  left: 25px;
}

.comparison-handle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  background: var(--accent);
  color: #000;
  display: grid;
  place-items: center;
  border-radius: 50%;
  pointer-events: none;
}

.comparison input {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}

/* PRICING */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 35px 28px;
  background: var(--card);
  border: 1px solid var(--border);
}

.price-card.featured {
  border-color: var(--accent);
  background: #19160f;
}

.popular-tag {
  position: absolute;
  top: -13px;
  right: 20px;
  padding: 7px 13px;
  color: #000;
  background: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.price-card h3 {
  font-family: var(--heading-font);
  font-size: 28px;
  margin-top: 15px;
}

.plan-description {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 23px;
}

.price {
  font-family: var(--heading-font);
  font-size: 35px;
  font-weight: 700;
  margin-bottom: 25px;
}

.price span {
  font-family: var(--body-font);
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.price-card ul {
  list-style: none;
  margin-top: 28px;
}

.price-card li {
  font-size: 12px;
  color: #ccc;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.pricing-note {
  color: var(--muted);
  font-size: 11px;
  text-align: center;
  margin-top: 28px;
}

/* ABOUT */

.about-section {
  background: #101010;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.about-image {
  position: relative;
}

.about-image img {
  height: 500px;
  object-fit: cover;
  filter: brightness(.8);
}

.image-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--accent);
  color: #000;
  padding: 10px 14px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.about-content h2,
.contact-info h2 {
  font-family: var(--heading-font);
  font-size: clamp(40px,5vw,67px);
  line-height: 1.08;
  letter-spacing: -3px;
  margin-bottom: 28px;
}

.about-content p,
.contact-info > p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 17px;
}

.text-link {
  display: inline-block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-top: 15px;
}

/* TESTIMONIALS */

.testimonial-controls {
  display: flex;
  gap: 10px;
}

.testimonial-controls button {
  width: 45px;
  height: 45px;
  background: transparent;
  color: white;
  border: 1px solid var(--border);
  font-size: 20px;
}

.testimonial-controls button:hover {
  color: #000;
  background: var(--accent);
}

.testimonial-slider {
  max-width: 800px;
  min-height: 330px;
  position: relative;
}

.testimonial {
  display: none;
  animation: fadeIn .4s ease;
}

.testimonial.active {
  display: block;
}

.quote-mark {
  font-family: Georgia,serif;
  font-size: 90px;
  color: var(--accent);
  line-height: .8;
}

.testimonial blockquote {
  font-family: var(--heading-font);
  font-size: clamp(22px,3vw,33px);
  line-height: 1.4;
  letter-spacing: -.7px;
  margin: 20px 0 30px;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-person img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-person strong,
.testimonial-person span {
  display: block;
}

.testimonial-person strong {
  font-size: 13px;
}

.testimonial-person span {
  font-size: 10px;
  color: var(--muted);
}

/* STATS */

.stats-section {
  padding: 65px 0 40px;
  background: var(--accent);
  color: #080808;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  text-align: center;
  gap: 20px;
}

.stat-item strong {
  display: block;
  font-family: var(--heading-font);
  font-size: clamp(35px,5vw,58px);
  line-height: 1.1;
}

.stat-item span {
  display: block;
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 800;
  margin-top: 10px;
}

.stats-section .placeholder-note {
  color: rgba(0,0,0,.6);
}

/* FAQ */

.faq-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
}

.faq-intro > p {
  font-size: 13px;
  color: var(--muted);
  max-width: 280px;
  margin-top: 20px;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 15px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span {
  color: var(--accent);
  font-size: 20px;
  transition: transform .3s;
}

.faq-item[open] summary span {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 25px 22px 0;
  color: var(--muted);
  font-size: 12px;
  max-width: 600px;
}

/* CONTACT */

.contact-section {
  background:
    radial-gradient(ellipse at 0% 50%,rgba(255,181,46,.08),transparent 45%),
    #101010;
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
}

.contact-detail {
  margin-top: 32px;
}

.contact-detail > span {
  display: block;
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 2px;
  margin-bottom: 7px;
}

.contact-detail a {
  font-size: 15px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 45px;
}

.social-links a {
  color: #aaa;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.social-links a:hover {
  color: var(--accent);
}

.contact-form {
  padding: 35px;
  background: #171717;
  border: 1px solid var(--border);
}

.contact-form h3 {
  font-family: var(--heading-font);
  font-size: 22px;
  margin-bottom: 28px;
}

.contact-form label {
  display: block;
  color: #ccc;
  font-size: 11px;
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  display: block;
  margin-top: 9px;
  background: #101010;
  border: 1px solid var(--border);
  color: white;
  padding: 14px;
  border-radius: 2px;
  outline: none;
  font-size: 12px;
  min-width: 0;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #777;
}

.contact-form select option {
  background: #111;
}

.form-status {
  color: var(--accent);
  font-size: 12px;
  margin-top: 14px;
  min-height: 20px;
}

.contact-form small {
  display: block;
  color: #777;
  font-size: 9px;
  margin-top: 15px;
}

.site-footer {
  background: #090909;
  border-top: 1px solid var(--border);
}

.footer-bottom {
  display: flex;
  min-height: 64px;
  align-items: center;
  color: #888;
  font-size: 10px;
  letter-spacing: 1px;
}

/* RESPONSIVE LAYOUT */

@media (max-width: 1024px) {
  html {
    scroll-padding-top: 76px;
  }

  .navbar {
    height: 76px;
    padding-inline: 4%;
  }

  .menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 7px;
    border-radius: 3px;
  }

  .menu-toggle:focus-visible,
  .nav-links a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
  }

  .menu-toggle span {
    width: 24px;
    margin: 4px 0;
    transform-origin: center;
    transition: transform .2s ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1;
    max-height: calc(100vh - 76px);
    max-height: calc(100svh - 76px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 5% 20px;
    background: rgba(10, 10, 10, .98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 30px rgba(0, 0, 0, .35);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links > a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 12px 2px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
  }

  .nav-links .nav-cta {
    justify-content: center;
    margin-top: 12px;
    padding: 13px 18px;
    border-bottom: 0;
  }

  .hero {
    height: auto;
    min-height: clamp(620px, calc(100svh - 76px), 780px);
    padding: 72px 0 54px;
  }

  .hero-content {
    padding-top: 0;
  }

  .hero h1 {
    font-size: clamp(52px, 8.5vw, 88px);
    letter-spacing: -.075em;
  }

  .about-grid {
    gap: 44px;
  }

  .contact-grid {
    gap: 48px;
  }

  .faq-layout {
    gap: 50px;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 84px 0;
  }

  .section-small {
    padding: 48px 0;
  }

  .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    margin-bottom: 36px;
  }

  .section-heading h2,
  .faq-intro h2 {
    font-size: clamp(35px, 7vw, 54px);
    letter-spacing: -.055em;
  }

  .section-heading > p {
    max-width: 48ch;
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 230px;
    padding: 24px;
  }

  .service-arrow {
    opacity: 1;
  }

  .portfolio-grid {
    gap: 28px 16px;
  }

  .portfolio-image {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .play-button {
    width: 48px;
    height: 48px;
    opacity: 1;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

  .process-step {
    padding: 26px 0 24px;
    border-bottom: 1px solid var(--border);
  }

  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin-inline: auto;
    gap: 18px;
  }

  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .faq-intro > p {
    max-width: 44ch;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .comparison {
    height: clamp(250px, 62vw, 390px);
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }

  .footer-bottom {
    gap: 10px;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  html {
    scroll-padding-top: 72px;
  }

  .container {
    width: calc(100% - 36px);
  }

  .navbar {
    height: 72px;
    padding-inline: 18px;
  }

  .logo {
    gap: 9px;
  }

  .logo img {
    width: 44px;
    height: 44px;
  }

  .logo-text {
    font-size: 14px;
  }

  .nav-links {
    max-height: calc(100vh - 72px);
    max-height: calc(100svh - 72px);
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    min-height: max(600px, calc(100svh - 72px));
    padding: 60px 0 48px;
  }

  .hero h1 {
    margin-bottom: 20px;
    font-size: clamp(42px, 11.5vw, 68px);
    line-height: 1;
    letter-spacing: -.075em;
  }

  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 1.8px;
  }

  .hero-description {
    max-width: 40ch;
    font-size: 14px;
    margin-bottom: 24px;
  }

  .hero-actions {
    max-width: 420px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 50px;
  }

  .hero-side-text {
    display: none;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .about-image img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .about-content h2,
  .contact-info h2 {
    font-size: clamp(37px, 9vw, 54px);
    letter-spacing: -.06em;
    margin-bottom: 20px;
  }

  .services-grid,
  .portfolio-grid,
  .process-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-card {
    min-height: 205px;
    padding: 24px 22px;
  }

  .service-icon {
    margin: 18px 0 10px;
  }

  .portfolio-grid {
    gap: 25px;
  }

  .portfolio-image {
    aspect-ratio: 4 / 3;
  }

  .portfolio-filters {
    gap: 8px;
    margin-bottom: 24px;
  }

  .filter-btn {
    min-height: 44px;
    padding: 10px 17px;
  }

  .process-step {
    padding: 22px 0;
  }

  .price-card {
    padding: 30px 22px;
  }

  .comparison {
    height: clamp(230px, 68vw, 330px);
  }

  .comparison-label {
    bottom: 14px;
    padding: 7px 10px;
    font-size: 9px;
  }

  .before-label {
    right: 14px;
  }

  .after-label {
    left: 14px;
  }

  .comparison-handle {
    width: 40px;
    height: 40px;
  }

  .stat-item span {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .faq-item summary {
    padding: 18px 0;
    font-size: 14px;
  }

  .contact-detail a {
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .social-links {
    gap: 14px;
    margin-top: 32px;
  }

  .video-modal {
    padding: 14px;
  }

  .modal-content {
    width: 100%;
    max-height: calc(100svh - 72px);
  }

  .modal-content.portrait-video {
    width: min(420px, 82vw);
    aspect-ratio: 9 / 16;
    max-height: calc(100svh - 72px);
  }

  .modal-close {
    top: 10px;
    right: 14px;
    width: 44px;
    height: 44px;
  }

  .footer-bottom {
    padding: 18px 0;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

