/* Andean Pacific — natural goods, Andean roots */

:root {
  --green: #2F5233;
  --sand: #F3EEE2;
  --clay: #C1592E;
  --gold: #D9A441;
  --teal: #1F5C7A;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1240px;
  --gutter: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--green);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

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

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: var(--clay);
}

input,
textarea,
button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--gold);
  color: var(--green);
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(47, 82, 51, .35);
}

@keyframes apRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  margin: 0;
  font-size: 16px;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--clay);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--green);
  color: var(--sand);
  padding: 12px 18px;
}

.skip-link:focus {
  left: 0;
  color: var(--sand);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 238, 226, .93);
  backdrop-filter: blur(10px);
}

.site-header__bar {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
}

/* 48px is the size at which the lockup's tagline (16.5% of the artwork height)
   lands at ~8px — the smallest it stays legible. Don't go below ~42px. */
.brand__logo {
  height: clamp(42px, 5vw, 48px);
  width: auto;
  aspect-ratio: 2836 / 582;
}

.nav-desktop {
  display: none;
  gap: 26px;
  align-items: center;
}

.nav-desktop a {
  font-size: 12.5px;
  letter-spacing: .05em;
  color: var(--green);
  font-weight: 500;
}

.nav-desktop a:hover {
  color: var(--clay);
}

.nav-desktop a.btn-solid {
  color: var(--sand);
}

.nav-desktop a.btn-solid:hover {
  color: var(--sand);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--green);
}

.nav-mobile {
  padding: 6px var(--gutter) 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-mobile[hidden] {
  display: none;
}

.nav-mobile a {
  font-family: var(--serif);
  font-size: 26px;
  padding: 8px 0;
  color: var(--green);
}

.nav-mobile a:hover {
  color: var(--clay);
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-mobile {
    display: none;
  }
}

/* ---------- Buttons ---------- */

.btn-solid {
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sand);
  background: var(--green);
  padding: 11px 18px;
  border-radius: 2px;
}

.btn-solid:hover {
  background: var(--clay);
  color: var(--sand);
}

.btn-gold,
.btn-clay,
.btn-ghost {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 15px 26px;
  border-radius: 2px;
}

.btn-gold {
  font-weight: 700;
  color: var(--green);
  background: var(--gold);
}

.btn-gold:hover {
  background: var(--sand);
  color: var(--green);
}

.btn-clay {
  font-weight: 700;
  color: var(--sand);
  background: var(--clay);
}

.btn-clay:hover {
  background: var(--sand);
  color: var(--green);
}

.btn-ghost {
  font-weight: 600;
  color: var(--sand);
  border: 1px solid rgba(243, 238, 226, .45);
}

.btn-ghost:hover {
  background: rgba(243, 238, 226, .14);
  color: var(--sand);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--green);
  min-height: clamp(540px, 82vh, 800px);
  display: flex;
  align-items: flex-end;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(47, 82, 51, .5) 0%,
      rgba(47, 82, 51, .2) 38%,
      rgba(47, 82, 51, .92) 100%);
}

.hero__body {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 80px var(--gutter) 52px;
  animation: apRise .8s ease both;
}

.hero__eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 8vw, 84px);
  line-height: 1.03;
  letter-spacing: -.015em;
  color: var(--sand);
  max-width: 17ch;
}

.hero__lede {
  margin: 24px 0 0;
  max-width: 56ch;
  font-size: clamp(15px, 2.2vw, 17.5px);
  line-height: 1.66;
  color: rgba(243, 238, 226, .86);
  font-weight: 300;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ---------- Sections ---------- */

.section {
  scroll-margin-top: 80px;
}

.section--light .wrap {
  padding-block: clamp(64px, 11vw, 130px);
}

.section--dark {
  background: var(--green);
  color: var(--sand);
}

.section--gold {
  background: var(--gold);
  color: var(--green);
}

.section--dark .wrap,
.section--gold .wrap {
  padding-block: clamp(60px, 10vw, 120px);
}

.section__title {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.015em;
}

/* Purpose */

.g-purpose {
  display: grid;
  gap: clamp(34px, 6vw, 76px);
  grid-template-columns: 1fr;
}

.purpose__statement {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 4.6vw, 46px);
  line-height: 1.14;
  letter-spacing: -.01em;
  max-width: 30ch;
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.pillar__title {
  margin: 0;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green);
}

.pillar__body {
  margin: 9px 0 0;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.66;
  color: rgba(47, 82, 51, .8);
  font-weight: 300;
}

@media (min-width: 900px) {
  .g-purpose {
    grid-template-columns: 1.05fr .95fr;
  }
}

/* Intro two-column */

.g-intro {
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  grid-template-columns: 1fr;
  margin-top: 34px;
}

@media (min-width: 900px) {
  .g-intro {
    grid-template-columns: .85fr 1.15fr;
  }
}

.lede-gold {
  margin: 0;
  font-size: 17px;
  line-height: 1.68;
  color: var(--gold);
  font-weight: 300;
}

.body-dark {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.72;
  color: rgba(243, 238, 226, .8);
  font-weight: 300;
}

.body-light {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.72;
  color: rgba(47, 82, 51, .85);
  font-weight: 300;
}

.subhead {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 400;
}

.subhead--italic {
  font-style: italic;
}

/* ---------- Variety rows ---------- */

.varieties {
  display: flex;
  flex-direction: column;
}

.variety {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  padding: clamp(26px, 4vw, 38px) 0;
}

.varieties--dark .variety {
  border-top: 1px solid rgba(243, 238, 226, .22);
}

.varieties--light .variety {
  border-top: 1px solid rgba(47, 82, 51, .22);
}

.variety__figure {
  margin: 0;
  height: 190px;
}

.variety__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  background: rgba(47, 82, 51, .12);
}

.variety__name {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.06;
}

.varieties--dark .variety__name {
  color: var(--sand);
}

.varieties--light .variety__name {
  color: var(--green);
}

.variety__body {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
}

.varieties--dark .variety__body {
  color: rgba(243, 238, 226, .8);
}

.varieties--light .variety__body {
  color: rgba(47, 82, 51, .82);
}

.specs {
  display: grid;
  gap: 14px 26px;
  grid-template-columns: 1fr;
  margin-top: 20px;
}

.specs dt {
  margin: 0;
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
}

.specs dd {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.varieties--dark .specs dt {
  color: var(--gold);
}

.varieties--dark .specs dd {
  color: var(--sand);
}

.varieties--light .specs dt {
  color: var(--clay);
}

.varieties--light .specs dd {
  color: var(--green);
}

@media (min-width: 620px) {
  .variety {
    grid-template-columns: 220px 1fr;
  }

  .specs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .variety {
    grid-template-columns: 300px 1fr;
  }

  .specs {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Why Peru ---------- */

.g-peru {
  display: grid;
  gap: clamp(34px, 6vw, 76px);
  grid-template-columns: 1fr;
}

.peru__title {
  font-size: clamp(30px, 5vw, 52px);
  max-width: 16ch;
}

.peru__img {
  width: 100%;
  height: clamp(220px, 32vw, 340px);
  object-fit: cover;
  margin-top: 32px;
  border-radius: 2px;
}

.peru__body>p {
  margin: 0 0 20px;
  font-size: 15.5px;
  line-height: 1.74;
  font-weight: 300;
}

.peru__body>p:last-of-type {
  margin-bottom: 0;
}

.figs {
  display: grid;
  gap: 18px 24px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 36px;
}

.fig {
  border-top: 1px solid rgba(47, 82, 51, .3);
  padding-top: 12px;
}

.fig__n {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
  color: var(--green);
}

.fig__label {
  margin: 7px 0 0;
  font-size: 11.5px;
  letter-spacing: .06em;
  line-height: 1.45;
  color: rgba(47, 82, 51, .78);
}

@media (min-width: 900px) {
  .g-peru {
    grid-template-columns: .85fr 1.15fr;
  }

  .figs {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Regions ---------- */

.g-regions {
  display: grid;
  gap: clamp(34px, 6vw, 72px);
  grid-template-columns: 1fr;
}

.regions__lede {
  margin: 24px 0 0;
  max-width: 52ch;
  font-size: 15.5px;
  line-height: 1.72;
  color: rgba(243, 238, 226, .8);
  font-weight: 300;
}

.regions__list {
  margin-top: clamp(34px, 5vw, 52px);
  display: flex;
  flex-direction: column;
}

.region {
  padding: 20px 0;
  border-top: 1px solid rgba(243, 238, 226, .22);
}

.region__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.region__n {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold);
}

.region__name {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
  color: var(--sand);
  transition: color .18s;
}

.region__zone {
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(243, 238, 226, .5);
}

.region__crops {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
}

.region__crop {
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid rgba(243, 238, 226, .28);
  color: rgba(243, 238, 226, .78);
}

.region__body {
  margin: 12px 0 0;
  max-width: 54ch;
  font-size: 14.5px;
  line-height: 1.66;
  color: rgba(243, 238, 226, .75);
  font-weight: 300;
}

.regions__map {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.regions__map img {
  width: 100%;
  max-width: 420px;
  height: auto;
  /* aspect-ratio: 1 / 1; */
  border-radius: 2px;
}

@media (min-width: 900px) {
  .g-regions {
    grid-template-columns: 1.15fr .85fr;
  }

  /* align-self:start is required: a stretched grid item fills its area and has
     nowhere to stick to. */
  .regions__map {
    position: sticky;
    top: 96px;
    align-self: start;
  }
}

/* ---------- Contact ---------- */

.g-contact {
  display: grid;
  gap: clamp(36px, 6vw, 72px);
  grid-template-columns: 1fr;
}

.contact__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 5.4vw, 54px);
  line-height: 1.06;
  letter-spacing: -.015em;
  max-width: 16ch;
}

.contact__lede {
  margin: 24px 0 0;
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(47, 82, 51, .85);
  font-weight: 300;
}

.contact__direct {
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact__direct .eyebrow {
  margin-bottom: 6px;
  letter-spacing: .2em;
}

.contact__person {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
}

.contact__phone {
  font-size: 15px;
}

.addresses {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  margin-top: 34px;
}

.address {
  border-top: 1px solid rgba(47, 82, 51, .24);
  padding-top: 12px;
}

.address__country {
  margin: 0;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal);
}

.address__line {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(47, 82, 51, .85);
  font-weight: 300;
}

@media (min-width: 620px) {
  .addresses {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .g-contact {
    grid-template-columns: .9fr 1.1fr;
  }
}

/* Form */

.enquiry {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.enquiry[hidden],
.thanks[hidden] {
  display: none;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field>span,
.fieldset__legend {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(47, 82, 51, .85);
}

.field input,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(47, 82, 51, .35);
  padding: 9px 0;
  font-size: 16px;
  border-radius: 0;
}

.field textarea {
  resize: vertical;
  font-family: var(--sans);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--teal);
}

.interests {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 6px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 12.5px;
  letter-spacing: .02em;
  padding: 9px 16px;
  border-radius: 99px;
  cursor: pointer;
  transition: .15s;
  border: 1px solid rgba(47, 82, 51, .32);
  background: transparent;
  color: var(--green);
}

.chip[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--green);
  color: var(--sand);
}

.enquiry__submit {
  margin-top: 14px;
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sand);
  background: var(--green);
  border: 0;
  padding: 16px 32px;
  border-radius: 2px;
  cursor: pointer;
}

.enquiry__submit:hover {
  background: var(--clay);
}

.enquiry__submit:disabled {
  opacity: .6;
  cursor: default;
}

.enquiry__error {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--clay);
}

.enquiry__error[hidden] {
  display: none;
}

.thanks {
  background: var(--green);
  color: var(--sand);
  padding: 44px 34px;
  border-radius: 2px;
}

.thanks h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.15;
  font-weight: 400;
}

.thanks p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(243, 238, 226, .8);
  font-weight: 300;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--green);
  color: var(--sand);
}

.site-footer .wrap {
  padding-block: clamp(46px, 8vw, 84px) 32px;
}

.g-footer {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
}

/* Sized by height, like .brand__logo, and kept at or below the header's
   42–48px range so the footer mark never outweighs the header one. */
.site-footer__logo {
  height: 42px;
  width: auto;
  max-width: 100%;
  aspect-ratio: 2836 / 582;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 13px;
  color: rgba(243, 238, 226, .72);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-col span {
  font-size: 13px;
  color: rgba(243, 238, 226, .55);
}

.colophon {
  margin: clamp(36px, 6vw, 64px) 0 0;
  font-size: 11px;
  letter-spacing: .05em;
  color: rgba(243, 238, 226, .42);
}

@media (min-width: 900px) {
  .g-footer {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}