@font-face {
  font-family: Fraunces;
  src: url("./assets/fonts/fraunces.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Gilroy;
  src: url("./assets/fonts/gilroy-regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Gilroy;
  src: url("./assets/fonts/gilroy-semibold.otf") format("opentype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Gilroy;
  src: url("./assets/fonts/gilroy-extrabold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: Broadsheet;
  src: url("./assets/fonts/broadsheet.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #0c1113;
  --deep: #050b0e;
  --cream: #f4f0e6;
  --sand: #ebe6db;
  --purple: #7738eb;
  --lilac: #dec7ff;
  --plum: #492477;
  --text-on-dark: #f8f4ee;
  --gutter: clamp(24px, 6.2vw, 90px);
  --section-space: clamp(24px, 2.55vw, 38px);
  --grid-gap: clamp(13px, 1.3vw, 20px);
  --body: clamp(13px, 1.22vw, 17px);
  --serif: Fraunces, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 var(--body)/1.45 Gilroy, system-ui, sans-serif; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 480; line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(32px, 3.54vw, 52px); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; width: 100%; }
svg { display: block; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #b789ff; outline-offset: 4px; }
section[id] { scroll-margin-top: 24px; }

.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(calc(100% - var(--gutter) * 2), 1330px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; top: .5rem; left: .5rem; transform: translateY(-160%); padding: 10px 16px; color: white; background: var(--plum); }
.skip-link:focus { transform: none; }

.eyebrow { color: #5c5964; font-size: clamp(9px, .9vw, 12px); font-weight: 800; letter-spacing: .21em; line-height: 1.5; text-transform: uppercase; }
.rule::after { content: ""; display: block; width: 100px; height: 1px; margin-top: 6px; background: linear-gradient(90deg, #a55ff5 0 23%, #ac84d9 23% 100%); }
.hero .eyebrow, .challenge .eyebrow, .about .eyebrow, .site-footer .eyebrow { color: var(--text-on-dark); font-weight: 600; }
.hero .rule::after { width: 145px; background: linear-gradient(90deg, #b46afa, #7941bf 70%, transparent); }
.challenge .rule::after { width: 22px; }
.eyebrow + h2 { margin-top: .21em; }

.hero { position: relative; isolation: isolate; overflow: clip; background: var(--deep); color: var(--text-on-dark); }
.hero-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    var(--hero-side-fade, linear-gradient(90deg, #050b0ef5 0%, #050b0ed9 31%, #050b0e55 62%, #050b0e1a 100%)),
    var(--hero-vertical-fade, linear-gradient(180deg, #050b0e70, transparent 29%, transparent 78%, #050b0e46)),
    var(--hero-image, url("./assets/hero.webp")) var(--hero-position, center 55%) / cover;
}
.hero-art--decco {
  --hero-image: url("./assets/decco-monitor-hero.webp");
  --hero-position: center 2%;
  --hero-side-fade: linear-gradient(90deg, #050b0ef7 0%, #050b0ee8 31%, #050b0e7d 62%, #050b0e17 100%);
}
.site-header { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 18px; padding-top: clamp(18px, 1.8vw, 26px); }
.wordmark { display: inline-flex; align-items: center; justify-self: start; gap: clamp(7px, .8vw, 12px); }
.wordmark img { display: block; height: auto; }
.wordmark-mark { width: clamp(34px, 3.8vw, 54px); }
.wordmark-type { width: clamp(77px, 8.3vw, 118px); }
.site-header nav { display: flex; align-items: center; letter-spacing: .09em; gap: clamp(14px, 2.45vw, 35px); padding-top: 6px; font-weight: 600; }
.site-header nav a:hover { color: var(--lilac); }
.header-booking { justify-self: end; text-align: center; }
.menu-toggle { display: none; }
.hero-content { min-height: clamp(410px, 40vw, 580px); padding-top: clamp(38px, 4vw, 57px); padding-bottom: clamp(24px, 3vw, 43px); }
.hero h1 { max-width: 8.05em; margin: .14em 0 .22em; font-size: clamp(54px, 5.65vw, 85px); font-weight: 495; line-height: .93; letter-spacing: -.049em; }
.hero-intro { width: min(100%, 25em); font-size: clamp(15px, 1.48vw, 21px); line-height: 1.44; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(15px, 1.48vw, 22px); }
.booking-note { display: block; margin-top: 5px; font-size: clamp(10px, 1vw, 14px); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .9em; min-height: clamp(36px, 3.5vw, 51px); padding: 0 1.7em; border: 1px solid transparent; border-radius: 4px; font-size: clamp(11px, 1.05vw, 15px); font-weight: 600; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.button .icon { width: 1.55em; height: 1.55em; }
.button-primary { background: var(--purple); color: #fff; }
.button-primary:hover { background: #6328d0; }
.button-dark { min-height: clamp(28px, 2.8vw, 40px); padding-inline: 1.05em; background: #25113e; color: #fff; font-size: clamp(10px, 1vw, 14px); }
.button-dark:hover { background: var(--plum); }
.button-outline { min-width: 152px; color: var(--text-on-dark); background: #060b0e66; border-color: #b7a9be; }
.button-outline:hover { border-color: #fff; background: #272030; }

.challenge { padding-block: clamp(22px, 2.25vw, 34px) clamp(28px, 2.9vw, 43px); background: #101415; color: var(--text-on-dark); }
.challenge-grid { display: grid; grid-template-columns: 1.02fr 1.13fr .85fr; align-items: center; gap: clamp(19px, 2.2vw, 33px); }
.challenge h2 { font-size: clamp(25px, 2.8vw, 41px); }
.challenge-grid > p { padding-top: 1em; }
.solution { align-self: stretch; padding-left: clamp(20px, 2.65vw, 40px); border-left: 1px solid #4c4358; }

.services { padding-block: var(--section-space); }
.section-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 27%); gap: var(--grid-gap); align-items: end; margin-bottom: clamp(13px, 1.5vw, 22px); }
.section-intro h2 { margin-top: .07em; font-size: clamp(30px, 3.14vw, 46px); }
.section-intro > p { padding-bottom: 2px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); }
.service-card { display: flex; flex-direction: column; overflow: hidden; background: #101416; color: var(--text-on-dark); border-radius: 4px; }
.service-image { position: relative; aspect-ratio: 2.3; overflow: hidden; background: #282623; }
.service-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.service-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 42%, #090c0dbb); }
.service-icon { position: absolute; z-index: 1; left: 5.5%; bottom: 5%; display: grid; place-items: center; width: clamp(36px, 4.35vw, 62px); aspect-ratio: 1; border: 1px solid var(--lilac); border-radius: 50%; background: #121115c9; font-size: clamp(17px, 1.85vw, 26px); }
.service-copy { display: flex; flex: 1; flex-direction: column; padding: .8em 1.2em 1.05em; }
.service-copy h3 { font-size: clamp(17px, 1.65vw, 25px); }
.service-copy p { margin-top: .57em; padding-right: 1.2em; font-size: .88em; }
.service-link { display: flex; align-items: center; justify-content: space-between; gap: .5em; margin-top: auto; padding-top: .85em; color: var(--lilac); font-size: .88em; font-weight: 600; }

.work { background: var(--sand); padding-block: clamp(17px, 1.8vw, 27px); }
.work-grid { display: grid; grid-template-columns: 30.5% minmax(0, 1fr); gap: var(--grid-gap); }
.work-title { padding-top: .75em; }
.work-title h2 { margin-top: .29em; }
.work-rule { display: block; }
.text-link { display: inline-flex; align-items: center; gap: .4em; color: #6534b6; font-weight: 600; }
.text-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.section-more { margin-top: .9em; }
.work-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); }
.work-image { display: block; position: relative; aspect-ratio: 1.95; overflow: hidden; border-radius: 4px; background: #302b2b; }
.work-image img { width: 100%; height: 100%; object-fit: cover; }
.service-image img, .work-image img, .card-arrow { transition: transform .25s ease; }
.service-card:hover img, .work-card:hover img { transform: scale(1.045); }
.service-card:hover .card-arrow { transform: translateX(3px); }
.play-badge { position: absolute; display: grid; place-items: center; right: 5%; bottom: 9%; width: clamp(30px, 3.05vw, 44px); aspect-ratio: 1; border: 1px solid var(--lilac); border-radius: 50%; color: white; background: #151017b8; font-size: 1.3em; }
.work-card h3 { margin: .36em 0 .18em; font-size: clamp(14px, 1.38vw, 20px); }
.work-card p { font-size: .82em; color: #45434a; }
.work-card p + p { margin-top: .35em; }
.work-card .text-link { margin-top: .45em; font-size: .86em; }

.about { position: relative; isolation: isolate; overflow: clip; background: #101415; color: var(--text-on-dark); }
.about-art { position: absolute; z-index: -1; inset: 0 31.7% 0 0; background: linear-gradient(90deg, var(--deep) 0 41%, #050b0ef4 49%, #050b0e17 80%), url("./assets/about.webp") right center / 64% auto no-repeat, var(--deep); }
.about-grid { display: grid; grid-template-columns: 36% 26%; align-items: center; justify-content: space-between; padding-block: clamp(20px, 2vw, 30px); }
.about-copy > p:not(.eyebrow) { margin-top: .65em; line-height: 1.35; }
.about-copy .button { min-width: 13.75em; justify-content: space-between; margin-top: 1em; }
.about-points { display: grid; gap: clamp(17px, 2.2vw, 32px); padding: 0; margin: 0; list-style: none; font-size: .88em; }
.about-points li { display: flex; align-items: center; gap: 1.4em; }
.about-points .icon { width: 2.05em; height: 2.05em; stroke-width: 1; }

.process { padding-block: var(--section-space); }
.process-grid { display: grid; grid-template-columns: 29.5% minmax(0, 1fr); gap: var(--grid-gap); }
.process h2 { margin-top: .35em; font-size: clamp(23px, 2.39vw, 35px); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(15px, 2.25vw, 34px); padding: 0; margin: 0; list-style: none; }
.steps li { position: relative; }
.steps li:not(:last-child)::after { content: "→"; position: absolute; top: .42em; right: 0; color: #6c38b6; font-size: 1.5em; font-weight: 400; }
.step-number { display: grid; place-items: center; width: 2.6em; aspect-ratio: 1; margin-bottom: .45em; border: 1px solid #401e7d; border-radius: 50%; color: #321764; font-weight: 800; }
.steps h3 { font: 600 1em/1.2 Gilroy, system-ui, sans-serif; letter-spacing: 0; }
.steps p { margin-top: .4em; font-size: .86em; line-height: 1.37; }

.capabilities { padding-block: calc(var(--section-space) * 1.2); }
.capabilities h2 { font-size: clamp(28px, 3.15vw, 45px); }
.capabilities h2 + p, .closing h2 + p { margin-top: .65em; }
.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-block: 1.45em; }
.capability-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.capability-grid h3 { color: var(--plum); font-size: clamp(19px, 1.8vw, 27px); margin-bottom: .3em; }

.testimonials { padding-block: calc(var(--section-space) * 1.3); background: var(--sand); }
.testimonial-intro, .testimonial-note, .testimonial-more { margin-top: .7em; }
.testimonial-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--grid-gap); margin-top: 1.25em; }
.testimonial-grid figure { margin: 0; padding: clamp(16px, 2vw, 28px); border-radius: 4px; background: #fcf8f1; }
.testimonial-grid .testimonial-feature { background: var(--ink); color: var(--text-on-dark); }
.testimonial-grid blockquote { margin: 0 0 1em; }
.testimonial-feature blockquote { font-family: var(--serif); font-size: 1.3em; line-height: 1.25; }
.testimonial-grid figcaption, .testimonial-note { font-size: .88em; }

.closing { padding-block: calc(var(--section-space) * 1.55); color: var(--text-on-dark); background: var(--deep); }
.closing-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; }
.closing p { max-width: 72ch; }
.closing p + p { margin-top: .5em; }
.closing p a, .site-footer a:not(.button) { text-decoration: underline; text-underline-offset: .18em; }
.closing p a:hover, .site-footer a:not(.button):hover { color: var(--lilac); }
.site-footer { background: var(--ink); color: var(--text-on-dark); padding-block: calc(var(--section-space) * 1.35); }
.footer-grid { display: grid; grid-template-columns: 1.15fr .65fr 1fr; gap: 22px; }
.footer-brand h2 { margin-bottom: .6em; font: 400 clamp(21px, 2.1vw, 30px)/1.1 Broadsheet, var(--serif); }
.footer-grid .eyebrow { margin-bottom: .45em; }
.footer-contact .button { display: flex; width: fit-content; margin-top: .75em; }
.footer-meta { grid-column: 1 / -1; font-size: .86em; }
.social-links { display: flex; flex-wrap: wrap; gap: .45em 1.1em; margin-bottom: .4em; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: auto 1fr auto; align-items: center; }
  .site-header nav { justify-content: center; gap: 14px; padding-top: 0; }
  .section-intro { grid-template-columns: 1fr 25%; }
  .challenge h2 { font-size: clamp(22px, 2.9vw, 28px); }
}

@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; gap: 14px; }
  .site-header nav { display: none; position: absolute; inset: calc(100% + 12px) 0 auto; padding: 16px; border: 1px solid #574367; border-radius: 5px; background: #111517; box-shadow: 0 14px 32px #0008; }
  .menu-toggle[aria-expanded="true"] + nav { display: grid; grid-template-columns: 1fr 1fr; }
  .site-header nav a { padding: 7px; }
  .footer-grid nav a { display: inline-flex; align-items: center; min-height: 32px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: .6em; min-height: 42px; padding: 0 .9em; color: var(--text-on-dark); border: 1px solid #b7a9be; border-radius: 4px; background: #0c1113c9; cursor: pointer; }
  .header-booking { display: none; }
  .hero-content { min-height: 390px; padding-top: 36px; }
  .hero-art { background-position: center, center, var(--hero-position, 63% center); }
  .hero-art--mobile { --hero-image: url("./assets/hero-mobile.webp"); }
  .hero-art--decco {
    --hero-image: url("./assets/decco-monitor-hero-mobile.webp");
    --hero-position: 90% 35%;
    --hero-side-fade: linear-gradient(90deg, #050b0ef5 0%, #050b0ed4 33%, #050b0e99 75%, #050b0e47 100%);
  }
  .challenge-grid { grid-template-columns: 1fr 1fr; }
  .challenge-grid > p { grid-column: 1 / -1; grid-row: 2; padding-top: 0; max-width: 52ch; }
  .solution { padding-left: 18px; }
  .section-intro { grid-template-columns: 1fr; gap: 8px; }
  .section-intro > p { max-width: 44ch; }
  .service-copy { padding-inline: .9em; }
  .work-grid { grid-template-columns: 1fr; }
  .work-title { padding-top: 0; }
  .work-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: 1fr 33%; gap: 25px; }
  .about-copy > p:not(.eyebrow) { max-width: 32ch; }
  .about-art { right: 30%; background-size: auto, cover; }
  .about-points { gap: 15px; }
  .process-grid { grid-template-columns: 1fr; }
  .steps { margin-top: .5em; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-feature { grid-column: 1 / -1; }
}

@media (max-width: 500px) {
  .hero-art {
    background-image:
      var(--hero-side-fade, linear-gradient(90deg, #050b0ee6, #050b0e70)),
      var(--hero-vertical-fade, linear-gradient(0deg, var(--deep) 0%, transparent 65%, #050b0e42)),
      var(--hero-image, url("./assets/hero.webp"));
    background-position: center, center, var(--hero-position, 67% center);
  }
  .hero-art--decco {
    --hero-vertical-fade: linear-gradient(180deg, #050b0e6e 0%, #050b0e24 16%, transparent 64%, #050b0ec9 100%);
  }
  .hero-content { min-height: 0; padding-top: 50px; padding-bottom: 29px; }
  .hero h1 { font-size: clamp(43px, 11.25vw, 56px); }
  .hero-intro { max-width: 30ch; }
  .actions { gap: 9px; }
  .button { min-height: 43px; padding-inline: 12px; }
  .button-outline { min-width: 0; }
  .challenge-grid { gap: 13px; }
  .challenge h2 { font-size: clamp(19px, 5.3vw, 26px); }
  .challenge h2 br { display: none; }
  .solution { padding-left: 12px; }
  .service-grid, .capability-grid, .testimonial-grid, .closing-grid, .footer-grid { grid-template-columns: 1fr; }
  .closing-grid .button { justify-self: start; }
  .service-image { aspect-ratio: 2.35; }
  .service-copy { padding: .9em 1.1em 1em; }
  .service-copy h3 { font-size: 21px; }
  .work-cards { grid-template-columns: 1fr; gap: 16px; }
  .work-image { aspect-ratio: 2.05; }
  .work-card h3 { font-size: 19px; }
  .work-card p { font-size: 1em; }
  .play-badge { width: 39px; }
  .about-grid { grid-template-columns: 1fr; padding-top: 130px; }
  .about-art { right: 0; bottom: auto; height: 270px; background: linear-gradient(0deg, #101415 0 19%, #10141516 68%), url("./assets/about.webp") center 45% / cover; }
  .about-copy > p:not(.eyebrow) { max-width: 37ch; }
  .about-points { grid-template-columns: 1fr 1fr; }
  .about-points li { align-items: flex-start; gap: .7em; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .steps li:nth-child(2)::after { content: none; }
  .footer-grid { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
