@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #faf8f4;
  --paper: #ffffff;
  --ink: #1c1a17;
  --ink-soft: #675e51;
  --stone: #9a8f7a;
  --line: #e6e0d3;
  --line-strong: #1c1a17;
  --accent: #6f2b28;
  --accent-soft: #f3e7e1;
  --gold: #a8862f;
  --shadow-lift: 0 14px 30px rgba(28,24,18,0.09);
  --shadow-deep: 0 22px 48px rgba(28,24,18,0.14);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .font-display {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.16;
  text-transform: none;
  color: var(--ink);
}
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Links inside flowing prose get a quiet permanent underline so they read
   as links at rest, not only on hover. */
article.post p a, .simple-page p a, .callout a, p.section-sub a {
  text-decoration: underline; text-decoration-color: var(--line);
  text-underline-offset: 3px; transition: text-decoration-color .15s ease;
}
article.post p a:hover, .simple-page p a:hover, .callout a:hover, p.section-sub a:hover {
  text-decoration-color: currentColor;
}
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
ul { margin: 0; padding: 0; }
li { list-style: none; }

.eyebrow {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--stone); font-weight: 500;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--ink); color: #ded4c4; font-size: 12px; text-align: center;
  padding: 9px 16px; letter-spacing: 0.03em; font-weight: 300;
}
.topbar a { color: #f2ece0; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--bg); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.logo {
  font-family: 'Playfair Display', serif; font-weight: 600; font-size: 23px;
  color: var(--ink); letter-spacing: 0.01em;
}
.logo span { color: var(--ink); }
nav.main-nav ul { list-style: none; display: flex; gap: 34px; margin: 0; padding: 0; }
nav.main-nav a {
  color: var(--ink); font-weight: 500; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.12em;
  padding-bottom: 3px; border-bottom: 1px solid transparent;
}
nav.main-nav a:hover { color: var(--ink); text-decoration: none; border-bottom-color: var(--ink); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); color: var(--ink);
  font-size: 18px; padding: 5px 11px; cursor: pointer;
}
@media (max-width: 760px) {
  nav.main-nav { display: none; width: 100%; }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; gap: 2px; padding: 14px 0; }
  nav.main-nav a { display: block; padding: 12px 4px; border-top: 1px solid var(--line); border-bottom: none; }
  .nav-toggle { display: inline-block; }
  .nav-row { flex-wrap: wrap; }
}

/* ---------- Profile bar (Find My Fit) ---------- */
.profile-bar { background: var(--paper); border-bottom: 1px solid var(--line); font-size: 13.5px; }
.profile-bar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; flex-wrap: wrap; }
.profile-chip {
  display: inline-flex; align-items: center; gap: 6px; background: var(--bg);
  border: 1px solid var(--line); padding: 6px 14px; color: var(--ink); font-weight: 400; border-radius: 999px;
}
.profile-link { color: var(--ink); font-weight: 500; text-transform: uppercase; font-size: 11px; letter-spacing: 0.08em; border-bottom: 1px solid var(--ink); }
.profile-panel {
  display: none; background: var(--paper); border: 1px solid var(--line); padding: 26px; margin: 14px 0 20px;
}
.profile-panel.open { display: block; }
.pfields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
@media (max-width: 700px) { .pfields { grid-template-columns: 1fr; } }
.psel { display: flex; flex-direction: column; gap: 7px; }
.psel label { font-size: 11px; font-weight: 500; color: var(--stone); text-transform: uppercase; letter-spacing: 0.1em; }
.psel select {
  padding: 12px 13px; border: 1px solid var(--line); background: var(--bg);
  color: var(--ink); font-size: 14.5px; border-radius: 2px; font-family: 'Inter', sans-serif;
}
.pactions { display: flex; gap: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--ink); color: var(--bg); font-weight: 500;
  padding: 14px 28px; border: 1px solid var(--ink); cursor: pointer; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 0.12em; transition: all .2s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-gold { background: var(--gold); color: #24190a; border-color: var(--gold); }
.btn-gold:hover { background: #937423; border-color: #937423; }
.btn-small { padding: 10px 18px; font-size: 10.5px; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-tight { padding: 44px 0; }
h2.section-title { font-size: clamp(26px, 3.2vw, 34px); margin: 0 0 12px; font-weight: 600; }
p.section-sub { color: var(--ink-soft); max-width: 620px; margin: 0 0 40px; font-size: 15.5px; font-weight: 300; }

/* ---------- Grids ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Category cards (generic — category page product grids etc. use
   the plain bordered-card look; the homepage category index below opts into
   the tighter seamless-grid variant instead) ---------- */
.cat-card { background: var(--paper); border: 1px solid var(--line); padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.cat-card.recommended { border-color: var(--accent); }
.cat-card .icon { font-size: 26px; margin-bottom: 12px; }
.cat-card h3 { font-size: 19px; margin: 0 0 8px; font-weight: 600; }
.cat-card p { color: var(--ink-soft); font-size: 14px; margin: 0 0 18px; min-height: 40px; font-weight: 300; }
.recommend-tag {
  display: inline-flex; align-items: center; background: var(--accent-soft); color: var(--accent);
  font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 5px 11px; margin-bottom: 12px; border-radius: 999px;
}

/* ---------- Homepage category index: seamless photo grid ---------- */
.cat-grid { gap: 1px; background: var(--line); }
.cat-grid .cat-card { border: none; padding: 0; }
.cat-grid .cat-card:hover { transform: none; box-shadow: none; }
.cat-grid .cat-card .cat-body { padding: 28px 30px 34px; text-align: center; }
.cat-grid .cat-photo { height: 320px; margin: 0; border: none; }
.cat-grid .cat-card h3 { font-size: 20px; }
.cat-grid .cat-card p { min-height: 0; }
@media (max-width: 700px) { .cat-grid .cat-photo { height: 230px; } }

/* ---------- Category photos (homepage cards + category-page banners) ---------- */
.cat-photo {
  height: 170px;
  margin: -28px -28px 18px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.cat-card:hover .cat-photo { filter: brightness(1.03); }

.cat-banner {
  height: 260px;
  margin-bottom: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 700px) {
  .cat-photo { height: 140px; }
  .cat-banner { height: 180px; }
}

/* ---------- Product cards ---------- */
.product-card { background: var(--paper); border: 1px solid var(--line); padding: 30px; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.p-icon {
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 50%; color: var(--stone); margin-bottom: 18px;
}
.p-icon .icon-svg { width: 20px; height: 20px; }
.product-card .kicker {
  color: var(--accent); font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.07em; margin-bottom: 10px;
}
.product-card h3 { font-size: 19px; margin: 0 0 10px; font-weight: 600; }
.product-card p { color: var(--ink-soft); font-size: 14px; margin: 0 0 16px; font-weight: 300; }
.product-card ul { margin: 0 0 18px; }
.product-card li { font-size: 13px; color: var(--ink-soft); padding-left: 16px; position: relative; margin-bottom: 7px; font-weight: 300; }
.product-card li::before { content: "—"; position: absolute; left: 0; color: var(--stone); }
.cta-row { display: flex; align-items: center; gap: 14px; margin-top: auto; flex-wrap: wrap; padding-top: 4px; }
.price-note { font-size: 12px; color: var(--stone); }
.fit-tag { background: var(--accent-soft); color: var(--accent); font-size: 11.5px; padding: 6px 11px; margin-bottom: 14px; border-radius: 999px; display: inline-block; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--ink); color: #ede6d8; }
.trust-bar .grid-4 { padding: 44px 0; }
.trust-item { text-align: center; }
.trust-item .num { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 32px; color: #f2ece0; }
.trust-item .label { font-size: 11.5px; color: #a89b85; margin-top: 6px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Blog ---------- */
.blog-card { background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.blog-card .thumb {
  height: 160px; display: flex; align-items: center; justify-content: center; font-size: 34px;
  background: var(--accent-soft); border-bottom: 1px solid var(--line);
}
.blog-card .content { padding: 24px; }
.blog-card .tag { color: var(--accent); font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.blog-card h3 { font-size: 17px; margin: 0 0 10px; font-weight: 600; line-height: 1.3; }
.blog-card p { color: var(--ink-soft); font-size: 13.5px; margin: 0 0 14px; font-weight: 300; }
.read-more { font-weight: 500; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
article.post h1 { font-size: clamp(30px, 4.4vw, 44px); margin: 0 0 14px; }
article.post .meta { color: var(--stone); font-size: 12px; margin-bottom: 34px; text-transform: uppercase; letter-spacing: 0.08em; }
article.post h2 { font-size: 22px; margin: 40px 0 14px; font-weight: 600; }
article.post p { font-size: 16px; margin: 0 0 18px; color: var(--ink-soft); font-weight: 300; }
article.post ul { margin: 0 0 18px; padding-left: 20px; }
article.post li { list-style: disc; margin-bottom: 8px; font-size: 15.5px; color: var(--ink-soft); font-weight: 300; }
.callout { background: var(--accent-soft); border-left: 2px solid var(--accent); padding: 18px 22px; margin: 30px 0; font-size: 15px; font-style: italic; font-family: 'Playfair Display', serif; font-weight: 500; color: var(--ink); }

/* ---------- Disclosure / FAQ ---------- */
.disclosure-banner { background: var(--paper); border: 1px solid var(--line); padding: 18px 22px; font-size: 13.5px; color: var(--ink-soft); }
.disclosure-banner strong { color: var(--ink); font-weight: 600; }
.faq-block { margin-top: 52px; max-width: 760px; }
.faq-item { border-top: 1px solid var(--line); padding: 22px 0; }
.faq-item h3 { font-size: 17px; margin: 0 0 8px; font-family: 'Playfair Display', serif; font-weight: 600; }
.faq-item p { color: var(--ink-soft); font-size: 14.5px; margin: 0; font-weight: 300; }
.crumb { font-size: 11.5px; color: var(--stone); margin-bottom: 22px; text-transform: uppercase; letter-spacing: 0.08em; }
.crumb a { color: var(--stone); }

/* ---------- Simple pages ---------- */
.simple-page { max-width: 720px; }
.simple-page h1 { margin: 0 0 22px; }
.simple-page h2 { font-size: 21px; margin: 34px 0 12px; font-weight: 600; }
.simple-page p { font-size: 15.5px; color: var(--ink-soft); margin: 0 0 16px; font-weight: 300; }
.simple-page ul { padding-left: 20px; margin: 0 0 16px; }
.simple-page li { list-style: disc; color: var(--ink-soft); font-size: 15px; margin-bottom: 8px; font-weight: 300; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cabfaa; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; padding: 60px 0 36px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  font-family: 'Playfair Display', serif; font-weight: 600; color: #f2ece0; font-size: 16px; margin: 0 0 16px;
}
.site-footer p { font-size: 13.5px; color: #a89c85; font-weight: 300; line-height: 1.7; }
.site-footer ul li { margin-bottom: 11px; }
.site-footer a { color: #cabfaa; font-size: 13.5px; }
.site-footer a:hover { color: #f2ece0; }
.footer-bottom {
  border-top: 1px solid #322c24; padding: 22px 0; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; font-size: 12px; color: #8c8069;
}

/* =====================================================================
   Hero — centered editorial layout
   ===================================================================== */
.hero { padding: 96px 0 76px; border-bottom: 1px solid var(--line); text-align: center; }
.hero-inner { max-width: 740px; margin: 0 auto; }
.hero h1 { font-size: clamp(36px, 5.6vw, 58px); margin: 22px 0 22px; line-height: 1.14; }
.hero .accent { font-style: italic; color: var(--accent); }
.hero .lede { font-size: 16.5px; color: var(--ink-soft); max-width: 540px; margin: 0 auto 34px; font-weight: 300; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-links { margin: 20px 0 0; font-size: 12.5px; color: var(--stone); }
.hero-links a { color: var(--stone); border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.hero-links a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.hero-links .sep { margin: 0 10px; color: var(--line); }

/* ---------- Icon badges (fallback for a category with no photo yet) ---------- */
.icon-badge {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 50%; color: var(--stone); margin-bottom: 16px;
}
.icon-svg { width: 24px; height: 24px; display: block; }
.footer-cat-icon { display: inline-flex; width: 13px; height: 13px; margin-right: 8px; vertical-align: -1.5px; color: var(--gold); opacity: 0.85; }
.footer-cat-icon svg { width: 100%; height: 100%; }

/* ---------- Category photo sources ---------- */
.cat-img-basics { background-image: url('../images/categories/basics.jpg'); }
.cat-img-denim-bottoms { background-image: url('../images/categories/denim-bottoms.jpg'); }
.cat-img-outerwear { background-image: url('../images/categories/outerwear.jpg'); }
.cat-img-activewear { background-image: url('../images/categories/activewear.jpg'); }
.cat-img-footwear { background-image: url('../images/categories/footwear.jpg'); }
.cat-img-accessories { background-image: url('../images/categories/accessories.jpg'); }

/* ---------- Blog post photos (card thumbnails + article banners) ----------
   Higher specificity than the base ".blog-card .thumb" rule is required
   here since that rule also sets background-image (via the "background"
   shorthand) — a same-or-lower-specificity override would lose to it
   regardless of source order. */
.blog-card .thumb.blog-img-size-across-brands {
  font-size: 0; background-size: cover; background-position: center;
  background-image: url('../images/blog/size-across-brands.jpg');
}
.blog-card .thumb.blog-img-capsule-wardrobe-basics {
  font-size: 0; background-size: cover; background-position: center;
  background-image: url('../images/blog/capsule-wardrobe-basics.jpg');
}
.blog-img-size-across-brands { background-image: url('../images/blog/size-across-brands.jpg'); }
.blog-img-capsule-wardrobe-basics { background-image: url('../images/blog/capsule-wardrobe-basics.jpg'); }

.post-banner {
  height: 320px;
  margin-bottom: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 700px) {
  .post-banner { height: 200px; }
}

/* ---------- Scroll-reveal (progressive enhancement, JS-gated) ---------- */
html.js-anim .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .55s cubic-bezier(.2,.8,.2,1), transform .55s cubic-bezier(.2,.8,.2,1);
}
html.js-anim .reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js-anim .reveal { opacity: 1; transform: none; transition: none; }
}
