* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family: Manrope, Arial, sans-serif;

  color: #202124;

  background: #f4f2ed;

  line-height: 1.65;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

img {
  max-width: 100%;

  display: block;
}

.container {
  width: min(1240px, 100% - 64px);

  margin: auto;
}

/* Hidden except during keyboard navigation */

.skip:not(:focus-visible) {
  position: absolute;

  width: 1px;

  height: 1px;

  padding: 0;

  margin: -1px;

  overflow: hidden;

  clip-path: inset(50%);

  white-space: nowrap;
}

.skip:focus-visible {
  position: fixed;

  top: 12px;

  left: 12px;

  z-index: 9999;

  width: auto;

  height: auto;

  padding: 12px 18px;

  background: #fff7ed;

  color: #202124;

  border-radius: 8px;

  font-weight: 700;
}

:focus-visible {
  outline: 3px solid #e8aa00;

  outline-offset: 4px;
}

.header {
  background: #1c1d1f;

  color: #f9f4ec;

  border-bottom: 1px solid #393939;
}

.head-inner {
  min-height: 94px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 24px;
}

.brand {
  display: block;

  flex-shrink: 0;
}

.brand img {
  width: 135px;

  max-height: 66px;

  object-fit: contain;
}

.nav {
  display: flex;

  gap: 24px;

  align-items: center;
}

.nav a {
  font-size: 13px;

  font-weight: 700;

  text-decoration: none;

  white-space: nowrap;

  padding: 10px 0;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #eab000;
}

.nav a:last-child {
  background: #2876e8;

  color: #fff;

  padding: 11px 17px;

  border-radius: 3px;
}

.menu-toggle {
  display: none;
}

.dark {
  background: #1c1d1f;

  color: #f9f4ec;
}

.white {
  background: #fff;
}

.neutral {
  background: #f4f2ed;
}

.hero {
  padding: 105px 0 115px;
}

.hero-grid {
  display: grid;

  grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.65fr);

  gap: 80px;

  align-items: end;
}

.eyebrow {
  margin: 0 0 24px;

  font-size: 11px;

  letter-spacing: 0.14em;

  font-weight: 800;

  text-transform: uppercase;

  color: #e8b116;
}

.hero h1 {
  font-family: "Manrope", sans-serif;

  font-size: clamp(3rem, 5.5vw, 5.5rem);

  font-weight: 800;

  line-height: 1.08;

  letter-spacing: -0.055em;

  margin: 0;

  color: #fff7ed;
}

.hero h1 span {
  display: block;
}

.hero h1 .text-blue {
  color: #2876e8;
}

/* Space between headline and description */

.hero .lede {
  margin-top: 32px;

  max-width: 640px;
}

/* Prevent the layout from overflowing */

.hero-grid > * {
  min-width: 0;
}

.muted {
  color: #aaa;
}

.blue-text {
  color: #236be0;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(56px, 7.1vw, 106px);

  letter-spacing: -0.072em;

  font-weight: 800;

  line-height: 1.06;

  margin: 0;

  max-width: 900px;
}

.hero h1 em,
.page-hero h1 em {
  font-style: normal;

  color: #327aec;
}

.lede {
  font-size: clamp(17px, 2vw, 21px);

  max-width: 660px;

  color: #d6d6d2;

  margin: 27px 0 35px;

  line-height: 1.65;
}

.actions {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 23px;
}

.btn {
  text-decoration: none;

  font-weight: 800;

  font-size: 14px;

  padding: 14px 22px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-height: 50px;

  border-radius: 3px;

  transition: background 0.15s;
}

.blue-btn {
  background: #236bdd;

  color: white;
}

.blue-btn:hover {
  background: #1553b9;
}

.outline {
  border: 1px solid #9f9f9f;

  color: #fff;
}

.outline:hover {
  background: #444;
}

.hero-aside {
  border-left: 1px solid #454545;

  padding-left: 30px;
}

.big-mark {
  color: #e8ab00;

  font-size: 110px;

  line-height: 1;
}

.side-note span {
  font-size: 11px;

  letter-spacing: 0.1em;

  color: #e8ab00;

  font-weight: 800;
}

.side-note p {
  max-width: 280px;

  font-size: 14px;

  color: #bebeba;
}

.section {
  padding: 105px 0;
}

.section-header {
  display: grid;

  grid-template-columns: 1.1fr 0.7fr;

  column-gap: 65px;

  margin-bottom: 50px;

  align-items: end;
}

.section-header .eyebrow {
  grid-column: 1/-1;
}

.section-header h2 {
  font-size: clamp(32px, 4.3vw, 59px);

  letter-spacing: -0.055em;

  line-height: 1.13;

  margin: 0;

  font-weight: 800;
}

.section-header > p {
  font-size: 16px;

  margin: 0 0 5px;

  max-width: 450px;

  color: inherit;

  opacity: 0.79;
}

.service-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 16px;
}

.service-tile {
  display: flex;

  flex-direction: column;

  text-decoration: none;

  padding: 35px;

  border: 1px solid #d6d6d6;

  background: #fafaf9;

  min-height: 330px;
}

.service-tile:hover {
  border-color: #2876e8;

  background: #f2f6ff;
}

.service-num,
.tagline,
.support-links > span {
  font-size: 11px;

  letter-spacing: 0.08em;

  font-weight: 800;

  color: #606469;
}

.service-tile h3 {
  font-size: clamp(27px, 3.1vw, 40px);

  letter-spacing: -0.05em;

  line-height: 1.16;

  margin: 58px 0 12px;
}

.service-tile h3 span {
  color: #2876e8;
}

.service-tile p {
  font-size: 15px;

  max-width: 440px;
}

.tagline {
  margin-top: auto;

  color: #195ac3;
}

.support-links {
  display: flex;

  flex-wrap: wrap;

  gap: 18px 28px;

  align-items: center;

  margin-top: 28px;

  font-size: 13px;

  font-weight: 700;
}

.support-links a {
  text-decoration: underline;

  text-underline-offset: 4px;
}

.project-list {
  border-top: 1px solid #babbb9;
}

.project {
  border-bottom: 1px solid #babbb9;
}

.project-top {
  display: grid;

  grid-template-columns: 58px minmax(0, 1fr) auto;

  gap: 24px;

  align-items: start;

  padding: 32px 0;
}

.project .index {
  color: #797d80;

  font-size: 12px;

  font-weight: 700;

  padding-top: 7px;
}

.project h3 {
  font-size: clamp(25px, 3vw, 40px);

  line-height: 1.12;

  letter-spacing: -0.045em;

  margin: 0 0 12px;
}

.project .eyebrow {
  margin-bottom: 13px;
}

.project-intro {
  max-width: 680px;

  font-size: 15px;

  margin: 0;
}

.detail-toggle {
  padding: 12px 14px;

  background: transparent;

  color: #1d5ecb;

  border: 1px solid #c3c6c9;

  cursor: pointer;

  font-size: 12px;

  font-weight: 800;

  border-radius: 3px;

  white-space: nowrap;
}

.detail-toggle:hover {
  background: #e6ebf5;
}

.plus {
  font-size: 16px;

  padding-left: 8px;
}

.project-detail {
  padding: 0 0 32px 82px;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 35px;
}

.project-detail[hidden] {
  display: none;
}

.project-detail b {
  font-size: 11px;

  letter-spacing: 0.1em;

  color: #1e62c7;
}

.project-detail p {
  font-size: 14px;

  max-width: 440px;
}

.micro-link,
.text-link {
  color: #1b59bf;

  font-size: 13px;

  font-weight: 800;

  text-underline-offset: 4px;
}

.small {
  font-size: 12px;
}

.section-end {
  display: flex;

  justify-content: space-between;

  flex-wrap: wrap;

  margin-top: 26px;

  gap: 14px;
}

.testimonial-grid {
  display: grid;

  grid-template-columns: 1.5fr 1fr;

  gap: 16px;
}

.quote {
  margin: 0;

  padding: 32px;

  border: 1px solid #454545;

  display: flex;

  flex-direction: column;

  min-height: 250px;
}

.quote-feature {
  grid-row: span 2;
}

.quote blockquote {
  font-size: clamp(17px, 2vw, 26px);

  letter-spacing: -0.025em;

  line-height: 1.55;

  margin: 0 0 40px;
}

.quote-feature blockquote {
  font-size: clamp(23px, 3.1vw, 40px);
}

.quote figcaption {
  margin-top: auto;

  font-size: 13px;

  font-weight: 800;

  color: #e8b116;
}

.quote figcaption span {
  display: block;

  color: #b5b5b5;

  font-size: 12px;

  font-weight: 500;
}

.cta-flex {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;
}

.cta h2 {
  font-size: clamp(32px, 4.4vw, 58px);

  line-height: 1.1;

  letter-spacing: -0.05em;

  margin: 0 0 15px;
}

.cta p:not(.eyebrow) {
  margin: 0;
}

.page-hero {
  padding: 95px 0 105px;
}

.narrow {
  max-width: 1240px;
}

.page-hero h1 {
  font-size: clamp(48px, 6.6vw, 90px);
}

.page-hero .lede {
  max-width: 780px;
}

.video-project {
  padding: 40px 0;

  display: grid;

  grid-template-columns: minmax(230px, 0.75fr) minmax(0, 1.25fr);

  gap: 46px;

  border-top: 1px solid #b8b8b8;
}

.video-project.last {
  border-bottom: 1px solid #b8b8b8;
}

.video-info h3 {
  font-size: clamp(25px, 3vw, 39px);

  letter-spacing: -0.045em;

  margin: 0 0 18px;

  line-height: 1.18;
}

.video-info p {
  font-size: 15px;
}

/* Our Boy Story — editorial metrics */

.video-metrics {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 18px;

  margin: 30px 0 20px;

  padding: 24px 0;

  border-top: 1px solid #d6d6d6;

  border-bottom: 1px solid #d6d6d6;
}

.video-metrics .metric {
  min-width: 0;

  padding: 0;

  margin: 0;

  background: transparent;

  border: none;

  border-radius: 0;

  display: flex;

  flex-direction: column;

  gap: 7px;
}

.video-metrics .metric strong {
  color: #236be0;

  font-family: "Manrope", sans-serif;

  font-size: clamp(1.5rem, 2.5vw, 2.3rem);

  font-weight: 800;

  line-height: 1.15;

  letter-spacing: -0.05em;
}

.video-metrics .metric span {
  color: #202124;

  font-size: 0.8rem;

  font-weight: 700;

  line-height: 1.45;
}

.video-metrics .metric small {
  color: #666;

  font-size: 0.72rem;

  line-height: 1.5;
}

/* Compact rows when the project text column is narrow */

@media (max-width: 1100px) {
  .video-metrics {
    grid-template-columns: 1fr;

    gap: 0;
  }

  .video-metrics .metric {
    display: grid;

    grid-template-columns: 100px minmax(0, 1fr);

    gap: 2px 14px;

    padding: 15px 0;

    border-bottom: 1px solid #e4e4e4;
  }

  .video-metrics .metric:last-child {
    border-bottom: 0;
  }

  .video-metrics .metric strong {
    grid-row: span 2;

    align-self: center;
  }
}

.note {
  font-size: 12px !important;

  color: #666;

  line-height: 1.7;
}

.placeholder {
  background: #e8eaed;

  border: 1px dashed #989da5;

  border-radius: 4px;

  display: flex;

  align-items: center;

  justify-content: center;

  flex-direction: column;

  text-align: center;

  color: #555e68;

  gap: 5px;
}

.placeholder span {
  font-size: 12px;

  letter-spacing: 0.07em;

  font-weight: 800;
}

.placeholder small {
  font-size: 11px;
}

.media-landscape {
  aspect-ratio: 16/9;
}

.vertical-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 12px;
}

.vertical-grid video {
  display: block;

  width: 100%;

  height: auto;

  aspect-ratio: 9 / 16;

  object-fit: cover;

  border-radius: 10px;

  background: #1c1d1f;
}

.vertical {
  aspect-ratio: 9/16;

  min-height: 190px;
}

.corporate-card {
  background: #f4f2ed;

  display: flex;

  flex-direction: column;

  justify-content: center;

  padding: 35px;

  color: #555;
}

.corporate-card strong {
  color: #1b1b1b;

  margin-top: 12px;
}

.three-col {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 14px;
}

.info-card {
  border: 1px solid #d0d0cc;

  background: white;

  padding: 28px;

  min-height: 220px;

  display: flex;

  flex-direction: column;
}

.info-card h3 {
  font-size: 22px;

  letter-spacing: -0.04em;

  margin: 0 0 18px;
}

.info-card p {
  font-size: 14px;
}

.info-card span {
  font-weight: 800;

  color: #1b5fc6;

  margin-top: auto;

  font-size: 13px;
}

.top-gap {
  margin-top: 16px;
}

.template-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 24px;
}

.template-grid figure {
  margin: 0;

  background: #f4f4f4;

  border: 1px solid #ddd;

  padding: 14px;
}

.template-grid img {
  width: 100%;

  height: 390px;

  object-fit: cover;

  object-position: top;
}

.template-grid figcaption {
  padding: 18px 5px;

  display: flex;

  justify-content: space-between;

  gap: 15px;

  flex-wrap: wrap;
}

.template-grid figcaption span {
  font-size: 12px;

  color: #777;
}

.about-grid,
.contact-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 65px;

  align-items: center;
}

.about-grid h2,
.contact-grid h2 {
  font-size: clamp(30px, 4.2vw, 54px);

  letter-spacing: -0.05em;

  line-height: 1.1;
}

.about-grid p,
.contact-grid p {
  font-size: 15px;
}

/* About page */

.about-photo {
  width: 100%;
  min-width: 0;
  align-self: stretch;
}

.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  max-height: 650px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.about-grid > div {
  min-width: 0;
}

.about-approach {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.about-approach > div {
  border-top: 1px solid #c8c8c8;
  padding-top: 24px;
}

.about-approach-number {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #236be0;
  margin-bottom: 20px;
}

.about-approach h3 {
  font-size: clamp(20px, 2.2vw, 27px);
  letter-spacing: -0.045em;
  line-height: 1.2;
  margin: 0 0 15px;
}

.about-approach p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.about-industries {
  max-width: 850px;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.8;
  margin: 0 0 30px;
}

#specialties .info-card {
  min-width: 0;
}

#specialties .info-card .text-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 24px;
}

.photo-space {
  background: #e9e9e5;

  min-height: 440px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 10px;

  border: 1px dashed #aaa;
}

.photo-space span {
  font-size: 12px;

  font-weight: 800;
}

.photo-space small {
  font-size: 12px;
}

.contact-box {
  border: 1px solid #d5d5d2;

  padding: 32px;

  background: #f6f7f8;
}

.contact-email {
  font-size: clamp(17px, 2.3vw, 27px);

  font-weight: 800;

  letter-spacing: -0.04em;

  overflow-wrap: anywhere;
}

.contact-box p:not(.eyebrow) {
  margin: 25px 0;
}

.footer {
  background: #111315;

  color: #f5f3ee;

  padding: 70px 0 25px;
}

.footer-main {
  display: grid;

  grid-template-columns: 1.5fr 1fr 1fr;

  gap: 60px;
}

.footer-brand img {
  max-width: 185px;

  max-height: 110px;

  object-fit: contain;
}

.footer-main p:not(.eyebrow) {
  font-size: 14px;

  color: #aaa;

  line-height: 1.7;
}

.footer-mail {
  font-size: 14px;

  font-weight: 800;

  text-underline-offset: 5px;
}

.footer-nav {
  display: flex;

  flex-direction: column;

  gap: 11px;
}

.footer-nav a {
  font-size: 13px;

  text-decoration: none;

  color: #e6e6e3;
}

.footer-nav a:hover {
  color: #e8b116;
}

.footer-bottom {
  border-top: 1px solid #343434;

  margin-top: 75px;

  padding-top: 22px;

  display: flex;

  gap: 15px;

  justify-content: space-between;

  font-size: 12px;

  color: #aaa;

  flex-wrap: wrap;
}

.footer-bottom a {
  color: #eee;
}

.yellow {
  color: #e8b116;
}


/* 404 ERROR PAGE */

.error-page {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 110px 0 130px;
}

.error-content {
  width: min(900px, 100% - 64px);
  margin-inline: auto;
}

.error-page .eyebrow {
  margin-bottom: 32px;
}

.error-number {
  font-size: clamp(110px, 16vw, 220px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.09em;
  color: #fff7ed;
  margin: 0 0 45px;
}

.error-number span {
  color: #2876e8;
}

.error-page h1 {
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.06em;
  color: #fff7ed;
  margin: 0 0 28px;
}

.error-page h1 em {
  font-style: normal;
  color: #2876e8;
}

.error-description {
  max-width: 580px;
  font-size: 17px;
  line-height: 1.8;
  color: #d6d6d2;
  margin: 0 0 36px;
}

.error-page .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
}

.error-links {
  border-top: 1px solid #444;
  margin-top: 80px;
  padding-top: 35px;
}

.error-links .eyebrow {
  margin-bottom: 22px;
}

.error-links > div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
}

.error-links a {
  color: #fff7ed;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.error-links a:hover {
  color: #2876e8;
}

@media (max-width: 680px) {
  .error-page {
    min-height: 75vh;
    padding: 85px 0;
  }

  .error-content {
    width: min(100% - 38px, 900px);
  }

  .error-number {
    font-size: clamp(100px, 23vw, 160px);
    margin-bottom: 35px;
  }

  .error-page h1 {
    font-size: clamp(36px, 9vw, 55px);
  }

  .error-description {
    font-size: 16px;
  }

  .error-links {
    margin-top: 65px;
    padding-top: 28px;
  }

  .error-links > div {
    flex-direction: column;
    gap: 18px;
  }
}


@media (max-width: 1100px) {
  .video-metrics {
    grid-template-columns: 1fr;

    gap: 0;
  }

  .video-metrics .metric {
    display: grid;

    grid-template-columns: 100px minmax(0, 1fr);

    gap: 2px 14px;

    padding: 15px 0;

    border-bottom: 1px solid #e4e4e4;
  }

  .video-metrics .metric:last-child {
    border-bottom: 0;
  }

  .video-metrics .metric strong {
    grid-row: span 2;

    align-self: center;
  }
}

@media (max-width: 960px) {
  .head-inner {
    min-height: 80px;
  }

  .menu-toggle {
    display: block;

    border: 1px solid #686868;

    background: transparent;

    color: white;

    padding: 8px 14px;

    cursor: pointer;
  }

  .header {
    position: relative;
  }

  .nav {
    display: none;

    position: absolute;

    top: 100%;

    left: 0;

    right: 0;

    z-index: 15;

    background: #232427;

    padding: 20px 32px;

    flex-direction: column;

    align-items: stretch;

    gap: 5px;

    border-top: 1px solid #555;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 9px 0;
  }

  .hero-grid {
    gap: 20px;

    grid-template-columns: 1fr;
  }

  .hero-aside {
    display: none;
  }

  .section-header {
    grid-template-columns: 1fr;

    gap: 15px;
  }

  .section-header .eyebrow {
    grid-column: auto;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .quote-feature {
    grid-row: auto;
  }

  .video-project {
    gap: 20px;
  }

  .footer-main {
    gap: 30px;
  }

  .about-approach {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 72px 0 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;

    gap: 48px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 9vw, 4rem);

    letter-spacing: -0.045em;
  }

  .hero .lede {
    margin-top: 24px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 38px, 1240px);
  }

  .brand img {
    width: 115px;
  }

  .hero,
  .page-hero {
    padding: 75px 0;
  }

  .hero h1 {
    font-size: clamp(48px, 11vw, 74px);
  }

  .page-hero h1 {
    font-size: clamp(42px, 9vw, 72px);
  }

  .lede {
    font-size: 16px;
  }

  .section {
    padding: 68px 0;
  }

  .service-grid,
  .three-col,
  .template-grid,
  .about-grid,
  .contact-grid,
  .video-project,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .service-tile {
    min-height: 280px;

    padding: 26px;
  }

  .service-tile h3 {
    margin-top: 38px;
  }

  .project-top {
    grid-template-columns: 30px 1fr;

    gap: 10px;
  }

  .detail-toggle {
    grid-column: 2;

    justify-self: start;
  }

  .project-detail {
    padding-left: 40px;

    grid-template-columns: 1fr;

    gap: 8px;
  }

  .cta-flex {
    align-items: start;

    flex-direction: column;
  }

  .video-project {
    gap: 24px;
  }

  .vertical-grid {
    gap: 6px;
  }

  .vertical {
    min-height: 150px;
  }

  .template-grid img {
    height: 300px;
  }

  .photo-space {
    min-height: 310px;
  }

  .footer-main {
    gap: 30px;
  }

  .footer-bottom {
    margin-top: 45px;
  }

  .about-photo img {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 5;
  }

  .about-grid {
    gap: 35px;
  }

  .about-approach {
    gap: 24px;
  }
  .error-page {
    min-height: 65vh;
    padding: 75px 0;
  }

  .error-number {
    font-size: clamp(100px, 25vw, 160px);
    margin-bottom: 28px;
  }

  .error-links {
    margin-top: 55px;
  }

  .error-links > div {
    flex-direction: column;
    gap: 16px;
  }
}

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

/* Refinements: Floyé visual identity and project pages */

.btn,
.detail-toggle,
.nav a:last-child,
.menu-toggle {
  border-radius: 10px;
}

.btn:focus-visible,
.nav a:focus-visible,
.template-grid a:focus-visible {
  outline: 3px solid #e8ab00;

  outline-offset: 4px;
}

.hero h1 {
  max-width: 940px;

  font-size: clamp(43px, 5.9vw, 79px);

  letter-spacing: -0.065em;

  line-height: 1.12;
}

.hero {
  padding-top: clamp(105px, 10vw, 160px);
}

.big-mark {
  width: 110px;

  height: 110px;

  display: flex;

  align-items: center;

  justify-content: center;
}

.studio-mark-image {
  display: block;

  width: 96px;

  height: 96px;

  object-fit: contain;
}

.project-visual {
  grid-column: 1/-1;
}

.screenshot-slot {
  min-height: 210px;

  aspect-ratio: 16/7;

  border: 1px dashed #8994a6;

  background: #ebeff5;

  color: #525d6b;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 28px;

  text-align: center;

  font-weight: 700;

  border-radius: 10px;
}

.project-detail {
  grid-template-columns: 1fr 1fr;
}

.template-grid figcaption a {
  font-weight: 800;

  color: #1459c5;
}

.pricing-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 20px;
}

.pricing-panel {
  background: white;

  padding: 30px;

  border: 1px solid #d8d8d8;

  border-radius: 12px;
}

.pricing-panel h3 {
  font-size: clamp(22px, 2.5vw, 31px);

  margin: 0 0 12px;
}

.rate-row {
  padding: 18px 0;

  display: grid;

  grid-template-columns: 1fr auto;

  gap: 5px 12px;

  border-top: 1px solid #c6c6c6;
}

.rate-row strong {
  font-size: 15px;
}

.rate-row b {
  color: #1c5bc6;
}

.rate-row span {
  grid-column: 1/-1;

  font-size: 13px;

  color: #535860;
}

.retainer-banner {
  margin-top: 25px;

  background: #e5ecfa;

  padding: 28px;

  border-radius: 12px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;
}

.retainer-banner h3 {
  font-size: 22px;

  margin: 0 0 8px;
}

.retainer-banner p {
  max-width: 600px;

  font-size: 14px;

  margin: 0;
}

.light-outline {
  border: 1px solid #606a76;

  color: #171819;
}

.pricing-followup {
  font-size: 14px;

  margin-top: 25px;
}

@media (max-width: 760px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .retainer-banner {
    align-items: flex-start;

    flex-direction: column;
  }

  .hero {
    padding-top: 92px;
  }

  .hero h1 {
    font-size: clamp(38px, 9.2vw, 64px);
  }

  .screenshot-slot {
    min-height: 160px;

    aspect-ratio: 4/3;
  }
}

/* === Responsive video portfolio corrections === */

/* Let grid items shrink before any embedded player can force overflow. */

.video-project,
.video-info,
.video-project > *,
.video-metrics,
.video-metrics .metric,
.vertical-grid,
.placeholder {
  min-width: 0;

  max-width: 100%;
}

.video-project {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);

  gap: clamp(22px, 3vw, 46px);
}

.video-project .media-landscape {
  width: 100%;

  min-width: 0;

  aspect-ratio: 16 / 9;

  min-height: 0;

  position: relative;

  overflow: hidden;

  padding: 0;
}

.video-project .media-landscape iframe,
.video-project .media-landscape video {
  display: block;

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  border: 0;

  max-width: 100%;
}

.video-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 12px;
}

.render-video {
  width: 100%;

  display: flex;

  justify-content: center;

  align-items: flex-start;
}

.render-video video {
  width: 100%;

  max-width: 280px;

  height: auto;

  aspect-ratio: 9 / 16;

  object-fit: contain;

  border-radius: 10px;

  background: #1c1d1f;
}

.video-metrics .metric {
  display: flex;

  flex-direction: column;

  gap: 5px;

  padding: 0;

  border: 0;
}

.video-metrics .metric strong {
  grid-row: auto;
}

/* Stack entire project, not just stats, on narrow laptops/tablets. */

@media (max-width: 1100px) {
  .video-project {
    grid-template-columns: minmax(0, 1fr);

    gap: 24px;
  }

  .video-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 16px;
  }

  .video-metrics .metric {
    display: flex;

    flex-direction: column;

    padding: 0;

    border: 0;
  }

  .video-metrics .metric strong {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .video-metrics {
    grid-template-columns: 1fr;

    gap: 0;
  }

  .video-metrics .metric {
    display: grid;

    grid-template-columns: minmax(84px, auto) minmax(0, 1fr);

    gap: 2px 12px;

    padding: 14px 0;

    border-bottom: 1px solid #e4e4e4;
  }

  .video-metrics .metric:last-child {
    border-bottom: 0;
  }

  .video-metrics .metric strong {
    grid-row: span 2;

    align-self: center;
  }

  .video-project .vertical-grid {
    grid-template-columns: 1fr;

    gap: 24px;

    width: 100%;
  }

  .video-project .vertical {
    width: 100%;

    max-width: 360px;

    min-height: 0;

    aspect-ratio: 9 / 16;

    margin-inline: auto;
  }

  .render-video video {
    max-width: 260px;
  }
}

/* Web design page: website and app audits, process, and pricing */

/* Web design page only: audit and pricing */

.audit-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
  gap: clamp(24px, 5vw, 80px);
  padding: 32px 0 46px;
  border-top: 1px solid #d2d2d2;
  align-items: center;
}

.audit-intro h3 {
  font-size: clamp(26px, 3.4vw, 42px);
  letter-spacing: -0.055em;
  line-height: 1.16;
  margin: 0 0 16px;
}

.audit-intro > p:not(.eyebrow) {
  max-width: 690px;
  margin: 0 0 14px;
  font-size: 16px;
}

.audit-intro .audit-for {
  color: #555;
}

.audit-intro .btn {
  margin-top: 12px;
}

.audit-price {
  background: #1c1d1f;
  color: #fff7ed;
  border-radius: 10px;
  padding: 30px;
}

.audit-price > span,
.audit-step > span {
  color: #2876e8;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.audit-price strong {
  display: block;
  font-size: clamp(62px, 8vw, 102px);
  line-height: 1.1;
  letter-spacing: -0.075em;
  margin: 18px 0;
}

.audit-price p {
  margin: 0;
  max-width: 230px;
  color: #d6d6d2;
  font-size: 14px;
}

.audit-steps-title {
  font-size: clamp(24px, 2.7vw, 34px);
  letter-spacing: -0.045em;
  margin: 0 0 24px;
}

.audit-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.audit-step {
  border-top: 2px solid #2876e8;
  padding: 20px 12px 4px 0;
  min-width: 0;
}

.audit-step h4 {
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.035em;
  margin: 16px 0 8px;
}

.audit-step p {
  font-size: 14px;
  margin: 0;
}

.web-pricing {
  background: #e8eef9;
}

.web-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.web-price-card {
  background: #fff;
  border: 1px solid #cbd7e8;
  border-radius: 10px;
  padding: clamp(24px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.web-price-card h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.045em;
  line-height: 1.2;
  margin: 0 0 18px;
}

.web-price {
  font-size: clamp(42px, 4.5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1.15;
  margin: 0 0 18px;
}

.web-price span {
  font-size: 14px;
  color: #626872;
  letter-spacing: 0;
  font-weight: 600;
}

.web-price-card > p:not(.eyebrow) {
  font-size: 15px;
  max-width: 420px;
  margin: 0 0 30px;
}

.web-price-card .btn {
  margin-top: auto;
}

.web-pricing .pricing-followup {
  margin-top: 24px;
}

.web-pricing .pricing-followup a {
  color: #195ac3;
  font-weight: 800;
}
.web-pricing .web-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

.web-coming-soon {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #236be0;
  }

  @media (max-width: 960px) {
    .web-pricing .web-pricing-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

@media (max-width: 900px) {
  .audit-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .audit-overview,
  .web-pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .audit-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .audit-price {
    padding: 24px;
  }
  .web-price-card {
    padding: 24px;
  }
  .web-pricing .web-pricing-grid {
    grid-template-columns: 1fr;
  }
}
