:root {
  --paper: #f8f8f3;
  --ink: #252d27;
  --muted: #6c7565;
  --line: #dce0d3;
  --lime: #dceda5;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; line-height: 1.1; }
h1, h2 { font-family: var(--serif); }
em { font-weight: 400; color: #6c7c53; }
svg { flex-shrink: 0; vertical-align: middle; }
[hidden] { display: none !important; }
::selection { background: var(--lime); }
:focus-visible { outline: 2px solid #71834b; outline-offset: 5px; }
.container { max-width: 1360px; margin: 0 auto; padding: 0 48px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.eyebrow { display: block; font-size: 12px; font-weight: 500; line-height: 1.6; letter-spacing: 1.6px; text-transform: uppercase; color: #72805d; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 48px; padding: 12px 22px; border-radius: 5px; border: 1px solid transparent; font-size: 16px; font-weight: 500; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #3c4a33; }
.button-outline { background: transparent; border-color: #c9d1bc; }
.button-outline:hover { background: #ecf0e1; }
.skip-link { position: fixed; top: -100px; left: 15px; z-index: 100; background: var(--ink); color: white; padding: 12px 20px; }
.skip-link:focus { top: 10px; }

/* A simple header, with direct links instead of menus. */
.site-header { position: sticky; top: 0; z-index: 10; height: 90px; background: #f8f8f3f5; backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1456px; height: 100%; padding: 0 48px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; line-height: 1; font-weight: 700; letter-spacing: -1px; white-space: nowrap; }
.brand>span:last-child { font-weight: 400; margin-left: -10px; }
.brand-mark { width: 35px; height: 35px; border-radius: 9px; display: inline-flex; justify-content: center; align-items: center; background: var(--lime); margin-right: 1px; }
.brand-mark .icon { width: 25px; height: 25px; stroke-width: 1.2; }
.site-header nav { display: flex; align-items: center; gap: 23px; font-size: 15px; white-space: nowrap; }
.site-header nav>a { position: relative; flex-shrink: 0; padding-top: 12px; padding-bottom: 12px; }
.site-header nav>a[aria-current="page"] { color: #59743a; font-weight: 500; }
.site-header nav>a[aria-current="page"]::after { content: ''; position: absolute; height: 2px; left: 0; right: 0; bottom: 3px; background: #91a96b; border-radius: 2px; }
.site-header nav a:hover { color: #647b3c; }
.nav-explore { display: inline-flex; align-items: center; gap: 16px; padding: 11px 18px; border-radius: 5px; background: var(--lime); }
.nav-explore .icon { width: 17px; height: 17px; }

/* Three clear sections: an introduction, categories, and the learning library. */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px 0 58px; }
.hero-copy { padding: 12px 0; }
.hero h1 { font-size: clamp(60px, 6vw, 84px); letter-spacing: -2px; line-height: 1.04; margin: 24px 0 26px; }
.hero-copy>p { font-size: 18px; color: var(--muted); line-height: 1.85; max-width: 450px; }
.hero .button { margin-top: 30px; }
.hero-footnote { display: block; margin-top: 26px; font-size: 14px; color: #818b72; }
.hero-photo { display: block; position: relative; height: 475px; border-radius: 10px; overflow: hidden; isolation: isolate; color: white; background: #68766a; }
.hero-photo>img { position: absolute; height: 100%; width: 100%; object-fit: cover; z-index: -2; transition: transform .7s; }
.hero-photo:hover>img { transform: scale(1.035); }
.hero-photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 35%, #172d21b8); }
.hero-photo-caption { position: absolute; left: 30px; right: 30px; bottom: 30px; }
.hero-photo .eyebrow { color: #eef2df; font-size: 12px; }
.hero-photo h2 { font-size: 45px; line-height: 1.08; margin-top: 12px; }
.photo-arrow { position: absolute; right: 0; bottom: 0; border: 1px solid #ffffff80; border-radius: 50%; width: 43px; height: 43px; display: flex; align-items: center; justify-content: center; }
.categories-section { padding: 38px 0 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 18px; margin-bottom: 26px; }
.section-heading h2 { font-size: 41px; letter-spacing: -.6px; }
.section-heading .eyebrow { margin-bottom: 13px; }
.section-caption, .collection-total { font-size: 14px; color: #7b856e; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.category-card { display: flex; align-items: center; gap: 15px; padding: 20px; border: 1px solid #dde3d1; border-radius: 7px; background: #f0f3e9; transition: background .2s; }
.category-card:hover { background: #e5edda; }
.category-card>.icon:first-child { height: 26px; width: 26px; color: #71815a; stroke-width: 1.25; }
.category-card>span { font-size: 17px; font-weight: 500; }
.category-card small { display: block; font-size: 13px; color: #7e8c6e; font-weight: 400; margin-top: 3px; }
.category-card>.icon:last-child { margin-left: auto; height: 17px; width: 17px; color: #859475; }
.library { padding: 56px 0 65px; }
.library-controls { display: flex; gap: 14px; }
.search-field { display: flex; flex: 1; align-items: center; gap: 12px; border: 1px solid #d3dbca; border-radius: 6px; background: #fff9; padding: 0 16px; min-width: 0; }
.search-field>.icon { color: #889779; width: 19px; height: 19px; }
.search-field input { width: 100%; min-width: 0; border: 0; background: transparent; height: 49px; outline: 0; font-size: 16px; color: var(--ink); }
.search-field:focus-within { outline: 2px solid #879e67; outline-offset: 2px; }
.search-field input::placeholder { color: #969f8d; }
.category-select { position: relative; min-width: 240px; }
.category-select select { appearance: none; width: 100%; height: 51px; padding: 0 40px 0 17px; background: #fff9; border: 1px solid #d3dbca; border-radius: 6px; color: var(--ink); font-size: 16px; cursor: pointer; }
.category-select>.icon { position: absolute; pointer-events: none; right: 14px; top: 16px; width: 17px; height: 17px; }
.results-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; color: #818d72; margin: 19px 0 25px; }
.text-button { border: 0; background: none; padding: 0; color: #607b42; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.tutorial-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 42px 26px; }
.tutorial-card { min-width: 0; display: flex; flex-direction: column; }
.card-image { display: block; position: relative; aspect-ratio: 1.5; overflow: hidden; border-radius: 7px; background: #e2e7da; }
.card-image img { height: 100%; width: 100%; object-fit: cover; transition: transform .65s; }
.tutorial-card:hover img { transform: scale(1.04); }
.level-badge { position: absolute; left: 12px; top: 12px; padding: 4px 10px; font-size: 12px; border-radius: 4px; background: #f8faf2eb; color: #4a5940; }
.card-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 18px 0 10px; font-size: 12px; line-height: 1.6; color: #7d8e66; }
.card-meta>a { text-transform: uppercase; letter-spacing: .8px; font-weight: 500; }
.card-meta>a:hover { text-decoration: underline; }
.card-meta>span { font-size: 13px; color: #8b9580; }
.tutorial-card h3 { font-family: var(--serif); font-size: 31px; line-height: 1.16; letter-spacing: -.3px; }
.tutorial-card h3 a:hover { color: #6d8151; }
.tutorial-card>p { font-size: 16px; line-height: 1.8; color: var(--muted); margin: 13px 0 22px; }
.card-read { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 15px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.card-read .icon { width: 18px; height: 18px; }
.load-more-wrap { display: flex; justify-content: center; margin-top: 40px; }
.load-more-wrap:has(button[hidden]) { display: none; }
.empty-state { text-align: center; padding: 60px 20px; border: 1px dashed #cfd9c2; border-radius: 8px; }
.empty-state h3 { font-family: var(--serif); font-size: 36px; margin-bottom: 14px; }
.empty-state p { font-size: 16px; color: var(--muted); }

/* Collections and individual tutorial pages. */
.breadcrumbs { overflow-wrap: anywhere; display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #818d73; padding-top: 27px; }
.breadcrumbs a:hover { color: var(--ink); }
.category-intro { padding: 40px 0 34px; }
.category-intro h1 { font-size: clamp(52px, 6vw, 76px); line-height: 1.07; letter-spacing: -1.5px; margin: 18px 0 20px; }
.category-intro>p { max-width: 710px; color: var(--muted); font-size: 18px; line-height: 1.85; }
.category-links { display: flex; gap: 10px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.category-links a { font-size: 14px; padding: 8px 15px; border: 1px solid #d4ddc7; border-radius: 25px; }
.category-links a:hover { background: #e9eedf; }
.category-links a[aria-current] { background: var(--ink); color: white; border-color: var(--ink); }
.back-link { border-top: 1px solid var(--line); padding: 26px 0 55px; }
.back-link a { display: inline-flex; align-items: center; gap: 20px; font-size: 16px; }
.guide>header { max-width: 940px; margin: 0 auto; padding: 52px 0 38px; }
.guide h1 { font-size: clamp(52px, 5.3vw, 72px); letter-spacing: -1.5px; line-height: 1.06; margin: 20px 0 24px; }
.guide-intro { font-size: 18px; line-height: 1.85; color: var(--muted); }
.guide-cover { width: 100%; height: 520px; object-fit: cover; border-radius: 9px; background: #e4eadb; }
.portrait-cover { object-position: 50% 22%; }
.guide-body { max-width: 800px; margin: 0 auto; padding: 40px 0 48px; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: #788568; margin-top: 24px; }
.related-guides { border-top: 1px solid var(--line); padding: 45px 0 65px; }
.related-guides .section-heading>a { font-size: 16px; color: #607b42; }
.related-guides .section-heading>a:hover { text-decoration: underline; }
.equipment { border: 1px solid #dce4ce; background: #edf1e5; border-radius: 7px; padding: 20px 25px; margin-bottom: 35px; }
.equipment strong { font-size: 14px; font-weight: 500; color: #62774b; }
.equipment p { color: var(--muted); font-size: 16px; line-height: 1.8; margin-top: 5px; }
.guide-step { margin-bottom: 34px; }
.guide-step .eyebrow { font-size: 12px; }
.guide-step h2 { font-family: var(--serif); font-size: 34px; margin: 10px 0 15px; line-height: 1.15; }
.guide-step p { font-size: 18px; line-height: 1.9; color: var(--muted); }
.field-note { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 32px; padding: 22px 0; }
.field-note h3 { font-family: var(--serif); font-size: 28px; margin-bottom: 12px; }
.field-note p { color: var(--muted); font-size: 16px; line-height: 1.85; }
.practice { background: #e9efdc; border: 1px solid #d8e2c7; border-radius: 7px; padding: 25px 28px; }
.practice h2 { font-family: var(--serif); font-size: 35px; margin: 12px 0 15px; }
.practice p { font-size: 17px; color: #6b7b59; line-height: 1.85; }
.guide-credit { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 25px; font-size: 12px; color: #879578; }
.guide-credit a { text-decoration: underline; text-underline-offset: 3px; }
.detail-status { min-height: 65dvh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; padding: 55px 0; }
.detail-status h1 { font-size: clamp(44px, 6vw, 68px); }
.detail-status p { font-size: 18px; color: var(--muted); max-width: 600px; }
.status-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer { border-top: 1px solid var(--line); padding: 35px 0; background: #eef1e7; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; }
.site-footer .brand { font-size: 22px; }
.site-footer .brand-mark { width: 31px; height: 31px; }
.site-footer .brand-mark>.icon { width: 23px; height: 23px; }
.site-footer p { font-size: 14px; color: #7d8b6d; margin-top: 13px; }
.footer-note { text-align: right; align-self: center; }
.footer-note>span { font-family: var(--serif); font-style: italic; font-size: 23px; color: #72845b; }
.footer-note>p { margin-top: 7px; }
.error-page { min-height: 65dvh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-top: 60px; padding-bottom: 60px; }
.error-page h1 { font-size: 68px; margin: 20px 0; }
.error-page p { color: var(--muted); margin-bottom: 26px; max-width: 560px; }

@media(min-width:1600px) {
  .hero h1 { font-size: 90px; }
  .hero-photo { height: 510px; }
}
@media(max-width:1200px) {
  html { scroll-padding-top: 145px; }
  .site-header { height: 130px; }
  .header-inner { flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding-top: 14px; padding-bottom: 8px; }
  .site-header nav { width: 100%; min-width: 0; overflow-x: auto; gap: 26px; scrollbar-width: thin; scrollbar-color: #c2ceb0 transparent; padding-bottom: 4px; }
  .site-header nav>a { scroll-margin-inline: 18px; }
  .site-header nav .nav-explore { padding: 9px 16px; }
}
@media(max-width:1100px) {
  .container, .header-inner { padding-left: 32px; padding-right: 32px; }
  .hero { gap: 30px; }
  .hero h1 { font-size: 67px; }
  .hero-photo { height: 440px; }
  .category-card { padding: 17px; gap: 12px; }
  .category-card>span { font-size: 16px; }
  .tutorial-grid { gap: 35px 22px; }
  .tutorial-card h3 { font-size: 29px; }
  .site-header nav { gap: 24px; }
}
@media(max-width:900px) {
  .hero h1 { font-size: 59px; }
  .hero-copy>p { font-size: 17px; }
  .hero-footnote { font-size: 13px; }
  .hero-photo { height: 420px; }
  .hero-photo h2 { font-size: 39px; }
  .hero-photo-caption { left: 24px; right: 24px; bottom: 24px; }
  .section-heading h2 { font-size: 37px; }
  .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tutorial-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-header nav { gap: 20px; font-size: 15px; }
  .nav-explore { padding: 10px 14px; gap: 12px; }
}
@media(max-width:700px) {
  html { scroll-padding-top: 135px; }
  .container, .header-inner { padding-left: 24px; padding-right: 24px; }
  .site-header { height: 120px; }
  .brand { font-size: 22px; gap: 8px; }
  .brand>span:last-child { margin-left: -8px; }
  .brand-mark { width: 31px; height: 31px; border-radius: 8px; }
  .brand-mark .icon { height: 23px; width: 23px; }
  .site-header nav .desktop-link { display: none; }
  .hero { grid-template-columns: 1fr; padding: 32px 0 38px; gap: 30px; }
  .hero h1 { font-size: clamp(61px,11vw,82px); margin: 20px 0 24px; }
  .hero-copy>p { font-size: 18px; }
  .hero .button { margin-top: 25px; }
  .hero-footnote { font-size: 14px; margin-top: 20px; }
  .hero-photo { height: 390px; }
  .hero-photo h2 { font-size: 44px; }
  .categories-section { padding: 30px 0 35px; }
  .section-heading h2 { font-size: 37px; }
  .section-caption, .collection-total { font-size: 14px; }
  .category-card { padding: 17px 15px; gap: 12px; }
  .category-card>.icon:first-child { width: 22px; height: 22px; }
  .category-card>span { font-size: 16px; }
  .category-card>.icon:last-child { display: none; }
  .library { padding-top: 37px; padding-bottom: 45px; }
  .library-controls { flex-wrap: wrap; gap: 12px; }
  .search-field { flex-basis: 100%; }
  .category-select { width: 100%; min-width: 0; }
  .tutorial-grid { gap: 34px 22px; }
  .category-intro { padding-top: 30px; }
  .category-intro h1 { font-size: 59px; }
  .category-intro>p { font-size: 17px; }
  .category-links { gap: 8px; padding-bottom: 25px; }
  .category-links a { padding: 7px 13px; }
  .guide>header { padding: 35px 0 28px; }
  .guide h1 { font-size: 52px; }
  .guide-intro { font-size: 17px; }
  .guide-cover { height: 350px; }
  .guide-body { padding: 30px 0 40px; }
  .guide-step p { font-size: 17px; }
  .equipment { padding: 18px 20px; }
  .practice { padding: 23px; }
  .guide-credit { font-size: 12px; }
  .footer-inner { flex-wrap: wrap; gap: 25px; }
  .footer-note { text-align: left; }
  .error-page h1 { font-size: 56px; }
}
@media(max-width:520px) {
  .container, .header-inner { padding-left: 20px; padding-right: 20px; }
  .header-inner { gap: 15px; }
  .brand { font-size: 21px; }
  .nav-explore { font-size: 14px; background: transparent; padding: 8px 0; gap: 8px; }
  .nav-explore .icon { width: 15px; height: 15px; }
  .hero h1 { font-size: clamp(52px,14vw,70px); letter-spacing: -1.5px; }
  .hero .eyebrow { font-size: 12px; letter-spacing: 1.3px; }
  .hero-copy>p { font-size: 17px; }
  .hero-photo { height: 345px; }
  .hero-photo h2 { font-size: 40px; }
  .section-heading h2 { font-size: 36px; }
  .section-heading .eyebrow { font-size: 12px; letter-spacing: 1px; }
  .category-grid { gap: 11px; }
  .category-card { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 15px; }
  .category-card>span { font-size: 17px; line-height: 1.5; }
  .category-card small { font-size: 13px; }
  .tutorial-grid { grid-template-columns: 1fr; gap: 35px; }
  .tutorial-card h3 { font-size: 33px; }
  .card-meta { margin-top: 17px; }
  .tutorial-card>p { font-size: 16px; }
  .category-intro h1 { font-size: 53px; }
  .category-intro .eyebrow { font-size: 12px; letter-spacing: 1px; }
  .category-links a { font-size: 13px; }
  .guide>header { padding: 30px 0 26px; }
  .guide h1 { font-size: 46px; letter-spacing: -.8px; }
  .guide-cover { height: 280px; }
  .guide-body { padding: 26px 0 35px; }
  .guide-step h2 { font-size: 31px; }
  .guide-step p { font-size: 17px; }
  .practice h2 { font-size: 32px; }
  .practice { padding: 22px; }
  .footer-inner { flex-direction: column; gap: 23px; }
  .site-footer p { font-size: 14px; }
  .footer-note { align-self: flex-start; }
}
@media(max-width:380px) {
  .brand { font-size: 19px; gap: 7px; }
  .brand>span:last-child { margin-left: -7px; }
  .brand-mark { width: 29px; height: 29px; }
  .nav-explore { font-size: 13px; gap: 5px; }
  .hero h1 { font-size: 51px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Keep expanded tutorial paragraphs readable on every screen. */
.guide-step p + p { margin-top: 1em; }
