@font-face {
  font-family: "Archivo";
  src: url("/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --cured: #cfccc5;
  --cured-2: #c3c0b8;
  --slab: #232527;
  --ink: #1b1c1d;
  --ink-2: #4d4b46;
  --lime: #f1efea;
  --lime-2: #a9a69f;
  --chalk: #0b5a9e;
  --chalk-lit: #7db8ee;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --nav-h: 3.75rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--cured);
  color: var(--ink);
  font: 400 1.0625rem/1.55 "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, address { margin: 0; padding: 0; font-style: normal; }
ul, ol { list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--chalk); outline-offset: 3px; }
.band--dark :focus-visible, .pour :focus-visible, .lift :focus-visible { outline-color: var(--chalk-lit); }

h2 {
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(1.9rem, 4.6vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
h3 { font-weight: 700; font-stretch: 112%; font-size: 1.125rem; line-height: 1.25; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.45; max-width: 46ch; }

.skip { position: absolute; left: -999px; top: 0; z-index: 30; background: var(--lime); padding: 0.75rem 1rem; }
.skip:focus { left: 0; }
section[tabindex="-1"]:focus, footer[tabindex="-1"]:focus { outline: none; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 2rem;
  padding: 0 var(--gutter);
  color: var(--ink);
  transition: background-color 0.25s, color 0.25s;
}
.nav.is-dark { color: var(--lime); }
.nav.is-solid { background: var(--slab); color: var(--lime); }
.nav__brand { display: flex; align-items: center; gap: 0.75rem; align-self: stretch; font-weight: 800; font-stretch: 125%; text-decoration: none; letter-spacing: -0.01em; margin-right: auto; white-space: nowrap; transition: opacity 0.25s; }
/* The logo's building stands on the bottom edge of the bar. */
.nav__brand img { align-self: flex-end; height: calc(var(--nav-h) - 0.375rem); width: auto; }
.nav.is-top .nav__brand { opacity: 0; pointer-events: none; }
.nav nav { display: flex; gap: 1.5rem; }
.nav nav a { text-decoration: none; font-weight: 500; font-size: 0.9375rem; }
.nav nav a:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.nav__call {
  font-weight: 700; font-stretch: 112%; text-decoration: none; white-space: nowrap;
  padding: 0.45rem 0.9rem; border: 2px solid currentColor;
}
.nav__call:hover { background: var(--chalk); border-color: var(--chalk); color: #fff; }

.btn {
  display: inline-block; padding: 0.85rem 1.3rem;
  background: var(--chalk); color: #fff; border: 2px solid var(--chalk);
  font-weight: 700; font-stretch: 112%; text-decoration: none;
}
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn--line { background: none; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { color: var(--lime); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* Act 1: the name */
.name { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; align-items: flex-end; }
.rig { display: none; position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; will-change: transform; }
.js .rig.is-ready { display: block; }
.rig__img { display: block; width: 100%; height: 100%; max-width: none; filter: drop-shadow(5px 9px 9px rgba(20, 20, 20, 0.3)); }
.rig__cable { position: absolute; }
.name__inner { position: relative; width: 100%; padding: calc(var(--nav-h) + 2rem) var(--gutter) clamp(2rem, 6vh, 4.5rem); }
.name__mark {
  font-weight: 900; font-stretch: 125%;
  font-size: 12.4vw; line-height: 0.8; letter-spacing: -0.035em;
  white-space: nowrap; color: var(--slab);
}
.js .slot { display: inline-block; color: transparent; text-align: center; }
.name__rest {
  font-weight: 600; font-stretch: 125%;
  font-size: clamp(1rem, 2.35vw, 2.1rem); letter-spacing: -0.01em;
  margin-top: clamp(0.6rem, 1.6vw, 1.4rem);
}
.name__pitch { margin-top: clamp(1.5rem, 4vh, 3rem); max-width: 40rem; }
.name__pitch h1 { font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.25; letter-spacing: -0.01em; max-width: 26ch; }
.name__pitch > p:first-of-type { margin-top: 0.6rem; color: var(--ink-2); }
.name__hint {
  position: absolute; right: var(--gutter); bottom: clamp(2rem, 6vh, 4.5rem);
  font-size: 0.875rem; color: var(--ink-2); display: none;
}
.js .name__hint { display: block; }

/* Act 2: the build, filmed as one camera move in five stages */
.lift { background: var(--slab); color: var(--lime); }
.lift__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #17181a; }
.lift__frames { position: absolute; inset: 0; }
.lift__frames img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 60%; }
.js .lift__frames img + img { opacity: 0; }
.lift__film { display: none; position: absolute; inset: 0; width: 100%; height: 100%; }
.js .is-film .lift__film { display: block; }
.js .is-film .lift__frames img { visibility: hidden; }
.lift__frames::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(18, 19, 20, 0.88) 0%, rgba(18, 19, 20, 0.35) 42%, rgba(18, 19, 20, 0) 62%, rgba(18, 19, 20, 0.3) 100%);
}
.lift__caps { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: clamp(2.5rem, 8vh, 5.5rem); }
.cap { max-width: 38rem; display: none; }
.cap:last-child { display: block; }
.cap h2 { font-size: clamp(1.9rem, 4.8vw, 4rem); max-width: 14ch; }
.cap p { margin-top: 1rem; font-size: clamp(1.0625rem, 1.5vw, 1.3rem); line-height: 1.45; max-width: 38ch; }
.js .lift__caps .cap { display: block; position: absolute; left: 0; bottom: 0; opacity: 0; visibility: hidden; }
.lift__phases {
  position: absolute; z-index: 1; right: var(--gutter); top: 50%; transform: translateY(-50%);
  display: none; flex-direction: column; gap: 1.4rem;
  padding-right: 1.1rem; border-right: 2px solid rgba(241, 239, 234, 0.35);
  text-align: right; font-weight: 600; font-stretch: 112%; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.js .lift__phases { display: flex; }
.lift__phases li { position: relative; color: rgba(241, 239, 234, 0.6); transition: color 0.3s; }
.lift__phases li::after {
  content: ""; position: absolute; right: calc(-1.1rem - 7px); top: 50%;
  width: 12px; height: 2px; background: rgba(241, 239, 234, 0.5); transition: background-color 0.3s, width 0.3s;
}
.lift__phases li.is-done { color: #fff; }
.lift__phases li.is-done::after { background: var(--chalk-lit); width: 20px; }
.lift__note { position: absolute; z-index: 1; right: var(--gutter); bottom: 1.25rem; font-size: 0.8125rem; color: rgba(241, 239, 234, 0.7); }

/* Act 3: the services, one photo each, travelling sideways */
.pour { background: var(--slab); color: var(--lime); }
.pour__stage { position: relative; padding: clamp(4rem, 9vw, 7rem) var(--gutter); }
.pour__gl, .pour__count, .pour__rail, .card__hint { display: none; }
.pour__track { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.card { position: relative; }
.card__photo { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: #17181a; }
.card__photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.card:hover .card__photo img { transform: scale(1.03); }
.card__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(18, 19, 20, 0.9) 0%, rgba(18, 19, 20, 0.35) 38%, rgba(18, 19, 20, 0) 62%);
}
.card__text { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1rem, 2.4vw, 2.25rem); }
.card__text h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 800; font-stretch: 125%; line-height: 1.04; letter-spacing: -0.02em; max-width: 14ch; }
.card__text p { margin-top: 0.6rem; color: rgba(241, 239, 234, 0.86); max-width: 30ch; }
.card__text h3, .card__text p { overflow: hidden; }
.card__text span { display: block; }
.card--intro p { font-size: clamp(1.125rem, 1.5vw, 1.35rem); line-height: 1.45; max-width: 30ch; }
.card--lists h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 800; font-stretch: 125%; letter-spacing: -0.02em; }
.lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.lists h4 { margin: 0 0 0.6rem; font-size: 1rem; font-weight: 700; font-stretch: 112%; padding-top: 0.75rem; border-top: 2px solid var(--chalk-lit); }
.lists li { color: var(--lime-2); padding: 0.15rem 0; }

.js .pour__stage { height: 100vh; height: 100svh; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.js .pour__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.js .is-gl .pour__gl { display: block; }
.js .pour__head {
  position: relative; z-index: 2; flex: none;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
  padding: calc(var(--nav-h) + clamp(0.5rem, 2.5vh, 1.75rem)) var(--gutter) clamp(0.75rem, 2.5vh, 1.5rem);
}
.js .pour__head h2 { font-size: clamp(1.5rem, 3.2vw, 2.75rem); }
.js .pour__count { display: flex; align-items: baseline; gap: 1.25rem; font-weight: 600; font-stretch: 112%; white-space: nowrap; }
.js .pour__now { color: var(--lime); }
.js .pour__n { color: var(--lime-2); font-variant-numeric: tabular-nums; min-width: 3.2em; text-align: right; }
.js .pour__track {
  position: relative; z-index: 1; flex: 1; min-height: 0; margin: 0;
  display: flex; align-items: stretch; gap: clamp(1rem, 2.2vw, 2.5rem);
  width: max-content; padding: 0 var(--gutter); will-change: transform;
}
.js .card { flex: none; height: 100%; aspect-ratio: 3 / 2; }
.js .card__photo { position: absolute; inset: 0; aspect-ratio: auto; }
/* Without WebGL the photo still drifts inside its frame and dims off-centre. */
.js .card__photo img { width: 116%; margin-left: -8%; transition: none; transform: translate3d(calc(var(--d, 0) * -6%), 0, 0); opacity: calc(0.45 + 0.55 * var(--f, 1)); }
.js .card:hover .card__photo img { transform: translate3d(calc(var(--d, 0) * -6%), 0, 0); }
.js .is-gl .card__photo { background: none; }
.js .is-gl .card__photo::after { content: none; }
.js .is-gl .card__photo img { opacity: 0; }
.js .card__text h3 { font-size: clamp(1.6rem, 4.4vh + 1vw, 3.6rem); }
.js .card__text p { font-size: clamp(1rem, 1.3vw, 1.2rem); }
.js .card__text span { transform: translate3d(0, 110%, 0); transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .card__text p span { transition-delay: 0.08s; }
.js .card.is-in .card__text span { transform: none; }
.js .card--intro, .js .card--lists { aspect-ratio: auto; display: flex; flex-direction: column; justify-content: center; }
.js .card--intro { width: clamp(18rem, 34vw, 30rem); }
.js .card--lists { width: clamp(20rem, 52vw, 46rem); padding-left: clamp(1rem, 3vw, 3rem); border-left: 2px solid rgba(241, 239, 234, 0.22); }
.js .card__hint { display: block; margin-top: 1.5rem; color: var(--lime-2); font-size: 0.9375rem !important; }
.js .pour__rail { display: block; position: relative; z-index: 2; flex: none; height: 2px; margin: clamp(1rem, 3vh, 2rem) var(--gutter) clamp(1.25rem, 4vh, 2.5rem); background: rgba(241, 239, 234, 0.18); }
.js .pour__rail i { position: absolute; inset: 0; background: var(--chalk-lit); transform-origin: 0 50%; transform: scaleX(0); }

/* Bands */
.band { padding: clamp(4rem, 11vw, 9rem) 0; border-top: 2px solid var(--chalk); }
.band--alt { background: var(--cured-2); }
.band--dark { background: var(--slab); color: var(--lime); border-top-color: var(--chalk-lit); }
.wrap { padding: 0 var(--gutter); max-width: 96rem; margin: 0 auto; }
.wrap > h2 + .lead { margin-top: 1.25rem; }
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); }
.split .lead { margin-top: 1.5rem; }
.split .lead + p { margin-top: 1rem; max-width: 46ch; color: var(--ink-2); }
.split h3 { margin-bottom: 1rem; }

.proj { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.proj__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem; margin-bottom: 1rem; }
.proj__head h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 800; font-stretch: 125%; }
.proj__head p { color: var(--ink-2); }
.strip { display: flex; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: var(--gutter); margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 0.75rem; scrollbar-width: thin; scrollbar-color: var(--ink-2) transparent; }
.strip:empty { display: none; }
.strip img { height: clamp(12rem, 24vw, 19rem); width: auto; max-width: none; scroll-snap-align: start; background: var(--cured-2); }
.more { margin-top: 3rem; font-weight: 600; }

.wall { margin-top: clamp(2rem, 5vw, 4rem); columns: 4 15rem; column-gap: 2.5rem; }
.wall li { break-inside: avoid; padding: 0.55rem 0; border-bottom: 1px solid rgba(241, 239, 234, 0.18); font-weight: 500; font-stretch: 112%; }

.rules li { padding: 0.8rem 0; border-top: 1px solid rgba(27, 28, 29, 0.25); max-width: 44ch; }
.plain li { padding: 0.3rem 0; }
.contact { padding-bottom: 2.5rem; }
.contact__phone { margin-top: 1rem; }
.contact__phone a {
  font-weight: 900; font-stretch: 125%; font-size: min(10.2vw, 9rem); white-space: nowrap;
  line-height: 0.95; letter-spacing: -0.035em; text-decoration: none; color: var(--lime);
}
.contact__phone a:hover { color: var(--chalk-lit); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 2.5rem; margin-top: clamp(2.5rem, 6vw, 5rem); }
.cols h3 { margin-bottom: 0.75rem; color: var(--lime-2); font-weight: 600; }
.cols p { margin-top: 0.75rem; }
.team div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 1rem; padding: 0.4rem 0; border-bottom: 1px solid rgba(241, 239, 234, 0.18); }
.team dt { font-weight: 600; }
.team dd { color: var(--lime-2); }
.sign { display: flex; align-items: flex-end; gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: clamp(2.5rem, 6vw, 5rem); }
.sign__mark { flex: none; height: clamp(9rem, 17vw, 14rem); width: auto; }
.areas { max-width: 70ch; color: var(--lime-2); }
.fine { margin-top: 2.5rem; font-size: 0.8125rem; color: var(--lime-2); }

@media (max-width: 54rem) {
  .nav nav { display: none; }
  .nav { gap: 0.75rem; }
  .nav__brand { gap: 0.5rem; }
  .sign { flex-direction: column; align-items: flex-start; }
  .nav__brand, .nav__call { font-size: 0.875rem; }
  .nav__call { padding: 0.35rem 0.6rem; }
  .split { grid-template-columns: 1fr; }
  .lift__phases { top: calc(var(--nav-h) + 1.5rem); transform: none; gap: 0.9rem; font-size: 0.9375rem; }
}
@media (max-aspect-ratio: 4/5) {
  .name__mark { font-size: 22.5vw; }
  .name__mark > span { display: block; width: max-content; }
  .name__hint { display: none !important; }
  /* Tall screens: the film takes the top of the stage and the words sit under
     it, rather than cropping a wide picture down to a sliver. */
  .lift__frames { bottom: auto; height: 56%; }
  .lift__frames::after { background: linear-gradient(to top, #17181a 0%, rgba(23, 24, 26, 0) 30%, rgba(23, 24, 26, 0) 70%, rgba(18, 19, 20, 0.45) 100%); }
  .lift__caps { bottom: auto; top: calc(56% + 1rem); }
  .js .lift__caps .cap { bottom: auto; top: 0; }
  .lift__phases { display: none !important; }
  .js .card { aspect-ratio: auto; width: 84vw; }
  .js .card--intro, .js .card--lists { width: 84vw; }
  .js .pour__now { display: none; }
}
