/* ============================================================
   PERSIS FINE JEWELS
   Palette: navy blue & white · clean luxury editorial
   ============================================================ */

:root {
  --navy: #16233f;
  --navy-2: #0f1a30;
  --blue: #2f5c9e;
  --blue-soft: #6f8fbf;
  --white: #ffffff;
  --mist: #f3f6fb;      /* very light blue-grey */
  --mist-2: #e8eef6;
  --line: #dbe3ee;
  --ink: #1b2740;
  --text: #414d63;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 17.5px; }
body {
  font-family: var(--sans); color: var(--text); background: var(--white);
  font-weight: 400; font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); letter-spacing: 0.01em; }

.eyebrow { font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.eyebrow--light { color: #cfe0f5; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.22em;
  text-transform: uppercase; font-weight: 400; padding: 16px 44px; text-decoration: none;
  cursor: pointer; border: 1px solid; background: transparent; transition: all 0.4s var(--ease);
}
.btn--full { width: 100%; }
.btn--light { color: #fff; border-color: rgba(255,255,255,0.75); }
.btn--light:hover { background: #fff; color: var(--navy); }
.btn--dark { color: #fff; background: var(--navy); border-color: var(--navy); }
.btn--dark:hover { background: var(--blue); border-color: var(--blue); }
.link-underline {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--navy);
  text-decoration: none; border-bottom: 1px solid var(--blue); padding-bottom: 4px; transition: all 0.3s var(--ease);
}
.link-underline:hover { color: var(--blue); letter-spacing: 0.26em; }

/* ============================================================
   HEADER
   ============================================================ */
.header { position: sticky; top: 0; z-index: 100; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,0.1); }
.utility { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 10px 40px 7px; max-width: 1600px; margin: 0 auto; }
.utility__side { display: flex; gap: 10px; align-items: center; }
.utility__side--right { justify-content: flex-end; }
.icon-btn {
  width: 44px; height: 44px; flex: 0 0 44px; padding: 0; display: inline-grid; place-items: center;
  appearance: none; border: 1px solid rgba(255,255,255,.22); border-radius: 50%;
  background: rgba(255,255,255,.055); color: rgba(255,255,255,.9); cursor: pointer; line-height: 0;
  transition: color .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.icon-btn:hover { color: #fff; background: rgba(111,143,191,.28); border-color: rgba(255,255,255,.62); transform: translateY(-1px); }
.icon-btn:active { transform: translateY(0); background: rgba(111,143,191,.4); }
.icon-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.icon-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.utility__side--left .icon-btn + .icon-btn { background: rgba(255,255,255,.1); }
.utility__link { font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.85); text-decoration: none; transition: color 0.3s var(--ease); }
.utility__link:hover { color: #fff; }

.logo { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; color: #fff; }
.logo__full { height: 66px; width: auto; object-fit: contain; }
.logo__full + .logo__fallback { display: none; }   /* hide text when real logo loads */
.logo__fallback { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.logo__mark { width: 34px; height: 40px; object-fit: contain; margin-bottom: 1px; }
.logo__name { font-family: var(--serif); font-size: 21px; letter-spacing: 0.44em; font-weight: 600; padding-left: 0.44em; color: #fff; line-height: 1; }
.logo__tag { font-size: 8px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--blue-soft); }

.mainnav { display: flex; justify-content: center; gap: 34px; padding: 9px 20px 15px; border-top: 1px solid rgba(255,255,255,0.1); position: relative; }
.mainnav a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 0; position: relative; transition: color 0.3s var(--ease); }
.mainnav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--blue-soft); transition: width 0.35s var(--ease); }
.mainnav a:hover { color: #fff; }
.mainnav a:hover::after { width: 100%; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { width: 22px; height: 1.5px; background: #fff; transition: 0.3s var(--ease); }

/* Keep the sticky header at one stable height to prevent scroll layout shift. */
.header.is-scrolled { box-shadow: 0 4px 20px rgba(15,20,40,0.25); }
.utility,.mainnav { transition:none; }

.mobile-menu { position: fixed; inset: 0; background: var(--navy); z-index: 99; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 26px; transform: translateY(-100%); transition: transform 0.5s var(--ease); }
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a { color: #fff; text-decoration: none; font-family: var(--serif); font-size: 26px; letter-spacing: 0.04em; }
.mobile-menu a:hover { color: var(--blue-soft); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; height: 84vh; min-height: 560px; max-height: 860px; overflow: hidden; background: var(--navy); }
.hero__media,.banner__media { position:absolute; inset:0; overflow:hidden; --focus-x:50%; --focus-y:50%; --media-zoom:1; }
.hero__media img,.hero__media video,.banner__media img,.banner__media video { width:100%; height:100%; display:block; object-fit:cover; object-position:var(--focus-x) var(--focus-y); transform:scale(var(--media-zoom)); transform-origin:var(--focus-x) var(--focus-y); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,20,40,0.6), rgba(15,20,40,0.15) 48%, transparent 72%); }
.hero__caption { position: absolute; left: 6.5vw; top: 50%; transform: translateY(-50%); z-index: 2; max-width: 500px; color: #fff; }
.hero__caption h1 { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1.06; color: #fff; margin-bottom: 20px; text-shadow: 0 2px 30px rgba(0,0,0,0.35); }
.hero__caption h1 { white-space:pre-line; }
.hero__caption p { font-size: 1rem; color: rgba(255,255,255,0.9); margin-bottom: 28px; max-width: 380px; }

/* ============================================================
   INTRO
   ============================================================ */
.intro { text-align: center; padding: 100px 24px 86px; max-width: 760px; margin: 0 auto; }
.intro__mark { display: block; width: 46px; margin: 0 auto 24px; }
.intro__mark img { width: 100%; height: 56px; object-fit: contain; opacity: 0.9; }
.intro h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 22px; }
.intro p { font-size: 1.08rem; max-width: 600px; margin: 0 auto; }

/* ============================================================
   COLLECTION
   ============================================================ */
.collection { padding: 20px clamp(20px, 5vw, 64px) 110px; }
.collection__head { text-align: center; margin-bottom: 34px; }
.collection__head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 56px; max-width: 900px; }
.filter {
  font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy); background: transparent; border: 1px solid var(--line); padding: 12px 24px;
  cursor: pointer; transition: all 0.3s var(--ease);
}
.filter:hover { border-color: var(--blue); color: var(--blue); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px 30px; max-width: 1360px; margin: 0 auto; }
.product { min-width:0; padding:12px 12px 20px; border:1px solid var(--line); background:#fff; text-decoration:none; display:block; text-align:center; color:var(--ink); cursor:pointer; transition:border-color .22s var(--ease),box-shadow .22s var(--ease),transform .22s var(--ease); }
.product.is-hidden { display: none; }
.product:hover { border-color:#aebbd0; box-shadow:0 12px 30px rgba(19,32,58,.09); transform:translateY(-3px); }
.product:focus-visible { outline:2px solid var(--blue); outline-offset:3px; }
.product__img { overflow: hidden; aspect-ratio: 4/5; margin-bottom: 16px; background: var(--mist); border: 0; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.product:hover .product__img img { transform: scale(1.06); }
.product__cat { font-family: var(--sans); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--blue); margin-bottom: 9px; }
.product h3 { padding:0 6px; font-size:clamp(1.02rem,1.35vw,1.22rem); line-height:1.3; margin-bottom:7px; overflow-wrap:break-word; transition:color .3s var(--ease); }
.product:hover h3 { color: var(--blue); }
.product__meta { padding:0 6px; font-size:.88rem; line-height:1.5; color:var(--text); }
.collection__note { text-align: center; margin-top: 64px; font-size: 1.05rem; color: var(--text); }
.collection__note a { color: var(--blue); }

/* ============================================================
   BANNER
   ============================================================ */
.banner { position: relative; height: 68vh; min-height: 440px; max-height: 680px; overflow: hidden; background: var(--navy); }
.banner__media video { background:var(--navy); }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,20,40,0.62), rgba(15,20,40,0.2) 48%, transparent 74%); }
.banner__caption { position: absolute; left: 6.5vw; top: 50%; transform: translateY(-50%); z-index: 2; max-width: 460px; color: #fff; }
.banner__caption h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); color: #fff; line-height: 1.1; margin-bottom: 16px; text-shadow: 0 2px 24px rgba(0,0,0,0.4); }
.banner__caption p { color: rgba(255,255,255,0.9); margin-bottom: 26px; max-width: 360px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { display: grid; grid-template-columns: 38% 62%; align-items: stretch; background: var(--mist); }
.about__img { overflow: hidden; min-height: 560px; margin: 0; background: #242424; --focus-x:50%; --focus-y:28%; --media-zoom:1; }
.about__img img { width: 100%; height: 100%; object-fit: cover; object-position:var(--focus-x) var(--focus-y); transform:scale(var(--media-zoom)); transform-origin:var(--focus-x) var(--focus-y); }
.about__text { display: flex; flex-direction: column; justify-content: center; padding: 70px clamp(30px, 6vw, 100px); }
.about__text h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-bottom: 22px; }
.about__text p { font-size: 1.02rem; margin-bottom: 20px; max-width: 460px; }
.about__text .link-underline { margin-top: 12px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: 110px 24px; background: var(--white); }
.contact__inner { max-width: 560px; margin: 0 auto; text-align: center; }
.contact h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 16px; }
.contact__sub { color: var(--text); margin-bottom: 44px; }
.contact-form { text-align: left; }
.field { position: relative; margin-bottom: 28px; }
.field input, .field textarea {
  width: 100%; background: var(--mist); border: 1px solid var(--line); border-radius: 0;
  padding: 16px 16px 14px; font-family: var(--sans); font-size: 16px; color: var(--ink); outline: none;
  transition: border-color 0.3s var(--ease); resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--blue); background: #fff; }
.field label { position: absolute; left: 14px; top: 15px; color: #9aa4b4; font-size: 15px; pointer-events: none; transition: all 0.25s var(--ease); background: transparent; padding: 0 4px; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: -9px; left: 10px; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); background: var(--white); }
.form-note { margin-top: 20px; color: var(--blue); font-size: 13px; text-align: center; }
.contact-captcha { margin-bottom:28px; text-align:left; }
.contact-captcha__image { height:80px; overflow:hidden; border:1px solid var(--line); background:var(--mist); }
.contact-captcha__image svg { display:block; width:100%; height:100%; }
.captcha-status { height:100%; display:grid; place-items:center; padding:10px; color:var(--text); font-size:13px; text-align:center; }
.captcha-status--error { color:#a52a2a; }
.contact-captcha__refresh { display:block; margin:5px 0 10px auto; border:0; background:none; color:var(--blue); font:12px var(--sans); cursor:pointer; }
.contact-captcha label { display:block; margin-bottom:7px; color:var(--ink); font-size:12px; letter-spacing:.08em; text-transform:uppercase; }
.contact-captcha input { width:100%; min-height:48px; padding:12px 14px; border:1px solid var(--line); background:var(--mist); color:var(--ink); font:16px var(--sans); }
.contact__alt { margin-top: 30px; font-size: 0.92rem; color: var(--text); }
.contact__alt a { color: var(--blue); text-decoration: none; }
.contact__alt a:hover { text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: rgba(255,255,255,0.72); padding: 70px 40px 30px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 46px; max-width: 1400px; margin: 0 auto 46px; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer__logo-full { height: 96px; width: auto; object-fit: contain; margin-bottom: 16px; margin-left: -6px; }
.footer__logo-full + .footer__fallback { display: none; }   /* hide text when real logo loads */
.footer__logo-full { display: block; }
.footer__logo-full + .footer__fallback { display: none; }
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-search{position:fixed;inset:0;z-index:1000;padding:7vh 20px;background:rgba(7,15,31,.84);backdrop-filter:blur(8px)}
.site-search[hidden]{display:none}.site-search__dialog{position:relative;width:min(760px,100%);max-height:86vh;overflow:auto;margin:auto;padding:54px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.3)}
.site-search__dialog h2{margin:0 0 26px;color:var(--navy);font:500 clamp(2rem,5vw,3.4rem) var(--serif)}.site-search__close{position:absolute;top:18px;right:20px;width:42px;height:42px;border:0;background:transparent;color:var(--navy);font-size:30px;cursor:pointer}
.site-search__field{display:flex;align-items:center;border-bottom:1px solid var(--navy)}.site-search__field input{width:100%;padding:16px 4px;border:0;outline:0;color:var(--navy);font:18px var(--sans)}.site-search__field svg{width:24px;fill:none;stroke:currentColor;stroke-width:1.6}
.site-search__results{display:grid;margin-top:18px}.site-search__results>a{display:grid;grid-template-columns:76px 1fr;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid #dce3ed;color:var(--navy);text-decoration:none}.site-search__results img{width:76px;height:76px;object-fit:cover}.site-search__results strong,.site-search__results small{display:block}.site-search__results small{margin-top:3px;color:#68738a}
.footer__fallback { display: flex; flex-direction: column; }
.footer__logo { width: 40px; height: 46px; object-fit: contain; margin-bottom: 14px; }
.footer__name { font-family: var(--serif); font-size: 22px; letter-spacing: 0.4em; color: #fff; padding-left: 0.4em; line-height: 1; }
.footer__tag { font-size: 8px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 16px; }
.footer__brand p { font-size: 0.88rem; max-width: 240px; }
.footer__col h4 { font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; margin-bottom: 20px; font-weight: 400; }
.footer__col a { display: block; color: rgba(255,255,255,0.78); text-decoration: none; font-size: 14px; letter-spacing: 0.04em; margin-bottom: 14px; transition: color 0.3s var(--ease); cursor: pointer; }
.footer__col a:hover { color: #fff; }
.footer__col > p { font-size: 0.98rem; margin-bottom: 16px; }
.footer__col a.footer__ig { display: inline-flex; align-items: center; gap: 10px; width: fit-content; }
.footer__ig svg { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.footer__bar { max-width: 1400px; margin: 0 auto; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.14); display:flex; align-items:center; justify-content:space-between; gap:20px; font-size: 11px; letter-spacing: 0.12em; color: rgba(255,255,255,0.5); }
.footer__bar p { margin:0; }
.footer__credit a { color:rgba(255,255,255,.78); text-decoration:none; transition:color .25s var(--ease); }
.footer__credit a:hover,.footer__credit a:focus-visible { color:#fff; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   INNER PAGES
   ============================================================ */
.page-hero { position: relative; min-height: 440px; display: grid; place-items: center; overflow: hidden; background: var(--navy); text-align: center; }
.page-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.page-hero--house .page-hero__image { object-position: center 22%; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(15,26,48,.2), rgba(15,26,48,.72)); }
.page-hero__content { position: relative; z-index: 1; color: #fff; padding: 90px 24px 70px; max-width: 760px; }
.page-hero h1 { color: #fff; font-size: clamp(2.8rem, 6vw, 4.8rem); line-height: 1.05; margin-bottom: 18px; }
.page-hero p:not(.eyebrow) { color: rgba(255,255,255,.9); max-width: 600px; margin: auto; }
.breadcrumbs { margin-bottom: 22px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.breadcrumbs a { color: rgba(255,255,255,.75); text-decoration: none; }
.breadcrumbs span { margin: 0 10px; opacity: .5; }
.story { max-width: 1180px; margin: auto; padding: 110px 30px; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 130px); align-items: start; }
.story h2, .section-title h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); line-height: 1.12; }
.story__copy p { margin-bottom: 22px; }
.quote { margin-top: 36px; padding: 26px 0 26px 28px; border-left: 1px solid var(--blue); font-family: var(--serif); font-size: 1.55rem; color: var(--ink); line-height: 1.4; }
.values, .services-page, .care-page { background: var(--mist); padding: 100px 30px; }
.section-title { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-title p:last-child { margin-top: 16px; }
.card-grid { max-width: 1180px; margin: auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.info-card { background: #fff; border: 1px solid var(--line); padding: 42px 34px; }
.info-card__number { display: block; color: var(--blue); font-family: var(--serif); font-size: 1.15rem; margin-bottom: 30px; }
.info-card h2, .info-card h3 { font-size: 1.7rem; margin-bottom: 14px; }
.info-card p { font-size: .96rem; }
.page-cta { text-align: center; padding: 90px 24px; background: var(--navy); color: rgba(255,255,255,.82); }
.page-cta h2 { color: #fff; font-size: clamp(2rem,4vw,3rem); margin-bottom: 14px; }
.page-cta p { margin: 0 auto 28px; max-width: 580px; }
.contact-page { padding: 100px 30px; }
.contact-layout { max-width: 1100px; margin: auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px,8vw,110px); }
.contact-details h2 { font-size: 2.4rem; margin-bottom: 20px; }
.contact-details > p { margin-bottom: 34px; }
.contact-item { padding: 22px 0; border-top: 1px solid var(--line); }
.contact-item strong { display:block; color:var(--ink); font-family:var(--serif); font-size:1.25rem; font-weight:400; }
.contact-item a { color: var(--blue); text-decoration: none; }
.care-list { max-width: 900px; margin: auto; }
.care-row { display: grid; grid-template-columns: 80px 1fr; gap: 25px; padding: 34px 0; border-top: 1px solid var(--line); }
.care-row:last-child { border-bottom: 1px solid var(--line); }
.care-row__num { font-family: var(--serif); font-size: 1.35rem; color: var(--blue); }
.care-row h2 { font-size: 1.65rem; margin-bottom: 8px; }
.mainnav a[aria-current="page"] { color:#fff; }
.mainnav a[aria-current="page"]::after { width:100%; }

/* ---------- Product gallery ---------- */
.gallery-intro { padding: 100px 24px 70px; text-align: center; background: var(--mist); }
.gallery-intro.page-hero { width:100%; min-height:400px; height:min(48vh,500px); padding:0; background:var(--navy); }
.gallery-intro.page-hero .page-hero__content { width:min(760px,100%); padding:56px 24px 48px; }
.gallery-intro.page-hero h1 { font-size:clamp(2.5rem,5vw,4.25rem); }
.gallery-intro h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); line-height: 1.05; margin-bottom: 20px; }
.gallery-intro > p:last-child { max-width: 560px; margin: auto; }
.breadcrumbs--dark a { color: var(--blue); }
.gallery-page { padding-top: 55px; }
.gallery-page .product { cursor:pointer; }
.product__img { position: relative; }
.product__media-badge { position: absolute; left: 10px; bottom: 10px; padding: 6px 9px; background: rgba(15,26,48,.86); color: #fff; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.product__sold-badge { position:absolute; top:10px; right:10px; z-index:2; padding:7px 11px; border:1px solid rgba(255,255,255,.55); background:rgba(15,26,48,.92); color:#fff; font:500 10px var(--sans); letter-spacing:.18em; text-transform:uppercase; }
.product--sold .product__img img { filter:grayscale(.22); }
.product--sold:hover .product__img img { transform:none; }
.filter--sold { border-color:#7d8798; }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 28px; background: rgba(8,14,27,.88); }
.lightbox[hidden] { display: none; }
.lightbox__panel { position: relative; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(320px,.8fr); width: min(1080px,100%); height: min(780px,calc(100dvh - 56px)); overflow: hidden; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.lightbox__visual { position: relative; min-height: 0; min-width: 0; overflow: hidden; background: var(--mist); }
.lightbox__visual > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.lightbox__visual > img[hidden] { display: none; }
.lightbox__media { display: grid; grid-template-rows: minmax(0,1fr) auto; min-width: 0; min-height: 0; overflow: hidden; background: var(--mist); }
.lightbox__thumbs { display: flex; gap: 10px; padding: 12px; overflow-x: auto; background: #fff; border-top: 1px solid var(--line); }
.media-thumb { flex: 0 0 68px; width: 68px; height: 68px; padding: 0; border: 1px solid var(--line); background: var(--mist); cursor: pointer; overflow: hidden; }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; }
.media-thumb.is-active { border: 2px solid var(--navy); }
.media-thumb--video { display: grid; place-items: center; color: #fff; background: var(--navy); font: 500 10px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.media-thumb--video span:first-child { font-size: 22px; line-height: 1; }
.demo-video { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; background: #080d18; }
.demo-video[hidden] { display: none; }
.demo-video__frame { width: 100%; height: 100%; overflow: hidden; }
.demo-video__frame img { width: 100%; height: 100%; object-fit: cover; animation: demoKenBurns 3s ease-in-out both; }
.product-video { width:100%; height:100%; object-fit:contain; background:#080d18; }
.product-video[hidden] { display:none; }
.demo-video__toggle { position: absolute; left: 18px; bottom: 18px; min-width: 74px; min-height: 44px; border: 1px solid rgba(255,255,255,.7); background: rgba(15,26,48,.85); color: #fff; cursor: pointer; }
.demo-video__label { position: absolute; right: 18px; bottom: 27px; color: rgba(255,255,255,.85); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
@keyframes demoKenBurns { from { opacity: .35; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
.lightbox__details { display: flex; min-height: 0; flex-direction: column; justify-content: center; overflow: hidden; padding: clamp(30px,4vw,60px); }
.lightbox__details h2 { font-size: clamp(2rem,3.5vw,3rem); line-height: 1.1; margin-bottom: 14px; }
.lightbox__details > p { margin-bottom: 24px; }
.lightbox__meta { color: var(--blue); }
.lightbox__description { max-width:36rem; white-space:pre-line; line-height:1.75; color:var(--ink); }
.product-page { padding-top:0; background:#fff; }
.product-breadcrumb { display:flex; align-items:center; gap:10px; width:min(1460px,calc(100% - 64px)); margin:0 auto; padding:18px 0; color:#778196; font-size:11px; letter-spacing:.1em; text-transform:uppercase; }
.product-breadcrumb a { color:var(--navy); text-decoration:none; }
.product-detail { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr); width:min(1460px,calc(100% - 64px)); min-height:680px; margin:0 auto 88px; border:1px solid var(--line); }
.product-detail[hidden] { display:none; }
.product-detail__gallery { display:grid; grid-template-rows:minmax(0,1fr) auto; min-width:0; padding:24px; background:#f5f6f8; }
.product-detail__main { display:grid; place-items:center; min-height:560px; overflow:hidden; background:#fff; }
.product-detail__main img,.product-detail__main video { display:block; width:100%; height:100%; max-height:680px; object-fit:contain; }
.product-detail__thumbs { display:flex; gap:10px; overflow-x:auto; padding-top:16px; }
.product-detail__thumb { flex:0 0 78px; width:78px; height:78px; display:grid; place-items:center; overflow:hidden; border:1px solid #ccd5e1; background:#fff; color:var(--navy); cursor:pointer; }
.product-detail__thumb.is-active { border:2px solid var(--navy); }
.product-detail__thumb img { width:100%; height:100%; object-fit:cover; }
.product-detail__thumb span { font-size:20px; }
.product-detail__thumb small { font:500 10px var(--sans); letter-spacing:.08em; text-transform:uppercase; }
.product-detail__content { align-self:center; padding:clamp(32px,4vw,64px); }
.product-detail__content h1 { max-width:20ch; margin:12px 0 18px; overflow-wrap:break-word; word-break:normal; color:var(--navy); font:400 clamp(2rem,2.6vw,3.15rem)/1.06 var(--serif); }
.product-detail__category { text-transform:uppercase; }
.product-detail__meta { color:var(--blue); font-size:18px; }
.product-detail__description { margin:28px 0; white-space:pre-line; color:var(--ink); line-height:1.8; }
.product-detail__availability { margin:30px 0; line-height:1.75; }
.product-detail__content .btn { display:inline-flex; margin:0 0 28px; }
.product-detail__content .link-underline { display:block; width:max-content; }
.product-detail.is-sold { border-color:#aeb7c6; }
.product-detail.is-sold .product-detail__category { color:#6d7788; }
.product-detail__error { width:min(720px,calc(100% - 48px)); margin:80px auto 140px; padding:70px; border:1px solid var(--line); text-align:center; }
@media(max-width:900px){.product-page{padding-top:0}.product-detail{grid-template-columns:1fr;width:min(100% - 32px,720px)}.product-detail__main{min-height:420px}.product-detail__content{padding:38px 28px}.product-breadcrumb{width:calc(100% - 32px)}}
@media(max-width:520px){.product-detail__gallery{padding:12px}.product-detail__main{min-height:340px}.product-detail__thumb{flex-basis:64px;width:64px;height:64px}.product-detail__content h1{font-size:2rem}.product h3{font-size:1rem}.product{padding:8px 8px 16px}.product-detail__error{padding:42px 24px}}
@media(prefers-reduced-motion:reduce){.product{transition:none}.product:hover{transform:none}}
.lightbox__actions { display: flex; flex-direction: column; align-items: stretch; gap: 22px; text-align: center; }
.lightbox__actions .btn { width: 100%; padding-left: 20px; padding-right: 20px; }
.lightbox__actions .link-underline { align-self: center; }
.lightbox__close { position: fixed; z-index: 1001; top: 18px; right: 22px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: var(--navy); color: #fff; font: 300 30px/1 var(--sans); cursor: pointer; }
.lightbox__close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .utility { padding: 10px 20px 6px; }
  .mainnav { display: none; }
  .nav-toggle { display: flex; }
  .logo__name { font-size: 19px; letter-spacing: 0.36em; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .about { grid-template-columns: 1fr; }
  .about__img { min-height: 440px; height: 440px; margin: 0; background: #242424; }
  .about__img img { height: 100%; object-fit: cover; object-position: center 28%; }
  .about__text { padding: 60px 30px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .story, .contact-layout { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: 390px; }
  .lightbox__panel { grid-template-columns: 1fr; grid-template-rows: minmax(0,1.2fr) minmax(230px,.8fr); height: calc(100dvh - 56px); }
  .lightbox__visual { min-height: 0; height: min(54vh,520px); }
  .demo-video, .demo-video__frame { min-height: 0; height: 100%; }
  .lightbox__details { padding: 24px 28px; }
  .lightbox__details { padding: 36px 28px; }
  .hero__caption, .banner__caption { left: 30px; right: 30px; }
}
@media (max-width: 520px) {
  .products { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .filters { gap: 6px; }
  .filter { padding: 9px 15px; letter-spacing: 0.1em; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bar { flex-direction:column; text-align:center; gap:10px; }
  .utility__link { display: none; }
  .utility__side { gap: 6px; }
  .icon-btn { width: 40px; height: 40px; flex-basis: 40px; }
  .icon-btn svg { width: 19px; height: 19px; }
  .story, .values, .services-page, .care-page, .contact-page { padding: 70px 20px; }
  .care-row { grid-template-columns: 48px 1fr; gap: 12px; }
  .gallery-intro { padding: 70px 20px 50px; }
  .gallery-intro.page-hero { min-height:330px; height:42vh; padding:0; }
  .gallery-intro.page-hero .page-hero__content { padding:42px 20px 34px; }
  .lightbox { padding: 58px 12px 12px; align-items: start; }
  .lightbox__panel { height: calc(100dvh - 70px); grid-template-rows: minmax(0,1fr) auto; }
  .lightbox__visual { height: auto; }
  .lightbox__details { padding: 18px 20px; }
  .lightbox__details > p:not(.eyebrow):not(.lightbox__meta):not(.lightbox__description) { display: none; }
  .lightbox__details h2 { font-size: 1.7rem; margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
