/* ==========================================================================
   La Tavola — Homemade Italian-Inspired Foods
   Direction: Italian vintage botanical
   ========================================================================== */

:root {
  --cream: #F5F0E5;
  --cream-2: #EBE3D0;
  --paper: #FBF8F1;
  --olive: #394934;
  --olive-2: #2C3A29;
  --tomato: #A94332;
  --tomato-d: #8C3527;
  --gold: #B99A62;
  --gold-l: #DCC994;
  --ink: #292C25;
  --ink-soft: #4D5147;
  --line: #8C8062;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --script: "La Belle Aurore", "Segoe Script", "Brush Script MT", cursive;

  --header-h: 72px;
  --wrap: 1160px;

  /* subtle paper grain */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .33 0 0 0 0 .2 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream) var(--grain);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--olive); color: var(--cream);
  padding: 10px 16px; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.script { font-family: var(--script); }

/* ---------- Typography ---------- */

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--olive); letter-spacing: -.005em; text-wrap: balance; }
p { text-wrap: pretty; }

h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.06; }
h1 em { color: var(--tomato); font-style: italic; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.12; }
h3 { font-size: 1.5rem; line-height: 1.2; }

.eyebrow {
  font: 600 .74rem/1.4 var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--tomato);
  margin-bottom: 18px;
}
.eyebrow--gold { color: var(--gold-l); }
.eyebrow--rule { display: inline-flex; align-items: center; gap: 14px; }
.eyebrow--rule::before {
  content: ""; width: 36px; height: 1px; background: currentColor; opacity: .7;
}

.lede { font-size: 1.125rem; color: var(--ink-soft); max-width: 34em; margin-top: 22px; }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  font: 600 .78rem/1 var(--sans);
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  color: var(--cream); background: var(--tomato);
  border: 1.5px solid var(--tomato); border-radius: 2px;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--tomato-d); border-color: var(--tomato-d); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--olive); border-color: var(--olive); }
.btn--ghost:hover { background: var(--olive); border-color: var(--olive); color: var(--cream); }
.btn--small { padding: 11px 20px; font-size: .72rem; }
.btn--block { width: 100%; padding-block: 17px; }
.btn[disabled] { opacity: .65; cursor: progress; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--tomato); text-decoration: none;
  padding-block: 6px; border-bottom: 1px solid currentColor;
}
.link:hover { color: var(--tomato-d); }
.link .icon { transition: transform .2s; }
.link:hover .icon { transform: translateX(3px); }

.icon { width: 18px; height: 18px; flex: none; }

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--cream) 94%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(57, 73, 52, .18);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand {
  font: 600 1.25rem/1 var(--serif);
  letter-spacing: .2em; color: var(--olive); text-decoration: none;
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) {
  font: 500 .76rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding-block: 8px;
  background: linear-gradient(var(--tomato), var(--tomato)) 0 100% / 0 1.5px no-repeat;
  transition: background-size .25s, color .2s;
}
.nav a:not(.btn):hover { background-size: 100% 1.5px; color: var(--tomato); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1.5px solid var(--olive); border-radius: 2px;
  color: var(--olive); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; display: block; width: 20px; height: 1.8px; background: currentColor;
  transition: transform .25s, opacity .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

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

.hero {
  position: relative;
  padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 7vw, 104px);
  background:
    radial-gradient(ellipse 60% 70% at 78% 45%, rgba(255, 252, 244, .9), transparent 70%),
    transparent;
  overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: clamp(24px, 5vw, 72px);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__note { font-size: 1.7rem; color: var(--gold); margin-top: 26px; transform: rotate(-2deg); transform-origin: left; }

.hero__art { position: relative; min-height: 560px; }
.hero__art::before {
  content: ""; position: absolute; left: 50%; top: 48%;
  width: min(92%, 500px); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: radial-gradient(circle, rgba(255, 253, 247, .95) 0 60%, rgba(245, 240, 229, 0) 72%);
  box-shadow: 0 0 0 10px rgba(185, 154, 98, .1);
}

.branch { position: absolute; color: var(--olive); width: min(58%, 290px); height: auto; }
.branch--a { left: 2%; top: 6%; transform: rotate(-10deg); }
.branch--b { right: 0; bottom: 8%; transform: scale(-1, -1) rotate(-12deg); color: var(--olive); opacity: .9; }

.hero__cloth {
  position: absolute; left: 50%; bottom: 44px; z-index: 1;
  width: min(96%, 520px); height: 150px; transform: translateX(-50%) perspective(520px) rotateX(62deg);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(169, 67, 50, .5) 50%, transparent 50%),
    linear-gradient(rgba(169, 67, 50, .5) 50%, transparent 50%),
    var(--paper);
  background-size: 24px 24px, 24px 24px, auto;
  box-shadow: 0 24px 34px -10px rgba(41, 44, 37, .28);
}

/* `.jar.` prefix so these beat the generic `.jar { --w }` declared further down */
.jar.hero__jar { position: absolute; z-index: 2; }
.jar.hero__jar--back  { --w: min(240px, 46%); right: 3%; bottom: 100px; transform: rotate(4deg); z-index: 2; }
.jar.hero__jar--front { --w: min(260px, 50%); left: 5%; bottom: 62px; transform: rotate(-3deg); z-index: 3; }

/* ---------- Gingham divider + strip ---------- */

.gingham {
  height: 14px;
  background:
    linear-gradient(90deg, rgba(169, 67, 50, .55) 50%, transparent 50%),
    linear-gradient(rgba(169, 67, 50, .55) 50%, transparent 50%),
    var(--paper);
  background-size: 14px 14px, 14px 14px, auto;
}

.strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 44px;
  padding: 22px 24px;
  background: var(--olive); color: var(--cream);
  font: 500 .78rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase;
}
.strip li { display: inline-flex; align-items: center; gap: 44px; }
.strip li:not(:last-child)::after { content: "✦"; color: var(--gold); font-size: .7rem; letter-spacing: 0; }

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

.section { padding-block: clamp(72px, 9vw, 128px); }

.section__head { max-width: 640px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section__head p:not(.eyebrow) { margin-top: 18px; color: var(--ink-soft); }
.section__head--light h2 { color: var(--cream); }
.section__head--light p:not(.eyebrow) { color: rgba(245, 240, 229, .86); }

/* Story */
.story__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }

.dictionary {
  position: relative;
  padding: 56px 40px 44px;
  background: var(--paper) var(--grain);
  border: 1px solid var(--olive);
  box-shadow: inset 0 0 0 6px var(--paper), inset 0 0 0 7px var(--tomato), 0 22px 40px -22px rgba(41, 44, 37, .35);
  text-align: center;
}
.dictionary__branch { width: 180px; height: auto; margin: -22px auto 18px; color: var(--olive); }
.dictionary__word { font: italic 500 clamp(3rem, 6vw, 4.6rem)/1 var(--serif); color: var(--tomato); }
.dictionary__pron { margin-top: 10px; font: 500 .82rem/1.4 var(--sans); letter-spacing: .08em; color: var(--ink-soft); }
.dictionary__pron span { font-style: italic; }
.dictionary__def { margin-top: 22px; font: 400 1.15rem/1.6 var(--serif); color: var(--ink); }
.dictionary__def em { color: var(--olive); }

.story__copy h2 { margin-bottom: 26px; }
.story__copy p:not(.eyebrow) { color: var(--ink-soft); margin-top: 16px; max-width: 36em; }

/* Jars */
.jars {
  background: var(--olive) var(--grain);
  color: var(--cream);
  position: relative;
}
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3.4vw, 48px); }

.card {
  display: flex; flex-direction: column;
  background: var(--cream); color: var(--ink);
  border-radius: 2px;
  box-shadow: 0 30px 50px -28px rgba(0, 0, 0, .55);
  overflow: hidden;
}
.card__stage {
  display: grid; place-items: end center;
  padding: 44px 24px 0;
  background:
    radial-gradient(circle at 50% 70%, rgba(255, 253, 247, .95) 0, rgba(255, 253, 247, 0) 62%),
    var(--cream-2);
  border-bottom: 7px solid var(--gold);
  position: relative;
}
.card__stage .jar { margin-bottom: -1px; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 34px 34px 32px; }
.card__kicker { font: 600 .72rem/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--tomato); }
.card__body h3 { font-size: 2rem; margin-top: 8px; }
.card__body > p:not(.card__kicker) { margin-top: 14px; color: var(--ink-soft); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li {
  font: 500 .72rem/1 var(--sans); letter-spacing: .08em;
  color: var(--olive); background: rgba(57, 73, 52, .08);
  border: 1px solid rgba(57, 73, 52, .28); border-radius: 999px;
  padding: 8px 14px;
}

.card__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: auto; padding-top: 28px;
}
.card__foot::before { content: none; }
.card__net { font: 500 .72rem/1 var(--sans); letter-spacing: .14em; color: var(--ink-soft); }

/* Kitchen */
.kitchen { background: var(--cream-2) var(--grain); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); text-align: center; }
.pillar { padding-inline: 8px; }
.pillar__icon { width: 56px; height: 56px; margin: 0 auto 18px; color: var(--tomato); }
.pillar h3 { font-size: 1.4rem; }
.pillar p { margin-top: 10px; color: var(--ink-soft); max-width: 22em; margin-inline: auto; }

.inside {
  margin-top: clamp(56px, 7vw, 96px);
  padding: clamp(32px, 4vw, 52px) clamp(24px, 4vw, 48px);
  background: var(--paper) var(--grain);
  border: 1px solid var(--olive);
  box-shadow: inset 0 0 0 6px var(--paper), inset 0 0 0 7px var(--tomato);
}
.inside__title { text-align: center; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 34px; }
.inside__title::after {
  content: ""; display: block; width: 56px; height: 1px; background: var(--gold); margin: 16px auto 0;
}
.inside__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px 22px; }
.inside__list li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.inside__icon { width: 46px; height: 46px; color: var(--olive); margin-bottom: 8px; }
.inside__list strong { font: 600 .82rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--tomato); }
.inside__list span { font-size: .9rem; line-height: 1.55; color: var(--ink-soft); }

/* Contact */
.contact { background: var(--olive-2) var(--grain); color: var(--cream); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact__copy h2 { color: var(--cream); margin-bottom: 22px; }
.contact__copy > p:not(.eyebrow):not(.contact__web):not(.contact__script) { color: rgba(245, 240, 229, .86); max-width: 30em; }
.contact__list { margin-top: 30px; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 14px; font-weight: 500; letter-spacing: .02em; }
.contact__list .icon { width: 28px; height: 28px; color: var(--gold-l); }
.contact__web { margin-top: 36px; font: 600 1.05rem/1 var(--serif); letter-spacing: .14em; color: var(--gold-l); }
.contact__script { margin-top: 14px; font-size: 2.2rem; color: var(--cream); opacity: .85; transform: rotate(-3deg); transform-origin: left; }

.form-card {
  background: var(--cream) var(--grain);
  color: var(--ink);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--olive);
  box-shadow: inset 0 0 0 7px var(--cream), inset 0 0 0 8px var(--tomato), 0 34px 60px -30px rgba(0, 0, 0, .7);
}
.form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font: 600 .72rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--olive); }
.req { color: var(--tomato); }
.opt { text-transform: none; letter-spacing: .02em; font-weight: 500; color: var(--ink-soft); }

.field input, .field select, .field textarea {
  width: 100%;
  font: 400 1rem/1.5 var(--sans); color: var(--ink);
  background: #FFFDF8;
  border: 1px solid var(--line); border-radius: 2px;
  padding: 13px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--olive); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(57, 73, 52, .28);
}
.field [aria-invalid="true"] { border-color: var(--tomato); box-shadow: 0 0 0 1px var(--tomato); }
.field__error { font-size: .84rem; line-height: 1.4; font-weight: 500; color: var(--tomato-d); }

.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px;
  border-right: 1.8px solid var(--olive); border-bottom: 1.8px solid var(--olive);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__fine { font-size: .82rem; color: var(--ink-soft); text-align: center; margin-top: -6px; }
.form__status {
  font-size: .92rem; font-weight: 500; padding: 12px 14px; border-radius: 2px; text-align: center;
  background: rgba(57, 73, 52, .1); color: var(--olive); border: 1px solid rgba(57, 73, 52, .3);
}
.form__status--error { background: rgba(169, 67, 50, .1); color: var(--tomato-d); border-color: rgba(169, 67, 50, .4); }

.thanks { text-align: center; padding: 36px 8px; }
.thanks:focus { outline: none; }
.thanks__script { font-size: 3.4rem; line-height: 1; color: var(--tomato); transform: rotate(-3deg); }
.thanks h3 { margin-top: 12px; }
.thanks p:not(.script) { margin: 12px auto 26px; color: var(--ink-soft); max-width: 24em; }

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

.site-footer { background: var(--ink); color: var(--cream); padding: 56px 0 28px; }
.footer__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(245, 240, 229, .16);
}
.footer__branch { width: 130px; height: auto; color: var(--gold); margin-bottom: 8px; }
.footer__wordmark { font: 600 1.5rem/1 var(--serif); letter-spacing: .2em; }
.footer__sub { font: 500 .68rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-l); margin-top: 8px; }
.footer__tag { font: italic 400 1.1rem/1.4 var(--serif); text-align: center; color: rgba(245, 240, 229, .9); }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 26px; }
.footer__nav a { font: 500 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding-block: 6px; }
.footer__nav a:hover { color: var(--gold-l); }
.footer__links { display: grid; gap: 18px; justify-items: end; }

/* Social links (used on dark backgrounds: contact + footer) */
.social { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.social a {
  display: inline-flex; align-items: center; gap: 10px; padding-block: 6px;
  font: 500 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--cream); text-decoration: none;
}
.social a:hover { color: var(--gold-l); }
.social .icon { width: 24px; height: 24px; }
.contact .social { margin-top: 30px; }

/* The default tomato focus ring is too faint on the dark sections */
.contact__copy :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-l); }

.footer__legal { margin-top: 24px; font-size: .78rem; color: rgba(245, 240, 229, .7); text-align: center; }

/* ==========================================================================
   Jar illustration (label text scales with the jar via container units)
   ========================================================================== */

.jar {
  --w: 280px;
  --sauce: #9C3A2B;
  --sauce-d: #74271D;
  position: relative;
  display: block;
  width: var(--w);
  container-type: inline-size;
  filter: drop-shadow(0 16px 16px rgba(41, 44, 37, .28));
}
.jar--antipasto { --sauce: #6A4630; --sauce-d: #47301F; }

.jar__lid {
  display: block; position: relative; z-index: 2;
  width: 82%; height: 11cqw; margin: 0 auto;
  border-radius: 2.4cqw 2.4cqw 1cqw 1cqw;
  background: linear-gradient(90deg, #86703F 0%, #DCC591 22%, #B99A62 50%, #CBB176 68%, #7B6537 100%);
  box-shadow: inset 0 -1cqw 0 rgba(0, 0, 0, .14), inset 0 1cqw 0 rgba(255, 255, 255, .28);
}
.jar__lid::after {
  content: ""; position: absolute; inset: 2.2cqw 0 2.8cqw;
  background: repeating-linear-gradient(90deg, rgba(41, 44, 37, .17) 0 .5cqw, transparent .5cqw 2.3cqw);
}
.jar__neck {
  display: block; width: 78%; height: 6cqw; margin: 0 auto;
  background: linear-gradient(90deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, .12)), #D5DED6;
}
.jar__body {
  display: block; position: relative;
  height: 118cqw;
  border-radius: 26cqw 26cqw 7cqw 7cqw / 15cqw 15cqw 6cqw 6cqw;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .32) 0, rgba(255, 255, 255, 0) 12%, rgba(255, 255, 255, 0) 84%, rgba(0, 0, 0, .22) 100%),
    linear-gradient(180deg, transparent 0 13cqw, var(--sauce) 13cqw, var(--sauce-d) 100%),
    linear-gradient(180deg, #D5DED6, #E6ECE5 13cqw);
  overflow: hidden;
}
.jar__body::before {
  content: ""; position: absolute; left: 5cqw; top: 20cqw; width: 3cqw; height: 62cqw; border-radius: 3cqw;
  background: linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .08));
}
.jar__label {
  position: absolute; left: 10%; right: 10%; top: 23cqw; bottom: 11cqw;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: 1cqw; padding: 4cqw 3cqw 4.2cqw;
  text-align: center;
  background: var(--grain), var(--cream);
  box-shadow:
    0 .6cqw 1.6cqw rgba(0, 0, 0, .3),
    inset 0 0 0 .5cqw var(--olive),
    inset 0 0 0 1.6cqw var(--cream),
    inset 0 0 0 2.1cqw var(--tomato);
}
.jar__ill { flex: none; width: 30cqw; height: 28cqw; }
.jar__brand { font: 600 8.6cqw/1 var(--serif); letter-spacing: .14em; padding-left: .14em; color: var(--olive); }
.jar__sub { font: 500 2.6cqw/1.25 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--tomato); }
.jar__tag { font: italic 400 3cqw/1.25 var(--serif); color: var(--ink); }
.jar__name { font: 600 8cqw/1.02 var(--serif); color: var(--tomato); }
.jar--antipasto .jar__name { font-size: 7cqw; max-width: 11ch; }
.jar__desc { font: 600 2.9cqw/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--olive); }
.jar__net { font: 500 2.5cqw/1 var(--sans); letter-spacing: .1em; color: var(--ink-soft); }

/* ==========================================================================
   Motion
   ========================================================================== */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .cards .reveal:nth-child(2) { transition-delay: .12s; }
.js .pillars .reveal:nth-child(2) { transition-delay: .1s; }
.js .pillars .reveal:nth-child(3) { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__actions { justify-content: center; }
  .hero__note { transform-origin: center; }
  .hero__art { width: min(100%, 520px); margin-inline: auto; }

  .story__grid, .contact__grid { grid-template-columns: 1fr; }
  .dictionary { max-width: 520px; margin-inline: auto; }
  .cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .inside__list { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  :root { --header-h: 64px; }

  .js .nav-toggle { display: inline-flex; }
  .js .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 24px;
    background: var(--cream);
    border-bottom: 1px solid rgba(57, 73, 52, .25);
    box-shadow: 0 24px 30px -20px rgba(41, 44, 37, .35);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .js .nav[data-open="true"] { visibility: visible; opacity: 1; transform: none; }
  .js .nav a:not(.btn) { padding: 18px 0; border-bottom: 1px solid rgba(57, 73, 52, .14); background: none; font-size: .82rem; }
  .js .nav .btn { margin-top: 18px; padding-block: 15px; }

  .pillars { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer__nav { justify-content: center; }
  .footer__links { justify-items: center; }
  .footer__links .social { justify-content: center; }
}

@media (max-width: 620px) {
  .wrap { padding-inline: 16px; }
  .field-row { grid-template-columns: 1fr; }
  .inside__list { grid-template-columns: repeat(2, 1fr); }
  .inside__list li:last-child { grid-column: 1 / -1; }
  .strip { gap: 8px 18px; font-size: .68rem; letter-spacing: .16em; padding-inline: 16px; }
  .strip li { gap: 18px; }
  .hero__art { min-height: 460px; }
  .jar.hero__jar--back  { --w: 44%; bottom: 84px; }
  .jar.hero__jar--front { --w: 48%; bottom: 58px; }
  .hero__cloth { height: 120px; bottom: 38px; }
  .card__body { padding: 28px 22px 26px; }
  .form-card { padding: 28px 20px; }
  .dictionary { padding: 48px 24px 36px; }
}
