/* default = night mode: black background, off-white text,
   teal-green #75d5b0 + sky-blue #8adce7 accents */
:root {
  --bg: #000000;
  --bg-tint: #000000;
  --card: #0C0C0C;
  --ink: #edefea;
  --muted: #B9C6BF;
  --accent: #75d5b0;
  --accent-deep: #9AE5C8;
  --accent-soft: #143A2D;
  --blue: #8adce7;
  --blue-deep: #A8E7F0;
  --blue-soft: #12333A;
  --line: #191919;
  --radius: 20px;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  --shadow-lift: 0 12px 32px rgba(0, 0, 0, 0.7);
}

/* optional day mode via the sun/moon toggle */
html[data-theme="light"] {
  --bg: #edefea;
  --bg-tint: #E1EAE4;
  --card: #FFFFFF;
  --ink: #17201C;
  --muted: #52655C;
  --accent: #2E9F72;
  --accent-deep: #1F7A57;
  --accent-soft: #D5F0E4;
  --blue: #3FAEC2;
  --blue-deep: #2C8296;
  --blue-soft: #DDF2F6;
  --line: #D3DED7;
  --shadow: 0 6px 24px rgba(40, 80, 65, 0.12);
  --shadow-lift: 0 12px 32px rgba(40, 80, 65, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-deep); }

/* ---------- top bar: icons only ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 12px 24px;
  background: var(--bg);
}
.nav-ig {
  display: inline-flex;
  padding: 9px;
  border-radius: 14px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  transition: color 200ms ease, background 200ms ease;
}
.nav-ig:hover { color: var(--accent-deep); background: var(--accent-soft); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 24px 30px;
  text-align: center;
}
.hero-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.hero-title {
  font-size: clamp(42px, 9.5vw, 104px);
  font-weight: 700;
  font-style: italic;
  line-height: 0.9;
  letter-spacing: 0.01em;
  margin: 0;
  text-transform: uppercase;
}
.hero-sub {
  font-size: 24px;
  font-weight: 500;
  color: var(--blue-deep);
  margin: 8px 0 0;
}
.hero-bio {
  font-size: 19px;
  font-weight: 400;
  color: var(--muted);
  margin: 4px 0 0;
}

/* ---------- sections: flat black, full width ---------- */
.section { padding: 36px 0 52px; max-width: none; margin: 0 auto; }
.section-tint { background: transparent; border: none; }
.section-title {
  font-size: clamp(44px, 6vw, 64px);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0 0 4px;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 30px;
  max-width: 520px;
  font-size: 20px;
}
.feed-note {
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  margin: 18px 0 0;
}

/* ---------- photo carousel (IG style) ---------- */
.gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px max(8px, calc(50% - 340px)) 10px;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.ph-card {
  display: block;
  flex: 0 0 min(680px, 96vw);
  scroll-snap-align: center;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: box-shadow 250ms ease;
}
.ph-card:hover { box-shadow: var(--shadow-lift); }
.ph-card img { display: block; width: 100%; height: auto; }
.ph-imgs { position: relative; overflow: hidden; }
.ph-imgs img { transition: opacity 550ms ease; }
.ph-imgs img:not(:first-child) {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: contain;
  background: #000;
  opacity: 0;
}
.ph-stack {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  color: #fff;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.55));
  pointer-events: none;
}
.ph-card figcaption, .ph-card .ph-cap {
  display: block;
  font-size: 22px;
  font-weight: 600;
  font-style: italic;
  color: var(--muted);
  padding: 10px 16px 14px;
}
.ph-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--accent-deep);
}
.ph-placeholder .paw { width: 40px; height: 40px; opacity: 0.55; }
.ph-placeholder span {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.65;
}

.pcar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}
.pcar-arrow {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 26px;
  font-style: normal;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
  transition: transform 150ms ease, opacity 150ms ease;
  opacity: 0.85;
}
.pcar-arrow:hover { opacity: 1; transform: scale(1.15); }
.pcar-arrow:active { transform: scale(0.92); }
.pcar-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  max-width: 520px;
}
.pcar-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #274A3E;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}
html[data-theme="light"] .pcar-dots button { background: #BFD5CA; }
.pcar-dots button.on { background: var(--blue); transform: scale(1.3); }

/* drag-to-scroll */
.gallery, .reels, .hcarousel { cursor: grab; user-select: none; }
.dragging { scroll-snap-type: none !important; cursor: grabbing !important; }
.gallery img, .hcarousel img, .gif-card img { -webkit-user-drag: none; }

/* ---------- reels ---------- */
.reels {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 6px max(8px, calc(50% - 180px)) 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.reels::-webkit-scrollbar { display: none; }
.reel {
  position: relative;
  flex: 0 0 min(360px, 88vw);
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
  scroll-snap-align: center;
}
.reel video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.reel-caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  right: 58px;
  font-size: 23px;
  font-weight: 600;
  font-style: italic;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.55);
}
.reel-audio {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(20, 38, 26, 0.62);
  color: #fff;
  cursor: pointer;
  transition: background 200ms ease;
}
.reel-audio:hover { background: rgba(20, 38, 26, 0.85); }
.reel-audio svg { width: 20px; height: 20px; }
.reel.is-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(160deg, var(--blue-soft), var(--accent-soft));
  color: var(--blue-deep);
  text-align: center;
  padding: 20px;
}
.reel.is-placeholder .paw { width: 46px; height: 46px; opacity: 0.6; }
.reel.is-placeholder p { font-size: 27px; font-weight: 600; margin: 0; }
.reel.is-placeholder span { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.65; }

/* ---------- products carousel ---------- */
.hcarousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 10px max(8px, calc(50% - 105px)) 22px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.hcarousel::-webkit-scrollbar { display: none; }
.product {
  flex: 0 0 min(210px, 60vw);
  scroll-snap-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 350ms ease, opacity 350ms ease, box-shadow 350ms ease;
  display: flex;
  flex-direction: column;
  transform: scale(0.92);
  opacity: 0.55;
  text-decoration: none;
  color: inherit;
}
.product.focus { transform: scale(1); opacity: 1; box-shadow: var(--shadow-lift); }
.pr-media {
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--accent-soft);
  position: relative;
}
.pr-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pr-slot {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--accent-deep);
  text-align: center;
  padding: 20px;
}
.pr-slot .paw { width: 32px; height: 32px; opacity: 0.6; }
.pr-slot span {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.75;
}
.pr-caption {
  margin: 0;
  padding: 10px 14px 14px;
  font-size: 17px;
  font-weight: 600;
  font-style: italic;
  text-align: center;
}

/* ---------- GIPHY carousel ---------- */
.gif-card {
  flex: 0 0 min(420px, 90vw);
  scroll-snap-align: center;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 350ms ease, opacity 350ms ease, box-shadow 350ms ease;
  transform: scale(0.92);
  opacity: 0.55;
}
.gif-card.focus { transform: scale(1); opacity: 1; box-shadow: var(--shadow-lift); }
.gif-card img { width: 100%; height: auto; display: block; }

.giphy-h { display: flex; justify-content: center; }
.giphy-logo { height: 52px; width: auto; color: var(--ink); }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  background: var(--ink);
  color: #F1F8EA;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 17px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease, transform 250ms ease;
  z-index: 60;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal animations (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* focus visibility */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 8px;
}

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

@media (max-width: 560px) {
  .section { padding: 32px 18px 44px; }
  .hero { padding: 36px 18px 24px; }
}
