/* AnnaBay Club — the text pages: Our Story, Trade & Press, Contact and the legal pages.
   Same language as the rest of the site: sand and brand red take turns, torn edges,
   big display titles, the engraving through every ground. Nothing dark brown. */

/* ---------- Shared bits ---------- */
.kicker {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

.kicker--light {
  color: var(--gold-bright);
}

/* Title block on sand: kicker, big title, a few lines */
.phead {
  --ink: var(--red);
  padding: 72px 0 56px;
  background: var(--sand);
  color: var(--black);
  text-align: center;
}

.phead__inner {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.phead .sub {
  margin: 8px 0 0;
  max-width: 46ch;
}

@media (min-width: 900px) {
  .phead {
    padding: 96px 0 72px;
  }
  .phead .sub {
    font-size: 19px;
  }
}

/* A text block on sand or red: one title, a few paragraphs, centred */
.block {
  padding-block: 96px 84px;
  text-align: center;
}

.block--sand {
  --ink: var(--red);
  background: var(--sand);
  color: var(--black);
}

.block--red {
  --ink: var(--white);
  background: var(--red);
  color: var(--white);
}

.block__inner {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.block__inner p:not(.kicker) {
  max-width: 52ch;
  font-size: 18px;
}

.block__inner .btn {
  margin-top: 10px;
}

@media (min-width: 900px) {
  .block {
    padding-block: 128px 112px;
  }
  .block__inner p:not(.kicker) {
    font-size: 20px;
  }
}

/* A text block with a polaroid beside it (Our Story): text and photo swap sides from block to block */
.block__text {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.snap {
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 12px 12px 0;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--black);
  transform: rotate(-2deg);
}

.block--flip .snap {
  transform: rotate(2deg);
}

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

.snap--blank {
  padding-bottom: 56px;
}

.snap figcaption {
  display: grid;
  place-items: center;
  height: 66px;
  font-family: var(--script);
  font-size: 36px;
  line-height: 1;
  text-align: center;
  color: var(--black);
}

.block--split .block__inner {
  gap: 48px;
}

@media (min-width: 900px) {
  .block--split .block__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    justify-items: center;
    gap: 80px;
    text-align: left;
  }
  .block--split .block__text {
    justify-items: start;
  }
  .block--flip .snap {
    order: -1;
  }
}

/* ---------- Photo hero (Our Story) ---------- */
.shero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(calc(100svh - var(--header-h) - var(--consent-h, 0px)), 820px);
  padding-top: 72px;
  color: var(--white);
  background: var(--red);
  overflow: hidden;
  isolation: isolate;
}

/* The background video fills the hero from the first moment: its own first frame is the poster */
.shero__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.shero__pause {
  position: absolute;
  top: 18px;
  right: var(--gutter);
  width: 42px;
  height: 42px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
}

.shero__pause::before,
.shero__pause::after {
  content: "";
  position: absolute;
  top: 13px;
  width: 3px;
  height: 14px;
  background: var(--white);
}

.shero__pause::before {
  left: 15px;
}

.shero__pause::after {
  right: 15px;
}

.shero__pause.is-paused::before {
  left: 16px;
  width: 0;
  height: 0;
  background: none;
  border-left: 12px solid var(--white);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.shero__pause.is-paused::after {
  display: none;
}

.shero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(62, 43, 46, 0.9) 0%, rgba(62, 43, 46, 0.5) 45%, rgba(62, 43, 46, 0.1) 75%);
}

.shero__copy {
  display: grid;
  gap: 12px;
  padding-bottom: 48px;
}

.shero .kicker {
  font-size: clamp(20px, 5vw, 26px);
}

.shero__text {
  max-width: 36ch;
  font-size: 17px;
}

@media (min-width: 900px) {
  .shero .kicker {
    font-size: 30px;
  }
  .shero__copy {
    padding-bottom: 72px;
  }
  .shero__text {
    max-width: 44ch;
    font-size: 20px;
  }
}

/* ---------- Photo call to action ---------- */
.pcta {
  --ink: var(--white);
  position: relative;
  padding: 100px 0 108px;
  color: var(--white);
  background: var(--red);
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}

.pcta__bg,
.pcta__bg img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pcta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(62, 43, 46, 0.62);
}

.pcta__inner {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.pcta__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 10vw, 72px);
  line-height: 0.9;
  text-transform: uppercase;
}

.pcta__buttons {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 340px;
  margin-top: 14px;
}

@media (min-width: 600px) {
  .pcta__buttons {
    grid-template-columns: auto auto;
    justify-content: center;
    max-width: none;
  }
}

/* ---------- Trade & Press ---------- */
.facts-grid {
  display: grid;
  gap: 14px;
  margin-top: 36px;
  text-align: left;
}

.facts-grid > div {
  padding: 18px 20px 20px;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--black);
}

.facts-grid dt {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.facts-grid dd {
  margin: 4px 0 0;
  font-size: 16px;
}

@media (min-width: 768px) {
  .facts-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}

.tp-award {
  display: grid;
  gap: 18px;
  margin-top: 36px;
  text-align: left;
}

.tp-award > li {
  padding: 22px 22px 24px;
  background: rgba(62, 43, 46, 0.3);
  border: 2px solid var(--white);
  border-radius: 8px;
}

.tp-award h3 {
  margin-bottom: 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.05;
  text-transform: uppercase;
}

.tp-award ul {
  display: grid;
  gap: 12px;
}

.tp-award li li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tp-award img {
  width: 44px;
  height: auto;
  flex: none;
  filter: drop-shadow(1px 2px 0 rgba(0, 0, 0, 0.25));
}

.tp-award strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tp-award small {
  display: block;
  font-size: 15px;
  line-height: 1.35;
}

.tp-note {
  margin-top: 22px;
  max-width: 60ch;
  font-size: 15px;
  text-align: left;
}

@media (min-width: 768px) {
  .tp-award {
    grid-template-columns: 1fr 1fr;
  }
}

.range {
  display: grid;
  gap: 0;
  margin-top: 32px;
  text-align: left;
  border-top: 2px solid var(--black);
}

.range li {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 2px solid var(--black);
}

.range strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--red);
}

.range span {
  font-size: 17px;
}

@media (min-width: 768px) {
  .range li {
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: baseline;
  }
}

.assets {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  text-align: left;
}

.assets li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(62, 43, 46, 0.3);
  border: 2px solid var(--white);
  border-radius: 6px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.assets a {
  flex: none;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
}

.boiler {
  margin-top: 28px;
  color: var(--black);
  padding: 24px 22px 26px;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 8px;
  box-shadow: 5px 5px 0 var(--black);
  text-align: left;
  font-size: 17px;
}

.boiler p {
  max-width: none;
  font-size: 17px;
}

.boiler h3 {
  margin-bottom: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--red);
}

.contacts {
  display: grid;
  gap: 14px;
  margin-top: 30px;
  text-align: left;
}

.contacts > div {
  padding: 20px 22px 22px;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--black);
  font-size: 16px;
}

.contacts h3 {
  margin-bottom: 4px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.contacts strong {
  display: block;
  font-size: 18px;
}

.contacts a {
  color: var(--red);
}

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

.trade-terms {
  margin-top: 22px;
  max-width: 62ch;
  font-size: 15px;
  text-align: left;
}

/* ---------- Contact ---------- */
.contact {
  padding: 0 0 96px;
  background: var(--sand);
  color: var(--black);
}

.contact__inner {
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .contact__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }
}

.card {
  display: grid;
  gap: 18px;
  padding: 26px 20px 28px;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 8px;
  box-shadow: 6px 6px 0 var(--black);
}

.card[hidden] {
  display: none;
}

.form__step {
  display: grid;
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--red);
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field > label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  border: 2px solid var(--black);
  border-radius: 6px;
  background: var(--white);
  color: var(--black);
  font: inherit;
  font-size: 17px;
  line-height: 1.3;
}

.field textarea {
  resize: vertical;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 2px;
}

.field [aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(213, 0, 50, 0.18);
}

.field__hint {
  font-size: 14px;
  color: rgba(62, 43, 46, 0.75);
}

.field__hint a {
  color: var(--red);
}

.form__error {
  padding: 12px 14px;
  border: 2px solid var(--red);
  border-radius: 6px;
  background: rgba(213, 0, 50, 0.08);
  font-size: 15px;
  color: var(--red-deep);
}

.form__error[hidden] {
  display: none;
}

.card.is-busy {
  opacity: 0.6;
  pointer-events: none;
}

.done__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 40px;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--red);
}

.info {
  display: grid;
  gap: 22px;
}

.info h2 {
  margin-bottom: 4px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.info p,
.info address {
  font-size: 18px;
}

.info a:not(.btn) {
  color: var(--red);
}

.info__emails {
  display: grid;
  gap: 22px;
}

.info__emails p {
  display: grid;
  gap: 2px;
}

.info__emails span {
  color: rgba(62, 43, 46, 0.75);
}

/* ---------- Legal pages: plain, readable text ---------- */
.legal {
  padding: 8px 0 96px;
  background: var(--sand);
  color: var(--black);
}

.prose {
  max-width: 70ch;
  margin-inline: auto;
}

.prose h2 {
  margin: 40px 0 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--red);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin-bottom: 14px;
  font-size: 17px;
}

.prose a {
  color: var(--red);
  text-underline-offset: 3px;
}

.prose strong {
  font-weight: 700;
}

/* Bracketed items that still need confirming (counsel, dates) stay visible */
.prose mark {
  padding: 0 4px;
  background: var(--gold-bright);
  color: var(--black);
}

.legal__updated {
  margin-top: 4px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(62, 43, 46, 0.7);
}


/* ---------- Our Story: a whole photo with the words on it, never over the bottles ----------
   Phone: the words on the sky and the houses at the top, all three bottles below them. Computer: bottles left, words right. */
.pband {
  --ink: var(--white);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 700px;
  background: #0b2a4a;
  color: var(--white);
}

.pband__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

/* The picture is as tall as the section and as wide as it needs to be, pinned to the left: the three bottles always fit */
.pband__bg img {
  display: block;
  width: auto;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.pband::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(8, 32, 58, 0.55) 0%, rgba(8, 32, 58, 0.45) 34%, rgba(8, 32, 58, 0.14) 52%, rgba(8, 32, 58, 0) 62%);
}

.pband__copy {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 40px var(--gutter) 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.pband__copy p {
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.5;
}

.pband__copy .btn {
  margin-top: 6px;
  text-shadow: none;
}

@media (min-width: 900px) {
  .pband {
    display: flex;
    align-items: center;
    min-height: clamp(560px, 50vw, 740px);
  }
  .pband__bg img {
    width: 100%;
    object-position: 50% 82%;
  }
  .pband::after {
    background: linear-gradient(to left, rgba(8, 32, 58, 0.5) 0%, rgba(8, 32, 58, 0.36) 34%, rgba(8, 32, 58, 0) 64%);
  }
  .pband__copy {
    width: min(46%, 560px);
    margin-left: auto;
    margin-right: max(var(--gutter), calc((100vw - 1200px) / 2));
    padding: 80px 0;
    gap: 14px;
  }
  .pband__copy p {
    font-size: 20px;
  }
}
