/* Shared header (top bar, nav, Lookbook dropdown, mobile drawer) and footer. Markup comes from tools/layout.py. */
.site-header svg, .site-footer svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.site-header svg .fill, .site-footer svg .fill { fill: currentColor; stroke: none; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background-color .5s, box-shadow .5s; }
.site-header.is-solid { background: rgba(6, 4, 2, .9); box-shadow: 0 14px 40px -22px rgba(0, 0, 0, .95); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header.is-solid { background: rgba(6, 4, 2, .72); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); }
}

.topbar { overflow: hidden; max-height: 48px; padding-top: env(safe-area-inset-top); background: linear-gradient(90deg, rgba(201, 164, 90, .16), rgba(201, 164, 90, .05) 50%, rgba(201, 164, 90, .16)); box-shadow: inset 0 -1px 0 var(--hair); transition: max-height .5s var(--ease), opacity .4s; }
.site-header.is-solid .topbar { max-height: 0; opacity: 0; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 40px; padding: 0 var(--pad); font: 500 12px/1 var(--sans); letter-spacing: .04em; color: var(--text); }
.tb-left { display: flex; align-items: center; gap: 8px; margin: 0; }
.topbar svg { width: 15px; height: 15px; color: var(--gold-hi); flex: none; }
.tb-right { display: flex; align-items: center; gap: 16px; }
.tb-tag { font: italic 400 14px/1 var(--accent); color: var(--gold-hi); letter-spacing: 0; }
.tb-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; transition: background .3s; }
.tb-icon:hover { background: rgba(201, 164, 90, .18); }
.tb-book { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; text-decoration: none; color: var(--gold-hi); background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px var(--hair); transition: background .3s; }
.tb-book:hover { background: rgba(201, 164, 90, .18); }

.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px var(--pad); transition: padding .5s var(--ease); }
.site-header.is-solid .bar { padding-top: calc(10px + env(safe-area-inset-top)); padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-mark { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(201, 164, 90, .55), 0 6px 18px -6px rgba(0, 0, 0, .8); }
.brand-text { display: grid; gap: 5px; }
.brand-name { font: 400 18px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--ivory); white-space: nowrap; text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
.brand-sub { font: 500 10px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }

.nav { display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(0, 0, 0, .32); box-shadow: inset 0 0 0 1px var(--hair); }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 11px 16px; border-radius: 999px; font: 500 13px/1 var(--sans); letter-spacing: .06em; color: var(--ivory); text-decoration: none; transition: background .3s, color .3s; }
.nav-link svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.nav-link:hover, .mega-toggle[aria-expanded="true"] { background: rgba(201, 164, 90, .16); color: var(--gold-hi); }
.nav-link[aria-current="page"] { background: rgba(201, 164, 90, .22); color: var(--gold-hi); }
.mega-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.bar-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-cta { display: inline-flex; align-items: center; min-height: 46px; padding: 0 24px; border-radius: 999px; font: 600 12.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: #160f04; background: var(--gold-grad); background-size: 160% 100%; box-shadow: 0 10px 26px -12px rgba(201, 164, 90, .7); transition: background-position .6s var(--ease), transform .4s var(--ease); }
.nav-cta:hover { background-position: 100% 0; transform: translateY(-1px); }
.nav-toggle { display: none; position: relative; width: 46px; height: 46px; border-radius: 50%; background: rgba(0, 0, 0, .4); box-shadow: inset 0 0 0 1px var(--hair); }
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--gold-hi); transition: transform .4s var(--ease), opacity .3s; }
.nav-toggle span:nth-child(1) { top: 16px; } .nav-toggle span:nth-child(2) { top: 22px; } .nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.drawer-extra { display: none; }

/* Lookbook dropdown */
.has-mega { position: relative; }
.mega { position: absolute; left: 50%; top: 100%; padding-top: 14px; width: min(980px, calc(100vw - 32px)); transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s linear .35s; }
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.mega-in { display: grid; grid-template-columns: 1fr 250px; gap: 14px; padding: 14px; border-radius: var(--r-lg); background: rgba(10, 7, 4, .95); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .95), inset 0 0 0 1px var(--hair); }
.mega-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mega-col { display: grid; align-content: start; gap: 10px; padding: 16px; border-radius: var(--r); text-decoration: none; transition: background .3s; }
.mega-col:hover { background: rgba(201, 164, 90, .1); }
.mega-num { font: 400 28px/1 var(--display); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mega-col b { font: 400 18px/1.2 var(--display); color: var(--ivory); }
.mega-col small { font: 500 11px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.mega-thumbs { display: flex; margin-top: 4px; }
.mega-thumbs img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; box-shadow: 0 0 0 2px #0a0704; }
.mega-thumbs img + img { margin-left: -12px; }
.mega-list { display: grid; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; font: 400 13.5px/1.35 var(--sans); color: var(--text); }
.mega-promo { display: flex; flex-direction: column; padding: 22px; border-radius: var(--r); background: radial-gradient(120% 120% at 100% 0%, rgba(201, 164, 90, .35), rgba(201, 164, 90, .06) 60%), #120c06; box-shadow: inset 0 0 0 1px var(--hair); }
.mega-promo .eyebrow { margin-bottom: 12px; }
.mega-title { font: 400 22px/1.2 var(--display); color: var(--ivory); margin: 0 0 10px; }
.mega-title em { font-family: var(--accent); font-style: italic; color: var(--gold-hi); }
.mega-promo p:not(.eyebrow):not(.mega-title) { font-size: 13.5px; line-height: 1.55; color: var(--text); }
.mega-promo .btn { min-height: 46px; margin-top: auto; padding: 0 20px; font-size: 11.5px; }
.mega-all { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font: 500 12.5px/1 var(--sans); color: var(--gold-hi); text-decoration: none; }
.mega-all svg { width: 15px; height: 15px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: radial-gradient(50% 60% at 100% 0%, rgba(201, 164, 90, .1), transparent), #050403; padding: clamp(60px, 7vw, 100px) 0 calc(20px + env(safe-area-inset-bottom)); }
.ft { max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); }
.ft-intro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 40px; box-shadow: inset 0 -1px 0 var(--hair); }
.ft-brand { display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); max-width: 640px; }
.footer-logo { width: clamp(110px, 11vw, 150px); height: auto; flex: none; }
.ft-lead { margin: 0 0 14px; color: var(--text); font-size: 16px; }
.ft-pillars { margin: 0; font: 500 11.5px/1.5 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.ft-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.social { display: flex; gap: 10px; }
.social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-hi); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--hair); transition: background .35s, color .35s; }
.social a:hover { background: var(--gold); color: #120c04; }
.social svg { width: 19px; height: 19px; }

.ft-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: clamp(30px, 4vw, 60px); padding: 48px 0; }
.ft-col h3 { margin: 0 0 20px; font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); }
.ft-col h3 a { font: inherit; color: inherit; text-decoration: none; }
.ft-col h3 a:hover { color: var(--gold-hi); }
.ft-links { display: grid; gap: 12px; }
.ft-links a, .ft-collections a { font-size: 14.5px; color: var(--text); text-decoration: none; transition: color .3s; }
.ft-links a:hover, .ft-collections a:hover { color: var(--gold-hi); }
.ft-collections [data-footer-collections] { display: grid; gap: 14px; }
.ft-collections a { display: flex; align-items: center; gap: 12px; }
.ft-collections img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; box-shadow: 0 0 0 2px rgba(201, 164, 90, .25); flex: none; }
.ft-collections small { display: block; font-size: 12px; color: var(--muted); }
.ft-contact { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--text); }
.ft-contact li { display: flex; gap: 12px; align-items: flex-start; }
.ft-contact svg { width: 18px; height: 18px; color: var(--gold-hi); flex: none; margin-top: 3px; }
.ft-contact a { color: var(--text); text-decoration: none; }
.ft-contact a:hover { color: var(--gold-hi); }
.ft-zones { display: grid; gap: 8px; margin: 22px 0 0; padding: 16px 18px; border-radius: var(--r); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--hair); font-size: 13.5px; }
.ft-zones div { display: flex; justify-content: space-between; gap: 16px; }
.ft-zones dt { color: var(--muted); }
.ft-zones dd { margin: 0; font-weight: 600; color: var(--ivory); }
.ft-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.ft-note a { color: var(--gold-hi); }

.ft-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-top: 24px; box-shadow: inset 0 1px 0 var(--hair); font-size: 13px; color: rgba(245, 239, 228, .6); }
.ft-bottom p { margin: 0; }
.ft-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ft-legal a { color: var(--gold-hi); text-decoration: none; opacity: .85; }
.ft-legal a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.credit a { color: var(--gold-hi); font-weight: 600; text-decoration: none; }
.credit a:hover { text-decoration: underline; text-underline-offset: 4px; }
.to-top { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--gold-hi); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--hair); transition: background .3s, transform .4s var(--ease); }
.to-top:hover { background: rgba(201, 164, 90, .18); transform: translateY(-2px); }
.to-top svg { width: 18px; height: 18px; }

.nl-num, .drawer-extra { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .tb-tag { display: none; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
}

/* Phones and tablets: compact bar + full-screen menu */
@media (max-width: 1000px) {
  .topbar { display: none; }
  .bar { gap: 12px; padding: calc(10px + env(safe-area-inset-top)) clamp(14px, 4vw, 28px) 10px; }
  .site-header.is-solid .bar { padding-top: calc(8px + env(safe-area-inset-top)); padding-bottom: 8px; }
  .brand { min-width: 0; gap: 10px; }
  .brand-text { min-width: 0; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 15px; letter-spacing: .14em; }
  .brand-sub { font-size: 9px; letter-spacing: .22em; }
  .bar-actions { position: relative; z-index: 2; gap: 8px; }
  .nav-cta { min-height: 40px; padding: 0 16px; font-size: 11px; }
  .nav-toggle { display: block; width: 44px; height: 44px; }
  .nav-toggle span { left: 13px; right: 13px; }
  .nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 27px; }
  .nav-open .site-header, .nav-open .site-header.is-solid { -webkit-backdrop-filter: none; backdrop-filter: none; background: #060402; box-shadow: none; }
  .nav-open { overflow: hidden; }

  .nav { position: fixed; inset: var(--hh, 64px) 0 0 0; z-index: 1; display: block; padding: 6px clamp(18px, 5vw, 32px) calc(28px + env(safe-area-inset-bottom)); border-radius: 0; background: radial-gradient(120% 50% at 100% 0%, rgba(201, 164, 90, .14), transparent 60%), #060402; box-shadow: none; overflow-y: auto; overscroll-behavior: contain; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s linear .45s; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease); }
  .nav-link, .has-mega .mega-toggle { display: flex; width: 100%; align-items: center; gap: 14px; min-height: 64px; padding: 0 2px; border-radius: 0; font: 400 26px/1 var(--display); letter-spacing: .01em; color: var(--ivory); box-shadow: inset 0 -1px 0 var(--hair); }
  .nav-link:hover, .mega-toggle[aria-expanded="true"] { background: none; color: var(--gold-hi); }
  .nav-link[aria-current="page"] { background: none; color: var(--gold-hi); }
  .nl-num { display: inline; min-width: 26px; font: 500 11px/1 var(--sans); letter-spacing: .12em; color: var(--gold); }
  .mega-toggle svg { width: 22px; height: 22px; margin-left: auto; }
  .mega { position: static; width: auto; padding: 0; transform: none; opacity: 1; visibility: visible; display: none; transition: none; }
  .has-mega.is-open .mega { display: block; transform: none; }
  .mega-in { display: block; padding: 6px 0 10px; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .mega-cols { grid-template-columns: 1fr; gap: 6px; }
  .mega-col { grid-template-columns: auto 1fr auto; align-items: center; column-gap: 14px; row-gap: 2px; min-height: 60px; padding: 10px 14px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .04); }
  .mega-col .mega-num { grid-row: span 2; font-size: 24px; }
  .mega-col b { font-size: 16px; }
  .mega-col .mega-thumbs { grid-row: 1 / span 2; grid-column: 3; margin: 0; }
  .mega-thumbs img { width: 34px; height: 34px; }
  .mega-thumbs img:nth-child(n+3) { display: none; }
  .mega-list, .mega-promo { display: none; }

  .drawer-extra { display: grid; gap: 12px; margin-top: 24px; }
  .drawer-label { margin: 0; font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
  .drawer-models { display: flex; gap: 10px; margin: 0 0 6px; padding: 2px 0 6px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .drawer-models::-webkit-scrollbar { display: none; }
  .drawer-models a { flex: 0 0 96px; scroll-snap-align: start; display: grid; gap: 6px; text-decoration: none; font: 500 11.5px/1.25 var(--sans); color: var(--text); }
  .drawer-models img { width: 100%; aspect-ratio: 1; border-radius: var(--r-sm); object-fit: cover; object-position: 50% 30%; }
  .drawer-extra .btn { width: 100%; min-height: 56px; }
  .drawer-social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .drawer-social a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border-radius: 999px; font: 500 14px/1 var(--sans); color: var(--ivory); text-decoration: none; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--hair); }
  .drawer-social svg { width: 18px; height: 18px; color: var(--gold-hi); }
  .drawer-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 4px 0 0; font-size: 13px; color: var(--muted); }
  .drawer-note svg { width: 16px; height: 16px; color: var(--gold-hi); }
}
@media (max-width: 380px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 13px; letter-spacing: .1em; }
  .brand-mark { width: 36px; height: 36px; }
  .nav-cta { padding: 0 12px; font-size: 10.5px; letter-spacing: .08em; }
}
@media (max-width: 340px) {
  .bar-actions .nav-cta { display: none; }
}

/* Phones: footer stacks, centred, with large tap targets */
@media (max-width: 760px) {
  .site-footer { padding-top: 56px; text-align: center; }
  .ft { padding: 0 clamp(16px, 5vw, 28px); }
  .ft-intro { flex-direction: column; align-items: center; gap: 22px; padding-bottom: 32px; }
  .ft-brand { flex-direction: column; align-items: center; gap: 18px; }
  .footer-logo { width: 132px; }
  .ft-pillars { letter-spacing: .16em; line-height: 1.9; }
  .ft-cta { align-items: center; width: 100%; }
  .ft-cta .btn { width: 100%; min-height: 56px; }
  .social { justify-content: center; gap: 14px; }
  .social a { width: 52px; height: 52px; }
  .ft-grid { grid-template-columns: 1fr; gap: 30px; padding: 34px 0; }
  .ft-col h3 { margin-bottom: 14px; }
  .ft-collections [data-footer-collections] { gap: 8px; }
  .ft-collections [data-footer-collections] a { min-height: 60px; padding: 8px 14px; border-radius: var(--r-sm); text-align: left; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--hair); }
  .ft-links { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ft-links a { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 8px 10px; border-radius: var(--r-sm); font-size: 13.5px; line-height: 1.25; text-align: center; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--hair); }
  .ft-contact { justify-items: center; text-align: left; }
  .ft-contact li { max-width: 320px; }
  .ft-zones { text-align: left; }
  .ft-bottom { flex-direction: column; align-items: center; gap: 16px; padding-top: 22px; text-align: center; }
  .ft-legal { justify-content: center; gap: 8px; }
  .ft-legal a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--hair); }
  .to-top { width: 48px; height: 48px; }
}
@media (max-width: 380px) {
  .ft-links { grid-template-columns: 1fr; }
}
