[hidden] { display: none !important; }
html { scroll-padding-top: 60px; }
body { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
button:focus-visible, a:focus-visible, [role="button"]:focus-visible, input:focus-visible { outline: 2px solid #d8ab73; outline-offset: 4px; }
.reveal-item { opacity: 1; transform: none; }
.has-reveals .reveal-item:not(.is-visible) { opacity: 0; transform: translateY(35px); }
.hero-video { inset: 0; width: 100%; height: 100%; min-width: 0; min-height: 0; transform: none; }
.hero-container { width: 100%; }
.mobile-menu-button { display: none; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #ffffff12; }
.mobile-menu-button svg { width: 16px; height: 16px; }
.mobile-menu { position: fixed; inset: 40px 0 auto; z-index: 60; padding: 18px 24px; background: #101116; border-bottom: 1px solid #ffffff20; box-shadow: 0 20px 45px #0008; }
.mobile-menu a { display: block; padding: 14px 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
#productModal, #cartDrawer { overflow: hidden; }
#modalBox { max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; }
#modalBox > button { z-index: 3; }
.size-button { width: 44px; height: 44px; border: 1px solid #d4d4d8; border-radius: 8px; font-weight: 700; font-size: 12px; }
.size-button[aria-pressed="true"] { background: #0b0c10; color: #fff; border: 2px solid #0b0c10; }
#drawerPanel { height: 100dvh; gap: 20px; padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom)); }
#drawerPanel > div:first-child { display: flex; flex-direction: column; min-height: 0; flex: 1; }
#cartList { flex: 1; min-height: 0; overscroll-behavior: contain; }
.cart-line { padding: 20px 0; display: grid; grid-template-columns: 64px 1fr; gap: 14px; }
.cart-line img { width: 64px; height: 80px; object-fit: contain; background: #fff; border-radius: 8px; }
.cart-line h5 { font-size: 12px; text-transform: uppercase; margin: 0 0 6px; font-weight: 700; }
.cart-line p { font-size: 11px; color: #a1a1aa; margin: 4px 0; }
.cart-controls { display: flex; gap: 12px; align-items: center; margin-top: 10px; }
.quantity-button { width: 28px; height: 28px; border: 1px solid #ffffff30; border-radius: 6px; color: #fff; }
.remove-button { margin-left: auto; color: #b4b4bd; font-size: 11px; text-decoration: underline; }
.bag-empty { padding: 40px 0; color: #a1a1aa; line-height: 1.8; font-size: 13px; }
.newsletter-consent { display: flex; justify-content: center; align-items: flex-start; gap: 9px; max-width: 440px; margin: 14px auto 0; font-size: 11px; color: #a1a1aa; line-height: 1.7; }
.newsletter-consent input, .checkout-consent input { flex-shrink: 0; margin-top: 4px; width: 16px; height: 16px; accent-color: #d8ab73; }
.newsletter-consent button, .checkout-consent button { text-decoration: underline; }
.form-status { min-height: 20px; font-size: 12px; line-height: 1.6; }
.form-error, .form-status.error { color: #ef4444; font-size: 12px; line-height: 1.6; }
.form-error:empty { display: none; }
.form-status.success { color: #73ac88; }
.checkout-overlay, .policy-overlay { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 130; }
.policy-overlay { z-index: 140; }
.overlay-shade { position: absolute; inset: 0; background: #000b; backdrop-filter: blur(16px); }
.checkout-box, .policy-box { position: relative; width: 100%; max-width: 740px; max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain; background: #fff; color: #111; padding: 36px; border-radius: 24px; box-shadow: 0 25px 80px #0008; }
.policy-box { max-width: 640px; }
.checkout-box h2, .policy-box h2 { font-size: 32px; font-weight: 800; margin: 8px 44px 16px 0; }
.checkout-box h3 { font-size: 24px; font-weight: 700; margin: 20px 0 12px; }
.overlay-close { position: absolute; right: 18px; top: 18px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: #f4f4f5; border-radius: 50%; }
.overlay-close svg { width: 18px; height: 18px; }
.eyebrow { font-size: 10px; letter-spacing: .2em; color: #71717a; }
.checkout-intro, #policyContent p, #checkoutSuccess p { font-size: 13px; line-height: 1.8; color: #52525b; margin-bottom: 16px; }
.checkout-summary { background: #f4f4f5; border-radius: 12px; padding: 16px; margin: 20px 0; font-size: 12px; line-height: 1.8; }
.checkout-summary p { margin: 4px 0; }
.checkout-summary strong { display: block; margin-top: 12px; }
.checkout-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkout-fields label { font-size: 11px; font-weight: 600; display: flex; flex-direction: column; gap: 7px; }
.checkout-fields input { border: 1px solid #d4d4d8; border-radius: 8px; padding: 11px 12px; width: 100%; min-width: 0; color: #18181b; background: #fff; font-size: 14px; }
.full-field { grid-column: 1 / -1; }
.checkout-consent { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 7px; font-size: 11px; margin: 20px 0 12px; line-height: 1.7; }
.primary-button { display: block; width: 100%; background: #111; color: #fff; border: 0; border-radius: 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; padding: 16px; margin-top: 14px; }
footer > div > div:last-child { flex-wrap: wrap; justify-content: center; row-gap: 18px; }
footer button { text-transform: uppercase; }
#toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); padding: 13px 20px; width: max-content; max-width: calc(100% - 32px); background: #fff; color: #111; border-radius: 12px; box-shadow: 0 8px 30px #0005; z-index: 150; font-size: 12px; }
@media (max-width: 767px) {
  .mobile-menu-button { display: flex; }
  .hero-container { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 24px; height: 100svh; min-height: 560px; padding-bottom: 40px; }
  .hero-container > div.relative { max-width: 100%; }
  .hero-container .inline-flex { flex-wrap: wrap; font-size: 9px; }
  #studio > div:first-child > div:last-child { flex-wrap: wrap; gap: 4px; justify-content: center; border-radius: 18px; }
  #studio [data-color] { flex: 1; padding-left: 13px; padding-right: 13px; min-width: 65px; }
  #studio > div:nth-child(2) { padding: 24px; gap: 24px; }
  #studio > div:nth-child(2) > div:first-child { padding: 20px; }
  #studio h4 { font-size: clamp(23px, 7vw, 32px); overflow-wrap: anywhere; }
  #labBadge { font-size: 9px; max-width: 100%; }
  #modalBox { padding: 22px; border-radius: 20px; }
  #modalBox > button { top: 10px; right: 10px; }
  #modalBox > div > div:first-child { max-height: 34dvh; aspect-ratio: auto; min-height: 180px; }
  #modalBox > div > div:first-child img { height: 100%; max-height: 28dvh; }
  #mTitle { padding-right: 24px; font-size: 24px; }
  #mTag { display: inline-block; max-width: 100%; font-size: 9px; }
  #modalBox .grid-cols-3 { gap: 6px; }
  #modalBox .grid-cols-3 > div { padding: 8px 4px; }
  #mMaterial, #mFit { font-size: 11px; }
  #sizeguide th { padding-right: 15px; white-space: nowrap; }
  footer > div > div:first-child { flex-wrap: wrap; justify-content: center; }
  .checkout-overlay, .policy-overlay { padding: 12px; }
  .checkout-box, .policy-box { max-height: calc(100dvh - 24px); padding: 24px 20px; border-radius: 20px; }
  .checkout-fields { grid-template-columns: 1fr; }
  .checkout-fields input { font-size: 16px; }
  #cursorGlow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .has-reveals .reveal-item:not(.is-visible) { opacity: 1; transform: none; }
  .type-cursor { display: none; }
}
