:root {
  --color-ocean-deep: #073f4a;
  --color-ocean: #0d6973;
  --color-caribbean: #56b8bd;
  --color-caribbean-light: #cdeff0;
  --color-sand-gold: #b77b32;
  --color-ivory: #fffdf8;
  --color-ink: #123c42;
  --ink: #123c42;
  --ocean: #0d6973;
  --deep: #084c54;
  --aqua: #9fded8;
  --foam: #f4f8f3;
  --sand: #f2e1bd;
  --sun: #f2a93b;
  --coral: #ef7d62;
  --white: #fffdf8;
  --muted: #60777a;
  --shadow: 0 18px 50px rgba(10, 63, 68, 0.12);
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: white; padding: .8rem; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); }

.announcement { padding: .62rem 1rem; text-align: center; background: var(--ink); color: #fff; font-size: .75rem; letter-spacing: .04em; }
.announcement span { color: var(--sun); padding: 0 .7rem; }
.site-header { height: 84px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(1.25rem, 4vw, 4rem); background: rgba(255,253,248,.96); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(18,60,66,.08); }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand-mark { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; background: var(--sun); color: var(--deep); font: 700 1.65rem var(--serif); transform: rotate(-4deg); }
.brand-logo { width: 58px; height: 58px; object-fit: contain; flex: 0 0 auto; filter: drop-shadow(0 3px 7px rgba(7,63,74,.12)); transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.footer-logo { width: 78px; height: 78px; }
.brand strong { display: block; font: 700 1.3rem/1 var(--serif); }
.brand small { display: block; margin-top: .27rem; font-size: .55rem; letter-spacing: .22em; font-weight: 700; }
.desktop-nav { display: flex; gap: 2.4rem; font-size: .86rem; font-weight: 600; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.55rem; height: 2px; background: var(--sun); transition: right .2s; }
.desktop-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: .45rem; }
.icon-button, .cart-button, .menu-toggle { border: 0; background: transparent; cursor: pointer; width: 42px; height: 42px; display: grid; place-items: center; position: relative; }
.icon-button svg, .cart-button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cart-button span { position: absolute; top: 1px; right: 1px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); color: white; font-size: .65rem; font-weight: 700; }
.menu-toggle { display: none; }
.menu-toggle span { width: 22px; height: 2px; background: currentColor; position: absolute; transition: transform .2s; }
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-toggle.open span:first-child { transform: rotate(45deg); }
.menu-toggle.open span:last-child { transform: rotate(-45deg); }
.search-panel { max-height: 0; overflow: hidden; background: var(--foam); padding: 0 clamp(1.25rem, 8vw, 8rem); transition: max-height .35s, padding .35s; position: sticky; top: 84px; z-index: 19; }
.search-panel.open { max-height: 160px; padding-top: 1.25rem; padding-bottom: 1.5rem; box-shadow: var(--shadow); }
.search-panel label { display: block; font: 600 1rem var(--serif); margin-bottom: .6rem; }
.search-input-wrap { display: flex; align-items: center; background: white; border: 1px solid #cbdcda; border-radius: 5px; padding: 0 1rem; }
.search-input-wrap svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.search-input-wrap input { flex: 1; padding: .9rem; border: 0; outline: 0; background: transparent; }
.search-input-wrap button { border: 0; background: transparent; font-size: 1.5rem; cursor: pointer; }
.mobile-nav { display: none; }

.hero { min-height: min(700px, calc(100vh - 110px)); display: grid; align-items: center; background: linear-gradient(90deg, rgba(255,253,248,.92) 0%, rgba(255,253,248,.72) 35%, rgba(255,253,248,.05) 65%), url("assets/hero-puka-beach.png") center/cover; padding: 5rem clamp(1.25rem, 8vw, 8rem); position: relative; }
.hero-copy { max-width: 610px; }
.eyebrow { margin: 0 0 .8rem; color: var(--ocean); font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 700; }
h1, h2, h3 { font-family: var(--serif); }
h1 { font-size: clamp(3.3rem, 7vw, 6.7rem); line-height: .94; letter-spacing: -.05em; margin: 0 0 1.4rem; }
.hero-copy > p:not(.eyebrow) { max-width: 510px; font-size: 1.13rem; line-height: 1.7; color: #365b5e; }
.hero-actions { display: flex; align-items: center; gap: 1.8rem; margin-top: 2rem; }
.button { display: inline-flex; justify-content: center; border: 0; padding: .95rem 1.3rem; border-radius: 3px; font-weight: 700; font-size: .84rem; cursor: pointer; }
.button-primary { background: var(--ocean); color: white; box-shadow: 0 7px 20px rgba(13,105,115,.22); }
.button-primary:hover { background: var(--deep); transform: translateY(-1px); }
.text-link { font-weight: 700; font-size: .85rem; display: inline-flex; gap: .5rem; align-items: center; }
.text-link span { color: var(--coral); font-size: 1.1rem; transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.hero-note { position: absolute; right: 4%; bottom: 5%; background: rgba(255,253,248,.94); padding: 1rem 1.4rem; border-radius: 50%; width: 130px; height: 130px; display: grid; place-items: center; text-align: center; font: 600 .8rem/1.3 var(--serif); transform: rotate(5deg); box-shadow: var(--shadow); }
.hero-note span { color: var(--sun); font-size: 1.4rem; }

.section { padding: 6.5rem clamp(1.25rem, 7vw, 7rem); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.2rem; }
.section-heading h2, .story-copy h2, .newsletter h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1; letter-spacing: -.035em; margin: 0; }
.category-section { background: var(--foam); }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.category-card { min-height: 260px; border: 0; padding: 2rem; text-align: left; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.category-card::after { content: ""; position: absolute; width: 170px; height: 170px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; right: -45px; top: -50px; }
.category-puka { background: #abdcd5; }
.category-bracelet { background: var(--sand); }
.category-shark { background: #f5a186; }
.category-icon { position: absolute; right: 2rem; top: 2rem; font: 5rem/1 var(--serif); opacity: .3; transform: rotate(-12deg); }
.category-card span:not(.category-icon) { font: 700 clamp(1.3rem, 2.2vw, 2rem) var(--serif); max-width: 70%; z-index: 1; }
.category-card small { display: block; font: 700 .62rem var(--sans); letter-spacing: .14em; margin-bottom: .6rem; }
.category-card b { font-size: .75rem; letter-spacing: .05em; }
.shop-section { min-height: 750px; }
.shop-heading { margin-bottom: 1.5rem; }
#resultCount { margin: 0; color: var(--muted); font-size: .82rem; }
.filter-bar { display: flex; gap: .5rem; align-items: center; margin-bottom: 2rem; overflow-x: auto; padding-bottom: .4rem; }
.filter { white-space: nowrap; border: 1px solid #c9d8d6; background: white; border-radius: 99px; padding: .6rem 1rem; font-size: .78rem; cursor: pointer; }
.filter.active { background: var(--ink); color: white; border-color: var(--ink); }
.filter-bar select { margin-left: auto; border: 0; border-bottom: 1px solid #b8c9c7; padding: .6rem 2rem .6rem .5rem; color: var(--ink); background: white; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem 1.25rem; }
.product-card { position: relative; }
.product-image { aspect-ratio: 4/5; display: grid; place-items: center; position: relative; overflow: hidden; background: #e8eee9; }
.product-image::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 14px dotted rgba(255,255,255,.92); filter: drop-shadow(0 8px 5px rgba(20,70,70,.08)); transform: rotate(-14deg); }
.product-card[data-category="bracelets"] .product-image::before { inset: 25%; border-width: 10px; }
.product-card[data-category="shark"] .product-image::before { width: 0; height: 0; inset: auto; border: 46px solid transparent; border-top: 78px solid rgba(255,255,255,.94); border-bottom: 0; border-radius: 8px; transform: rotate(6deg); }
.product-card:nth-child(3n+1) .product-image { background: #d4e9e5; }
.product-card:nth-child(3n+2) .product-image { background: #f2e4ca; }
.product-card:nth-child(3n) .product-image { background: #c9e4e9; }
.product-image span { position: absolute; top: .8rem; left: .8rem; z-index: 2; font-size: .62rem; font-weight: 700; letter-spacing: .1em; background: white; padding: .45rem .55rem; }
.quick-add { position: absolute; z-index: 3; bottom: 1rem; left: 1rem; right: 1rem; border: 0; background: rgba(18,60,66,.95); color: white; padding: .8rem; font-weight: 700; opacity: 0; transform: translateY(10px); transition: .2s; cursor: pointer; }
.product-card:hover .quick-add, .quick-add:focus { opacity: 1; transform: none; }
.product-details { padding-top: .85rem; display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; }
.product-details h3 { margin: 0; font: 600 1rem var(--serif); }
.product-details p { grid-column: 1; margin: 0; color: var(--muted); font-size: .74rem; }
.product-details b { grid-column: 2; grid-row: 1 / span 2; font-size: .86rem; }
.empty-state { text-align: center; padding: 5rem 1rem; }
.empty-state span { font-size: 2rem; color: var(--sun); }
.empty-state h3 { font-size: 1.7rem; margin-bottom: .4rem; }
.empty-state p { color: var(--muted); }

.story-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 630px; background: var(--deep); color: white; }
.story-art { min-height: 540px; background: linear-gradient(155deg, rgba(242,169,59,.1), rgba(8,76,84,.3)), radial-gradient(circle at 48% 44%, #f2a93b 0 16%, transparent 16.5%), linear-gradient(135deg, #80cfc7, #0c7780); display: grid; place-items: center; position: relative; overflow: hidden; }
.story-art::before, .story-art::after { content: ""; position: absolute; width: 80%; height: 30%; border: 4px solid rgba(255,255,255,.35); border-radius: 50%; bottom: -10%; transform: rotate(-6deg); }
.story-art::after { width: 110%; bottom: -2%; left: -25%; border-color: rgba(255,255,255,.18); }
.story-art span { width: 220px; height: 220px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.65); border-radius: 50%; font: 700 2.4rem/1 var(--serif); text-align: center; transform: rotate(-8deg); text-shadow: 2px 2px var(--deep); }
.story-copy { padding: clamp(3rem, 8vw, 8rem); align-self: center; }
.story-copy .eyebrow { color: #9fe5dd; }
.story-copy h2 { margin-bottom: 1.6rem; }
.story-copy > p:not(.eyebrow) { color: #d3e4e1; line-height: 1.8; font-size: .95rem; max-width: 580px; }
.story-copy .text-link { margin-top: 1rem; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3rem clamp(1.25rem, 7vw, 7rem); border-bottom: 1px solid #dce8e5; }
.values article { display: flex; align-items: center; gap: 1rem; padding: 1rem 2rem; border-right: 1px solid #dce8e5; }
.values article:last-child { border: 0; }
.values article > span { color: var(--coral); font-size: 1.7rem; }
.values h3 { margin: 0 0 .25rem; font-size: 1rem; }
.values p { margin: 0; color: var(--muted); font-size: .78rem; }
.newsletter { display: grid; grid-template-columns: 1.3fr 1fr; gap: 5rem; align-items: end; padding: 6rem clamp(1.25rem, 9vw, 9rem); background: var(--sand); }
.newsletter > div > p:last-child { max-width: 570px; color: #5b6c68; line-height: 1.7; }
.newsletter form { position: relative; display: flex; border-bottom: 2px solid var(--ink); }
.newsletter input { flex: 1; border: 0; padding: 1rem .25rem; outline: 0; background: transparent; }
.newsletter button { border: 0; background: transparent; color: var(--ink); font-weight: 700; cursor: pointer; }
#formMessage { position: absolute; top: 100%; margin-top: .7rem; font-size: .78rem; }
footer { padding: 4rem clamp(1.25rem, 7vw, 7rem) 2rem; background: #082f34; color: #dcebea; display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: center; }
.footer-brand { color: white; }
footer > p { max-width: 420px; color: #aac3c1; }
.footer-links { grid-column: 2; grid-row: 1 / span 2; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 3rem; justify-self: end; }
footer > small { grid-column: 1/-1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; color: #789b98; }
.toast { position: fixed; z-index: 50; right: 1.5rem; bottom: 1.5rem; background: var(--ink); color: white; padding: 1rem 1.3rem; box-shadow: var(--shadow); transform: translateY(140%); transition: transform .3s; }
.toast.show { transform: none; }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
  .mobile-nav { display: flex; max-height: 0; overflow: hidden; flex-direction: column; background: white; position: fixed; z-index: 18; left: 0; right: 0; top: 112px; transition: max-height .3s; box-shadow: var(--shadow); }
  .mobile-nav.open { max-height: 330px; }
  .mobile-nav a { padding: 1rem 1.5rem; border-bottom: 1px solid #edf1ef; font-weight: 600; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .category-card:last-child { grid-column: 1/-1; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .story-section { grid-template-columns: 1fr; }
  .story-art { min-height: 420px; }
  .values article { padding: 1rem; }
  .newsletter { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
  html, body { max-width: 100%; overflow-x: clip; }
  .announcement { font-size: .64rem; }
  .announcement span, .announcement span + * { display: none; }
  .site-header { height: 72px; padding: 0 1rem; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-logo { width: 47px; height: 47px; }
  .footer-logo { width: 70px; height: 70px; }
  .brand strong { font-size: 1.1rem; }
  .search-panel { top: 72px; }
  .mobile-nav { top: 100px; }
  .hero { min-height: 650px; align-items: end; padding: 3.5rem 1.25rem; background: linear-gradient(0deg, rgba(255,253,248,.96) 0%, rgba(255,253,248,.88) 37%, rgba(255,253,248,.05) 70%), url("assets/hero-puka-beach.png") 65% center/cover; }
  .hero-copy { padding-top: 12rem; }
  h1 { font-size: clamp(3.2rem, 16vw, 4.4rem); }
  .hero-copy > p:not(.eyebrow) { font-size: 1rem; line-height: 1.55; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.1rem; }
  .hero-note { display: none; }
  .section { padding: 4.5rem 1.25rem; }
  .section-heading { align-items: flex-start; }
  .section-heading > .text-link { display: none; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card, .category-card:last-child { grid-column: auto; min-height: 220px; }
  .shop-heading { flex-direction: column; gap: .6rem; }
  .filter-bar select { min-width: 125px; }
  .product-grid { gap: 1.6rem .65rem; }
  .product-details { display: block; }
  .product-details h3 { font-size: .9rem; }
  .product-details b { display: block; margin-top: .35rem; }
  .quick-add { opacity: 1; transform: none; font-size: .75rem; }
  .story-art { min-height: 330px; }
  .story-art span { width: 170px; height: 170px; font-size: 1.9rem; }
  .story-copy { padding: 4rem 1.25rem; }
  .values { grid-template-columns: 1fr; padding: 2rem 1.25rem; }
  .values article { border-right: 0; border-bottom: 1px solid #dce8e5; }
  .newsletter { padding: 4rem 1.25rem 5rem; }
  footer { grid-template-columns: 1fr; }
  .footer-links { grid-column: 1; grid-row: auto; justify-self: start; }
}

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

/* =========================================================
   Phase 2 brand atmosphere
   Small local SVG textures and transform-only motion keep this
   expressive without adding a runtime or animation dependency.
   ========================================================= */

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
  border-radius: 2px;
}

::selection { background: var(--aqua); color: var(--deep); }

.brand-mark { position: relative; transition: transform .25s cubic-bezier(.2,.8,.2,1); box-shadow: inset 0 0 0 2px rgba(255,255,255,.28); }
.brand:hover .brand-mark { transform: rotate(4deg) scale(1.04); }
.brand:hover .brand-logo { transform: rotate(2deg) scale(1.03); }
.brand-mark::after { content: ""; position: absolute; inset: 4px; border: 1px dashed rgba(8,76,84,.35); border-radius: 50%; }
.desktop-nav a::after { right: auto; width: 0; transition: width .25s cubic-bezier(.2,.8,.2,1); }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { width: 100%; }

.hero {
  background: var(--sand);
  isolation: isolate;
  overflow: hidden;
}
.hero-bg, .hero-sunwash, .hero-haze, .hero-frond, .sea-sparkles { position: absolute; pointer-events: none; }
[data-parallax]:not(.hero-note) { translate: 0 var(--parallax-y, 0); }
.hero-bg {
  z-index: -5;
  inset: -8% -3%;
  background: linear-gradient(90deg, rgba(255,253,248,.93) 0%, rgba(255,253,248,.7) 36%, rgba(255,253,248,.04) 66%), url("assets/hero-puka-beach.png") center/cover;
  will-change: transform;
}
.hero-sunwash {
  z-index: -4;
  width: 70vw;
  height: 70vw;
  left: -26vw;
  top: -42vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,243,191,.48), rgba(255,255,255,0) 67%);
  mix-blend-mode: screen;
  will-change: transform;
}
.hero-haze {
  z-index: -3;
  inset: 18% 0 auto;
  height: 25%;
  background: linear-gradient(180deg, transparent, rgba(236,255,251,.2), transparent);
  filter: blur(10px);
}
.hero-frond {
  z-index: -1;
  width: 120px;
  height: 380px;
  opacity: .22;
  filter: blur(8px);
  background: repeating-linear-gradient(101deg, transparent 0 19px, #1d6358 20px 31px, transparent 32px 49px);
  transform-origin: top;
  will-change: transform;
}
.hero-frond-left { left: -76px; top: 6%; transform: rotate(-17deg); }
.hero-frond-right { right: -84px; top: -7%; transform: rotate(21deg); opacity: .17; }
.sea-sparkles {
  z-index: -1;
  inset: 8% 28% auto auto;
  width: 36%;
  height: 23%;
  opacity: .4;
  background-image: radial-gradient(circle, rgba(255,255,255,.85) 0 1px, transparent 2px);
  background-size: 43px 31px;
  animation: sparkle-drift 12s linear infinite;
  mask-image: linear-gradient(90deg, transparent, #000, transparent);
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy .eyebrow, .hero-copy h1, .hero-copy > p, .hero-actions { opacity: 0; transform: translateY(16px); animation: hero-reveal .7s both cubic-bezier(.2,.7,.2,1); }
.hero-copy h1 { animation-delay: .12s; }
.hero-copy > p { animation-delay: .24s; }
.hero-actions { animation-delay: .34s; }
.wave-word { position: relative; white-space: nowrap; }
.wave-word::after {
  content: "";
  position: absolute;
  left: 1%; right: 0; bottom: -.05em;
  height: .12em;
  background: url("assets/textures/wave-lines.svg") 50% 49% / 270px auto;
  filter: sepia(1) saturate(6);
  opacity: .7;
  transform: rotate(-1deg);
}
.hero-note {
  border-radius: 48% 52% 46% 54% / 51% 44% 56% 49%;
  background-color: #fff9e9;
  background-image: url("assets/textures/paper-fiber.svg");
  border: 1px solid rgba(111,88,42,.18);
  animation: maker-bob 5s ease-in-out infinite;
  padding: 1.3rem;
}
.hero-note::after { content: ""; position: absolute; inset: 7px; border-radius: inherit; border: 1px dashed rgba(18,60,66,.25); }
.hero-note img { width: 30px; color: var(--sun); filter: invert(72%) sepia(80%) saturate(1300%) hue-rotate(336deg); }
.hero-note span { font: 700 .76rem/1.25 var(--serif); }

.shoreline-divider {
  height: 62px;
  margin-top: -61px;
  position: relative;
  z-index: 3;
  overflow: hidden;
}
.shoreline-divider::before, .shoreline-divider::after {
  content: ""; position: absolute; left: -3%; width: 106%; border-radius: 50% 50% 0 0;
}
.shoreline-divider::before { height: 76px; top: 30px; background: rgba(159,222,216,.65); transform: rotate(.6deg); }
.shoreline-divider::after { height: 66px; top: 43px; background: var(--foam); transform: rotate(-.3deg); }

.category-section {
  position: relative;
  background-color: var(--foam);
  background-image: url("assets/textures/paper-fiber.svg"), radial-gradient(circle at 8% 20%, rgba(159,222,216,.26), transparent 30%);
}
.category-grid { align-items: start; perspective: 1000px; }
.category-card {
  min-height: 310px;
  border-radius: 3px;
  border: 1px solid rgba(18,60,66,.12);
  box-shadow: 0 14px 25px rgba(22,70,70,.08), 0 2px 2px rgba(22,70,70,.08);
  background-image: url("assets/textures/paper-fiber.svg");
  transform: rotate(-.6deg);
  isolation: isolate;
}
.category-card:nth-child(2) { margin-top: 1.7rem; transform: rotate(.7deg); }
.category-card:nth-child(3) { margin-top: .4rem; transform: rotate(-.4deg); }
.category-card::before {
  content: ""; position: absolute; inset: 9px; border: 1px solid rgba(255,255,255,.5); pointer-events: none; z-index: -1;
}
.category-card::after {
  width: 210px; height: 210px; right: -62px; top: -62px;
  box-shadow: 0 0 0 18px rgba(255,255,255,.08), 0 0 0 38px rgba(255,255,255,.05);
}
.category-card:hover { transform: translateY(-9px) rotate(.3deg); box-shadow: 0 24px 46px rgba(11,67,71,.18); }
.category-card:nth-child(2):hover { transform: translateY(-9px) rotate(-.2deg); }
.postcard-pin { position: absolute; top: 15px; left: 50%; width: 37px; height: 11px; background: rgba(255,249,227,.58); transform: translateX(-50%) rotate(-3deg); box-shadow: 0 1px 1px rgba(70,50,20,.1); }
.category-illustration { position: absolute; width: 160px; height: 160px; object-fit: contain; right: 1rem; top: 1.4rem; opacity: .25; color: var(--ink); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.category-card:hover .category-illustration { transform: translate(-5px, 5px) rotate(-5deg) scale(1.04); }
.category-card .rope-illustration { width: 210px; right: -15px; transform: rotate(-12deg); }
.category-card:hover .rope-illustration { transform: translate(-4px,4px) rotate(-7deg); }
.category-card .tooth-illustration { width: 115px; right: 2.1rem; }
.category-card b i { font-style: normal; display: inline-block; transition: transform .22s; }
.category-card:hover b i { transform: translateX(5px); }

.shop-section {
  position: relative;
  background-color: var(--white);
  background-image: url("assets/textures/sand-grain.svg");
  background-blend-mode: soft-light;
}
.product-card { transition: transform .32s cubic-bezier(.2,.8,.2,1); }
.product-card:hover { transform: translateY(-6px); }
.product-image {
  border: 1px solid rgba(18,60,66,.09);
  box-shadow: 0 5px 16px rgba(22,65,65,.06);
  isolation: isolate;
  transition: box-shadow .3s;
}
.product-card:hover .product-image { box-shadow: 0 18px 32px rgba(22,65,65,.15); }
.product-image::after {
  content: ""; position: absolute; inset: 0; z-index: -3;
  background-image: url("assets/textures/paper-fiber.svg"), linear-gradient(145deg, rgba(255,255,255,.2), transparent 50%);
  mix-blend-mode: multiply;
}
.product-image .jewelry-placeholder {
  width: 78%;
  height: 78%;
  position: relative;
  z-index: 1;
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
  filter: drop-shadow(0 13px 8px rgba(28,55,45,.15));
}
.product-card:hover .jewelry-placeholder { transform: scale(1.035) translateY(-3px) rotate(1deg); }
.product-image::before { display: none; }
.jewelry-placeholder path, .jewelry-placeholder circle { vector-effect: non-scaling-stroke; }
.product-card[data-category="necklaces"] .product-image { background: linear-gradient(145deg, #d8e9df, #b9d4cc); }
.product-card[data-category="bracelets"] .product-image { background: linear-gradient(145deg, #eee3cd, #dcc7a1); }
.product-card[data-category="shark"] .product-image { background: linear-gradient(145deg, #c6dfdf, #91c2c4); }
.product-image span { border: 1px solid rgba(18,60,66,.12); box-shadow: 2px 2px 0 rgba(18,60,66,.08); }
.quick-add {
  background: rgba(8,76,84,.94);
  border: 1px solid rgba(255,255,255,.32);
  overflow: hidden;
}
.quick-add::after, .button-primary::after {
  content: ""; position: absolute; top: -50%; bottom: -50%; width: 35px; left: -70px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-18deg); transition: left .6s;
}
.quick-add:hover::after, .button-primary:hover::after { left: calc(100% + 55px); }
.button-primary { position: relative; overflow: hidden; }
.product-details { border-top: 1px solid rgba(18,60,66,.09); margin-top: .85rem; padding-top: .9rem; }
.product-details h3 { letter-spacing: -.01em; }
.product-details b { color: var(--ocean); }
.cart-button.bump { animation: cart-bump .42s cubic-bezier(.2,.8,.2,1); }

.torn-divider {
  height: 34px;
  margin-bottom: -1px;
  background: var(--white);
  clip-path: polygon(0 0,100% 0,100% 45%,97% 69%,94% 46%,91% 76%,88% 50%,85% 72%,82% 44%,79% 68%,76% 51%,73% 76%,70% 45%,67% 70%,64% 48%,61% 76%,58% 49%,55% 70%,52% 45%,49% 76%,46% 52%,43% 71%,40% 46%,37% 76%,34% 51%,31% 69%,28% 45%,25% 75%,22% 50%,19% 70%,16% 44%,13% 74%,10% 49%,7% 70%,4% 45%,0 70%);
}
.story-section {
  background-color: var(--deep);
  background-image: url("assets/textures/wave-lines.svg"), url("assets/textures/paper-fiber.svg");
}
.story-art {
  isolation: isolate;
  background: linear-gradient(135deg, rgba(128,207,199,.93), rgba(12,119,128,.96)), url("assets/textures/paper-fiber.svg");
}
.story-art::before, .story-art::after { z-index: -1; }
.story-sun { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--sun); left: 20%; top: 14%; opacity: .9; box-shadow: 0 0 0 30px rgba(255,255,255,.06), 0 0 0 70px rgba(255,255,255,.035); will-change: transform; }
.story-rope { position: absolute; width: 88%; color: rgba(255,255,255,.56); filter: brightness(0) invert(1); left: 4%; top: 20%; opacity: .8; will-change: transform; }
.story-art .aloha-stamp {
  width: 220px; height: 220px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.72); border-radius: 47% 53% 51% 49%; font: 700 2.4rem/1 var(--serif); text-align: center; transform: rotate(-8deg); text-shadow: 2px 2px var(--deep); background: rgba(8,76,84,.08); box-shadow: inset 0 0 0 8px rgba(255,255,255,.06);
}
.story-art .story-shell { position: absolute; display: block; width: auto; height: auto; border: 0; border-radius: 0; font: 4rem var(--serif); color: rgba(255,255,255,.55); text-shadow: none; }
.story-shell-one { bottom: 17%; left: 12%; transform: rotate(22deg); }
.story-shell-two { right: 12%; top: 14%; }
.coordinates { position: absolute; bottom: 5%; right: 7%; text-align: right; letter-spacing: .18em; line-height: 1.7; opacity: .65; font-size: .55rem; }
.dave-signature { margin-top: 1.7rem; color: var(--sun); font: italic 600 1.5rem var(--serif); transform: rotate(-3deg); transform-origin: left; }

.values {
  position: relative;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 4.2rem;
  background: #fffdf8 url("assets/textures/paper-fiber.svg");
}
.promise-label {
  position: absolute; top: 1.3rem; left: 50%; transform: translateX(-50%);
  margin: 0; text-transform: uppercase; letter-spacing: .18em; font-size: .58rem; font-weight: 700; color: var(--muted); white-space: nowrap;
}
.values article { position: relative; }
.values article:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 16%; bottom: 16%; border-right: 2px dashed rgba(18,60,66,.16); }
.promise-icon { width: 48px; height: 48px; border: 1px solid rgba(13,105,115,.3); border-radius: 50%; display: grid; place-items: center; background: rgba(159,222,216,.15); }

.sand-divider {
  height: 50px;
  margin-bottom: -1px;
  background: var(--sand);
  clip-path: ellipse(72% 48% at 50% 100%);
}
.newsletter {
  isolation: isolate;
  position: relative;
  background-color: var(--sand);
  background-image: url("assets/textures/paper-fiber.svg"), linear-gradient(90deg, transparent 49.8%, rgba(102,87,55,.11) 50%, transparent 50.2%);
  overflow: hidden;
}
.newsletter::before { content: ""; position: absolute; inset: 14px; border: 1px dashed rgba(74,78,53,.2); pointer-events: none; }
.postmark { position: absolute; width: 190px; right: 5%; top: 12%; opacity: .16; color: var(--ocean); filter: invert(33%) sepia(31%) saturate(1162%) hue-rotate(137deg); will-change: transform; }
.postcard-rule { position: absolute; left: 8%; right: 54%; bottom: 17%; height: 1px; background: rgba(18,60,66,.12); box-shadow: 0 13px rgba(18,60,66,.09), 0 26px rgba(18,60,66,.06); }
.postcard-shell { position: absolute; right: 47%; bottom: 11%; font: 3rem var(--serif); color: rgba(13,105,115,.16); transform: rotate(-20deg); }
.newsletter input { min-height: 48px; }
.newsletter button { min-height: 48px; transition: color .2s, transform .2s; }
.newsletter button:hover { color: var(--coral); transform: translateX(3px); }
#formMessage.success { color: var(--deep); font-weight: 700; }

footer {
  position: relative;
  background-color: #082f34;
  background-image: url("assets/textures/wave-lines.svg"), radial-gradient(circle at 9% 130%, rgba(13,105,115,.7), transparent 32%);
  grid-template-columns: 1fr 1.2fr;
}
footer::before { content: "◖"; position: absolute; right: 6%; bottom: 11%; font: 7rem var(--serif); color: rgba(255,255,255,.025); transform: rotate(-18deg); }
.footer-links a, .footer-social a, .footer-bottom a { position: relative; width: max-content; transition: color .2s; }
.footer-links a:hover, .footer-social a:hover, .footer-bottom a:hover { color: var(--sun); }
.footer-social { grid-column: 1; display: flex; gap: 1rem; font-size: .76rem; align-items: center; }
.footer-social span { color: #789b98; text-transform: uppercase; letter-spacing: .15em; font-size: .58rem; }
.footer-bottom { grid-column: 1/-1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; color: #789b98; display: flex; justify-content: space-between; font-size: .72rem; }
.footer-bottom div { display: flex; gap: 1.5rem; }
footer > small { display: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.product-card.reveal:nth-child(2), .category-card.reveal:nth-child(2) { transition-delay: .08s; }
.product-card.reveal:nth-child(3), .category-card.reveal:nth-child(3) { transition-delay: .16s; }
.product-card.reveal:nth-child(4) { transition-delay: .24s; }

@keyframes hero-reveal { to { opacity: 1; transform: translateY(0); } }
@keyframes maker-bob { 0%,100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -4px; rotate: 1deg; } }
@keyframes sparkle-drift { 50% { transform: translateX(16px); opacity: .25; } }
@keyframes cart-bump { 35% { transform: translateY(-4px) rotate(-8deg) scale(1.08); } 70% { transform: translateY(1px) rotate(3deg); } }

@media (max-width: 900px) {
  .hero-bg { inset: -4%; }
  .hero-frond { display: none; }
  .category-card:nth-child(2), .category-card:nth-child(3) { margin-top: 0; }
  .category-card:nth-child(3) { margin-top: 1.2rem; }
  .newsletter { background-image: url("assets/textures/paper-fiber.svg"); }
  .postcard-rule { right: 8%; left: 48%; bottom: 10%; }
}

@media (max-width: 600px) {
  .hero-bg {
    inset: 0;
    transform: none !important;
    background: linear-gradient(0deg, rgba(255,253,248,.97) 0%, rgba(255,253,248,.87) 40%, rgba(255,253,248,.02) 72%), url("assets/hero-puka-beach.png") 65% center/cover;
  }
  .hero-sunwash, .sea-sparkles { display: none; }
  .wave-word::after { background-size: 180px auto; }
  .shoreline-divider { height: 38px; margin-top: -37px; }
  .category-card, .category-card:nth-child(2), .category-card:nth-child(3) { transform: none; margin-top: 0; }
  .category-card:hover, .category-card:nth-child(2):hover { transform: translateY(-4px); }
  .category-illustration { width: 130px; height: 130px; }
  .torn-divider { height: 24px; }
  .story-sun { width: 190px; height: 190px; }
  .aloha-stamp { width: 165px; height: 165px; font-size: 1.8rem; }
  .story-rope { width: 110%; left: -5%; }
  .coordinates { display: none; }
  .values { grid-template-columns: 1fr; padding-top: 4.4rem; }
  .values article:not(:last-child)::after { top: auto; left: 4%; right: 4%; bottom: 0; border-right: 0; border-bottom: 2px dashed rgba(18,60,66,.13); }
  .postmark { width: 135px; right: -25px; top: 11%; }
  .postcard-rule, .postcard-shell { display: none; }
  footer { grid-template-columns: 1fr; }
  .footer-social, .footer-bottom { grid-column: 1; }
  .footer-bottom { flex-direction: column; gap: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy .eyebrow, .hero-copy h1, .hero-copy > p, .hero-actions, .reveal {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  [data-parallax], .hero-note, .sea-sparkles { transform: none !important; animation: none !important; }
}
