@font-face { font-family: "Be Vietnam Pro"; src: url("fonts/BeVietnamPro-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("fonts/BeVietnamPro-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("fonts/BeVietnamPro-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --brown: #6f4e37;
  --brown-dark: #4a3324;
  --accent: #d4a373;
  --cream: #fff8f4;
  --soft: #fff0e8;
  --ink: #241b16;
  --muted: #6a5d55;
  --line: #e8dbd1;
  --radius: 16px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--cream); line-height: 1.65; font-size: 17px; }
img, video { max-width: 100%; display: block; }
a { color: var(--brown); }
a:hover { color: var(--brown-dark); }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

header.site { position: sticky; top: 0; z-index: 5; background: rgba(255, 248, 244, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; color: var(--brown); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav.main { display: flex; gap: 4px 20px; flex-wrap: wrap; margin-left: auto; align-items: center; }
nav.main a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; padding: 6px 2px; border-bottom: 2px solid transparent; }
nav.main a:hover, nav.main a[aria-current="page"] { border-bottom-color: var(--accent); }

.btn { display: inline-block; background: var(--brown); color: #fff !important; text-decoration: none; padding: 13px 24px; border-radius: 999px; font-weight: 700; border: 2px solid var(--brown); transition: transform .12s, background .12s; }
.btn:hover { background: var(--brown-dark); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--brown) !important; }
.btn.ghost:hover { background: var(--soft); }
.btn.small { padding: 8px 16px; font-size: 15px; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.hero { padding: 56px 0 40px; background: linear-gradient(180deg, var(--soft), var(--cream)); }
.hero .grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.15; margin: 0 0 16px; color: var(--brown-dark); }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.badges li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 15px; color: var(--brown-dark); font-weight: 500; }
.player { border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 44px rgba(74, 51, 36, .22); background: #000; }
.player video { width: 100%; height: auto; aspect-ratio: 16 / 9; }

section { padding: 56px 0; }
section.alt { background: var(--soft); }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; margin: 0 0 12px; color: var(--brown-dark); }
h3 { font-size: 20px; margin: 0 0 8px; color: var(--brown-dark); }
.sub { color: var(--muted); max-width: 720px; margin: 0 0 32px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .ico { font-size: 30px; line-height: 1; margin-bottom: 10px; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
figure.shot { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
figure.shot figcaption { padding: 14px 18px 18px; }
figure.shot figcaption strong { display: block; color: var(--brown-dark); }
figure.shot figcaption span { color: var(--muted); font-size: 15px; }

.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.vcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.vcard video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.vcard .body { padding: 16px 18px 20px; }
.vcard .body p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.vcard .meta { font-size: 14px; color: var(--muted); margin-top: 8px; }

table.dl { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
table.dl th, table.dl td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.dl th { background: var(--soft); }
code, .hash { font-family: ui-monospace, Consolas, monospace; font-size: 13px; word-break: break-all; background: var(--soft); padding: 2px 6px; border-radius: 6px; }
.note { background: #fff; border-left: 5px solid var(--accent); border-radius: 10px; padding: 14px 18px; margin: 20px 0; }
.note.warn { border-left-color: #d6342c; }
ol.steps { padding-left: 22px; } ol.steps li { margin-bottom: 8px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.price-box { text-align: center; padding: 36px 24px; background: #fff; border: 2px dashed var(--accent); border-radius: var(--radius); }

footer.site { background: var(--brown-dark); color: #f4e8dc; padding: 40px 0 28px; font-size: 15px; }
footer.site a { color: #f4e8dc; }
footer.site .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
footer.site h4 { margin: 0 0 8px; color: #fff; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 6px; }
footer.site .legal { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); color: #d8c7b5; }
.draft { background: #fff3cd; border: 1px solid #f0c88f; padding: 10px 16px; border-radius: 10px; margin-bottom: 20px; font-size: 15px; }
.prose h2 { margin-top: 32px; font-size: 24px; } .prose ul { padding-left: 22px; }

@media (max-width: 860px) {
  .hero .grid { grid-template-columns: 1fr; }
  nav.main { margin-left: 0; }
  body { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
