@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --ink: #132e53;
  --blue: #1d4579;
  --navy: #102c50;
  --muted: #4f647c;
  --line: #d8e3ee;
  --pale: #edf3f9;
  --paper: #fff;
  --sans: 'DM Sans', system-ui, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  color-scheme: light;
  color: var(--ink);
  background: var(--paper);
  font: 400 16px/1.5 var(--sans);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid #2d76c3; outline-offset: 3px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.wrap { width: min(100% - clamp(32px, 8vw, 112px), 1220px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-inner { min-height: 76px; }
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; }
.brand strong { display: block; font: 600 25px/1.05 var(--serif); }
.brand small { display: block; font-size: 11px; letter-spacing: .055em; margin-top: 4px; }
.monogram { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #8da7c2; border-radius: 50%; font: 600 27px/1 var(--serif); }
.contact, .footer a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; font-size: 14px; text-decoration: none; }
.contact:hover, .footer a:hover { text-decoration: underline; }
.icon-external { position: relative; display: inline-block; flex: 0 0 11px; width: 11px; height: 11px; }
.icon-external::before { content: ''; position: absolute; top: 1px; right: 1px; width: 7px; height: 7px; border-top: 1px solid; border-right: 1px solid; }
.icon-external::after { content: ''; position: absolute; top: 8px; left: 1px; width: 11px; height: 1px; background: currentColor; transform: rotate(-45deg); transform-origin: left center; }

.hero { overflow: hidden; background: linear-gradient(108deg, #102b4d 22%, #214c7f 100%); color: var(--paper); }
.hero-inner { min-height: clamp(282px, 32vw, 400px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; align-items: center; }
.hero-copy { position: relative; z-index: 1; padding: 32px 0; }
.hero h1 { font: 500 clamp(54px, 9vw, 112px)/1.04 var(--serif); letter-spacing: -.065em; }
.hero p { margin-top: 12px; max-width: 30ch; color: #e0edfc; font-size: clamp(15px, 2.1vw, 18px); }
.hero-action, .primary-action { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 46px; padding: 9px 16px; border-radius: 6px; font-weight: 700; font-size: 14px; text-decoration: none; }
.hero-action { margin-top: 23px; color: var(--navy); background: var(--paper); }
.hero-action:hover { background: #dceafb; }
.hero-art { position: relative; display: grid; place-items: center; min-width: 0; }
.hero-art img { width: min(25vw, 302px); min-width: 154px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 1px solid #8badce; position: relative; }
.hero-ring { position: absolute; width: 125%; height: 89%; border: 1px solid #8bb6df94; border-radius: 50%; transform: rotate(-30deg); }
.hero-ring:nth-child(2) { width: 139%; height: 74%; transform: rotate(-35deg); opacity: .68; }

.catalog { padding: 33px 0 58px; scroll-margin-top: 14px; }
.catalog-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
h2 { font: 600 clamp(30px, 4.7vw, 48px)/1.15 var(--serif); letter-spacing: -.035em; }
.sale-note { color: var(--blue); background: var(--pale); border-radius: 5px; padding: 5px 10px; font-size: 12px; font-weight: 700; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.filters button { border: 1px solid var(--line); border-radius: 100px; background: var(--paper); color: var(--blue); min-height: 43px; padding: 7px 15px; font-size: 14px; font-weight: 700; }
.filters button:hover { border-color: #7b9ec3; }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.collection + .collection { margin-top: 36px; }
.collection-title { margin-bottom: 12px; }
.kicker { color: var(--muted); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.collection h3 { font: 600 clamp(23px, 3vw, 34px)/1.2 var(--serif); letter-spacing: -.025em; }
.collection-title .kicker { margin-bottom: 3px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.55vw, 20px); }
.product { display: flex; flex-direction: column; min-width: 0; padding: 0; text-align: left; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.product:hover { border-color: #8ea9c7; box-shadow: 0 6px 16px #153f701a; }
.product-image { position: relative; display: block; width: 100%; aspect-ratio: 4 / 4.45; background: #eef2f7; border-radius: 8px 8px 0 0; }
.product-image img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; }
.product-copy { position: relative; flex: 1; width: 100%; display: grid; align-content: space-between; gap: 6px; padding: 11px 12px; }
.product-copy strong { font-size: 15px; line-height: 1.25; }
.price { color: var(--blue); font-size: 14px; font-weight: 700; padding-right: 26px; }
.arrow { position: absolute; right: 10px; bottom: 9px; display: grid; place-items: center; height: 26px; width: 26px; border: 1px solid var(--line); border-radius: 50%; font-size: 15px; line-height: 1; }

.footer { background: var(--pale); }
.footer-inner { padding: 24px 0; flex-wrap: wrap; }
.footer p { color: var(--muted); font-size: 14px; }
.footer strong { color: var(--ink); }

dialog { position: fixed; width: min(760px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: var(--paper); box-shadow: 0 14px 70px #08182c40; }
dialog::backdrop { background: #0b203bb0; }
.detail { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 25px; align-items: center; padding: 21px; }
.close-detail { position: absolute; z-index: 1; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 24px; line-height: 1; }
.close-detail:hover { background: var(--pale); }
.detail-image { display: grid; place-items: center; background: var(--pale); padding: 9px; border-radius: 8px; }
.detail-image img { width: 100%; height: min(46vh, 380px); object-fit: contain; }
.detail-copy { padding-block: 18px; }
.detail h2 { margin-top: 4px; font-size: clamp(28px, 4.4vw, 42px); }
.detail-price { margin-top: 12px; color: var(--blue); font-weight: 700; font-size: 23px; }
.product-ref, .detail-note { margin-top: 4px; color: var(--muted); font-size: 14px; }
.detail-note { margin-top: 14px; }
.primary-action { margin-top: 15px; background: var(--navy); color: var(--paper); }
.primary-action:hover { background: var(--blue); }

@media (max-width: 800px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .header-inner { min-height: 64px; }
  .brand strong { font-size: 21px; }
  .monogram { width: 37px; height: 37px; font-size: 23px; }
  .contact { font-size: 12px; }
  .hero-inner { grid-template-columns: 1fr .45fr; min-height: 251px; }
  .hero-copy { padding: 24px 0; }
  .hero-art { justify-items: start; margin-left: -7px; }
  .hero-art img { min-width: 124px; }
  .hero-ring { width: 170%; }
  .hero-ring:nth-child(2) { width: 180%; }
  .catalog { padding-top: 25px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-copy { padding-inline: 9px; }
  .product-copy strong { font-size: 13px; }
  .arrow { right: 8px; width: 22px; height: 22px; }
  .detail { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px; }
  .detail-image img { height: min(40vh, 300px); }
  .detail-copy { padding: 3px 3px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .product { transition: none; }
}
