/* Inner pages (shop, products, events, contact, thank-you, 404) in the homepage's style.
   Uses the same tokens and pieces from home.css; this file only adds page layouts. */

/* page head: like the homepage hero, cream with a big serif title */
.page-head { max-width: var(--w); margin: 0 auto; padding: clamp(28px, 5vw, 64px) var(--pad) clamp(44px, 6vw, 80px);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-head.solo { grid-template-columns: 1fr; }
.page-head h1 { font-family: var(--serif); font-size: clamp(48px, 6.6vw, 96px); line-height: .94; letter-spacing: -.02em; }
.page-head h1 em { color: var(--clay); }
.page-head .lede { max-width: 520px; }
.page-head .cta { margin-top: 30px; }
.stepped-pic { margin: 0; }
.stepped-pic img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 4px;
  clip-path: polygon(0 18%, 6% 18%, 6% 12%, 12% 12%, 12% 6%, 18% 6%, 18% 0, 100% 0, 100% 100%, 0 100%); }

.band { padding: clamp(64px, 8vw, 110px) 0; }
.band.paper { background: var(--paper); }

/* shop: ways to get it */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: clamp(56px, 7vw, 90px); padding-top: 32px; border-top: 1px solid rgba(31,23,18,.14); }
.way h3 { font-family: var(--serif); font-size: 34px; line-height: 1; margin-bottom: 10px; }
.way p { max-width: 30em; color: var(--ink-2); }

/* product page */
.pd { max-width: var(--w); margin: 0 auto; padding: clamp(24px, 4vw, 56px) var(--pad) clamp(64px, 8vw, 110px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.pd-pic { position: sticky; top: 90px; margin: 0; }
.pd-pic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; background: var(--cream-2);
  clip-path: polygon(0 14%, 5% 14%, 5% 9.5%, 10% 9.5%, 10% 5%, 15% 5%, 15% 0, 100% 0, 100% 100%, 0 100%); }
.crumb { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.crumb a { color: var(--muted); }
.pd h1 { font-family: var(--serif); font-size: clamp(46px, 5.4vw, 76px); line-height: .95; letter-spacing: -.015em; }
.pd .price-big { margin: 14px 0 0; font-size: 22px; font-weight: 600; }
.pd .desc { margin: 20px 0 0; max-width: 30em; color: var(--ink-2); }
.pd .coya-add { margin-top: 30px; gap: 18px; }
.ctl { display: grid; gap: 8px; }
.ctl label { font-size: 14px; font-weight: 600; }
.ctl select, .ctl input, .field input, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid rgba(31,23,18,.2); border-radius: 12px; background: #fff;
  font: 400 17px/1.4 var(--sans); color: var(--ink); -webkit-appearance: none; appearance: none; }
.ctl select { padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231f1712' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; }
.ctl input[type=number] { width: 120px; }
.ctl select:focus, .ctl input:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(181,83,44,.18); }
.pd .coya-add .btn { width: 100%; min-height: 56px; font-size: 17px; }
.pd .coya-add-error { margin: 0; font-size: 14px; color: var(--clay); }
.howget { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(31,23,18,.14); font-size: 15px; color: var(--ink-2); }
.howget b { color: var(--ink); }
.coya-note { display: none; }
.more .shop { grid-template-columns: repeat(3, 1fr); }

/* events */
.facts-row { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 34px; margin: 30px 0 0; padding: 0; font-size: 15px; color: var(--ink-2); }
.facts-row b { display: block; font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1; color: var(--ink); }
.occasions { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.5vw, 32px); }
.occasion { padding-top: 20px; border-top: 2px solid var(--ink); }
.occasion h3 { font-family: var(--serif); font-size: 32px; line-height: 1; margin-bottom: 10px; }
.occasion p { color: var(--ink-2); font-size: 16px; }
.serve { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); }
.serve h3 { font-family: var(--serif); font-size: 38px; line-height: 1; margin-bottom: 16px; }
.serve ul { list-style: none; margin: 0; padding: 0; }
.serve li { padding: 12px 0; border-top: 1px solid rgba(31,23,18,.14); }
.bar { padding: clamp(72px, 9vw, 120px) 0 0; }
.bar h2 { color: var(--cream); }
.drinks { margin: 34px 0 clamp(72px, 9vw, 120px); font-family: var(--serif); font-size: clamp(28px, 3.6vw, 48px); line-height: 1.2; }
.drinks span:not(:last-child)::after { content: "·"; margin: 0 .35em; color: var(--aji); }
.drinks span:nth-child(odd) { font-style: italic; }

/* forms */
.split-form { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.split-form .aside p { margin-top: 18px; color: var(--ink-2); max-width: 26em; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fields .wide { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field textarea { min-height: 140px; resize: vertical; }
.w-form form .btn { margin-top: 22px; }
.w-form-done, .w-form-fail { display: none; padding: 26px 28px; border-radius: 6px; }
.w-form-done { background: var(--morado); color: var(--cream); }
.w-form-done h3 { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--aji); margin-bottom: 8px; }
.w-form-fail { margin-top: 16px; background: rgba(181,83,44,.12); }

/* contact side */
.reach { display: grid; gap: 30px; }
.reach h3 { font-family: var(--serif); font-size: 34px; line-height: 1; margin-bottom: 8px; }
.reach address { font-style: normal; color: var(--ink-2); }
.reach .links-row { margin: 12px 0 0; }

/* thank-you / 404 */
.notice { max-width: 760px; margin: 0 auto; padding: clamp(80px, 12vw, 160px) var(--pad); text-align: center; }
.notice h1 { font-family: var(--serif); font-size: clamp(52px, 8vw, 110px); line-height: .92; letter-spacing: -.02em; }
.notice h1 em { color: var(--clay); }
.notice p { margin: 22px auto 0; max-width: 30em; color: var(--ink-2); }
.notice .btn { margin-top: 34px; }
.coya-thanks-num { margin: 20px 0 0 !important; font: 600 15px var(--sans) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--clay) !important; }

/* current page in the nav */
.links a[aria-current] { opacity: 1; text-decoration: underline; text-decoration-color: var(--clay); text-decoration-thickness: 2px; text-underline-offset: 6px; }

@media (max-width: 980px) {
  .occasions { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .page-head, .pd, .serve, .split-form, .ways { grid-template-columns: 1fr; }
  .page-head .stepped-pic { order: -1; }
  .pd-pic { position: static; }
  .fields { grid-template-columns: 1fr; }
  .more .shop { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .occasions { grid-template-columns: 1fr; }
}
.drinks span { display: inline-block; max-width: 100%; }
.split-form .aside p.kicker { margin-top: 0; color: var(--clay); }

/* icons on the events page */
.oc-ic { display: block; width: 30px; height: 30px; margin-bottom: 14px; fill: none; stroke: var(--clay); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.serve li { display: flex; align-items: center; gap: 14px; }
.serve .li { width: 20px; height: 20px; color: var(--clay); opacity: 1; }

/* drinks band with the pisco photo */
.bar-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 90px); align-items: center; padding-bottom: clamp(72px, 9vw, 120px); }
.bar-in .drinks { margin-bottom: 0; font-size: clamp(26px, 3vw, 40px); }
.bar-pic img { aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .bar-in { grid-template-columns: 1fr; } .bar-pic { order: -1; } }
