:root {
  --ink: #0f1827;
  --brand-blue: #0f1827;
  --orange: #f7941d;
  --orange-hover: #ffab3c;
  --grey: #848b94;
  --grey-light: #c3c6ca;
  --paper: #ffffff;
  --soft: #f3f4f6;
  --line: rgba(195, 198, 202, 0.42);
  --brand-font: "Boogaloo", "Comic Sans MS", cursive;
  --max: 1180px;
  --wide: 1280px;
  --gutter: clamp(18px, 4vw, 42px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.03;
  letter-spacing: 0;
}

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-script {
  font-family: var(--brand-font);
  font-weight: 400;
}

.awesome-word {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.awesome-word .brand-script {
  display: inline-block;
  font-size: 1.24em;
  line-height: 0.76;
  transform: translateY(0.015em);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  color: #fff;
  background: linear-gradient(to bottom, rgba(15, 24, 39, 0.72), rgba(15, 24, 39, 0));
  transition: background 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(15, 24, 39, 0.92);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--max), calc(100% - 36px));
  min-height: 78px;
  margin: 0 auto;
  padding: 16px 0;
  transition: min-height 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled .site-header__inner,
.site-header.is-open .site-header__inner {
  min-height: 68px;
  padding-block: 10px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 160px;
  height: auto;
}

.site-nav,
.header-tools,
.lang-switch {
  display: flex;
  align-items: center;
}

.site-nav {
  gap: 8px;
  min-width: 0;
}

.site-nav a,
.lang-switch a {
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 800;
}

.site-nav a {
  padding: 10px 12px;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.lang-switch a:hover,
.lang-switch a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  outline: 0;
}

.site-nav .nav-cta {
  margin-left: 8px;
  color: var(--brand-blue);
  background: var(--orange);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible,
.button--primary:hover,
.button--primary:focus-visible {
  color: var(--brand-blue);
  background: var(--orange-hover);
}

.header-tools {
  flex: 0 0 auto;
  gap: 10px;
}

.lang-switch {
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(15, 24, 39, 0.24);
}

.lang-switch a {
  min-width: 35px;
  padding: 7px 8px;
  text-align: center;
  font-size: 12px;
}

.lang-switch a.is-active {
  color: var(--brand-blue);
  background: #fff;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: rgba(15, 24, 39, 0.28);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 90svh;
  padding: 118px 20px 150px;
  color: #fff;
  background: var(--brand-blue) url("../img/hero-bg.jpg") center / cover no-repeat;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 58%, rgba(15, 24, 39, 0.2), rgba(15, 24, 39, 0.66) 42%, rgba(15, 24, 39, 0.9) 100%),
    linear-gradient(0deg, rgba(15, 24, 39, 0.7), rgba(15, 24, 39, 0.08) 38%, rgba(15, 24, 39, 0.7));
}

.hero__content {
  position: relative;
  width: min(920px, 100%);
  min-width: 0;
  text-align: center;
}

.hero h1 {
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 900;
}

.hero p {
  width: min(650px, 100%);
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2.1vw, 24px);
}

.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
}

.button--primary {
  color: var(--brand-blue);
  background: var(--orange);
}

.button--secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.08);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: 0;
}

.mode-strip {
  position: absolute;
  bottom: 32px;
  left: 50%;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(var(--max), calc(100% - 36px));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(15, 24, 39, 0.68);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

.mode-strip a {
  min-height: 92px;
  padding: 20px 22px;
  border-right: 1px solid var(--line);
}

.mode-strip a:last-child {
  border-right: 0;
}

.mode-strip a:hover,
.mode-strip a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: 0;
}

.mode-strip strong {
  display: block;
  color: #fff;
  font-size: 18px;
}

.mode-strip span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
}

.work-section {
  padding: 28px var(--gutter) 96px;
  color: #fff;
  background: var(--brand-blue);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.6fr minmax(0, 1.4fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: end;
  width: min(var(--wide), 100%);
  margin: 0 auto 32px;
}

.section-heading--stack {
  display: block;
  width: min(var(--max), 100%);
}

.section-heading p,
.eyebrow {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-heading h2,
.scope-section h2,
.shop-panel h2,
.contact-copy h2 {
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 900;
}

.section-heading--stack h2 {
  max-width: 820px;
  margin-top: 8px;
}

.section-heading--stack span {
  display: block;
  max-width: 690px;
  margin-top: 18px;
  color: var(--grey);
  font-size: 18px;
}

.work-section .section-heading {
  display: block;
  width: min(var(--max), 100%);
}

.work-section .section-heading h2 {
  max-width: 820px;
  margin-top: 8px;
}

.work-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: clamp(130px, 13vw, 190px);
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  width: min(var(--wide), 100%);
  margin-inline: auto;
}

.work-item {
  overflow: hidden;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #000;
  cursor: zoom-in;
}

.work-item--wide {
  grid-column: span 2;
  grid-row: span 2;
}

.work-item--tall {
  grid-row: span 3;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease, filter 180ms ease;
}

.work-item:hover img,
.work-item:focus-visible img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.025);
}

.scope-section,
.brand-section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.service-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d8dbe0;
  border-radius: 8px;
  background: #fff;
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card div {
  padding: 18px;
}

.service-card h3 {
  font-size: 22px;
  font-weight: 900;
}

.service-card p {
  margin-top: 9px;
  color: var(--grey);
}

.shop-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 36px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(15, 24, 39, 0.94), rgba(15, 24, 39, 0.72)),
    url("../img/work/9.jpg") center / cover no-repeat;
}

.shop-panel p:not(.eyebrow),
.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.shop-panel p:not(.eyebrow) {
  max-width: 640px;
  margin-top: 12px;
}

.shop-panel .button {
  min-width: 184px;
  white-space: nowrap;
}

.brand-section .section-heading {
  margin-right: auto;
  margin-left: 0;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid #d8dbe0;
  border-radius: 8px;
  overflow: hidden;
  background: #d8dbe0;
}

.brand-grid img {
  width: 100%;
  height: 104px;
  padding: 24px 28px;
  object-fit: contain;
  background: #fff;
  border-right: 1px solid #d8dbe0;
  border-bottom: 1px solid #d8dbe0;
}

.brand-grid img:nth-child(6n) {
  border-right: 0;
}

.brand-grid img:nth-last-child(-n + 6) {
  border-bottom: 0;
}

.contact-section {
  margin-top: 92px;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(15, 24, 39, 0.97), rgba(15, 24, 39, 0.9) 54%, rgba(15, 24, 39, 0.8)),
    url("../img/work/9.jpg") center / cover no-repeat;
}

.contact-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.8fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: start;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.contact-copy {
  max-width: 640px;
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-copy a {
  color: #fff;
  font-weight: 900;
}

.contact-links span {
  color: rgba(255, 255, 255, 0.68);
}

.contact-form {
  display: grid;
  gap: 15px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
  outline: 3px solid rgba(247, 148, 29, 0.22);
}

.contact-form textarea {
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 24px;
  color: #b8efc3;
  font-weight: 900;
}

.form-status.is-error {
  color: #ffb2a2;
}

.site-footer {
  color: #fff;
  background: #080d15;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0;
}

.site-footer img {
  height: auto;
}

.site-footer p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 14px;
  font-weight: 900;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer button {
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.76);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer button:hover,
.site-footer button:focus-visible {
  color: #fff;
  outline: 0;
}

.consent-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(15, 24, 39, 0.97), rgba(15, 24, 39, 0.9)),
    url("../img/work/9.jpg") center / cover no-repeat;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner p:not(.eyebrow) {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.78);
}

.consent-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.consent-banner .button {
  min-width: 150px;
}

.lightbox {
  width: min(1120px, calc(100vw - 28px));
  max-width: none;
  max-height: calc(100svh - 28px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--brand-blue);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.84);
}

.lightbox[open] {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
}

.lightbox__figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: calc(100svh - 170px);
  object-fit: contain;
  background: #000;
}

.lightbox__caption {
  padding: 16px 18px 18px;
}

.lightbox__caption span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 900;
}

.lightbox__caption strong {
  display: block;
  font-size: 20px;
}

.lightbox__caption p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  background: rgba(0, 0, 0, 0.54);
  cursor: pointer;
}

.lightbox__close {
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 22px;
  line-height: 1;
}

.lightbox__nav {
  top: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 64px;
  border-radius: 8px;
  transform: translateY(-50%);
}

.lightbox__nav span {
  font-size: 48px;
  line-height: 0.8;
}

.lightbox__nav--prev {
  left: 12px;
}

.lightbox__nav--next {
  right: 12px;
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(15, 24, 39, 0.94);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .nav-toggle {
    display: block;
  }

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

  .work-grid {
    grid-auto-rows: 118px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-panel,
  .contact-section__inner,
  .consent-banner {
    grid-template-columns: 1fr;
  }

  .shop-panel .button {
    justify-self: start;
  }

  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .brand-grid img:nth-child(n) {
    border-right: 1px solid #d8dbe0;
    border-bottom: 1px solid #d8dbe0;
  }

  .brand-grid img:nth-child(3n) {
    border-right: 0;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 74px;
  }

  .site-header__inner {
    min-height: 64px;
    padding: 10px 0;
  }

  .brand img {
    width: 124px;
  }

  .header-tools {
    gap: 6px;
  }

  .lang-switch a {
    min-width: 31px;
    padding: 6px 7px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    padding: 8px;
  }

  .hero {
    min-height: 92svh;
    padding: 110px 18px 280px;
    background-position: 58% center;
  }

  .hero__content {
    justify-self: start;
    width: min(100%, 340px);
    max-width: calc(100vw - 36px);
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(34px, 9.6vw, 42px);
    overflow-wrap: break-word;
  }

  .hero p {
    width: 100%;
    max-width: 100%;
    font-size: 18px;
    overflow-wrap: break-word;
  }

  .hero__actions {
    display: grid;
    justify-content: stretch;
  }

  .button {
    width: 100%;
  }

  .mode-strip {
    bottom: 18px;
    grid-template-columns: 1fr;
  }

  .mode-strip a {
    min-height: 82px;
    padding: 16px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .mode-strip a:last-child {
    border-bottom: 0;
  }

  .work-section {
    padding-top: 64px;
  }

  .work-grid {
    grid-auto-rows: 112px;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .work-item--wide {
    grid-column: span 2;
  }

  .work-item--tall {
    grid-row: span 2;
  }

  .scope-section,
  .brand-section {
    padding-block: 68px;
  }

  .section-heading h2,
  .scope-section h2,
  .shop-panel h2,
  .contact-copy h2 {
    font-size: clamp(32px, 10vw, 42px);
  }

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

  .shop-panel {
    padding: 24px;
  }

  .shop-panel .button {
    justify-self: stretch;
    min-width: 0;
    white-space: normal;
  }

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

  .brand-grid img {
    height: 90px;
    padding: 20px;
  }

  .brand-grid img:nth-child(n) {
    border-right: 1px solid #d8dbe0;
    border-bottom: 1px solid #d8dbe0;
  }

  .brand-grid img:nth-child(2n) {
    border-right: 0;
  }

  .contact-section {
    margin-top: 68px;
  }

  .contact-section__inner {
    padding-block: 68px;
  }

  .site-footer__inner {
    display: grid;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .consent-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: calc(100% - 24px);
    padding: 16px;
  }

  .consent-banner__actions {
    display: grid;
    justify-content: stretch;
  }

  .lightbox {
    width: 100vw;
    height: 100svh;
    max-width: 100vw;
    max-height: 100svh;
    margin: 0;
    border-radius: 0;
  }

  .lightbox img {
    width: 100vw;
    height: calc(100svh - 174px);
    max-height: none;
    object-fit: contain;
  }

  .lightbox__nav {
    top: 42%;
    width: 42px;
    height: 56px;
  }

  .lightbox__nav--prev {
    left: 8px;
  }

  .lightbox__nav--next {
    right: 8px;
  }
}
