:root {
  --paper: #ffffff;
  --ink: #000000;
  --navy: #1c2b4a;
  --grey: #6b6b6b;
  --rule: #e2e2e2;
  --green: #2e6b45;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font: 16px/1.45 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* Header */
.top { border-bottom: 1px solid var(--rule); position: relative; z-index: 20; background: var(--paper); }
.top .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "nav mark search"; align-items: center; column-gap: 28px; height: 76px; }
.top .mark { grid-area: mark; font-size: 24px; }
.top .nav { grid-area: nav; }
.top .search { grid-area: search; justify-self: end; }
.mark { font-size: 21px; font-weight: 500; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav .link { font-size: 15px; text-decoration: none; padding: 8px 0; }
.nav .link:hover { text-decoration: underline; }
.menu { position: relative; }
.menu > button { background: none; border: 0; cursor: pointer; font-size: 15px; display: flex; align-items: center; gap: 6px; padding: 8px 0; }
.menu > button svg { width: 10px; height: 10px; transition: transform .15s; }
.menu.open > button svg { transform: rotate(180deg); }
.menu ul { display: none; position: absolute; top: 100%; left: -16px; min-width: 220px; list-style: none; background: var(--paper); border: 1px solid var(--ink); padding: 6px 0; }
.menu.open ul { display: block; }
.menu li a { display: flex; justify-content: space-between; gap: 16px; padding: 9px 16px; font-size: 15px; text-decoration: none; }
.menu li a:hover { text-decoration: underline; }
.menu li a span { color: var(--grey); }
.search { position: relative; width: 240px; }
.search svg { width: 16px; height: 16px; flex: none; }
.search-toggle { display: none; background: none; border: 0; padding: 8px 0 8px 8px; cursor: pointer; }
.field { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--ink); height: 36px; }
.field input { flex: 1; min-width: 0; height: 100%; border: 0; border-radius: 0; background: transparent; font-size: 15px; outline: none; -webkit-appearance: none; }
.field input::-webkit-search-cancel-button { -webkit-appearance: none; }
.field input::placeholder { color: var(--grey); }
.field:focus-within { border-bottom-width: 2px; }
.results { display: none; position: absolute; top: calc(100% + 8px); right: 0; width: 380px; max-width: calc(100vw - 32px); background: var(--paper); border: 1px solid var(--ink); list-style: none; max-height: 70vh; overflow-y: auto; }
.results.open { display: block; }
.results a { display: block; padding: 10px 12px; text-decoration: none; border-top: 1px solid var(--rule); }
.results li:first-child a { border-top: 0; }
.results a:hover, .results a.on { background: #f3f3f3; }
.results b { display: block; font-size: 15px; font-weight: 500; }
.results span { display: block; font-size: 13px; color: var(--grey); }
.results .none { padding: 12px; font-size: 14px; color: var(--grey); }

/* Page headings */
.head { padding: 48px 0 32px; }
.head h1 { font-size: 40px; line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; }
.head p { margin-top: 10px; font-size: 17px; color: var(--grey); max-width: 36em; }

/* Outfit grid */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; padding-bottom: 72px; }
.tile { text-decoration: none; display: block; }
.tile-img { position: relative; }
.tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #eee; }
.tile .go-arrow { position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; }
.go-arrow svg { width: 12px; height: 12px; }
.tile:hover .go-arrow { background: var(--ink); color: var(--paper); }
.tile .shop { color: var(--ink); margin-top: 2px; }
.tile .shop em { font-style: normal; text-decoration: underline; text-underline-offset: 3px; }
.tile .shop svg { display: inline-block; width: 10px; height: 10px; margin-left: 6px; }
.tile b { display: block; margin-top: 12px; font-size: 17px; font-weight: 500; }
.tile span { display: block; font-size: 15px; color: var(--grey); }
.tile:hover b { text-decoration: underline; }

/* Outfit page */
.crumb { padding-top: 20px; font-size: 14px; color: var(--grey); }
.crumb a { color: var(--grey); }
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: end; padding: 24px 0 48px; border-bottom: 1px solid var(--rule); }
.intro img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.kicker { font-size: 19px; margin-bottom: 6px; }
.intro h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: 1; font-weight: 700; letter-spacing: -0.03em; }
.place { font-size: 19px; color: var(--grey); margin-top: 10px; }
.totals { margin-top: 24px; display: flex; gap: 40px; flex-wrap: wrap; }
.totals div { font-size: 15px; color: var(--grey); }
.totals strong { display: block; font-size: 32px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.totals .was strong { color: var(--grey); text-decoration: line-through; text-decoration-thickness: 1px; }
.intro .note { margin-top: 24px; font-size: 15px; }
.pieces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.piece { padding: 36px 0 40px; border-bottom: 1px solid var(--rule); scroll-margin-top: 16px; }
.piece h2 { font-size: 20px; font-weight: 500; margin-bottom: 18px; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.side { display: flex; flex-direction: column; min-width: 0; }
.who { font-size: 13px; color: var(--grey); margin-bottom: 8px; }
.ph { aspect-ratio: 1; position: relative; margin-bottom: 14px; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.brand { font-size: 15px; font-weight: 700; line-height: 1.3; }
.name { font-size: 15px; line-height: 1.35; flex: 1; }
.price { font-size: 22px; font-weight: 500; margin-top: 10px; }
.where { font-size: 13px; color: var(--grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buy .out { display: inline-block; width: 11px; height: 11px; margin-left: 4px; vertical-align: 0; }
.buy { margin-top: 14px; display: block; height: 44px; line-height: 42px; text-align: center; font-size: 15px; font-weight: 500; text-decoration: none; border: 1px solid var(--ink); border-radius: 999px; }
.buy:hover { background: var(--ink); color: var(--paper); }
.budget .buy { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.budget .buy:hover { background: var(--ink); border-color: var(--ink); }
.gone { margin-top: 14px; height: 44px; line-height: 42px; font-size: 15px; color: var(--grey); border: 1px solid var(--rule); border-radius: 999px; text-align: center; }
.best { outline: 2px solid var(--green); outline-offset: 10px; }
.best-bar { background: var(--green); color: var(--paper); font-size: 13px; font-weight: 500; padding: 4px 8px; margin: -10px -10px 10px; }
.side.budget { position: relative; }
.slides { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; flex: 1; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 82%; min-width: 0; scroll-snap-align: start; display: flex; flex-direction: column; }
.next-pick { position: absolute; top: calc(var(--ph, 120px) / 2 + 30px); right: -8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); display: grid; place-items: center; cursor: pointer; transition: transform .15s; }
.next-pick svg { width: 16px; height: 16px; }
.next-pick.back svg { transform: rotate(180deg); }
.who.alt { color: var(--navy); font-weight: 500; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 13px; color: var(--grey); }
.pager button { background: none; border: 0; cursor: pointer; font-size: 13px; text-decoration: underline; padding: 4px 0; }
.pager button:disabled { color: var(--rule); text-decoration: none; cursor: default; }

/* Resources and guide */
.list { list-style: none; border-top: 1px solid var(--rule); margin-bottom: 72px; }
.list a { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.list img { width: 120px; aspect-ratio: 4 / 5; object-fit: cover; }
.list b { display: block; font-size: 19px; font-weight: 500; }
.list span { display: block; font-size: 15px; color: var(--grey); margin-top: 4px; }
.list a:hover b { text-decoration: underline; }
.guide { max-width: 760px; }
.rule-box { border-left: 2px solid var(--ink); padding: 4px 0 4px 16px; font-size: 17px; margin-bottom: 8px; }
.tip { padding: 36px 0; border-bottom: 1px solid var(--rule); }
.tip h2 { font-size: 24px; font-weight: 500; }
.tip .pair { margin: 18px 0 20px; }
.tip figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tip figcaption { font-size: 13px; margin-top: 6px; color: var(--grey); }
.tip figcaption b { color: var(--ink); font-weight: 500; }
.tip dl { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px 16px; font-size: 16px; }
.tip dt { font-weight: 700; }
.guide .part { font-size: 15px; font-weight: 500; color: var(--grey); margin-top: 36px; }
.guide-sec { padding: 40px 0 36px; border-bottom: 1px solid var(--rule); }
.guide-sec h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 16px; }
.guide-sec > p { font-size: 17px; margin-bottom: 16px; }
.guide-sec ul, .guide-sec ol { padding-left: 20px; font-size: 16px; }
.guide-sec li { margin-bottom: 10px; padding-left: 4px; }
.fit-pieces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.fit-piece h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.fit-piece li { margin-bottom: 8px; }
.tailor h3 { font-size: 18px; font-weight: 700; margin: 28px 0 8px; }
.tailor .skip td:last-child { white-space: normal; text-align: right; max-width: 60%; }
.tailor { padding: 36px 0 72px; }
.tailor h2 { font-size: 24px; font-weight: 500; margin-bottom: 12px; }
.tailor table { width: 100%; border-collapse: collapse; font-size: 16px; }
.tailor td { padding: 10px 0; border-top: 1px solid var(--rule); vertical-align: top; }
.tailor td:last-child { text-align: right; white-space: nowrap; padding-left: 16px; color: var(--grey); }
.tailor p { font-size: 13px; color: var(--grey); margin-top: 10px; }

/* Resources categories */
.cat h2 { font-size: 20px; font-weight: 500; margin-bottom: 12px; }
.cat .list { margin-bottom: 48px; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "head head" "text photo"; gap: 0 56px; padding-bottom: 72px; align-items: start; }
.about .head { grid-area: head; }
.about-text { grid-area: text; max-width: 640px; }
.about-photo { grid-area: photo; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about p { font-size: 18px; line-height: 1.5; margin-bottom: 16px; }
.about h2 { font-size: 24px; font-weight: 500; margin: 40px 0 12px; }
.about-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.pill { display: flex; align-items: center; gap: 14px; padding: 12px 24px 12px 14px; border-radius: 999px; text-decoration: none; border: 1px solid var(--ink); min-width: 260px; }
.pill svg { width: 40px; height: 40px; flex: none; }
.pill b { display: block; font-size: 16px; font-weight: 500; }
.pill small { display: block; font-size: 14px; color: var(--grey); }
.pill.ig { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill.ig small { color: #c9c9c9; }
.pill.rec svg { padding: 6px; border-radius: 50%; background: #f1f1f1; }
.pill:hover b { text-decoration: underline; }

/* Footer */
.foot { border-top: 1px solid var(--rule); padding: 40px 0 48px; font-size: 14px; color: var(--grey); }
.recommend { background: #f2f2f2; color: var(--ink); padding: 36px 32px 32px; margin-bottom: 32px; scroll-margin-top: 16px; }
.recommend h2 { font-size: 32px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.recommend > p { font-size: 17px; margin: 8px 0 18px; max-width: 34em; }
.recommend .rec-form { max-width: 640px; }
.rec-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.rec-form textarea, .rec-form input { grid-column: 1 / -1; width: 100%; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); padding: 8px 0; resize: vertical; outline: none; -webkit-appearance: none; }
.rec-form textarea:focus, .rec-form input:focus { border-bottom-width: 2px; }
.rec-form ::placeholder { color: var(--grey); }
.rec-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.rec-form button { grid-column: 1 / -1; justify-self: start; height: 48px; padding: 0 30px; background: var(--ink); color: var(--paper); border: 0; border-radius: 999px; font-size: 16px; font-weight: 500; cursor: pointer; margin-top: 8px; }
.rec-form button:hover { background: var(--navy); }
.rec-form button:disabled { background: var(--grey); cursor: default; }
.rec-status { grid-column: 1 / -1; font-size: 14px; color: var(--ink); }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 4px; }
.foot-row nav { display: flex; gap: 18px; }
.foot-row nav a { color: var(--ink); text-decoration: none; }
.foot-row nav a:hover { text-decoration: underline; }
.foot p + p { margin-top: 4px; }
.foot b { color: var(--ink); font-weight: 500; }

@media (max-width: 1000px) {
  .pieces { grid-template-columns: minmax(0, 1fr); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .top .wrap { display: flex; flex-wrap: wrap; height: auto; padding-top: 16px; padding-bottom: 6px; row-gap: 6px; column-gap: 22px; }
  .top .mark { width: 100%; text-align: center; font-size: 22px; }
  .nav { gap: 22px; }
  .top .search { width: auto; position: static; margin-left: auto; }
  .search-toggle { display: block; }
  .field { display: none; }
  .search.open .field { display: flex; position: absolute; left: 16px; right: 16px; top: 100%; background: var(--paper); height: 48px; border-bottom: 1px solid var(--ink); }
  .results { left: 16px; right: 16px; width: auto; top: calc(100% + 48px); border-top: 0; }
  .top { position: relative; }
  .menu ul { left: 0; }
  .head { padding: 32px 0 24px; }
  .head h1 { font-size: 32px; }
  .grid { gap: 28px 12px; }
  .tile b { font-size: 15px; }
  .tile span { font-size: 14px; }
  .tile .go-arrow { right: 8px; bottom: 8px; width: 30px; height: 30px; }
  .go-arrow svg { width: 10px; height: 10px; }
  .about p { font-size: 17px; }
  .about { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "photo" "text"; }
  .about-photo { margin-bottom: 24px; }
  .recommend { padding: 28px 20px 24px; margin-left: -16px; margin-right: -16px; }
  .recommend h2 { font-size: 28px; }
  .intro { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 16px; }
  .intro img { aspect-ratio: 4 / 5; }
  .pill { width: 100%; }
  .totals strong { font-size: 26px; }
  .pair { gap: 14px; }
  .price { font-size: 20px; }
  .brand, .name { font-size: 14px; }
  .best { outline-offset: 6px; }
  .best-bar { margin: -6px -6px 8px; }
  .list a { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
  .fit-pieces { grid-template-columns: minmax(0, 1fr); }
  .guide-sec h2 { font-size: 24px; }
  .list img { width: 84px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.pair:has(.pager) .real { padding-bottom: 34px; }
