:root {
  --background: oklch(0.33 0.012 257);
  --foreground: oklch(0.97 0 0);
  --primary: oklch(0.56 0.17 25);
  --primary-foreground: oklch(0.98 0 0);
  --muted-foreground: oklch(0.88 0.008 257);
  --border: oklch(0.68 0.015 257);

  --font-display: "Archivo", "Helvetica Neue", sans-serif;
  --font-sans: "Archivo", "Helvetica Neue", sans-serif;
}

/* Reset (matches the normalising layer the source relied on) */
*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid var(--border);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  font-size: inherit;
  font-weight: inherit;
}

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

button {
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  background-image: none;
  -webkit-appearance: button;
  cursor: pointer;
}

main {
  background-color: var(--background);
  color: var(--foreground);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 1rem 1.5rem;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
}

.brand {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  text-decoration: none;
  color: var(--foreground);
}

/* Hamburger: the nav collapses into a panel below the header on small screens */
.menu-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: 9999px;
}

.menu-bar {
  width: 18px;
  height: 1px;
  background-color: var(--foreground);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  flex-direction: column;
  padding: 0.25rem 1.5rem 1rem;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
}

.site-header.is-open .nav {
  display: flex;
}

.nav a {
  padding: 0.875rem 0;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  text-decoration: none;
  color: var(--muted-foreground);
  transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--foreground);
}

/* Banner — the artwork keeps its own ratio, so nothing is cropped or letterboxed */
.banner {
  width: 100%;
  background-color: var(--background);
}

.banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Quote */
.quote {
  padding: 5rem 1.5rem 2rem;
}

.quote figure {
  margin-inline: auto;
  width: fit-content;
  max-width: 56rem;
}

.quote blockquote {
  font-family: var(--font-sans);
  font-weight: 100;
  line-height: 1.7;
  letter-spacing: 0.04em;
  font-size: clamp(11px, 1.65vw, 21px);
  color: color-mix(in oklab, var(--foreground) 65%, transparent);
}

.quote figcaption {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted-foreground);
}

/* Section headings */
.heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-inline: 1.5rem;
}

.heading-body {
  min-width: 0;
}

.kicker {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted-foreground);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--foreground);
  font-size: 3.25rem;
}

/* Censored — horizontal swipe */
#censored {
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

.swipe {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.swipe::-webkit-scrollbar {
  display: none;
}

.swipe-slide {
  width: 100%;
  flex-shrink: 0;
  scroll-snap-align: center;
  padding-inline: 1.5rem;
}

.swipe-slide img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
}

.swipe-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-inline: 1.5rem;
}

.swipe-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  height: 0.25rem;
  width: 2.5rem;
  background-color: var(--border);
  transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot.is-active {
  background-color: var(--primary);
}

.swipe-arrows {
  display: flex;
  gap: 0.5rem;
}

.arrow {
  height: 2.75rem;
  width: 2.75rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 1.125rem;
  line-height: 1;
  transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.arrow:hover {
  background-color: var(--primary);
}

/* Single-image plates */
.plate {
  padding-block: 5rem;
}

.plate-frame {
  padding-inline: 1.5rem;
}

.plate-frame img {
  margin-inline: auto;
  max-height: 90svh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted-foreground);
}

/* Speak — photographs in their own ratios: 2 up on phones, 4 up on desktop */
.heading-top {
  padding-top: 5rem;
}

.gallery {
  padding: 0 1.5rem 5rem;
}

.gallery-intro {
  margin-bottom: 3rem;
  padding-inline: 1.5rem;
  font-size: clamp(11px, 1.65vw, 21px);
  font-weight: 100;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: color-mix(in oklab, var(--foreground) 65%, transparent);
}

.photo-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.photo-row + .photo-row {
  margin-top: 2.5rem;
}

.photo-row figure {
  margin: 0;
  min-width: 0;
}

.photo-row img {
  display: block;
  width: 100%;
  height: auto;
}

.explore-btn {
  display: block;
  margin: 1rem auto 0;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted-foreground);
  transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.explore-btn:hover,
.explore-btn:focus-visible {
  color: var(--foreground);
}

/* Contact */
.contact {
  padding: 0 1.5rem 5rem;
}

.contact-intro {
  max-width: 44rem;
  margin-bottom: 3.5rem;
  font-size: clamp(13px, 1.9vw, 21px);
  font-weight: 100;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: color-mix(in oklab, var(--foreground) 65%, transparent);
}

.contact-inline {
  color: var(--foreground);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.contact-inline:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.contact-list {
  display: grid;
  gap: 2.5rem;
  margin: 0;
}

.contact-row {
  display: grid;
  gap: 0.75rem;
}

.contact-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted-foreground);
}

.contact-value {
  margin: 0;
  font-size: clamp(18px, 3.4vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.contact-value a {
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-value a:hover {
  color: var(--primary);
}

.contact-sub {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
}

.wa-button {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--foreground) !important;
  transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.wa-button:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

@media (min-width: 48rem) {
  .banner img {
    aspect-ratio: 16 / 9;
  }

  .site-header {
    padding-inline: 4rem;
  }

  .quote {
    padding: 7rem 4rem 2rem;
  }

  .quote figcaption {
    font-size: 0.75rem;
  }

  .heading {
    padding-inline: 4rem;
  }

  .section-title {
    font-size: 7rem;
  }

  #censored {
    padding-top: 4rem;
    padding-bottom: 7rem;
  }

  .swipe-slide {
    padding-inline: 4rem;
  }

  .swipe-slide img {
    aspect-ratio: 16 / 9;
  }

  .swipe-controls {
    padding-inline: 4rem;
  }

  .plate {
    padding-block: 7rem;
  }

  .plate-frame {
    padding-inline: 4rem;
  }

  .heading-top {
    padding-top: 7rem;
  }

  .gallery {
    padding: 0 4rem 7rem;
  }

  .contact {
    padding: 0 4rem 7rem;
  }

  .gallery-intro {
    padding-inline: 4rem;
  }

  .menu-toggle {
    display: none;
  }

  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    padding: 0;
    background-color: transparent;
    border-bottom: 0;
  }

  .nav a {
    padding: 0;
  }

  .photo-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 64rem) {
  .photo-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
