:root {
  --black: #080b0a;
  --ink: #151918;
  --ivory: #f3efe6;
  --paper: #e9e5dc;
  --platinum: #c7c8c4;
  --muted: #929791;
  --emerald: #0b5d42;
  --emerald-dark: #073f2e;
  --red: #a5222d;
  --line: rgba(21, 25, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
summary {
  font: inherit;
}

::selection {
  background: var(--red);
  color: white;
}

.announcement {
  align-items: center;
  background: var(--emerald);
  color: white;
  display: flex;
  font-size: 0.65rem;
  font-weight: 700;
  height: 34px;
  justify-content: center;
  letter-spacing: 0.16em;
  position: absolute;
  text-transform: uppercase;
  top: 0;
  width: 100%;
  z-index: 10;
}

.announcement p {
  margin: 0;
}

.announcement a {
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  margin-left: 1rem;
  padding-left: 1rem;
}

.site-header {
  align-items: center;
  color: white;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 88px;
  left: 0;
  padding: 34px clamp(1.2rem, 4vw, 4.5rem) 0;
  position: absolute;
  top: 34px;
  width: 100%;
  z-index: 9;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.8rem;
  justify-self: start;
}

.logo-mark {
  display: inline-block;
  flex: 0 0 auto;
  height: 46px;
  overflow: hidden;
  position: relative;
  width: 68px;
}

.logo-mark img {
  height: 83px;
  left: -8px;
  max-width: none;
  position: absolute;
  top: -10px;
  width: 83px;
}

.wordmark {
  font-size: clamp(0.9rem, 1.4vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.desktop-nav {
  display: flex;
  font-size: 0.7rem;
  font-weight: 700;
  gap: 2.4rem;
  justify-self: center;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.desktop-nav a,
.header-cta,
.text-link,
.footer-domain {
  position: relative;
}

.desktop-nav a::after,
.text-link::after,
.footer-domain::after {
  background: currentColor;
  bottom: -6px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
  width: 100%;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after,
.footer-domain:hover::after,
.footer-domain:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  font-size: 0.68rem;
  font-weight: 700;
  justify-self: end;
  letter-spacing: 0.14em;
  padding-bottom: 0.38rem;
  text-transform: uppercase;
}

.mobile-nav {
  display: none;
}

.hero {
  background: var(--black);
  color: white;
  min-height: min(940px, 100svh);
  overflow: hidden;
  position: relative;
}

.hero-media,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-media {
  animation: hero-arrive 1.5s ease-out both;
  background-image: url("./caballoguey-hero.webp");
  background-position: center;
  background-size: cover;
  transform-origin: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 7, 6, 0.92) 0%, rgba(5, 7, 6, 0.64) 36%, rgba(5, 7, 6, 0.08) 70%),
    linear-gradient(0deg, rgba(5, 7, 6, 0.75) 0%, transparent 28%);
}

.hero-content {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(940px, 100svh);
  padding: 145px clamp(1.4rem, 6.5vw, 7.5rem) 90px;
  position: relative;
  width: min(750px, 57vw);
  z-index: 2;
}

.eyebrow,
.section-kicker {
  color: var(--emerald);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  margin: 0 0 1.7rem;
  text-transform: uppercase;
}

.eyebrow {
  color: #cdd6d0;
  opacity: 0;
  animation: content-rise 0.8s 0.25s ease-out forwards;
}

.eyebrow::before {
  background: linear-gradient(90deg, var(--emerald), var(--ivory), var(--red));
  content: "";
  display: inline-block;
  height: 2px;
  margin: 0 0.8rem 0.22rem 0;
  width: 42px;
}

.hero h1,
.manifesto h2,
.collection-copy h2,
.story h2,
.standard h2,
.release h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  margin: 0;
}

.hero h1 {
  font-size: clamp(3.7rem, 6.4vw, 7.5rem);
  line-height: 0.9;
  opacity: 0;
  animation: content-rise 0.9s 0.38s ease-out forwards;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.95rem, 1.25vw, 1.12rem);
  line-height: 1.75;
  margin: 2rem 0 2.5rem;
  max-width: 520px;
  opacity: 0;
  animation: content-rise 0.9s 0.5s ease-out forwards;
}

.hero-actions {
  align-items: center;
  display: flex;
  gap: 2.2rem;
  opacity: 0;
  animation: content-rise 0.9s 0.62s ease-out forwards;
}

.button {
  align-items: center;
  display: inline-flex;
  font-size: 0.67rem;
  font-weight: 800;
  gap: 1.2rem;
  justify-content: center;
  letter-spacing: 0.14em;
  min-height: 52px;
  padding: 0.1rem 1.6rem;
  text-transform: uppercase;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-light {
  background: var(--ivory);
  color: var(--ink);
}

.button-light:hover,
.button-light:focus-visible {
  background: white;
}

.button-dark {
  background: var(--ink);
  color: white;
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--emerald);
}

.text-link {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-detail {
  align-items: center;
  bottom: 2.2rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  font-size: 0.56rem;
  gap: 0.8rem;
  letter-spacing: 0.15em;
  position: absolute;
  right: clamp(1.4rem, 4vw, 4rem);
  text-transform: uppercase;
  z-index: 2;
}

.hero-detail div {
  background: rgba(255, 255, 255, 0.4);
  height: 1px;
  width: 38px;
}

.manifesto {
  background: var(--ivory);
  padding: clamp(6rem, 11vw, 11rem) clamp(1.5rem, 9vw, 10rem);
}

.manifesto h2 {
  font-size: clamp(2.8rem, 5.7vw, 6.6rem);
  line-height: 1.04;
  max-width: 1180px;
}

.manifesto > p:last-child {
  color: #5c615e;
  line-height: 1.8;
  margin: 3rem 0 0 auto;
  max-width: 560px;
}

.collection {
  background: var(--paper);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(440px, 0.9fr);
  min-height: 820px;
}

.collection-image-wrap {
  min-height: 720px;
  overflow: hidden;
  position: relative;
}

.collection-image-wrap img {
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 100%;
}

.collection-image-wrap:hover img {
  transform: scale(1.025);
}

.image-label {
  align-items: center;
  backdrop-filter: blur(8px);
  background: rgba(8, 11, 10, 0.74);
  bottom: 0;
  color: white;
  display: flex;
  font-size: 0.58rem;
  justify-content: space-between;
  left: 0;
  letter-spacing: 0.16em;
  padding: 1rem 1.4rem;
  position: absolute;
  text-transform: uppercase;
  width: 100%;
}

.collection-copy {
  align-self: center;
  padding: clamp(4rem, 7vw, 8rem);
}

.collection-copy h2,
.standard h2 {
  font-size: clamp(3rem, 4.6vw, 5.6rem);
  line-height: 0.98;
}

.body-copy {
  color: #575c59;
  line-height: 1.75;
  margin: 2rem 0;
  max-width: 560px;
}

.collection-list {
  list-style: none;
  margin: 2.7rem 0;
  padding: 0;
}

.collection-list li {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 32px 1fr auto;
  padding: 1rem 0;
}

.collection-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.collection-list span,
.collection-list small {
  color: #747975;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.collection-list strong {
  font-size: 0.83rem;
  letter-spacing: 0.03em;
}

.story {
  background: var(--emerald-dark);
  color: white;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  overflow: hidden;
}

.story-copy {
  align-self: center;
  padding: clamp(5rem, 10vw, 11rem);
}

.section-kicker.light {
  color: #b6c7bd;
}

.story h2 {
  font-size: clamp(4.2rem, 7.4vw, 9rem);
  line-height: 0.83;
}

.story-copy > p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  margin: 3rem 0;
  max-width: 550px;
}

.story blockquote {
  border-left: 2px solid var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  font-style: italic;
  line-height: 1.55;
  margin: 0 0 3rem;
  max-width: 590px;
  padding-left: 1.5rem;
}

.light-link {
  color: white;
}

.story-image {
  margin: 0;
  min-height: 760px;
  position: relative;
}

.story-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.story-image::after {
  background: linear-gradient(90deg, rgba(7, 63, 46, 0.45), transparent 35%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.story-image figcaption {
  bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.58rem;
  left: 1.5rem;
  letter-spacing: 0.14em;
  position: absolute;
  text-transform: uppercase;
  z-index: 2;
}

.standard {
  background: var(--ivory);
  padding: clamp(6rem, 10vw, 10rem) clamp(1.5rem, 7vw, 8rem);
}

.standard-heading {
  align-items: end;
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.standard-heading .section-kicker {
  margin-bottom: 0.5rem;
}

.principles {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 5rem;
}

.principles article {
  min-height: 355px;
  padding: 2rem clamp(1rem, 3vw, 3rem);
  position: relative;
}

.principles article + article {
  border-left: 1px solid var(--line);
}

.principle-number {
  color: #767b77;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
}

.principle-icon {
  color: var(--emerald);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.6rem;
  margin: 3rem 0;
}

.agave-icon {
  color: var(--red);
}

.principles h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 400;
  margin: 0 0 1rem;
}

.principles p {
  color: #686d69;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
  max-width: 330px;
}

.release {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(165, 34, 45, 0.22), transparent 38%),
    var(--black);
  color: white;
  display: flex;
  justify-content: center;
  min-height: 680px;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.release-pattern {
  background-image:
    linear-gradient(30deg, transparent 12%, rgba(255,255,255,.05) 12% 13%, transparent 13% 50%, rgba(255,255,255,.05) 50% 51%, transparent 51%),
    linear-gradient(150deg, transparent 12%, rgba(255,255,255,.045) 12% 13%, transparent 13% 50%, rgba(255,255,255,.045) 50% 51%, transparent 51%);
  background-size: 78px 136px;
  inset: 0;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
  opacity: 0.85;
  position: absolute;
}

.release-copy {
  align-items: center;
  display: flex;
  flex-direction: column;
  max-width: 810px;
  padding: 6rem 1.5rem;
  position: relative;
  z-index: 2;
}

.release-logo {
  display: block;
  margin: 0 auto 2.25rem;
  width: min(250px, 62vw);
}

.release h2 {
  font-size: clamp(3.5rem, 6.5vw, 7rem);
  line-height: 0.96;
}

.release-copy > p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  margin: 2rem auto;
  max-width: 610px;
}

.release-button {
  margin-top: 0.5rem;
  min-width: 250px;
}

.release small {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  margin-top: 1.4rem;
}

footer {
  background: #050706;
  color: white;
  padding: 4rem clamp(1.5rem, 5vw, 5rem) 2rem;
}

.footer-top {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1.3fr 1fr;
  padding-bottom: 4rem;
}

.footer-top p {
  color: rgba(255, 255, 255, 0.56);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.5;
  margin: 0;
}

.footer-domain {
  font-size: 0.73rem;
  justify-self: end;
  letter-spacing: 0.09em;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.42);
  display: grid;
  font-size: 0.58rem;
  gap: 1rem;
  grid-template-columns: 1fr auto;
  letter-spacing: 0.05em;
  padding-top: 1.6rem;
}

@keyframes hero-arrive {
  from { opacity: 0; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes content-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-nav {
    display: block;
    justify-self: end;
    position: relative;
  }

  .mobile-nav summary {
    cursor: pointer;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    list-style: none;
    text-transform: uppercase;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav nav {
    background: rgba(8, 11, 10, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    flex-direction: column;
    min-width: 200px;
    padding: 1.2rem;
    position: absolute;
    right: 0;
    top: 1.8rem;
  }

  .mobile-nav nav a {
    border-bottom: 1px solid rgba(255,255,255,.1);
    font-size: 0.72rem;
    padding: 0.8rem;
  }

  .hero-content {
    width: min(680px, 76vw);
  }

  .collection,
  .story {
    grid-template-columns: 1fr;
  }

  .collection-image-wrap {
    min-height: 620px;
  }

  .collection-copy {
    padding: 5rem clamp(1.5rem, 8vw, 6rem);
  }

  .story-image {
    min-height: 720px;
    order: -1;
  }

  .standard-heading {
    display: block;
  }

  .standard-heading .section-kicker {
    margin-bottom: 1.7rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top p {
    grid-column: span 2;
    order: 3;
  }
}

@media (max-width: 680px) {
  .announcement {
    font-size: 0.53rem;
    justify-content: space-between;
    letter-spacing: 0.1em;
    padding: 0 1rem;
  }

  .announcement a {
    margin-left: 0.5rem;
    padding-left: 0.5rem;
  }

  .site-header {
    height: 74px;
    padding-top: 26px;
  }

  .wordmark {
    font-size: 0.86rem;
  }

  .logo-mark {
    height: 38px;
    width: 56px;
  }

  .logo-mark img {
    height: 68px;
    left: -7px;
    top: -8px;
    width: 68px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-media {
    background-position: 67% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 7, 6, 0.88), rgba(5, 7, 6, 0.28)),
      linear-gradient(0deg, rgba(5, 7, 6, 0.9), transparent 55%);
  }

  .hero-content {
    justify-content: flex-end;
    min-height: 820px;
    padding-bottom: 7rem;
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(3.45rem, 15.5vw, 5.3rem);
  }

  .hero-copy {
    font-size: 0.92rem;
    margin: 1.5rem 0 2rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.4rem;
  }

  .hero-detail {
    display: none;
  }

  .manifesto {
    padding-bottom: 7rem;
    padding-top: 7rem;
  }

  .manifesto h2 {
    font-size: 3.1rem;
  }

  .manifesto > p:last-child {
    margin-top: 2rem;
  }

  .collection-image-wrap {
    min-height: 440px;
  }

  .collection-copy {
    padding: 5rem 1.4rem;
  }

  .collection-copy h2,
  .standard h2 {
    font-size: 3.25rem;
  }

  .collection-list li {
    grid-template-columns: 28px 1fr;
  }

  .collection-list small {
    display: none;
  }

  .story-image {
    min-height: 560px;
  }

  .story-copy {
    padding: 6rem 1.4rem;
  }

  .story h2 {
    font-size: 4.8rem;
  }

  .principles {
    display: block;
    margin-top: 3.5rem;
  }

  .principles article {
    border-bottom: 1px solid var(--line);
    min-height: auto;
    padding: 2rem 0 3rem;
  }

  .principles article + article {
    border-left: 0;
  }

  .principle-icon {
    margin: 2rem 0;
  }

  .release {
    min-height: 620px;
  }

  .release h2 {
    font-size: 4rem;
  }

  .footer-top,
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-top p {
    order: initial;
  }

  .footer-domain {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
