/* PROSCE — design tokens
   Neutral black and white. The only colour on the page is the cream of the lion mark. */
:root {
  --bg: #000;
  --text: #fff;
  --muted: #9b9b9b;
  --line: rgba(255, 255, 255, .16);
  --gutter: clamp(20px, 3.4vw, 56px);
  --section: clamp(72px, 9vw, 136px);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, dl, figure { margin: 0; }
ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- type: small, heavy headings; the images carry the scale ---------- */
h1 { font-size: clamp(34px, 4.4vw, 62px); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
h2 { font-size: clamp(20px, 1.7vw, 24px); font-weight: 700; letter-spacing: -.005em; line-height: 1.2; }
h3 { font-size: 17px; font-weight: 700; line-height: 1.3; }
.body-lg { font-size: clamp(18px, 1.75vw, 24px); font-weight: 500; line-height: 1.4; max-width: 46em; margin-top: 22px; text-wrap: pretty; }

/* ---------- links & button ---------- */
.link-arrow {
  display: inline-flex; align-items: center; gap: 14px; padding: 8px 0;
  font-size: 15px; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .7);
}
.link-arrow::after { content: "\2192"; font-size: 18px; line-height: 1; transition: transform .25s; }
.link-arrow:hover::after { transform: translateX(6px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px; background: #fff; color: #000;
  font-size: 15px; font-weight: 700; transition: opacity .2s;
}
.btn:hover { opacity: .82; }

/* ---------- header: the lion and the menu button ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 20px var(--gutter);
  transition: background .3s, padding .3s;
}
.site-header.scrolled { background: rgba(0, 0, 0, .82); backdrop-filter: blur(14px); padding-block: 12px; }
.site-header.open { background: none; backdrop-filter: none; }

.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: auto; height: 36px; }
.brand span { font-size: 15px; font-weight: 600; font-stretch: 125%; letter-spacing: .3em; }

/* header brand: the lion alone, larger; the wordmark slides out beside it on hover or keyboard focus */
.site-header .brand { gap: 0; }
.site-header .brand img { height: 48px; transition: height .3s; }
.site-header.scrolled .brand img { height: 42px; }
.site-header .brand span {
  display: inline-block; max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; padding-left: 0;
  transition: max-width .45s cubic-bezier(.2, .7, .2, 1), opacity .3s, padding-left .45s;
}
.site-header .brand:hover span, .site-header .brand:focus-visible span { max-width: 180px; opacity: 1; padding-left: 14px; }

.menu-btn {
  position: relative; width: 44px; height: 44px; margin-right: -8px;
  background: none; border: 0; cursor: pointer; color: #fff;
}
.menu-btn i { position: absolute; left: 9px; right: 9px; height: 2px; background: currentColor; transition: transform .3s, top .3s; }
.menu-btn i:first-child { top: 17px; }
.menu-btn i:last-child { top: 25px; }
.open .menu-btn i:first-child { top: 21px; transform: rotate(45deg); }
.open .menu-btn i:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- full-screen menu: links at the top, contact details and call to action along the bottom ---------- */
.nav {
  position: fixed; inset: 0; z-index: -1;
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  padding: clamp(96px, 11vh, 130px) var(--gutter) clamp(28px, 5vh, 56px);
  background: #000; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.site-header.open .nav { opacity: 1; visibility: visible; }
.nav-links { display: flex; flex-direction: column; gap: 2px; }
.nav-links a { font-size: clamp(34px, 4.2vw, 56px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; width: fit-content; transition: opacity .2s; }
.nav-links a:hover, .nav-links a:focus-visible { opacity: .55; }

.nav-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px clamp(24px, 5vw, 80px); }
.nav-col { max-width: 250px; padding-top: 28px; position: relative; }
.nav-col::before, .nav-cta::before { content: ""; position: absolute; top: 0; width: 44px; height: 1px; background: rgba(255, 255, 255, .45); }
.nav-col h3 { color: var(--muted); font-size: 17px; }
.nav-col p, .nav-cta p { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 18px; }
.nav-col a { display: inline-block; margin-top: 22px; font-size: 17px; font-weight: 700; line-height: 1.3; opacity: .8; transition: opacity .2s; }
.nav-col a:hover { opacity: 1; }
.nav-cta { justify-self: end; text-align: right; max-width: 400px; padding-top: 28px; position: relative; }
.nav-cta::before { right: 0; }
.nav-cta .nav-big { color: #8a8a8a; font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; margin-top: 0; }
.nav-cta .link-arrow { margin-top: 26px; font-size: clamp(20px, 1.9vw, 26px); font-weight: 600; line-height: 1.2; border-bottom: 0; }
/* the two contact columns share one grid row and stretch to it, so their top rules and their emails always line up */
@media (min-width: 761px) {
  .nav-foot { grid-template-rows: 1fr auto; align-items: stretch; }
  .nav-col { grid-row: 2; display: flex; flex-direction: column; align-items: flex-start; }
  .nav-col a { margin-top: auto; padding-top: 22px; }
  .nav-cta { grid-row: 1 / 3; grid-column: 3; align-self: end; }
}
@media (max-width: 760px) {
  .nav { justify-content: flex-start; gap: 44px; }
  .nav-foot { grid-template-columns: 1fr; gap: 30px; }
  .nav-cta { justify-self: start; text-align: left; }
  .nav-cta::before { right: auto; left: 0; }
}

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 520px; overflow: hidden; display: flex; align-items: flex-end; }
.hero-slides, .hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slides img { object-fit: cover; opacity: 0; transition: opacity 1.8s ease; }
.hero-slides img.on { opacity: 1; animation: drift 14s ease-out both; }
@keyframes drift { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, 0) 38%),
    linear-gradient(to bottom, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 20%);
}
.hero-inner {
  position: relative; z-index: 1; width: 100%;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap;
  padding: 0 var(--gutter) clamp(28px, 3.6vw, 52px);
}
/* hero call to action: the one "Start a project" at the top of the page, so it is larger */
.hero-inner .link-arrow { font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; gap: 18px; padding: 10px 0; border-bottom: 2px solid #fff; }
.hero-inner .link-arrow::after { font-size: 1.25em; }

/* ---------- sections ---------- */
.section { padding: var(--section) var(--gutter) 0; }
.section.ruled { margin-top: var(--section); border-top: 1px solid var(--line); }
.section > .link-arrow { margin-top: clamp(36px, 4vw, 56px); }

.frame { display: block; overflow: hidden; background: #111; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
a:hover > .frame img { transform: scale(1.035); }

/* what we do — tall tiles */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 40px); margin-top: clamp(44px, 5.5vw, 88px); }
.tile .frame { aspect-ratio: 3 / 4; }
.label { display: block; padding-top: 14px; font-size: 15px; font-weight: 500; }

/* justified rows: each item flexes by its aspect ratio so heights match and nothing is cropped */
.work-row { display: flex; gap: clamp(14px, 2.4vw, 40px); }

/* home: selected work as image-only tiles with the name on hover, matching the Works page */
.work { display: grid; gap: 10px; margin-top: clamp(36px, 4.4vw, 64px); }
.work .work-row { gap: 10px; }
.project { flex: var(--r) 1 0; min-width: 0; display: block; position: relative; overflow: hidden; }
.project .frame { aspect-ratio: var(--r); }

/* works index: image-only masonry. Each cover keeps its own proportions; the name appears on hover. */
.masonry { columns: 3; column-gap: 10px; margin-top: clamp(24px, 3vw, 40px); }
.card { position: relative; display: block; margin-bottom: 10px; break-inside: avoid; overflow: hidden; background: #111; }
.card[hidden] { display: none; }
.card img { width: 100%; height: auto; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.card:hover img { transform: scale(1.03); }
.cap {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(16px, 1.8vw, 28px); opacity: 0; transition: opacity .35s;
  background: linear-gradient(to top, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .25) 45%, rgba(0, 0, 0, .1) 100%);
}
.cap b { font-size: clamp(18px, 1.6vw, 24px); font-weight: 700; line-height: 1.15; }
.cap i { font-style: normal; font-size: 14px; opacity: .8; margin-top: 4px; }
.card:hover .cap, .card:focus-visible .cap, .project:hover .cap, .project:focus-visible .cap { opacity: 1; }
@media (max-width: 1000px) { .masonry { columns: 2; } }
@media (max-width: 560px) { .masonry { columns: 1; } }
/* touch screens have no hover: keep the name visible on a short gradient */
@media (hover: none) {
  .cap { opacity: 1; background: linear-gradient(to top, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, 0) 38%); }
}

/* ---------- inner pages ---------- */
.page-head { padding: clamp(128px, 15vw, 208px) var(--gutter) 0; }
.page-head p { color: var(--muted); margin-top: 10px; }
.crumb { display: inline-block; font-size: 14px; color: var(--muted); margin-bottom: 18px; transition: color .2s; }
.crumb:hover { color: #fff; }
.page-body { padding: clamp(32px, 4vw, 56px) var(--gutter) 0; }

.filters { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 28px; }
.filters button {
  background: none; border: 0; padding: 10px 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 500;
  color: var(--muted); border-bottom: 1px solid transparent; transition: color .2s;
}
.filters button:hover { color: #fff; }
.filters button[aria-pressed="true"] { color: #fff; border-bottom-color: #fff; }
.filters span { margin-left: auto; font-size: 14px; color: var(--muted); }

/* project page */
.gallery { display: grid; gap: clamp(14px, 2.4vw, 40px); }
.gallery .work-row.bleed { margin-inline: calc(var(--gutter) * -1); }
.shot { flex: var(--r) 1 0; min-width: 0; margin: 0; background: #111; }
.shot img { width: 100%; aspect-ratio: var(--r); object-fit: cover; }
.work-row.solo { justify-content: center; }
.work-row.solo .shot { flex: none; width: min(100%, calc(88vh * var(--r))); }
.info { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 112px); padding: clamp(48px, 6vw, 96px) 0; }
.info .body-lg { margin-top: 0; }
.facts { display: grid; gap: 14px; align-content: start; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 15px; }
.facts dd { margin: 0; font-size: 15px; font-weight: 500; }
.next { display: block; margin-top: var(--section); padding: clamp(40px, 5vw, 72px) var(--gutter); border-top: 1px solid var(--line); }
.next small { display: block; font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.next strong { font-size: clamp(34px, 5vw, 72px); font-weight: 700; letter-spacing: -.025em; line-height: 1.05; }
.next strong::after { content: " \2192"; font-weight: 400; }
.next + .contact { margin-top: 0; }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(32px, 4vw, 56px); }
.steps p { color: var(--muted); margin-top: 8px; max-width: 24em; }

/* about us */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 64px); margin-top: clamp(32px, 4vw, 56px); }
.cols p { color: var(--muted); margin-top: 8px; }
.founder { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(32px, 4vw, 56px); align-items: start; }
.founder .name { font-size: clamp(26px, 3vw, 40px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.founder .role { color: var(--muted); margin: 6px 0 22px; }
.founder .bio { color: var(--muted); max-width: 34em; }
.founder .bio + .bio { margin-top: 14px; }
.portrait { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; object-position: 50% 28%; }

/* content the owner still has to supply: visible on purpose so nothing ships half-filled */
.todo { color: #e8c87a; font-size: 15px; }
.todo::before { content: "TO ADD  "; font-size: 11px; font-weight: 700; letter-spacing: .12em; white-space: pre; }
.todo-box { display: grid; place-items: center; border: 1px dashed rgba(232, 200, 122, .6); color: #e8c87a; font-size: 14px; text-align: center; padding: 16px; }

/* contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 48px clamp(32px, 6vw, 112px); align-items: start; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px clamp(16px, 2.4vw, 40px); }
.field.wide, .regarding { grid-column: 1 / -1; }
.regarding { font-size: 15px; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.regarding b { color: #fff; font-weight: 500; }
.field label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.field label span { opacity: .7; font-size: 12px; margin-left: 6px; }
.field input, .field select, .field textarea {
  width: 100%; background: none; color: #fff; font: inherit; font-size: 17px;
  border: 0; border-bottom: 1px solid rgba(255, 255, 255, .4); border-radius: 0; padding: 10px 0; min-height: 46px;
  transition: border-color .2s;
}
.field textarea { resize: vertical; line-height: 1.45; }
.field select { appearance: none; background: no-repeat right 2px center / 12px url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 12 8%22%3E%3Cpath d=%22M1 1l5 5 5-5%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%221.5%22/%3E%3C/svg%3E"); padding-right: 24px; }
.field select option { background: #111; color: #fff; }
.field ::placeholder { color: rgba(255, 255, 255, .32); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: #fff; }
.field .invalid { border-bottom-color: #ff8a7a; }
.form .btn { border: 0; cursor: pointer; font-family: inherit; }
.form-note { margin-top: 14px; font-size: 15px; color: #e8c87a; min-height: 1.5em; }
.direct .facts { margin-top: 22px; }
.direct .facts div { grid-template-columns: 124px 1fr; align-items: center; }
.direct .facts dt { display: flex; align-items: center; gap: 8px; }
.direct .facts dt .ico { width: 17px; height: 17px; }
.small { font-size: 14px; color: var(--muted); margin-top: 20px; }
.spacer { height: var(--section); }

/* closing call to action */
.contact { margin-top: var(--section); padding: var(--section) var(--gutter); border-top: 1px solid var(--line); }
.contact h2 { font-size: clamp(40px, 6.4vw, 92px); letter-spacing: -.03em; line-height: 1; }
.contact .btn { margin-top: clamp(32px, 4vw, 52px); }

/* footer */
.site-footer {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px;
  padding: 30px var(--gutter); border-top: 1px solid var(--line);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.site-footer nav a { font-size: 14px; padding: 10px 0; color: var(--muted); transition: color .2s; }
.site-footer nav a:hover { color: #fff; }
.site-footer p { width: 100%; font-size: 13px; color: var(--muted); }
.site-footer .brand img { height: 30px; }
.site-footer .brand span { font-size: 13px; }

/* social icons */
.ico { display: block; flex: none; }
.site-footer .social { margin-left: auto; gap: 6px; }
.site-footer .social a { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: #fff; opacity: .85; transition: opacity .2s; }
.site-footer .social a:hover { opacity: 1; }
.site-footer .social .ico { width: 22px; height: 22px; }

/* reveal (class added by JS only, so content is visible without it) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- tablet ---------- */
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .info { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- phone ---------- */
@media (max-width: 640px) {
  .site-header .brand img, .site-header.scrolled .brand img { height: 40px; }
  .hero { height: 88svh; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile:last-child { grid-column: 1 / -1; }
  .tile:last-child .frame { aspect-ratio: 4 / 3; }
  .work-row { flex-direction: column; }
  .project { flex: none; }
  .work-row .shot, .work-row.solo .shot { flex: none; width: 100%; }
  .filters span { width: 100%; margin-left: 0; }
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .founder { grid-template-columns: 1fr; }
  .portrait { max-width: 240px; }
  .form { grid-template-columns: 1fr; }
  .form .btn, .contact .btn { width: 100%; }
  .site-footer .social { margin-left: -11px; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, .hero-slides img.on { transition: none !important; animation: none !important; }
}

/* ---------- WordPress ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done h2 { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.15; }
.form-done p { color: var(--muted); margin-top: 16px; max-width: 34em; }
.info .body-lg p + p { margin-top: .8em; }
.prose { max-width: 46em; }
.prose > * + * { margin-top: 1em; }
.prose a { text-decoration: underline; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
