:root {
  --black: #10100f;
  --near-black: #171716;
  --paper: #f2efe8;
  --white: #ffffff;
  --cork: #a86f42;
  --cork-light: #d6a679;
  --line: rgba(255, 255, 255, 0.34);
  --ease: cubic-bezier(.2,.72,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  overflow-x: hidden;
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: .75rem 1rem;
  color: var(--black);
  background: var(--white);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.topbar {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 68px;
  padding: 0 clamp(1.25rem, 3vw, 3.5rem);
  color: var(--white);
  mix-blend-mode: difference;
  pointer-events: none;
}
.topbar-mark {
  font-weight: 800;
  letter-spacing: .075em;
  font-size: .86rem;
}
.topbar-note {
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .72;
}
.topbar-count {
  justify-self: end;
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
}

.slide-nav {
  position: fixed;
  z-index: 35;
  right: clamp(1rem, 2.2vw, 2.25rem);
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(-50%);
}
.slide-nav a {
  position: relative;
  width: 21px;
  height: 10px;
}
.slide-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 4px;
  width: 9px;
  height: 1px;
  background: rgba(255,255,255,.55);
  box-shadow: 0 0 0 1px rgba(16,16,15,.14);
  transition: width .35s var(--ease), background .35s var(--ease);
}
.slide-nav a[aria-current="true"]::after,
.slide-nav a:hover::after,
.slide-nav a:focus-visible::after {
  width: 21px;
  background: var(--white);
}

.slide {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.photo-slide {
  display: flex;
  background-image: var(--image);
  background-size: cover;
  background-position: center;
}
.shade { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.shade-bottom { background: linear-gradient(180deg, rgba(8,8,8,.08) 28%, rgba(8,8,8,.2) 55%, rgba(8,8,8,.82) 100%); }
.shade-left { background: linear-gradient(90deg, rgba(8,8,8,.78) 0%, rgba(8,8,8,.5) 34%, transparent 67%); }
.shade-full { background: rgba(8,8,8,.34); }

.eyebrow {
  margin: 0 0 1.4rem;
  font-size: .76rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow.dark { color: rgba(16,16,15,.58); }

h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 {
  margin: 0;
  font-family: presicav, Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -.045em;
}
h1 { font-size: clamp(2.8rem, 6.7vw, 7rem); line-height: .92; }
h2 { font-size: clamp(2.25rem, 4.5vw, 5.05rem); line-height: .99; }
h3 { font-size: clamp(1.45rem, 2.1vw, 2.2rem); line-height: 1.04; }
p { margin: 0; }

.opening { align-items: flex-end; padding: 8.5rem clamp(1.5rem, 6vw, 7rem) clamp(3rem, 8vh, 6rem); background-position: center 42%; }
.opening-copy { max-width: 76rem; }
.opening .lead {
  margin-top: 2rem;
  max-width: 32rem;
  font-size: clamp(1.05rem, 1.6vw, 1.5rem);
  line-height: 1.3;
}
.text-link {
  display: inline-flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid rgba(255,255,255,.65);
  font-size: .85rem;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.text-link span { transition: transform .3s var(--ease); }
.text-link:hover span { transform: translateY(.28rem); }

.split-slide {
  display: grid;
  grid-template-columns: 57% 43%;
  background: var(--paper);
  color: var(--black);
}
.split-image, .construction-photo {
  min-height: 100svh;
  background-image: var(--image);
  background-size: cover;
  background-position: center;
}
.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem clamp(2rem, 5vw, 6.5rem);
}
.split-copy h2 { font-size: clamp(2.3rem, 3.75vw, 4.35rem); }
.split-copy > p:not(.eyebrow) {
  max-width: 32rem;
  margin-top: 2.25rem;
  color: rgba(16,16,15,.72);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
}
.split-copy .pull-line {
  padding-top: 2rem;
  border-top: 1px solid rgba(16,16,15,.22);
  color: var(--black) !important;
}

.board-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem clamp(1rem, 4vw, 4rem) 2rem;
  background: #111;
}
.board-heading {
  position: absolute;
  z-index: 3;
  top: clamp(5.3rem, 9vh, 7rem);
  left: clamp(1.2rem, 4vw, 4rem);
  pointer-events: none;
}
.board-heading .brand-word { font-weight: 800; letter-spacing: .08em; }
.board-heading h2 { margin-top: .6rem; font-size: clamp(1.2rem, 1.95vw, 1.95rem); letter-spacing: -.02em; }
.board-heading > p:last-child { margin-top: .45rem; color: rgba(255,255,255,.6); font-size: .84rem; }
.board-stage {
  position: relative;
  width: min(100%, 1680px);
  aspect-ratio: 2752 / 1413;
  margin: 1.5rem auto 0;
  overflow: hidden;
}
.board-stage::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 27%;
  width: 46%;
  height: 5.25%;
  background: #111;
  pointer-events: none;
}
.board-stage img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(-15.54%);
}
.hotspot {
  position: absolute;
  z-index: 4;
  left: var(--x);
  top: var(--y);
  width: clamp(2.2rem, 3.2vw, 3.8rem);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
}
.hotspot::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid transparent;
  border-radius: inherit;
  transition: inset .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.hotspot:hover::after,
.hotspot:focus-visible::after,
.hotspot[aria-pressed="true"]::after {
  inset: 0;
  border-color: var(--white);
  box-shadow: 0 0 0 5px rgba(255,255,255,.15);
}
.hotspot:focus-visible { outline: none; }
.feature-card {
  position: absolute;
  z-index: 8;
  right: clamp(2.7rem, 6vw, 7rem);
  bottom: clamp(2rem, 6vh, 5rem);
  width: min(31rem, calc(100vw - 4rem));
  padding: clamp(1.6rem, 3vw, 2.8rem);
  color: var(--black);
  background: rgba(244,241,233,.97);
  box-shadow: 0 2rem 5rem rgba(0,0,0,.32);
  animation: cardIn .35s var(--ease) both;
}
.feature-card h3 { padding-right: 2rem; }
.feature-card > p:last-child { margin-top: 1.4rem; color: rgba(16,16,15,.72); font-size: 1.02rem; }
.feature-close {
  position: absolute;
  top: 1.15rem;
  right: 1.3rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: none;
  color: var(--black);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(1.25rem); } }

.caption-panel {
  align-self: flex-end;
  margin: 0 0 clamp(3rem, 9vh, 7.5rem) clamp(1.5rem, 6vw, 7rem);
  max-width: 64rem;
}
.caption-panel h2 { text-shadow: 0 2px 22px rgba(0,0,0,.16); }
.caption-panel > p:not(.eyebrow) {
  max-width: 35rem;
  margin-top: 2rem;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}
.caption-panel.compact { max-width: 48rem; }
.caption-panel.compact h2 { font-size: clamp(2.55rem, 5vw, 5.65rem); }
.caption-panel.compact > p:not(.eyebrow) { max-width: 34rem; margin-top: 1.35rem; }

.rhythm-slide { align-items: flex-end; justify-content: center; background-position: center 52%; }
.centred-statement {
  width: min(82rem, calc(100% - 3rem));
  margin-bottom: clamp(3rem, 8vh, 6rem);
  text-align: center;
}
.centred-statement > p:last-child {
  width: min(42rem, 100%);
  margin: 1.8rem auto 0;
  font-size: clamp(1rem, 1.45vw, 1.3rem);
}

.construction-slide {
  display: grid;
  grid-template-columns: 47% 53%;
  color: var(--black);
  background: var(--paper);
}
.construction-photo { background-position: center; }
.construction-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem clamp(2rem, 6vw, 7rem);
}
.construction-panel h2 { font-size: clamp(2.35rem, 3.85vw, 4.3rem); }
.construction-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: clamp(2rem, 6vh, 4.5rem);
}
.construction-tabs button {
  padding: .58rem .9rem;
  border: 1px solid rgba(16,16,15,.22);
  border-radius: 999px;
  color: rgba(16,16,15,.67);
  background: transparent;
  cursor: pointer;
}
.construction-tabs button[aria-selected="true"] {
  color: var(--paper);
  background: var(--black);
  border-color: var(--black);
}
.construction-tabs button:focus-visible { outline: 2px solid var(--cork); outline-offset: 2px; }
.construction-detail {
  min-height: 11rem;
  margin-top: 2rem;
  padding-top: 1.7rem;
  border-top: 1px solid rgba(16,16,15,.2);
  max-width: 39rem;
}
.detail-kicker { margin-bottom: .65rem; font-weight: 700; }
#construction-copy {
  color: rgba(16,16,15,.7);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
}
#construction-copy ul {
  display: grid;
  gap: .6rem;
  margin: 0;
  padding-left: 1.15rem;
}
#construction-copy li { padding-left: .2rem; }

.lasting-slide { align-items: flex-end; background-position: center; }
.material-notes {
  position: absolute;
  right: clamp(3rem, 7vw, 8rem);
  bottom: clamp(3rem, 8vh, 6rem);
  display: flex;
  flex-direction: column;
  gap: .8rem;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: right;
}
.material-notes li {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.shaper-slide {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  min-height: 100svh;
  background: var(--near-black);
}
.shaper-image {
  min-height: 100svh;
  background-image: url('assets/luis-lacrau-shaping.jpg');
  background-position: center;
  background-size: cover;
}
.shaper-copy {
  align-self: center;
  max-width: 35rem;
  padding: 7rem clamp(2rem, 5vw, 5rem);
}
.shaper-copy h2 { font-size: clamp(2.2rem, 4vw, 4.5rem); }
.shaper-copy > p:not(.eyebrow):not(.signature) { margin-top: 2rem; color: rgba(255,255,255,.7); font-size: clamp(1.05rem, 1.4vw, 1.28rem); }
.shaper-copy .signature { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.2); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }

.final-slide { align-items: center; justify-content: center; background-position: center; text-align: center; }
.final-copy { width: min(80rem, calc(100% - 3rem)); }
.final-copy h2 { font-size: clamp(2.55rem, 5.85vw, 6.35rem); }
.final-copy > p:not(.eyebrow) { margin-top: 2rem; font-size: clamp(1.05rem, 1.5vw, 1.35rem); }
.actions { display: flex; justify-content: center; gap: .75rem; margin-top: 2.5rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: .8rem 1.25rem;
  border: 1px solid var(--white);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.button.primary { color: var(--black); background: var(--white); }
.button.primary:hover { color: var(--white); background: transparent; }
.button.ghost:hover { color: var(--black); background: var(--white); }
.final-links {
  position: absolute;
  bottom: 1.5rem;
  display: flex;
  gap: 1.25rem;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

[data-reveal] { opacity: 0; transform: translateY(1.4rem); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (min-width: 900px) {
  .slide { scroll-snap-align: start; }
  html { scroll-snap-type: y proximity; }
}

@media (max-width: 899px) {
  .topbar { height: 56px; padding: 0 1rem; grid-template-columns: 1fr 1fr; }
  .topbar-note { display: none; }
  .slide-nav { right: .65rem; gap: 8px; }
  .slide-nav a { width: 14px; }
  .slide-nav a::after { width: 6px; }
  .slide-nav a[aria-current="true"]::after { width: 14px; }
  .opening { padding: 7rem 1.5rem 3rem; }
  .opening h1 { font-size: clamp(2.65rem, 12.5vw, 4.7rem); }
  .split-slide, .construction-slide { grid-template-columns: 1fr; }
  .split-image, .construction-photo { min-height: 50svh; }
  .split-copy, .construction-panel { min-height: 50svh; padding: 5rem 1.5rem 3.5rem; }
  .split-copy h2, .construction-panel h2 { font-size: clamp(2.15rem, 9.2vw, 3.7rem); }
  .board-slide { min-height: 100svh; padding: 8rem .75rem 2.5rem; justify-content: center; overflow-y: auto; }
  .board-heading { top: 4.5rem; left: 1.25rem; }
  .board-heading h2 { font-size: 1.1rem; }
  .board-stage { width: 100%; margin-top: 2rem; }
  .hotspot {
    width: 3.25rem;
    background: transparent;
  }
  .hotspot::before {
    content: "+";
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 1.8rem;
    height: 1.8rem;
    place-items: center;
    border-radius: 50%;
    color: var(--black);
    background: rgba(242,239,232,.97);
    box-shadow: 0 .2rem .7rem rgba(0,0,0,.38);
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1;
    transform: translate(-50%, -50%);
  }
  .feature-card { position: fixed; right: .75rem; bottom: .75rem; left: .75rem; width: auto; max-height: 48svh; overflow: auto; }
  .caption-panel { margin: auto 2.5rem 3.5rem 1.5rem; }
  .caption-panel h2, .caption-panel.compact h2 { font-size: clamp(2.35rem, 10.8vw, 4.2rem); }
  .shade-left { background: linear-gradient(0deg, rgba(8,8,8,.86) 0%, rgba(8,8,8,.4) 56%, transparent 100%); }
  .shape-slide { background-position: 63% center; }
  .rhythm-slide { background-position: 56% center; }
  .centred-statement { margin-bottom: 4rem; }
  .construction-panel { min-height: 58svh; }
  .construction-tabs { gap: .45rem; }
  .construction-tabs button { font-size: .84rem; }
  .lasting-slide { background-position: 55% center; }
  .material-notes { display: none; }
  .shaper-slide { display: grid; grid-template-columns: 1fr; }
  .shaper-image { min-height: 55svh; background-position: center 42%; }
  .shaper-copy { max-width: none; padding: 4rem 1.5rem; }
  .final-copy h2 { font-size: clamp(2.55rem, 10vw, 4.3rem); }
  .actions { flex-direction: column; align-items: stretch; width: min(22rem, 100%); margin-right: auto; margin-left: auto; }
  .final-links { bottom: 1rem; flex-direction: column; gap: .3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
