:root {
  --bg: #fffdf8;
  --surface: #ffffff;
  --soft: #f3eee2;
  --ink: #30362a;
  --muted: #666957;
  --line: rgba(78, 87, 61, 0.2);
  --green: #959c77;
  --green-dark: #66704d;
  --apricot: #ceba8e;
  --apricot-soft: #f3e9d4;
  --tag: #bab38e;
  --rose: #bb9586;
  --shadow: 0 20px 50px rgba(83, 84, 57, 0.12);
  color-scheme: light;
  font-family: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

.site-header { position: sticky; z-index: 20; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px clamp(22px, 5vw, 76px); border-bottom: 1px solid var(--line); background: rgba(255, 253, 248, 0.94); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: baseline; gap: 12px; }
.brand strong { color: var(--green-dark); font-family: Georgia, "Times New Roman", serif; font-size: 1.9rem; letter-spacing: 0.08em; line-height: 1; }
.brand span { color: var(--muted); font-size: 0.82rem; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
.header-action, .primary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 8px; font-weight: 800; }
.header-action { padding: 0 18px; border: 1px solid var(--green); color: var(--green-dark); }
.section-band { padding: clamp(54px, 8vw, 112px) clamp(22px, 5vw, 76px); }
.hero { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr); align-items: center; gap: clamp(38px, 7vw, 100px); padding-top: clamp(38px, 5vw, 72px); padding-bottom: clamp(38px, 5vw, 72px); }
.eyebrow { margin: 0 0 15px; color: var(--green-dark); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: 0; line-height: 1.12; }
h1 { max-width: 700px; margin-bottom: 20px; font-size: clamp(2.45rem, 4vw, 4.25rem); }
h2 { margin-bottom: 16px; font-size: clamp(2rem, 3.6vw, 3.5rem); }
h3 { margin-bottom: 9px; font-size: 1.16rem; line-height: 1.28; }
.hero-lead, .section-heading > p { max-width: 690px; margin-bottom: 20px; color: var(--muted); font-size: 1.08rem; }
.hero-steps { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0 0 25px; padding: 0; list-style: none; color: var(--muted); }
.hero-steps li { display: inline-flex; align-items: center; gap: 7px; }
.hero-steps span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: var(--apricot); color: var(--ink); font-size: 0.78rem; font-weight: 900; }
.primary-button { gap: 14px; padding: 0 21px; background: var(--green-dark); color: #fff; box-shadow: 0 14px 30px rgba(102, 112, 77, 0.2); }
.hero-visual { position: relative; }
.hero-visual::after { position: absolute; right: -16px; bottom: -16px; width: 48%; height: 42%; border-radius: 8px; background: var(--apricot-soft); content: ""; }
.hero-visual img { position: relative; z-index: 1; display: block; width: 100%; border: 1px solid rgba(202, 171, 139, 0.56); border-radius: 8px; box-shadow: var(--shadow); }
.product-section { background: var(--surface); border-top: 1px solid rgba(206, 186, 142, 0.44); }
.section-heading { max-width: 900px; margin-bottom: 46px; }
.section-heading > p { margin-bottom: 0; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.category-card, .tutorial-card { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.category-card { min-height: 160px; padding: 21px; text-align: left; cursor: pointer; transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.category-card:hover, .category-card.active { border-color: var(--green); box-shadow: 0 12px 28px rgba(83, 84, 57, 0.1); transform: translateY(-2px); }
.category-card span { display: inline-flex; margin-bottom: 16px; border-bottom: 3px solid var(--apricot); color: var(--green-dark); font-size: 0.82rem; font-weight: 900; }
.category-card p, .tutorial-card p { margin-bottom: 0; color: var(--muted); }
.product-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 30px 0 20px; border-top: 1px solid var(--line); padding-top: 22px; }
.product-toolbar strong, .product-toolbar span { display: block; }
.product-toolbar span { color: var(--muted); }
.search-box { display: grid; min-width: min(400px, 100%); gap: 7px; color: var(--muted); font-size: 0.92rem; font-weight: 700; }
.search-box input { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: var(--bg); color: var(--ink); }
.tutorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tutorial-card { display: flex; min-height: 278px; flex-direction: column; overflow: hidden; padding: 0; text-align: left; cursor: pointer; transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.tutorial-card:hover, .tutorial-card.active { border-color: var(--green); box-shadow: 0 14px 32px rgba(83, 84, 57, 0.12); transform: translateY(-2px); }
.tutorial-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--soft); }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 17px 18px 19px; }
.tag { width: fit-content; margin-bottom: 13px; border-radius: 8px; padding: 4px 8px; background: rgba(186, 179, 142, 0.38); color: #555d3b; font-size: 0.74rem; font-weight: 900; }
.watch-label { display: inline-flex; width: fit-content; margin-top: auto; border-bottom: 2px solid var(--rose); padding-top: 18px; font-weight: 800; }
body.modal-open { overflow: hidden; }
.modal-backdrop { position: fixed; z-index: 80; inset: 0; display: flex; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 42px); background: rgba(35, 40, 29, 0.74); }
.modal-backdrop[hidden] { display: none; }
.video-modal { width: min(1100px, 100%); max-height: 92vh; overflow: auto; border: 1px solid rgba(255,255,255,0.3); border-radius: 8px; background: var(--surface); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: clamp(20px, 3vw, 32px) clamp(20px, 3vw, 34px) 0; }
.modal-header .eyebrow { margin-bottom: 9px; }
.modal-header h2 { margin-bottom: 0; font-size: clamp(1.65rem, 3vw, 2.8rem); }
.modal-close { min-height: 41px; border: 1px solid var(--green-dark); border-radius: 8px; padding: 0 14px; background: var(--green-dark); color: #fff; cursor: pointer; font-size: 0.84rem; font-weight: 800; }
.modal-copy { max-width: 750px; margin: 14px clamp(20px, 3vw, 34px) 24px; color: var(--muted); }
.video-shell { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; background: #111; }
.video-shell video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #111; }
.video-missing { position: absolute; right: 18px; bottom: 18px; left: 18px; display: flex; justify-content: space-between; gap: 16px; border: 1px solid rgba(255,255,255,0.28); border-radius: 8px; padding: 13px 15px; background: rgba(32,32,32,0.78); color: #fff; }
.video-missing span { color: rgba(255,255,255,0.78); text-align: right; }
.video-missing.is-hidden { display: none; }
.site-footer { display: flex; justify-content: space-between; gap: 16px; padding: 27px clamp(22px, 5vw, 76px); border-top: 1px solid var(--line); background: var(--soft); color: var(--muted); }
.site-footer a { color: var(--green-dark); font-weight: 800; }
@media (max-width: 980px) { .hero { grid-template-columns: 1fr; } .hero-visual { max-width: 780px; } .category-grid, .tutorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .site-header { position: static; align-items: flex-start; flex-direction: column; gap: 12px; } .header-action { display: none; } .section-band { padding: 46px 18px; } .category-grid, .tutorial-grid { grid-template-columns: 1fr; } .product-toolbar, .modal-header, .site-footer { align-items: stretch; flex-direction: column; } .search-box { min-width: 0; } .modal-backdrop { align-items: flex-start; padding: 12px; } .video-modal { max-height: calc(100vh - 24px); } .modal-close { width: 100%; } .video-missing { position: static; flex-direction: column; } .video-missing span { text-align: left; } }
