/* Space Coast Quail: pale blue, speckled eggs, a little bit of night sky. */

:root {
  --sky-50: #f3f9fc;
  --sky-100: #e3f2f8;
  --sky-200: #c9e6f1;
  --celadon: #a9d3dc;
  --blue: #5fa8c4;
  --blue-dark: #2f7895;
  --ink: #1d2b44;
  --ink-soft: #4a5872;
  --night: #16213a;
  --speckle: #6b4f3a;
  --gold: #f3c969;
  --cream: #fffdf8;
  --line: #d6e6ee;
  --ok: #2f7d4f;
  --warn: #9a6a00;
  --off: #9a3b3b;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(29 43 68 / .06), 0 6px 20px rgb(29 43 68 / .07);
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3, .h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }
.center { text-align: center; }
.center .egg-art { margin: 0 auto 1rem; }
.section { padding-block: clamp(2rem, 5vw, 4rem); }
.section-tint { background: var(--sky-50); border-block: 1px solid var(--line); }
.section-title { margin-bottom: 1.25rem; }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { margin-bottom: .35rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--blue-dark); margin-bottom: .75rem; }
.accent { color: var(--blue-dark); }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 10; }
.skip-link:focus { left: 1rem; }

/* Buttons */
.button {
  display: inline-block;
  padding: .75rem 1.4rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, background .15s;
}
.button:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.button-ghost { background: transparent; color: var(--ink); }
.button-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.button-small { padding: .4rem 1rem; font-size: .95rem; }

/* Header */
.announcement { background: var(--ink); color: #fff; text-align: center; padding: .5rem 1rem; font-weight: 600; font-size: .95rem; }
.site-header { background: var(--sky-100); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .65rem; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.logo { flex: none; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
.brand-place { font-size: .8rem; color: var(--ink-soft); }

.menu-toggle { display: none; background: none; border: 0; padding: .75rem .5rem; cursor: pointer; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; }
.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: .25rem 1.1rem; flex-wrap: wrap; }
.nav a:not(.button) { color: var(--ink); text-decoration: none; font-weight: 600; padding: .25rem 0; border-bottom: 2px solid transparent; }
.nav a:not(.button):hover, .nav a[aria-current] { border-bottom-color: var(--blue); }

/* Small screens: collapse the menu behind the toggle (only when JS is running). */
@media (max-width: 860px) {
  .js .menu-toggle { display: block; }
  .header-inner { position: relative; flex-wrap: wrap; }
  .js .nav { display: none; }
  .js .nav.is-open {
    display: flex; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--sky-100); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1rem;
    box-shadow: var(--shadow);
  }
  .js .nav.is-open a:not(.button) { padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .js .nav.is-open .button { margin-top: .8rem; text-align: center; }
  .site-header .wrap { width: 100%; padding-inline: 1.25rem; }
}

/* Hero */
.hero {
  background:
    radial-gradient(1200px 400px at 85% -10%, rgb(255 255 255 / .9), transparent 60%),
    linear-gradient(180deg, var(--sky-100), var(--sky-50));
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; padding-block: clamp(2.5rem, 7vw, 5.5rem); }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-logo { width: min(100%, 420px); margin-inline: auto; filter: drop-shadow(0 12px 18px rgb(29 43 68 / .14)); }
@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; }
  /* Logo first on phones, then the headline. */
  .hero-art { order: -1; }
  .hero-logo { width: min(72%, 300px); }
}

/* Page head */
.page-head { background: linear-gradient(180deg, var(--sky-100), var(--sky-50)); border-bottom: 1px solid var(--line); padding-block: clamp(1.75rem, 4vw, 3rem); }
.page-head .lead { margin-bottom: 0; }
.breadcrumbs { font-size: .9rem; color: var(--ink-soft); margin-bottom: .5rem; }

/* Cards and grids */
.grid { display: grid; gap: 1.25rem; }
.grid-cats { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.grid-products { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }

.category-card {
  display: flex; flex-direction: column; gap: .3rem; padding: 1.25rem; text-decoration: none; color: var(--ink);
  position: relative; transition: transform .15s, border-color .15s;
  background: linear-gradient(160deg, #fff 55%, var(--sky-50));
}
.category-card img { margin: -1.25rem -1.25rem .75rem; width: calc(100% + 2.5rem); aspect-ratio: 4 / 3; object-fit: cover; }
.category-card:hover { transform: translateY(-2px); border-color: var(--blue); color: var(--ink); }
.category-name { font-weight: 800; font-size: 1.15rem; }
.category-tagline { color: var(--ink-soft); font-size: .95rem; }
.category-card.is-soon { background: repeating-linear-gradient(135deg, #fff 0 14px, var(--sky-50) 14px 28px); }
.badge { display: inline-block; align-self: flex-start; background: var(--sky-200); color: var(--ink); font-size: .75rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }

.product-card { display: flex; flex-direction: column; }
.card-media { display: block; aspect-ratio: 4 / 3; background: var(--sky-50); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.egg-placeholder {
  display: grid; place-items: center; width: 100%; height: 100%;
  background:
    radial-gradient(circle at 20% 30%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 20%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 85% 70%, #fff 0 1.2px, transparent 1.7px),
    radial-gradient(circle at 35% 80%, #fff 0 .8px, transparent 1.3px),
    linear-gradient(160deg, var(--sky-100), var(--sky-200));
}
.egg-placeholder-large { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card-title { font-size: 1.1rem; margin: 0; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--blue-dark); }
.card-text { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; margin-top: auto; padding-top: .5rem; }
.price { font-weight: 800; }
.price .unit { font-weight: 500; color: var(--ink-soft); font-size: .9em; }
.price-large { font-size: 1.7rem; margin-bottom: .5rem; }

.stock { font-size: .8rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; white-space: nowrap; }
.stock-in_stock { background: #e2f3e8; color: var(--ok); }
.stock-low { background: #fbf0d3; color: var(--warn); }
.stock-sold_out { background: #f6e1e1; color: var(--off); }
.stock-preorder, .stock-soon { background: var(--sky-100); color: var(--blue-dark); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .9rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.chip .egg-art { width: 12px; height: 15px; }
.chip:hover { border-color: var(--blue); color: var(--ink); }
.chip[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }

.catalog-section + .catalog-section { margin-top: 3rem; }
.catalog-section-head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.catalog-section-head h2 { margin: 0; }
.catalog-section-head a { color: var(--ink); text-decoration: none; }
.notice { background: var(--sky-50); border: 1px solid var(--sky-200); border-left: 4px solid var(--blue); padding: .75rem 1rem; border-radius: 8px; margin-block: .75rem 1.25rem; }

/* Product detail */
.product-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; margin-top: 1rem; }
.product-main { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.product-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: .5rem; margin-top: .5rem; }
.product-thumbs img { border-radius: 8px; aspect-ratio: 1; object-fit: cover; }
.product-info .button { margin-block: .5rem .25rem; }
.product-info .panel { margin-top: 1.5rem; }
@media (max-width: 760px) { .product-layout { grid-template-columns: 1fr; } }

/* Panels */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.panel-night, .site-footer {
  color: #e8eef8;
  background:
    radial-gradient(circle at 12% 18%, #fff 0 1px, transparent 1.6px),
    radial-gradient(circle at 78% 12%, #fff 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 42% 64%, #fff 0 .8px, transparent 1.3px),
    radial-gradient(circle at 90% 82%, #fff 0 1px, transparent 1.6px),
    radial-gradient(circle at 25% 88%, #fff 0 .7px, transparent 1.2px),
    radial-gradient(circle at 63% 35%, var(--gold) 0 1.2px, transparent 1.8px),
    linear-gradient(170deg, var(--night), #24365a);
}
.panel-night { border: 0; }
.panel-night a { color: var(--sky-200); }
.panel-night .muted { color: #b8c4d8; }
.market-date { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: .25rem; }

.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.breed-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.breed-list li { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1rem; }
.breed-list .egg-art { flex: none; margin-top: .2rem; }

/* Birds page */
.breed { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; align-items: start; }
.breed + .breed { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.breed-media img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.mini-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: 1rem; }
.mini-gallery img { border-radius: 8px; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 760px) { .breed { grid-template-columns: 1fr; } }
.gallery { columns: 3 240px; column-gap: 1rem; }
.gallery figure { break-inside: avoid; margin: 0 0 1rem; }
.gallery img { border-radius: 10px; width: 100%; }
.gallery figcaption { font-size: .9rem; color: var(--ink-soft); padding-top: .35rem; }

/* Pages */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.75em; }
.prose img { border-radius: 10px; margin-block: 1rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .35rem; }
.page-hero { border-radius: var(--radius); margin-bottom: 2rem; width: 100%; }

/* FAQ */
.faq { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: .75rem; }
.faq summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 700; list-style: none; position: relative; padding-right: 3rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: .8rem; font-size: 1.4rem; color: var(--blue-dark); }
.faq[open] summary::after { content: "–"; }
.faq .prose { padding: 0 1.25rem 1rem; }

/* Markets */
.market { display: flex; gap: 1.25rem; align-items: flex-start; padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
.market h3 { margin-bottom: .25rem; }
.market p { margin-bottom: .25rem; }
.market-cal { flex: none; width: 64px; text-align: center; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.market-month { display: block; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 700; text-transform: uppercase; padding: .15rem 0; }
.market-day { display: block; font-size: 1.6rem; font-weight: 800; padding: .2rem 0; }

/* Forms */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.form { display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; }
.field legend { margin-bottom: .35rem; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-pair { grid-template-columns: 1fr; } }
.form input[type=text], .form input[type=email], .form input[type=number], .form select, .form textarea {
  font: inherit; width: 100%; padding: .65rem .8rem; border: 1.5px solid #c4d6e0; border-radius: 10px; background: #fff; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); outline: 3px solid rgb(95 168 196 / .25); outline-offset: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.radio-row label { font-weight: 500; display: inline-flex; gap: .4rem; align-items: center; cursor: pointer; }
.radio-row input { accent-color: var(--blue-dark); width: 1.1rem; height: 1.1rem; }
.field ul.errorlist, .field-error, .form-error { color: var(--off); font-size: .9rem; margin: 0; padding: 0; list-style: none; }
.form-error { background: #fbeeee; border: 1px solid #edc9c9; padding: .75rem 1rem; border-radius: 8px; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--off); }
.form .button { align-self: flex-start; }
/* Hide the reservation-only fields while "Question" is chosen. */
.form:has(input[name=kind][value=question]:checked) .reserve-fields { display: none; }
.reserve-fields { display: flex; flex-direction: column; gap: 1rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { margin-top: 0; padding-top: 3rem; }
.site-footer a { color: var(--sky-200); }
.site-footer .muted { color: #b8c4d8; }
.brand-footer { color: #fff; margin-bottom: .75rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-heading { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--celadon); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; border-top: 1px solid rgb(255 255 255 / .12); margin-top: 2rem; padding-block: 1.25rem; font-size: .875rem; color: #b8c4d8; }

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