@layer reset, base, shell, blocks, pages, util;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
  ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
  img { max-inline-size: 100%; block-size: auto; display: block; }
  button { font: inherit; cursor: pointer; }
}

@layer base {
  :root {
    --od-blue: #0054a8;
    --od-navy: #082a56;
    --od-ink: #13233a;
    --od-sky: #9cccf0;
    --od-mist: #eaf4fc;
    --od-sun: #f0c81e;
    --od-rose: #e65a96;
    --od-paper: #f7fafd;
    --od-line: #d6e2ee;
    --od-mute: #5a6b80;
    --od-r: 14px;
    --od-cap: 1240px;
    --od-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
    --od-text: "Nunito Sans", system-ui, sans-serif;
  }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body { font-family: var(--od-text); color: var(--od-ink); background: #fff; line-height: 1.6; font-size: 1rem; }
  a { color: var(--od-blue); text-underline-offset: 3px; }
  h1, h2, h3 { font-family: var(--od-cond); line-height: 1.08; color: var(--od-navy); letter-spacing: .01em; }
  h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
  h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; }
  h3 { font-size: 1.35rem; font-weight: 700; }
  :focus-visible { outline: 3px solid var(--od-sun); outline-offset: 2px; }
}

@layer shell {
  .od-cap { inline-size: min(100% - 32px, var(--od-cap)); margin-inline: auto; }
  .od-skip { position: absolute; inset-inline-start: -999px; }
  .od-skip:focus { inset-inline-start: 12px; inset-block-start: 12px; background: #fff; padding: 8px 14px; z-index: 50; }

  /* utility strip (Carex top bar + Really Good Stuff promo ribbon) */
  .topline { background: var(--od-navy); color: #dbe9f7; font-size: .82rem; }
  .topline__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-block-size: 36px; }
  .topline__slogan { font-family: var(--od-cond); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--od-sun); }
  .topline__links { display: flex; gap: 18px; list-style: none; padding: 0; }
  .topline__links a { color: #dbe9f7; text-decoration: none; }
  .topline__links a:hover { color: #fff; text-decoration: underline; }

  /* masthead: logo + stamp row, then blue category bar (Carex / Exmed) */
  .masthead { background: #fff; border-block-end: 1px solid var(--od-line); position: sticky; inset-block-start: 0; z-index: 30; }
  .masthead__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
  .masthead__logo img { inline-size: 210px; }
  .masthead__cta { inline-size: 250px; }
  .masthead__burger { display: none; }
  .jobbar { background: var(--od-blue); }
  .jobbar ul { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; }
  .jobbar a { display: block; padding: 11px 16px; color: #fff; text-decoration: none; font-family: var(--od-cond); font-weight: 700; font-size: 1.08rem; letter-spacing: .05em; text-transform: uppercase; }
  .jobbar a:hover, .jobbar a[aria-current] { background: var(--od-navy); box-shadow: inset 0 -4px 0 var(--od-sun); }

  .crumbs { padding-block: 14px; font-size: .86rem; }
  .crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; color: var(--od-mute); }
  .crumbs li + li::before { content: "\203A"; margin-inline-end: 6px; }
  .crumbs a { color: var(--od-mute); }

  /* stamp button */
  .tickbtn { display: block; inline-size: 100%; padding: 0; border: 0; background: none; transition: transform .15s; }
  .tickbtn img { inline-size: 100%; }
  .tickbtn:hover { transform: translateY(-2px); filter: brightness(1.04); }

  /* promise boxes (Carex 5 stat boxes) */
  .promises { background: var(--od-mist); padding-block: 36px; }
  .promises ul { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; list-style: none; padding: 0; }
  .promises li { background: var(--od-blue); color: #fff; border-radius: 8px; padding: 16px 12px; text-align: center; box-shadow: 4px 4px 0 var(--od-navy); }
  .promises b { display: block; font-family: var(--od-cond); font-size: 1.45rem; letter-spacing: .02em; }
  .promises span { font-size: .8rem; opacity: .9; }

  /* footer (Carex navy columns + OXO logo/slogan + giant wordmark) */
  .basement { background: var(--od-navy); color: #c9dbee; padding-block-start: 52px; }
  .basement__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
  .basement__brand img { inline-size: 200px; margin-block-end: 12px; }
  .basement__brand p { font-family: var(--od-cond); font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1.1; }
  .basement__brand small { display: block; margin-block-start: 12px; font-size: .88rem; color: #c9dbee; }
  .basement h2 { font-size: 1.05rem; color: var(--od-sun); text-transform: uppercase; letter-spacing: .1em; margin-block-end: 12px; }
  .basement ul { list-style: none; padding: 0; display: grid; gap: 7px; font-size: .92rem; }
  .basement a { color: #c9dbee; text-decoration: none; }
  .basement a:hover { color: #fff; text-decoration: underline; }
  .basement__legal { border-block-start: 1px solid rgba(255,255,255,.15); margin-block-start: 40px; padding-block: 18px; font-size: .82rem; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
  .basement__mark { overflow: hidden; padding-block-start: 10px; block-size: clamp(70px, 12vw, 170px); }
  .basement__mark img { inline-size: 100%; opacity: .12; margin-block-end: -2%; }
}

@layer blocks {
  .sec { padding-block: 64px; }
  .sec--tint { background: var(--od-paper); }
  .sec__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-block-end: 28px; }
  .sec__head p { color: var(--od-mute); max-inline-size: 560px; }
  .kicker { font-family: var(--od-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--od-rose); font-size: .95rem; display: block; margin-block-end: 6px; }

  /* hero: Carex split blue panel + photo, ProHeal check row */
  .firstjob { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--od-blue); color: #fff; }
  .firstjob__copy { padding: clamp(32px, 5vw, 72px) clamp(20px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
  .firstjob h1 { color: #fff; }
  .firstjob h1 em { font-style: normal; color: var(--od-sun); display: block; }
  .firstjob__lede { font-size: 1.1rem; color: #e1eefa; max-inline-size: 520px; }
  .firstjob__checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; list-style: none; padding: 0; font-weight: 700; font-size: .95rem; }
  .firstjob__checks li { display: flex; gap: 8px; align-items: center; }
  .firstjob__checks li::before { content: ""; inline-size: 18px; block-size: 18px; border-radius: 4px; background: var(--od-sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10l3.5 3.5L15 6' fill='none' stroke='%23082a56' stroke-width='2.8' stroke-linecap='round'/%3E%3C/svg%3E") center/80% no-repeat; flex: none; }
  .firstjob__acts { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
  .firstjob__acts .tickbtn { inline-size: 300px; }
  .ghostbtn { display: inline-block; padding: 13px 22px; border: 2px solid currentColor; border-radius: 10px; color: inherit; text-decoration: none; font-family: var(--od-cond); font-weight: 700; font-size: 1.15rem; letter-spacing: .05em; text-transform: uppercase; }
  .ghostbtn:hover { background: #fff; color: var(--od-blue); }
  .firstjob__pic { position: relative; min-block-size: 440px; }
  .firstjob__pic img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }

  /* headline strip (Carex) */
  .banner-line { text-align: center; padding-block: 34px 10px; }
  .banner-line p { font-family: var(--od-cond); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2.1rem); color: var(--od-blue); text-transform: uppercase; letter-spacing: .02em; max-inline-size: 980px; margin-inline: auto; line-height: 1.15; }

  /* stat cards (ProHeal) */
  .tally { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; list-style: none; padding: 20px 0 0; }
  .tally li { display: flex; align-items: center; gap: 12px; border: 1px solid var(--od-line); background: #fff; border-radius: 12px; padding: 12px 20px; box-shadow: 0 4px 14px rgba(8,42,86,.06); }
  .tally b { font-family: var(--od-cond); font-size: 1.6rem; color: var(--od-navy); display: block; line-height: 1; }
  .tally span { font-size: .8rem; color: var(--od-mute); }
  .tally i { inline-size: 40px; block-size: 40px; border-radius: 50%; background: var(--od-mist); display: grid; place-items: center; font-style: normal; color: var(--od-blue); font-weight: 900; }

  /* brand ribbon */
  .ribbon { display: block; margin-block: 40px 0; }
  .ribbon img { inline-size: 100%; aspect-ratio: 5/1; object-fit: cover; }

  /* category tiles with overlaid bands (Carex 6 tiles) */
  .lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .line { position: relative; display: block; aspect-ratio: 4/3.1; overflow: hidden; border-radius: 6px; color: #fff; text-decoration: none; }
  .line img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .4s; }
  .line:hover img { transform: scale(1.05); }
  .line__band { position: absolute; inset-inline: 18px; inset-block-end: 22px; }
  .line__band b { display: inline-block; background: rgba(0,84,168,.92); font-family: var(--od-cond); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .04em; padding: 6px 14px; }
  .line__band span { display: block; inline-size: fit-content; background: rgba(8,42,86,.92); padding: 5px 14px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; border-block-start: 2px solid var(--od-sun); }

  /* shop by job (Carex "shop by condition" columns with ticks) */
  .jobs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
  .jobs h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .06em; color: var(--od-blue); border-block-end: 3px solid var(--od-sun); padding-block-end: 6px; margin-block-end: 10px; }
  .jobs ul { list-style: none; padding: 0; display: grid; gap: 8px; }
  .jobs a { display: flex; gap: 10px; align-items: baseline; color: var(--od-ink); text-decoration: none; font-size: .95rem; }
  .jobs a::before { content: ""; inline-size: 13px; block-size: 13px; border: 2px solid var(--od-blue); border-radius: 3px; flex: none; transform: translateY(2px); }
  .jobs a:hover { color: var(--od-blue); }
  .jobs a:hover::before { background: var(--od-sun); border-color: var(--od-navy); }

  /* tabbed picks (Munchkin "fresh finds" tabs + feature tile) */
  .picks__tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-block-end: 26px; }
  .picks__tabs label { cursor: pointer; padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: .88rem; color: var(--od-mute); border: 1px solid transparent; }
  .picks input { position: absolute; opacity: 0; pointer-events: none; }
  .picks__pane { display: none; }
  #pk-0:checked ~ .picks__panes > :nth-child(1), #pk-1:checked ~ .picks__panes > :nth-child(2),
  #pk-2:checked ~ .picks__panes > :nth-child(3), #pk-3:checked ~ .picks__panes > :nth-child(4),
  #pk-4:checked ~ .picks__panes > :nth-child(5), #pk-5:checked ~ .picks__panes > :nth-child(6) { display: block; }
  #pk-0:checked ~ .picks__tabs [for="pk-0"], #pk-1:checked ~ .picks__tabs [for="pk-1"],
  #pk-2:checked ~ .picks__tabs [for="pk-2"], #pk-3:checked ~ .picks__tabs [for="pk-3"],
  #pk-4:checked ~ .picks__tabs [for="pk-4"], #pk-5:checked ~ .picks__tabs [for="pk-5"] { background: var(--od-navy); color: #fff; }
  .picks input:focus-visible ~ .picks__tabs { outline: 2px dashed var(--od-sun); }
  .picks__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
  .picks__grid > :first-child { grid-row: span 2; }

  /* product card */
  .card { background: #fff; border: 1px solid var(--od-line); border-radius: var(--od-r); display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .2s; position: relative; }
  .card:hover { box-shadow: 0 10px 28px rgba(8,42,86,.12); }
  .card__pic { display: block; background: #fff; aspect-ratio: 1; padding: 14px; }
  .card__pic img { inline-size: 100%; block-size: 100%; object-fit: contain; }
  .card__flag { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; background: var(--od-rose); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
  .card__body { padding: 4px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
  .card__name { font-weight: 800; font-size: .98rem; line-height: 1.3; color: var(--od-ink); text-decoration: none; }
  .card__name:hover { color: var(--od-blue); }
  .card__note { font-size: .86rem; color: var(--od-mute); }
  .card__rate { font-size: .84rem; color: var(--od-mute); }
  .card__rate b { color: #e3a008; letter-spacing: 1px; }
  .card__row { display: flex; align-items: baseline; justify-content: space-between; margin-block-start: auto; padding-block-start: 6px; }
  .card__price { font-family: var(--od-cond); font-size: 1.6rem; font-weight: 800; color: var(--od-navy); }
  .card__opts { font-size: .78rem; color: var(--od-blue); font-weight: 700; }
  .card .tickbtn { margin-block-start: 10px; }
  .card--big .card__pic { aspect-ratio: auto; flex: 1; min-block-size: 340px; background: var(--od-mist); position: relative; }
  .card--big .card__pic img { position: absolute; inset: 20px; inline-size: calc(100% - 40px); block-size: calc(100% - 40px); }
  .card--big .card__body { flex: none; }
  .card--big .card__name { font-size: 1.25rem; }
  .grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

  /* wide photo banner with overlaid band (Carex "newest products") */
  .photoband { position: relative; min-block-size: 380px; display: grid; place-items: center; overflow: hidden; margin-block-start: 18px; }
  .photoband img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
  .photoband__box { position: relative; background: rgba(8,42,86,.78); color: #fff; text-align: center; padding: 26px 34px; inline-size: min(100% - 32px, 760px); }
  .photoband__box h2 { color: #fff; text-transform: uppercase; }
  .photoband__box p { margin-block: 8px 16px; color: #dbe9f7; }
  .pill { display: inline-block; background: var(--od-sun); color: var(--od-navy); font-weight: 900; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; padding: 10px 22px; border-radius: 6px; text-decoration: none; }
  .pill:hover { background: #fff; }

  /* teacher block (Really Good Stuff photo + colored arrow panels) */
  .teach { display: grid; grid-template-columns: 1.55fr 1fr; gap: 0; }
  .teach__pic { position: relative; min-block-size: 420px; }
  .teach__pic img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 90%; }
  .teach__pic figcaption { position: absolute; inset-inline-start: 24px; inset-block-end: 24px; background: #fff; border-radius: 999px; padding: 8px 20px; font-weight: 900; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--od-navy); }
  .teach__panels { display: grid; grid-template-rows: repeat(4, 1fr); }
  .teach__panels a { display: flex; align-items: center; justify-content: space-between; padding: 18px 26px; color: #fff; text-decoration: none; font-family: var(--od-cond); font-size: 1.45rem; font-weight: 700; letter-spacing: .02em; background-image: radial-gradient(circle at 90% 50%, rgba(255,255,255,.12) 0 34px, transparent 35px); }
  .teach__panels a::after { content: "\2192"; font-size: 1.4rem; transition: transform .2s; }
  .teach__panels a:hover::after { transform: translateX(6px); }
  .teach__panels a:nth-child(1) { background-color: var(--od-rose); }
  .teach__panels a:nth-child(2) { background-color: var(--od-navy); }
  .teach__panels a:nth-child(3) { background-color: #1a9a8a; }
  .teach__panels a:nth-child(4) { background-color: #6c4aa0; }
  .teach__intro { margin-block-end: 22px; }

  /* why cards (ProHeal) */
  .whys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .why { background: #f3f1ea; border-radius: 12px; padding: 28px 24px; text-align: center; }
  .why i { display: grid; place-items: center; inline-size: 56px; block-size: 56px; border-radius: 50%; background: var(--od-blue); color: #fff; margin: 0 auto 14px; font-style: normal; font-family: var(--od-cond); font-size: 1.6rem; font-weight: 800; }
  .why h3 { color: var(--od-blue); margin-block-end: 8px; }
  .why p { font-size: .94rem; color: #3d4c60; }

  /* reviews (OXO side-by-side text + product) */
  .says { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .say { display: grid; grid-template-columns: 1fr 150px; background: var(--od-paper); border: 1px solid var(--od-line); }
  .say__txt { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
  .say__stars { color: var(--od-navy); letter-spacing: 2px; }
  .say__title { font-weight: 900; }
  .say__body { font-size: .92rem; color: #3d4c60; }
  .say__who { font-size: .8rem; color: var(--od-mute); margin-block-start: auto; }
  .say__who b { color: var(--od-ink); }
  .say__link { font-weight: 800; font-size: .85rem; color: var(--od-rose); }
  .say__pic { background: #fff; display: grid; place-items: center; padding: 10px; }
  .say__pic img { inline-size: 100%; aspect-ratio: 1; object-fit: contain; }

  /* long-form SEO (Exmed) */
  .longread { columns: 2 380px; column-gap: 48px; }
  .longread p { margin-block-end: 16px; break-inside: avoid; color: #34445a; }
  .longread h2 { column-span: all; margin-block-end: 14px; }
  .longread__lede { column-span: all; font-size: 1.1rem; max-inline-size: 900px; margin-block-end: 28px !important; }
  .longread__part { break-inside: avoid; margin-block-end: 10px; }
  .longread h3 { font-size: 1.3rem; color: var(--od-blue); margin-block-end: 8px; }

  /* guide cards (Exmed "newest guides") */
  .notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .note { border: 1px solid var(--od-line); border-radius: 10px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
  .note img { aspect-ratio: 16/9; object-fit: cover; inline-size: 100%; }
  .note__b { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .note__b h3 { font-size: 1.2rem; }
  .note__b p { font-size: .9rem; color: var(--od-mute); }
  .note__b .pill { margin-block-start: auto; align-self: start; background: var(--od-blue); color: #fff; }
}

@layer pages {
  /* category (Vitality/Exmed listing: intro, sidebar filter, grid, long copy, related circles) */
  .shelf-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; padding-block: 8px 30px; }
  .shelf-top p { color: #3d4c60; margin-block-start: 12px; }
  .shelf-top figure img { border-radius: 10px; aspect-ratio: 16/10; object-fit: cover; inline-size: 100%; }
  .shelf { display: grid; grid-template-columns: 230px 1fr; gap: 28px; }
  .filters { align-self: start; position: sticky; inset-block-start: 150px; border: 1px solid var(--od-line); border-radius: 10px; padding: 16px; }
  .filters h2 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .06em; margin-block-end: 10px; }
  .filters fieldset { border: 0; padding: 0; margin: 0 0 16px; }
  .filters legend { font-weight: 800; font-size: .88rem; margin-block-end: 6px; }
  .filters label { display: flex; gap: 8px; align-items: center; font-size: .9rem; padding-block: 3px; cursor: pointer; }
  .filters input { accent-color: var(--od-blue); }
  .shelf__bar { display: flex; justify-content: space-between; align-items: center; margin-block-end: 14px; font-size: .9rem; color: var(--od-mute); gap: 12px; flex-wrap: wrap; }
  .shelf__bar select { padding: 6px 10px; border: 1px solid var(--od-line); border-radius: 6px; font: inherit; }
  .shelf .grid3 .card[hidden] { display: none; }
  .qa { border-block-start: 1px solid var(--od-line); }
  .qa details { border-block-end: 1px solid var(--od-line); padding-block: 14px; }
  .qa summary { font-weight: 800; cursor: pointer; font-size: 1.05rem; color: var(--od-navy); list-style: none; display: flex; justify-content: space-between; gap: 10px; }
  .qa summary::after { content: "+"; font-size: 1.4rem; color: var(--od-blue); line-height: 1; }
  .qa details[open] summary::after { content: "\2013"; }
  .qa details p { margin-block-start: 10px; color: #3d4c60; }
  .album__row { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
  .album__row--2 { grid-template-columns: 1.4fr 1fr; }
  .album__row img { inline-size: 100%; block-size: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; }
  .rings { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; text-align: center; }
  .rings a { text-decoration: none; color: var(--od-ink); font-weight: 800; font-size: .88rem; display: grid; gap: 10px; justify-items: center; }
  .rings img { inline-size: 110px; block-size: 110px; border-radius: 50%; object-fit: cover; border: 4px solid var(--od-mist); }
  .rings a:hover img { border-color: var(--od-sun); }

  /* product page */
  .item { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; padding-block: 6px 50px; }
  .gallery { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-self: start; position: sticky; inset-block-start: 150px; }
  .gallery__main { border: 1px solid var(--od-line); border-radius: 12px; background: #fff; aspect-ratio: 1; padding: 20px; }
  .gallery__main img { inline-size: 100%; block-size: 100%; object-fit: contain; }
  .gallery__thumbs { display: grid; gap: 8px; align-content: start; grid-row: 1; }
  .gallery__thumbs button { border: 2px solid var(--od-line); border-radius: 8px; background: #fff; padding: 3px; aspect-ratio: 1; }
  .gallery__thumbs button[aria-pressed="true"] { border-color: var(--od-blue); }
  .gallery__thumbs img { inline-size: 100%; block-size: 100%; object-fit: contain; }
  .buybox { display: flex; flex-direction: column; gap: 14px; }
  .buybox h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
  .buybox__meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: .9rem; color: var(--od-mute); }
  .buybox__meta b { color: #e3a008; letter-spacing: 1px; }
  .buybox__line { background: var(--od-mist); color: var(--od-blue); font-weight: 800; font-size: .78rem; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; }
  .buybox__price { font-family: var(--od-cond); font-size: 2.6rem; font-weight: 800; color: var(--od-navy); line-height: 1; }
  .buybox__price small { font-family: var(--od-text); font-size: .78rem; color: var(--od-mute); font-weight: 400; display: block; margin-block-start: 6px; }
  .buybox__pitch { font-size: 1.05rem; color: #34445a; }
  .chips { border: 0; padding: 0; margin: 0; }
  .chips legend { font-weight: 800; font-size: .9rem; margin-block-end: 8px; }
  .chips__row { display: flex; flex-wrap: wrap; gap: 8px; }
  .chips label { cursor: pointer; }
  .chips input { position: absolute; opacity: 0; }
  .chips span { display: inline-block; border: 2px solid var(--od-line); border-radius: 8px; padding: 7px 12px; font-size: .86rem; font-weight: 700; background: #fff; }
  .chips input:checked + span { border-color: var(--od-blue); background: var(--od-mist); color: var(--od-navy); }
  .chips input:focus-visible + span { outline: 3px solid var(--od-sun); }
  .buybox .tickbtn { max-inline-size: 460px; }
  .donelist { list-style: none; padding: 0; display: grid; gap: 10px; }
  .donelist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .96rem; }
  .donelist li::before { content: ""; inline-size: 20px; block-size: 20px; border-radius: 5px; background: var(--od-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10l3.5 3.5L15 6' fill='none' stroke='%23f0c81e' stroke-width='2.8' stroke-linecap='round'/%3E%3C/svg%3E") center/80% no-repeat; transform: translateY(2px); }
  .fitfor { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .fitfor > div { border-radius: 12px; padding: 22px; }
  .fitfor__yes { background: var(--od-mist); }
  .fitfor__no { background: #fdf0f5; }
  .fitfor h3 { margin-block-end: 10px; }
  .fitfor ul { padding-inline-start: 20px; display: grid; gap: 6px; }
  .specs { inline-size: 100%; border-collapse: collapse; font-size: .94rem; }
  .specs th, .specs td { text-align: start; padding: 10px 14px; border-block-end: 1px solid var(--od-line); vertical-align: top; }
  .specs th { inline-size: 36%; color: var(--od-navy); background: var(--od-paper); }
  .story { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
  .story p { color: #34445a; margin-block-end: 14px; }

  /* guide */
  .guide { display: grid; grid-template-columns: 1fr 300px; gap: 44px; padding-block-end: 50px; }
  .guide__hero img { border-radius: 12px; aspect-ratio: 16/8; object-fit: cover; inline-size: 100%; margin-block: 18px; }
  .guide ol.steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 20px; }
  .guide ol.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 16px; }
  .guide ol.steps li::before { content: counter(s); inline-size: 52px; block-size: 52px; border-radius: 12px; background: var(--od-blue); color: #fff; display: grid; place-items: center; font-family: var(--od-cond); font-size: 1.7rem; font-weight: 800; }
  .guide ol.steps p { color: #34445a; }
  .guide aside { align-self: start; position: sticky; inset-block-start: 150px; display: grid; gap: 14px; }
  .tipbox { background: #fff8d9; border-inline-start: 5px solid var(--od-sun); padding: 18px 20px; border-radius: 6px; }
  .tipbox ul { padding-inline-start: 18px; display: grid; gap: 6px; font-size: .94rem; }

  .lost { text-align: center; padding-block: 90px; }
  .lost p { margin-block: 14px 24px; color: var(--od-mute); }
}

@layer util {
  .mt { margin-block-start: 28px; }
  .center { text-align: center; }
  .vh { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  @media (max-width: 1080px) {
    .grid4 { grid-template-columns: repeat(3, 1fr); }
    .jobs { grid-template-columns: repeat(2, 1fr); }
    .promises ul { grid-template-columns: repeat(3, 1fr); }
    .rings { grid-template-columns: repeat(3, 1fr); }
    .basement__grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 860px) {
    .masthead { position: static; }
    .masthead__row { flex-wrap: wrap; }
    .sec__head { flex-direction: column; align-items: flex-start; }
    .sec { padding-block: 44px; }
    .masthead__logo img { inline-size: 160px; }
    .masthead__cta { inline-size: 190px; }
    .masthead__burger { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; text-transform: uppercase; font-size: .85rem; letter-spacing: .08em; color: var(--od-navy); cursor: pointer; border: 2px solid var(--od-navy); border-radius: 8px; padding: 6px 12px; }
    .jobbar { display: none; }
    #od-menu:checked ~ .jobbar { display: block; }
    .jobbar ul { flex-direction: column; }
    .topline__links { display: none; }
    .firstjob, .teach, .shelf-top, .item, .story, .guide { grid-template-columns: 1fr; }
    .firstjob__pic { min-block-size: 260px; }
    .lines, .grid3, .notes, .whys { grid-template-columns: repeat(2, 1fr); }
    .picks__grid { grid-template-columns: 1fr 1fr; }
    .picks__grid > :first-child { grid-row: auto; grid-column: span 2; }
    .says { grid-template-columns: 1fr; }
    .shelf { grid-template-columns: 1fr; }
    .filters { position: static; }
    .gallery { position: static; }
    .guide aside { position: static; }
    .teach__pic { min-block-size: 280px; }
  }
  @media (max-width: 560px) {
    .masthead__cta { order: 3; inline-size: 100%; }
    .lines, .grid3, .grid4, .notes, .whys, .fitfor { grid-template-columns: 1fr; }
    .jobs { grid-template-columns: 1fr; }
    .promises ul { grid-template-columns: 1fr 1fr; }
    .firstjob__checks { grid-template-columns: 1fr; }
    .firstjob__acts .tickbtn { inline-size: 100%; }
    .say { grid-template-columns: 1fr 100px; }
    .album__row, .album__row--2 { grid-template-columns: 1fr; }
    .rings { grid-template-columns: repeat(2, 1fr); }
    .basement__grid { grid-template-columns: 1fr; }
    .card--big .card__pic { min-block-size: 240px; }
    .gallery { grid-template-columns: 1fr; }
    .gallery__thumbs { grid-row: 2; grid-template-columns: repeat(6, 1fr); }
  }
}
