/* bagfelt.css: celestina catalog styles. Palette from the brand banner:
   charcoal 282828, mint cbd0c9, sage 989c8b, mustard e4be80. */

@font-face {
  font-family: 'Source Serif 4';
  src: url(sourceserif4.woff2) format('woff2');
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: 'Anek Latin';
  src: url(aneklatin.woff2) format('woff2');
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --bagink: #282828;
  --sagefog: #cbd0c9;
  --deepsage: #989c8b;
  --mistfelt: #e6e9e4;
  --creamfelt: #f6f5f1;
  --mustglow: #e4be80;
  --stitchrule: #d8dcd5;
  --curvefold: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Anek Latin', 'Segoe UI', Arial, sans-serif;
  font-weight: 380;
  color: var(--bagink);
  background: var(--creamfelt);
  line-height: 1.6;
}
h1, h2, h3, h4 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 620;
  line-height: 1.18;
  margin: 0 0 .5em;
}
h1 { font-size: 2.3rem; letter-spacing: -.01em; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
table { border-collapse: collapse; width: 100%; }
main { display: block; }

.seamwide { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.slimfold { max-width: 760px; }
.plainfold { padding: 34px 0 56px; }

/* ---------- header ---------- */
.handleband { background: var(--bagink); color: var(--creamfelt); }
.handleband .seamwide { display: flex; align-items: center; gap: 26px; min-height: 62px; }
.grainhome { display: flex; align-items: center; }
.grainhome img { width: 187px; height: 24px; }
.strapnav { display: flex; gap: 22px; margin-left: auto; }
.strapnav a { color: var(--creamfelt); text-decoration: none; font-weight: 500; font-size: .97rem; padding: 6px 0; }
.strapnav a:hover { color: var(--mustglow); }
.foldnub { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.foldnub span { display: block; width: 22px; height: 2px; background: var(--creamfelt); margin: 5px 0; }
.shapemenu { background: var(--deepsage); display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 8px 16px; }
.shapemenu a { color: var(--bagink); text-decoration: none; font-size: .88rem; font-weight: 500; padding: 4px 12px; border-radius: 999px; }
.shapemenu a:hover { background: var(--sagefog); }

/* ---------- footer ---------- */
.basefelt { background: var(--bagink); color: var(--sagefog); margin-top: 60px; padding: 48px 0 24px; }
.basefelt .seamwide { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.basefelt h4 { color: var(--creamfelt); font-size: 1rem; margin-bottom: .8em; }
.basefelt a { color: var(--sagefog); text-decoration: none; display: block; padding: 3px 0; font-size: .93rem; }
.basefelt a:hover { color: var(--mustglow); }
.feltbrand img { margin-bottom: 14px; }
.feltbrand p { font-size: .93rem; }
.feltbrand a { display: inline; }
.hemtail { display: block; border-top: 1px solid rgba(203, 208, 201, .25); margin-top: 36px; padding-top: 18px; }
.hemtail p { font-size: .82rem; opacity: .8; }

/* ---------- crumbs, leads ---------- */
.crumbstitch { font-size: .85rem; color: #6f7268; margin-bottom: 18px; }
.crumbstitch a { color: #6f7268; }
.crumbstitch b { font-weight: 500; color: var(--bagink); }
.leadhead { margin-bottom: 26px; }
.eyethread { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--deepsage); margin-bottom: .6em; }
.leadspun { font-size: 1.06rem; max-width: 62ch; color: #45483f; }

/* ---------- cards ---------- */
.bagrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.quadfold { grid-template-columns: repeat(4, 1fr); }
.bagcard { background: #fff; border: 1px solid var(--stitchrule); border-radius: var(--curvefold); padding: 14px; display: flex; flex-direction: column; min-height: 0; }
.bagpane { display: block; border-radius: calc(var(--curvefold) - 6px); overflow: hidden; background: var(--mistfelt); aspect-ratio: 1; position: relative; }
.bagpane img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shadebead { display: inline-block; align-self: flex-start; margin: 10px 0 2px; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #6d7163; background: var(--mistfelt); border-radius: 999px; padding: 2px 10px; }
.bagcap { font-size: 1.02rem; margin: 6px 0 4px; }
.bagcap a { text-decoration: none; }
.bagcap a:hover { text-decoration: underline; }
.starthread { font-size: .87rem; color: #8a6d31; }
.sumtag { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 10px; flex-wrap: wrap; }
.pricehem { font-family: 'Source Serif 4', Georgia, serif; font-size: 1.25rem; font-weight: 650; }
.strapgo { display: inline-block; background: var(--bagink); color: var(--creamfelt); border: 0; border-radius: 999px; padding: 9px 20px; font-family: inherit; font-size: .93rem; font-weight: 550; cursor: pointer; text-decoration: none; }
.strapgo:hover { background: #3d3d3a; }
.mutedgo { background: transparent; color: var(--bagink); border: 1.5px solid var(--bagink); }
.mutedgo:hover { background: var(--mistfelt); }
.heftygo .strapgo { padding: 12px 28px; font-size: 1rem; }
.heftygo .pricehem { font-size: 1.6rem; }

/* ---------- sections: shared rhythm ---------- */
main section { padding: 52px 0; }
main section h2 { margin-bottom: .4em; }

/* 1. hero */
.slouchhero { background: var(--bagink); color: var(--creamfelt); padding: 60px 0; }
.slouchhero .eyethread { color: var(--mustglow); }
.slouchhero h1 { color: #fff; max-width: 18ch; }
.slouchhero .leadspun { color: var(--sagefog); }
.slouchhero .strapgo { background: var(--mustglow); color: var(--bagink); }
.slouchhero .strapgo:hover { background: #eccd9c; }
.slouchhero .mutedgo { background: transparent; color: var(--creamfelt); border-color: var(--sagefog); }
.slouchhero .mutedgo:hover { background: rgba(203, 208, 201, .15); }
.railsling { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; }
.railsling .bagcard { border: 0; color: var(--bagink); }

/* 2. usp */
.stitchstrip { background: var(--creamfelt); border-bottom: 1px solid var(--stitchrule); }
.stitchgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.stitchitem h3 { margin-bottom: .3em; }
.stitchitem p { font-size: .93rem; color: #55584e; margin: 0; }

/* 3. pills */
.tintrow { background: var(--mistfelt); }
.chiprun { display: flex; flex-wrap: wrap; gap: 10px; }
.tintchip { display: inline-block; background: #fff; border: 1px solid var(--stitchrule); border-radius: 999px; padding: 7px 18px; text-decoration: none; font-size: .93rem; font-weight: 500; }
.tintchip:hover { border-color: var(--deepsage); background: var(--sagefog); }

/* 4. shapes */
.shapewall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 24px; }
.shapeplate { display: block; text-decoration: none; background: #fff; border: 1px solid var(--stitchrule); border-radius: var(--curvefold); overflow: hidden; }
.shapeplate img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.shapeplate b { display: block; font-family: 'Source Serif 4', Georgia, serif; font-size: 1.2rem; padding: 14px 16px 2px; }
.shapeplate span { display: block; padding: 0 16px 16px; color: var(--deepsage); font-size: .9rem; }
.shapeplate:hover { border-color: var(--deepsage); }

/* 5. loved */
.lovedband { background: var(--creamfelt); }
.lovedband .bagrow { margin-top: 24px; grid-template-columns: repeat(3, 1fr); }

/* 6. promo pair */
.pairpromo { background: var(--mistfelt); }
.pairtile { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pairdusk, .pairdawn { display: block; text-decoration: none; border-radius: var(--curvefold); padding: 40px 36px; }
.pairdusk { background: var(--bagink); color: var(--creamfelt); }
.pairdusk .eyethread { color: var(--mustglow); }
.pairdusk h3 { color: #fff; font-size: 1.5rem; }
.pairdawn { background: var(--mustglow); color: var(--bagink); }
.pairdawn .eyethread { color: #8a6d31; }
.pairdawn h3 { font-size: 1.5rem; }
.quietgo { display: inline-block; margin-top: 8px; font-weight: 600; border-bottom: 2px solid currentColor; padding-bottom: 2px; }

/* 7. new */
.newseam { background: var(--creamfelt); }
.newseam .bagrow { margin-top: 24px; }

/* 8. stats */
.tallyfold { background: var(--bagink); color: var(--creamfelt); padding: 46px 0; }
.figuregrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.figuregrid b { display: block; font-family: 'Source Serif 4', Georgia, serif; font-size: 2.4rem; color: var(--mustglow); }
.figuregrid span { font-size: .9rem; color: var(--sagefog); }

/* 9. values */
.trioband .seamwide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.trioitem svg { color: var(--deepsage); margin-bottom: 10px; }
.trioitem p { font-size: .94rem; color: #55584e; }

/* 10. steps + table */
.stepfold { background: var(--mistfelt); }
.stepledger { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; }
.stepledger ol { padding-left: 20px; margin: 0; }
.stepledger li { margin-bottom: 14px; }
.grainchart th, .grainchart td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--stitchrule); font-size: .92rem; }
.grainchart thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--deepsage); }
.grainchart { background: #fff; border-radius: 10px; overflow: hidden; }

/* 11. spotlight */
.spotfold .seamwide { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; }
.glowphoto { display: block; border-radius: var(--curvefold); overflow: hidden; background: var(--mistfelt); }
.glowbody h2 { font-size: 2rem; }

/* 12. care */
.tendpair { background: var(--creamfelt); }
.tendfield { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 20px; }
.tenddo, .tenddont { background: #fff; border-radius: var(--curvefold); padding: 26px 28px; border-top: 4px solid var(--deepsage); }
.tenddont { border-top-color: var(--mustglow); }
.tenddo ul, .tenddont ul { margin: 0; padding-left: 18px; }
.tenddo li, .tenddont li { margin-bottom: 10px; font-size: .95rem; }

/* 13. mission */
.oathfold { background: var(--deepsage); color: var(--bagink); }
.oathfold p { max-width: 68ch; font-size: 1.08rem; margin: 0; }

/* 14. seo */
.longseam { background: var(--creamfelt); }
.longseam p { max-width: 76ch; }
.stitchtables { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; margin: 22px 0; }
.slimgrain { align-self: start; }
.factseam { list-style: none; padding: 0; margin: 18px 0 26px; }
.factseam li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px dashed var(--stitchrule); }
.factseam li::before { content: '\2726'; position: absolute; left: 2px; color: var(--mustglow); }

/* 15. voices */
.totevoices { background: var(--mistfelt); }
.voicerun { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 20px; }
.voicefelt { margin: 0; background: #fff; border-radius: var(--curvefold); padding: 26px 28px; }
.voicefelt blockquote { margin: 0 0 12px; font-family: 'Source Serif 4', Georgia, serif; font-size: 1.05rem; font-style: italic; }
.voicefelt figcaption { font-size: .85rem; color: var(--deepsage); }

/* 16. cta */
.partband { background: var(--bagink); color: var(--creamfelt); text-align: center; padding: 64px 0; }
.partband h2 { color: #fff; font-size: 1.9rem; }
.partband p { max-width: 52ch; margin: 0 auto 1em; color: var(--sagefog); }
.partband .sumtag { justify-content: center; }
.partband .strapgo { background: var(--mustglow); color: var(--bagink); }
.partband .mutedgo { background: transparent; color: var(--creamfelt); border-color: var(--sagefog); }

/* ---------- shelf and PDP ---------- */
.paneseam { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--stitchrule); }
.showfold { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: start; }
.showphoto { border-radius: var(--curvefold); overflow: hidden; background: var(--mistfelt); position: sticky; top: 20px; }
.showbody h1 { font-size: 1.9rem; }
.showbody .chiprun { margin: 14px 0; }
.specledger th { width: 200px; font-weight: 600; }
.specledger th, .specledger td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--stitchrule); font-size: .95rem; vertical-align: top; }
.kinseam { margin-top: 44px; }
.plainfold .bagrow { margin-top: 8px; }

/* ---------- picker ---------- */
.pickquiz { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; background: #fff; border: 1px solid var(--stitchrule); border-radius: var(--curvefold); padding: 28px 30px; margin-bottom: 22px; }
.pickrank h2 { font-size: 1.05rem; }
.pickopt { font-family: inherit; cursor: pointer; background: #fff; border: 1.5px solid var(--stitchrule); border-radius: 999px; padding: 7px 18px; font-size: .93rem; font-weight: 500; }
.pickopt:hover { border-color: var(--deepsage); }
.pickopt[aria-pressed="true"] { background: var(--bagink); color: var(--creamfelt); border-color: var(--bagink); }
.picktally { color: #6f7268; font-size: .92rem; }
.pickempty { background: var(--mistfelt); border-radius: var(--curvefold); padding: 30px; text-align: center; color: #55584e; }

/* ---------- notes ---------- */
.notewall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.notetile { display: block; text-decoration: none; background: #fff; border: 1px solid var(--stitchrule); border-radius: var(--curvefold); padding: 28px 30px; }
.notetile:hover { border-color: var(--deepsage); }
.notetile h2 { font-size: 1.25rem; }
.notetile p { color: #55584e; font-size: .95rem; }
.folioseam .notespread { max-width: 72ch; }
.notespread section { padding: 8px 0 4px; }
.notespread h2 { font-size: 1.3rem; margin-top: 1em; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .bagrow, .quadfold, .lovedband .bagrow { grid-template-columns: repeat(2, 1fr); }
  .stitchgrid, .figuregrid { grid-template-columns: repeat(2, 1fr); }
  .railsling { display: flex; overflow-x: auto; padding-bottom: 12px; }
  .railsling .bagcard { flex: 0 0 220px; }
  .shapewall, .trioband .seamwide, .voicerun { grid-template-columns: 1fr; }
  .pairtile, .stepledger, .tendfield, .stitchtables, .pickquiz { grid-template-columns: 1fr; }
  .spotfold .seamwide, .showfold { grid-template-columns: 1fr; }
  .showphoto { position: static; }
  .basefelt .seamwide { grid-template-columns: 1fr; gap: 26px; }
  .notewall { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.35rem; }
  .strapnav { display: none; position: absolute; top: 62px; left: 0; right: 0; background: var(--bagink); flex-direction: column; gap: 0; padding: 10px 20px 16px; z-index: 30; }
  .strapnav.unfolded { display: flex; }
  .strapnav a { padding: 10px 0; border-bottom: 1px solid rgba(203, 208, 201, .15); }
  .handleband { position: relative; }
  .foldnub { display: block; }
  .shapemenu { display: none; }
  .bagrow, .quadfold, .lovedband .bagrow { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .bagcard { padding: 10px; }
  .plainfold { padding: 22px 0 40px; }
  main section { padding: 38px 0; }
}
