/* ==========================================================================
   Bling Jewelry, styles.css
   Tabbed single-page site (Home, Products, Services, Piercing, Know Us,
   Know Your Jewelry, Refund Policy, Contact). Printed-lookbook aesthetic:
   hairlines, flat cards, generous white space, no shadows, no gradients.
   ========================================================================== */

/* ---- Design tokens ---- */
:root {
  --forest: #0E5045;
  --forest-dark: #0A3E35;
  --ink: #1C1C1C;
  --muted: #6B6B6B;
  --bg: #FFFFFF;
  --bg-alt: #F7F7F5;
  --mint: #DCE9E4;
  --line: #E6E6E3;

  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --page-max: 1200px;
  --gutter: 24px;
  --section-gap: 80px;
  --section-gap-mobile: 48px;
  --header-h: 72px;
  --announce-h: 36px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---- Base / reset ---- */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, table { margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* guard against any horizontal scroll on any device */
}

.container {
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }

h1, h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.12;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--forest);
}
.eyebrow--light { color: var(--mint); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  padding: 14px 28px;
  border-radius: 2px;
  transition: background-color 250ms var(--ease), color 250ms var(--ease), border-color 250ms var(--ease);
}
.btn--solid { background: var(--forest); color: #fff; }
.btn--solid:hover { background: var(--forest-dark); }
.btn--ghost { border: 1px solid var(--forest); color: var(--forest); background: transparent; }
.btn--ghost:hover { background: var(--forest); color: #fff; }
.btn--small { padding: 9px 22px; font-size: 13px; }

/* ---- Announcement bar ---- */
.announce {
  background: var(--forest);
  color: #fff;
  min-height: var(--announce-h);
  padding-block: 8px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.announce p { font-size: 12px; padding-inline: var(--gutter); }

/* ---- Header ---- */
.header { border-bottom: 1px solid var(--line); background: var(--bg); }
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo { height: 40px; width: auto; }
.wordmark {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.01em;
}
.header__actions { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  width: 44px; height: 44px; /* 44px touch target on every device */
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: color 200ms var(--ease);
}
.icon-btn:hover { color: var(--forest); }
.nav-toggle { display: none; }

/* ---- Tab navigation ---- */
.navbar { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 40; }
.navbar__list {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 6px 28px;
}
.navbar__list a {
  display: inline-block;
  position: relative;
  padding: 13px 0;
  font-size: 13.5px;
  color: var(--ink);
  transition: color 250ms var(--ease);
}
.navbar__list a::after {
  content: "";
  position: absolute; left: 0; bottom: 8px;
  height: 1px; width: 100%;
  background: var(--forest);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms var(--ease);
}
.navbar__list a:hover { color: var(--forest); }
.navbar__list a:hover::after { transform: scaleX(1); }
.navbar__list a[aria-current="page"] { color: var(--forest); font-weight: 500; }
.navbar__list a[aria-current="page"]::after { transform: scaleX(1); }

/* ---- Hero ---- */
.hero { padding-block: 56px 64px; }
.hero__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: center;
  gap: 48px;
}
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hero__text h1 { font-size: 56px; font-weight: 500; }
.hero__lead { color: var(--muted); max-width: 42ch; font-size: 15px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.hero__media { position: relative; min-height: 400px; overflow: hidden; }
.hero__mintblock { position: absolute; inset: 0; background: var(--mint); }
.hero__cut { position: absolute; object-fit: contain; }
/* Necklace: tall anchor that fills the block, slight bleed at the top */
.hero__cut--2 {
  height: 96%; left: 8%; top: 0;
  transform: rotate(2deg);
  z-index: 2;
  filter: drop-shadow(0 22px 26px rgba(28, 28, 28, 0.22));
}
/* Bracelet: sweeps in behind, bleeding off the top-right corner */
.hero__cut--3 {
  width: 58%; top: -7%; right: -13%;
  transform: rotate(7deg);
  z-index: 1;
  filter: drop-shadow(0 14px 18px rgba(28, 28, 28, 0.15));
}
/* Diamond ring: layered large in front, cropped slightly at the bottom edge */
.hero__cut--1 {
  width: 47%; left: 42%; top: 27%;
  transform: rotate(-5deg);
  z-index: 3;
  filter: drop-shadow(0 18px 24px rgba(28, 28, 28, 0.28));
}

/* ---- Watch service split band ---- */
.splitband { margin-top: 8px; background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 56px; }
.splitband__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.splitband__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.splitband__text { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.splitband__text h2 { font-size: 30px; }
.splitband__text > p { color: var(--muted); max-width: 52ch; }

/* ---- Services preview (home) ---- */
.section { margin-top: var(--section-gap); }
.services-preview {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 40px;
  margin-top: 28px;
  align-items: start;
}
.services-preview__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.services-preview__lists {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.services-preview__lists h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.services-preview__lists ul li {
  font-size: 13.5px;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.services-preview__lists ul li:last-child { border-bottom: 0; }
.services-preview__lists a { color: var(--forest); font-weight: 500; }

/* ---- Check / dash lists ---- */
.check-list { margin-block: 12px; }
.check-list li {
  position: relative;
  padding: 6px 0 6px 28px;
  font-size: 14px;
  color: var(--muted);
}
.check-list li::before {
  content: "";
  position: absolute; left: 2px; top: 13px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--forest);
  border-bottom: 2px solid var(--forest);
  transform: rotate(-45deg);
}
.dash-list { margin-block: 12px; }
.dash-list li {
  position: relative;
  padding: 7px 0 7px 24px;
  font-size: 14px;
  color: var(--muted);
}
.dash-list li::before {
  content: "";
  position: absolute; left: 2px; top: 16px;
  width: 10px; height: 1px;
  background: var(--forest);
}

/* ---- Section head ---- */
.section-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 28px;
}
.showall {
  font-size: 14px; font-weight: 500;
  color: var(--forest);
  white-space: nowrap;
}
.showall:hover { color: var(--forest-dark); text-decoration: underline; }

/* ---- Home collections strip ---- */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.strip li {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2px;
  background: var(--mint);
}
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.strip li:hover img { transform: scale(1.04); }

/* ---- Visit band ---- */
.visit {
  margin-top: var(--section-gap);
  background: var(--forest);
  color: #fff;
  padding-block: 64px;
  text-align: center;
}
.visit .eyebrow--light { margin-bottom: 6px; }
.visit h2 { font-size: 32px; }
.visit__sub { color: var(--mint); font-size: 14.5px; margin-top: 10px; margin-bottom: 40px; }
.visit__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}
.visit-card {
  background: var(--bg);
  color: var(--ink);
  border-radius: 4px;
  padding: 28px 24px 24px;
  display: flex; flex-direction: column; gap: 8px;
  align-items: flex-start;
}
.visit-card svg { color: var(--forest); margin-bottom: 4px; }
.visit-card h3 { font-family: var(--font-serif); font-size: 18px; font-weight: 500; }
.visit-card p { font-size: 14px; color: var(--muted); }
.visit-card__link {
  margin-top: auto;
  font-size: 13px; font-weight: 600;
  color: var(--forest);
  border-bottom: 1px solid var(--forest);
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.visit-card a.visit-card__link:hover { color: var(--forest-dark); border-color: var(--forest-dark); }

/* ---- Inner page scaffolding ---- */
.page { padding-block: 48px var(--section-gap); }
.page--narrow { max-width: 880px; }
.page-head { margin-bottom: 32px; }
.page-head h1 { font-size: 40px; margin-top: 6px; }
.page-head__lead { color: var(--muted); max-width: 62ch; margin-top: 14px; font-size: 15px; }

.note {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-alt);
  padding: 20px 24px;
  margin-block: 8px 40px;
}
.note h3 {
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--forest);
  margin-bottom: 4px;
}
.note p { font-size: 13.5px; color: var(--muted); }
.note a { color: var(--forest); font-weight: 500; }

/* ---- Info cards (services, know your jewelry) ---- */
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.info-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px 28px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.info-card h2 { font-size: 22px; }
.info-card p { font-size: 14px; color: var(--muted); max-width: 60ch; }
.info-card strong { color: var(--ink); font-weight: 600; }
.info-card__link {
  margin-top: auto;
  font-size: 13px; font-weight: 600;
  color: var(--forest);
  border-bottom: 1px solid var(--forest);
}
.info-card__tile {
  width: 100%;
  aspect-ratio: 16 / 8;
  background: var(--mint);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border-radius: 2px;
  padding: 12px;
}
.info-card__tile img { max-height: 100%; max-width: 70%; object-fit: contain; }

/* ---- Product categories ---- */
.cat-block { margin-bottom: 56px; }
.cat-block h2 { font-size: 26px; }
.cat-line { color: var(--muted); font-size: 14px; margin-block: 10px 20px; max-width: 60ch; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.cat-grid li {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2px;
  background: var(--mint);
}
.cat-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.cat-grid li:hover img { transform: scale(1.04); }

/* ---- Piercing ---- */
.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-block: 8px 40px;
}
.two-col h2 { font-size: 24px; margin-bottom: 12px; }
.two-col > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.two-col p { font-size: 14px; color: var(--muted); max-width: 58ch; }

/* ---- Piercing services block ---- */
.offer-block {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px;
  margin-bottom: 40px;
  background: var(--bg-alt);
}
.offer-block h2 { font-size: 24px; }
.offer-block p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.offer-block__extra { font-weight: 500; color: var(--ink) !important; }
.offer-block a { color: var(--forest); font-weight: 500; }

/* ---- Know Us features ---- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}
.feature--flip .feature__media { order: 2; }
.feature__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.feature__text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.feature__text > p:not(.eyebrow) { font-size: 15px; color: var(--muted); max-width: 56ch; }
.feature__text h2 { font-size: 26px; }

/* ---- Rich text block ---- */
.rich { margin-block: 8px 32px; }
.rich h2 { font-size: 24px; margin-bottom: 14px; }
.rich p { font-size: 14.5px; color: var(--muted); max-width: 68ch; margin-bottom: 10px; }
.rich strong { color: var(--ink); font-weight: 600; }
.rich .btn { margin-top: 8px; }

/* ---- Contact ---- */
.contact-phone { margin-top: 18px; }
.contact-phone a {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 500;
  color: var(--forest);
}
.contact-phone a:hover { color: var(--forest-dark); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td {
  border-top: 1px solid var(--line);
  text-align: left;
  padding: 8px 0;
  font-size: 13.5px;
}
.hours-table tr:first-child th, .hours-table tr:first-child td { border-top: 0; }
.hours-table th { font-weight: 500; color: var(--ink); }
.hours-table td { color: var(--muted); }

/* ---- FAQ (contact view) ---- */
.faq { margin-top: 48px; }
.faq h2 { font-size: 24px; margin-bottom: 8px; }
.faq__item { border-top: 1px solid var(--line); padding-block: 16px; }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item h3 { font-family: var(--font-serif); font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.faq__item p { font-size: 14px; color: var(--muted); max-width: 64ch; }
.faq__item a { color: var(--forest); font-weight: 500; }

.cta-band {
  margin-top: 48px;
  background: var(--forest);
  color: #fff;
  border-radius: 4px;
  padding: 48px;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  text-align: center;
}
.cta-band p {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.3;
  max-width: 30ch;
}

/* ---- Footer ---- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding-top: 48px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer__col h3 {
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.footer__blurb { color: var(--muted); font-size: 14px; max-width: 36ch; margin-block: 14px 14px; }
.footer__contact p { font-size: 13.5px; color: var(--muted); margin-bottom: 4px; }
.footer__contact a { color: var(--forest); font-weight: 500; }
.footer__contact a:hover { text-decoration: underline; }
.footer__links li { margin-bottom: 9px; }
.footer__links a { color: var(--muted); font-size: 14px; transition: color 200ms var(--ease); }
.footer__links a:hover { color: var(--forest); }
.footer__bottom { border-top: 1px solid var(--line); }
.footer__bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 16px;
  gap: 16px; flex-wrap: wrap;
}
.footer__bottom-inner p { color: var(--muted); font-size: 13px; }
.footer__pay { display: flex; gap: 8px; }
.paychip {
  font-size: 11px; font-weight: 600;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 3px 8px;
  color: var(--muted);
}

/* ---- Lightbox triggers (every photo except the hero cut-outs) ---- */
.lightbox-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  text-align: left;
}
.strip .lightbox-btn, .cat-grid .lightbox-btn { height: 100%; }
.info-card__tile .lightbox-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}

/* ---- Lightbox overlay ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(14, 16, 15, 0.95);
  display: flex; align-items: center; justify-content: center;
  padding: 48px 72px;
}
.lightbox[hidden] { display: none; }
.lightbox__figure {
  margin: 0;
  max-width: min(1100px, 100%);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  opacity: 0;
  transition: opacity 250ms ease-out;
}
.lightbox__img.is-loaded { opacity: 1; }
.lightbox__caption { color: rgba(255, 255, 255, 0.75); font-size: 13px; text-align: center; }
.lightbox__count { opacity: 0.7; margin-left: 12px; }
.lightbox__close, .lightbox__nav {
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color 200ms var(--ease);
}
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; }
.lightbox__close:hover { color: var(--mint); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; }
.lightbox__nav:hover { color: var(--mint); }
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }
.lightbox__nav[hidden] { display: none; }

/* ---- Mobile menu ---- */
.mobile-menu { position: fixed; inset: 0; z-index: 100; background: var(--bg); padding: 24px; overflow-y: auto; }
.mobile-menu__close { position: absolute; top: 20px; right: 20px; }
.mobile-menu ul { margin-top: 56px; }
.mobile-menu a {
  display: block; padding: 13px 0;
  font-family: var(--font-serif); font-size: 23px;
  border-bottom: 1px solid var(--line);
}

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease-out, transform 500ms ease-out; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* 900 to 1199px */
@media (max-width: 1199px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .hero__grid { gap: 32px; }
  .hero__text h1 { font-size: 44px; }
  .services-preview { grid-template-columns: 1fr; }
  .services-preview__lists { grid-template-columns: repeat(3, 1fr); }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .visit__grid { grid-template-columns: repeat(2, 1fr); }
}

/* 600 to 899px */
@media (max-width: 899px) {
  :root { --section-gap: var(--section-gap-mobile); }
  .hero { padding-block: 40px 48px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { min-height: 460px; }
  .splitband__grid { grid-template-columns: 1fr; gap: 24px; }
  .services-preview__lists { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .visit__grid { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .feature, .feature--flip { grid-template-columns: 1fr; gap: 20px; }
  .feature--flip .feature__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .page-head h1 { font-size: 32px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Below 600px */
@media (max-width: 599px) {
  .nav-toggle { display: inline-flex; }
  .navbar { display: none; }
  /* Header lockup must fit a 320px screen: logo+name shrink, directions
     button hidden (Visit + Contact keep the maps link) */
  .brand { gap: 10px; }
  .brand__logo { height: 36px; }
  .wordmark { font-size: 17px; }
  .icon-btn--maps { display: none; }
  .header__actions { gap: 6px; }
  .announce p { font-size: 11.5px; }
  .hero__text h1 { font-size: 32px; }
  .hero__media { min-height: 360px; }
  .hero__cut--2 { height: 84%; } /* necklace mark stays inside narrow screens */
  .strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .contact-phone a { font-size: 27px; }
  .cta-band { padding: 32px 20px; }
  .cta-band p { font-size: 21px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
  .offer-block { padding: 22px; }
  .lightbox { padding: 40px 48px; }
  .lightbox__nav { width: 44px; height: 44px; }
}

/* Tiny phones (280-359px, Galaxy Fold class): mark-only lockup */
@media (max-width: 359px) {
  .wordmark { display: none; }
  .brand__logo { height: 34px; }
  .lightbox { padding: 40px 20px; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
