@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-variable.ttf") format("truetype");
}
:root {
  --paper: #fff;
  --ink: #20201e;
  --red: #a32b20;
  --stone: #d9d9d4;
  --tile: #f4f4f1;
  --muted: #595952;
  --white: #fff;
  --control-edge: #aaa9a3;
  --line: 1px solid var(--stone);
  --sans: Figtree, Arial, sans-serif;
  --ease: ease-out;
  --gutter: clamp(16px, 4vw, 72px);
  --header-h: 76px;
  --bar-h: 31px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
button:disabled { cursor: default; }
img, svg { max-width: 100%; }
img { display: block; }
button svg, a svg { width: 20px; height: 20px; flex: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--sans); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.65rem); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.container { width: min(calc(100% - 2 * var(--gutter)), 1520px); margin-inline: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 46px; padding: 12px 22px; font: 650 14px/1.25 var(--sans); border: 1px solid var(--ink); border-radius: 2px; text-align: center; }
.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover { background: #393936; }
.btn-outline:hover { background: var(--paper); }
.text-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-weight: 600; font-size: .88rem; text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: var(--red); }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px 18px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; position: relative; }
.skip { position: fixed; top: 5px; left: 8px; padding: 10px 18px; background: white; z-index: 100; transform: translateY(-160%); }
.skip:focus { transform: none; }
[data-site-header] { position: sticky; top: calc(-1 * var(--bar-h)); z-index: 25; }
.announcement { min-height: var(--bar-h); display: grid; place-items: center; padding: 4px 12px; color: white; background: var(--ink); text-align: center; font-size: 12px; letter-spacing: .02em; }
.masthead { position: relative; background: white; border-bottom: var(--line); }
.mast-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-inline: var(--gutter); max-width: 1700px; margin: auto; height: var(--header-h); }
.is-scrolled .mast-inner { height: 60px; }
.brand-home { display: flex; align-items: center; width: clamp(112px,9.4vw,142px); flex: none; min-height: 44px; }
.wordmark { width: 100%; height: auto; }
.compact-mark { display: none; }
.desktop-nav, .mast-tools, .size-chip { display: flex; align-items: center; }
.desktop-nav { gap: clamp(12px,1.4vw,24px); font-size: 14px; }
.desktop-nav a, .mega-grid a, .mega-grid button, .mobile-menu nav a, .mobile-secondary a { display: flex; align-items: center; min-height: 44px; }
.desktop-nav > a { font-weight: 600; white-space: nowrap; }
.desktop-nav a:hover, .mega-grid a:hover, .mobile-menu a:hover { text-decoration: underline; text-underline-offset: 4px; }
.size-chip { border: var(--line); border-radius: 4px; margin-right: 7px; }
.size-chip button { min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 4px 10px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.size-chip svg { width: 16px; height: 16px; }
.size-chip [data-clear-size] { padding: 4px 6px; border-left: var(--line); }
.tool-count { position: absolute; top: 2px; right: 1px; min-width: 16px; height: 16px; border-radius: 50%; background: var(--ink); color: white; font: 650 10px/16px var(--sans); text-align: center; }
.nav-mobile { display: none; }
.mega { position: absolute; top: 100%; width: 100%; background: white; border-bottom: var(--line); box-shadow: 0 10px 20px #0001; }
.mega-grid { display: grid; grid-template-columns: repeat(4,1fr) 1.25fr; gap: 30px; padding-block: 24px; }
.mega-grid a, .mega-grid button { padding: 0; font-size: 14px; }
.mega-grid .mega-title { font-size: 17px; font-weight: 700; border-bottom: var(--line); }
.mega-sizes { display: grid; grid-template-columns: 1fr 1fr; }
.mega-grid .mega-tile { display: block; }
.mega-tile img { width: 100%; height: 170px; object-fit: contain; background: var(--tile); }
.mega-tile span { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-weight: 600; }
.mobile-menu { margin: 0 auto 0 0; width: min(100%,430px); max-width: 100%; height: 100dvh; max-height: 100dvh; border: 0; color: var(--ink); background: white; padding: 18px 24px; overscroll-behavior: contain; }
.mobile-menu::backdrop { background: #18181680; }
.mobile-menu-head, .mobile-all { display: flex; align-items: center; justify-content: space-between; }
.mobile-all { margin-top: 16px; min-height: 54px; border-block: var(--line); font-weight: 700; }
.mobile-menu nav, .mobile-sizes { display: grid; grid-template-columns: 1fr 1fr; }
.mobile-menu h2 { font-size: 22px; margin: 20px 0 10px; }
.mobile-sizes { grid-template-columns: repeat(3,1fr); gap: 5px; }
.mobile-sizes a { display: grid; place-items: center; min-height: 44px; border: var(--line); }
.mobile-size { min-height: 50px; padding: 0; font-size: .9rem; }
.mobile-secondary { display: flex; gap: 15px; border-top: var(--line); font-size: 14px; }
body:has(dialog[open]) { overflow: hidden; }
[data-site-footer] { background: var(--ink); color: white; }
.footer-inner { display: grid; grid-template-columns: 1.7fr repeat(3,1fr); gap: 32px; padding-block: 54px 35px; }
.footer-inner h2 { font-size: 16px; font-weight: 650; margin-bottom: 12px; letter-spacing: 0; }
.footer-brand img { width: 198px; height: auto; }
.footer-brand p { max-width: 30ch; font-size: 14px; margin: 20px 0 8px; color: #d7d7d2; }
.footer-inner > div > a:not(:has(img)), .footer-base a { display: flex; align-items: center; min-height: 44px; font-size: 14px; }
.footer-base { display: flex; align-items: center; gap: 18px; border-top: 1px solid #54544e; min-height: 62px; font-size: 12px; }
.footer-base a { margin-left: auto; }
[data-site-footer] a:focus-visible { outline-color: white; }
[data-site-footer] a:hover { text-decoration: underline; }
@media (max-width: 1179px) {
  .desktop-nav, .mega { display: none; }
  .nav-mobile { display: inline-flex; }
  .mast-inner { gap: 10px; justify-content: flex-start; }
  .mast-tools { margin-left: auto; }
}
@media (max-width: 799px) {
  :root { --header-h: 62px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 12px; }
  .footer-inner { grid-template-columns: repeat(3,1fr); }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 600px) {
  .mast-inner { padding: 0 6px; gap: 2px; }
  .brand-home { width: clamp(80px,23vw,100px); }
  .size-chip { margin: 0; }
  .size-chip button { padding-inline: 6px; }
  .size-chip button:first-child svg, .account-tool, .wish-tool { display: none; }
  .mast-inner:has([data-clear-size]:not([hidden])) .brand-home { width: 44px; }
  .mast-inner:has([data-clear-size]:not([hidden])) .wordmark { display: none; }
  .mast-inner:has([data-clear-size]:not([hidden])) .compact-mark { display: block; }
  .footer-inner { grid-template-columns: repeat(2,1fr); gap: 24px; }
}
@media (prefers-reduced-motion: no-preference) {
  .mast-inner { transition: height 150ms ease-out; }
  .mobile-menu[open] { animation: menu-in 180ms ease-out; }
  @keyframes menu-in { from { transform: translateX(-100%); } }
}
