:root {
  --navy: #1D3E8A;
  --navy-deep: #10265b;
  --teal: #43C7D9;
  --coral: #FF6F61;
  --yellow: #FFD84D;
  --white: #FFFFFF;
  --ink: #13213f;
  --muted: #60708c;
  --line: #dce5ee;
  --soft: #f5f9fc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Poppins, "Avenir Next", "Segoe UI", sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
[hidden] { display: none !important; }
svg { width: 1.1rem; height: 1.1rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.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-header { max-width: 1240px; margin: auto; min-height: 92px; padding: 18px 32px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { color: var(--navy); font-size: 29px; font-weight: 900; letter-spacing: -2px; line-height: 1; }
.brand-mark span { color: var(--teal); }
.brand-copy { display: grid; border-left: 1px solid var(--line); padding-left: 12px; line-height: 1.05; }
.brand-copy strong { text-transform: uppercase; font-size: 13px; letter-spacing: 2px; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 11px; letter-spacing: .35px; }
.header-link { display: inline-flex; align-items: center; gap: 7px; color: var(--navy); font-size: 13px; font-weight: 750; border-bottom: 1px solid var(--teal); padding: 6px 0; }

.hero { max-width: 1240px; min-height: 560px; margin: 0 auto; padding: 52px 32px 76px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 64px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 165px; height: 10px; background: var(--yellow); left: 32px; bottom: 28px; border-radius: 10px; }
.hero::after { content: ""; position: absolute; width: 52px; height: 10px; background: var(--coral); left: 207px; bottom: 28px; border-radius: 10px; }
.eyebrow { color: var(--navy); text-transform: uppercase; font-size: 12px; font-weight: 850; letter-spacing: 1.75px; display: inline-flex; align-items: center; gap: 9px; }
.eyebrow i { display: block; width: 22px; height: 4px; background: var(--teal); border-radius: 4px; }
.hero h1 { margin: 18px 0 20px; max-width: 730px; font-size: clamp(42px, 5vw, 72px); line-height: 1.03; letter-spacing: -3.5px; color: var(--navy-deep); }
.hero h1 span { color: var(--navy); }
.hero-copy > p { max-width: 620px; color: var(--muted); font-size: 18px; line-height: 1.75; margin: 0 0 30px; }
.primary-button, .secondary-button { min-height: 50px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 9px; font-weight: 800; font-size: 14px; }
.primary-button { background: var(--navy); color: white; border: 2px solid var(--navy); }
.primary-button:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.secondary-button { border: 2px solid var(--navy); color: var(--navy); background: white; }
.secondary-button.disabled { color: #7c8798; border-color: var(--line); cursor: not-allowed; }

.hero-showcase { min-height: 405px; position: relative; }
.showcase-card { position: absolute; width: 278px; height: 352px; border-radius: 22px; border: 1px solid rgba(16,38,91,.12); padding: 28px; display: flex; flex-direction: column; box-shadow: 0 18px 45px rgba(18,42,89,.1); }
.showcase-card > span { font-size: 11px; font-weight: 900; letter-spacing: 2px; }
.showcase-card > strong { font-size: 23px; line-height: 1.2; margin-top: 14px; }
.showcase-card > b { margin-top: auto; font-size: 52px; letter-spacing: -3px; }
.card-back { right: 0; top: 0; background: var(--yellow); color: var(--navy-deep); transform: rotate(7deg); }
.card-middle { right: 92px; top: 22px; background: var(--teal); color: var(--navy-deep); transform: rotate(-4deg); }
.card-front { right: 186px; top: 46px; background: var(--navy); color: white; transform: rotate(-10deg); }
.card-front::after, .card-middle::after, .card-back::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 94px; height: 6px; border-radius: 4px; background: currentColor; opacity: .22; box-shadow: 0 15px currentColor, 0 30px currentColor; }

.shop { background: var(--soft); padding: 82px max(32px, calc((100vw - 1176px)/2)) 96px; border-top: 1px solid #e7eef5; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading h2 { margin: 12px 0 0; font-size: clamp(31px, 4vw, 46px); letter-spacing: -2px; color: var(--navy-deep); }
.section-heading > p { color: var(--muted); font-size: 13px; }
.catalog-tools { margin: 34px 0 30px; }
.search-box { height: 56px; max-width: 560px; display: flex; align-items: center; gap: 12px; background: white; border: 1px solid var(--line); border-radius: 11px; padding: 0 16px; }
.search-box:focus-within { border-color: var(--teal); outline: 3px solid rgba(67,199,217,.16); }
.search-box svg { color: var(--navy); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 14px; }
.search-box input::placeholder { color: #8b98ac; }
.search-box button { border: 0; background: transparent; padding: 6px; display: grid; place-items: center; cursor: pointer; }
.category-tabs { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 18px; }
.category-tabs button { border: 1px solid var(--line); background: white; padding: 9px 14px; border-radius: 999px; font-size: 12px; font-weight: 750; cursor: pointer; }
.category-tabs button:hover, .category-tabs button.active { color: white; background: var(--navy); border-color: var(--navy); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: white; transition: transform .2s ease, border-color .2s ease; }
.product-card:hover { transform: translateY(-4px); border-color: #bdccd9; }
.product-art { width: 100%; aspect-ratio: 1; border: 0; text-align: left; padding: 25px; display: flex; flex-direction: column; cursor: pointer; position: relative; overflow: hidden; }
.product-art.has-image { padding: 0; background: white; }
.product-art.has-image::after { display: none; }
.product-art.has-image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; -webkit-user-drag: none; user-select: none; }
.watermark-layer { position: absolute; inset: 0; z-index: 1; pointer-events: none; user-select: none; }
.watermark-overlay { position: absolute; pointer-events: none; user-select: none; overflow: hidden; }
.watermark-overlay.grid.zone-content { inset: 19% 5% 13%; }
.watermark-overlay.grid.zone-lower { inset: 31% 7% 12%; }
.watermark-overlay.grid span { position: absolute; color: rgba(29,62,138,.1); font-size: clamp(9px, 1.1vw, 14px); font-weight: 800; letter-spacing: .9px; line-height: 1; white-space: nowrap; transform: rotate(-25deg); }
.watermark-overlay.grid span:nth-child(1) { left: 7%; top: 9%; }
.watermark-overlay.grid span:nth-child(2) { right: 7%; top: 9%; }
.watermark-overlay.grid span:nth-child(3) { left: 4%; top: 46%; }
.watermark-overlay.grid span:nth-child(4) { right: 4%; top: 46%; }
.watermark-overlay.grid span:nth-child(5) { left: 11%; bottom: 9%; }
.watermark-overlay.grid span:nth-child(6) { right: 11%; bottom: 9%; }
.watermark-overlay.grid.marks-5 span:nth-child(5) { left: 50%; transform: translateX(-50%) rotate(-25deg); }
.product-art::after { content: ""; position: absolute; width: 180px; height: 180px; right: -55px; bottom: -72px; border: 24px solid currentColor; border-radius: 50%; opacity: .12; }
.product-art.navy, .modal-art.navy { background: var(--navy); color: white; }
.product-art.teal, .modal-art.teal { background: var(--teal); color: var(--navy-deep); }
.product-art.coral, .modal-art.coral { background: var(--coral); color: var(--navy-deep); }
.product-art.yellow, .modal-art.yellow { background: var(--yellow); color: var(--navy-deep); }
.art-kicker { font-size: 9px; font-weight: 900; letter-spacing: 1.8px; }
.product-art b { font-size: 55px; line-height: 1; margin: auto 0 14px; letter-spacing: -4px; }
.art-title { max-width: 78%; font-size: 19px; font-weight: 900; line-height: 1.1; }
.product-art em { position: absolute; top: 22px; right: 22px; font-size: 9px; font-style: normal; font-weight: 800; border: 1px solid currentColor; padding: 5px 7px; border-radius: 5px; opacity: .78; }
.product-info { padding: 22px; }
.product-info > span { color: var(--coral); font-size: 10px; font-weight: 900; letter-spacing: 1.3px; text-transform: uppercase; }
.product-info h3 { font-size: 19px; margin: 7px 0 9px; color: var(--navy-deep); letter-spacing: -.5px; }
.product-info p { min-height: 66px; margin: 0; color: var(--muted); line-height: 1.55; font-size: 13px; }
.text-button { margin-top: 18px; padding: 0; border: 0; background: transparent; color: var(--navy); display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 850; cursor: pointer; }
.text-button:hover { color: var(--coral); }
.empty-state { border: 1px dashed #bfcdd9; border-radius: 14px; background: white; padding: 60px 24px; text-align: center; }
.empty-state b { color: var(--navy-deep); font-size: 19px; }
.empty-state p { color: var(--muted); }
.empty-state button { border: 0; background: var(--navy); color: white; border-radius: 7px; padding: 10px 16px; font-weight: 750; cursor: pointer; }

footer { max-width: 1176px; margin: auto; padding: 42px 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px 30px; }
footer > div:first-child { display: flex; align-items: center; gap: 16px; }
.brand-mark.small { font-size: 24px; }
footer p { color: var(--muted); font-size: 12px; border-left: 1px solid var(--line); padding-left: 16px; }
footer > div:nth-child(2) { display: flex; gap: 22px; color: var(--navy); font-size: 12px; font-weight: 800; }
footer > small { grid-column: 1 / -1; color: #748196; font-size: 12px; line-height: 1.5; }

.modal-backdrop { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 22px; background: rgba(9,24,55,.72); }
.product-modal { width: min(940px, 100%); max-height: min(700px, 92vh); overflow: auto; display: grid; grid-template-columns: .82fr 1.18fr; background: white; border-radius: 18px; position: relative; box-shadow: 0 24px 70px rgba(0,0,0,.22); }
.modal-close { position: absolute; z-index: 2; top: 16px; right: 16px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: white; color: var(--navy); cursor: pointer; }
.modal-art { min-height: 570px; padding: 34px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.modal-art::before { content: ""; position: absolute; width: 260px; height: 260px; border: 34px solid currentColor; border-radius: 50%; right: -105px; bottom: -100px; opacity: .12; }
.modal-art > span { font-size: 10px; font-weight: 900; letter-spacing: 2px; }
.modal-art > b { font-size: 86px; letter-spacing: -7px; margin: auto 0 18px; line-height: 1; }
.modal-art > strong { max-width: 78%; font-size: 29px; line-height: 1.1; }
.modal-art > em { margin-top: 22px; width: fit-content; border: 1px solid currentColor; padding: 7px 9px; border-radius: 5px; font-size: 10px; font-weight: 800; font-style: normal; opacity: .8; }
.modal-copy { padding: 54px 46px 42px; }
.modal-copy .kicker { color: var(--coral); font-size: 11px; font-weight: 900; letter-spacing: 1.3px; text-transform: uppercase; margin: 22px 0 7px; }
.modal-copy h2 { margin: 0; color: var(--navy-deep); font-size: 38px; letter-spacing: -1.6px; line-height: 1.08; }
.modal-description { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 18px 0; }
.modal-copy ul { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.modal-copy li { font-size: 13px; font-weight: 650; display: flex; align-items: center; gap: 9px; }
.modal-copy li::before { content: "✓"; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: var(--navy-deep); font-size: 11px; font-weight: 900; }
.purchase-block { padding-top: 22px; border-top: 1px solid var(--line); }
.purchase-block > p { display: flex; justify-content: space-between; gap: 14px; margin: 0 0 14px; }
.purchase-block p strong { color: var(--navy-deep); font-size: 13px; }
.purchase-block p span { color: var(--muted); font-size: 10px; }
.purchase-actions { display: flex; gap: 10px; }
.purchase-actions > * { flex: 1; }

.product-modal.has-gallery { width: min(1160px, 100%); max-height: min(900px, 92dvh); grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.product-gallery { min-width: 0; padding: 60px 24px 24px; background: var(--soft); display: flex; flex-direction: column; gap: 12px; }
.gallery-stage { aspect-ratio: 1; width: 100%; position: relative; background: white; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.gallery-stage img { display: block; width: 100%; height: 100%; object-fit: contain; -webkit-user-drag: none; user-select: none; }
.gallery-controls { display: flex; align-items: center; gap: 10px; }
.gallery-controls p { flex: 1; margin: 0; text-align: center; color: var(--muted); font-size: 12px; line-height: 1.5; }
.gallery-arrow { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); background: white; cursor: pointer; }
.gallery-arrow.previous svg { transform: rotate(180deg); }
.gallery-arrow:hover { border-color: var(--navy); }
.gallery-thumbnails { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gallery-thumbnails.three-images { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-thumbnails button { min-width: 44px; min-height: 44px; aspect-ratio: 1; position: relative; padding: 3px; border: 2px solid var(--line); border-radius: 7px; overflow: hidden; background: white; cursor: pointer; }
.gallery-thumbnails button[aria-pressed="true"] { border-color: var(--navy); }
.gallery-thumbnails button img { position: absolute; inset: 3px; display: block; width: calc(100% - 6px); height: calc(100% - 6px); object-fit: contain; -webkit-user-drag: none; user-select: none; }
.preview-protection { align-self: center; margin: 0; color: #66758b; font-size: 12px; font-weight: 750; letter-spacing: .2px; }
.has-gallery .modal-copy { min-width: 0; padding: 66px 32px 32px; }
.has-gallery .purchase-block > p { display: grid; gap: 7px; }
.has-gallery .purchase-block p span { font-size: 12px; line-height: 1.5; }
.has-gallery .purchase-actions { flex-direction: column; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding-top: 36px; }
  .hero-showcase { width: min(560px, 100%); margin: auto; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  footer { padding-left: 32px; padding-right: 32px; }
}

@media (max-width: 680px) {
  .site-header { min-height: 76px; padding: 14px 20px; }
  .brand-copy small, .header-link { display: none; }
  .brand-copy { border: 0; padding: 0; }
  .hero { padding: 42px 20px 68px; min-height: auto; }
  .hero h1 { font-size: 43px; letter-spacing: -2.7px; }
  .hero-copy > p { font-size: 16px; }
  .hero-showcase { min-height: 330px; transform: scale(.82); transform-origin: left top; width: 122%; margin-bottom: -62px; }
  .showcase-card { width: 230px; height: 300px; }
  .card-front { left: 2px; right: auto; }
  .card-middle { left: 112px; right: auto; }
  .card-back { left: 210px; right: auto; }
  .shop { padding: 62px 20px 72px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 12px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-info p { min-height: 0; }
  .category-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; }
  .category-tabs button { white-space: nowrap; }
  footer { padding: 34px 20px; grid-template-columns: 1fr; }
  footer > div:first-child { align-items: flex-start; }
  footer p { margin: 0; }
  footer > small { grid-column: auto; }
  .modal-backdrop { padding: 10px; align-items: end; }
  .product-modal { grid-template-columns: 1fr; max-height: 94vh; border-radius: 18px 18px 0 0; }
  .modal-art { min-height: 250px; padding: 26px; }
  .modal-art > b { font-size: 58px; margin: 60px 0 12px; }
  .modal-art > strong { font-size: 23px; }
  .modal-copy { padding: 32px 24px 26px; }
  .modal-copy h2 { font-size: 32px; }
  .purchase-actions { flex-direction: column; }
  .purchase-block > p { display: grid; }
  .product-modal.has-gallery { grid-template-columns: minmax(0, 1fr); max-height: 94dvh; }
  .product-gallery { padding: 60px 16px 20px; }
  .has-gallery .modal-copy { padding: 30px 24px; }
}

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