/* Sigma Code — shared CSS
 * Extracted from per-page inline <style> blocks so fonts + variables
 * are downloaded once and cached browser-wide.
 * DO NOT add page-specific rules here. This file is referenced from every
 * page's <head>, so any rule here affects the entire site.
 */

@font-face {
  font-family: 'FlatLevelRegular';
  src: url('fonts/FlatLevel-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FlatLevelLight';
  src: url('fonts/FlatLevel-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0D2047;
  --blue: #0D2047;
  --green-btn: #0D2047;
  --sage: #51695B;
  --light-blue: #3A6BC4;
  --off-white: #F7F5EE;
  --off-white-dark: #EEEAE0;
  --golden: #C9A84C;
  --yellow: #FFD700;
  --text-dark: #0D2047;
  --text-blue: #2B5BBF;
  --white: #FFFFFF;
  --black: #0A0A0A;
}

/* ─── Points pill (desktop nav) & mobile Shop sublabel ─── */
.nav-points-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(201,168,76,0.10); color: var(--golden);
  border: 1.5px solid rgba(201,168,76,0.35);
  font-family: 'FlatLevelRegular', sans-serif;
  font-size: 11px; font-weight: 900; letter-spacing: 0.14em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nav-points-pill:hover { background: var(--golden); color: var(--navy); border-color: var(--golden); }
.nav-points-pill .nav-points-val { line-height: 1; }
.sc-acct-pts { color: var(--golden); font-weight: 900; }
.sc-acct-pts svg { vertical-align: -1px; }
@media (max-width: 640px) {
  .nav-points-pill { padding: 5px 10px; font-size: 10px; }
}

/* ─── shared rules extracted from inline <style> (Phase D full) ─── */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { font-family: 'Lato', sans-serif; background: var(--off-white); color: var(--text-dark); overflow-x: hidden; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 72px;
  background: rgba(247,245,238,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13,32,71,0.10);
  transition: box-shadow 0.3s;
}

nav.scrolled { box-shadow: 0 4px 30px rgba(13,32,71,0.10); }

.nav-logo { display: flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none; }

.nav-logo img { height: 58px; filter: none; }

.nav-brand { font-family: 'FlatLevelRegular', sans-serif; font-size: 17px; letter-spacing: 0.22em; color: var(--navy); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }

.nav-links a { font-size: 11px; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy); text-decoration: none; position: relative; transition: color 0.25s; }

.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 1px; background: var(--golden); transform: scaleX(0); transition: transform 0.25s; }

.nav-links a:hover { color: var(--golden); }

.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 18px; }

.btn-nav { font-size: 10px; font-weight: 900; letter-spacing: 0.22em; text-transform: uppercase; padding: 10px 22px; border: 1.5px solid var(--navy); background: transparent; color: var(--navy); cursor: pointer; transition: all 0.25s; }

.btn-nav:hover { background: var(--golden); border-color: var(--golden); color: var(--white); }

.nav-icon-btn { background: none; border: none; cursor: pointer; color: var(--navy); font-size: 18px; padding: 4px; transition: color 0.2s; }

.nav-icon-btn:hover { color: var(--golden); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }

.hamburger span { width: 22px; height: 2px; background: var(--navy); display: block; transition: all 0.3s; }

.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 8s ease;
}

.hero:hover .hero-img { transform: scale(1.04); }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(13,32,71,0.82) 0%, rgba(13,32,71,0.45) 50%, rgba(13,32,71,0.15) 100%);
}

.hero-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: var(--golden); margin-bottom: 22px; }

.hero-title { font-family: 'FlatLevelRegular', sans-serif; font-size: clamp(40px, 5.5vw, 72px); line-height: 1.02; letter-spacing: 0.07em; color: var(--white); text-transform: uppercase; margin-bottom: 24px; }

.hero-subtitle { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 300; font-style: italic; color: rgba(255,255,255,0.72); line-height: 1.7; margin-bottom: 44px; max-width: 400px; }

.hero-cta-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.btn-primary {
  font-size: 10px; font-weight: 900; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 15px 34px; background: var(--green-btn); color: var(--off-white);
  border: none; cursor: pointer; transition: all 0.3s; text-decoration: none; display: inline-block;
  border-radius: 50px;
}

.btn-primary:hover { background: var(--golden); transform: translateY(-2px); }

.btn-outline-white {
  font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 15px 34px; background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4); cursor: pointer; transition: all 0.3s;
  text-decoration: none; display: inline-block;
  border-radius: 50px;
}

.btn-outline-white:hover { border-color: var(--golden); color: var(--golden); }

.btn-buy:hover { background: var(--golden); }

.btn-buy .bolt { color: var(--yellow); font-size: 13px; flex-shrink: 0; }

.btn-outline-navy {
  font-size: 10px; font-weight: 900; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 15px 48px; background: transparent; color: var(--navy);
  border: 1.5px solid var(--navy); cursor: pointer; transition: all 0.3s;
  text-decoration: none; display: inline-block;
}

.btn-outline-navy:hover { background: var(--golden); border-color: var(--golden); color: var(--white); }

.ticker-bar { background: var(--navy); padding: 13px 0; overflow: hidden; white-space: nowrap; }

.ticker-inner { display: inline-flex; animation: ticker 30s linear infinite; }

.ticker-item { font-size: 10px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--golden); padding: 0 50px; }

.ticker-item span { color: rgba(255,255,255,0.3); margin: 0 6px; }

@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.section-header { text-align: center; margin-bottom: 60px; }

.section-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.30em; text-transform: uppercase; color: var(--golden); margin-bottom: 12px; }

.section-title { font-family: 'FlatLevelRegular', sans-serif; font-size: clamp(24px, 3vw, 40px); letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); line-height: 1.1; }

.section-sub { font-family: 'Cormorant Garamond', serif; font-size: 16px; font-style: italic; color: var(--text-blue); margin-top: 10px; font-weight: 300; }

.product-card {
  position: relative; overflow: hidden; background: var(--off-white-dark); cursor: pointer;
  display: flex; flex-direction: column;
}

.product-card-img-wrap { position: relative; overflow: hidden; }

.product-card-img-wrap img {
  width: 100%; height: 100%; min-height: 280px; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); display: block;
}

.product-card:hover .product-card-img-wrap img { transform: scale(1.07); }

.product-card-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--navy); color: var(--golden);
  font-size: 8px; font-weight: 900; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 5px 10px;
}

.product-card-body { padding: 16px 16px 18px; background: var(--off-white); flex: 1; display: flex; flex-direction: column; }

.product-card-label { font-size: 9px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-blue); margin-bottom: 4px; }

.product-card-name { font-family: 'FlatLevelLight', sans-serif; font-size: 13px; letter-spacing: 0.10em; color: var(--navy); text-transform: uppercase; margin-bottom: 6px; }

.product-card-price { font-family: 'Cormorant Garamond', serif; font-size: 17px; color: var(--text-blue); margin-bottom: 14px; }

.product-card-actions { display: flex; gap: 8px; margin-top: auto; }

.featured-section { padding: 100px 60px; background: var(--off-white); }

.featured-hero-row {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 3px;
  max-width: 1400px; margin: 0 auto 3px;
}

.featured-hero-card { position: relative; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; }

.featured-hero-card img {
  width: 100%; height: 460px; object-fit: cover; object-position: top center;
  display: block; transition: transform 0.6s ease; flex: 1;
}

.featured-hero-card:hover img { transform: scale(1.05); }

.featured-hero-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: transparent;
  padding: 16px 20px;
}

.featured-hero-text-box { display: none; }

.featured-hero-label { font-size: 9px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.70); margin-bottom: 5px; }

.featured-hero-name { font-family: 'FlatLevelLight', sans-serif; font-size: 18px; letter-spacing: 0.12em; color: var(--off-white); text-transform: uppercase; margin-bottom: 4px; }

.featured-hero-price { font-family: 'Cormorant Garamond', serif; font-size: 17px; color: rgba(247,245,238,0.85); margin-bottom: 0; }

.featured-hero-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 18px;
  background: var(--off-white);
}

.featured-hero-info-left { display: flex; flex-direction: column; gap: 3px; }

.featured-hero-info-label {
  font-size: 9px; font-weight: 700; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--navy);
}

.featured-hero-info-name {
  font-family: 'FlatLevelLight', sans-serif;
  font-size: 16px; letter-spacing: 0.10em;
  color: #0A0A0A; text-transform: uppercase;
}

.featured-hero-info-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; color: var(--navy);
  font-weight: 500; align-self: center;
}

.featured-hero-actions { display: flex; gap: 8px; }

.featured-small-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px;
  max-width: 1400px; margin: 0 auto;
}

.trending-section { padding: 100px 60px; background: var(--navy); position: relative; overflow: hidden; }

.trending-section::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(13,47,163,0.4) 0%, transparent 70%);
  pointer-events: none;
}

.trending-section .section-title { color: var(--white); }

.trending-section .section-sub { color: rgba(255,255,255,0.5); }

.trending-grid {
  display: flex; gap: 20px; overflow-x: auto; padding-bottom: 10px;
  scrollbar-width: none; scroll-snap-type: x mandatory;
}

.trending-grid::-webkit-scrollbar { display: none; }

.trend-card {
  flex: 0 0 260px; scroll-snap-align: start;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden; transition: transform 0.3s, border-color 0.3s; cursor: pointer;
  display: flex; flex-direction: column;
}

.trend-card:hover { transform: translateY(-6px); border-color: var(--golden); }

.trend-card-img-wrap { position: relative; overflow: hidden; }

.trend-card-img-wrap img { width: 100%; height: 300px; object-fit: cover; object-position: top center; display: block; transition: transform 0.5s; }

.trend-card:hover .trend-card-img-wrap img { transform: scale(1.05); }

.trend-tag { font-size: 9px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--golden); margin-bottom: 6px; }

.trend-name { font-family: 'FlatLevelLight', sans-serif; font-size: 13px; letter-spacing: 0.10em; color: var(--white); text-transform: uppercase; margin-bottom: 5px; }

.trend-price { font-family: 'Cormorant Garamond', serif; font-size: 16px; color: rgba(255,255,255,0.70); margin-bottom: 12px; }

.trend-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }

.trend-card-actions { display: flex; gap: 8px; margin-top: auto; }

.btn-cart-dark {
  font-size: 9px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 9px 10px; background: var(--golden); color: var(--off-white);
  border: none; cursor: pointer; transition: all 0.25s; flex: 1;
  border-radius: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.btn-cart-dark:hover { background: var(--navy); }

.btn-buy-dark {
  font-size: 9px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 9px 10px; background: var(--sage); color: var(--off-white);
  border: none; cursor: pointer; transition: all 0.25s; flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 4px;
  border-radius: 20px; white-space: nowrap; overflow: hidden;
}

.btn-buy-dark:hover { background: var(--golden); color: var(--navy); }
.btn-buy-dark:hover .bolt { color: var(--navy); }

.btn-buy-dark .bolt { color: var(--yellow); font-size: 12px; flex-shrink: 0; }

.scroll-arrows { display: flex; gap: 12px; justify-content: flex-end; margin-top: 30px; }

.scroll-arrow {
  width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.25);
  background: transparent; color: var(--white); font-size: 16px;
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.25s;
}

.scroll-arrow:hover { background: var(--golden); border-color: var(--golden); }

.sigma-edit-section { padding: 100px 60px; background: var(--off-white); }

.sigma-edit-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 1400px; margin: 0 auto;
}

.brand-strip-wrap { background: var(--off-white); border-top: 1px solid rgba(13,32,71,0.08); border-bottom: 1px solid rgba(13,32,71,0.08); }

.brand-strip {
  padding: 70px 60px;
  display: grid; grid-template-columns: 1fr 1px 1fr 1px 1fr; gap: 0;
  max-width: 1400px; margin: 0 auto;
}

.strip-divider { background: rgba(13,32,71,0.12); }

.strip-item { padding: 0 60px; text-align: center; }

.strip-number { font-family: 'FlatLevelRegular', sans-serif; font-size: 46px; letter-spacing: 0.08em; color: var(--navy); margin-bottom: 6px; }

.strip-label { font-size: 10px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-blue); }

.strip-desc { font-family: 'Cormorant Garamond', serif; font-size: 14px; font-style: italic; color: rgba(13,32,71,0.5); margin-top: 5px; }

.newsletter-section { padding: 90px 60px; background: var(--green-btn); text-align: center; }

.newsletter-title { font-family: 'FlatLevelRegular', sans-serif; font-size: clamp(20px, 3vw, 36px); letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }

.newsletter-sub { font-family: 'Cormorant Garamond', serif; font-size: 17px; font-style: italic; color: rgba(255,255,255,0.70); margin-bottom: 34px; }

.newsletter-form { display: flex; max-width: 480px; margin: 0 auto; border-bottom: 1.5px solid rgba(255,255,255,0.50); }

.newsletter-form input { flex: 1; background: transparent; border: none; outline: none; color: var(--white); font-size: 13px; letter-spacing: 0.05em; padding: 12px 0; }

.newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }

.newsletter-form button { background: transparent; border: none; color: rgba(255,255,255,0.70); font-size: 10px; font-weight: 900; letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer; padding: 12px 0 12px 20px; transition: color 0.2s; }

.newsletter-form button:hover { color: var(--golden); }

footer { background: var(--navy); padding: 70px 60px 30px; }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }

.footer-brand-col .footer-logo { display: flex; align-items: center; justify-content: flex-start; gap: 12px; margin-bottom: 16px; }

.footer-brand-col .footer-logo img { height: 30px; filter: brightness(0) invert(1); }

.footer-brand-col .footer-logo-name { font-family: 'FlatLevelRegular', sans-serif; font-size: 14px; letter-spacing: 0.20em; color: var(--white); }

.footer-brand-col p { font-size: 13px; line-height: 1.8; max-width: 260px; color: rgba(255,255,255,0.50); }

.footer-col h4 { font-size: 10px; font-weight: 900; letter-spacing: 0.25em; text-transform: uppercase; color: var(--golden); margin-bottom: 20px; }

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 13px; transition: color 0.2s; }

.footer-col ul li a:hover { color: var(--golden); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }

.footer-bottom p { font-size: 11px; letter-spacing: 0.05em; color: rgba(255,255,255,0.45); }

.footer-socials { display: flex; gap: 16px; }

.footer-socials a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 11px; font-weight: 700; letter-spacing: 0.15em; transition: color 0.2s; }

.footer-socials a:hover { color: var(--golden); }

.sc-popup-overlay { display:none; position:fixed; inset:0; background:rgba(13,32,71,0.55); z-index:10000; }

.sc-popup-overlay.active { display:block; }

.sc-popup-modal { display:none; position:fixed; top:50%; left:50%; transform:translate(-50%,-54%); width:min(92vw,600px); max-height:82vh; background:#fff; z-index:10001; overflow:hidden; flex-direction:column; box-shadow:0 20px 60px rgba(13,32,71,0.25); }

.sc-popup-modal.active { display:flex; }

.sc-popup-header { display:flex; align-items:center; justify-content:space-between; padding:22px 28px 18px; border-bottom:1.5px solid rgba(13,32,71,0.08); flex-shrink:0; background:#fff; }

.sc-popup-title { font-family:'FlatLevelRegular',sans-serif; font-size:15px; letter-spacing:0.14em; text-transform:uppercase; color:var(--navy); }

.sc-popup-close { background:none; border:none; cursor:pointer; font-size:20px; color:rgba(13,32,71,0.35); line-height:1; transition:color 0.2s; padding:4px; }

.sc-popup-close:hover { color:var(--navy); }

.mobile-nav { display: block; position: fixed; bottom: 0; top: auto; left: 0; right: 0; z-index: 9999; background: var(--off-white); border-top: 1px solid rgba(13,32,71,0.12); box-shadow: 0 -4px 20px rgba(13,32,71,0.08); }

.mobile-nav-items { display: flex; justify-content: space-around; align-items: center; padding: 8px 0 max(8px, env(safe-area-inset-bottom)); }

.mobile-nav-item { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; padding: 4px 10px; transition: all 0.2s; border: none; background: none; color: rgba(13,32,71,0.40); text-decoration: none; }

.mobile-nav-item.active, .mobile-nav-item:hover { color: var(--blue); }

.mobile-nav-icon { display: flex; align-items: center; justify-content: center; position: relative; }

.mobile-nav-label { font-size: 8px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

.cart-badge { position: absolute; top: -5px; right: -7px; background: var(--blue); color: var(--off-white); font-size: 8px; font-weight: 900; width: 14px; height: 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; line-height: 1; }

.mobile-menu-drawer {
  display: none; position: fixed; top: 0; right: 0;
  width: min(85vw, 340px);
  /* 100vh on Chrome Android measures the LARGE viewport (URL bar
     hidden), so when the URL bar is showing the bottom of the drawer
     gets clipped behind it. 100dvh tracks the dynamic viewport so the
     drawer always fills the visible area. 100vh kept as fallback for
     older browsers. */
  height: 100vh;
  height: 100dvh;
  background: var(--navy); z-index: 10001;
  /* Generous bottom padding so the last CTA clears the mobile bottom
     nav (z:9999, ~70px tall) AND any iOS safe-area bottom inset. */
  padding: 80px 40px calc(100px + env(safe-area-inset-bottom));
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.23, 1, 0.32, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
}

.mobile-menu-drawer.open { transform: translateX(0); }

.mobile-menu-drawer.visible { display: block; }

.drawer-close { position: absolute; top: 22px; right: 24px; background: none; border: none; color: rgba(255,255,255,0.7); font-size: 22px; cursor: pointer; transition: color 0.2s; }

.drawer-close:hover { color: var(--golden); }

.drawer-links { list-style: none; }

.drawer-links li { border-bottom: 1px solid rgba(255,255,255,0.07); }

.drawer-links a { display: block; padding: 18px 0; font-family: 'FlatLevelLight', sans-serif; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.85); text-decoration: none; transition: color 0.2s; }

.drawer-links a:hover { color: var(--golden); }

.drawer-cta { margin-top: 36px; display: flex; flex-direction: column; gap: 14px; }

.drawer-cta .btn-primary { text-align: center; display: block; }

.overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1999; opacity: 0; transition: opacity 0.3s; }

.overlay.visible { display: block; }

.overlay.active { opacity: 1; }

@media (min-width: 1025px) { .mobile-nav { display: none !important; } body { padding-bottom: 0 !important; } }

@media (max-width: 1024px) {
  nav { padding: 0 20px; }
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .hero-content { left: 6%; max-width: 90%; }
  .hero-title { font-size: 32px; }
  .featured-section, .trending-section, .sigma-edit-section { padding: 70px 20px; }
  .featured-hero-row { grid-template-columns: 1fr; }
  .featured-hero-card img { height: 380px; }
  .featured-small-grid { grid-template-columns: 1fr 1fr; }
  .sigma-edit-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .brand-strip { grid-template-columns: 1fr; padding: 50px 28px; gap: 30px; }
  .strip-divider { display: none; }
  .strip-item { padding: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  body { padding-bottom: 80px; }
  .newsletter-section { padding: 60px 28px; }
  footer { padding: 60px 28px 30px; }
}

@media (max-width: 540px) {
  .featured-small-grid { grid-template-columns: 1fr; }
  .sigma-edit-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 26px; }
  .trend-card { flex: 0 0 210px; }
}

@media (max-width: 400px) {
  .btn-cart, .btn-buy, .btn-cart-dark, .btn-buy-dark {
    font-size: 8px; letter-spacing: 0.05em; padding: 9px 8px;
  }
}

.newsletter-dual-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  overflow: hidden;
}

.newsletter-option {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 32px 28px;
  text-align: center;
}

.newsletter-option-icon {
  font-size: 26px;
  color: var(--golden);
  line-height: 1;
}

.newsletter-option-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
}

.newsletter-option-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-style: italic;
  color: rgba(255,255,255,0.55);
  margin-top: -4px;
}

.newsletter-form-inline {
  display: flex;
  border-bottom: 1.5px solid rgba(255,255,255,0.35);
  width: 100%;
  max-width: 240px;
}

.newsletter-form-inline input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 12px;
  padding: 8px 0;
  letter-spacing: 0.04em;
  min-width: 0;
}

.newsletter-form-inline input::placeholder { color: rgba(255,255,255,0.38); }

.newsletter-form-inline button {
  background: transparent;
  border: none;
  color: var(--golden);
  font-size: 16px;
  cursor: pointer;
  padding: 8px 0 8px 10px;
  transition: transform 0.2s;
}

.newsletter-form-inline button:hover { transform: translateX(3px); }

.newsletter-divider-or {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  padding: 0 28px;
}

.newsletter-divider-or::before,
.newsletter-divider-or::after {
  content: '';
  height: 1px;
  flex: 1;
  background: rgba(255,255,255,0.10);
}

.newsletter-divider-or span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
  padding: 0 16px;
}

.btn-ig-follow {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 22px;
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.30);
  text-decoration: none;
  transition: all 0.25s;
  border-radius: 20px;
}

.btn-ig-follow:hover { background: var(--golden); border-color: var(--golden); }

.instagram-section {
  padding: 100px 60px;
  background: var(--off-white);
}

.ig-handle {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-blue);
  text-decoration: none;
  transition: color 0.2s;
}

.ig-handle:hover { color: var(--golden); }

.ig-carousel-wrap {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ig-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
  flex: 1;
  padding: 8px 0 12px;
}

.ig-carousel::-webkit-scrollbar { display: none; }

.ig-slide {
  flex: 0 0 320px;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}

.ig-slide.ig-slide-reel { flex: 0 0 280px; }

.ig-slide.ig-slide-photo { flex: 0 0 340px; }

.ig-slide-inner {
  position: relative;
  overflow: hidden;
  height: 420px;
}

.ig-slide.ig-slide-reel .ig-slide-inner { height: 460px; }

.ig-slide-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.ig-slide:hover .ig-slide-inner img { transform: scale(1.05); }

.ig-reel-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(13,32,71,0.82);
  color: var(--white);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

.ig-slide-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13,32,71,0.90) 0%, transparent 60%);
  padding: 24px 18px 18px;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.35s ease;
}

.ig-slide:hover .ig-slide-overlay { opacity: 1; transform: translateY(0); }

.ig-slide-meta { display: flex; flex-direction: column; gap: 6px; }

.ig-slide-likes {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--golden);
}

.ig-slide-caption {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

.ig-arrow {
  flex-shrink: 0;
  width: 46px; height: 46px;
  background: var(--navy);
  border: none;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  border-radius: 2px;
  z-index: 2;
}

.ig-arrow:hover { background: var(--golden); }

.ig-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.ig-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(13,32,71,0.20);
  cursor: pointer;
  transition: all 0.25s;
}

.ig-dot.active { background: var(--navy); width: 22px; border-radius: 3px; }

.btn-ig-main {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 48px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  border: 1.5px solid var(--navy);
  transition: all 0.3s;
  border-radius: 2px;
}

.btn-ig-main:hover { background: var(--golden); border-color: var(--golden); }

@media (max-width: 900px) {
  .instagram-section { padding: 70px 20px; }
  .ig-carousel-wrap { gap: 10px; }
  .ig-slide { flex: 0 0 240px; }
  .ig-slide.ig-slide-reel { flex: 0 0 210px; }
  .ig-slide.ig-slide-photo { flex: 0 0 250px; }
  .ig-slide-inner, .ig-slide.ig-slide-reel .ig-slide-inner { height: 320px; }
  .ig-arrow { width: 38px; height: 38px; font-size: 14px; }
}

@media (max-width: 540px) {
  .ig-slide { flex: 0 0 200px; }
  .ig-slide.ig-slide-reel { flex: 0 0 180px; }
  .ig-slide.ig-slide-photo { flex: 0 0 210px; }
  .ig-slide-inner, .ig-slide.ig-slide-reel .ig-slide-inner { height: 260px; }
  .ig-arrow { display: none; }
}

.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }

.fade-in.visible { opacity: 1; transform: translateY(0); }

.ig-photos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 240px 240px;
  gap: 6px;
}

.ig-tile { overflow: hidden; }

.ig-tile.ig-tile-tall { grid-row: span 2; }

.ig-tile-inner { position: relative; overflow: hidden; height: 100%; }

.ig-tile-inner img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform 0.5s ease; }

.ig-tile:hover .ig-tile-inner img { transform: scale(1.07); }

.ig-tile-overlay {
  position: absolute; inset: 0;
  background: rgba(13,32,71,0);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}

.ig-tile:hover .ig-tile-overlay { background: rgba(13,32,71,0.45); }

.ig-tile-overlay span {
  font-size: 13px; font-weight: 700; letter-spacing: 0.10em;
  color: var(--white); opacity: 0; transform: translateY(8px); transition: all 0.3s;
}

.ig-tile:hover .ig-tile-overlay span { opacity: 1; transform: translateY(0); }

.reels-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.reels-track::-webkit-scrollbar { display: none; }

.reel-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  cursor: pointer;
}

.reel-card-inner {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 9/16;
  background: var(--off-white-dark);
}

.reel-card-inner img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.reel-card:hover .reel-card-inner img { transform: scale(1.06); }

.reel-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,32,71,0.75) 0%, transparent 50%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: background 0.3s;
}

.reel-play {
  font-size: 32px; color: rgba(255,255,255,0.85);
  opacity: 0; transform: scale(0.7);
  transition: all 0.3s; margin-bottom: auto; margin-top: auto;
}

.reel-card:hover .reel-play { opacity: 1; transform: scale(1); }

.reel-meta {
  width: 100%; display: flex;
  justify-content: space-between; align-items: center;
  padding: 0 12px 12px;
}

.reel-badge {
  font-size: 8px; font-weight: 900; letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--white); background: rgba(13,32,71,0.70);
  padding: 4px 8px; border-radius: 2px;
}

.reel-likes { font-size: 11px; color: rgba(255,255,255,0.80); }

.reel-caption {
  margin-top: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--navy);
  text-align: center; padding: 0 4px;
}

.reel-arrows { display: flex; gap: 10px; }

.reel-arrow {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(13,32,71,0.25);
  background: transparent; color: var(--navy);
  font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s; border-radius: 50%;
}

.reel-arrow:hover { background: var(--golden); border-color: var(--golden); color: var(--white); }

.reel-dots {
  display: flex; gap: 8px;
  justify-content: center; margin-top: 20px;
}

.reel-dot {
  width: 6px; height: 6px;
  border-radius: 50%; background: rgba(13,32,71,0.20);
  cursor: pointer; transition: all 0.25s;
}

.reel-dot.active { background: var(--navy); width: 20px; border-radius: 3px; }

@media (max-width: 900px) {
  .ig-photos-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px 180px; }
  .ig-tile.ig-tile-tall { grid-row: span 2; }
  .reel-card { flex: 0 0 160px; }
}

@media (max-width: 540px) {
  .ig-photos-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 150px 150px 150px; gap: 4px; }
  .reel-card { flex: 0 0 140px; }
}

.hero-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  padding: clamp(12px, 1.5vw, 18px) clamp(24px, 3vw, 48px) !important;
  font-size: clamp(9px, 1vw, 12px) !important;
  min-width: clamp(160px, 18vw, 240px) !important;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  align-items: stretch;
  flex-wrap: nowrap;
}

@media (max-width: 480px) {
  .hero-cta-btn {
    min-width: 140px !important;
    font-size: 8px !important;
    padding: 12px 18px !important;
    letter-spacing: 0.12em !important;
  }
  /* Stack the hero buttons vertically on phones — at 360 px viewport
     two side-by-side 200 px buttons + gap overflow the screen and crop
     "View Lookbook" to "VIEW LOO". Override the inline width:200px and
     let each button take the row. */
  .hero-cta-row {
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: wrap;
  }
  .hero-cta-row .btn-primary,
  .hero-cta-row .btn-outline-white {
    width: 100% !important;
    max-width: none !important;
  }
}

@media (max-width: 768px) {
  .product-card { border-radius: 8px; overflow: hidden; }
  .product-card-body { padding: 14px 0 0 0; background: var(--off-white); }
  .product-card-label { padding: 0 14px; }
  .product-card-name { padding: 0 14px; }
  .product-card-price { padding: 0 14px; }

  /* Trending card layout fix */
  .trend-card { flex: 0 0 200px; }
  .trend-card-body { padding: 12px 0 0 0; }
  .trend-tag { padding: 0 12px; }
  .trend-name { padding: 0 12px; }
  .trend-price { padding: 0 12px; }

  .product-card-actions,
  .trend-card-actions,
  .featured-hero-actions {
    display: flex !important;
    gap: 0 !important;
    width: 100% !important;
    margin-top: 12px;
    padding: 0 !important;
  }

  /* font-size 11px, height = 2.4 × 11px = 26.4px → use line-height trick */
  .btn-cart, .btn-buy, .btn-cart-dark, .btn-buy-dark {
    flex: 0 0 50% !important;
    width: 50% !important;
    font-size: 8.8px !important;
    font-weight: 900;
    letter-spacing: 0.08em;
    height: calc(8.8px * 3) !important;
    line-height: calc(8.8px * 3) !important;
    padding: 0 4px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 24px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .sigma-edit-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-card-img-wrap img { min-height: 200px; }
}

@media (max-width: 768px) {
  .product-card { display: flex; flex-direction: column; }
  .product-card-body { flex: 1; display: flex; flex-direction: column; }
  .product-card-actions { margin-top: auto !important; }

  .trend-card { display: flex; flex-direction: column; }
  .trend-card-body { flex: 1; display: flex; flex-direction: column; }
  .trend-card-actions { margin-top: auto !important; }
}

/* ─────────────────────────────────────────────────────────────────
   Phase 5D — Accessibility critical (2026-04-28).
   The pre-cutover audit scored accessibility 4/10 against WCAG 2.1 AA.
   Global rules below address focus visibility, motion sensitivity,
   contrast, and skip-to-content. Page-by-page semantic conversions
   (clickable div → button, <main> landmarks) come in 5D2.
   ────────────────────────────────────────────────────────────────── */

/* Global focus-visible. Brand golden so the ring reads as design,
   not system error. WCAG 2.4.7. */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--golden);
  outline-offset: 2px;
  border-radius: 2px;
}
.btn-primary:focus-visible,
.btn-outline-white:focus-visible,
.btn-cart:focus-visible,
.btn-buy:focus-visible,
.btn-cart-dark:focus-visible,
.btn-buy-dark:focus-visible,
.btn-nav:focus-visible {
  outline: 2px solid var(--golden);
  outline-offset: 3px;
}

/* prefers-reduced-motion. The site has three named keyframe animations
   (ticker, scrollPulse, hero scale-on-hover) and many transitions —
   collapse all of them for users with the OS-level setting on. WCAG 2.3.3. */
@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;
  }
}

/* Skip-to-content link. Visually hidden by default; appears on keyboard
   focus. Sits as the first child of <body> on every page so keyboard
   users can jump past the nav. WCAG 2.4.1. */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 9999;
  background: var(--navy);
  color: var(--golden);
  padding: 12px 20px;
  font-family: 'FlatLevelRegular', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  transition: top 0.16s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 0;
  outline: 2px solid var(--golden);
  outline-offset: -2px;
}

/* Contrast fixes flagged in the design audit. WCAG 1.4.3 minimum is 4.5:1.
   Three rules failed:
     .faq-hero-sub             0.50 → 3.6:1 (FAIL)
     .footer-bottom p          0.45 → 3.2:1 (FAIL)
     .footer-socials a         0.45 → 3.2:1 (FAIL)
   Bumping to 0.78 lifts each above the 4.5:1 threshold. */
.faq-hero-sub          { color: rgba(255, 255, 255, 0.78) !important; }
.footer-bottom p       { color: rgba(255, 255, 255, 0.78) !important; }
.footer-socials a      { color: rgba(255, 255, 255, 0.78) !important; }
.footer-socials a:hover{ color: var(--golden) !important; }
