/* ==========================================================================
   Fish & Eye Studios: site styles
   Palette matches linktr.ee/fishandeye plus the logo: mint #CDF5CF,
   white, black, and logo lavender #A993D1. Solid colors only, no gradients.
   ========================================================================== */

:root {
  /* brand */
  --mint: #cdf5cf;
  --lavender: #a993d1;
  --black: #000000;
  --white: #ffffff;

  /* roles */
  --bg: var(--mint);
  --surface: var(--white);
  --text: var(--black);
  --text-muted: #2f3a30;
  --line: var(--black);
  --accent: var(--lavender);

  --font: "Arvo", Rockwell, "Courier New", serif;

  --radius: 24px;
  --pill: 32px;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--text); text-decoration-color: var(--lavender); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 4px; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--text-muted); }
.label {
  display: inline-block;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  background: var(--black); color: var(--white);
  padding: 4px 12px; border-radius: var(--pill);
  margin-bottom: 14px;
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; }
.skip-link:focus { left: 8px; background: var(--white); padding: 8px 12px; }

section { padding: clamp(56px, 9vw, 100px) 0; }
.section-white { background: var(--white); }
.section-lavender { background: var(--lavender); }
.section-black { background: var(--black); color: var(--white); }
.section-black a { color: var(--white); }

/* ---------- buttons (Linktree-style pills) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font); font-size: 1rem; font-weight: 700;
  padding: .9em 1.7em;
  border-radius: var(--pill);
  border: 2px solid var(--black);
  background: var(--black); color: var(--white);
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--lavender); }
.btn-lavender { background: var(--lavender); color: var(--black); }
.btn-lavender:hover { background: var(--white); }
.btn-sm { font-size: .88rem; padding: .65em 1.2em; }
.btn[aria-disabled="true"] { background: var(--white); color: #666; border-color: #999; cursor: not-allowed; transform: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--mint);
  border-bottom: 2px solid var(--black);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 10px; padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { width: 52px; height: 52px; }
.brand-name { font-size: 1.2rem; font-weight: 700; white-space: nowrap; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.nav a {
  display: block; color: var(--text); text-decoration: none; font-weight: 700;
  padding: 8px 16px; border-radius: var(--pill);
}
.nav a:hover { background: var(--white); }
.nav a[aria-current="page"] { background: var(--black); color: var(--white); }
.nav-toggle {
  display: none;
  background: var(--white); border: 2px solid var(--black); border-radius: var(--pill);
  color: var(--text); padding: 8px 16px; font: inherit; font-weight: 700; cursor: pointer;
}

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--mint); border-bottom: 2px solid var(--black);
    display: none;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 8px; padding: 12px var(--gutter) 20px; }
  .nav a { background: var(--white); text-align: center; padding: 14px; }
  .brand-name { font-size: 1.05rem; }
  .brand img { width: 44px; height: 44px; }
}

/* ---------- home hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero-logo { width: clamp(110px, 14vw, 150px); margin-bottom: 20px; }
.hero h1 em { font-style: normal; background: var(--lavender); padding: 0 .18em; border-radius: 10px; }
.hero .lede { font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.collage {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.collage figure {
  margin: 0; aspect-ratio: 1; overflow: hidden;
  border: 2px solid var(--black); border-radius: var(--radius); background: var(--white);
}
.collage figure:nth-child(2) { transform: translateY(28px); }
.collage figure:nth-child(4) { transform: translateY(28px); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-logo { margin-inline: auto; }
  .hero .lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .collage figure:nth-child(2), .collage figure:nth-child(4) { transform: none; }
}

/* ---------- photo strip ---------- */
.strip {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 2px solid var(--black); border-bottom: 2px solid var(--black);
  background: var(--black); gap: 2px;
}
.strip img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 800px) { .strip { grid-template-columns: repeat(3, 1fr); } }

/* ---------- inner page hero ---------- */
.page-hero { background: var(--lavender); border-bottom: 2px solid var(--black); padding: clamp(48px, 7vw, 88px) 0; }
.page-hero .lede { font-size: 1.15rem; max-width: 56ch; margin-inline: auto; }
.page-hero .label { background: var(--white); color: var(--black); }

.banner-photo {
  margin: 0 auto; max-width: 960px;
  border: 2px solid var(--black); border-radius: var(--radius); overflow: hidden; background: var(--white);
}
.banner-photo img { width: 100%; height: auto; }

/* ---------- glyph divider (fish + eye) ---------- */
.divider { display: flex; justify-content: center; align-items: center; gap: 18px; margin: 0 auto 24px; }
.divider svg { width: 32px; height: 32px; }

/* ---------- mantra band ---------- */
.mantra { text-align: center; }
.mantra blockquote {
  margin: 0 auto; max-width: 28ch;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem); font-weight: 700; line-height: 1.3;
}
.mantra blockquote span { display: block; } /* one sentence per line */

/* ---------- spotlight ---------- */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.spotlight .media {
  position: relative; aspect-ratio: 1; overflow: hidden;
  border: 2px solid var(--black); border-radius: var(--radius); background: var(--white);
}
.spotlight .media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spotlight .price { font-weight: 700; font-size: 1.2rem; }
@media (max-width: 800px) { .spotlight { grid-template-columns: 1fr; } }

/* ---------- products ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head h2 { margin: 0; }

.grid { display: grid; gap: clamp(20px, 3vw, 28px); grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

.card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--black); }
.card .media { aspect-ratio: 4 / 5; background: var(--lavender); position: relative; overflow: hidden; border-bottom: 2px solid var(--black); }
.card .media > img, .card .media > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { margin: 0; }
.card .price { font-weight: 700; }
.card p { font-size: .95rem; color: var(--text-muted); margin: 0 0 12px; }
.card .btn { margin-top: auto; align-self: flex-start; }
.badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--black); color: var(--white);
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--pill);
}

/* stand-in art when a product has no photo yet */
.ph { width: 100%; height: 100%; display: grid; place-items: center; background: var(--lavender); }
.ph img { width: 45%; height: auto; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; justify-content: center; }
.chip {
  font: inherit; font-weight: 700; font-size: .95rem;
  padding: 8px 18px; border-radius: var(--pill);
  border: 2px solid var(--black); background: var(--white); color: var(--black);
  cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--black); color: var(--white); }

/* ---------- shows ---------- */
.shows { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.show {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 20px; align-items: start;
  background: var(--white); border: 2px solid var(--black); border-radius: var(--radius);
  padding: 18px 20px;
}
.show > .btn { align-self: center; }
.show .date {
  text-align: center; font-weight: 700; line-height: 1.15; font-size: .9rem; text-transform: uppercase;
  background: var(--lavender); border: 2px solid var(--black); border-radius: 16px; padding: 8px 4px;
}
.show .date b { display: block; font-size: 1.9rem; }
.show h3 { margin: 2px 0 2px; }
.show p { margin: 0; color: var(--text-muted); font-size: .95rem; }
.show-host { font-style: italic; }
.show-meta { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; font-size: .95rem; }
.show-meta li { display: flex; gap: 10px; align-items: flex-start; }
.show-meta svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--black); }
.show-meta span { display: flex; flex-direction: column; }
.show-meta strong { font-weight: 700; }
.show-tba { margin-top: 10px !important; font-style: italic; }
@media (max-width: 600px) {
  .show { grid-template-columns: 76px 1fr; }
  .show .btn { grid-column: 1 / -1; justify-self: start; }
}
.empty {
  text-align: center; padding: 32px; background: var(--white);
  border: 2px dashed var(--black); border-radius: var(--radius);
}

/* ---------- instagram ---------- */
.ig-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); max-width: 960px; margin: 0 auto; }
.ig-tile {
  position: relative; display: block; width: 100%; padding: 0; aspect-ratio: 1; overflow: hidden;
  border: 2px solid var(--black); border-radius: 18px; background: var(--white);
  font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ig-tile:hover img { transform: scale(1.05); }
.ig-tile .ig-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 12px; background: var(--black); color: var(--white);
  font-size: .85rem; line-height: 1.35;
  opacity: 0; transition: opacity .2s ease;
}
.ig-tile:hover .ig-cap, .ig-tile:focus-visible .ig-cap { opacity: 1; }
/* reel / photo-set marker in the corner, like Instagram's own grid */
.ig-badge {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--white); color: var(--black); border: 2px solid var(--black); border-radius: 50%;
}
.ig-badge svg { width: 18px; height: 18px; }
.ig-follow { margin-top: 28px; text-align: center; }

/* phones: a swipeable row instead of a tall grid; the next tile peeks in to show there's more */
@media (max-width: 800px) {
  .ig-grid {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px;
    scrollbar-width: none;
  }
  .ig-grid::-webkit-scrollbar { display: none; }
  .ig-tile { flex: 0 0 72%; scroll-snap-align: center; }
  .ig-tile .ig-cap { opacity: 1; }
}

/* ---------- instagram viewer (dialog) ---------- */
.ig-viewer {
  width: min(1000px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  padding: 0; overflow: hidden;
  border: 2px solid var(--black); border-radius: var(--radius); background: var(--white); color: var(--text);
}
.ig-viewer[open] { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.ig-viewer::backdrop { background: rgb(0 0 0 / 80%); }
.igv-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 42px; height: 42px; display: grid; place-items: center; padding: 0;
  background: var(--white); color: var(--black); border: 2px solid var(--black); border-radius: 50%; cursor: pointer;
}
.igv-close svg { width: 20px; height: 20px; }
/* media is pinned to the box edges so tall reels (9:16) and square photos both fit without cropping */
.igv-media { position: relative; background: var(--black); height: min(80dvh, 720px); overflow: hidden; }
.igv-media > img, .igv-media > video, .igv-media > .igv-video-fallback, .igv-slides,
.igv-slide > img, .igv-slide > video, .igv-slide > .igv-video-fallback {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.igv-media img, .igv-media video { object-fit: contain; }
.igv-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.igv-slides::-webkit-scrollbar { display: none; }
.igv-slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.igv-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.igv-dots button { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 2px solid var(--black); background: var(--white); cursor: pointer; }
.igv-dots button[aria-current="true"] { background: var(--lavender); }
.igv-video-fallback { display: grid; place-items: center; text-decoration: none; }
.igv-video-fallback img { position: absolute; inset: 0; width: 100%; height: 100%; }
.igv-video-fallback .btn { position: relative; }

.igv-side { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 22px; min-height: 0; border-left: 2px solid var(--black); }
.igv-handle { margin: 0; font-weight: 700; padding-right: 48px; }
.igv-date { margin: 0; font-size: .85rem; color: var(--text-muted); }
.igv-caption { margin: 4px 0 8px; white-space: pre-line; font-size: .95rem; overflow-y: auto; flex: 1; min-height: 3em; }
.igv-link { align-self: flex-start; }
.igv-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; }

@media (max-width: 800px) {
  .ig-viewer[open] { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); overflow-y: auto; }
  .igv-media { height: min(52dvh, 520px); }
  .igv-side { border-left: 0; border-top: 2px solid var(--black); padding: 18px 18px 20px; }
  .igv-caption { flex: none; overflow: visible; }
}

/* ---------- reviews ---------- */
.stars { letter-spacing: .08em; line-height: 1; }
.rating-summary { text-align: center; font-size: 1.05rem; margin: -8px 0 32px; }
.rating-summary .stars { font-size: 1.5rem; display: block; margin-bottom: 6px; }

.review {
  position: relative; margin: 0;
  background: var(--white); border: 2px solid var(--black); border-radius: var(--radius);
  padding: 24px 24px 20px;
}
.review blockquote { margin: 0 0 14px; font-size: 1rem; }
.review mark { background: var(--lavender); color: var(--black); padding: 0 .2em; border-radius: 6px; }
.review figcaption strong { display: block; font-size: .95rem; }
.review figcaption span { display: block; font-size: .85rem; font-style: italic; color: var(--text-muted); }

/* the big quote at the top: offset black shadow, oversized quote mark */
.review-featured {
  max-width: 820px; margin: 0 auto 28px; padding: 40px 40px 28px 92px;
  box-shadow: 8px 8px 0 var(--black);
}
.review-featured::before {
  content: "\201C"; position: absolute; left: 22px; top: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 6.5rem; font-weight: 700; line-height: 1; color: var(--lavender);
  -webkit-text-stroke: 2px var(--black);
}
.review-featured blockquote { font-size: clamp(1.15rem, 2.2vw, 1.45rem); font-weight: 700; line-height: 1.45; }

/* the rest: rows of cards that grow to fit their quote (nothing is cut off); a short last row stays centered */
.reviews { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.reviews .review { flex: 1 1 280px; max-width: 370px; display: flex; flex-direction: column; }
.reviews .review figcaption { margin-top: auto; }

/* a single quote placed beside related content (Shop, Contact) */
.review-inline { max-width: 560px; margin: 0 auto; text-align: left; border-left-width: 10px; border-left-color: var(--lavender); }

@media (max-width: 600px) {
  .review-featured { padding: 64px 22px 22px; }
  .review-featured::before { top: 2px; left: 18px; font-size: 5rem; }
}

/* ---------- about ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.framed {
  aspect-ratio: 4 / 5; overflow: hidden;
  border: 2px solid var(--black); border-radius: var(--radius); background: var(--white);
}
.framed > img { width: 100%; height: 100%; object-fit: cover; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 36px; }
.value { background: var(--white); border: 2px solid var(--black); border-radius: var(--radius); padding: 24px; }
.value svg { width: 40px; height: 40px; margin-bottom: 8px; }
.value p { margin: 0; color: var(--text-muted); font-size: .95rem; }

/* ---------- contact ---------- */
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 6px; font-weight: 700; }
.form input, .form textarea, .form select {
  font: inherit; font-weight: 400;
  padding: 12px 16px; border-radius: 16px;
  border: 2px solid var(--black); background: var(--white); color: var(--text);
}
.form textarea { min-height: 160px; resize: vertical; }
.form-status { min-height: 1.6em; font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { background: var(--black); color: var(--white); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lavender); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--mint); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .brand { color: var(--white); }
.site-footer .tag { max-width: 32ch; margin-top: 14px; color: #d8d8d8; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--mint); color: var(--black); border-radius: 50%;
}
.socials a:hover { background: var(--lavender); color: var(--black); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid #333; color: #bdbdbd; font-size: .9rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  background: var(--black); color: var(--white);
  padding: 12px 20px; border-radius: var(--pill);
  font-size: .95rem; max-width: calc(100% - 32px);
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 200;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .ig-tile img { transition: none; }
}
