/* East Pace — simplified, accessible stylesheet for index2.html.
   Body text 16px; nothing below 14px; text contrast at least 4.5:1. */
:root{
  --ink:#1f231d; --text:#3d4238; --muted:#5b6055; --line:#dcded5; --paper:#fafaf7;
  --panel:#f0f1ea; --orange:#c8441d; --orange-bright:#ed592f; --focus:#1a5fd0;
  --radius:8px; --font:"DM Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:20px}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
body{margin:0;background:var(--paper);color:var(--text);font:400 16px/1.6 var(--font)}
h1,h2,h3,h4,p{margin:0}
h1,h2,h3{color:var(--ink);line-height:1.2;letter-spacing:-.01em}
a{color:inherit}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;background:none;border:0;padding:0}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:4px}
img{max-width:100%;display:block}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:12px;top:-60px;background:var(--ink);color:#fff;padding:10px 16px;border-radius:6px;z-index:10}
.skip-link:focus{top:12px}
header,main,footer{max-width:1320px;margin:0 auto;padding:0 24px}

/* Buttons */
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;border-radius:6px;font-weight:600;font-size:15px;text-decoration:none;border:1px solid transparent}
.dark{background:var(--ink);color:#fff}
.dark:hover{background:var(--orange)}
.outline{border-color:#b9bdb0;background:#fff}
.outline:hover,.outline[aria-pressed=true]{border-color:var(--ink)}
.text-button{color:var(--orange);font-weight:600;font-size:15px;text-decoration:underline;text-underline-offset:3px}

/* Header */
.header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:80px}
.logo{display:flex;align-items:center;gap:10px;font-size:26px;font-weight:800;letter-spacing:-.04em;color:var(--ink);text-decoration:none}
.logo>span:not(.logo-mark){font-weight:400}
.logo-mark{display:grid;place-items:center;width:32px;height:32px;background:var(--orange-bright);color:#fff;font-size:24px;letter-spacing:0}
.header nav{display:flex;gap:28px;align-items:center;font-size:16px;font-weight:500}
.header nav a{text-decoration:none}
.header nav a:hover,.nav-link:hover{color:var(--orange)}

/* Hero */
.hero{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center;background:var(--panel);border-radius:var(--radius);overflow:hidden;margin-top:8px}
.hero-copy{padding:48px}
.hero h1{font-size:clamp(34px,4vw,52px);font-weight:800;letter-spacing:-.03em;margin-bottom:16px}
.hero-copy p{font-size:18px;max-width:34em;margin-bottom:28px}
.hero-image{width:100%;height:100%;min-height:340px;max-height:440px;object-fit:cover;object-position:center 62%}

/* Brands */
.brands{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:28px 0;border-bottom:1px solid var(--line)}
.brands h2{font-size:17px;font-weight:600}
.brand-list{display:flex;flex-wrap:wrap;gap:10px}
.brand-list button{min-height:44px;padding:8px 18px;border:1px solid var(--line);border-radius:999px;background:#fff;font-weight:600;font-size:16px;color:var(--ink)}
.brand-list button:hover{border-color:var(--ink)}

/* Directory */
.explore{padding-top:40px}
.explore>h2{font-size:32px;margin-bottom:24px}
.directory{display:grid;grid-template-columns:260px minmax(0,1fr);gap:40px;align-items:start}
.filter-heading{display:flex;justify-content:space-between;align-items:center;padding-bottom:12px;border-bottom:1px solid var(--line)}
.filter-heading h3{font-size:19px}
#filter-form>.check{margin:14px 0}
details{border-bottom:1px solid var(--line)}
summary{display:flex;justify-content:space-between;align-items:center;min-height:52px;font-weight:600;font-size:16px;color:var(--ink);cursor:pointer;list-style:none}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-size:22px;font-weight:400;color:var(--muted)}
details[open] summary::after{content:"−"}
fieldset{border:0;margin:0;padding:0 0 16px;min-width:0}
.check{display:flex;align-items:center;gap:10px;font-size:15px;margin:10px 0;cursor:pointer}
.check input{width:20px;height:20px;margin:0;accent-color:var(--orange);flex:none}
.check span{margin-left:auto;color:var(--muted);font-size:14px}
.check input:disabled,.check input:disabled~*{opacity:.55}
.check:has(input:disabled){color:var(--muted);cursor:default}
.hint{font-size:14px;color:var(--muted);margin-top:8px;line-height:1.5}
.range-heading{display:flex;justify-content:space-between;font-size:15px}
.range-heading output{font-weight:600;color:var(--ink)}
input[type=range]{width:100%;accent-color:var(--orange);margin:10px 0 0}
select{min-height:44px;padding:8px 12px;border:1px solid #b9bdb0;border-radius:6px;background:#fff;font-size:15px}
#year{width:100%}

/* Results */
.search-row{display:flex;gap:12px}
.search{flex:1}
.search input{width:100%;min-height:48px;padding:10px 16px;border:1px solid #b9bdb0;border-radius:6px;background:#fff;font-size:16px}
.search-row select{min-width:170px}
.mobile-filter{display:none}
.results-meta{margin:18px 0 12px;font-size:16px;color:var(--muted)}
.results-meta strong{color:var(--ink)}
#active-filters{display:flex;gap:8px;flex-wrap:wrap}
#active-filters:not(:empty){margin-bottom:16px}
.filter-chip{min-height:36px;padding:6px 14px;border:1px solid #e3b6a5;background:#fff3ec;color:#8e3517;border-radius:999px;font-size:14px;font-weight:500}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}
.card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:box-shadow .2s}
.card:hover{box-shadow:0 6px 20px #1f231d14}
.card-image{position:relative;height:220px;background:#f0f0ed;overflow:hidden}
.image-open{width:100%;height:100%}
.card-image img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.card-image.photo img{object-fit:cover;mix-blend-mode:normal;object-position:center 65%}
.card-image.lining-image img{object-fit:cover;object-position:50% 78%;height:430%;position:absolute;left:0;top:-247%}
.card-label{display:none}
.save{position:absolute;right:10px;top:10px;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#ffffffe6;font-size:22px;color:var(--ink)}
.save[aria-pressed=true]{color:var(--orange)}
.card-body{display:flex;flex-direction:column;flex:1;padding:16px 18px 0}
.card-brand{font-size:14px;font-weight:600;color:var(--muted)}
.card-title{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:2px 0 12px}
.card-title :is(button,a){text-align:left;font-size:21px;font-weight:700;color:var(--ink);line-height:1.25}
.card-title :is(button,a):hover{color:var(--orange)}
.card-title>span{font-size:14px;color:var(--muted);white-space:nowrap}
.tags{display:flex;flex-wrap:wrap;gap:6px}
.tag{font-size:14px;font-weight:500;padding:4px 10px;border-radius:4px;background:#eef1e8;color:#3f5230}
.tag.race{background:#fbeee4;color:#7d3e1c}
.tag.distance{background:#e7edf8;color:#2c4677}
.specs{display:flex;flex-wrap:wrap;gap:6px 16px;margin:14px 0;font-size:15px;color:var(--text)}
.specs b{font-weight:600;color:var(--ink)}
.specs span{color:var(--muted)}
.card-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding:12px 0 14px;border-top:1px solid #eceee6}
.colours{display:flex;align-items:center;gap:6px}
.swatch{width:22px;height:22px;border-radius:50%;border:1px solid #0003}
.swatch.selected{outline:2px solid var(--ink);outline-offset:2px}
.colours small{font-size:14px;color:var(--muted);margin-left:4px}
.video-count{color:#2c4677!important;margin-left:10px!important}
.detail-link{font-size:15px;font-weight:600;min-height:44px;padding:0 4px;text-decoration:underline;text-underline-offset:3px}
.detail-link:hover{color:var(--orange)}
.catalogue-note{font-size:15px;color:var(--muted);text-align:center;max-width:46em;margin:32px auto 0}
.empty{grid-column:1/-1;text-align:center;padding:64px 20px;border:1px dashed #b9bdb0;border-radius:var(--radius)}
.empty h3{font-size:20px}.empty p{margin:10px 0 20px}

.colours small:not(.video-count){display:none}
.video-count{white-space:nowrap;font-size:14px}
.detail-link{white-space:nowrap}

/* Fit */
.fit-section{display:grid;grid-template-columns:1fr 1.15fr;gap:48px;margin:64px 0 48px;padding:40px;background:var(--panel);border-radius:var(--radius)}
.fit-intro h2{font-size:30px;margin-bottom:12px}
.fit-intro p{margin-bottom:20px;max-width:30em}
.report{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px;margin-bottom:12px}
.report-header{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px;font-size:16px}
.report-header strong{color:var(--ink)}
.report-header span{font-size:14px;font-weight:600;color:var(--muted);letter-spacing:.03em}
.fit-sizes{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px}
.fit-sizes small{display:block;font-size:14px;color:var(--muted)}
.fit-sizes strong{font-size:17px;color:var(--ink)}
.arrow{font-size:20px;color:var(--orange)}
.fit-result{margin-left:auto;font-weight:600;color:#2f6236}
.report-note{font-size:15px;color:var(--muted);margin-top:10px}

/* Footer */
footer{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;padding-top:28px;padding-bottom:40px;border-top:1px solid var(--line)}
footer .logo{font-size:21px}
footer .logo-mark{width:26px;height:26px;font-size:20px}
footer p{font-size:15px;color:var(--muted)}

/* Dialog */
dialog{width:min(720px,calc(100% - 24px));max-height:90vh;padding:36px;border:0;border-radius:12px;background:var(--paper);color:var(--text);box-shadow:0 20px 80px #0004}
dialog::backdrop{background:#171d19a6}
.close{position:sticky;top:0;float:right;margin:-16px -16px 0 0;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#fff;font-size:20px;z-index:2}
dialog .eyebrow{font-size:14px;font-weight:600;color:var(--muted);letter-spacing:.02em;text-transform:none}
dialog h2{font-size:32px;margin:6px 0 16px}
dialog h3{font-size:19px;margin:24px 0 8px}
dialog p{margin:12px 0;font-size:16px}
.detail-image{width:100%;height:260px;object-fit:contain;background:#eeeee9;border-radius:var(--radius);margin-bottom:12px}
.detail-image.photo{object-fit:cover;object-position:center 65%}
dialog .tags{margin:12px 0}
.detail-specs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}
.detail-specs div{background:var(--panel);border-radius:6px;padding:12px 14px}
.detail-specs small{display:block;font-size:14px;color:var(--muted)}
.detail-specs strong{font-size:18px;color:var(--ink)}
.distance-guide{background:var(--panel);border-radius:var(--radius);padding:20px;margin:20px 0}
.distance-guide h3{margin:6px 0 4px}
.distance-guide .scores{grid-template-columns:repeat(4,1fr);margin:14px 0}
.distance-guide .scores div{background:#fff}
.subjective{font-size:15px!important;color:var(--muted)}
.distance-guide a,.runner-notes a{font-weight:600;color:var(--orange)}
.video-reviews{margin:24px 0}
.video-reviews ul{list-style:none;padding:0;margin:10px 0}
.video-reviews li a{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;padding:12px 0;border-bottom:1px solid var(--line);text-decoration:none;font-size:16px}
.video-reviews li a:hover span{color:var(--orange)}
.video-reviews strong{min-width:150px;color:var(--ink)}
.video-reviews .fav{color:var(--orange);min-width:0}
.video-reviews small{font-size:14px;color:var(--muted)}
.research-note{border-left:3px solid var(--line);padding-left:16px;margin:20px 0}
.research-note p{font-size:15px;color:var(--muted);margin:8px 0}
.modal-links{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.runner-notes{background:#f4f1ea;border-radius:var(--radius);padding:18px;margin:20px 0}
.sources{margin-top:24px}
.sources a{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:15px;text-decoration:none}
.sources a:hover{color:var(--orange)}
.sources p{font-size:15px;color:var(--muted)}
.sources small{display:block;margin-top:10px;font-size:14px;color:var(--muted)}
.sizing-form{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}
.sizing-form label{display:flex;flex-direction:column;gap:6px;font-size:15px;font-weight:600;color:var(--ink)}
.sizing-form input,.sizing-form select,.sizing-form textarea{width:100%;min-height:44px;padding:10px 12px;border:1px solid #b9bdb0;border-radius:6px;background:#fff;font-size:16px;font-weight:400}
.sizing-form textarea{min-height:90px;resize:vertical}
.sizing-form .full{grid-column:1/-1}
.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);padding:14px 22px;background:var(--ink);color:#fff;border-radius:8px;font-size:15px;opacity:0;pointer-events:none;transition:.2s;z-index:20}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* Responsive */
@media (max-width:1000px){
  .directory{grid-template-columns:220px minmax(0,1fr);gap:28px}
  .hero-copy{padding:36px}
  .fit-section{grid-template-columns:1fr;gap:28px;padding:28px}
}
@media (max-width:760px){
  header,main,footer{padding:0 16px}
  .header{flex-wrap:wrap;gap:12px;padding-top:12px;padding-bottom:12px}
  .header nav{order:3;width:100%;gap:22px}
  .hero{grid-template-columns:1fr;gap:0}
  .hero-copy{padding:28px 22px}
  .hero-image{min-height:220px;max-height:260px}
  .directory{display:block}
  #filters{display:none;margin-bottom:20px;padding:16px;background:var(--panel);border-radius:var(--radius)}
  #filters.open{display:block}
  .search-row{flex-wrap:wrap}
  .search{flex-basis:100%}
  .search-row select{flex:1;min-width:0}
  .mobile-filter{display:inline-flex;border:1px solid #b9bdb0;background:#fff}
  .cards{grid-template-columns:1fr}
  dialog{padding:24px 18px}
  .detail-specs{grid-template-columns:1fr 1fr}
  .distance-guide .scores{grid-template-columns:1fr 1fr}
  .sizing-form{grid-template-columns:1fr}
  .fit-result{margin-left:0}
}

/* Cards: no tags (they stay in the shoe details popup) */
.card .tags{display:none}
.card-title{margin-bottom:4px}

/* Cards: no "Explore shoe" link; image and name open the details. Show every colour. */
.card .detail-link{display:none}
.card-bottom{justify-content:flex-start}
.colours{flex-wrap:wrap;gap:8px}

/* Cards: 2026 badge on photo; drop only in specs; no video count */
.year-badge{position:absolute;left:12px;top:12px;padding:4px 10px;border-radius:4px;background:var(--ink);color:#fff;font-size:14px;font-weight:600;pointer-events:none}
.card .specs>div:nth-child(1),.card .specs>div:nth-child(3){display:none}
.card .video-count{display:none}

/* Smaller colour dots (larger invisible tap area), more vertical padding */
.card .swatch{position:relative;width:16px;height:16px}
.card .swatch::after{content:"";position:absolute;inset:-6px}
.card .swatch.selected{outline-width:1.5px;outline-offset:2px}
.card .colours{gap:10px}
.card-bottom{padding:18px 0 20px}

/* No favourites; year label top-right on the photo, year removed beside the name */
.card .save{display:none}
.year-badge{left:auto;right:12px;background:#fffffff0;color:var(--ink);border:1px solid var(--line)}
.year-badge.new{background:var(--ink);color:#fff;border-color:var(--ink)}
.card-title>span{display:none}

/* Cards: one-line summary replaces the drop line */
.card .specs{display:none}
.card-summary{font-size:15px;line-height:1.5;color:var(--text);margin:4px 0 16px}

/* Custom select arrow with comfortable padding */
select,.sizing-form select{-webkit-appearance:none;appearance:none;padding:10px 44px 10px 14px;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231f231d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:12px 8px;cursor:pointer}
select:hover{border-color:var(--ink)}
.search-row select{min-height:48px}

/* Brand: The Running Dragon logo (mark + wordmark) */
.logo{gap:10px;font-size:23px;font-weight:800;letter-spacing:-.035em;line-height:1;white-space:nowrap}
.logo-mark{display:block;width:36px;height:36px;background:none;flex:none}
.logo-word{color:var(--ink)}
.logo-the{font-weight:500;color:var(--muted);letter-spacing:-.02em}
footer .logo{font-size:19px}
footer .logo-mark{width:30px;height:30px;background:none}
@media (max-width:420px){.logo{font-size:20px}.logo-mark{width:32px;height:32px}}

/* Logo image: rounded corners */
img.logo-mark{width:40px;height:40px;border-radius:10px;object-fit:cover}
footer img.logo-mark{width:32px;height:32px;border-radius:8px}

/* Card layout switcher (mobile only): large, list, 2-column grid */
.results-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:18px 0 12px}
.results-bar .results-meta{margin:0}
.view-switch{display:none;gap:2px;padding:3px;border:1px solid #b9bdb0;border-radius:8px;background:#fff}
.view-switch button{display:grid;place-items:center;width:44px;height:38px;border-radius:5px;color:var(--muted)}
.view-switch button[aria-pressed=true]{background:var(--ink);color:#fff}
@media (max-width:760px){
  .view-switch{display:flex}
  .year-badge{font-size:14px}
  /* List: image left, details right */
  .cards.view-list{gap:12px}
  .cards.view-list .card{flex-direction:row;min-height:150px}
  .cards.view-list .card-image{width:128px;height:auto;flex:none}
  .cards.view-list .card-body{padding:12px 14px 0;min-width:0}
  .cards.view-list .card-title :is(button,a){font-size:18px}
  .cards.view-list .card-summary{margin:2px 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .cards.view-list .card-bottom{padding:8px 0 12px}
  .cards.view-list .year-badge,.cards.view-grid .year-badge{top:8px;right:8px;padding:2px 7px}
  /* Grid: two compact columns */
  .cards.view-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .cards.view-grid .card-image{height:140px}
  .cards.view-grid .card-body{padding:10px 10px 0}
  .cards.view-grid .card-title{margin:0 0 4px}
  .cards.view-grid .card-title :is(button,a){font-size:16px;line-height:1.25}
  .cards.view-grid .card-summary{font-size:14px;line-height:1.4;margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .cards.view-grid .card-bottom{padding:8px 0 10px}
  .cards.view-grid .colours{gap:8px}
}

/* Mobile filter sheet */
.sheet-close,.sheet-footer,.sheet-backdrop{display:none}
.filter-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--orange);color:#fff;font-size:14px;font-weight:700}
.filter-count[hidden]{display:none}
@media (max-width:760px){
  body.sheet-open{overflow:hidden}
  .sheet-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:29;background:#171d19a6}
  #filters.open{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:30;display:flex;flex-direction:column;height:88vh;height:88dvh;margin:0;padding:0;border-radius:16px 16px 0 0;background:var(--paper);box-shadow:0 -10px 40px #0003;animation:sheet-up .25s ease-out}
  #filters.open .filter-heading{flex:none;gap:16px;padding:14px 12px 14px 20px;border-bottom:1px solid var(--line)}
  #filters.open .filter-heading h3{margin-right:auto}
  #filters.open .sheet-close{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:var(--ink)}
  #filters.open .sheet-close:hover{background:var(--panel)}
  #filters.open #filter-form{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:0 20px 8px}
  #filters.open .sheet-footer{display:block;flex:none;padding:12px 20px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--paper)}
  #filters.open .sheet-footer .button{width:100%;min-height:50px;font-size:16px}
}
@keyframes sheet-up{from{transform:translateY(100%)}to{transform:none}}
@media (prefers-reduced-motion:reduce){#filters.open{animation:none}}

/* Shared shoe pages and community fit exchange */
[hidden]{display:none!important}
.shoe-page-shell{max-width:1000px;margin:0 auto;padding:36px 24px 80px}
.back-link,.full-page-link{display:inline-block;margin-bottom:28px;font-size:14px;font-weight:650;color:var(--ink)}
.shoe-page-shell h1{font-size:clamp(36px,6vw,68px);line-height:1.05;margin:12px 0 24px}
.shoe-page-shell .detail-image{height:420px;object-fit:contain}
.shoe-page-shell .detail-image.photo{object-fit:contain}
.fit-bank{margin-top:40px;border-top:1px solid #c9cdbf;padding-top:32px}
.fit-bank h2{font-size:clamp(28px,5vw,42px);margin:10px 0}
.fit-summary{background:#eef1e8;border:1px solid #d7ddcc;border-radius:12px;padding:22px;margin:24px 0 18px}
.fit-summary p{margin:8px 0;font-size:15px;line-height:1.6}
.fit-summary small,.fit-count{color:#59634e;font-size:13px;line-height:1.5}
.fit-filters{background:#fafbf7;padding:18px;border:1px solid #dde1d5;border-radius:12px}
.fit-results .report{margin:14px 0}
.fit-empty{padding:24px;border:1px dashed #bbc3ac;border-radius:10px;line-height:1.6}
.fit-pagination{display:flex;justify-content:space-between;gap:12px;margin-top:20px}
.comparison-row{position:relative;min-width:0;margin:26px 0;padding:20px;border:1px solid #ccd3bf;border-radius:12px;background:#fafbf7}
.comparison-row legend{font-size:17px;font-weight:700;padding:0 8px}
.comparison-row .sizing-form{margin-top:12px}
.remove-comparison{font-size:13px;display:block;margin-left:auto}
.form-error{color:#a22d20;font-weight:600}
.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.report-note{white-space:pre-wrap;overflow-wrap:anywhere}
.report-header strong,.fit-sizes small{overflow-wrap:anywhere}
button:disabled{opacity:.55;cursor:wait}
a.detail-link{text-decoration:none}
@media(max-width:600px){.shoe-page-shell{padding:24px 18px 60px}.shoe-page-shell .detail-image{height:250px}.comparison-row{padding:14px}.fit-filters{padding:14px}.fit-sizes{flex-wrap:wrap}.fit-summary{padding:16px}}

.fit-jump{display:block;margin:0 0 22px}.fit-bank{scroll-margin-top:24px}

.card-title a{text-decoration:none}

.fit-accordion-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left}
.fit-accordion-toggle::after{content:'+';font-size:24px;font-weight:400;line-height:1}
.fit-accordion-toggle[aria-expanded=true]::after{content:'−'}
.fit-accordion-panel{margin:0 0 24px;padding:24px;border:1px solid #ccd3bf;border-top:0;border-radius:0 0 12px 12px;background:#fff}
.fit-accordion-panel h3{font-size:24px;line-height:1.2;margin:8px 0 14px}
.fit-accordion-panel .comparison-row{background:#fafbf7}
.fit-intro:has(.fit-accordion-panel:not([hidden])){grid-column:1/-1}
@media(max-width:600px){.fit-accordion-panel{padding:16px 12px}}

.fit-filter-heading h3,.fit-summary h3{margin:6px 0 8px;font-size:24px;line-height:1.2}
.fit-filter-heading p{margin:0;font-size:14px;font-weight:400;line-height:1.6;color:#59634e}
.fit-filters{border-top:3px solid #bbc3ac}
.fit-trend{padding:12px 0;border-top:1px solid #d7ddcc}
.example-badge{display:inline-block;padding:3px 7px;border-radius:4px;background:#f6e7cb;color:#76531f;font-size:11px;font-weight:700;line-height:1.4;text-transform:uppercase;letter-spacing:.04em}
.report-header strong .example-badge{display:block;width:fit-content;margin-top:5px}

@media (min-width:1280px){
  #modal{width:960px}
}

/* Similar shoes (reviewer and community comparisons) */
.similar-shoes{margin:24px 0;padding:20px;background:var(--panel);border-radius:var(--radius)}
.similar-shoes ul{list-style:none;padding:0;margin:12px 0 4px}
.similar-shoes li{padding:14px 0;border-bottom:1px solid var(--line)}
.similar-shoes li:first-child{padding-top:4px}
.similar-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.similar-head strong{font-size:17px;color:var(--ink)}
.similar-kind{font-size:14px;font-weight:600;padding:2px 9px;border-radius:999px}
.similar-kind.feel{background:#fbeee4;color:#7d3e1c}
.similar-kind.compared{background:#e7edf8;color:#2c4677}
.similar-shoes li p{margin:6px 0 4px!important;font-size:15px!important}
.similar-shoes small{font-size:14px;color:var(--muted)}
.similar-shoes small a{color:var(--orange);font-weight:600}
.similar-shoes .subjective{margin:12px 0 0!important}

/* Shoe section menu (sticky inside the popup and on the full page) */
.shoe-nav{position:sticky;top:0;z-index:1;display:flex;align-items:center;gap:4px;margin:0 0 18px;padding:8px 52px 8px 0;background:var(--paper);border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none;white-space:nowrap}
.shoe-nav::-webkit-scrollbar{display:none}
.shoe-nav button,.shoe-nav-full{flex:none;min-height:36px;padding:6px 12px;border-radius:999px;font-size:14px;font-weight:600;color:var(--ink);text-decoration:none}
.shoe-nav button:hover{background:var(--panel)}
.shoe-nav-full{margin-left:auto;color:var(--muted);font-weight:500;text-decoration:underline;text-underline-offset:3px}
.shoe-nav-full:hover{color:var(--orange)}
[data-section]{scroll-margin-top:64px}
dialog .eyebrow+h2{margin-top:4px}
@media (max-width:760px){.shoe-nav{padding-right:48px}}
dialog .shoe-nav.is-stuck{box-shadow:0 -40px 0 var(--paper)}

/* Size behind each reference weight */
.detail-specs .spec-sub{display:block;margin-top:4px;font-size:14px;color:var(--muted);line-height:1.35}
.spec-note{font-size:14px!important;color:var(--muted)!important;margin:-8px 0 16px!important}

/* Section titles that match the shoe menu */
.section-title{margin:36px 0 12px!important;font-size:24px!important;font-weight:800;letter-spacing:-.02em;color:var(--ink)}
.section-title:focus:not(:focus-visible){outline:none}
.fit-bank .section-title{margin-top:0!important}
.fit-bank .fit-lead{margin:6px 0 10px;font-size:clamp(24px,4vw,34px);font-weight:800;letter-spacing:-.02em;line-height:1.15;color:var(--ink)}
.distance-guide,.similar-shoes,.video-reviews{margin-top:0}
.sources .section-title{margin-top:36px!important}

/* Align the full-page link with the content edge; reserve close-button space only while sticky. */
.shoe-nav{padding-right:0}
.shoe-nav-full{padding-right:0}
dialog .shoe-nav.is-stuck{padding-right:52px}
#modal:focus{outline:none}

/* Keep popup actions together above the section menu. */
.modal-actions{position:sticky;top:0;z-index:3;display:flex;justify-content:flex-end;align-items:center;gap:16px;min-height:44px;margin:-16px -16px 12px 0;background:var(--paper)}
.modal-actions .close{position:static;float:none;margin:0;flex:none}
.modal-full-page{font-size:14px;font-weight:500;color:var(--muted);text-underline-offset:3px;white-space:nowrap}
.modal-full-page:hover{color:var(--orange)}
dialog .shoe-nav{top:56px}
dialog .shoe-nav.is-stuck{padding-right:0}

/* Compact colour choices directly beneath the product image. */
.detail-colourways{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 20px}
.detail-colourway{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:6px 10px;border:1px solid transparent;border-radius:6px;font-size:13px;line-height:1.3;color:var(--muted);background:transparent}
.detail-colourway:hover{background:var(--panel);color:var(--ink)}
.detail-colourway[aria-pressed=true]{border-color:#b9bdb0;background:var(--panel);color:var(--ink)}
.colourway-chip{width:14px;height:14px;flex:none;border:1px solid #0003;border-radius:50%}

/* Product overview: gallery beside the title and description on desktop popups. */
.shoe-overview-title{margin-bottom:20px}
.shoe-overview-gallery,.shoe-overview-copy,.shoe-overview-title{min-width:0}
#modal .shoe-overview-gallery .detail-image{object-fit:contain}
@media(min-width:1024px){
 .shoe-overview{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-areas:"gallery title" "gallery copy";column-gap:28px;align-items:start;grid-template-rows:auto 1fr;margin-top:24px}
 .shoe-overview-title{grid-area:title;margin:8px 0 0}
 .shoe-overview-gallery{grid-area:gallery}
 .shoe-overview-copy{grid-area:copy}
 #modal .shoe-overview-title h2{font-size:34px;line-height:1.1;margin:8px 0 16px}
 #modal .shoe-overview-copy p{margin-top:0;line-height:1.65}
 #modal .shoe-overview-gallery .detail-image{height:320px}
 .shoe-overview-gallery .detail-colourways{margin-bottom:0}
}

.shoe-overview-title{padding:0;margin-left:0;margin-right:0;max-width:none;text-align:left}
#modal .shoe-overview-title .eyebrow{font-size:18px;font-weight:700}
#modal .colourways-heading{font-size:15px;font-weight:700;margin:22px 0 10px}

/* A single sticky popup toolbar; only the section menu scrolls on narrow screens. */
#modal{padding:0}
#modal-content{padding:24px 36px 36px}
#modal .modal-actions{top:0;margin:0;padding:12px 20px 12px 36px;gap:16px;min-height:68px;border-bottom:1px solid var(--line);border-radius:12px 12px 0 0}
#modal .modal-actions .shoe-nav{position:static;flex:1;min-width:0;margin:0;padding:0;border:0;box-shadow:none}
#modal .modal-actions .modal-full-page{flex:none}
#modal .shoe-overview{margin-top:0}
@media(max-width:760px){
 #modal-content{padding:20px 18px 24px}
 #modal .modal-actions{padding:10px 12px 10px 18px;gap:10px}
 #modal .modal-actions .shoe-nav button{padding:6px 9px}
}

.detail-specs .spec-icon{display:block;width:32px;height:32px;margin-bottom:12px;color:#cf1e13;stroke-width:1.75}

/* Homepage sizing explorer */
#fit.fit-section{display:block;padding:40px}
.fit-explorer-heading{max-width:700px;margin-bottom:28px}
.fit-explorer-heading h2{font-size:clamp(28px,4vw,40px);line-height:1.12;margin:8px 0 16px}
.fit-explorer-heading p{line-height:1.65}
.home-fit-controls{background:var(--paper);padding:24px;border:1px solid var(--line);border-radius:12px;align-items:end}
.home-fit-controls label{position:relative}
.fit-step{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#cf1e13;color:#fff;font-size:13px}
.home-fit-controls select:disabled,.home-fit-controls input:disabled{opacity:.5;cursor:not-allowed}
.fit-start{padding:36px 24px;text-align:center;border:1px dashed #bbc3ac;border-radius:12px;margin-top:24px}
.fit-start strong{font-size:21px}.fit-start p{margin:10px 0 18px}
.home-fit-shoe{display:flex;align-items:center;gap:22px;margin:28px 0}
.home-fit-shoe img{width:140px;height:110px;object-fit:contain;background:#fff;border-radius:10px}
.home-fit-shoe h3{font-size:26px;line-height:1.2;margin:4px 0 8px}
.home-fit-shoe small{font-size:11px;letter-spacing:.07em;color:var(--muted);font-weight:700}
.home-fit-shoe a{font-size:14px}
.size-recap-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin:12px 0}
.size-recap-card{padding:22px;background:var(--paper);border:1px solid #d4d9cb;border-radius:12px}
.size-recap-card>small{display:block;font-size:12px;font-weight:700;color:var(--muted);margin:10px 0 6px}
.size-recap-card h4{font-size:25px;line-height:1.15;margin:0 0 12px}
.size-recap-card p{font-size:14px;line-height:1.65;margin-bottom:16px}
.shift-distribution>div{display:grid;grid-template-columns:1fr auto;gap:6px;font-size:13px;margin-top:10px}
.shift-distribution progress{grid-column:1/-1;width:100%;height:7px;accent-color:#cf1e13;border:0;border-radius:8px;overflow:hidden}
.home-fit-results-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:30px 0 14px}
.home-fit-results-heading h3{font-size:22px}.home-fit-results-heading span{font-size:13px;color:var(--muted)}
.home-fit-reports{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.home-fit-reports .report{margin:0;min-width:0}
.home-fit-contribute{margin-top:32px;border-top:1px solid #ccd3bf;padding-top:24px}
.home-fit-contribute h3{font-size:22px}.home-fit-contribute>p{margin:8px 0 16px}
.home-fit-contribute>.hint{font-size:13px}
@media(max-width:760px){#fit.fit-section{padding:22px 16px}.home-fit-controls{padding:16px}.home-fit-reports{grid-template-columns:1fr}.home-fit-shoe{gap:14px}.home-fit-shoe img{width:90px;height:90px}.home-fit-shoe h3{font-size:22px}.home-fit-results-heading{align-items:start;flex-direction:column}.size-recap-grid{grid-template-columns:1fr}}
.shift-distribution progress{-webkit-appearance:none;appearance:none;background:#e3e6dd}
.shift-distribution progress::-webkit-progress-bar{background:#e3e6dd;border-radius:8px}
.shift-distribution progress::-webkit-progress-value{background:#cf1e13;border-radius:8px}
.shift-distribution progress::-moz-progress-bar{background:#cf1e13;border-radius:8px}

.shoe-typeahead{position:relative}
.shoe-typeahead>input[role=combobox]{margin-top:6px}
#shoe-typeahead-list{position:absolute;top:100%;left:0;right:0;z-index:5;max-height:280px;overflow-y:auto;list-style:none;margin:4px 0 0;padding:6px;background:#fff;border:1px solid #b9bdb0;border-radius:8px;box-shadow:0 10px 28px #1f231d20}
#shoe-typeahead-list li{padding:12px;border-radius:5px;font-size:15px;cursor:pointer}
#shoe-typeahead-list li:hover,#shoe-typeahead-list [aria-selected=true]{background:var(--panel)}
#shoe-typeahead-list strong{margin-right:5px}
#shoe-typeahead-list .shoe-no-match{color:var(--muted);cursor:default}

/* About Run Dragon */
.about-page{max-width:820px;margin:0 auto}
.about-intro{padding:8px 0 24px;border-bottom:1px solid var(--line)}
.about-mark{display:block;margin-bottom:18px}
#modal .about-intro .eyebrow{color:#cf1e13;font-weight:700;letter-spacing:.06em;font-size:12px}
#modal .about-intro h2{font-size:clamp(30px,4vw,44px);line-height:1.1;letter-spacing:-.025em;margin:12px 0 18px}
#modal .about-lead{font-size:18px;line-height:1.65;max-width:38em}
.about-story{margin:26px 0}
#modal .about-page p{line-height:1.7}
.about-pillars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:28px 0}
.about-pillars section{padding:20px;border-radius:10px;background:var(--panel)}
.about-number{font-size:13px;font-weight:800;color:#cf1e13}
#modal .about-pillars h3{margin:12px 0 8px;font-size:18px;line-height:1.25}
#modal .about-pillars p{font-size:14px;margin:0}
.about-contribute{padding:26px;border:1px solid #d7ddcc;border-radius:12px;background:#f0f1ea;margin:28px 0}
#modal .about-contribute h3{font-size:25px;line-height:1.25;margin:8px 0 16px;max-width:26em}
.about-contribute .button{margin-top:8px}
#modal .about-footnote p{font-size:14px;color:var(--muted)}
.about-footnote{margin:28px 0}
@media(max-width:760px){.about-pillars{grid-template-columns:1fr}.about-contribute{padding:20px}.about-contribute .button{white-space:normal}}
