:root {
  --ink: #12110f;
  --ink-soft: #2a2824;
  --paper: #f6f3ee;
  --cream: #fbf8f3;
  --stone: #e8e3d9;
  --muted: #6f6a62;
  --line: rgba(18, 17, 15, 0.12);
  --white: #fff;
  --serif: "Newsreader", "Times New Roman", serif;
  --sans: "Outfit", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 20px max(20px, env(safe-area-inset-left));
}

.site-header.is-dark {
  color: #f6f3ee;
}

.site-header.is-light {
  position: sticky;
  top: 0;
  background: rgba(251, 248, 243, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.28em;
  font-size: 14px;
}

.logo span {
  opacity: 0.45;
  margin-left: 8px;
  letter-spacing: 0.18em;
}

.menu-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  gap: 6px;
}

.menu-btn i,
.menu-btn i::before,
.menu-btn i::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.35s var(--ease);
}

.menu-btn i::before,
.menu-btn i::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn i::before { top: -6px; }
.menu-btn i::after { top: 6px; }

.hero,
.hero * {
  color: #f6f3ee;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: var(--paper);
  z-index: 30;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-overlay nav {
  display: grid;
  gap: 18px;
  text-align: center;
}

.nav-overlay a {
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 80px);
  line-height: 1;
}

.nav-overlay a:hover {
  opacity: 0.55;
}

.nav-close {
  position: absolute;
  top: max(28px, env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
  min-height: 44px;
  padding: 0 8px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  background: #161513;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
}

.hero-copy {
  padding: 120px 72px 80px;
}

.hero h1 {
  font-size: clamp(52px, 7vw, 92px);
  max-width: 9ch;
  margin-bottom: 28px;
}

.hero blockquote {
  max-width: 38ch;
  color: rgba(246, 243, 238, 0.72);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-visual {
  height: 100vh;
  height: 100svh;
  min-height: 280px;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.btn::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.btn:hover::after {
  transform: translateX(4px);
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* Sections */
.section {
  padding: 120px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(40px, 6vw, 68px);
  margin-top: 16px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.gallery figure {
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.gallery a {
  display: block;
  height: 100%;
}

.gallery img,
.triptych img,
.cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery figure:hover img,
.triptych figure:hover img {
  transform: scale(1.05);
}

.brands {
  text-align: center;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
  padding: 48px 0 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brand-card {
  min-height: 120px;
  display: grid;
  place-items: center;
  padding: 20px 16px;
  color: var(--ink);
}

.brand-logo {
  width: min(200px, 100%);
  max-height: 40px;
  object-fit: contain;
  object-position: center;
}

.brand-card:hover {
  opacity: 0.6;
}

.brand-mark {
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  font-size: 28px;
}

.brand-mark small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 6px;
  opacity: 0.5;
}

.triptych {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
  padding: 72px 0 0;
}

.triptych figure {
  overflow: hidden;
  height: 420px;
}

.contact-band {
  background: var(--stone);
  text-align: center;
}

.contact-band h2 {
  font-size: clamp(42px, 6vw, 72px);
  margin: 16px 0 18px;
}

.contact-band p {
  color: var(--muted);
  margin-bottom: 32px;
}

.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.about h2 {
  font-size: clamp(42px, 6vw, 68px);
}

.about p + p {
  margin-top: 18px;
}

.about p {
  color: var(--ink-soft);
  max-width: 52ch;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 72px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.site-footer h3 {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 16px;
}

.site-footer p,
.site-footer a {
  font-size: 15px;
  line-height: 1.7;
}

.site-footer a:hover {
  opacity: 0.65;
}

.socials {
  display: flex;
  gap: 14px;
}

.footer-name {
  margin-top: 56px;
  text-align: center;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 13px;
  opacity: 0.4;
}

/* Inner pages */
.page-hero {
  padding: 48px 0 48px;
}

.page-hero h1 {
  font-size: clamp(48px, 7vw, 84px);
  max-width: 12ch;
}

.page-hero p {
  max-width: 46ch;
  color: var(--muted);
  margin-top: 20px;
}

.brand-list {
  display: grid;
  gap: 28px;
  padding-bottom: 80px;
}

.brand-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.brand-row-visual {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.brand-row-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-row-copy {
  display: grid;
  gap: 20px;
  justify-items: start;
}

.brand-row-copy .brand-logo {
  max-height: 36px;
  width: auto;
  max-width: min(220px, 70vw);
}

.brand-row p {
  color: var(--muted);
}

.page-cover {
  height: min(480px, 60vw);
  overflow: hidden;
}

.footer-credit {
  margin-top: 40px;
  font-size: 12px;
  opacity: 0.4;
  max-width: 72ch;
}

.form {
  display: grid;
  gap: 16px;
  max-width: 560px;
}

.form input,
.form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 16px 0;
  font: inherit;
  color: var(--ink);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  padding-bottom: 120px;
}

.contact-aside {
  background: var(--ink);
  color: var(--paper);
  padding: 48px;
  min-height: 100%;
}

.contact-aside h3 {
  font-family: var(--serif);
  font-size: 32px;
  margin-bottom: 20px;
}

.contact-aside p {
  opacity: 0.75;
}

@media (max-width: 1199px) {
  .hero-copy {
    padding: 120px 48px 72px;
  }

  .section {
    padding: 96px 0;
  }
}

@media (max-width: 1023px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    height: min(62svh, 560px);
    order: -1;
  }

  .hero-copy {
    padding: 56px 32px 72px;
  }

  .gallery,
  .brand-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .triptych {
    grid-template-columns: 1fr;
  }

  .triptych figure {
    height: min(420px, 56vw);
  }

  .about,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .brand-row {
    gap: 28px;
  }
}

@media (max-width: 767px) {
  .wrap {
    width: min(1180px, calc(100% - 32px));
  }

  .hero h1,
  .page-hero h1,
  .section-head h2,
  .contact-band h2,
  .about h2 {
    font-size: clamp(36px, 11vw, 56px);
  }

  .hero-copy {
    padding: 40px 20px 64px;
  }

  .hero-visual {
    height: min(48svh, 420px);
  }

  .gallery,
  .brand-grid,
  .brand-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery figure {
    aspect-ratio: 5 / 4;
  }

  .section,
  .contact-layout,
  .page-hero {
    padding-left: 0;
    padding-right: 0;
  }

  .page-hero {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .brand-row-visual {
    aspect-ratio: 16 / 10;
  }

  .contact-aside {
    padding: 32px 24px;
  }

  .nav-overlay a {
    font-size: clamp(36px, 10vw, 56px);
  }
}

@media (max-width: 429px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: min(1180px, calc(100% - 24px));
  }

  .hero-copy {
    padding: 36px 16px 56px;
  }

  .btn {
    min-height: 44px;
    width: 100%;
    justify-content: center;
  }

  .brand-card {
    min-height: 88px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    grid-template-columns: 1fr 1fr;
    min-height: 100svh;
  }

  .hero-visual {
    height: 100svh;
    order: 0;
  }

  .hero-copy {
    padding: 72px 28px 40px;
  }

  .hero h1 {
    font-size: clamp(32px, 6vw, 52px);
  }
}
