:root {
  --ink: #182320;
  --cream: #f1eee6;
  --lime: #d8ef65;
  --clay: #d16649;
  --line: rgba(24, 35, 32, 0.20);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}


/* =========================================================
   ANNOUNCEMENT
   ========================================================= */

.announcement {
  font: 11px "DM Mono", monospace;
  letter-spacing: .08em;
  text-align: center;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--cream);
  text-transform: uppercase;
}

.announcement span {
  color: var(--lime);
  padding: 0 12px;
}


/* =========================================================
   TOPBAR
   ========================================================= */

.topbar {
  width: 100%;
  height: 82px;
  padding: 0 4.5vw;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: var(--cream);

  /*
   * Linha fina abaixo do header
   */
  border-bottom: 1px solid rgba(24, 35, 32, 0.20);

  position: relative;
  z-index: 5;
}


/*
 * Garante que a linha fique visível
 * mesmo se outro CSS sobrescrever o border.
 */
.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: rgba(24, 35, 32, 0.20);
  pointer-events: none;
}

.brand {
  font-size: 32px;
  letter-spacing: -.1em;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
}

.brand span {
  font: 10px "DM Mono", monospace;
  vertical-align: top;
  margin-left: 4px;
  letter-spacing: 0;
}

.topbar nav {
  display: flex;
  gap: 28px;
}

.topbar nav a,
.text-link {
  color: inherit;
  text-decoration: none;
  font: 12px "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.topbar nav a:hover,
.text-link:hover {
  color: var(--clay);
}

.menu-button {
  display: none;
  background: none;
  border: 0;
  font: 12px "DM Mono", monospace;
  text-transform: uppercase;
  color: var(--ink);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  min-height: calc(100vh - 119px);

  display: grid;
  grid-template-columns: 1.05fr 1fr;

  position: relative;

  padding: 8vw 4.5vw 4.5vw;
  gap: 5vw;
}

.hero-copy {
  align-self: center;
  max-width: 590px;
}

.eyebrow {
  font: 11px "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 27px;
}

.hero h1,
.manifesto h2,
.section-heading h2,
.film h2,
.editorial h2 {
  font: 500 clamp(54px, 7.4vw, 110px) / .92 "Playfair Display", serif;
  letter-spacing: -.06em;
  margin: 0;
}

.hero h1 em,
.manifesto h2 em,
.film h2 em,
.editorial h2 em {
  font-weight: 400;
}

.intro {
  max-width: 355px;
  font-size: 18px;
  line-height: 1.45;
  margin: 35px 0;
}

.text-link {
  display: inline-block;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 7px;
}

.text-link span {
  font-size: 18px;
  margin-left: 10px;
}


/* =========================================================
   HERO IMAGE
   ========================================================= */

/*
 * A imagem original é 1667 × 2500.
 *
 * Não usamos:
 *   height: 100%;
 *   object-fit: cover;
 *
 * Assim a imagem NÃO é cortada.
 */

.hero-image {
  margin: 0;
  width: min(100%, 560px);

  justify-self: end;
  align-self: start;

  position: relative;
}

.hero-image img {
  display: block;

  width: 100%;
  height: auto;

  object-fit: contain;
}

.hero-image figcaption {
  font: 11px "DM Mono", monospace;

  position: absolute;
  bottom: 17px;
  left: 18px;

  color: #fff;
  text-transform: uppercase;
}

.hero-note {
  position: absolute;
  right: 4.5vw;
  bottom: 3vw;

  font: 11px / 1.45 "DM Mono", monospace;

  text-transform: uppercase;
  text-align: right;
}


/* =========================================================
   MANIFESTO
   ========================================================= */

.manifesto {
  display: grid;

  grid-template-columns: 1fr 1.6fr 1fr;

  gap: 3vw;

  padding: 13vw 12vw;

  border-top: 1px solid var(--line);
}

.manifesto h2 {
  grid-column: 2;
}

.manifesto > p:last-child {
  align-self: end;

  line-height: 1.55;

  margin: 0;

  max-width: 280px;
}


/* =========================================================
   COLLECTION
   ========================================================= */

.collection {
  padding: 7vw 4.5vw;

  background: var(--ink);
  color: var(--cream);
}

.section-heading {
  display: grid;

  grid-template-columns: 1fr 2fr 1fr;

  align-items: end;

  margin-bottom: 55px;
}

.section-heading .eyebrow {
  margin: 0;
  color: var(--lime);
}

.section-heading h2 {
  font-size: clamp(46px, 6vw, 86px);
}

.section-heading .text-link {
  justify-self: end;
  border-color: var(--cream);
}

.product-grid {
  display: grid;

  grid-template-columns: 1.45fr 1fr 1fr;

  gap: 18px;

  align-items: start;
}

.product:nth-child(2) {
  margin-top: 110px;
}

.product:nth-child(3) {
  margin-top: 45px;
}

.product img {
  width: 100%;

  aspect-ratio: 3 / 4;

  object-fit: cover;
}

.product div {
  padding-top: 13px;

  display: grid;

  grid-template-columns: 30px 1fr;

  column-gap: 5px;
}

.product span,
.product p {
  font: 11px "DM Mono", monospace;

  color: #a6b2ae;

  margin: 0;

  text-transform: uppercase;
}

.product h3 {
  font-size: 16px;
  font-weight: 500;

  margin: 0;
}

.product p {
  grid-column: 2;

  margin-top: 4px;
}


/* =========================================================
   FILM
   ========================================================= */

.film {
  padding: 10vw 12vw;
}

.film-copy {
  max-width: 720px;
  margin-bottom: 55px;
}

.film h2 {
  font-size: clamp(46px, 6.5vw, 88px);
}

.film-copy > p:last-child {
  max-width: 390px;

  line-height: 1.5;

  margin: 30px 0 0;
}

.video-switcher {
  display: flex;

  gap: 6px;

  margin: 45px 0 15px;
}

.video-switcher button {
  border: 1px solid var(--ink);

  border-radius: 0;

  padding: 10px 15px;

  background: transparent;
  color: var(--ink);

  font: 11px "DM Mono", monospace;

  text-transform: uppercase;

  cursor: pointer;
}

.video-switcher button.active {
  background: var(--ink);
  color: var(--cream);
}

.video-wrap {
  background: #24302d;

  aspect-ratio: 16 / 9;
}

.video-panel {
  display: none;

  width: 100%;
  height: 100%;
}

.video-panel.active {
  display: block;
}

.video-panel iframe,
.video-panel video {
  width: 100%;
  height: 100%;

  border: 0;
}

.video-help {
  color: var(--cream);

  font: 12px "DM Mono", monospace;

  text-align: center;

  padding: 12px;

  margin: 0;
}

.video-panel#local-video {
  height: 100%;

  background: #24302d;
}

.video-panel#local-video video {
  height: calc(100% - 44px);

  display: block;
}


/* =========================================================
   EDITORIAL
   ========================================================= */

.editorial {
  display: grid;

  grid-template-columns: 1fr 1fr;

  align-items: center;

  background: var(--lime);
}

.editorial > div {
  padding: 8vw 7vw;
}

.editorial h2 {
  font-size: clamp(45px, 5.5vw, 80px);

  margin-bottom: 38px;
}


/*
 * Imagem editorial:
 * 1667 × 2500
 *
 * Sem crop.
 */

.editorial img {
  display: block;

  width: min(100%, 560px);

  height: auto;

  object-fit: contain;

  justify-self: center;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
  padding: 5vw 4.5vw 30px;

  background: var(--clay);

  color: var(--cream);

  display: grid;

  grid-template-columns: 1fr 1.5fr;

  gap: 60px;
}

footer .brand {
  align-self: start;
}

footer p {
  margin: 0 0 15px;

  font: 24px / 1.15 "Playfair Display", serif;
}

form {
  display: flex;

  border-bottom: 1px solid #ffffff99;

  max-width: 500px;
}

input {
  min-width: 0;

  flex: 1;

  padding: 12px 0;

  background: transparent;

  border: 0;

  color: inherit;

  outline: 0;

  font: 14px "DM Sans", sans-serif;
}

input::placeholder {
  color: #fff9;
}

form button {
  border: 0;

  background: transparent;

  color: inherit;

  font: 11px "DM Mono", monospace;

  text-transform: uppercase;

  cursor: pointer;
}

form button span {
  font-size: 18px;

  margin-left: 10px;
}

footer small {
  grid-column: 1 / -1;

  margin-top: 60px;

  font: 10px "DM Mono", monospace;

  text-transform: uppercase;

  letter-spacing: .05em;
}

.sr-only {
  position: absolute;

  width: 1px;
  height: 1px;

  overflow: hidden;

  clip: rect(0, 0, 0, 0);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .announcement {
    font-size: 9px;
  }


  /* TOPBAR */

  .topbar {
    width: 100%;

    height: 70px;

    padding: 0 22px;

    border-bottom: 1px solid rgba(24, 35, 32, 0.20);
  }

  .topbar::after {
    bottom: -1px;
  }

  .brand {
    font-size: 29px;
  }

  .menu-button {
    display: block;
  }

  .menu-button i {
    display: inline-block;

    width: 18px;

    border-top: 1px solid;

    margin: 0 0 4px 8px;
  }

  .topbar nav {
    display: none;

    position: absolute;

    top: 70px;

    left: 0;
    right: 0;

    background: var(--cream);

    padding: 20px 22px;

    border-bottom: 1px solid var(--line);

    flex-direction: column;

    gap: 17px;
  }

  .topbar nav.open {
    display: flex;
  }


  /* HERO */

  .hero {
    min-height: auto;

    display: flex;

    flex-direction: column;

    padding: 64px 22px 30px;

    gap: 43px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-image {
    width: 100%;

    max-width: none;

    margin: 0;

    justify-self: auto;
  }

  .hero-image img {
    width: 100%;

    height: auto;
  }

  .hero-note {
    display: none;
  }


  /* MANIFESTO */

  .manifesto {
    display: block;

    padding: 90px 22px;
  }

  .manifesto h2 {
    font-size: 52px;

    margin: 0 0 28px;
  }

  .manifesto > p:last-child {
    margin-left: auto;
  }


  /* COLLECTION */

  .collection {
    padding: 65px 22px;
  }

  .section-heading {
    display: block;

    margin-bottom: 36px;
  }

  .section-heading .eyebrow {
    margin-bottom: 21px;
  }

  .section-heading h2 {
    margin-bottom: 24px;
  }

  .section-heading .text-link {
    justify-self: auto;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;

    gap: 10px;
  }

  .product-large {
    grid-column: 1 / -1;
  }

  .product:nth-child(2),
  .product:nth-child(3) {
    margin-top: 0;
  }

  .product img {
    aspect-ratio: 3 / 4;
  }

  .product-large img {
    aspect-ratio: 1 / 1.15;
  }

  .product div {
    grid-template-columns: 22px 1fr;
  }

  .product h3 {
    font-size: 14px;
  }


  /* FILM */

  .film {
    padding: 80px 22px;
  }

  .film h2 {
    font-size: 49px;
  }

  .video-switcher {
    margin-top: 35px;
  }

  .video-wrap {
    margin-left: -22px;

    margin-right: -22px;
  }


  /* EDITORIAL */

  .editorial {
    display: flex;

    flex-direction: column;
  }

  .editorial > div {
    padding: 80px 22px;
  }

  .editorial h2 {
    font-size: 51px;
  }

  .editorial img {
    width: 100%;

    max-width: none;

    height: auto;

    object-fit: contain;
  }


  /* FOOTER */

  footer {
    padding: 55px 22px 23px;

    display: block;
  }

  footer > div {
    margin-top: 55px;
  }

  footer small {
    display: block;

    margin-top: 60px;
  }
}