/* Afaqs Photo Gallery — "the pinned poster" (taste skill, seed 962966312).
   The name AFAQS stays pinned while the day's portraits pass beneath it; blush and aubergine, Chivo. */
:root {
  --bg: #edccbe;
  --surface: #e8c2b2;
  --surface-2: #f2d9ce;
  --ink: #351a2b;
  --muted: #6c4857;
  --field: #351a2b;
  --field-ink: #edccbe;
  --accent: #351a2b;
  --accent-ink: #edccbe;
  --accent-hover: #4a2640;
  --paper-hover: #f6dfd5;
  --scrim: rgb(28 14 23 / 0.62);
  color-scheme: light;

  --font: "Chivo", "Helvetica Neue", Arial, sans-serif;
  --display: var(--font);
  --display-weight: 900;
  --display-track: -0.05em;

  --step-small: clamp(0.875rem, 0.84rem + 0.15vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);
  --step-display: clamp(6rem, 22vw, 22rem);

  --margin: clamp(1rem, 2.4vw, 2.25rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(7rem, 13vw, 13rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--step-body); line-height: 1.45; letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
:target { scroll-margin-top: 4rem; }
h1, h2, h3 { font-family: var(--display); font-weight: var(--display-weight); text-transform: uppercase; letter-spacing: var(--display-track); line-height: 0.88; text-wrap: balance; }
p { max-width: 62ch; text-wrap: pretty; }
.wrap { padding-left: max(var(--margin), env(safe-area-inset-left, 0px)); padding-right: max(var(--margin), env(safe-area-inset-right, 0px)); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.grid > * { min-width: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- buttons and links: one shape, square ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0.75rem 1.5rem;
  background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 0; text-decoration: none;
  font-weight: 700; font-size: var(--step-body); letter-spacing: -0.01em; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.btn:hover { transform: translateY(-2px); background: var(--accent-hover); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--paper { background: var(--bg); color: var(--ink); }
.btn--paper:hover { background: var(--paper-hover); }
.link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; transition: opacity 200ms ease; }
.link:hover { opacity: 0.7; }

/* ---------- top bar ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
.bar {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 9; background: var(--bg);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.9rem;
}
.bar__mark { font-family: var(--display); font-weight: var(--display-weight); text-transform: uppercase; letter-spacing: -0.04em; text-decoration: none; font-size: var(--step-body); }
.bar__links { display: none; gap: 1.75rem; font-weight: 700; font-size: var(--step-small); }
.bar__links a { text-decoration: none; transition: opacity 200ms ease; }
.bar__links a:hover { opacity: 0.6; }
.bar .btn { min-height: 2.75rem; padding: 0.5rem 1.1rem; font-size: var(--step-small); }
@media (min-width: 60em) { .bar__links { display: flex; } }

/* ---------- hero: the name, then the portrait below it ----------
   The name never sits on a photograph: it has its own row above the picture. */
.hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-top: clamp(5.5rem, 8vw, 7.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero__h1 { grid-column: 1 / -1; grid-row: 1 / 3; display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; margin: 0; pointer-events: none; }
.hero__h1 > span { pointer-events: auto; }
.hero__title { grid-column: 1 / -1; grid-row: 1; display: block; font-size: var(--step-display); text-align: center; color: var(--ink); line-height: 0.8; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.hero__tagline { grid-column: 1 / 5; grid-row: 2; align-self: start; display: block; font-family: var(--font); font-size: var(--step-lead); font-weight: 700; text-transform: none; letter-spacing: -0.02em; line-height: 1.2; max-width: 16ch; }
.hero__pic { grid-column: 5 / 9; grid-row: 2; }
.hero__pic img { width: 100%; aspect-ratio: 2 / 3; height: auto; max-height: 78svh; object-fit: cover; object-position: 50% 30%; }
.hero__pic figcaption { font-size: var(--step-small); font-weight: 700; padding-top: 0.6rem; text-align: center; }
.hero__foot { grid-column: 9 / -1; grid-row: 2; align-self: start; justify-self: end; display: grid; gap: 1rem; justify-items: end; text-align: right; }
.hero__foot p { font-weight: 700; max-width: 18ch; line-height: 1.3; }
@media (max-width: 59.99em) {
  .hero { padding-top: 5.25rem; row-gap: 1.25rem; }
  .hero__title { font-size: 27vw; margin-bottom: 0.5rem; }
  .hero__pic { grid-column: 1 / -1; grid-row: 2; }
  .hero__pic img { aspect-ratio: 4 / 5; max-height: none; object-position: 50% 25%; }
  .hero__pic figcaption { display: none; }
  .hero__h1 { grid-row: 1 / 4; }
  .hero__tagline { grid-column: 1 / -1; grid-row: 3; max-width: 20ch; }
  .hero__foot { grid-column: 1 / -1; grid-row: 4; justify-self: stretch; justify-items: start; text-align: left; }
  .hero__foot .btn { width: 100%; }
}

/* ---------- detail: one wide and one tall photograph, shown at their real size ---------- */
.detail { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 1.5rem; padding-block: var(--section) 0; align-items: end; }
.detail h2 { grid-column: 1 / -1; font-size: var(--step-head); margin-bottom: 1rem; }
.detail__wide { grid-column: 1 / 8; }
.detail__tall { grid-column: 8 / 11; }
.detail img { width: 100%; height: auto; display: block; }
.detail__text { grid-column: 11 / -1; font-size: var(--step-small); line-height: 1.45; align-self: end; }
@media (max-width: 59.99em) {
  .detail__wide { grid-column: 1 / -1; }
  .detail__tall { grid-column: 1 / 8; }
  .detail__text { grid-column: 8 / -1; }
}

/* ---------- the day: one framed photograph per event, the words beside it ----------
   Frames stay near the photos' own 1200px width, so nothing is blown up or soft. */
.day { padding-bottom: var(--section); }
.day h2 { font-size: var(--step-head); padding-block: var(--section) clamp(2rem, 4vw, 3.5rem); }
.panel {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end;
  padding-inline: max(var(--margin), env(safe-area-inset-left, 0px)) max(var(--margin), env(safe-area-inset-right, 0px));
  margin-bottom: clamp(3.5rem, 7vw, 6.5rem);
}
.panel img { grid-column: 1 / 9; grid-row: 1; width: 100%; aspect-ratio: 3 / 2; height: auto; max-width: 1200px; object-fit: cover; opacity: 0; transform: translateY(24px); transition: opacity 900ms var(--ease-expo), transform 900ms var(--ease-expo); }
.panel.in img, html:not(.js) .panel img { opacity: 1; transform: none; }
.panel:nth-of-type(even) img { grid-column: 5 / -1; }
.panel__row { grid-column: 9 / -1; grid-row: 1; display: grid; gap: 0.75rem; align-content: end; padding: 0 !important; }
.panel:nth-of-type(even) .panel__row { grid-column: 1 / 5; }
.panel__row span, .panel__row a { font-size: var(--step-small); font-weight: 700; }
.panel__row span:first-child { color: var(--muted); }
.panel__row h3 { font-size: var(--step-lead); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
@media (max-width: 59.99em) {
  .panel { row-gap: 1rem; }
  .panel img, .panel:nth-of-type(even) img { grid-column: 1 / -1; }
  .panel__row, .panel:nth-of-type(even) .panel__row { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- prices: the ticket, filled in by the visitor ---------- */
.prices { padding-block: var(--section); background: var(--field); color: var(--field-ink); }
.prices > h2 { font-size: var(--step-head); margin: 0 auto clamp(2rem, 5vw, 4rem); width: min(100%, 64rem); }
.ticket {
  --notch: 28px; position: relative; margin-inline: auto; width: min(100%, 64rem);
  display: grid; grid-template-columns: 7fr 3fr; background: var(--bg); color: var(--ink);
}
.ticket__notch { position: absolute; width: var(--notch); height: var(--notch); border-radius: 50%; background: var(--field); left: 70%; margin-left: calc(var(--notch) / -2); }
.ticket__notch--top { top: calc(var(--notch) / -2); }
.ticket__notch--bottom { bottom: calc(var(--notch) / -2); }
.ticket__main { padding: 40px; display: grid; gap: 1.6rem; align-content: start; min-width: 0; }
.ticket__main h3 { font-size: var(--step-head); }
.ticket__stub {
  padding: 40px 24px 24px 30px; display: grid; align-content: space-between; gap: 1.25rem; text-align: center; min-width: 0;
  border-left: 6px dotted var(--field);
}
.ticket__price { font-family: var(--display); font-weight: var(--display-weight); font-size: var(--step-head); letter-spacing: var(--display-track); line-height: 0.9; font-variant-numeric: tabular-nums; }
.ticket__price small { display: block; font-size: var(--step-small); font-weight: 700; letter-spacing: 0; margin-top: 0.6rem; }
.ticket__stub .btn { width: 100%; min-height: 56px; }
.ticket__terms { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem 2rem; }
.field { display: grid; gap: 0.5rem; }
.field > span, .field legend { font-weight: 700; font-size: var(--step-small); padding: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field input[type="date"] { min-height: 3.25rem; padding: 0.6rem 0.9rem; border: 0; border-radius: 0; background: var(--surface); color: var(--ink); max-width: 20rem; width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.chip span { display: inline-block; padding: 0.55rem 0.85rem; background: var(--surface); font-weight: 700; font-size: var(--step-small); transition: background-color 180ms ease, color 180ms ease, transform 140ms var(--ease-out); }
.chip:hover span { transform: translateY(-1px); }
.chip input:checked + span { background: var(--accent); color: var(--accent-ink); }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.ticket__answer { line-height: 1.35; }
.prices__more { margin: 2.5rem auto 0; width: min(100%, 64rem); }
.prices__lead { width: min(100%, 64rem); margin: -1rem auto 2.5rem; }
.packages { width: min(100%, 64rem); margin-inline: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.pkg { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 0.75rem; padding: 1.5rem 1.25rem; background: var(--bg); color: var(--ink); position: relative; }
.pkg h3 { font-size: var(--step-lead); line-height: 1; }
.pkg__hours, .pkg__inc { font-size: var(--step-small); line-height: 1.4; }
.pkg__hours { color: var(--muted); font-weight: 700; }
.pkg__prices { display: grid; gap: 0.5rem; margin: 0.5rem 0; }
.pkg__prices div { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
.pkg__prices dt { font-size: var(--step-small); }
.pkg__prices dd { margin: 0; font-family: var(--display); font-weight: var(--display-weight); font-size: var(--step-lead); font-variant-numeric: tabular-nums; }
.pkg__book { width: 100%; min-height: 48px; font-size: var(--step-small); }
.pkg .btn--paper { background: var(--surface); }
.pkg--most { box-shadow: inset 0 0 0 3px var(--accent); }
.pkg__badge { position: absolute; top: 0; right: 0; transform: translateY(-50%); margin-right: 1rem; padding: 0.3rem 0.6rem; background: var(--field-ink); color: var(--field); font-size: var(--step-small); font-weight: 700; }
.prices__terms { width: min(100%, 64rem); margin: 2rem auto 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; font-weight: 700; font-size: var(--step-small); }
.prices__offer { width: min(100%, 64rem); margin: 1rem auto clamp(4rem, 8vw, 6rem); font-size: var(--step-lead); line-height: 1.25; }
@media (max-width: 59.99em) { .packages { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.75rem; } }
@media (max-width: 35em) { .packages { grid-template-columns: 1fr; } .prices__terms { flex-direction: column; } }
@media (max-width: 47.99em) {
  .ticket { grid-template-columns: 1fr; }
  .ticket__notch { left: auto; margin: 0; }
  .ticket__notch--top { top: auto; bottom: var(--stub-h, 15rem); left: calc(var(--notch) / -2); transform: translateY(50%); }
  .ticket__notch--bottom { bottom: var(--stub-h, 15rem); right: calc(var(--notch) / -2); transform: translateY(50%); }
  .ticket__main { padding: 24px; }
  .ticket__stub { border-left: 0; border-top: 6px dotted var(--field); padding: 56px 24px 24px; }
  .ticket__terms { grid-template-columns: 1fr; }
}

/* ---------- reviews: lead quote, corner quotes ---------- */
.reviews { display: grid; grid-template-rows: auto auto; row-gap: clamp(5rem, 9vw, 8rem); padding-block: var(--section) 32px; background: var(--surface); }
.reviews__lead { justify-self: center; text-align: center; max-width: min(90vw, 34ch); }
.reviews__lead p { font-size: clamp(1.75rem, 1rem + 1.6vw, 2.25rem); line-height: 1.2; letter-spacing: -0.02em; max-width: none; }
.reviews figcaption { margin-top: 0.9rem; font-size: var(--step-small); color: var(--muted); font-weight: 700; }
.reviews__corners { grid-row: 2; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.reviews__corner { grid-column: 1 / 4; line-height: 1.5; }
.reviews__corner:last-child { grid-column: 10 / 13; }
@media (max-width: 59.99em) {
  .reviews { grid-template-rows: auto auto; row-gap: 96px; min-height: 0; }
  .reviews__lead { justify-self: start; text-align: left; max-width: none; }
  .reviews__corners { grid-row: 2; grid-template-columns: 1fr; row-gap: 2.5rem; }
  .reviews__corner, .reviews__corner:last-child { grid-column: 1; }
  .reviews__corner:last-child { margin-left: 25%; }
}

/* ---------- about: side facts, wide paragraph ---------- */
.about { padding-block: var(--section); display: grid; grid-template-columns: 34% 1fr; row-gap: 120px; }
.about__facts { display: grid; gap: 20px; align-content: start; font-size: var(--step-small); width: 160px; }
.about__facts dt { color: var(--muted); }
.about__facts dd { font-weight: 700; }
.about__text h2 { font-size: var(--step-lead); text-transform: none; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 0.6em; }
.about__text p { font-size: var(--step-lead); line-height: 1.35; max-width: none; }
.about__text { padding-right: 10%; }
.about__label { font-size: var(--step-small); font-weight: 700; }
.about__lists { display: flex; flex-wrap: wrap; gap: 2rem 64px; }
.about__lists ul { width: 260px; display: grid; gap: 10px; font-size: var(--step-small); }
.about__lists li { display: flex; justify-content: space-between; gap: 1rem; }
.about__lists li span:last-child { color: var(--muted); }
@media (max-width: 47.99em) {
  .about { grid-template-columns: 1fr; row-gap: 2rem; }
  .about__text { order: -1; padding-right: 0; }
  .about__facts { grid-template-columns: 1fr 1fr; width: auto; }
  .about__lists { flex-direction: column; gap: 40px; }
}

/* ---------- FAQ: answers as reading text ---------- */
.faq { padding-bottom: var(--section); row-gap: 2rem; }
.faq h2 { grid-column: 1 / 4; font-size: var(--step-lead); line-height: 1; }
.faq__text { grid-column: 5 / -1; columns: 2; column-gap: 56px; line-height: 1.55; }
.faq__text p { break-inside: avoid; margin-bottom: 20px; max-width: 36ch; }
.faq__text strong { font-weight: 700; }
@media (max-width: 59.99em) {
  .faq h2 { grid-column: 1 / -1; }
  .faq__text { grid-column: 1 / -1; columns: 1; }
  .faq__text p { max-width: none; margin-bottom: 18px; }
}

/* ---------- closing photograph: picture on the left, the ask on the right, never on top ---------- */
.close { display: grid; grid-template-columns: 7fr 5fr; min-height: 80svh; background: var(--field); color: var(--field-ink); }
.close img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.close__text { display: grid; grid-template-columns: 1fr !important; align-items: end; padding: clamp(2rem, 5vw, 4.5rem) max(var(--margin), env(safe-area-inset-right, 0px)) clamp(2rem, 5vw, 4.5rem) clamp(2rem, 5vw, 4.5rem) !important; }
.close__text > div { display: grid; gap: 1rem; justify-items: start; }
.close__text h2 { font-size: var(--step-head); line-height: 0.88; }
@media (max-width: 59.99em) {
  .close { grid-template-columns: 1fr; min-height: 0; }
  .close img { height: 70svh; }
  .close__text { padding: 2rem max(16px, env(safe-area-inset-right, 0px)) 2.5rem max(16px, env(safe-area-inset-left, 0px)) !important; }
  .close__text .btn { width: 100%; }
}

/* ---------- footer: photograph half, menu half ---------- */
.foot { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; background: var(--field); color: var(--field-ink); }
.foot__pic { overflow: hidden; }
.foot__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.foot__side { display: grid; grid-template-rows: auto auto 1fr auto; padding: 80px max(var(--margin), env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) 16.6%; gap: 2rem; }
.foot__mark { font-family: var(--display); font-weight: var(--display-weight); text-transform: uppercase; letter-spacing: -0.04em; font-size: var(--step-body); }
.foot__menu { display: grid; gap: 28px; justify-items: start; }
.foot__menu a { font-weight: 700; font-size: var(--step-lead); text-decoration: none; letter-spacing: -0.03em; line-height: 1; display: inline-block; transition: transform 240ms var(--ease-out), opacity 200ms ease; }
.foot__menu:hover a { opacity: 0.55; }
.foot__menu a:hover, .foot__menu a:focus-visible { opacity: 1; transform: translateX(12px); }
.foot__blocks { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; font-size: var(--step-small); align-content: start; margin-top: 2rem; }
.foot__blocks div { display: grid; gap: 0.3rem; align-content: start; }
.foot__legal { font-size: var(--step-small); }
@media (max-width: 47.99em) {
  .foot { grid-template-columns: 1fr; }
  .foot__pic img { height: 50svh; }
  .foot__side { padding: 2.5rem max(16px, env(safe-area-inset-right, 0px)) calc(1.5rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
  .foot__menu { gap: 20px; }
}

/* ---------- entrances (visible at rest without script) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease-expo), transform 800ms var(--ease-expo); transition-delay: calc(var(--i, 0) * 80ms); }
  .js .rise.in { opacity: 1; transform: none; }
  .hero__pic img { animation: settle 1400ms var(--ease-expo) both; }
  @keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .panel img { transition: none; opacity: 1; transform: none; }
}
/* Price-section text keeps the left edge of the heading and cards, at a reading width. */
.prices__lead, .prices__more { width: auto; max-width: 60ch; margin-left: max(0px, calc((100% - 64rem) / 2)); margin-right: auto; }
.prices__offer { width: auto; max-width: 64rem; margin-left: max(0px, calc((100% - 64rem) / 2)); }
.ticket__stub { align-content: start; grid-template-rows: auto auto 1fr; }
.ticket__stub .btn { align-self: end; }
/* The logo: red on the light bar, white on the wine footer. */
.bar__mark img { display: block; height: 3.5rem; width: auto; }
.foot__mark img { display: block; height: 4.5rem; width: auto; }
@media (max-width: 59.99em) { .bar__mark img { height: 2.75rem; } }
