/* Hullistic site: one system for every page. Brand colours from the original site; sharp corners. */
:root {
  --bg: #0D1013;
  --bg-2: #12161A;
  --surface: #161B20;
  --ink: #F2F4F5;
  --ink-2: #B7BDC1;
  --muted: #8B9296;
  --dim: #5B6266;
  --accent: #5EE6D6;
  --accent-ink: #061615;
  --line: rgba(242, 244, 245, 0.10);
  --line-2: rgba(242, 244, 245, 0.18);
  --wrap: 1280px;
  --gutter: clamp(16px, 5.5vw, 80px);
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --sans: 'Space Grotesk', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 84px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-padding-top: var(--nav-h); }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body { font-size: 17px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(34px, 4.4vw, 64px); }
h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--accent); color: var(--accent-ink); font-weight: 500; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* grain over every page, like the original site */
body::after { content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { display: flex; align-items: center; gap: 12px; font: 500 12px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--accent); }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }

/* ── nav ── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center;
  transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(13, 16, 19, .86); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; }
.brand .dot { color: var(--accent); }
.links { display: flex; gap: 36px; font-size: 15px; color: var(--muted); }
.links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; transition: color .16s; }
.links a:hover, .links a[aria-current="page"] { color: var(--ink); }
.links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.links a:hover::after, .links a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line-2); color: var(--ink); cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 1.5px; margin: 4px auto; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px;
  font: 500 15px var(--sans); color: var(--ink); background: transparent; border: 1px solid var(--line-2); cursor: pointer;
  transition: transform .16s var(--ease), background .16s, border-color .16s, color .16s; }
.btn:hover { transform: translateY(-1px); border-color: rgba(242, 244, 245, .4); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.primary:hover { background: #82F0E4; }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.nav .btn { min-height: 40px; font-size: 14px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* text link with a drawn underline */
.tlink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; color: var(--ink); background:
  linear-gradient(var(--accent), var(--accent)) left calc(100% - 10px) / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.tlink:hover { background-size: 100% 1px; }

/* viewfinder brackets: the brand's corner marks, on any framed thing */
.vf { position: relative; }
.vf::before, .vf::after { content: ''; position: absolute; width: 14px; height: 14px; border: 1.5px solid var(--accent); pointer-events: none; z-index: 2; }
.vf::before { left: -7px; top: -7px; border-right: 0; border-bottom: 0; }
.vf::after { right: -7px; bottom: -7px; border-left: 0; border-top: 0; }

/* ── sections: one idea per screen ── */
main > section { position: relative; }
.sec { min-height: calc(100vh * var(--h, 1)); padding: clamp(96px, 12vh, 140px) 0; display: flex; align-items: center; }
.sec > .wrap { width: 100%; }
.sec-head { display: grid; gap: 20px; max-width: 820px; margin-bottom: clamp(40px, 6vh, 64px); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.rev { grid-template-columns: 7fr 5fr; }
.split .text { display: grid; gap: 22px; align-content: center; }
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* hero entrance, once */
[data-enter] > * { opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease) forwards; }
[data-enter] > *:nth-child(2) { animation-delay: .12s; }
[data-enter] > *:nth-child(3) { animation-delay: .24s; }
[data-enter] > *:nth-child(4) { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ── page hero (inner pages) ── */
.phero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 48px) 0 clamp(64px, 11vh, 120px); overflow: hidden; isolation: isolate; }
.phero .art { position: absolute; inset: 0; z-index: -1; }
.phero .art::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(13,16,19,.7) 45%, rgba(13,16,19,.15) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(13,16,19,0) 35%); }
.phero h1 { font-size: clamp(48px, 7vw, 112px); line-height: .96; letter-spacing: -0.05em; margin-top: 22px; }
.phero .lead { margin-top: 26px; }
.phero .actions { margin-top: 36px; }

/* ── photographs: graded to one dark, cool look ── */
.photo { position: relative; overflow: hidden; background: var(--surface); }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.62); transform: scale(1.001);
  transition: transform .6s var(--ease), filter .6s var(--ease); }
.photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(94,230,214,.06), rgba(13,16,19,.55)); mix-blend-mode: normal; pointer-events: none; }
a:hover .photo img, .photo:hover img { transform: scale(1.03); filter: grayscale(.85) contrast(1.08) brightness(.72); }

/* ── cards ── */
.cards { display: grid; gap: 20px; }
.card { position: relative; display: grid; align-content: start; gap: 12px; padding: 28px; background: var(--surface); border: 1px solid var(--line);
  transition: transform .2s var(--ease), border-color .2s; }
a.card:hover { transform: translateY(-2px); border-color: var(--line-2); }
.card .k { font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.card p { color: var(--muted); font-size: 16px; }

/* ── statement ── */
.statement { text-align: center; }
.statement h2 { font-size: clamp(48px, 9vw, 150px); line-height: .95; letter-spacing: -0.055em; max-width: 13ch; margin: 0 auto; }
.statement h2 em { font-style: normal; color: var(--accent); }

/* ── footer ── */
.foot { border-top: 1px solid var(--line); padding: 72px 0 40px; font-size: 15px; }
.foot .top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot .tag { margin-top: 16px; color: var(--muted); max-width: 30em; }
.foot h4 { margin: 0 0 12px; font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot ul a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink-2); transition: color .16s; }
.foot ul a:hover { color: var(--accent); }
.foot .bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line);
  font: 400 12px var(--mono); letter-spacing: .04em; color: var(--dim); }
.foot .credits { margin-top: 12px; font: 400 11px var(--mono); color: var(--dim); }
.foot .credits a { text-decoration: underline; }

/* ── forms ── */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: 400 16px var(--sans); color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 0; transition: border-color .16s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field .err { min-height: 18px; font-size: 13px; color: #FF8A7A; }
.form-status { font-size: 15px; }

@media (max-width: 1023px) {
  .split, .split.rev { grid-template-columns: 1fr; }
  .foot .top { grid-template-columns: 1fr 1fr; }
  .foot .top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  :root { --nav-h: 68px; }
  body { font-size: 16px; }
  .links { position: fixed; inset: var(--nav-h) 0 0 0; flex-direction: column; gap: 0; padding: 24px var(--gutter); background: var(--bg);
    font-size: 28px; color: var(--ink); visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }
  .links a { min-height: 64px; border-bottom: 1px solid var(--line); }
  .links a::after { display: none; }
  .nav.open .links { visibility: visible; opacity: 1; }
  .nav.open { background: var(--bg); }
  .menu-btn { display: block; }
  .nav .btn { display: none; }
  .sec { min-height: auto; }
  .actions .btn { flex: 1 1 100%; }
  .form .row { grid-template-columns: 1fr; }
  .foot .top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  [data-enter] > * { opacity: 1; transform: none; }
}
