@font-face { font-family: "Montserrat"; src: url(../fonts/montserrat-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(../fonts/montserrat-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montez"; src: url(../fonts/montez-400.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(../fonts/instrument-serif-400.woff2) format("woff2"); font-display: swap; }

:root {
  --black: #000;
  --white: #fff;
  --grey: #a9a9a9;
  --input-border: #c4c4c4;
  --dot: #d9d9d9;

  --sans: "Montserrat", Arial, sans-serif;
  --ui: "Inter", Arial, sans-serif;
  --script: "Montez", cursive;
  --serif: "Instrument Serif", Georgia, serif;

  /* sizes follow the 1920px design and shrink on smaller screens */
  --text-xl: clamp(30px, 3.2vw, 61px);
  --text-lg: clamp(20px, 2vw, 38px);
  --text-md: clamp(16px, 1.6vw, 31px);
  --side: clamp(20px, 7.5vw, 147px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--black);
  background: var(--white);
}

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

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

.btn {
  display: inline-block;
  font-family: var(--ui);
  text-align: center;
  text-decoration: none;
  border: 0;
  border-radius: 20px;
  cursor: pointer;
}
.btn-light {
  background: var(--white);
  color: var(--black);
  font-size: clamp(18px, 1.42vw, 27px);
  padding: 0.75em 2.4em;
  min-width: clamp(220px, 18.55vw, 356px);
}
.btn-dark {
  background: var(--black);
  color: var(--white);
  font-size: clamp(16px, 1.15vw, 22px);
  padding: 0.75em 2em;
  min-width: min(285px, 100%);
}
.btn:hover { opacity: 0.85; }

/* Nav */
.nav {
  position: absolute;
  top: 36px;
  right: max(clamp(20px, 7.8vw, 150px), calc((100% - 1920px) / 2 + 150px));
  z-index: 10;
  display: flex;
  gap: clamp(24px, 5.3vw, 102px);
}
.nav a {
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  font-size: clamp(14px, 1vw, 19px);
}
.nav a:hover { text-decoration: underline; }

/* Hero slideshow */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 320px;
  overflow: hidden;
  background: var(--black);
}
.hero-track {
  display: flex;
  height: 100%;
  transition: transform 0.8s ease;
}
.hero-slide {
  position: relative;
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
/* the logo is a separate layer on top of the first photo */
.hero-logo {
  position: absolute;
  top: 25.8%;
  left: 50%;
  width: clamp(240px, 46.8vw, 898px);
  margin: 0;
  transform: translateX(-50%);
}
.hero-logo img { width: 100%; }
.hero-text {
  position: relative;
  width: min(1008px, 86vw);
  color: var(--white);
  font-size: clamp(28px, 3.4vw, 64px);
  text-align: center;
}
.hero-dots {
  position: absolute;
  bottom: min(62px, 10vh);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 3px;
}
/* padding makes the tap area bigger than the visible dot */
.hero-dots button {
  box-sizing: content-box;
  width: 12px;
  height: 12px;
  padding: 8px;
  border: 0;
  border-radius: 50%;
  background: var(--dot);
  background-clip: content-box;
  cursor: pointer;
}
.hero-dots button.active { width: 20px; height: 20px; }

/* Life of a founder */
.founder {
  padding: clamp(60px, 8vw, 156px) 20px clamp(60px, 7vw, 137px);
  text-align: center;
}
.founder h2 {
  font-weight: 400;
  font-size: var(--text-xl);
}
.founder p {
  max-width: 1560px;
  margin: clamp(24px, 3.4vw, 66px) auto 0;
  font-size: var(--text-md);
}
.founder img {
  width: min(1250px, 100%);
  margin: clamp(30px, 3.6vw, 69px) auto 0;
}

/* About */
.about {
  padding: clamp(50px, 5.4vw, 103px) 0 clamp(50px, 3.6vw, 70px);
  background: var(--black);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.welcome {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0 0.3em;
  max-width: 1572px;
  margin: 0 auto;
  padding: 0 20px;
  font-weight: 500;
  font-size: var(--text-xl);
}
.welcome img { width: min(481px, 45vw); }
.synopsis {
  max-width: 1572px;
  margin: clamp(20px, 1.8vw, 34px) auto 0;
  padding: 0 20px;
  font-size: var(--text-md);
}
.chapter-title {
  margin-top: clamp(30px, 3.5vw, 68px);
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(50px, 5.2vw, 99px);
}

/* Chapter carousel */
.chapters {
  --card-w: min(1210px, 63vw);
  --arrow: clamp(36px, 3.1vw, 60px);
  --arrow-box: max(44px, var(--arrow));
  position: relative;
  height: calc(var(--card-w) * 0.588);
  margin-top: clamp(30px, 2.7vw, 52px);
}
.chapter {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--card-w);
  aspect-ratio: 1340 / 772;
  margin-left: calc(var(--card-w) / -2);
  transition: transform 0.6s ease, opacity 0.6s ease;
}
/* light rim under each card */
.chapter::before {
  content: "";
  position: absolute;
  inset: 11px 0 -11px;
  border-radius: 63px;
  background: rgba(255, 255, 255, 0.54);
}
.chapter img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 63px;
  border: 3px solid var(--white);
}
.chapter::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 63px;
  background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.1) 40%, transparent 41%);
  transition: background 0.6s ease;
}
.chapter figcaption {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 11%;
  z-index: 1;
  font-size: var(--text-md);
}

.chapter[data-pos="0"] { z-index: 3; }
.chapter[data-pos="1"] { z-index: 2; transform: translateX(13.5%) scale(0.9); }
.chapter[data-pos="-1"] { z-index: 2; transform: translateX(-13.5%) scale(0.9); }
.chapter[data-pos="2"] { z-index: 1; transform: translateX(25.5%) scale(0.81); }
.chapter[data-pos="-2"] { z-index: 1; transform: translateX(-25.5%) scale(0.81); }
.chapter[data-pos="1"]::after,
.chapter[data-pos="-1"]::after { background: rgba(0, 0, 0, 0.5); }
.chapter[data-pos="2"]::after,
.chapter[data-pos="-2"]::after { background: rgba(0, 0, 0, 0.7); }
.chapter:not([data-pos="0"]) figcaption { opacity: 0; }
.chapter[data-pos="3"] { z-index: 0; transform: scale(0.7); opacity: 0; pointer-events: none; }

.chapter-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  /* at least 44px to tap, even when the icon is smaller */
  width: var(--arrow-box);
  height: var(--arrow-box);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.chapter-arrow img {
  width: var(--arrow);
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.7));
}
/* arrows sit in the middle of the peeking side cards */
.chapter-arrow.prev { left: calc(50% - var(--card-w) * 0.58 - var(--arrow-box) / 2); transform: translateY(-50%) rotate(90deg); }
.chapter-arrow.next { right: calc(50% - var(--card-w) * 0.58 - var(--arrow-box) / 2); transform: translateY(-50%) rotate(-90deg); }

.event {
  max-width: 1920px;
  margin: 0 auto;
}
.event-title {
  margin-top: clamp(50px, 7.4vw, 143px);
  padding: 0 var(--side);
  font-weight: 500;
  font-size: var(--text-xl);
  text-align: left;
}
.event-text {
  max-width: calc(1572px + 2 * var(--side));
  margin-top: clamp(20px, 2.1vw, 41px);
  padding: 0 var(--side);
  font-size: var(--text-md);
  text-align: left;
}
.synopsis p + p, .event-text p + p { margin-top: 1em; }
.tagline {
  margin-top: clamp(30px, 4.2vw, 80px);
  padding: 0 20px;
  font-family: var(--serif);
  font-size: clamp(34px, 3.85vw, 74px);
}
.order {
  margin: 20px 0 clamp(24px, 1.8vw, 35px);
  padding: 0 20px;
  font-size: var(--text-md);
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1164px) minmax(0, 364px);
  justify-content: space-between;
  gap: 40px;
  padding: clamp(50px, 3.75vw, 72px) var(--side) clamp(40px, 3vw, 58px);
  font-family: var(--ui);
  max-width: 1920px;
  margin: 0 auto;
}
.contact h2 {
  font-weight: 400;
  font-size: clamp(32px, 2.4vw, 46px);
}
.contact-form > p {
  margin-top: 16px;
  font-size: clamp(15px, 1.1vw, 21px);
}
#enquiry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px clamp(24px, 9vw, 176px);
  margin-top: 40px;
}
#enquiry label {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-weight: 500;
  font-size: clamp(15px, 1.1vw, 21px);
}
#enquiry .full { grid-column: 1 / -1; }
#enquiry input {
  width: 100%;
  min-width: 0;
  height: clamp(54px, 4.2vw, 80px);
  padding: 0 20px;
  font: inherit;
  font-weight: 400;
  border: 2px solid var(--input-border);
  border-radius: 8px;
}
/* our icon only where the browser's own can be hidden (not Firefox) */
@supports selector(::-webkit-calendar-picker-indicator) {
  #enquiry input[type="date"] {
    background: url(../images/calendar.svg) no-repeat right 22px center / 24px;
  }
}
/* iPhone/iPad: keep the date left-aligned like the other fields */
@supports (-webkit-touch-callout: none) {
  #enquiry input[type="date"] { -webkit-appearance: none; appearance: none; text-align: left; }
  #enquiry input[type="date"]::-webkit-date-and-time-value { text-align: left; }
}
/* hide the browser's own calendar icon, the design has its own */
#enquiry input[type="date"]::-webkit-calendar-picker-indicator {
  width: 40px;
  height: 40px;
  opacity: 0;
  cursor: pointer;
}
#enquiry input[type="date"]:focus-within {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}
#enquiry button {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 25px;
  border-radius: 999px;
}
.form-status {
  grid-column: 1 / -1;
  text-align: center;
  min-height: 1.2em;
}
.form-status a { color: inherit; }
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}

.contact-side {
  display: flex;
  flex-direction: column;
  /* heading + intro line + form gap, so "Email" sits level with "Name" */
  padding-top: calc(1.21 * clamp(32px, 2.4vw, 46px) + 1.21 * clamp(15px, 1.1vw, 21px) + 56px);
  font-size: clamp(15px, 0.95vw, 18px);
}
/* same style as the form labels so it lines up with "Name" */
.side-label {
  font-weight: 500;
  font-size: clamp(15px, 1.1vw, 21px);
}
.email {
  display: block;
  margin-top: 14px;
  color: var(--black);
}
.follow {
  display: flex;
  align-items: center;
  gap: 16px;
  /* push Follow down so it lines up with the Submit button */
  margin-top: auto;
  margin-bottom: calc(35px + 19.2px + (2.71 * clamp(16px, 1.15vw, 22px) - 40px) / 2);
  font-size: clamp(18px, 1.15vw, 22px);
  font-weight: 500;
}
.follow a { color: var(--black); }
.follow img { display: block; }

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 max(var(--side), calc((100% - 1920px) / 2 + var(--side)));
  padding: clamp(40px, 3.9vw, 75px) 0 40px;
  border-top: 1px solid var(--grey);
  font-family: var(--ui);
}
.footer nav { display: flex; flex-wrap: wrap; gap: 20px 77px; }
.footer a { color: var(--black); font-size: clamp(14px, 1vw, 19px); }
.footer p { font-family: var(--sans); font-size: clamp(12px, 0.8vw, 15px); }

@media (max-width: 1200px) {
  .contact { grid-template-columns: 1fr; }
  .contact-side { padding-top: 0; }
  .follow { margin-top: 30px; margin-bottom: 0; }
}

@media (max-width: 900px) {
  .chapters { --card-w: 86vw; }
  .chapter::before, .chapter img, .chapter::after { border-radius: 24px; }
  .chapter[data-pos="2"], .chapter[data-pos="-2"] { opacity: 0; }
  .chapter[data-pos="1"] { transform: translateX(6%) scale(0.9); }
  .chapter[data-pos="-1"] { transform: translateX(-6%) scale(0.9); }
  .chapter figcaption { bottom: 8%; }
  .chapter-arrow.prev { left: 2px; }
  .chapter-arrow.next { right: 2px; }

  #enquiry { grid-template-columns: 1fr; gap: 24px; }
  .footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .hero-dots button { width: 8px; height: 8px; }
  .hero-dots button.active { width: 12px; height: 12px; }
}

@media (max-width: 480px) {
  .chapter figcaption { left: 6%; right: 6%; bottom: 7%; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-track, .chapter { transition: none; }
}
