/* Siren Jewelry — storefront */
@font-face { font-family: 'Cormorant'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/cormorant-garamond-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant'; font-style: italic; font-weight: 500; font-display: swap; src: url(fonts/cormorant-garamond-latin-500-italic.woff2) format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/jost-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/jost-latin-500-normal.woff2) format('woff2'); }

:root {
  --sand: #f4efe8;
  --paper: #fbf8f4;
  --shell: #ebe3d8;
  --ink: #1d2326;
  --muted: #6e6962;
  --line: #ddd4c8;
  --sea: #213c44;
  --sea-2: #2e5560;
  --serif: 'Cormorant', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gut: clamp(16px, 4vw, 48px);
  --radius: 2px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.005em; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.section { padding-top: clamp(48px, 7vw, 96px); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
:focus-visible { outline: 2px solid var(--sea-2); outline-offset: 3px; }

/* buttons & links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; padding: 0 30px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); text-decoration: none; text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; font-weight: 500; cursor: pointer; border-radius: var(--radius); transition: background .2s, color .2s; }
.btn:hover { background: var(--sea); border-color: var(--sea); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: wait; }
.link { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.icon-btn { background: none; border: 0; padding: 10px; cursor: pointer; display: inline-flex; position: relative; }
.icon-btn svg { width: 24px; height: 24px; }

/* header */
.announce { background: var(--sea); color: #e9e3da; text-align: center; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; padding: 9px var(--gut); }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(244,239,232,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr { max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.logo { grid-column: 2; justify-self: center; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 26px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-color: currentColor; }
.nav-left { grid-column: 1; grid-row: 1; }
.nav-right { grid-column: 3; grid-row: 1; justify-self: end; margin-right: 48px; }
.bag-btn { grid-column: 3; grid-row: 1; justify-self: end; margin-right: -10px; }
.bag-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--sea); color: #fff; font-size: 10.5px; line-height: 18px; text-align: center; padding: 0 4px; }
.menu-btn { display: none; grid-column: 1; grid-row: 1; justify-self: start; margin-left: -10px; }
.mobile-menu { border-top: 1px solid var(--line); padding: 8px var(--gut) 20px; display: grid; }
.mobile-menu a { text-decoration: none; padding: 12px 0; font-family: var(--serif); font-size: 24px; }
.mobile-menu hr { border: 0; border-top: 1px solid var(--line); width: 100%; margin: 8px 0; }
@media (max-width: 920px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .hdr { height: 64px; }
  .logo img { height: 36px; }
}

/* hero */
.hero { position: relative; min-height: min(86vh, 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--sea); }
.hero-media { position: absolute; inset: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; background: var(--sand); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; min-width: 0; }
@media (max-width: 760px) { .hero-media img:not(:first-child) { display: none; } .hero-media { grid-auto-flow: row; } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,24,0) 35%, rgba(10,20,24,.55) 100%); }
.hero-copy { position: relative; z-index: 1; padding: 0 var(--gut) clamp(40px, 8vw, 96px); max-width: 1320px; width: 100%; margin: 0 auto; }
.hero h1 { font-size: clamp(42px, 7vw, 92px); max-width: 11ch; margin-bottom: .25em; font-weight: 500; }
.hero p { max-width: 40ch; font-size: clamp(15px, 1.4vw, 18px); margin: 0 0 28px; opacity: .92; }

/* category tiles */
.cat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.6vw, 20px); }
.cat-tile { position: relative; aspect-ratio: 4/5; overflow: hidden; text-decoration: none; color: #fff; background: var(--shell); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.cat-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.45)); }
.cat-tile span { position: absolute; left: 18px; bottom: 16px; z-index: 1; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px); }
.cat-tile:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .cat-row { grid-template-columns: repeat(2, 1fr); } }

/* section headers */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 46px); margin: 0; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 40px) clamp(12px, 1.6vw, 24px); }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .grid { grid-template-columns: repeat(2, 1fr); } }
.card { text-decoration: none; display: block; }
.card-media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--shell); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.card-media .alt { opacity: 0; }
.card:hover .has-alt .alt { opacity: 1; }
.card:hover .card-media img { transform: scale(1.03); }
.badge { position: absolute; top: 10px; left: 10px; background: var(--paper); color: var(--ink); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; padding: 5px 9px; }
.card-info { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 12px; }
.card-name { font-family: var(--serif); font-size: 20px; line-height: 1.2; }
.card-price { font-size: 14px; color: var(--muted); white-space: nowrap; }
@media (max-width: 680px) { .card-info { flex-direction: column; gap: 2px; } .card-name { font-size: 18px; } }
.ph { width: 100%; height: 100%; background: var(--shell); }
.empty { color: var(--muted); }

/* shop */
.page-title { font-size: clamp(40px, 5.5vw, 68px); margin-bottom: 20px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.tabs a { text-decoration: none; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-size: 13px; letter-spacing: .06em; }
.tabs a:hover { border-color: var(--ink); }
.tabs a[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.count { color: var(--muted); font-size: 13px; margin: 0 0 24px; }

/* story */
.story { margin-top: clamp(64px, 9vw, 120px); background: var(--paper); }
.story-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.story-grid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; max-height: 720px; }
.story-copy h2 { font-size: clamp(34px, 4.4vw, 58px); font-style: italic; }
.story-copy p { color: var(--muted); font-size: 17px; max-width: 46ch; margin: 0 0 28px; }
@media (max-width: 760px) { .story-grid { grid-template-columns: 1fr; } }

/* newsletter */
.newsletter { padding: clamp(56px, 8vw, 104px) 0; text-align: center; }
.newsletter h2 { font-size: clamp(32px, 4vw, 48px); font-style: italic; }
.newsletter p { color: var(--muted); margin: 0 auto 24px; max-width: 46ch; }
.nl-form { display: flex; max-width: 460px; margin: 0 auto; border: 1px solid var(--ink); }
.nl-form input[type=email] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 16px; font: inherit; font-size: 15px; min-height: 50px; }
.nl-form input:focus { outline: none; }
.nl-form .btn { border: 0; }
.nl-msg { margin-top: 14px !important; color: var(--sea-2) !important; }

/* product page */
.product { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); padding-top: clamp(16px, 3vw, 40px); align-items: start; }
.gallery-main { display: grid; gap: 12px; }
.gallery-main img { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: var(--shell); }
.gallery-dots { display: none; }
.pinfo { position: sticky; top: 110px; padding-bottom: 24px; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: 11.5px; color: var(--muted); margin: 0 0 12px; }
.pinfo h1 { font-size: clamp(38px, 4.4vw, 58px); margin-bottom: 8px; }
.price { font-size: 20px; margin: 0 0 28px; }
.opt { border: 0; padding: 0; margin: 0 0 22px; }
.opt legend { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 10px; display: flex; gap: 12px; width: 100%; }
.opt .sg { margin-left: auto; text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { min-width: 46px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: 14px; transition: border-color .15s; }
.chips label small { color: var(--muted); font-size: 12px; }
.chips label:hover { border-color: var(--ink); }
.chips input:checked + label { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chips input:checked + label small { color: inherit; opacity: .8; }
.chips input:focus-visible + label { outline: 2px solid var(--sea-2); outline-offset: 2px; }
.opt.invalid .chips label { border-color: #b4553f; }
.buy-msg { color: #9b4330; font-size: 14px; margin: 10px 0 0; }
.note { font-size: 14px; color: var(--muted); border-left: 2px solid var(--line); padding-left: 14px; margin: 22px 0; }
.prose.small { font-size: 15px; color: var(--muted); }
.acc { border-top: 1px solid var(--line); margin-top: 28px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 18px 0; font-size: 12px; text-transform: uppercase; letter-spacing: .16em; display: flex; justify-content: space-between; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 18px; line-height: 1; }
.acc details[open] summary::after { content: '−'; }
.acc ul, .acc p { margin: 0 0 18px; padding-left: 18px; font-size: 15px; color: var(--muted); }
.acc p { padding-left: 0; }
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; padding-top: 0; }
  .wrap.product { padding: 0; }
  .pinfo { position: static; padding: 0 var(--gut); }
  .gallery { position: relative; }
  .gallery-main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; scrollbar-width: none; }
  .gallery-main::-webkit-scrollbar { display: none; }
  .gallery-main img { flex: 0 0 100%; scroll-snap-align: start; }
  .gallery-dots { display: flex; gap: 6px; justify-content: center; position: absolute; bottom: 14px; left: 0; right: 0; }
  .gallery-dots button { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.55); }
  .gallery-dots button[aria-current] { background: #fff; }
}

/* content pages */
.page { padding-top: clamp(40px, 6vw, 80px); padding-bottom: 40px; }
.prose { font-size: 17px; }
.prose h2 { font-size: 32px; margin-top: 1.4em; }
.prose h3 { font-size: 24px; margin-top: 1.2em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose li { margin-bottom: .35em; }
.prose figure { margin: 28px 0; }
.prose img { width: 100%; height: auto; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.coral { margin: 0 auto 18px; opacity: .85; }
.contact-form { display: grid; gap: 16px; margin: 32px 0; }
.contact-form label { display: grid; gap: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; }
.contact-form input, .contact-form textarea { font: inherit; font-size: 16px; text-transform: none; letter-spacing: 0; padding: 12px 14px; border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--ink); }
.contact-form .btn { justify-self: start; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }
.contact-direct { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 24px; }
.contact-direct p { display: flex; gap: 16px; margin: 0 0 10px; }
.contact-direct span { width: 100px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; padding-top: 3px; }
.form-msg { color: var(--sea-2); }

/* cart drawer */
.drawer-scrim { position: fixed; inset: 0; background: rgba(20,26,28,.35); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--paper); z-index: 41; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); display: flex; flex-direction: column; visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 14px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 28px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; display: flex; flex-direction: column; }
.cart-empty { margin: auto; text-align: center; color: var(--muted); padding: 40px 0; }
.cart-empty .btn { margin-top: 16px; }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line img { width: 84px; aspect-ratio: 4/5; object-fit: cover; background: var(--shell); }
.line-name { font-family: var(--serif); font-size: 19px; line-height: 1.2; text-decoration: none; }
.line-opts { font-size: 13px; color: var(--muted); }
.line-price { font-size: 14px; text-align: right; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 10px; }
.qty button { width: 32px; height: 32px; border: 0; background: none; cursor: pointer; font-size: 16px; }
.qty span { min-width: 22px; text-align: center; font-size: 14px; }
.line-remove { background: none; border: 0; color: var(--muted); font-size: 12px; text-decoration: underline; cursor: pointer; padding: 0; margin-top: 8px; display: block; margin-left: auto; }
.cart-foot { margin-top: auto; padding-top: 20px; }
.cart-foot label { display: grid; gap: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
.cart-foot select { font: inherit; font-size: 15px; text-transform: none; letter-spacing: 0; padding: 11px 12px; border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius); }
.sum { display: flex; justify-content: space-between; font-size: 15px; margin: 6px 0; }
.sum.total { font-size: 18px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.free-hint { font-size: 13px; color: var(--sea-2); margin: 10px 0 16px; }
.cart-error { color: #9b4330; font-size: 14px; }
.secure { text-align: center; font-size: 12px; color: var(--muted); margin-top: 10px; }
.cart-page { min-height: 300px; display: flex; flex-direction: column; }

/* footer */
.site-footer { background: var(--sea); color: #d9d3ca; padding: clamp(48px, 6vw, 80px) 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-grid h3 { font-family: var(--sans); font-size: 11.5px; text-transform: uppercase; letter-spacing: .18em; color: #fff; margin-bottom: 16px; font-weight: 500; }
.footer-grid a { display: flex; align-items: center; gap: 8px; text-decoration: none; padding: 4px 0; font-size: 14.5px; }
.footer-grid a:hover { color: #fff; }
.footer-grid .ig svg { width: 18px; height: 18px; }
.footer-brand .coral { filter: invert(1); margin: 0 0 16px; opacity: .8; }
.footer-brand p { font-family: var(--serif); font-size: 22px; line-height: 1.3; max-width: 18ch; margin: 0; color: #fff; }
.footer-base { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.15); margin-top: 48px; padding-top: 20px; font-size: 12px; letter-spacing: .08em; opacity: .7; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.home main > .section:first-of-type { padding-top: clamp(16px, 2vw, 24px); }
[hidden] { display: none !important; }
