:root {
  --bg: #f7f5f1;
  --paper: #ffffff;
  --ink: #111111;
  --muted: #66625c;
  --line: rgba(17,17,17,.16);
  --soft: #ece8df;
  --accent: #9b6f2f;
  --accent-dark: #2c2317;
  --black: #050505;
  --radius: 24px;
  --shadow: 0 18px 60px rgba(0,0,0,.16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.skip-link {
  position: absolute; left: -999px; top: 12px; background: #fff; padding: 10px 12px; z-index: 9999;
}
.skip-link:focus { left: 12px; }
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247,245,241,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.brand img { width: 52px; height: 52px; object-fit: contain; background: #000; }
.main-nav { display: flex; align-items: center; gap: 22px; font-size: .92rem; letter-spacing: .03em; text-transform: uppercase; }
.main-nav a { text-decoration: none; color: #272522; }
.main-nav a:hover { color: var(--accent); }
.hero { position: relative; min-height: 76vh; display: grid; align-items: end; overflow: hidden; background: #111; }
.hero-image { position: absolute; inset: 0; }
.hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.34) 48%, rgba(0,0,0,.52)), linear-gradient(0deg, rgba(0,0,0,.72), transparent 38%); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.02); }
.hero-content { position: relative; color: #fff; padding: 90px 0 84px; }
.eyebrow, .section-kicker { margin: 0 0 12px; text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 800; color: var(--accent); }
.hero h1 { margin: 0; font-size: clamp(3rem, 8vw, 7.5rem); line-height: .88; letter-spacing: -.06em; max-width: 840px; }
.hero-note { max-width: 680px; margin: 24px 0 0; font-size: clamp(1.05rem, 2vw, 1.45rem); color: rgba(255,255,255,.92); }
.button-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.button, .download-link { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 999px; text-decoration: none; font-weight: 800; letter-spacing: .02em; border: 1px solid transparent; }
.button.primary { background: #fff; color: #111; }
.button.secondary { color: #fff; border-color: rgba(255,255,255,.45); }
.button:hover, .download-link:hover { transform: translateY(-1px); }
.notice-section { padding: 76px 0 44px; }
.notice-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 5vw, 52px); box-shadow: var(--shadow); }
.notice-card h2, .instructions h2, .section-head h2, .usage-grid h2 { margin: 0 0 16px; font-size: clamp(1.9rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -.045em; }
.notice-card p { max-width: 880px; color: var(--muted); font-size: 1.06rem; }
.instructions { padding: 26px 0 60px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; }
.instruction-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.instruction-grid article { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.instruction-grid span { display: block; color: var(--accent); font-weight: 900; margin-bottom: 10px; }
.instruction-grid p { margin: 0; color: var(--muted); }
.gallery-section { padding: 28px 0 86px; }
.section-head { max-width: 760px; margin-bottom: 26px; }
.section-head p { color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gallery-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 10px 28px rgba(0,0,0,.08); }
.gallery-button { width: 100%; border: 0; padding: 0; background: #111; cursor: pointer; aspect-ratio: 4 / 3; overflow: hidden; }
.gallery-button img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease, opacity .3s ease; }
.gallery-button:hover img { transform: scale(1.04); opacity: .92; }
.gallery-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; }
.gallery-meta span { font-size: .9rem; font-weight: 800; }
.gallery-meta a { font-size: .82rem; text-decoration: none; padding: 8px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--accent-dark); font-weight: 800; }
.usage-section { background: var(--black); color: #fff; padding: 76px 0; }
.usage-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: stretch; }
.usage-grid p { color: rgba(255,255,255,.72); }
.help-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 28px; }
.help-card h3 { margin: 0 0 10px; font-size: 1.5rem; }
.help-card a { color: #fff; font-weight: 800; }
.site-footer { background: #000; color: rgba(255,255,255,.8); padding: 34px 0; }
.footer-wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: .9rem; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; padding: 28px; }
.lightbox.is-open { display: flex; }
.lightbox-figure { width: min(1120px, 92vw); margin: 0; color: #fff; }
.lightbox-figure img { width: 100%; max-height: 78vh; object-fit: contain; background: #111; }
.lightbox-figure figcaption { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 12px; }
.download-link { background: #fff; color: #111; font-size: .9rem; }
.lightbox-close, .lightbox-nav { position: absolute; border: 0; color: #fff; background: rgba(255,255,255,.12); cursor: pointer; }
.lightbox-close { top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 999px; font-size: 32px; line-height: 1; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 72px; border-radius: 12px; font-size: 56px; line-height: 1; }
.lightbox-nav.prev { left: 18px; }
.lightbox-nav.next { right: 18px; }
@media (max-width: 900px) {
  .main-nav { display: none; }
  .hero { min-height: 68vh; }
  .instructions, .usage-grid { grid-template-columns: 1fr; }
  .instruction-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 24px, 1120px); }
  .hero-content { padding: 72px 0 56px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .lightbox { padding: 14px; }
  .lightbox-nav { width: 42px; height: 58px; font-size: 44px; }
  .lightbox-figure figcaption { flex-direction: column; align-items: flex-start; }
}
