:root {
  --bg: #0b0b0c;
  --surface: #151517;
  --line: #2a2a2e;
  --text: #ece8e1;
  --muted: #a39e95;
  --accent: #e0a84a;
  --accent-ink: #141006;
  --danger: #ff8a7a;
  --radius: 2px;
  --display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--body); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .02em; line-height: 1; margin: 0; }
.wrap { padding: 0 clamp(16px, 5vw, 72px); }
.kicker { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.muted { color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px clamp(16px, 5vw, 72px); background: rgba(11,11,12,.86); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); }
.brand { font-family: var(--display); font-size: 28px; letter-spacing: .06em; text-decoration: none; }
.brand span { color: var(--accent); }
.nav { display: flex; gap: clamp(14px, 3vw, 32px); }
.nav a { text-decoration: none; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* Buttons */
.btn { display: inline-block; padding: 14px 26px; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink);
  font: 600 15px/1 var(--body); letter-spacing: .04em; text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn[disabled] { opacity: .6; cursor: progress; }
.link { color: var(--text); font-weight: 500; text-underline-offset: 5px; text-decoration-color: var(--accent); }
.chip { padding: 8px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--muted);
  font: 500 13px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.chip[aria-pressed="true"] { border-color: var(--accent); color: var(--text); }

/* Hero */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: flex-end; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,12,.15) 0%, rgba(11,11,12,.55) 50%, var(--bg) 100%); }
.hero-inner { position: relative; z-index: 1; padding-bottom: clamp(48px, 10vh, 120px); max-width: 1100px; }
.hero h1 { font-size: clamp(56px, 11vw, 168px); }
.hero p.lead { font-size: clamp(18px, 2vw, 22px); max-width: 620px; margin: 22px 0 32px; color: #d6d1c8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }

/* Sections */
.section { padding-top: clamp(64px, 10vw, 128px); padding-bottom: clamp(64px, 10vw, 128px); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(40px, 6vw, 80px); }
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { background: var(--bg); padding: 32px 28px; }
.service h3 { font-size: 30px; margin-bottom: 10px; }
.service p { margin: 0; color: var(--muted); }

/* Project grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(14px, 2vw, 28px); }
.card { display: block; text-decoration: none; }
.card .frame { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .6s ease; filter: saturate(.85); }
.card:hover img { transform: scale(1.04); filter: saturate(1); }
.card h3 { font-size: 30px; margin: 16px 0 4px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.placeholder-frame { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); font-family: var(--display); font-size: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.status { color: var(--muted); }
.error { color: var(--danger); }

/* Page header */
.page-head { padding: clamp(56px, 9vw, 120px) 0 clamp(32px, 5vw, 56px); }
.page-head h1 { font-size: clamp(56px, 9vw, 128px); }
.page-head p { max-width: 640px; color: var(--muted); font-size: 19px; margin: 18px 0 0; }

/* Project detail */
.details { display: flex; flex-wrap: wrap; gap: 12px 48px; margin: 28px 0 0; padding: 0; list-style: none; }
.details dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.details dd { margin: 4px 0 0; }
.gallery { display: grid; gap: clamp(14px, 2vw, 28px); padding-bottom: 96px; }
.gallery figure { margin: 0; }
.gallery img, .gallery video { width: 100%; max-height: 82vh; object-fit: cover; background: var(--surface); }
.gallery figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; }
@media (max-width: 640px) { .gallery img, .gallery video { max-height: 56vh; } }

/* CTA band */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(56px, 8vw, 96px) 0; display: flex; flex-wrap: wrap;
  gap: 24px; align-items: center; justify-content: space-between; }
.band h2 { font-size: clamp(40px, 6vw, 84px); max-width: 900px; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); padding-bottom: 112px; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-aside p { color: var(--muted); }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font: 400 16px/1.4 var(--body); }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field .help { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.field .err { font-size: 14px; color: var(--danger); margin: 6px 0 0; }
.field input[type="date"] { color-scheme: dark; }
.field .req { color: var(--accent); }
.thanks { border: 1px solid var(--line); padding: 40px; }
.thanks h2 { font-size: 48px; margin-bottom: 12px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px clamp(16px, 5vw, 72px); display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; color: var(--muted); font-size: 14px; }
.site-footer a { color: var(--muted); }