/* okamotodesigns.com. Generated pages come from build.py; edit content there. */
:root {
  --bg: #08090b;
  --panel: #111318;
  --line: #20242c;
  --text: #eef1f4;
  --muted: #98a2ad;
  --accent: #2ec4b6;
  --warm: #f2a541;
  --max: 1280px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Tilt Neon", "Inter", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: 20; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.site-head.solid, .site-head.page { background: rgba(8, 9, 11, .88); backdrop-filter: blur(10px); border-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { font: 400 24px/1 var(--display); color: var(--text); letter-spacing: .01em; }
.brand:hover { text-decoration: none; }
.brand span { color: var(--accent); }
.nav { display: flex; gap: 24px; font-size: 15px; }
.nav a { color: #c9d1d9; }
.nav a:hover { color: #fff; text-decoration: none; }
@media (max-width: 640px) {
  .site-head .wrap { flex-direction: column; justify-content: center; align-items: center; height: auto; padding-top: 10px; padding-bottom: 8px; gap: 6px; }
  .brand { font-size: 22px; }
  .nav { gap: 18px; font-size: 14px; }
  .project-head { padding-top: 130px; }
  .prose { padding-top: 130px; }
}

/* Hero */
.hero { position: relative; height: 100vh; min-height: 560px; max-height: 1000px; overflow: hidden; background: #000; }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.1) 30%, rgba(0,0,0,.55) 62%, rgba(8,9,11,1) 100%); }
.hero .copy { text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.hero .eyebrow { color: #7ff0e4; display: inline-block; background: rgba(0,0,0,.55); padding: 7px 11px; border-radius: 6px; }
.hero .copy { position: absolute; left: 0; right: 0; bottom: 9vh; z-index: 2; }
.eyebrow { font: 600 13px/1 var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.hero h1 { font: 400 clamp(40px, 7.2vw, 98px)/1 var(--display); letter-spacing: 0; margin: 0 0 18px; }
.hero p.lede { font-size: clamp(17px, 2vw, 21px); color: #d6dde4; max-width: 44ch; margin: 0 0 28px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 13px 22px; border-radius: 999px; font: 600 15px/1 var(--font); border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn:hover { text-decoration: none; border-color: #fff; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #041311; }

/* Sections */
section { padding: 84px 0; }
h2 { font: 400 clamp(36px, 4.6vw, 58px)/1.05 var(--display); letter-spacing: 0; margin: 0 0 12px; }
.sub { color: var(--muted); max-width: 62ch; margin: 0 0 32px; }

/* Work filters and grid */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.filters button { font: 500 14px/1 var(--font); color: #c9d1d9; background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--text); color: #08090b; border-color: var(--text); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
@media (max-width: 420px) { .grid { grid-template-columns: 1fr; } }
.tile { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px; background: var(--panel); color: #fff; }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img, .tile:hover video { transform: scale(1.04); }
.tile:hover { text-decoration: none; }
.tile .cap { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.82)); }
.tile .cap strong { display: block; font: 400 22px/1.15 var(--display); }
.tile .cap span { font-size: 13.5px; color: #c9d1d9; }
.tile[hidden] { display: none; }

/* About and credits */
.two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; gap: 32px; } }
.about p { color: #c9d1d9; margin: 0 0 14px; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.facts li b { color: var(--muted); font-weight: 500; }
.clients { columns: 3 200px; column-gap: 28px; margin: 0; padding: 0; list-style: none; }
.clients li { padding: 8px 0; border-bottom: 1px solid var(--line); break-inside: avoid; font-size: 15.5px; color: #d6dde4; }
.alt { background: #0c0e12; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Tools */
.app { display: flex; gap: 18px; align-items: center; padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; max-width: 640px; color: var(--text); }
.app:hover { text-decoration: none; border-color: #39414d; }
.app img { width: 64px; height: 64px; border-radius: 14px; flex: none; }
.app h3 { margin: 0 0 4px; font: 400 26px/1.15 var(--display); }
.app p { margin: 0; color: var(--muted); font-size: 15px; }

/* Contact and footer */
.contact { text-align: center; }
.contact .sub { margin-left: auto; margin-right: auto; }
.contact .btns { justify-content: center; }
footer { padding: 30px 0 44px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* Project page */
.project-head { padding: 120px 0 28px; }
.project-head .back { font-size: 14px; color: var(--muted); }
.project-head h1 { font: 400 clamp(44px, 6.5vw, 84px)/1 var(--display); margin: 14px 0 10px; letter-spacing: -.01em; }
.project-head .meta { color: var(--muted); font-size: 16px; }
.project-head .meta b { color: var(--accent); font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding-bottom: 60px; }
.gallery .wide { grid-column: 1 / -1; }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr; } }
.gallery img, .gallery video { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; background: var(--panel); cursor: zoom-in; }
.gallery video { cursor: default; }
.next { display: flex; justify-content: space-between; gap: 16px; padding: 28px 0 70px; border-top: 1px solid var(--line); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.94); display: none; align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; }
.lb.open { display: flex; }
.lb img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* Long text (privacy) */
.prose { max-width: 700px; padding: 120px 0 90px; }
.prose h1 { font: 400 clamp(38px, 5vw, 58px)/1.1 var(--display); margin: 0 0 6px; }
.prose h2 { font-size: 21px; margin: 32px 0 8px; }
.prose p, .prose li { color: #c9d1d9; }
.prose .date { color: var(--muted); }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 260px)); gap: 18px; margin: 26px 0; }
.shots img { border-radius: 20px; border: 1px solid var(--line); }
@media (prefers-reduced-motion: reduce) { .hero video { display: none; } .tile img, .tile video { transition: none; } }
.hero h1 em { font-style: normal; color: #7ff0e4; text-shadow: 0 0 22px rgba(46,196,182,.9), 0 0 6px rgba(127,240,228,.8); }
.brand span { text-shadow: 0 0 12px rgba(46,196,182,.6); }
.gallery > img, .gallery > video { aspect-ratio: 4 / 3; height: auto; }
