:root {
  --trepixel-blue: #4b6bff;
  --trepixel-mint: #55e0b7;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.nav__logo {
  color: #111;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  text-decoration: none;
}

.nav__logo img {
  display: none !important;
}

.nav__logo::before {
  content: "trepixel";
  display: block;
  font-family: var(--font-rounded);
  font-size: clamp(26px, 2vw, 32px);
  font-weight: 800;
  letter-spacing: 0;
}

.nav__links {
  gap: clamp(14px, 1.15vw, 22px) !important;
}

.nav__links a {
  font-size: clamp(12px, 0.82vw, 14px) !important;
}

.nav__cta,
.services__btn {
  min-height: clamp(50px, 3.8vw, 62px) !important;
  padding-inline: clamp(24px, 2.4vw, 40px) !important;
  font-size: clamp(14px, 1vw, 17px) !important;
}

.cta-xl {
  min-height: clamp(56px, 4.4vw, 68px) !important;
  padding-inline: clamp(26px, 3vw, 48px) !important;
  font-size: clamp(15px, 1.08vw, 18px) !important;
}

.hero-brand {
  display: none !important;
}

.hero-brand::before,
.hero-brand::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 8px 2px;
  border-radius: 2px;
  background: var(--trepixel-blue);
}

.hero-brand::after {
  background: var(--trepixel-mint);
}

.preloader-root .sun-svg {
  display: none !important;
}

.preloader-root .preloader-content::before {
  content: "trepixel";
  display: block;
  color: #111;
  font-family: var(--font-rounded);
  font-size: clamp(54px, 5.4vw, 96px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.intro {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

/* Preserve the original media/video anchors while replacing the exported word art. */
.hero-art .w-we,
.hero-art .w-turn,
.hero-art .w-great,
.hero-art .w-ideas,
.hero-art .w-into,
.hero-art .w-brands,
.hero-art .w-people,
.hero-art .w-remember,
.hero-art .hero-arrow {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.08em;
  color: #111;
  text-align: center;
  font-family: var(--font-rounded);
  font-size: clamp(50px, 6.15vw, 82px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy__line {
  display: block;
}

@media (width > 768px) {
  .intro {
    min-height: min(92vh, 880px) !important;
    padding-top: clamp(150px, 13vw, 220px) !important;
    padding-bottom: clamp(64px, 7vw, 110px) !important;
    place-items: start center !important;
  }

  .hero-art {
    width: min(100%, 1080px) !important;
    max-width: calc(100vw - 72px) !important;
    aspect-ratio: auto !important;
    min-height: clamp(220px, 24vw, 320px) !important;
  }

  .home-hero-ctas {
    margin-top: clamp(8px, 1.25vw, 18px);
  }
}

.hero-avatars {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
}

.hero-reel {
  z-index: 13;
  top: 29cqw !important;
  left: 41.6cqw !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
}

.reel-morph,
.reel-morph__canvas {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.reel-full__card {
  background: url("./trepixel-seo-website-design-showreel-poster.webp") center / cover no-repeat;
}

@media (min-width: 769px) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html:not(.reel-native) .reel-full__card {
    background-image: none;
  }
}

html.reel-morph-active .reel-morph,
html.reel-morph-active .reel-morph__canvas {
  opacity: 1 !important;
  visibility: visible !important;
}

.home-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-self: center;
  width: 100%;
  gap: 12px;
  margin-top: clamp(18px, 2vw, 28px);
}

.foot__sun {
  width: auto;
  height: clamp(34px, 3.1vw, 46px);
}

.foot__word {
  display: none;
}

.foot__tagline {
  white-space: normal;
}

.cert__name {
  letter-spacing: 0.08cqw;
}

.lower > .websites {
  order: 2 !important;
}

.lower > .metrics-section {
  order: 3 !important;
}

.lower > .awards,
.lower > .awards-cta {
  order: 4 !important;
}

.lower > .testimonials {
  order: 5 !important;
}

.lower > .articles {
  order: 6 !important;
}

.lower > .faq-section {
  order: 7 !important;
}

.lower > .contact-section {
  order: 8 !important;
}

.lower > .site-footer {
  order: 99 !important;
}

.websites {
  width: 100%;
  padding: max(40px, 6vw) max(36px, 6vw);
}

.websites__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14.86px;
  max-width: 1070px;
  margin: 0 auto;
}

.website-card {
  color: inherit;
  text-decoration: none;
}

.website-card__mark {
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-rounded);
  font-size: 4.2cqw;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #111 0%, #2b2f44 100%);
}

.website-card .work-card__photo {
  object-position: 50% 0;
}

.faq-section,
.contact-section {
  width: 100%;
  padding: max(40px, 6vw) max(36px, 6vw);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14.86px;
  max-width: 1070px;
  margin: 0 auto;
}

.faq-card {
  min-height: 190px;
  padding: clamp(24px, 2.4vw, 34px);
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.72), 0 18px 42px -34px rgba(15, 23, 42, 0.44);
}

.faq-card h3 {
  max-width: 22ch;
  margin: 0;
  color: #0a0a0a;
  font-family: var(--font-rounded);
  font-size: clamp(20px, 1.55vw, 26px);
  font-weight: 650;
  line-height: 1.08;
}

.faq-card p {
  margin: 14px 0 0;
  color: rgba(10, 10, 10, 0.68);
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.5;
}

.contact-section {
  padding-bottom: max(56px, 7vw);
}

.seo-hero,
.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 4vw, 70px);
  width: min(1120px, calc(100% - 2 * max(24px, 4.5vw)));
  margin: 0 auto;
  padding: max(136px, 12vw) 0 max(52px, 5vw);
  align-items: stretch;
}

.seo-hero__copy,
.contact-hero__copy,
.seo-hero__panel,
.contact-hero__card,
.seo-keywords,
.contact-band {
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.74), 0 28px 70px -48px rgba(15, 23, 42, 0.5);
}

.seo-hero__copy,
.contact-hero__copy {
  padding: clamp(30px, 5vw, 70px);
}

.seo-hero__label {
  margin: 0 0 18px;
  color: rgba(10, 10, 10, 0.55);
  font-family: var(--font-rounded);
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.2;
}

.seo-hero h1,
.contact-hero h1 {
  max-width: 10.5ch;
  margin: 0;
  color: #0a0a0a;
  font-family: var(--font-rounded);
  font-size: clamp(48px, 6.1vw, 92px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.94;
}

.seo-hero p,
.contact-hero p,
.seo-keywords p,
.contact-band p {
  max-width: 68ch;
  margin: 24px 0 0;
  color: rgba(10, 10, 10, 0.68);
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.58;
}

.seo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.seo-hero__panel {
  display: grid;
  align-content: end;
  gap: 10px;
  padding: clamp(24px, 3vw, 44px);
  background:
    radial-gradient(circle at 20% 16%, rgba(75, 107, 255, 0.28), transparent 34%),
    radial-gradient(circle at 80% 18%, rgba(85, 224, 183, 0.25), transparent 32%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.76), rgba(231, 245, 253, 0.72));
}

.seo-hero__panel span {
  width: fit-content;
  border-radius: 999px;
  padding: 10px 14px;
  color: #111;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(10, 10, 10, 0.08);
  font-family: var(--font-rounded);
  font-size: 15px;
  line-height: 1;
}

.seo-article-grid,
.contact-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(1120px, calc(100% - 2 * max(24px, 4.5vw)));
  margin: 0 auto;
  padding: 0 0 max(48px, 5vw);
}

.seo-article-card,
.contact-services article {
  overflow: hidden;
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.72), 0 18px 54px -42px rgba(15, 23, 42, 0.45);
}

.seo-article-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.seo-article-card__media {
  min-height: 280px;
  background-position: center top;
  background-size: cover;
}

.seo-article-card__body,
.contact-services article {
  padding: clamp(24px, 3vw, 42px);
}

.seo-article-card__tag,
.contact-services span {
  margin: 0 0 14px;
  color: rgba(10, 10, 10, 0.52);
  font-family: var(--font-rounded);
  font-size: 14px;
  line-height: 1;
}

.seo-article-card h2,
.contact-services h2,
.seo-keywords h2,
.contact-band h2,
.contact-hero__card h2 {
  margin: 0;
  color: #0a0a0a;
  font-family: var(--font-rounded);
  font-size: clamp(26px, 2.6vw, 42px);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.02;
}

.seo-article-card p,
.contact-services p,
.contact-hero__card li {
  margin: 16px 0 0;
  color: rgba(10, 10, 10, 0.68);
  font-size: clamp(15.5px, 1.05vw, 18px);
  line-height: 1.58;
}

.seo-article-card ul,
.contact-hero__card ul {
  margin: 18px 0 0;
  padding-left: 1.15em;
}

.seo-article-card li {
  margin: 8px 0 0;
  color: rgba(10, 10, 10, 0.72);
  font-size: clamp(15.5px, 1.05vw, 18px);
  line-height: 1.45;
}

.seo-keywords,
.contact-band {
  width: min(1120px, calc(100% - 2 * max(24px, 4.5vw)));
  margin: 0 auto max(72px, 6vw);
  padding: clamp(28px, 4vw, 56px);
}

.contact-hero__card {
  padding: clamp(26px, 3vw, 44px);
  background:
    linear-gradient(rgba(8, 10, 18, 0.12), rgba(8, 10, 18, 0.72)),
    url('./yam-trepixel-seo-website-design-restaurant-project.png') center / cover;
  color: #fff;
}

.contact-hero__card h2,
.contact-hero__card li {
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
}

.contact-band {
  background:
    radial-gradient(circle at 8% 20%, rgba(75, 107, 255, 0.22), transparent 30%),
    radial-gradient(circle at 92% 28%, rgba(85, 224, 183, 0.2), transparent 32%),
    rgba(255, 255, 255, 0.68);
}

body.contact-page {
  background:
    radial-gradient(circle at 15% 8%, rgba(75, 107, 255, 0.18), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(85, 224, 183, 0.2), transparent 32%),
    linear-gradient(180deg, #eaf8ff 0%, #f8fbfd 50%, #ecf7ff 100%);
  color: #0b1832;
}

body.contact-page .nav {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(10, 10, 10, 0.08);
  box-shadow: 0 18px 45px -32px rgba(15, 23, 42, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.78);
}

body.contact-page .nav__logo::before,
body.contact-page .nav__links a,
body.contact-page .nav__toggle {
  color: #101010 !important;
}

.contact-glass-hero,
.contact-info-panel,
.contact-services--glass {
  width: min(1180px, calc(100% - 2 * max(24px, 4.5vw)));
  margin-inline: auto;
}

.contact-glass-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(390px, 1.04fr);
  gap: clamp(18px, 2.6vw, 36px);
  padding: max(118px, 9vw) 0 max(34px, 4vw);
  align-items: start;
}

.contact-glass-hero__copy,
.contact-form,
.contact-info-panel,
.contact-services--glass article {
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: clamp(18px, 2.2vw, 30px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(226, 244, 253, 0.54));
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.88),
    0 30px 90px -58px rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
}

.contact-glass-hero__copy {
  background:
    radial-gradient(circle at 10% 12%, rgba(75, 107, 255, 0.22), transparent 32%),
    radial-gradient(circle at 92% 84%, rgba(85, 224, 183, 0.2), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(230, 246, 253, 0.62));
  padding: clamp(28px, 4vw, 54px);
}

.contact-glass-hero .seo-hero__label,
body.contact-page .seo-hero__label {
  color: rgba(10, 10, 10, 0.54);
}

.contact-glass-hero h1 {
  max-width: 15ch;
  margin: 0;
  color: #0a0a0a;
  font-family: var(--font-rounded);
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 750;
  line-height: 0.98;
  letter-spacing: 0;
}

.contact-glass-hero p {
  max-width: 62ch;
  margin: 20px 0 0;
  color: rgba(10, 10, 10, 0.68);
  font-size: clamp(14.5px, 0.96vw, 16.5px);
  line-height: 1.52;
}

.contact-glass-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
  padding: clamp(22px, 2.6vw, 34px);
  align-content: start;
}

.contact-form__head,
.contact-form__wide,
.contact-form__trap,
.contact-form__status,
.contact-form__submit {
  grid-column: 1 / -1;
}

.contact-form__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__head span {
  color: rgba(10, 10, 10, 0.52);
  font-size: 14px;
  line-height: 1;
}

.contact-form__head h2 {
  margin: 8px 0 2px;
  color: #0a0a0a;
  font-family: var(--font-rounded);
  font-size: clamp(26px, 2.35vw, 36px);
  line-height: 1.02;
  letter-spacing: 0;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(10, 10, 10, 0.62);
  font-size: 13px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  min-height: 52px;
  padding: 13px 14px;
  color: #101010;
  background: rgba(255, 255, 255, 0.62);
  font: inherit;
  line-height: 1.25;
  outline: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.contact-form textarea {
  resize: vertical;
  min-height: 118px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(10, 10, 10, 0.36);
}

.contact-form select {
  color-scheme: light;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(85, 224, 183, 0.75);
  box-shadow: 0 0 0 4px rgba(85, 224, 183, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.contact-form__submit {
  min-height: 60px;
  padding: 0 24px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #111 0%, #26364f 100%);
  font-family: var(--font-rounded);
  font-size: 18px;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 18px 44px -26px rgba(15, 23, 42, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.18);
}

.contact-form__submit[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.contact-form__status {
  min-height: 22px;
  margin: 0;
  color: rgba(10, 10, 10, 0.66);
  font-size: 14px;
  line-height: 1.4;
}

.contact-form__status.is-success {
  color: #12624d;
}

.contact-form__status.is-error {
  color: #9d2f25;
}

.contact-info-panel {
  margin-top: 20px;
  padding: clamp(24px, 4vw, 56px);
  background:
    radial-gradient(circle at 12% 18%, rgba(85, 224, 183, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(226, 244, 253, 0.58));
}

.contact-info-panel h2 {
  margin: 0 0 28px;
  color: #0a0a0a;
  font-family: var(--font-rounded);
  font-size: clamp(28px, 3.2vw, 48px);
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-info-grid {
  display: grid;
  gap: 18px;
}

.contact-info-item {
  display: grid;
  grid-template-columns: clamp(82px, 9vw, 140px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  min-height: clamp(108px, 10vw, 150px);
  color: inherit;
  text-decoration: none;
}

.contact-info-item__icon {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(10, 10, 10, 0.07);
}

.contact-info-item__icon svg {
  width: 42%;
  height: 42%;
  color: #0b1832;
}

.contact-info-item em {
  display: block;
  color: rgba(10, 10, 10, 0.46);
  font-style: normal;
  font-size: clamp(17px, 2.1vw, 30px);
  line-height: 1;
  text-transform: uppercase;
}

.contact-info-item strong {
  display: block;
  margin-top: 12px;
  color: rgba(10, 10, 10, 0.82);
  font-size: clamp(22px, 2.6vw, 38px);
  font-weight: 550;
  line-height: 1.08;
}

.contact-services--glass {
  padding: max(28px, 4vw) 0 max(70px, 7vw);
}

.contact-services--glass article {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(226, 244, 253, 0.54));
}

.contact-services--glass h2,
.contact-services--glass p,
.contact-services--glass span {
  color: #0a0a0a;
}

.contact-services--glass p,
.contact-services--glass span {
  opacity: 0.66;
}

.awards-info.is-awwwards .awards-info__logo-wrap,
.awards-info__logo-wrap {
  width: min(68cqw, 520px);
  aspect-ratio: auto;
}

.awards-info__logo-wrap > svg,
.awards-info__logo-wrap > img {
  display: none !important;
}

.awards-info__logo-wrap::after {
  content: "Top Websites Awarded";
  display: block;
  color: #fff;
  font-family: var(--font-rounded);
  font-size: clamp(28px, 5.1cqw, 54px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.98;
  text-shadow: 0 0.26cqw #00000040;
}

@media (width <= 768px) {
  .hero-stack,
  .intro {
    overflow: hidden;
  }

  .intro {
    padding-top: 116px !important;
    padding-bottom: 18px !important;
    min-height: 360px !important;
  }

  .reel-full {
    margin-top: 16px !important;
  }

  .reel-full__card {
    min-height: 430px !important;
  }

  .nav,
  .nav.is-scrolled {
    left: var(--side-pad) !important;
    right: auto !important;
    width: calc(100vw - 2 * var(--side-pad)) !important;
    max-width: calc(100vw - 2 * var(--side-pad)) !important;
    height: 76px !important;
    margin-inline: 0 !important;
    align-items: center !important;
  }

  .nav__logo::before {
    font-size: 46px;
    max-width: calc(100vw - 148px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav__toggle {
    position: absolute !important;
    top: 50% !important;
    right: 18px !important;
    display: flex !important;
    z-index: 12 !important;
    width: 56px !important;
    height: 56px !important;
    color: #111 !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: rgba(255, 255, 255, 0.88) !important;
    transform: translateY(-50%) !important;
  }

  .nav__toggle:active {
    transform: translateY(-50%) scale(0.96) !important;
  }

  .nav__toggle-icon {
    display: none !important;
  }

  .nav__toggle::before {
    content: "";
    width: 32px;
    height: 22px;
    background:
      linear-gradient(currentColor, currentColor) left top / 100% 3px no-repeat,
      linear-gradient(currentColor, currentColor) left center / 100% 3px no-repeat,
      linear-gradient(currentColor, currentColor) left bottom / 100% 3px no-repeat;
  }

  .hero-art {
    width: 100%;
    max-width: calc(100vw - 2 * var(--side-pad));
    margin-top: 0;
    min-height: 190px;
  }

  .home-hero-ctas {
    width: min(100%, 340px);
    margin-top: 4px;
    gap: 10px;
  }

  .home-hero-ctas .services__btn {
    flex: 1 1 150px;
    min-height: 52px !important;
    padding-inline: 18px !important;
    font-size: 15px !important;
  }

  .hero-copy {
    padding-inline: 10px;
    font-size: 40px;
    line-height: 1.02;
  }

  .hero-reel {
    opacity: 0;
  }

  .hero-avatars {
    opacity: 0;
  }

  .services__title {
    overflow: visible;
    white-space: normal;
  }

  .services__title .tr-ln,
  .services__title .tr-wd,
  .services__sub .tr-ln,
  .services__sub .tr-wd {
    clip-path: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .foot__sun {
    height: 7vw;
  }

  .websites,
  .faq-section,
  .contact-section {
    padding-inline: var(--side-pad);
    padding-block: 9.302vw;
  }

  .websites__grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: var(--side-pad);
    max-width: none;
  }

  .website-card__mark {
    font-size: 42px;
  }

  .faq-card {
    min-height: 0;
    padding: 26px;
  }

  .faq-card h3 {
    font-size: 23px;
  }

  .faq-card p {
    font-size: 16px;
  }

  .seo-hero,
  .contact-hero,
  .contact-glass-hero,
  .contact-info-panel,
  .seo-article-grid,
  .contact-services,
  .seo-keywords,
  .contact-band {
    width: calc(100% - 2 * var(--side-pad));
  }

  .seo-hero,
  .contact-hero {
    grid-template-columns: 1fr;
    padding-top: 116px;
    padding-bottom: 30px;
  }

  .contact-glass-hero {
    grid-template-columns: 1fr;
    padding-top: 112px;
    padding-bottom: 24px;
  }

  .seo-hero h1,
  .contact-hero h1 {
    max-width: 11ch;
    font-size: 48px;
    line-height: 0.98;
  }

  .seo-hero p,
  .contact-hero p,
  .seo-keywords p,
  .contact-band p {
    font-size: 16.5px;
  }

  .seo-article-grid,
  .contact-services {
    grid-template-columns: 1fr;
  }

  .seo-article-card--wide {
    grid-template-columns: 1fr;
  }

  .seo-article-card__media {
    min-height: 235px;
  }

  .seo-article-card h2,
  .contact-services h2,
  .seo-keywords h2,
  .contact-band h2,
  .contact-hero__card h2 {
    font-size: 30px;
  }

  .contact-glass-hero h1 {
    max-width: 100%;
    font-size: 42px;
    line-height: 0.98;
  }

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

  .contact-info-item {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    min-height: 66px;
  }

  .contact-info-item strong {
    margin-top: 6px;
    font-size: 18px;
  }

  .contact-info-item em {
    font-size: 12px;
  }

  .contact-info-panel {
    margin-top: 14px;
    padding: 20px;
  }

  .contact-info-panel h2 {
    margin-bottom: 18px;
    font-size: 28px;
  }

  .contact-info-grid {
    gap: 14px;
  }

  .contact-info-item__icon {
    border-radius: 16px;
  }

  body.contact-page .nav__toggle {
    color: #111 !important;
  }
}

@media (width <= 520px) {
  .nav__logo::before {
    font-size: 38px;
  }

  .nav__toggle {
    width: 52px !important;
    height: 52px !important;
    right: 14px !important;
  }

  .intro {
    padding-top: 108px !important;
    min-height: 330px !important;
  }

  .hero-copy {
    font-size: 36px;
  }
}

@media (width <= 390px) {
  .nav__logo::before {
    font-size: 34px;
  }

  .hero-copy {
    font-size: 32px;
  }

  .seo-hero h1,
  .contact-hero h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.04;
    overflow-wrap: break-word;
  }

  .seo-hero__copy,
  .contact-hero__copy {
    padding: 24px;
  }

  .contact-glass-hero h1 {
    font-size: 34px;
  }
}

@media (width <= 330px) {
  .seo-hero h1,
  .contact-hero h1 {
    font-size: 28px;
  }

  .contact-glass-hero h1 {
    font-size: 30px;
  }

  .contact-info-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .contact-info-item strong {
    font-size: 16px;
  }
}

/* Responsive type and spacing pass: keep the exported artwork fluid without
   letting phone-scale vw rules become oversized on tablets. */
.nav__logo {
  height: auto !important;
  line-height: 1 !important;
}

.nav__logo::before {
  line-height: 1 !important;
}

.foot__sun {
  display: none !important;
}

.foot__logo::before {
  content: "trepixel";
  display: block;
  color: #111;
  font-family: var(--font-rounded);
  font-size: clamp(28px, 2.4vw, 38px);
  font-weight: 800;
  line-height: 1;
}

.services__head {
  width: min(100%, 1037px);
  padding-inline: clamp(12px, 2vw, 24px);
}

.services__title {
  max-width: 24ch !important;
  white-space: normal !important;
  text-wrap: balance;
  line-height: 1.06 !important;
}

.services__sub {
  max-width: 72ch;
  line-height: 1.48 !important;
  text-wrap: pretty;
}

.services__actions {
  flex-wrap: wrap;
  justify-content: center;
}

.seo-hero h1,
.contact-glass-hero h1,
.legal__title,
.seo-article-card h2,
.contact-services h2,
.faq-card h3 {
  overflow-wrap: break-word;
  text-wrap: balance;
}

.seo-hero p,
.contact-glass-hero p,
.seo-article-card p,
.contact-services p,
.legal__lede,
.legal__section p,
.faq-card p {
  text-wrap: pretty;
}

.seo-hero__panel {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
}

.contact-glass-hero h1 {
  max-width: 16ch;
  font-size: clamp(40px, 3.6vw, 52px);
  line-height: 1.02;
}

@media (width > 768px) {
  .intro {
    min-height: clamp(560px, 66vh, 680px) !important;
    padding-top: clamp(140px, 10vw, 170px) !important;
    padding-bottom: clamp(52px, 5vw, 76px) !important;
  }

  .hero-art {
    min-height: clamp(230px, 21vw, 300px) !important;
  }

  .hero-copy {
    font-size: clamp(50px, 5.3vw, 76px);
    line-height: 1;
  }

  .reel-full {
    min-height: 0 !important;
    padding-inline: 0 !important;
    padding-top: clamp(32px, 3vw, 44px) !important;
    padding-bottom: clamp(64px, 6vw, 88px) !important;
  }

  .reel-full__card {
    width: var(--site-w) !important;
    max-width: 1070px !important;
    justify-self: center !important;
  }

  .seo-hero {
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
    gap: clamp(20px, 2vw, 30px);
    padding-top: clamp(128px, 10vw, 154px);
    padding-bottom: clamp(52px, 4.5vw, 70px);
  }

  .seo-hero__copy {
    padding: clamp(34px, 4vw, 56px);
  }

  .seo-hero h1 {
    max-width: 17ch;
    font-size: clamp(48px, 4.5vw, 66px);
    line-height: 1;
  }

  .contact-info-panel {
    padding: clamp(28px, 3vw, 42px);
  }

  .contact-info-panel h2 {
    margin-bottom: 24px;
    font-size: clamp(30px, 2.4vw, 38px);
  }

  .contact-info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 26px);
  }

  .contact-info-item {
    grid-template-columns: clamp(58px, 5vw, 72px) minmax(0, 1fr);
    gap: clamp(12px, 1.4vw, 20px);
    min-height: 82px;
  }

  .contact-info-item__icon {
    border-radius: 18px;
  }

  .contact-info-item em {
    font-size: clamp(12px, 0.95vw, 14px);
  }

  .contact-info-item strong {
    margin-top: 7px;
    font-size: clamp(17px, 1.4vw, 22px);
    overflow-wrap: anywhere;
  }
}

@media (400px <= width <= 768px) {
  :root {
    --side-pad: 32px;
    --radius: 10px;
  }

  .nav__logo::before {
    font-size: 36px;
  }

  .intro {
    min-height: 0 !important;
    padding-top: 112px !important;
    padding-bottom: 16px !important;
  }

  .hero-art {
    min-height: 210px;
  }

  .hero-copy {
    font-size: clamp(38px, 5.5vw, 42px);
  }

  .reel-full {
    min-height: 0 !important;
    margin-top: 8px !important;
    padding-top: 36px !important;
    padding-bottom: 64px !important;
  }

  .reel-full__card {
    aspect-ratio: 16 / 9 !important;
    min-height: 0 !important;
  }

  #services,
  .websites,
  .metrics,
  .awards-cta,
  .testimonials,
  .articles,
  .faq-section,
  .contact-section {
    padding-block: 64px;
  }

  .services__head {
    gap: 8px;
    margin-bottom: 38px;
  }

  .services__badge {
    padding: 6px 14px;
    font-size: 12px;
  }

  .services__title {
    font-size: clamp(34px, 5vw, 40px);
  }

  .services__sub {
    font-size: 16px;
  }

  .services__actions {
    gap: 12px;
    margin-top: 10px;
  }

  .services__btn,
  .home-hero-ctas .services__btn {
    min-height: 52px !important;
    height: 52px;
    padding-inline: 22px !important;
    font-size: 15px !important;
  }

  .services__cards,
  .websites__grid,
  .articles__grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .services__cards > .svc-card:last-child,
  .articles__grid > .post-card:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 18px) / 2);
  }

  .metrics {
    padding-inline: var(--side-pad);
  }

  .band {
    aspect-ratio: 1421 / 486;
  }

  .cards {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    width: 88%;
    margin: 0 auto;
    padding: 0;
    position: absolute;
    inset: 0;
  }

  .card {
    flex: 1 1 0;
  }

  .card__stat {
    font-size: 13.5cqw;
  }

  .card__label {
    white-space: normal;
    font-size: 5.4cqw;
  }

  .awards-show {
    flex-direction: row;
    gap: 18px;
  }

  .awards-cert {
    aspect-ratio: 458 / 591;
    flex: 458 1 0;
    width: auto;
  }

  .awards-info {
    flex: 640 1 0;
    width: auto;
  }

  .testimonials__head {
    margin-bottom: 48px;
  }

  .testimonials__carousel {
    --slide: min(76vw, 620px);
  }

  .testimonials__track {
    gap: 48px;
  }

  .tcard {
    padding: 24px;
  }

  .tcard__fig {
    grid-template-columns: 42% minmax(0, 1fr);
    gap: 24px;
    align-items: center;
  }

  .tcard__quote {
    font-size: 17px;
  }

  .tcard__name {
    font-size: 19px;
  }

  .tcard__role {
    font-size: 14px;
  }

  .tcard__by {
    gap: 3px;
    margin-bottom: 16px;
  }

  .seo-hero {
    gap: 18px;
    padding-top: 116px;
    padding-bottom: 48px;
  }

  .seo-hero__copy,
  .seo-hero__panel {
    padding: 34px;
  }

  .seo-hero h1 {
    max-width: 16ch;
    font-size: clamp(38px, 6.25vw, 48px);
    line-height: 1;
  }

  .seo-article-grid,
  .contact-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-article-card--wide {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .seo-article-grid > .seo-article-card:last-child {
    grid-column: 1 / -1;
  }

  .contact-glass-hero {
    gap: 18px;
    padding-top: 112px;
    padding-bottom: 30px;
  }

  .contact-glass-hero h1 {
    font-size: clamp(36px, 5.5vw, 42px);
  }

  .legal {
    padding-top: 116px;
    padding-bottom: 64px;
  }

  .legal__head {
    margin-bottom: 40px;
    padding-bottom: 32px;
  }

  .legal__title {
    font-size: clamp(40px, 7.3vw, 56px);
  }

  .legal__lede {
    margin-top: 20px;
    font-size: 19px;
  }

  .legal__section {
    margin-bottom: 34px;
  }

  .legal__section h2 {
    margin-bottom: 12px;
    font-size: 23px;
  }

  .legal__section h3 {
    margin: 22px 0 8px;
    font-size: 19px;
  }

  .legal__section p,
  .legal__section li {
    font-size: 16.5px;
    line-height: 1.68;
  }

  .site-footer {
    margin-top: 48px;
  }

  .foot {
    padding: 46px 40px 38px;
  }

  .foot__top {
    flex-direction: row;
    gap: 36px;
  }

  .foot__brand {
    max-width: 280px;
    gap: 14px;
  }

  .foot__nav {
    flex: 1;
    gap: 30px;
  }

  .foot__tagline,
  .foot__col-title,
  .foot__col a,
  .foot__copy {
    font-size: 15px;
  }
}

@media (width < 400px) {
  :root {
    --radius: 8px;
  }

  .nav__logo::before {
    font-size: clamp(32px, 9vw, 36px);
  }

  .intro {
    min-height: 0 !important;
    padding-top: 104px !important;
    padding-bottom: 12px !important;
  }

  .hero-art {
    min-height: clamp(164px, 46vw, 180px);
  }

  .hero-copy {
    font-size: clamp(30px, 8.2vw, 34px);
    line-height: 1.03;
  }

  .home-hero-ctas {
    margin-top: 2px;
  }

  .reel-full {
    min-height: 0 !important;
    margin-top: 8px !important;
    padding-top: 24px !important;
    padding-bottom: 48px !important;
  }

  .reel-full__card {
    aspect-ratio: 16 / 9 !important;
    min-height: 0 !important;
  }

  #services,
  .websites,
  .metrics,
  .awards-cta,
  .testimonials,
  .articles,
  .faq-section,
  .contact-section {
    padding-block: clamp(48px, 14vw, 58px);
  }

  .services__head {
    gap: 8px;
    margin-bottom: 32px;
    padding-inline: 8px;
  }

  .services__badge {
    padding: 5px 12px;
    font-size: 11px;
  }

  .services__title {
    font-size: clamp(28px, 8vw, 32px);
  }

  .services__sub {
    font-size: 15px;
  }

  .services__actions {
    gap: 10px;
    margin-top: 8px;
  }

  .services__btn {
    min-height: 50px !important;
    height: 50px;
    padding-inline: 18px !important;
    font-size: 14px !important;
  }

  .testimonials__head {
    margin-bottom: 40px;
  }

  .seo-hero {
    gap: 14px;
    padding-top: 106px;
    padding-bottom: 38px;
  }

  .seo-hero__copy,
  .seo-hero__panel {
    padding: 24px;
  }

  .seo-hero h1 {
    max-width: 100%;
    font-size: clamp(28px, 8.7vw, 34px);
    line-height: 1.04;
  }

  .seo-hero p,
  .seo-keywords p {
    font-size: 16px;
  }

  .seo-hero__panel {
    gap: 8px;
  }

  .seo-hero__panel span {
    padding: 9px 12px;
    font-size: 14px;
  }

  .contact-glass-hero {
    gap: 14px;
    padding-top: 104px;
    padding-bottom: 24px;
  }

  .contact-glass-hero__copy {
    padding: 24px;
  }

  .contact-glass-hero h1 {
    font-size: clamp(30px, 8.7vw, 34px);
    line-height: 1.03;
  }

  .contact-form {
    gap: 10px;
    padding: 20px;
  }

  .contact-form input,
  .contact-form select {
    min-height: 50px;
  }

  .contact-form__submit {
    min-height: 56px;
    font-size: 17px;
  }

  .legal {
    padding-top: 112px;
    padding-bottom: 56px;
  }

  .legal__head {
    margin-bottom: 34px;
    padding-bottom: 28px;
  }

  .legal__title {
    font-size: clamp(34px, 9.4vw, 40px);
    line-height: 1.04;
  }

  .legal__updated {
    margin-top: 12px;
    font-size: 14px;
  }

  .legal__lede {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.58;
  }

  .legal__section {
    margin-bottom: 30px;
  }

  .legal__section h2 {
    margin-bottom: 10px;
    font-size: 21px;
  }

  .legal__section h3 {
    margin: 20px 0 8px;
    font-size: 18px;
  }

  .legal__section p,
  .legal__section li {
    font-size: 16px;
    line-height: 1.65;
  }

  .site-footer {
    margin-top: 40px;
  }

  .foot {
    padding: 34px 24px 30px;
  }

  .foot__top {
    gap: 28px;
  }

  .foot__brand {
    gap: 12px;
  }

  .foot__tagline,
  .foot__col-title,
  .foot__col a,
  .foot__copy {
    font-size: 14px;
  }

  .foot__bottom {
    flex-wrap: wrap;
  }
}

/* The homepage motion bundle re-attaches its base stylesheet after startup.
   These layout-critical values must remain authoritative after that load. */
@media (400px <= width <= 768px) {
  .home-hero-ctas {
    margin-top: 16px !important;
  }

  #services,
  .websites,
  .metrics,
  .awards-cta,
  .testimonials,
  .articles,
  .faq-section,
  .contact-section {
    padding-block: 64px !important;
  }

  .services__head {
    gap: 8px !important;
    margin-bottom: 38px !important;
  }

  .services__badge {
    padding: 6px 14px !important;
    font-size: 12px !important;
  }

  .services__title {
    font-size: clamp(34px, 5vw, 40px) !important;
  }

  .services__sub {
    font-size: 16px !important;
  }

  .services__actions {
    gap: 12px !important;
    margin-top: 10px !important;
  }

  .services__cards,
  .articles__grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  .services__cards > .svc-card:last-child,
  .articles__grid > .post-card:last-child {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    width: calc((100% - 18px) / 2) !important;
  }

  .svc-card .brand-text__title {
    font-size: 13px !important;
    line-height: 1.1 !important;
  }

  .svc-card .brand-text__sub {
    display: -webkit-box;
    overflow: hidden;
    font-size: 11px !important;
    line-height: 1.2 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .metrics {
    padding: 64px var(--side-pad) !important;
  }

  .band {
    aspect-ratio: 1421 / 486 !important;
  }

  .cards {
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
    width: 88% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    position: absolute !important;
    inset: 0 !important;
  }

  .card {
    flex: 1 1 0 !important;
  }

  .card__stat {
    font-size: clamp(22px, 13.5cqw, 34px) !important;
  }

  .card__label {
    white-space: normal !important;
    font-size: clamp(10.5px, 5.4cqw, 14px) !important;
  }

  .awards-show {
    flex-direction: row !important;
    gap: 18px !important;
  }

  .awards-cert {
    aspect-ratio: 458 / 591 !important;
    flex: 458 1 0 !important;
    width: auto !important;
  }

  .awards-info {
    flex: 640 1 0 !important;
    width: auto !important;
  }

  .testimonials__head {
    margin-bottom: 48px !important;
  }

  .testimonials__carousel {
    --slide: min(76vw, 620px) !important;
  }

  .testimonials__track {
    gap: 48px !important;
  }

  .tcard {
    padding: 24px !important;
  }

  .tcard__fig {
    grid-template-columns: 42% minmax(0, 1fr) !important;
    gap: 24px !important;
    align-items: center !important;
  }

  .tcard__quote {
    font-size: 17px !important;
  }

  .tcard__name {
    font-size: 19px !important;
  }

  .tcard__role {
    font-size: 14px !important;
  }

  .tcard__by {
    gap: 3px !important;
    margin-bottom: 16px !important;
  }

  .site-footer {
    margin-top: 48px !important;
  }

  .foot {
    padding: 46px 40px 38px !important;
  }

  .foot__top {
    flex-direction: row !important;
    gap: 36px !important;
  }

  .foot__brand {
    max-width: 280px !important;
    gap: 14px !important;
  }

  .foot__nav {
    flex: 1 !important;
    gap: 30px !important;
  }

  .foot__tagline,
  .foot__col-title,
  .foot__col a,
  .foot__copy {
    font-size: 15px !important;
  }
}

@media (width < 400px) {
  .home-hero-ctas {
    margin-top: 14px !important;
  }

  #services,
  .websites,
  .metrics,
  .awards-cta,
  .testimonials,
  .articles,
  .faq-section,
  .contact-section {
    padding-block: clamp(48px, 14vw, 58px) !important;
  }

  .services__head {
    gap: 8px !important;
    margin-bottom: 32px !important;
  }

  .services__badge {
    padding: 5px 12px !important;
    font-size: 11px !important;
  }

  .services__title {
    font-size: clamp(28px, 8vw, 32px) !important;
  }

  .services__sub {
    font-size: 15px !important;
  }

  .services__actions {
    gap: 10px !important;
    margin-top: 8px !important;
  }

  .services__btn {
    min-height: 50px !important;
    height: 50px !important;
    padding-inline: 18px !important;
    font-size: 14px !important;
  }

  .testimonials__head {
    margin-bottom: 40px !important;
  }

  .site-footer {
    margin-top: 40px !important;
  }

  .foot {
    padding: 34px 24px 30px !important;
  }

  .foot__top {
    gap: 28px !important;
  }

  .foot__brand {
    gap: 12px !important;
  }

  .foot__tagline,
  .foot__col-title,
  .foot__col a,
  .foot__copy {
    font-size: 14px !important;
  }

  .foot__bottom {
    flex-wrap: wrap !important;
  }
}

@media (width > 768px) {
  :root {
    --site-w: min(88vw, 1070px) !important;
  }
}

@media (400px <= width < 600px) {
  :root {
    --side-pad: 24px;
  }
}

@media (700px <= width <= 768px) {
  .services__cards,
  .articles__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .services__cards > .svc-card:last-child,
  .articles__grid > .post-card:last-child {
    grid-column: auto !important;
    justify-self: stretch !important;
    width: auto !important;
  }
}

@media (width < 360px) {
  .home-hero-ctas .services__btn {
    flex-basis: 130px;
    padding-inline: 12px !important;
    font-size: 13px !important;
  }
}
