/* Layout: a camera-viewfinder hero (corner brackets, REC dot, timecode) around the B&W portrait; condensed film-slate headings; services grid; a full-bleed contact band. Single dark look by choice. */
:root {
  --ink: #0a0a0b; --panel: #131315; --panel-2: #18181b; --line: #26262b; --fg: #f3f1ed; --muted: #9c9992; --soft: #c9c6bf;
  --rec: #ff3b30; --bone: #e9dfcc;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --gut: max(20px, env(safe-area-inset-left));
  --gut-r: max(20px, env(safe-area-inset-right));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body { background: var(--ink); color: var(--fg); font: 300 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }

/* top bar */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px var(--gut-r) 14px var(--gut); background: rgba(10,10,11,.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 11; background: var(--ink); }
.mark { font-family: var(--display); font-weight: 600; letter-spacing: .18em; text-decoration: none; font-size: 18px; }
.bar nav { display: flex; gap: 22px; font-size: 14px; }
.bar nav a { text-decoration: none; color: var(--soft); }
.bar nav a:hover { color: var(--fg); }

main { max-width: 1200px; margin: 0 auto; padding: 0 var(--gut-r) 0 var(--gut); display: flex; flex-direction: column; gap: 96px; }

/* REC dot */
.rec { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 4px rgba(255,59,48,.18); margin-right: 10px; vertical-align: 1px; animation: blink 1.6s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: .25; } }

.eyebrow { margin: 0; font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--soft); }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 56px; }
.hero-text { display: flex; flex-direction: column; gap: 22px; }
h1 { margin: 0; font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: clamp(56px, 8.6vw, 124px); line-height: 1.02; padding-top: .08em; letter-spacing: -.005em; }
.lead { margin: 0; max-width: 46ch; color: var(--soft); font-size: 18px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px; border: 1px solid #3a3a40; text-decoration: none; font-weight: 500; font-size: 15px; transition: background .2s, border-color .2s, color .2s; }
.btn:hover { border-color: var(--fg); }
.btn.solid { background: var(--fg); color: var(--ink); border-color: var(--fg); }
.btn.solid:hover { background: var(--bone); border-color: var(--bone); }

.frame { position: relative; margin: 0; padding: 18px; }
.frame img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 30%; filter: contrast(1.05); animation: rise 1.2s cubic-bezier(.2,.7,.2,1) both; }
.corner { position: absolute; width: 34px; height: 34px; border: 2px solid var(--fg); opacity: .85; }
.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; } .tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; } .br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.frame figcaption { position: absolute; left: 34px; right: 34px; top: 30px; display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--fg); text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.frame .tag { display: inline-flex; align-items: center; }

section[id] { scroll-margin-top: 80px; }
/* section head */
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; margin-bottom: 26px; }
h2 { margin: 0; font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: clamp(32px, 4vw, 48px); line-height: 1.15; letter-spacing: .01em; text-wrap: balance; }
.sec-head p { margin: 0; color: var(--muted); font-size: 15px; max-width: 48ch; }

/* services */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.svc { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: border-color .25s, background .25s; min-width: 0; }
.svc:hover { border-color: #45454c; background: var(--panel-2); }
.svc svg { width: 30px; height: 30px; fill: none; stroke: var(--bone); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { margin: 6px 0 0; font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: 22px; letter-spacing: .02em; }
.svc p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.svc.wide { grid-column: span 2; background: linear-gradient(135deg, #1b1b1e, var(--panel)); }
.svc.wide p { max-width: 52ch; }

/* contact band */
.contact { background: var(--fg); color: var(--ink); border-radius: 22px; }
.contact-in { padding: clamp(32px, 6vw, 64px); display: flex; flex-direction: column; gap: 26px; }
.contact .eyebrow { color: #55524c; }
.contact h2 { font-size: clamp(34px, 5vw, 64px); max-width: 18ch; }
.lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0; border-top: 1px solid #cfcac0; }
.line { display: flex; flex-direction: column; gap: 4px; padding: 20px 0; text-decoration: none; border-bottom: 1px solid #cfcac0; min-width: 0; }
.line .k { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #6b675f; }
.line .v { font-family: var(--display); font-weight: 500; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.05; overflow-wrap: anywhere; }
.line .v.small { font-size: clamp(22px, 2.8vw, 34px); }
.line:hover .v { color: #b8261e; }

/* data room */
.room { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 24px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); text-decoration: none; transition: border-color .25s; }
.room:hover { border-color: var(--bone); }
.room .live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.room .live i { width: 8px; height: 8px; border-radius: 50%; background: #6fd39a; box-shadow: 0 0 0 4px rgba(111,211,154,.15); }
.room .name { font-family: var(--display); font-size: 28px; text-transform: uppercase; }
.room .desc { color: var(--muted); font-size: 15px; grid-column: 2; }
.room .go { grid-row: 1 / span 2; grid-column: 3; color: var(--bone); font-weight: 500; }
.room .go b { display: inline-block; transition: transform .25s; }
.room:hover .go b { transform: translateX(4px); }

.foot { max-width: 1200px; margin: 72px auto 0; padding: 22px var(--gut-r) 36px var(--gut); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--fg); }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  main { gap: 64px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .frame { order: -1; max-width: 460px; }
  .bar nav { gap: 14px; font-size: 13px; }
  .room { grid-template-columns: 1fr; }
  .room .desc, .room .go { grid-column: 1; grid-row: auto; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .svc.wide { grid-column: auto; }
  .bar nav a:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .rec, .frame img { animation: none; } * { transition: none !important; } html { scroll-behavior: auto; } }
