:root {
  --epiclab-ink: #10120f;
  --epiclab-paper: #f1efe7;
  --epiclab-paper-deep: #e4e1d6;
  --epiclab-white: #fffdf7;
  --epiclab-teal: #456762;
  --epiclab-teal-deep: #284440;
  --epiclab-sand: #d5a767;
  --epiclab-line: rgba(16, 18, 15, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.epiclab-template,
body.epiclab-component,
body.epiclab-system-page {
  margin: 0;
  background: var(--epiclab-paper);
  color: var(--epiclab-ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.epiclab-page {
  overflow: hidden;
}

.epiclab-page a,
.epiclab-system-page a {
  color: inherit;
  text-decoration: none;
}

.epiclab-page button,
.epiclab-page input,
.epiclab-page select,
.epiclab-page textarea,
.epiclab-system-page button,
.epiclab-system-page input {
  font: inherit;
}

.epiclab-page img,
.epiclab-page video {
  display: block;
  max-width: 100%;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 24px 4vw;
  color: var(--epiclab-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.brand,
.footer-brand {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-muted {
  font-weight: 400;
  opacity: 0.68;
}

.brand-logo {
  display: block;
  max-width: min(42vw, 500px);
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand .brand-logo {
  max-height: 34px;
}

.site-header .brand-logo-animated {
  transform-origin: left center;
  animation: epiclab-logo-fade 6s ease-in-out infinite;
  will-change: opacity, transform, filter;
}

.language-switcher {
  position: absolute;
  z-index: 21;
  top: 92px;
  right: 4vw;
  display: flex;
  gap: 0.35rem;
  padding: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(5, 8, 7, 0.56);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.language-switcher a {
  display: grid;
  width: 34px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.language-switcher a:hover,
.language-switcher a[aria-current="page"] {
  background: var(--epiclab-white);
  color: var(--epiclab-ink);
}

@keyframes epiclab-logo-fade {
  0%,
  35%,
  72%,
  100% {
    opacity: 1;
    filter: brightness(1) drop-shadow(0 0 0 rgba(255, 255, 255, 0));
    transform: translateY(0) scale(1);
  }

  48%,
  59% {
    opacity: 0;
    filter: brightness(1.2) drop-shadow(0 0 12px rgba(255, 255, 255, 0.18));
    transform: translateY(-2px) scale(0.985);
  }
}

.site-header nav {
  display: flex;
  gap: clamp(1.4rem, 3vw, 3.5rem);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header nav .mobile-nav-contact {
  display: none;
}

.site-header nav a,
.footer-links a {
  transition: opacity 180ms ease;
}

.site-header nav a:hover,
.footer-links a:hover {
  opacity: 0.6;
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: flex-end;
  overflow: hidden;
  background: #16201d;
  color: var(--epiclab-white);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.14);
  transform-origin: center;
  transition: opacity 900ms ease;
}

.hero-video.is-active {
  opacity: 1;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 8, 7, 0.82) 0%, rgba(5, 8, 7, 0.42) 54%, rgba(5, 8, 7, 0.2) 100%),
    linear-gradient(0deg, rgba(5, 8, 7, 0.68) 0%, transparent 58%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1240px, 92vw);
  margin: 0 auto;
  padding: 160px 0 140px;
}

.eyebrow,
.section-label {
  margin: 0 0 1.5rem;
  color: var(--epiclab-teal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow {
  color: #d9d9cd;
}

.hero h1 {
  max-width: 1240px;
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 7.2rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.hero h1 em {
  display: inline-block;
  max-width: 100%;
  color: #d9c8a9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.52em;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.hero-copy {
  max-width: 610px;
  margin: 2.2rem 0 0;
  color: rgba(255, 253, 247, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-top: 2.5rem;
}

.button {
  display: inline-flex;
  min-height: 54px;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  border: 0;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

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

.button-light {
  background: var(--epiclab-white);
  color: var(--epiclab-ink);
}

.epiclab-page a.button-light {
  background: var(--epiclab-white) !important;
  color: var(--epiclab-ink) !important;
  font-size: 0.76rem !important;
  line-height: 1 !important;
  opacity: 1 !important;
}

.epiclab-page a.button-light .play {
  color: inherit !important;
  opacity: 1 !important;
}

.play {
  font-size: 0.65rem;
}

.text-link,
.whatsapp-link {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-foot {
  position: absolute;
  z-index: 2;
  right: 4vw;
  bottom: 30px;
  left: 4vw;
  display: flex;
  gap: 1rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-foot-line {
  width: 42px;
  height: 1px;
  background: rgba(255, 255, 255, 0.42);
}

.hero-scroll {
  margin-left: auto;
}

.section-shell {
  width: min(1240px, 92vw);
  margin: 0 auto;
}

.intro {
  padding-top: clamp(6rem, 12vw, 11rem);
  padding-bottom: clamp(6rem, 12vw, 11rem);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: end;
}

.intro h2,
.section-heading h2,
.process h2,
.why h2,
.quote h2 {
  margin: 0;
  font-size: clamp(2.8rem, 6.2vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.intro h2 span {
  color: var(--epiclab-teal);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.intro-copy > p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.7;
}

.capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.capabilities span {
  padding: 0.58rem 0.85rem;
  border: 1px solid var(--epiclab-line);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work,
.services {
  padding-bottom: clamp(7rem, 13vw, 12rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.5fr);
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}

.section-heading h2 {
  max-width: 780px;
}

.section-heading > p {
  margin: 0 0 0.4rem;
  color: rgba(16, 18, 15, 0.68);
  line-height: 1.65;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
  align-items: start;
}

.work-card-1 {
  grid-row: span 2;
}

.work-image {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--epiclab-paper-deep);
}

.work-card-1 .work-image,
.work-card-2 .work-image,
.work-card-3 .work-image {
  aspect-ratio: auto;
}

.work-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.work-card:hover img {
  transform: scale(1.025);
}

.work-index {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(16, 18, 15, 0.8);
  color: var(--epiclab-white);
  font-size: 0.66rem;
}

.work-play {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: var(--epiclab-white);
  color: var(--epiclab-ink);
  font-size: 0.72rem;
  transition: transform 180ms ease;
}

.work-image:hover .work-play {
  transform: scale(1.08);
}

.work-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0 2rem;
}

.work-meta h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 500;
}

.work-meta p {
  margin: 0;
  color: rgba(16, 18, 15, 0.56);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.service-list {
  border-top: 1px solid var(--epiclab-line);
}

.service-row {
  display: grid;
  grid-template-columns: 60px minmax(240px, 1fr) minmax(320px, 1.2fr) 160px;
  gap: 2rem;
  align-items: center;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--epiclab-line);
}

.service-number,
.service-price {
  color: var(--epiclab-teal);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-row h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.service-row p {
  margin: 0;
  color: rgba(16, 18, 15, 0.65);
  font-size: 0.94rem;
  line-height: 1.6;
}

.service-price {
  text-align: right;
  white-space: nowrap;
}

.price-note {
  margin: 1rem 0 0 auto;
  max-width: 500px;
  color: rgba(16, 18, 15, 0.5);
  font-size: 0.72rem;
  line-height: 1.5;
  text-align: right;
}

.why {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 850px;
  background: var(--epiclab-teal-deep);
  color: var(--epiclab-white);
}

.why-image {
  min-height: 620px;
  background-position: center 68%;
  background-size: cover;
  background-repeat: no-repeat;
}

.why-content {
  align-self: center;
  padding: clamp(4rem, 8vw, 8rem);
}

.section-label-light {
  color: #d7c09a;
}

.why h2 {
  max-width: 620px;
}

.advantage-list {
  margin-top: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.advantage {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.advantage > span {
  padding-top: 0.2rem;
  color: #d7c09a;
  font-size: 0.68rem;
}

.advantage h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  font-weight: 500;
}

.advantage p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.86rem;
  line-height: 1.6;
}

.process {
  padding-top: clamp(7rem, 13vw, 12rem);
  padding-bottom: clamp(7rem, 13vw, 12rem);
}

.process h2 {
  max-width: 760px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 5rem;
  border-top: 1px solid var(--epiclab-line);
}

.process-grid article {
  min-height: 310px;
  padding: 1.8rem 2.5rem 2rem 0;
  border-right: 1px solid var(--epiclab-line);
}

.process-grid article:not(:first-child) {
  padding-left: 2.5rem;
}

.process-grid article:last-child {
  border-right: 0;
}

.process-grid span {
  color: var(--epiclab-teal);
  font-size: 0.7rem;
}

.process-grid h3 {
  margin: 4rem 0 1rem;
  font-size: 2rem;
  font-weight: 500;
}

.process-grid p {
  margin: 0;
  color: rgba(16, 18, 15, 0.62);
  font-size: 0.92rem;
  line-height: 1.7;
}

.quote {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: clamp(4rem, 10vw, 10rem);
  padding: clamp(5rem, 9vw, 9rem) max(4vw, calc((100vw - 1240px) / 2));
  background: var(--epiclab-ink);
  color: var(--epiclab-white);
}

.quote-intro > p:not(.section-label) {
  max-width: 520px;
  margin: 2rem 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

.contact-links {
  display: grid;
  width: min(100%, 430px);
  gap: 0.75rem;
}

.contact-action-link {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  gap: 0.85rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: var(--epiclab-white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.contact-action-link:hover,
.contact-action-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.contact-action-text {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  align-items: baseline;
}

.contact-action-text span:last-child:not(:first-child) {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
  text-transform: none;
}

.contact-action-arrow {
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 400;
}

.contact-icon {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.instagram-icon {
  border: 2px solid currentColor;
  border-radius: 6px;
}

.instagram-icon::before {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "";
}

.instagram-icon::after {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.whatsapp-icon {
  border: 2px solid currentColor;
  border-radius: 50%;
}

.whatsapp-icon::before {
  position: absolute;
  bottom: -3px;
  left: 1px;
  width: 7px;
  height: 7px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  background: var(--epiclab-ink);
  content: "";
  transform: rotate(-20deg);
}

.whatsapp-icon::after {
  position: absolute;
  top: 2px;
  left: 4px;
  color: currentColor;
  content: "☎";
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transform: rotate(-15deg);
}

.email-icon {
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.email-icon::before,
.email-icon::after {
  position: absolute;
  top: 2px;
  width: 12px;
  height: 2px;
  background: currentColor;
  content: "";
}

.email-icon::before {
  left: 0;
  transform: rotate(35deg);
  transform-origin: left center;
}

.email-icon::after {
  right: 0;
  transform: rotate(-35deg);
  transform-origin: right center;
}

.quote-form {
  display: grid;
  gap: 1.25rem;
}

.quote-form label {
  display: grid;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--epiclab-white);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.quote-form input,
.quote-form select {
  height: 48px;
}

.quote-form textarea {
  resize: vertical;
  padding: 0.8rem 0;
  line-height: 1.5;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--epiclab-sand);
}

.quote-form select option {
  color: var(--epiclab-ink);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.button-accent {
  width: 100%;
  margin-top: 0.75rem;
  background: var(--epiclab-sand);
  color: var(--epiclab-ink);
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.7rem;
  line-height: 1.5;
}

.epiclab-page footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2.5rem 4vw;
  background: #080a08;
  color: var(--epiclab-white);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.epiclab-page footer > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-self: end;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-legal {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.epiclab-system-page {
  min-height: 100vh;
  padding: 8vw;
  background: var(--epiclab-ink);
  color: var(--epiclab-white);
}

.epiclab-system-page main {
  width: min(720px, 100%);
}

.epiclab-system-page h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 500;
  letter-spacing: -0.06em;
}

.epiclab-system-page p {
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.epiclab-system-page form {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.epiclab-system-page label {
  display: grid;
  gap: 0.5rem;
}

.epiclab-system-page input {
  min-height: 48px;
  padding: 0 0.75rem;
}

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

  .site-header nav {
    display: none;
  }

  .intro-grid,
  .section-heading,
  .quote {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .section-heading {
    gap: 2rem;
  }

  .work-grid {
    gap: 1.25rem;
  }

  .service-row {
    grid-template-columns: 42px 1fr auto;
  }

  .service-row p {
    grid-column: 2 / -1;
  }

  .why {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .why-content {
    padding: 5rem 3rem;
  }

  .quote {
    gap: 4rem;
  }
}

@media (max-width: 680px) {
  .site-header {
    grid-template-columns: 1fr;
    padding: 18px 6vw 0;
    border-bottom: 0;
  }

  .header-cta {
    display: none;
  }

  .brand {
    width: fit-content;
    min-height: 36px;
  }

  .brand-logo {
    max-width: 44vw;
    max-height: 38px;
  }

  .language-switcher {
    top: 18px;
    right: 5vw;
  }

  .language-switcher a {
    width: 30px;
    height: 26px;
  }

  .site-header nav {
    position: absolute;
    top: 68px;
    right: 5vw;
    left: 5vw;
    display: flex;
    min-height: 46px;
    gap: 0;
    align-items: center;
    justify-content: space-around;
    padding: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(8, 10, 8, 0.66);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    font-size: 0.59rem;
    letter-spacing: 0.08em;
  }

  .site-header nav a {
    display: grid;
    min-height: 38px;
    padding: 0 0.7rem;
    place-items: center;
    border-radius: 999px;
    white-space: nowrap;
  }

  .site-header nav .desktop-nav-why {
    display: none;
  }

  .site-header nav .mobile-nav-contact {
    display: grid;
    background: var(--epiclab-white);
    color: var(--epiclab-ink);
  }

  .hero {
    min-height: 100svh;
  }

  .hero-video {
    object-position: 58% center;
    transform: scale(1.06);
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 8, 7, 0.32) 0%, rgba(5, 8, 7, 0.16) 32%, rgba(5, 8, 7, 0.92) 100%),
      linear-gradient(90deg, rgba(5, 8, 7, 0.54), rgba(5, 8, 7, 0.08));
  }

  .hero-content {
    width: 88vw;
    padding: 175px 0 112px;
  }

  .eyebrow,
  .section-label {
    margin-bottom: 1.1rem;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.65rem, 12vw, 4rem);
    letter-spacing: -0.055em;
    line-height: 0.96;
  }

  .hero h1 br {
    display: block;
  }

  .hero h1 em {
    display: inline-block;
    margin-top: 0.06em;
    font-size: 0.64em;
    line-height: 1.05;
  }

  .hero-copy {
    max-width: 34rem;
    margin-top: 1.5rem;
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .hero-actions {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.75rem;
  }

  .hero-actions .button {
    width: min(100%, 340px);
    min-height: 52px;
  }

  .hero-actions .text-link {
    min-height: 44px;
    align-items: center;
  }

  .hero-foot {
    right: 6vw;
    bottom: 20px;
    left: 6vw;
    gap: 0.65rem;
    font-size: 0.55rem;
  }

  .hero-scroll {
    display: none;
  }

  .section-shell {
    width: 88vw;
  }

  .intro {
    padding-top: 5.5rem;
    padding-bottom: 6rem;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .intro h2,
  .section-heading h2,
  .process h2,
  .why h2,
  .quote h2 {
    font-size: clamp(2.45rem, 11.5vw, 3.7rem);
    letter-spacing: -0.05em;
    line-height: 0.98;
  }

  .intro-copy > p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .capabilities {
    gap: 0.45rem;
    margin-top: 1.5rem;
  }

  .capabilities span {
    padding: 0.5rem 0.7rem;
    font-size: 0.6rem;
  }

  .work,
  .services {
    padding-bottom: 6rem;
  }

  .section-heading {
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .section-heading > p {
    font-size: 0.94rem;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .work-card-1 {
    grid-row: auto;
  }

  .work-card-1 .work-image,
  .work-card-2 .work-image,
  .work-card-3 .work-image {
    aspect-ratio: auto;
  }

  .work-image img {
    height: auto;
  }

  .work-play {
    width: 48px;
    height: 48px;
  }

  .work-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.9rem 0 2.4rem;
  }

  .work-meta p {
    text-align: left;
  }

  .service-row {
    grid-template-columns: 30px 1fr;
    gap: 0.65rem 0.8rem;
    padding: 1.55rem 0;
  }

  .service-row p,
  .service-price {
    grid-column: 2;
    text-align: left;
  }

  .service-row h3 {
    font-size: 1.35rem;
  }

  .service-row p {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .price-note {
    text-align: left;
  }

  .why {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .why-image {
    min-height: 52svh;
    background-position: center 62%;
  }

  .why-content {
    padding: 5rem 6vw 5.5rem;
  }

  .advantage-list {
    margin-top: 2.5rem;
  }

  .advantage {
    grid-template-columns: 34px 1fr;
    gap: 0.85rem;
    padding: 1.3rem 0;
  }

  .process {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
    margin-top: 2.5rem;
  }

  .process-grid article,
  .process-grid article:not(:first-child) {
    min-height: auto;
    padding: 1.5rem 0 2rem;
    border-right: 0;
    border-bottom: 1px solid var(--epiclab-line);
  }

  .process-grid h3 {
    margin: 1.5rem 0 0.7rem;
    font-size: 1.65rem;
  }

  .quote {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    padding: 5.5rem 6vw;
  }

  .quote-intro > p:not(.section-label) {
    margin: 1.5rem 0;
    font-size: 0.94rem;
  }

  .contact-links {
    width: 100%;
    max-width: 430px;
    gap: 0.7rem;
  }

  .contact-action-link {
    min-height: 54px;
    padding: 0.62rem 0.85rem;
    font-size: 0.66rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .quote-form {
    gap: 1.1rem;
  }

  .quote-form input,
  .quote-form select {
    height: 52px;
    font-size: 16px;
  }

  .quote-form textarea {
    min-height: 120px;
    font-size: 16px;
  }

  .button-accent {
    min-height: 56px;
  }

  .epiclab-page footer {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 3rem 6vw max(3rem, env(safe-area-inset-bottom));
  }

  .footer-links {
    gap: 0.8rem 1.2rem;
    justify-self: start;
    line-height: 1.5;
  }

  .footer-legal {
    padding-top: 1.25rem;
    font-size: 0.58rem !important;
    line-height: 1.5;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .work-image img,
  .hero-video,
  .button,
  .site-header .brand-logo-animated {
    animation: none;
    transition: none;
  }
}
