/* Self hosted so the site never waits on a third party. */
@font-face{font-family:'Fraunces';font-style:normal;font-weight:400;font-display:swap;src:url('Fraunces-400.woff2') format('woff2');}
@font-face{font-family:'Fraunces';font-style:italic;font-weight:400;font-display:swap;src:url('Fraunces-400i.woff2') format('woff2');}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:800;font-display:swap;src:url('Fraunces-800.woff2') format('woff2');}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:900;font-display:swap;src:url('Fraunces-900.woff2') format('woff2');}
@font-face{font-family:'Karla';font-style:normal;font-weight:400;font-display:swap;src:url('Karla-400.woff2') format('woff2');}
@font-face{font-family:'Karla';font-style:normal;font-weight:600;font-display:swap;src:url('Karla-600.woff2') format('woff2');}
@font-face{font-family:'Karla';font-style:normal;font-weight:700;font-display:swap;src:url('Karla-700.woff2') format('woff2');}

/* ============================================================
   PicklePick - picklepickshop.com
   Farm pantry: cream paper, deep jar green, brine gold, chilli red.
   ============================================================ */

:root {
  --cream:    #F7EEDD;
  --cream-2:  #F1E5D0;
  --paper:    #FFFBF2;
  --pickle:   #35502A;
  --pickle-2: #27401E;
  --dill:     #6E9440;
  --olive:    #909B57;
  --turmeric: #E0A21B;
  --amber:    #F3C558;
  --chilli:   #B33A2B;
  --chilli-2: #8E2A1E;
  --beet:     #7B2D42;
  --walnut:   #3E2B1C;
  --shelf:    #A9713D;
  --shelf-2:  #8A5A32;
  --ink:      #2A2018;
  --muted:    #6E5C48;
  --line:     rgba(62, 43, 28, .16);
  --line-2:   rgba(62, 43, 28, .08);

  --shadow-sm: 0 1px 2px rgba(62,43,28,.08), 0 2px 8px rgba(62,43,28,.06);
  --shadow-md: 0 2px 6px rgba(62,43,28,.09), 0 12px 28px rgba(62,43,28,.10);
  --shadow-lg: 0 4px 12px rgba(62,43,28,.10), 0 28px 60px rgba(62,43,28,.14);

  --display: "Fraunces", "Georgia", "Times New Roman", serif;
  --body: "Karla", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(62,43,28,.055) 1px, transparent 0);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  color: var(--pickle);
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
p  { margin: 0 0 1.1em; }
a  { color: var(--pickle); text-decoration-color: var(--turmeric);
     text-underline-offset: 3px; }
a:hover { color: var(--chilli); }

.wrap { width: min(var(--wrap), calc(100% - 2.5rem)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 2.5rem)); margin-inline: auto; }
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.lede { font-size: 1.16rem; color: var(--muted); max-width: 62ch; }

/* ---------- little bits of chrome ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--body); font-weight: 700;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--chilli); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--turmeric);
}

.rule {
  height: 3px; border: 0; margin: 0;
  background: repeating-linear-gradient(90deg,
    var(--turmeric) 0 14px, transparent 14px 24px);
  opacity: .55;
}

/* the wooden shelf edge that separates the big sections */
.shelf-edge {
  height: 26px; position: relative; background: var(--shelf);
  box-shadow: inset 0 -9px 0 var(--shelf-2), 0 10px 22px rgba(62,43,28,.16);
}
.shelf-edge::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg,
    rgba(62,43,28,.14) 0 2px, transparent 2px 46px,
    rgba(255,255,255,.10) 46px 48px, transparent 48px 96px);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--body); font-weight: 700; font-size: .96rem;
  letter-spacing: .02em;
  padding: .82rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .15s ease,
    box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 3px; }
.btn-primary { background: var(--chilli); color: var(--paper); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--chilli-2); color: var(--paper);
  box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--pickle);
  border-color: var(--pickle); }
.btn-secondary:hover { background: var(--pickle); color: var(--paper); }
.btn-ghost { background: var(--paper); color: var(--pickle);
  border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.02rem; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 238, 221, .93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .7rem 0;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand svg, .brand img { height: 42px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  font-weight: 600; font-size: .95rem; padding: .5rem .8rem; border-radius: 8px;
  text-decoration: none; color: var(--pickle);
}
.nav a:hover { background: rgba(53, 80, 42, .09); color: var(--pickle); }
.nav a[aria-current="page"] {
  color: var(--chilli); box-shadow: inset 0 -3px 0 var(--turmeric);
}
.nav .btn { margin-left: .6rem; }

.nav-toggle {
  display: none; background: var(--paper); border: 1px solid var(--line);
  border-radius: 10px; padding: .5rem .7rem; cursor: pointer; color: var(--pickle);
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; inset: 100% 0 auto 0; flex-direction: column;
    align-items: stretch; gap: 0; background: var(--cream);
    border-bottom: 1px solid var(--line); padding: .6rem 1.25rem 1.1rem;
    box-shadow: var(--shadow-md);
  }
  .nav[hidden] { display: none; }
  .nav a { padding: .75rem .4rem; border-bottom: 1px solid var(--line-2); }
  .nav .btn { margin: .8rem 0 0; }
}

/* ---------- hero ---------- */

.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 span { color: var(--chilli); display: block; }
.hero .lede { font-size: 1.24rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-note {
  margin-top: 1.6rem; font-size: .92rem; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: .4rem 1.3rem;
}
.hero-note b { color: var(--pickle); font-weight: 700; }

/* the jar shelf illustration */
.shelf-stack { display: grid; gap: 0; }
.shelf-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: .4rem; align-items: end; padding: 0 .5rem;
}
.shelf-row svg { width: 100%; height: auto; filter: drop-shadow(0 6px 10px rgba(62,43,28,.18)); }
.shelf-board {
  height: 18px; background: var(--shelf); border-radius: 3px;
  box-shadow: inset 0 -6px 0 var(--shelf-2), 0 8px 16px rgba(62,43,28,.18);
  margin-bottom: 1.6rem;
}
.shelf-row.tight { grid-template-columns: repeat(5, 1fr); }

/* ---------- feature strip ---------- */

.strip { background: var(--pickle); color: var(--cream); padding: 0; }
.strip .wrap { padding: clamp(2.6rem, 5vw, 3.6rem) 0; }
.strip-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.6rem 2rem;
}
.strip h3 { color: var(--amber); font-size: 1.12rem; margin-bottom: .3rem; }
.strip p { margin: 0; color: rgba(247,238,221,.86); font-size: .96rem; }

/* ---------- product cards ---------- */

.jar-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.4rem;
}
.jar-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.3rem 1.3rem 1.5rem;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.jar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.jar-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: var(--accent, var(--turmeric));
}
.jar-card .art {
  display: grid; place-items: center; padding: .6rem 0 1rem;
  background: radial-gradient(ellipse at 50% 92%, rgba(62,43,28,.10), transparent 62%);
}
.jar-card .art svg { height: 168px; width: auto; }
.jar-card h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.jar-card p { font-size: .93rem; color: var(--muted); margin-bottom: .9rem; }
.jar-card .meta {
  margin-top: auto; display: flex; align-items: baseline;
  justify-content: space-between; gap: .6rem;
  border-top: 1px dashed var(--line); padding-top: .8rem;
}
.jar-card .price { font-family: var(--display); font-weight: 800;
  color: var(--pickle); font-size: 1.05rem; }
.jar-card .size { font-size: .82rem; color: var(--muted); letter-spacing: .04em; }
.tag {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px;
  background: var(--accent, var(--turmeric)); color: var(--paper);
  margin-bottom: .6rem; align-self: flex-start;
}
.tag.heat { background: var(--chilli); }
.tag.sweet { background: var(--turmeric); color: var(--walnut); }
.tag.classic { background: var(--pickle); }

/* ---------- steps ---------- */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem; counter-reset: step; }
.step {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.4rem; position: relative; box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--display); font-weight: 900; font-size: 1.1rem;
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; background: var(--pickle); color: var(--amber);
  margin-bottom: .9rem;
}
.step h3 { font-size: 1.1rem; }
.step p { font-size: .94rem; color: var(--muted); margin: 0; }

/* ---------- panels ---------- */

.panel {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 18px; padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-sm);
}
.panel-green { background: var(--pickle); color: var(--cream); border-color: transparent; }
.panel-green h2, .panel-green h3 { color: var(--amber); }
.panel-green a { color: var(--amber); }

.split { display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.quote {
  font-family: var(--display); font-size: clamp(1.4rem, 3vw, 1.95rem);
  line-height: 1.32; color: var(--pickle); font-style: italic;
  border-left: 4px solid var(--turmeric); padding-left: 1.3rem; margin: 0;
}
.quote footer { font-family: var(--body); font-style: normal; font-size: .9rem;
  color: var(--muted); margin-top: .9rem; letter-spacing: .04em; }

/* ---------- tables ---------- */

.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 460px;
  background: var(--paper); border-radius: 12px; overflow: hidden; }
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line-2); }
th { background: var(--pickle); color: var(--cream); font-size: .82rem;
  letter-spacing: .1em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }

/* ---------- forms ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 700; font-size: .88rem; letter-spacing: .03em; color: var(--pickle); }
label .opt { font-weight: 400; color: var(--muted); letter-spacing: 0; }
input, select, textarea {
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 10px; padding: .72rem .85rem; width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--dill);
  box-shadow: 0 0 0 3px rgba(110, 148, 64, .22);
}
textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.order-lines { display: grid; gap: .7rem; }
.order-line {
  display: grid; grid-template-columns: 1fr 130px 96px 42px; gap: .6rem;
  align-items: center;
}
@media (max-width: 720px) {
  .order-line { grid-template-columns: 1fr 1fr; }
  .order-line .rm { grid-column: 2; justify-self: end; }
}
.rm {
  background: transparent; border: 1.5px solid var(--line); border-radius: 10px;
  width: 42px; height: 42px; cursor: pointer; color: var(--chilli);
  font-size: 1.1rem; line-height: 1;
}
.rm:hover { border-color: var(--chilli); background: rgba(179,58,43,.08); }

.form-note { font-size: .88rem; color: var(--muted); }
.status { border-radius: 12px; padding: 1rem 1.1rem; font-weight: 600;
  margin-top: 1rem; display: none; }
.status.ok { display: block; background: rgba(110,148,64,.16);
  border: 1px solid var(--dill); color: var(--pickle); }
.status.err { display: block; background: rgba(179,58,43,.12);
  border: 1px solid var(--chilli); color: var(--chilli-2); }

/* ---------- faq ---------- */

details {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 1rem 1.2rem; margin-bottom: .8rem;
}
details[open] { box-shadow: var(--shadow-sm); }
summary { font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  color: var(--pickle); cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--turmeric);
  font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { margin: .8rem 0 0; color: var(--muted); font-size: .96rem; }

/* ---------- footer ---------- */

.site-footer { background: var(--pickle-2); color: rgba(247,238,221,.82); }
.site-footer .wrap { padding: 3rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem; align-items: start; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--amber); font-size: .84rem; letter-spacing: .16em;
  text-transform: uppercase; font-family: var(--body); font-weight: 700; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--amber); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; font-size: .95rem; }
.site-footer .logo img, .site-footer .logo svg { height: 62px; width: auto; }
.colophon {
  border-top: 1px solid rgba(247,238,221,.18); margin-top: 2.2rem;
  padding-top: 1.2rem; font-size: .84rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between;
}

/* ---------- misc ---------- */

.center { text-align: center; }
.center .lede, .center .eyebrow { margin-inline: auto; }
.stack-sm > * + * { margin-top: .6rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none;
  padding: 0; margin: 1.2rem 0 0; }
.pill-list li {
  background: var(--cream-2); border: 1px solid var(--line);
  border-radius: 999px; padding: .35rem .9rem; font-size: .86rem;
  font-weight: 600; color: var(--pickle);
}
.skip {
  position: absolute; left: -9999px; background: var(--pickle); color: var(--cream);
  padding: .7rem 1rem; border-radius: 0 0 8px 0; z-index: 100;
}
.skip:focus { left: 0; top: 0; }
.page-head { padding: clamp(2.6rem, 6vw, 4.2rem) 0 0; }
