/* WhiskTribe — cookies & treats
   Palette pulled from the packaging: kraft paper, deep teal tag, copper foil, cream sticker, ink. */
:root {
  --cream: #F8F3EA;
  --paper: #EFE5D3;
  --kraft: #C9A47A;
  --kraft-dk: #9E7A52;
  --teal: #0F4A4A;
  --teal-2: #17605E;
  --copper: #C2835F;
  --copper-lt: #E3B596;
  --ink: #1F2523;
  --ink-2: #4B524E;
  --white: #FFFDF8;
  --line: rgba(31, 37, 35, 0.13);
  --radius: 16px;
  --shadow: 0 14px 34px -16px rgba(31, 37, 35, 0.35);
  --max: 1160px;
  --display: "Marcellus", Georgia, serif;
  --script: "Cormorant Garamond", Georgia, serif;
  --body: "DM Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--teal-2); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.32rem; }
p { margin: 0 0 1em; }
.script { font-family: var(--script); font-style: italic; font-weight: 500; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.eyebrow {
  font-size: .76rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--copper); font-weight: 700; margin-bottom: 1em; display: inline-block;
}
.lede { font-size: 1.14rem; color: var(--ink-2); max-width: 36em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.6em;
  border-radius: 999px; font-weight: 700; font-size: .96rem; text-decoration: none;
  border: 2px solid var(--teal); transition: transform .15s, background .15s, color .15s;
  cursor: pointer; font-family: var(--body);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: var(--cream); }
.btn-primary:hover { background: var(--teal-2); border-color: var(--teal-2); }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-ghost:hover { background: var(--teal); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--teal); border-color: var(--cream); }

/* Logo */
.logo { display: flex; align-items: center; gap: .6em; text-decoration: none; color: var(--ink); }
.logo svg { width: 44px; height: 30px; }
.logo .word { display: flex; flex-direction: column; line-height: 1; }
.logo .word b { font-family: var(--display); font-weight: 400; font-size: 1.45rem; letter-spacing: .06em; }
.logo .word i { font-family: var(--script); font-size: .98rem; color: var(--ink-2); margin-top: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20; background: rgba(248, 243, 234, 0.93);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-links { display: flex; gap: 1.7em; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--copper); }
.nav-links .btn { padding: .55em 1.2em; color: var(--cream); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); display: none; padding: 8px 0 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 12px; }
  .nav-links .btn { display: inline-flex; margin-top: 8px; }
}

/* Hero */
.hero { padding: 64px 0 84px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 .script { color: var(--copper); font-size: 1.12em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-photos { position: relative; height: 560px; }
.hero-photos img { position: absolute; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.hero-photos .p1 { width: 62%; height: 88%; right: 0; top: 0; }
.hero-photos .p2 { width: 46%; height: 58%; left: 0; bottom: 0; border: 6px solid var(--cream); }
.hero-photos .stamp {
  position: absolute; left: 8%; top: 6%; width: 124px; height: 124px; border-radius: 50%;
  background: var(--teal); color: var(--copper-lt); display: grid; place-items: center; text-align: center;
  font-family: var(--script); font-style: italic; font-size: 1.15rem; line-height: 1.1; padding: 14px;
  transform: rotate(-10deg); box-shadow: var(--shadow); border: 2px dashed rgba(227, 181, 150, .5); outline: 6px solid var(--teal);
}
@media (max-width: 900px) {
  .hero { padding: 36px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-photos { height: 440px; }
  .hero-photos .stamp { width: 100px; height: 100px; font-size: 1rem; }
}

/* Sections */
section { padding: 92px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 48px; }
.section-head .lede { margin: 0 auto; }
.band { background: var(--paper); }
.dark { background: var(--teal); color: var(--cream); }
.dark .eyebrow { color: var(--copper-lt); }
.dark .lede, .dark p { color: #D5E2DF; }
.kraft { background: var(--kraft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Split / feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.media-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--paper); }
.media-frame img, .media-frame video { width: 100%; height: 100%; object-fit: cover; }
.media-tall { aspect-ratio: 4/5; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > :first-child { order: 0; }
}

.feature-label {
  display: inline-flex; align-items: center; gap: .8em; background: var(--ink); color: var(--cream);
  padding: .45em 1.1em; border-radius: 4px; font-family: var(--display); letter-spacing: .12em;
  font-size: .9rem; text-transform: uppercase; margin-bottom: 18px;
}
.notes { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 24px; padding: 0; list-style: none; }
.notes li { border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: .35em 1em; font-size: .92rem; font-weight: 500; }

/* Flavor grid */
.collection { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: stretch; }
.collection .media-frame { aspect-ratio: 9/16; max-height: 600px; }
@media (max-width: 900px) { .collection { grid-template-columns: 1fr; } .collection .media-frame { max-height: 420px; aspect-ratio: auto; height: 420px; } }
.flavors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-content: start; }
@media (max-width: 560px) { .flavors { grid-template-columns: 1fr; } }
.flavor {
  background: var(--white); border-radius: var(--radius); padding: 22px 22px 20px; border: 1px solid var(--line);
  display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: start; transition: transform .2s, box-shadow .2s;
}
.flavor:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.flavor .dot { width: 54px; height: 54px; border-radius: 50%; box-shadow: inset 0 -5px 0 rgba(0,0,0,.08); position: relative; }
.flavor .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.55) 0 2px, transparent 3px), radial-gradient(circle at 65% 45%, rgba(255,255,255,.5) 0 1.5px, transparent 2.5px), radial-gradient(circle at 45% 70%, rgba(255,255,255,.5) 0 2px, transparent 3px); }
.flavor h3 { font-size: 1.18rem; margin: 2px 0 .25em; }
.flavor p { color: var(--ink-2); font-size: .93rem; margin: 0; }

/* Treats cards */
.treats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .treats { grid-template-columns: 1fr; } }
.treat { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.treat .art { aspect-ratio: 4/3; overflow: hidden; display: grid; place-items: center; }
.treat .art img { width: 100%; height: 100%; object-fit: cover; }
.treat .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.treat .body p { color: var(--ink-2); }
.treat .body a { margin-top: auto; font-weight: 700; text-decoration: none; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 28px; }
.step::before { counter-increment: step; content: counter(step); font-family: var(--display); font-size: 2.4rem; color: var(--copper-lt); display: block; margin-bottom: 6px; }
.step p { margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Markets */
.markets { display: grid; gap: 16px; }
.market { background: var(--white); border-radius: var(--radius); padding: 22px 24px; border-left: 5px solid var(--copper); }
.market .when { font-weight: 700; color: var(--copper); font-size: .9rem; }
.market h3 { margin: .2em 0 .1em; }
.market p { margin: 0; color: var(--ink-2); }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 16px; }
.gallery .media-frame { aspect-ratio: 3/4; }
.gallery .media-frame.wide { aspect-ratio: auto; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery .wide { grid-column: 1 / -1; aspect-ratio: 1 !important; } }

/* Instagram CTA */
.ig-cta { background: var(--teal); color: var(--cream); border-radius: 24px; padding: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ig-cta .eyebrow { color: var(--copper-lt); }
.ig-cta h2 { margin: 0 0 .2em; }
.ig-cta p { margin: 0; color: #D5E2DF; }
@media (max-width: 560px) { .ig-cta { padding: 32px 24px; } }

/* Page header */
.page-head { padding: 64px 0 40px; text-align: center; }
.page-head .lede { margin: 0 auto; }

/* Prose */
.prose p { font-size: 1.07rem; }
.prose blockquote { margin: 1.6em 0; padding: 0 0 0 1.1em; border-left: 3px solid var(--copper);
  font-family: var(--script); font-size: 1.7rem; line-height: 1.25; font-style: italic; }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value { text-align: center; padding: 8px 12px; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }

/* Order form */
.order-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .order-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--white); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); }
@media (max-width: 560px) { .form-card { padding: 24px 18px; } }
.form-card fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.form-card legend { font-family: var(--display); font-size: 1.3rem; margin-bottom: 14px; padding: 0; }
.group-title { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--copper); margin: 18px 0 8px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.hint { font-weight: 400; color: var(--ink-2); font-size: .85rem; }
input[type=text], input[type=email], input[type=tel], input[type=date], select, textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .15s, background .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal-2); background: var(--white); }
textarea { min-height: 120px; resize: vertical; }
.qty-list { display: grid; gap: 8px; }
.qty-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 14px; background: var(--cream); border-radius: 12px; }
.qty-item label { font-weight: 500; margin: 0; }
.qty-item label small { display: block; color: var(--ink-2); font-weight: 400; font-size: .82rem; }
.qty-item select { width: auto; min-width: 116px; padding: 8px 10px; background: var(--white); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: .55em 1.1em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--cream); cursor: pointer; font-weight: 500; font-size: .95rem; }
.chip input:checked + span { background: var(--teal); color: var(--cream); border-color: var(--teal); }
.chip input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 2px; }
.hidden { display: none !important; }
.side-card { background: var(--paper); border-radius: 24px; padding: 30px; }
.side-card ul { padding-left: 1.1em; margin: 0 0 1.2em; }
.side-card li { margin-bottom: .45em; }
.side-card img { border-radius: 14px; margin-bottom: 20px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.contact-line { display: flex; gap: .7em; align-items: center; margin-bottom: .6em; }
.contact-line svg { width: 20px; height: 20px; flex: none; stroke: var(--teal-2); }

/* Blog */
.coming { text-align: center; padding: 48px 24px; border: 2px dashed var(--line); border-radius: 24px; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.post-card .thumb { aspect-ratio: 16/10; background: var(--kraft); }
.post-card .body { padding: 22px; }

/* Footer */
.site-footer { background: var(--ink); color: #C9CFCB; padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer .logo { color: var(--cream); }
.site-footer .logo .word i { color: var(--copper-lt); }
.site-footer h4 { color: var(--cream); font-family: var(--display); font-weight: 400; font-size: 1.1rem; margin: 0 0 .8em; }
.site-footer a { color: #C9CFCB; text-decoration: none; }
.site-footer a:hover { color: var(--copper-lt); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

.thanks { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 22px; }

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

/* Real logo files */
.logo img.mark { height: 34px; width: auto; }
.logo img.wordmark { height: 34px; width: auto; }
.footer-logo img { width: 190px; height: auto; }
@media (max-width: 420px) { .logo img.mark { height: 28px; } .logo img.wordmark { height: 28px; } }

/* Don Lucio name story */
.name-story { margin: 0 0 1.2em; padding: 14px 18px; background: var(--white); border-left: 3px solid var(--copper); border-radius: 0 12px 12px 0;
  font-family: var(--script); font-style: italic; font-size: 1.32rem; line-height: 1.35; }

/* Events calendar */
.events { display: grid; gap: 14px; margin-bottom: 18px; }
.event { display: grid; grid-template-columns: 74px 1fr; gap: 18px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 16px 20px 16px 16px; }
.event .date { background: var(--teal); color: var(--cream); border-radius: 12px; text-align: center; padding: 8px 0 10px; line-height: 1; }
.event .date .m { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--copper-lt); font-weight: 700; }
.event .date .d { font-family: var(--display); font-size: 2rem; display: block; margin-top: 4px; }
.event h3 { margin: 0 0 .15em; font-size: 1.18rem; }
.event p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.event .meta { font-weight: 700; color: var(--copper); font-size: .86rem; }
.event-empty { background: var(--white); border-radius: var(--radius); padding: 22px 24px; border: 2px dashed var(--line); }
.event-empty h3 { margin: 0 0 .3em; }
.event-empty p { margin: 0; color: var(--ink-2); }
.event-book { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--teal); color: var(--cream); border-radius: var(--radius); padding: 20px 24px; }
.event-book h3 { margin: 0 0 .15em; }
.event-book p { margin: 0; color: #D5E2DF; font-size: .94rem; }
.event-book .btn { background: var(--cream); color: var(--teal); border-color: var(--cream); }

/* Instagram feed */
.ig-section { padding-top: 72px; }
.ig-card { max-width: 935px; margin: 0 auto; background: var(--white); border-radius: 20px; box-shadow: var(--shadow); padding: 32px 32px 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #000; }
.ig-profile { display: flex; gap: 28px; align-items: center; padding: 0 8px 24px; }
.ig-avatar { flex: none; width: 112px; height: 112px; border-radius: 50%; padding: 3px;
  background: conic-gradient(from 210deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); display: block; }
.ig-avatar span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--cream); border: 3px solid #fff; }
.ig-avatar img { width: 66%; height: auto; }
.ig-handle-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.ig-handle { font-size: 1.25rem; color: #000; text-decoration: none; font-weight: 400; }
.ig-follow { background: #0095F6; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; padding: 7px 18px; border-radius: 8px; }
.ig-follow:hover { background: #1877F2; }
.ig-name { font-weight: 600; font-size: .95rem; }
.ig-bio { font-size: .95rem; line-height: 1.4; color: #262626; max-width: 34em; }
.ig-tabs { border-top: 1px solid #dbdbdb; display: flex; justify-content: center; }
.ig-tabs span { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 14px 0; border-top: 1px solid #000; margin-top: -1px; }
.ig-tabs svg { width: 12px; height: 12px; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.ig-tile { position: relative; aspect-ratio: 1; overflow: hidden; display: block; background: var(--paper); }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ig-tile .badge { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.ig-hover { position: absolute; inset: 0; background: rgba(0,0,0,.35); color: #fff; font-weight: 600; font-size: .9rem;
  display: flex; align-items: center; justify-content: center; gap: 8px; opacity: 0; transition: opacity .2s; }
.ig-hover svg { width: 20px; height: 20px; }
.ig-tile:hover .ig-hover, .ig-tile:focus-visible .ig-hover { opacity: 1; }
.ig-tile:hover img { transform: scale(1.04); }
.ig-more { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; color: #0095F6; font-weight: 600; text-decoration: none; font-size: .95rem; }
behold-widget { display: block; }
@media (max-width: 640px) {
  .ig-section .wrap { padding: 0; }
  .ig-card { border-radius: 0; padding: 20px 0 16px; box-shadow: none; border-top: 1px solid #dbdbdb; border-bottom: 1px solid #dbdbdb; }
  .ig-profile { gap: 18px; padding: 0 16px 18px; align-items: flex-start; }
  .ig-avatar { width: 80px; height: 80px; }
  .ig-grid { gap: 2px; }
  .ig-hover { display: none; }
}
