:root {
  --paper: #f2f7ff;
  --ink: #070a12;
  --muted: #4b596b;
  --red: #ff2f6d;
  --blue: #243cff;
  --yellow: #c8ff2e;
  --green: #00bfa6;
  --line: rgba(23, 21, 19, 0.15);
  --shadow: 0 26px 70px rgba(23, 21, 19, 0.16);
}

body[data-look="uk-luxe"] {
  --paper: #f4ecdf;
  --ink: #120f0c;
  --muted: #62564a;
  --red: #8e1028;
  --blue: #0d403d;
  --yellow: #c69a44;
  --green: #4d642d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px),
    linear-gradient(180deg, color-mix(in srgb, var(--ink) 4%, transparent) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
  color: var(--ink);
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body[data-look="uk-luxe"] {
  background:
    radial-gradient(circle at 18% 8%, rgba(214, 163, 67, 0.18), transparent 34%),
    linear-gradient(135deg, #f8f0e3 0%, #eee0cd 54%, #f6efe4 100%);
}

body[data-look="uk-street"] {
  background:
    linear-gradient(90deg, rgba(36, 60, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 47, 109, 0.08) 1px, transparent 1px),
    #f2f7ff;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: color-mix(in srgb, var(--paper) 92%, white);
  border-bottom: 2px solid var(--ink);
  backdrop-filter: blur(16px);
}

.look-switcher {
  display: inline-flex;
  gap: 8px;
  padding: 5px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}

.look-switcher a {
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

body[data-look="uk-street"] .look-switcher a[href="?look=uk-street"],
body[data-look="uk-luxe"] .look-switcher a[href="?look=uk-luxe"] {
  background: var(--ink);
  color: var(--paper);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 44px;
  background: var(--ink);
  color: #fff;
  border-radius: 50% 50% 44% 46%;
  font-family: "Archivo Black", sans-serif;
  font-size: 0.92rem;
  letter-spacing: -0.04em;
  box-shadow: 5px 5px 0 var(--red), -5px -4px 0 var(--blue);
}

body[data-look="uk-luxe"] .brand-mark,
body[data-look="uk-luxe"] .nav-cta,
body[data-look="uk-luxe"] .button,
body[data-look="uk-luxe"] .board-tile,
body[data-look="uk-luxe"] .service-card,
body[data-look="uk-luxe"] .work-grid article,
body[data-look="uk-luxe"] .timeline,
body[data-look="uk-luxe"] .contact-card {
  border-radius: 0;
  box-shadow: 0 18px 42px rgba(23, 17, 13, 0.14);
}

body[data-look="uk-luxe"] h1,
body[data-look="uk-luxe"] h2,
body[data-look="uk-luxe"] h3,
body[data-look="uk-luxe"] .board-tile strong {
  letter-spacing: 0;
}

.brand-text,
.nav-cta,
.button,
.section-label,
.service-card span,
.contact-card span {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand-text {
  max-width: 150px;
  font-size: 0.78rem;
  line-height: 1.15;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 30px);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a,
.nav-cta {
  text-decoration: none;
}

.nav-cta {
  padding: 12px 16px;
  background: var(--red);
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: stretch;
  min-height: calc(100vh - 76px);
  padding: clamp(44px, 7vw, 90px) clamp(18px, 5vw, 72px) 40px;
}

.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kicker,
.section-label {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
}

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

h1,
h2,
.board-tile strong {
  font-family: "Archivo Black", sans-serif;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

h1 {
  max-width: 100%;
  margin-bottom: 28px;
  font-size: clamp(3.8rem, 7.2vw, 7.4rem);
  overflow-wrap: break-word;
}

.hero-lede {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.nav-cta:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.button-primary {
  background: var(--red);
  color: #fff;
}

.button-secondary {
  background: #fff;
}

body[data-look="uk-luxe"] .button-secondary,
body[data-look="uk-luxe"] .signal-strip,
body[data-look="uk-luxe"] .timeline,
body[data-look="uk-luxe"] .service-card.white {
  background: rgba(255, 255, 255, 0.72);
}

.hero-board {
  display: grid;
  grid-template-columns: 0.98fr 0.9fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-height: 500px;
  transform: rotate(-1.5deg);
}

.board-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 210px;
  padding: 22px;
  border: 3px solid var(--ink);
  box-shadow: 10px 12px 0 var(--ink);
  overflow: hidden;
}

.board-tile::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 2px dashed rgba(255, 255, 255, 0.62);
  pointer-events: none;
}

.board-tile span {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  line-height: 1;
  opacity: 0.25;
}

.board-tile strong {
  position: relative;
  font-size: clamp(2rem, 4vw, 3.6rem);
  overflow-wrap: normal;
  word-break: normal;
}

.tile-red strong {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

.tile-blue strong {
  font-size: clamp(2rem, 3.1vw, 2.9rem);
}

.board-tile p {
  position: relative;
  max-width: 310px;
  margin-bottom: 0;
  font-size: 0.98rem;
  font-weight: 700;
}

.tile-red {
  grid-row: span 2;
  background: var(--red);
  color: #fff;
}

.tile-blue {
  background: var(--blue);
  color: #fff;
}

.tile-ink {
  background: var(--yellow);
}

body[data-look="uk-luxe"] .tile-ink,
body[data-look="uk-luxe"] .service-card.yellow,
body[data-look="uk-luxe"] .work-number {
  color: var(--ink);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: #fff;
}

.signal-strip div {
  padding: 24px clamp(18px, 4vw, 54px);
  border-right: 3px solid var(--ink);
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip strong {
  display: block;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  letter-spacing: -0.04em;
}

.signal-strip span {
  color: var(--muted);
  font-weight: 700;
}

.intro,
.services,
.work,
.process,
.contact {
  padding: clamp(70px, 10vw, 120px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  gap: 34px;
  background: var(--ink);
  color: var(--paper);
}

body[data-look="uk-luxe"] .intro,
body[data-look="uk-luxe"] footer {
  background: #17110d;
}

.intro .section-label {
  color: var(--yellow);
}

.intro h2,
.services h2,
.work h2,
.process h2,
.contact h2 {
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 6vw, 6.6rem);
}

.intro p {
  max-width: 820px;
  color: rgba(255, 247, 232, 0.78);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 270px;
  padding: 24px;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}

.service-card span {
  display: inline-block;
  margin-bottom: 34px;
  font-size: 0.75rem;
  font-weight: 800;
}

.service-card h3 {
  max-width: 420px;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.service-card p {
  max-width: 410px;
  margin-bottom: 0;
  font-weight: 650;
}

.service-card.red,
.service-card.blue,
.service-card.green,
.service-card.ink {
  color: #fff;
}

.service-card.red { background: var(--red); }
.service-card.yellow { background: var(--yellow); }
.service-card.blue { background: var(--blue); }
.service-card.green { background: var(--green); }
.service-card.ink { background: var(--ink); }
.service-card.white { background: #fff; }

.work {
  background: var(--blue);
  color: #fff;
}

body[data-look="uk-luxe"] .work {
  background:
    linear-gradient(rgba(18, 58, 53, 0.93), rgba(18, 58, 53, 0.93)),
    var(--paper);
}

.work .section-label {
  color: var(--yellow);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.work-grid article {
  min-height: 330px;
  padding: 22px;
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(23, 21, 19, 0.65);
}

.work-number {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 40px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-family: "Archivo Black", sans-serif;
  font-size: 2rem;
}

.work-grid h3 {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.9rem, 3.1vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.work-grid p,
.timeline p,
.contact p {
  color: var(--muted);
  font-weight: 650;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 34px;
  background: #fff;
  border: 3px solid var(--ink);
}

.timeline div {
  min-height: 250px;
  padding: 24px;
  border-right: 3px solid var(--ink);
}

.timeline div:last-child {
  border-right: 0;
}

.timeline span {
  display: inline-flex;
  margin-bottom: 30px;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 800;
  color: var(--red);
}

.timeline strong {
  display: block;
  margin-bottom: 12px;
  font-family: "Archivo Black", sans-serif;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: stretch;
  background: var(--red);
  color: #fff;
}

body[data-look="uk-luxe"] .contact {
  background: #b11226;
}

.contact .section-label {
  color: var(--yellow);
}

.contact p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 310px;
  padding: 28px;
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
}

.contact-card span {
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 800;
}

.contact-card a {
  overflow-wrap: anywhere;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.7rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.08em;
}

.contact-card p {
  margin: 22px 0 0;
  color: var(--muted);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
}

footer span:last-child {
  color: rgba(255, 247, 232, 0.65);
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .look-switcher {
    order: 4;
  }

  .hero,
  .intro,
  .section-head,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-board {
    width: 100%;
    min-height: 0;
    transform: none;
  }

  .signal-strip,
  .service-grid,
  .work-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .signal-strip div,
  .timeline div {
    border-right: 0;
    border-bottom: 3px solid var(--ink);
  }

  .signal-strip div:last-child,
  .timeline div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: relative;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .look-switcher {
    width: 100%;
    justify-content: center;
  }

  .brand-text {
    max-width: 120px;
  }

  .hero {
    display: block;
    padding-top: 34px;
    width: 100vw;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-copy,
  .hero-lede {
    width: 100%;
    max-width: 340px;
  }

  h1 {
    max-width: 340px;
  }

  h1 {
    font-size: clamp(2.5rem, 12.2vw, 3.4rem);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-board {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .tile-red {
    grid-row: auto;
  }

  .board-tile,
  .service-card,
  .work-grid article,
  .timeline div {
    min-height: 220px;
  }

  .intro h2,
  .services h2,
  .work h2,
  .process h2,
  .contact h2 {
    font-size: clamp(2.4rem, 12vw, 3.8rem);
  }

  footer {
    flex-direction: column;
  }
}
