@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("fonts/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f8f5;
  --ink: #141d2b;
  --muted: #4e5a6d;
  --blue: #204ac5;
  --rule: #dce0e5;
  --heading: Manrope, "DM Sans", Arial, sans-serif;
  --gutter: clamp(20px, 4.2vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 1rem / 1.6 "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--heading); }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid #597aee; outline-offset: 5px; }

.wrap {
  width: min(100% - var(--gutter) * 2, 1328px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 5;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 10px 16px;
  background: white;
  border-radius: 6px;
}
.skip-link:focus { transform: none; }

.site-header {
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  text-decoration: none;
  white-space: nowrap;
  font: 800 1.05rem / 1 var(--heading);
  letter-spacing: -.045em;
}

.brand img { border-radius: 9px; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 44px);
}

.site-nav a, .header-contact, .footer-top {
  text-decoration: none;
  font-size: .91rem;
  font-weight: 700;
}

.site-nav a { padding-block: 8px; }
.site-nav a:hover, .footer-top:hover, .project-grid h4 a:hover { color: var(--blue); }

.header-contact {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border: 1px solid #c9cdd4;
  border-radius: 7px;
  white-space: nowrap;
}
.header-contact:hover { border-color: var(--blue); color: var(--blue); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(530px, 43vw, 640px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #12274f;
  border-radius: 18px;
}

.hero-media, .hero-media img, .hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media { z-index: -2; }
.hero-media img { object-fit: cover; object-position: 50% 54%; }
.hero::after {
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(6, 15, 36, .91), rgba(10, 23, 49, .70) 36%, rgba(10, 23, 49, .12) 77%),
              linear-gradient(0deg, rgba(7, 17, 43, .35), transparent 58%);
}

.hero-inner {
  padding: clamp(46px, 6.2vw, 92px);
  max-width: 835px;
}

.eyebrow {
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .115em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e6ecfa;
  margin-bottom: 22px;
}
.hero-label span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9eb5ff;
  box-shadow: 0 0 0 4px #a6bcff30;
}

.hero h1 {
  font-size: clamp(3.8rem, 7.2vw, 7.1rem);
  font-weight: 800;
  letter-spacing: -.079em;
  line-height: .98;
}

.hero-description {
  max-width: 30rem;
  margin-top: 25px;
  color: #e6ebf5;
  font-size: clamp(1rem, 1.45vw, 1.23rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 23px;
  align-items: center;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 13px 18px;
  border-radius: 7px;
  font-size: .95rem;
  font-weight: 800;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.button-light { color: #15254a; background: #fff; }
.button-light:hover { background: #e0e8ff; color: #14379d; }
.hero-contact { font-size: .94rem; font-weight: 700; text-underline-offset: 5px; }
.hero-contact:hover { color: #b9cbff; }

.proof { padding-inline: clamp(0px, 4.55vw, 65px); }
.proof dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-block: 35px 37px;
  border-bottom: 1px solid var(--rule);
}
.proof dl > div + div { border-left: 1px solid var(--rule); padding-left: clamp(18px, 4vw, 58px); }
.proof dl > div { padding-right: 12px; }
.proof dt, .case-metrics dt {
  font: 800 clamp(2.2rem, 3.75vw, 3.7rem) / 1.08 var(--heading);
  letter-spacing: -.075em;
}
.proof dt span { color: var(--blue); }
.proof dd { color: var(--muted); margin-top: 7px; font-weight: 600; line-height: 1.35; }

.section-space { padding-block: clamp(66px, 7.5vw, 110px); }
section[id] { scroll-margin-top: 24px; }

.section-intro {
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  align-items: end;
  gap: 18px 44px;
  margin-bottom: clamp(25px, 3.5vw, 48px);
}

.section-label { color: var(--blue); margin-bottom: 12px; }

h2 {
  font-size: clamp(2.25rem, 4.7vw, 4.55rem);
  font-weight: 800;
  letter-spacing: -.072em;
  line-height: 1.06;
  text-wrap: balance;
}
.section-intro h2 { text-wrap: initial; }

.section-intro > p, .about-copy {
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  color: var(--muted);
  text-wrap: pretty;
}
.section-intro > p { max-width: 29rem; padding-bottom: 3px; }

.featured-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.work-card, .hop-feature {
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 13px;
  background: #fff;
}

.work-card { display: flex; flex-direction: column; }
.case-picture { aspect-ratio: 1.78; overflow: hidden; background: #162745; }
.case-picture img, .hop-feature > img { width: 100%; height: 100%; object-fit: cover; }
.case-picture img { object-position: center; }
.card-content { padding: clamp(20px, 2.7vw, 38px); flex: 1; display: flex; flex-direction: column; align-items: start; }
.card-label { color: #4c5c71; }
.work-card h3, .hop-feature h3 {
  margin: 7px 0 8px;
  font-size: clamp(1.55rem, 2.5vw, 2.5rem);
  letter-spacing: -.055em;
  line-height: 1.14;
}
.work-card p:not(.card-label), .hop-feature p:not(.card-label) {
  color: var(--muted);
  max-width: 48ch;
  margin-bottom: 20px;
  text-wrap: pretty;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  color: var(--blue);
  font-size: .94rem;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.text-link:hover { color: #172e78; }

.gallaghers-art {
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 30% 0, #8d5344, transparent 85%), #4a2525;
  container-type: inline-size;
}
.restaurant-print {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(4px, 1.9cqw, 17px);
  width: 67%;
  height: 75%;
  padding: 12px;
  background: linear-gradient(145deg, #fbecd1, #ebd2aa);
  border: 1px solid #a47a5b;
  outline: 1px solid #865347;
  outline-offset: -10px;
  color: #4c2826;
  box-shadow: 0 16px 30px #240c1170;
  transform: rotate(-4deg);
}
.print-location, .print-caption {
  font: 800 clamp(.52rem, 2cqw, 1.15rem) / 1.2 "DM Sans", sans-serif;
  letter-spacing: .13em;
  text-align: center;
  text-transform: uppercase;
}
.print-name {
  font: italic 400 clamp(1.45rem, 9cqw, 5rem) / .99 Georgia, serif;
  letter-spacing: -.075em;
}
.print-rule { width: 29%; height: 1px; background: #9c6647; }

.hop-feature { display: grid; grid-template-columns: minmax(180px, .72fr) 1.4fr; margin-top: 22px; }
.hop-feature > img { min-height: 235px; max-height: 330px; }
.hop-feature > div { align-self: center; padding: clamp(20px, 2.7vw, 38px); }
.hop-feature p:not(.card-label) { max-width: 54ch; }

.project-list { margin-top: clamp(52px, 6vw, 90px); }
.project-list > h3 { margin-bottom: 17px; font-size: clamp(1.5rem, 2.6vw, 2.25rem); letter-spacing: -.06em; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; }
.project-grid article { padding: 19px 0 24px; border-top: 1px solid var(--rule); }
.project-grid h4 { font-size: 1.12rem; letter-spacing: -.034em; line-height: 1.3; }
.project-grid h4 a { text-underline-offset: 3px; text-decoration-color: #7e8aa0; }
.project-grid p { color: var(--muted); font-size: .95rem; margin-top: 6px; max-width: 37ch; text-wrap: pretty; }

.services { background: #eef1f8; border-block: 1px solid #e2e7f1; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.service-grid article { padding: clamp(17px, 2.15vw, 29px); background: #fff; border: 1px solid #e0e5f0; border-radius: 11px; }
.service-grid h3 { font-size: 1.15rem; letter-spacing: -.045em; line-height: 1.19; margin-top: 20px; }
.service-grid p { color: var(--muted); font-size: .94rem; margin-top: 10px; text-wrap: pretty; }
.service-icon { display: block; position: relative; background: #e7edff; width: 42px; height: 42px; border-radius: 8px; color: var(--blue); }
.service-icon::before, .service-icon::after { position: absolute; content: ""; }
.service-site::before { inset: 12px 10px; border: 2px solid; border-radius: 2px; }
.service-site::after { inset: 17px 11px auto; border-top: 2px solid; }
.service-email::before { inset: 13px 10px; border: 2px solid; border-radius: 2px; }
.service-email::after { width: 9px; height: 9px; left: 15.5px; top: 13px; border: solid; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.service-video::before { inset: 12px 10px; border: 2px solid; border-radius: 3px; }
.service-video::after { top: 16px; left: 19px; border: solid transparent; border-width: 5px 0 5px 8px; border-left-color: currentColor; }
.service-sales::before { inset: 13px 12px 17px 10px; border: solid; border-width: 0 2px 2px; transform: skewX(-12deg); }
.service-sales::after { width: 4px; height: 4px; top: 27px; left: 12px; border-radius: 50%; background: currentColor; box-shadow: 12px 0; }

.about { display: grid; grid-template-columns: 1fr 1.25fr; gap: 18px clamp(30px, 6vw, 110px); align-items: start; }
.about h2 { text-wrap: initial; }
.about-copy { max-width: 55ch; }
.about-copy p + p { margin-top: 16px; }

.contact-panel, .case-footer-cta {
  padding: clamp(34px, 6.6vw, 86px);
  border-radius: 16px;
  color: #fff;
  background: radial-gradient(ellipse at 98% 15%, #3658cd, transparent 78%), #192e7c;
}
.contact-panel .eyebrow { color: #d7e2ff; margin-bottom: 13px; }
.contact-panel h2 { text-wrap: initial; }
.contact-panel > p:not(.eyebrow) { color: #ebf0fc; max-width: 47ch; font-size: 1.12rem; margin: 16px 0 24px; text-wrap: pretty; }
.contact-address { display: inline-block; margin: 12px 0 0 14px; text-underline-offset: 4px; font-size: .94rem; }

.site-footer { min-height: 112px; display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer p { font-size: .86rem; color: var(--muted); }

.case-main { padding-top: 26px; }
.case-back { margin: 0 0 30px; }
.case-heading { max-width: 900px; margin: 0 0 clamp(25px, 3.8vw, 52px); }
.case-heading h1 {
  font: 800 clamp(2.8rem, 7vw, 6.1rem) / 1.01 var(--heading);
  letter-spacing: -.079em;
  text-wrap: balance;
}
.case-lede { color: var(--muted); font-size: clamp(1.12rem, 2vw, 1.37rem); max-width: 58ch; margin-top: 18px; text-wrap: pretty; }
.case-hero { border-radius: 15px; }
.case-hero.case-picture { max-height: 525px; aspect-ratio: 2.35; }
.case-hero .restaurant-print { max-width: 670px; }
.case-hero img { height: 100%; }
.case-main figure figcaption { margin-top: 8px; color: var(--muted); font-size: .83rem; }
.case-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr));
  border-block: 1px solid var(--rule);
  margin: 31px 0 clamp(42px, 7vw, 92px);
  padding: 24px 0;
  gap: 23px;
}
.case-metrics dt { color: var(--blue); font-size: clamp(2rem, 4.4vw, 3.9rem); }
.case-metrics dd { margin-top: 5px; color: var(--muted); }
.case-body {
  display: grid;
  grid-template-columns: minmax(170px, .42fr) minmax(0, 1fr);
  gap: 28px clamp(24px, 7vw, 110px);
  max-width: 1010px;
  margin: 0 auto clamp(56px, 7.5vw, 105px);
}
.case-scope { align-self: start; border-top: 2px solid var(--ink); padding-top: 15px; }
.case-scope h2 { font-size: 1.2rem; letter-spacing: -.045em; }
.case-scope ul { padding: 0; margin: 9px 0 0; list-style: none; color: var(--muted); }
.case-scope li { margin-top: 4px; }
.case-story section + section { margin-top: 28px; }
.case-story h2 { font-size: clamp(1.5rem, 2.7vw, 2.25rem); letter-spacing: -.055em; text-wrap: initial; }
.case-story p { color: var(--muted); font-size: 1.07rem; margin-top: 10px; text-wrap: pretty; }
.case-story .text-link { margin-top: 16px; }
.case-footer-cta { display: flex; gap: 14px 22px; justify-content: space-between; flex-wrap: wrap; align-items: center; padding: clamp(24px, 4.8vw, 62px); }
.case-footer-cta h2 { font-size: clamp(1.75rem, 3.8vw, 3rem); letter-spacing: -.058em; text-wrap: initial; }

@media (max-width: 920px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-intro { grid-template-columns: 1.35fr 1fr; gap: 15px 28px; }
}

@media (max-width: 660px) {
  .site-header { min-height: 0; grid-template-columns: 1fr auto; padding-block: 13px 8px; gap: 3px 10px; }
  .site-header .brand img { width: 33px; height: 33px; }
  .site-nav { grid-row: 2; grid-column: 1 / -1; justify-content: start; gap: 24px; }
  .site-nav a { padding: 10px 0; }
  .header-contact { min-height: 40px; font-size: .8rem; padding: 8px 11px; }
  .hero { min-height: 478px; border-radius: 13px; }
  .hero-inner { padding: 36px clamp(19px, 5vw, 36px); }
  .hero h1 { font-size: clamp(2.8rem, 10vw, 4.25rem); }
  .hero-media img { object-position: 59% 51%; }
  .hero::after { background: linear-gradient(103deg, #09132ee8, #0a1a3e88 75%), linear-gradient(0deg, #09142b85, transparent); }
  .hero-label { gap: 9px; margin-bottom: 19px; font-size: .66rem; }
  .hero-description { margin-top: 20px; }
  .hero-actions { margin-top: 24px; }
  .proof dl { gap: 13px; padding-block: 24px 27px; }
  .proof dl > div { padding-right: 0; }
  .proof dl > div + div { padding-left: 10px; }
  .proof dt { font-size: clamp(1.19rem, 4.8vw, 2.04rem); letter-spacing: -.07em; }
  .proof dd { font-size: .76rem; }
  .section-intro, .about, .case-body { grid-template-columns: minmax(0, 1fr); }
  .featured-grid, .hop-feature { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .hop-feature { gap: 0; margin-top: 15px; }
  .hop-feature > img { min-height: 0; max-height: none; aspect-ratio: 1.78; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 17px; }
  .project-grid p { font-size: .89rem; }
  .case-hero.case-picture { aspect-ratio: 1.63; }
  .case-scope ul { display: flex; flex-wrap: wrap; gap: 0 16px; }
  .case-back { margin-bottom: 22px; }
  .contact-address { margin-left: 0; display: block; }
  .site-footer { padding-block: 21px; gap: 10px 16px; }
  .site-footer > p { margin-left: auto; }
}

@media (max-width: 360px) {
  .project-grid, .service-grid { grid-template-columns: minmax(0, 1fr); }
  .proof dl { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .proof dl > div + div { border-left: 0; padding: 12px 0 0; border-top: 1px solid var(--rule); }
  .proof dt { font-size: 1.8rem; }
  .proof dd { font-size: .85rem; }
}

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