:root {
  --blue: #1c56ee;
  --ink: #101010;
  --paper: #ffffff;
  --rail: 29.5vw;
  --font-condensed: "aktiv-grotesk-condensed", "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-display: "aktiv-grotesk-condensed", "Barlow Condensed", "Avenir Next Condensed", "Arial Narrow", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--blue);
  font-family: var(--font-condensed);
  font-synthesis: none;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--blue);
  overflow-x: hidden;
}

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  appearance: none;
}

a {
  color: inherit;
}

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

svg {
  display: block;
  width: 1em;
  height: 1em;
}

::selection {
  background: var(--blue);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 8px 12px;
  background: var(--blue);
  color: var(--paper);
  font-size: 18px;
  text-transform: uppercase;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.identity-rail {
  position: fixed;
  z-index: 10;
  inset: 0 auto 0 0;
  width: var(--rail);
  padding: 22px 36px 42px;
  border-right: 1px solid var(--blue);
  background: var(--paper);
}

.identity-rail__plus {
  display: block;
  width: max-content;
  color: var(--blue);
  font-family: Arial, sans-serif;
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
}

.identity-rail__intro {
  margin-top: 48px;
}

.identity-rail__brand-lockup {
  width: clamp(271px, 23.55vw, 362px);
  max-width: 100%;
  text-align: center;
}

.identity-rail__wordmark {
  display: block;
  width: max-content;
  max-width: none;
  font-family: var(--font-display);
  font-size: clamp(176px, 15.1vw, 235px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.72;
  text-decoration: none;
  transform: scaleX(0.64);
  transform-origin: 0 0;
}

.identity-rail__portfolio {
  display: block;
  width: 100%;
  margin-top: 25px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1;
  text-align: center;
}

.identity-rail__intro p {
  max-width: 290px;
  margin: 24px 0 0;
  font-size: clamp(18px, 1.35vw, 21px);
  font-weight: 400;
  line-height: 1.23;
}

.identity-rail__bottom {
  position: absolute;
  right: 36px;
  bottom: 48px;
  left: 36px;
}

.identity-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 27px;
}

.identity-nav a {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.55vw, 25px);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.identity-nav a svg {
  width: 17px;
  height: 17px;
}

.identity-nav a span {
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
}

.identity-nav a[aria-current="page"] {
  font-weight: 700;
}

.identity-nav a:hover span,
.identity-nav a:focus-visible span {
  border-bottom-width: 3px;
}

.identity-rail__contacts {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 70px;
  font-size: 18px;
  line-height: 1;
}

.identity-rail__contacts a {
  width: max-content;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.main-field {
  width: calc(100% - var(--rail));
  margin-left: var(--rail);
}

.work-stream {
  padding: 32px clamp(44px, 6.9vw, 106px) 56px clamp(52px, 7.9vw, 121px);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 52px 13px;
}

.work-card {
  min-width: 0;
  margin: 0;
}

.work-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--paper);
}

.work-card__poster,
.work-card__player,
.work-card__player iframe,
.work-card__toggle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.work-card__poster {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  opacity: 1;
  transition: opacity 160ms linear, transform 240ms ease;
}

.work-card__player,
.work-card__player iframe {
  border: 0;
  pointer-events: none;
}

.work-card__player {
  background: transparent;
}

.work-card__player iframe {
  display: block;
  background: var(--paper);
}

.work-card__toggle {
  z-index: 2;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
}

.work-card__action {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 8px 12px 7px;
  background: var(--paper);
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(19px, 1.55vw, 25px);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 120ms linear;
  white-space: nowrap;
}

.work-card__media:hover .work-card__poster {
  transform: scale(1.008);
}

.work-card__toggle:hover .work-card__action,
.work-card__toggle:focus-visible .work-card__action,
.work-card__media.has-embed-error .work-card__action {
  opacity: 1;
}

.work-card__media.is-ready .work-card__poster {
  opacity: 0;
}

.work-card__media--pending {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border: 1px solid var(--blue);
  text-align: center;
  text-transform: uppercase;
}

.work-card__media--pending > span {
  font-size: clamp(20px, 1.7vw, 27px);
  font-weight: 500;
}

.work-card__media--pending > strong {
  max-width: 100%;
  margin: 18px 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 4.1vw, 66px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.83;
}

.work-card__media--pending > small {
  font-size: clamp(16px, 1.2vw, 19px);
}

.work-card__caption {
  margin-top: 9px;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.12vw, 18px);
  letter-spacing: 0.005em;
  line-height: 1.13;
  text-transform: uppercase;
}

.work-card__caption strong,
.work-card__caption span {
  display: block;
}

.work-card__caption strong {
  font-weight: 600;
}

.work-card__caption span {
  margin-top: 3px;
  font-weight: 400;
}

.big-footer {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  padding: 0 40px;
  border-top: 1px solid var(--blue);
  background: var(--paper);
}

.big-footer__contacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 45vh;
  padding-top: 24px;
  border-top: 1px solid var(--blue);
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 500;
  line-height: 1;
}

.big-footer__contacts a {
  width: max-content;
  text-decoration: none;
}

.big-footer__contacts a:nth-child(2) {
  justify-self: center;
}

.big-footer__contacts span {
  justify-self: end;
}

.big-footer__contacts a:hover,
.big-footer__contacts a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.big-footer__letters {
  display: flex;
  width: max-content;
  align-self: center;
  align-items: flex-end;
  margin-top: auto;
  margin-bottom: -0.045em;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(280px, 35.5vw, 570px);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.66;
  white-space: nowrap;
}

.big-footer__letters span {
  --letter-lift: 0px;
  --letter-scale: 1;
  --letter-ink: 0;
  color: rgb(calc(28 - 12 * var(--letter-ink)) calc(86 - 70 * var(--letter-ink)) calc(238 - 222 * var(--letter-ink)));
  transform: translateY(var(--letter-lift)) scale(var(--letter-scale));
  transform-origin: 50% 100%;
  transition: color 160ms linear, transform 180ms ease-out;
}

.about-main {
  padding: 50px 48px 0 38px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.about-portrait {
  margin: 0;
}

.about-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.about-copy h1 {
  width: 145%;
  max-width: none;
  margin: -2px 0 22px;
  font-family: var(--font-display);
  font-size: clamp(82px, 8.2vw, 132px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.79;
  transform: scaleX(0.69);
  transform-origin: 0 0;
}

.about-copy p {
  max-width: 560px;
  margin: 0 0 17px;
  font-size: clamp(18px, 1.35vw, 21px);
  font-weight: 400;
  line-height: 1.27;
}

.about-specs {
  margin: 28px 0 0;
  border-top: 1px solid var(--blue);
}

.about-specs div {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 50px;
  align-items: center;
  border-bottom: 1px solid var(--blue);
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1;
}

.about-specs dt,
.about-specs dd {
  margin: 0;
}

.about-specs dt {
  font-weight: 500;
}

.about-specs dd {
  font-weight: 400;
}

.about-cta {
  display: flex;
  min-height: 138px;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding: 20px 30px;
  border: 1px solid var(--blue);
  text-decoration: none;
}

.about-cta strong {
  font-family: var(--font-display);
  font-size: clamp(44px, 4vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.83;
}

.about-cta span {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(21px, 1.7vw, 28px);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.about-cta svg {
  width: 31px;
  height: 18px;
}

.about-main .big-footer {
  margin: 56px -48px 0 -38px;
}

.say-hi-main {
  min-height: 100svh;
  padding: 22px 64px 42px 50px;
  border-top: 1px solid var(--blue);
  border-right: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
}

.say-hi-main h1 {
  width: 125%;
  max-width: none;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(112px, 10.4vw, 164px);
  font-weight: 700;
  letter-spacing: -0.047em;
  line-height: 0.8;
  transform: scaleX(0.77);
  transform-origin: 0 0;
}

.enquiry-intro {
  display: flex;
  flex-direction: column;
  margin-top: 22px;
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.05;
}

.enquiry-intro strong {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.55vw, 25px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.enquiry-intro span,
.enquiry-intro p {
  margin: 0;
}

.enquiry-form {
  margin-top: 34px;
}

.enquiry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 32px;
}

.enquiry-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.enquiry-field.is-wide {
  grid-column: 1 / -1;
}

.enquiry-field span {
  font-size: clamp(16px, 1.15vw, 19px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
}

.enquiry-field input,
.enquiry-field textarea {
  width: 100%;
  min-width: 0;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid var(--blue);
  border-radius: 0;
  outline: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1.15;
}

.enquiry-field input {
  height: 34px;
}

.enquiry-field textarea {
  height: 76px;
  resize: vertical;
}

.enquiry-field input:focus,
.enquiry-field textarea:focus {
  border-bottom-width: 3px;
}

.enquiry-submit {
  display: flex;
  justify-content: flex-end;
  margin-top: 31px;
}

.enquiry-submit button {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 2px solid var(--blue);
  border-radius: 0;
  background: transparent;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(25px, 2vw, 32px);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.enquiry-submit svg {
  width: 34px;
  height: 20px;
}

.enquiry-submit button:hover,
.enquiry-submit button:focus-visible {
  border-bottom-width: 4px;
}

.say-hi-mobile-contacts {
  display: none;
}

@media (max-width: 1120px) and (min-width: 821px) {
  .identity-rail {
    padding-right: 26px;
    padding-left: 26px;
  }

  .identity-rail__bottom {
    right: 26px;
    left: 26px;
  }

  .identity-rail__wordmark {
    font-size: 13vw;
  }

  .identity-rail__brand-lockup {
    width: min(100%, 20vw);
  }

  .identity-rail__intro p {
    max-width: 220px;
  }

  .work-stream {
    padding-right: 42px;
    padding-left: 50px;
  }

}

@media (max-width: 820px) {
  :root {
    --rail: 100%;
  }

  html {
    scroll-behavior: auto;
  }

  .identity-rail {
    position: relative;
    inset: auto;
    width: 100%;
    border-right: 0;
  }

  .page-work .identity-rail {
    display: flex;
    min-height: 560px;
    flex-direction: column;
    padding: 20px 22px 32px;
  }

  .page-work .identity-rail__plus {
    font-size: 30px;
  }

  .page-work .identity-rail__intro {
    margin-top: 28px;
  }

  .page-work .identity-rail__brand-lockup {
    width: clamp(214px, 61vw, 305px);
  }

  .page-work .identity-rail__wordmark {
    font-size: clamp(210px, 60vw, 300px);
    transform: scaleX(0.42);
  }

  .page-work .identity-rail__portfolio {
    margin-top: 25px;
    font-size: 21px;
  }

  .page-work .identity-rail__intro p {
    max-width: 650px;
    margin-top: 27px;
    font-size: clamp(24px, 4.15vw, 32px);
    font-weight: 500;
    line-height: 1.12;
  }

  .page-work .identity-rail__bottom {
    position: static;
    margin-top: auto;
  }

  .page-work .identity-nav {
    flex-direction: row;
    justify-content: space-between;
    gap: 14px;
  }

  .page-work .identity-nav a {
    gap: 8px;
    font-size: clamp(20px, 3.9vw, 27px);
  }

  .page-work .identity-nav a svg {
    width: 16px;
    height: 16px;
  }

  .page-secondary .identity-rail {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 22px;
    padding: 14px 16px 13px;
    border-bottom: 1px solid var(--blue);
  }

  .page-secondary .identity-rail__plus,
  .page-secondary .identity-rail__portfolio,
  .page-secondary .identity-rail__intro p,
  .page-secondary .identity-rail__contacts {
    display: none;
  }

  .page-secondary .identity-rail__intro,
  .page-secondary .identity-rail__bottom {
    position: static;
    margin: 0;
  }

  .page-secondary .identity-rail__brand-lockup {
    width: auto;
    max-width: none;
  }

  .page-secondary .identity-rail__wordmark {
    font-size: clamp(46px, 10vw, 66px);
    line-height: 0.78;
  }

  .page-secondary .identity-nav {
    flex-direction: row;
    justify-content: flex-end;
    gap: clamp(17px, 4.5vw, 34px);
  }

  .page-secondary .identity-nav a {
    display: block;
    font-size: clamp(16px, 3.1vw, 22px);
  }

  .page-secondary .identity-nav svg {
    display: none;
  }

  .main-field {
    width: 100%;
    margin-left: 0;
  }

  .work-stream {
    padding: 22px 18px 38px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .work-card__caption {
    margin-top: 8px;
    font-size: clamp(17px, 3.7vw, 23px);
    line-height: 1.08;
  }

  .big-footer {
    min-height: 72svh;
    padding: 0 18px;
  }

  .big-footer__contacts {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 28vh;
    padding-top: 15px;
    font-size: 19px;
  }

  .big-footer__contacts a:nth-child(2),
  .big-footer__contacts span {
    justify-self: start;
  }

  .big-footer__letters {
    font-size: clamp(155px, 46vw, 310px);
  }

  .about-main {
    padding: 24px 18px 0;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-copy h1 {
    width: 100%;
    max-width: 100%;
    margin: 0 0 24px;
    font-size: clamp(62px, 16.5vw, 116px);
    transform: none;
  }

  .about-copy p {
    font-size: clamp(20px, 4.3vw, 27px);
  }

  .about-specs div {
    grid-template-columns: 34% 66%;
    min-height: 52px;
    font-size: clamp(15px, 3.4vw, 21px);
  }

  .about-cta {
    min-height: 160px;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    padding: 20px;
  }

  .about-cta strong {
    font-size: clamp(43px, 11.2vw, 72px);
  }

  .about-cta span {
    align-self: flex-end;
  }

  .about-main .big-footer {
    margin: 40px -18px 0;
  }

  .say-hi-main {
    min-height: 0;
    padding: 21px 16px 18px;
    border-top: 0;
    border-right: 0;
  }

  .say-hi-main h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(59px, 15.5vw, 112px);
    line-height: 0.78;
    transform: none;
  }

  .enquiry-intro {
    margin-top: 23px;
    font-size: clamp(18px, 3.8vw, 24px);
  }

  .enquiry-intro strong {
    font-size: clamp(30px, 7vw, 47px);
  }

  .enquiry-form {
    margin-top: 25px;
  }

  .enquiry-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .enquiry-field,
  .enquiry-field.is-wide {
    grid-column: auto;
    gap: 5px;
  }

  .enquiry-field span {
    font-size: clamp(16px, 3.6vw, 22px);
  }

  .enquiry-field input,
  .enquiry-field textarea {
    border: 1px solid var(--blue);
    padding: 9px;
    font-size: 20px;
  }

  .enquiry-field input {
    height: 51px;
  }

  .enquiry-field textarea {
    height: 104px;
  }

  .enquiry-field input:focus,
  .enquiry-field textarea:focus {
    border-width: 2px;
  }

  .enquiry-submit {
    justify-content: flex-start;
    margin-top: 28px;
  }

  .enquiry-submit button {
    font-size: clamp(35px, 8vw, 52px);
  }

  .say-hi-mobile-contacts {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 22px;
    font-size: clamp(18px, 4vw, 25px);
  }

  .say-hi-mobile-contacts a,
  .say-hi-mobile-contacts span {
    padding-bottom: 5px;
    border-bottom: 1px solid var(--blue);
  }

}

@media (max-width: 430px) {
  .page-work .identity-rail {
    min-height: 520px;
  }

  .page-work .identity-rail__intro p {
    font-size: 23px;
  }

  .page-work .identity-nav a {
    font-size: 20px;
  }

  .page-secondary .identity-rail {
    gap: 12px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .page-secondary .identity-nav {
    gap: 15px;
  }

  .page-secondary .identity-nav a {
    font-size: 15px;
  }

  .about-specs div {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 11px 0;
  }
}

@media (hover: none), (pointer: coarse) {
  .work-card__media:not(.is-playing) .work-card__action {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
