:root {
  --pine: #173b31;
  --deep: #102d25;
  --ink: #202b25;
  --muted: #506058;
  --olive: #426352;
  --gold: #e7bd72;
  --paper: #f8f6ef;
  --sand: #eeecdf;
  --line: #d9ded2;
  --white: #fffdf7;
  --display: Georgia, 'Times New Roman', serif;
  --body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 32px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.62 var(--body); }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .23em; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #b86b19; outline-offset: 4px; }
::selection { color: var(--deep); background: var(--gold); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.13; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.8vw, 5.15rem); }
h2 { font-size: clamp(1.95rem, 3.4vw, 3.1rem); }
h3 { font-size: 1.22rem; }
.shell { width: min(100% - 96px, 1264px); margin-inline: auto; }
.padded { padding-block: clamp(55px, 7vw, 96px); }
.padded-bottom { padding-bottom: clamp(52px, 6vw, 88px); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 4; padding: 12px 18px; background: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 82px; display: grid; grid-template-columns: minmax(165px, 1fr) auto minmax(126px, 1fr); align-items: center; gap: clamp(16px, 3.5vw, 52px); padding-block: 7px; }
.brand { display: block; width: fit-content; }
.brand img { width: 100px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: clamp(15px, 3vw, 38px); }
.primary-nav a { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 650; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current] { color: var(--pine); text-decoration: underline; }
.header-contact { justify-self: end; }
.button { display: inline-flex; align-items: center; gap: 14px; width: fit-content; padding: .66rem 1.1rem; min-height: 44px; border: 1px solid transparent; border-radius: 5px; color: var(--white); background: var(--pine); text-decoration: none; font-size: .88rem; font-weight: 700; }
.button:hover { background: #285445; }
.button-gold { background: var(--gold); color: var(--deep); }
.button-gold:hover { background: #f6d29a; }
.button span, .text-link span, .card-arrow, .topic-card b { font-size: 1.08em; }
.text-link { display: inline-flex; align-items: flex-start; gap: 9px; width: fit-content; color: var(--pine); font-size: .94rem; font-weight: 700; }
.text-link-light { color: var(--white); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 22px; margin-top: 25px; }
.eyebrow { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); }
.home-hero { background: var(--pine); color: var(--white); }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(25px, 5vw, 78px); align-items: center; padding-block: clamp(34px, 4vw, 61px); }
.home-copy h1 { margin-block: 13px 19px; }
.home-copy p, .library-hero-inner p { color: #e3e9df; max-width: 49ch; font-size: clamp(1.03rem, 2vw, 1.19rem); }
.home-copy .eyebrow { color: var(--gold); }
.home-image { position: relative; min-width: 0; }
.home-image img { width: 100%; aspect-ratio: 1.24; object-fit: cover; border-radius: 9px; }
.home-image a { position: absolute; right: 13px; bottom: 13px; background: var(--deep); color: var(--white); padding: 7px 13px; border-radius: 4px; text-decoration: none; font-size: .8rem; }
.home-image a:hover { text-decoration: underline; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 27px; margin-bottom: 24px; }
.product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 22px); }
.product-card, .topic-card, .guide-card { display: block; border-radius: 8px; border: 1px solid var(--line); background: var(--white); color: var(--ink); overflow: hidden; text-decoration: none; }
.product-card:hover, .topic-card:hover, .guide-card:hover { border-color: #8da18f; }
.product-card:hover h3, .topic-card:hover h3, .guide-card:hover h3 { text-decoration: underline; }
.product-card img, .topic-card img { width: 100%; aspect-ratio: 1.36; object-fit: cover; background: var(--sand); }
.product-card div { position: relative; min-height: 92px; padding: 13px 27px 15px 13px; }
.product-card h3, .topic-card h3 { margin-top: 5px; }
.product-card div > span, .topic-card div > span { font-size: .73rem; color: var(--olive); font-weight: 750; }
.product-card b, .topic-card b { position: absolute; right: 12px; bottom: 12px; color: var(--pine); font-weight: 600; }
.learn-band { background: var(--sand); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 8vw, 100px); align-items: center; }
.split h2 { margin-block: 7px 13px; }
.split p { max-width: 43ch; margin-bottom: 19px; color: var(--muted); }
.quick-topics { list-style: none; margin: 0; padding: 0; }
.quick-topics a { display: flex; justify-content: space-between; gap: 15px; padding: 14px 0; border-bottom: 1px solid #c4ccbc; font-weight: 700; text-decoration: none; }
.quick-topics a:hover { text-decoration: underline; }
.home-sourcing { background: var(--white); border-top: 1px solid var(--line); }
.shipment-intro { max-width: 54ch; margin-top: 12px; color: var(--muted); }
.shipment-checklist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 4vw, 46px); margin: 24px 0; padding: 0; list-style: none; }
.shipment-checklist li { border-top: 2px solid var(--line); padding-top: 14px; }
.shipment-checklist p { color: var(--muted); margin-top: 7px; }
.crumb { padding-block: 23px 13px; font-size: .79rem; color: var(--muted); }
.crumb ol { display: flex; flex-wrap: wrap; align-items: baseline; row-gap: 3px; list-style: none; margin: 0; padding: 0; }
.crumb li + li::before { content: '›'; margin-inline: .64em; color: var(--olive); }
.crumb span { font-weight: 600; }
.page-heading { padding-bottom: 28px; }
.page-heading h1 { margin-bottom: 12px; }
.page-heading p, .feature-copy > p { color: var(--muted); max-width: 61ch; font-size: 1.08rem; }
.feature-copy > p + p { margin-top: 15px; }
.product-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .84fr); align-items: center; gap: clamp(24px, 6vw, 90px); padding-top: 14px; }
.feature-copy h1 { margin-block: 5px 14px; }
.feature-copy .text-link { margin-top: 14px; }
.feature-copy .actions .text-link { margin-top: 0; }
.feature-photo { width: 100%; aspect-ratio: 1.58; object-fit: cover; border-radius: 9px; background: var(--sand); }
.product-details h2 { margin-bottom: 14px; }
.specs { max-width: 75ch; margin: 0; border-block-start: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: minmax(135px, .65fr) 1.35fr; gap: 12px; padding-block: 11px; border-block-end: 1px solid var(--line); }
.specs dt { font-weight: 700; }
.specs dd { margin: 0; color: var(--muted); }
.partner-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.partner-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 7px; margin-bottom: 10px; }
.partner-grid p { color: var(--muted); font-size: .86rem; margin-top: 4px; }
.pill-nav { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 28px; }
.pill-nav a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 20px; font-size: .88rem; background: var(--white); text-decoration: none; }
.pill-nav a:hover { text-decoration: underline; }
.gallery-section:target h2 { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.gallery-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.gallery-grid img { width: 100%; aspect-ratio: 1.3; object-fit: cover; border-radius: 5px; background: var(--sand); }
.photo-dialog { padding: 13px; border: 0; border-radius: 9px; width: fit-content; max-width: 92vw; background: var(--white); }
.photo-dialog::backdrop { background: rgb(9 24 18 / .82); }
.photo-dialog form { display: flex; justify-content: end; margin-bottom: 10px; }
.photo-display img { max-height: 74vh; max-width: min(84vw, 1100px); object-fit: contain; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .75fr); gap: clamp(18px, 5vw, 56px); align-items: start; }
.contact-panel, .office { border: 1px solid var(--line); background: var(--white); padding: clamp(18px, 3vw, 34px); border-radius: 9px; min-width: 0; }
.contact-panel h2, .office h2 { font-size: clamp(1.65rem, 3vw, 2.38rem); margin-bottom: 17px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 15px; margin-bottom: 16px; }
.form-field label, .guide-filter label { display: block; font-size: .84rem; font-weight: 700; margin-bottom: 4px; }
.form-field small { color: var(--muted); font-weight: 500; }
.full-field { grid-column: 1 / -1; }
.form-field input, .form-field textarea, .guide-filter input { width: 100%; border: 1px solid #9ca99d; border-radius: 4px; padding: 8px 10px; color: var(--ink); background: #fff; }
.form-field textarea { resize: vertical; }
.form-field [aria-invalid='true'] { border-color: #a14129; }
.field-error { color: #8b321f; font-size: .8rem; }
.office { background: var(--sand); }
.office address { font-style: normal; color: var(--muted); margin-bottom: 9px; }
.office a { display: block; margin-top: 8px; overflow-wrap: anywhere; }
.notice { border-left: 3px solid #aa582c; background: #fbefde; color: #60361d !important; padding: 9px 13px; margin-bottom: 12px; font-size: .93rem !important; }
.notice.success { border-color: var(--olive); background: #e9f2e8; color: var(--deep) !important; }
.library-hero { background: var(--pine); color: var(--white); }
.library-hero .crumb, .library-hero .crumb li + li::before { color: #e1e9dc; }
.library-hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(20px, 6vw, 80px); align-items: center; padding: 13px 0 37px; }
.library-hero-inner h1 { margin-bottom: 12px; }
.library-hero-inner img { width: 100%; aspect-ratio: 1.85; object-fit: cover; border-radius: 9px; }
.topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(13px, 2vw, 23px); }
.topic-card { display: flex; flex-direction: column; }
.topic-card img { aspect-ratio: 1.85; }
.topic-card div { position: relative; padding: 13px 16px 33px; flex: 1; }
.topic-card p { color: var(--muted); font-size: .9rem; margin-top: 7px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.guide-card { position: relative; padding: 16px 22px 31px 15px; }
.guide-card h3 { margin-block: 5px 7px; font-size: 1.13rem; }
.guide-card p { color: var(--muted); font-size: .85rem; }
.guide-card-kicker { font-weight: 700; font-size: .7rem; color: var(--olive); }
.card-arrow { position: absolute; bottom: 7px; right: 13px; color: var(--pine); }
.guide-filter { width: min(300px, 100%); }
.filter-status { margin-block: -12px 10px; color: var(--muted); font-size: .83rem; }
.editorial { max-width: 1090px; }
.article-heading { padding-top: clamp(19px, 4vw, 49px); padding-bottom: clamp(22px, 3.5vw, 45px); max-width: 860px; }
.article-heading h1 { margin-block: 7px 16px; font-size: clamp(2.4rem, 5.5vw, 4.68rem); }
.article-deck { color: var(--muted); font-size: clamp(1.04rem, 2vw, 1.28rem); max-width: 60ch; }
.article-meta { color: var(--muted); font-size: .81rem; margin-top: 12px; }
.article-meta span { padding-inline: 5px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(185px, 253px); align-items: start; gap: clamp(23px, 5vw, 72px); }
.contents-wrap { grid-column: 2; grid-row: 1; position: sticky; top: 21px; }
.contents { border: 1px solid var(--line); background: var(--sand); border-radius: 7px; padding: 14px 16px; }
.contents h2 { font: 750 .75rem/1.3 var(--body); color: var(--deep); letter-spacing: .11em; text-transform: uppercase; }
.contents ol { list-style: none; margin: 6px 0 0; padding: 0; }
.contents li + li { border-top: 1px solid #d8ddcf; }
.contents a { display: block; padding-block: 8px; color: var(--muted); text-decoration: none; font-size: .87rem; line-height: 1.4; }
.contents a:hover, .contents a[aria-current] { text-decoration: underline; color: var(--deep); }
.article-body { grid-column: 1; grid-row: 1; }
.article-body p, .article-sources ul { font-size: clamp(.99rem, 1.5vw, 1.07rem); line-height: 1.75; }
.article-body .intro { font-size: clamp(1.05rem, 1.5vw, 1.18rem); }
.guide-figure { margin: 23px 0 31px; }
.guide-figure img { width: 100%; height: auto; border-radius: 8px; background: var(--pine); }
.article-body section { margin-bottom: 27px; }
.article-body h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); margin-bottom: 8px; }
.article-body section:target h2 { text-decoration: underline; text-decoration-color: #ba7834; text-decoration-thickness: .07em; text-underline-offset: .18em; }
.article-body p + p { margin-top: 9px; }
.article-sources { padding-top: 20px; border-top: 1px solid var(--line); }
.article-sources ul { margin: 0; padding-left: 1.15em; }
.article-sources a, .product-note a { color: var(--pine); }
.product-note { padding: 9px 14px; background: var(--sand); border-radius: 6px; font-weight: 650; }
.related { padding-top: 45px; }
.error-page { padding-block: 55px 87px; }
.footer { background: var(--deep); color: #e3e8dd; }
.footer-main { display: grid; grid-template-columns: 1.2fr .8fr 1.1fr; gap: 20px 55px; padding-block: 35px; }
.footer-main p { max-width: 30ch; font-size: .87rem; margin-top: 9px; }
.footer h2 { font: 700 .93rem/1.35 var(--body); color: var(--white); letter-spacing: 0; margin-bottom: 8px; }
.footer ul { padding: 0; margin: 0; list-style: none; }
.footer address { font-style: normal; }
.footer address a, .footer li a { display: block; width: fit-content; font-size: .84rem; overflow-wrap: anywhere; }
.footer address a + a { margin-top: 4px; }
.brand-footer img { background: var(--white); border-radius: 6px; padding: 5px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 17px; padding-block: 13px; border-top: 1px solid #456057; font-size: .75rem; }
.footer-bottom div { display: flex; flex-wrap: wrap; gap: 4px 13px; }

@media (max-width: 1020px) {
  .shell { width: calc(100% - 54px); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .topic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 34px); }
  .header-inner { grid-template-columns: 1fr auto; gap: 0 10px; min-height: 0; padding-block: 10px 3px; }
  .primary-nav { grid-row: 2; grid-column: 1 / -1; min-height: 42px; justify-content: space-between; gap: 8px; }
  .primary-nav a { display: inline-flex; align-items: center; min-height: 42px; font-size: .81rem; }
  .brand img { width: 82px; }
  .header-contact { min-height: 38px; font-size: .8rem; padding: 4px 9px; }
  .home-hero-grid, .library-hero-inner, .product-feature, .split, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .home-hero-grid { padding-block: 28px 23px; }
  .home-image img { aspect-ratio: 1.55; }
  .shipment-checklist { grid-template-columns: minmax(0, 1fr); }
  .topic-grid, .guide-grid, .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .article-layout { display: block; }
  .contents-wrap { position: static; margin-bottom: 20px; }
  .contents a { padding-block: 9px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 17px 25px; }
  .footer-main div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 465px) {
  .section-heading { flex-wrap: wrap; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-card div { padding-inline: 10px; }
  .topic-card h3, .guide-card h3 { font-size: 1rem; }
  .topic-card p { font-size: .79rem; }
  .guide-grid, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .specs div { grid-template-columns: minmax(95px, .58fr) 1fr; }
  .crumb { font-size: .73rem; }
}
