/* BEEM Architects — site styles */
:root {
  --ink: #111;
  --muted: #8a8a8a;
  --line: #d9d9d9;
  --paper: #fff;
  --soft: #f4f3f1;
  --pad: clamp(20px, 4vw, 56px);
  --max: 1440px;
  --sans: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --header-h: 84px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { font-weight: 400; margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .4em; display: block; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--pad); background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: background .35s, border-color .35s; }
.site-header.scrolled { border-color: var(--line); }
.logo { display: block; height: 44px; position: relative; }
.logo img { height: 100%; width: auto; }
.logo .logo-white { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.logo .logo-black { transition: opacity .35s; }
.nav-inline { display: flex; gap: 36px; margin-left: auto; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; }
.nav-inline a { position: relative; padding: 4px 0; transition: color .35s; }
.nav-inline a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .3s; }
.nav-inline a:hover::after, .nav-inline a[aria-current]::after { right: 0; }
.menu-btn { display: none; font: 400 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: #fff; border: 0; padding: 12px 18px; cursor: pointer; }
.site-header.overlay:not(.scrolled) { background: transparent; }
.site-header.overlay:not(.scrolled) .logo-white { opacity: 1; }
.site-header.overlay:not(.scrolled) .logo-black { opacity: 0; }
.site-header.overlay:not(.scrolled) .nav-inline { color: #fff; }
.site-header.overlay:not(.scrolled) .menu-btn { background: #fff; color: var(--ink); }

.menu { position: fixed; inset: 0; z-index: 40; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: var(--header-h) var(--pad) 40px; }
.menu[hidden] { display: none; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li a { font-family: var(--display); font-weight: 300; font-size: clamp(34px, 9vw, 64px); line-height: 1.3; letter-spacing: .02em; }
.menu-foot { margin-top: 48px; display: flex; flex-direction: column; gap: 6px; color: #bbb; font-size: 15px; }
body.menu-open .site-header { background: transparent; border-color: transparent; }
body.menu-open .logo-white { opacity: 1 !important; }
body.menu-open .logo-black { opacity: 0 !important; }
body.menu-open .menu-btn { background: #fff; color: var(--ink); }
body.menu-open { overflow: hidden; }

/* Hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #222; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.04); transition: opacity 1.6s ease, transform 7s ease-out; }
.slide.active { opacity: 1; transform: scale(1); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.05) 50%, rgba(0,0,0,.55) 100%); }
.hero-text { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(48px, 10vh, 110px); color: #fff; max-width: var(--max); margin: 0 auto; }
.hero-text h1 { font-family: var(--display); font-weight: 300; font-size: clamp(30px, 4.6vw, 64px); line-height: 1.15; letter-spacing: -.005em; }
.hero-scroll { position: absolute; right: var(--pad); bottom: 32px; color: #fff; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl; opacity: .8; }

/* Sections */
main { display: block; }
.block { padding: clamp(72px, 10vw, 140px) var(--pad) 0; }
.page-top { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 96px)); padding-bottom: clamp(48px, 6vw, 96px); }
.page-title { font-family: var(--display); font-weight: 300; font-size: clamp(36px, 6vw, 84px); line-height: 1; letter-spacing: -.01em; margin-bottom: clamp(40px, 6vw, 80px); }
.section-label { border-top: 1px solid var(--ink); padding-top: 14px; margin-bottom: clamp(32px, 5vw, 64px); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 6vw, 96px); }
.lede { max-width: 640px; color: #444; }
.intro { font-family: var(--display); font-weight: 300; font-size: clamp(20px, 2.1vw, 28px); line-height: 1.4; color: var(--ink); margin-bottom: 1em; }
.btn { display: inline-block; margin-top: 18px; padding: 14px 26px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--ink); cursor: pointer; transition: background .25s, color .25s; font-family: var(--sans); }
.btn:hover { background: #fff; color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; }
.center { text-align: center; margin-top: 48px; }
.full-bleed { margin-top: clamp(72px, 10vw, 140px); }
.full-bleed img { width: 100%; height: clamp(320px, 70vh, 820px); object-fit: cover; }

.steps-mini { list-style: none; padding: 0; margin: 0 0 8px; border-top: 1px solid var(--line); }
.steps-mini li { display: flex; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 400; }
.steps-mini span { color: var(--muted); font-weight: 300; min-width: 24px; }

/* Project grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 32px) clamp(16px, 2.2vw, 32px); }
.tile { display: block; }
.tile-img { overflow: hidden; aspect-ratio: 4 / 5; background: var(--soft); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .6s; }
.tile:hover .tile-img img { transform: scale(1.045); }
.tile-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0 0; font-size: 15px; }
.tile-name { font-weight: 400; }
.tile-type { color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.tile.hide { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: -24px 0 40px; }
.filter { background: none; border: 0; padding: 4px 0; font: 400 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); cursor: pointer; border-bottom: 1px solid transparent; }
.filter.active, .filter:hover { color: var(--ink); border-color: var(--ink); }

/* Project page */
.project-hero { height: 100vh; height: 100svh; min-height: 520px; background-size: cover; background-position: center; background-color: #222; }
.project-info { padding-top: clamp(56px, 7vw, 100px); padding-bottom: clamp(48px, 6vw, 80px); }
.project-title { font-family: var(--display); font-weight: 300; font-size: clamp(34px, 5vw, 68px); line-height: 1.05; }
.project-type { color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-top: 14px; }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 180px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding-top: 3px; }
.facts dd { margin: 0; color: var(--ink); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 36px); }
.shot { grid-column: 1 / -1; }
.shot.portrait { grid-column: auto; }
.shot { margin: 0; }
.shot img { width: 100%; height: auto; background: var(--soft); }
.project-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(64px, 8vw, 120px); margin-top: clamp(48px, 6vw, 96px); border-top: 1px solid var(--line); }
.project-nav a { font-family: var(--display); font-weight: 300; font-size: clamp(18px, 2vw, 26px); line-height: 1.2; }
.project-nav em { font-style: normal; color: var(--muted); font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; display: block; margin-top: 4px; }
.pn-next { text-align: right; }
.pn-all { font-family: var(--sans) !important; font-size: 12px !important; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

/* About */
.person { display: grid; grid-template-columns: minmax(220px, 1fr) 1.4fr; gap: clamp(24px, 6vw, 96px); align-items: start; padding-bottom: clamp(72px, 10vw, 140px); }
.person img { width: 100%; max-width: 480px; aspect-ratio: 4 / 5; object-fit: cover; }
.person-name { font-family: var(--display); font-weight: 300; font-size: clamp(28px, 3vw, 40px); }
.person .project-type { margin-bottom: 28px; }

/* Process */
.steps { list-style: none; padding: 0; margin: clamp(56px, 7vw, 100px) 0 0; border-top: 1px solid var(--ink); }
.step { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 6vw, 96px); padding: clamp(32px, 4vw, 56px) 0; border-bottom: 1px solid var(--line); }
.step-no { font-family: var(--display); font-weight: 300; font-size: clamp(40px, 5vw, 72px); line-height: 1; color: var(--muted); }
.step h2 { font-family: var(--display); font-weight: 300; font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 18px; }
.step p { color: #444; max-width: 640px; }

/* Contact */
.contact-details p:not(.label) { font-size: 18px; margin-bottom: 26px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-form input, .contact-form textarea { font: 300 17px/1.5 var(--sans); color: var(--ink); border: 0; border-bottom: 1px solid #bbb; padding: 8px 0; background: transparent; border-radius: 0; }
.contact-form textarea { border: 1px solid #bbb; padding: 10px 12px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--ink); }
.contact-form .btn { align-self: flex-start; }
.form-note { font-size: 13px; color: var(--muted); }

/* CTA + footer */
.cta { margin-top: clamp(96px, 12vw, 160px); background: var(--soft); padding: clamp(64px, 9vw, 120px) 0; text-align: center; }
.cta-text { font-family: var(--display); font-weight: 300; font-size: clamp(26px, 3.4vw, 46px); margin-bottom: 8px; }
.cta .btn-light { background: var(--ink); color: #fff; border-color: var(--ink); }
.cta .btn-light:hover { background: transparent; color: var(--ink); }
.site-footer { background: var(--ink); color: #bdbdbd; padding: clamp(56px, 7vw, 96px) 0 28px; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { width: 150px; }
.site-footer .label { color: #7a7a7a; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 20px; border-top: 1px solid #333; font-size: 12px; letter-spacing: .08em; color: #7a7a7a; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .slide { transition: opacity .6s; transform: none !important; } }

/* Responsive */
@media (max-width: 960px) {
  .nav-inline { display: none; }
  .menu-btn { display: inline-block; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .logo { height: 36px; }
  .split, .step, .person { grid-template-columns: 1fr; }
  .split > div:empty { display: none; }
  .grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .tile-img { aspect-ratio: 4 / 3; }
  .project-nav { grid-template-columns: 1fr 1fr; }
  .pn-all { grid-column: 1 / -1; justify-self: center; order: 3; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
  .hero-scroll { display: none; }
}

/* Services */
.svc-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc { padding: clamp(28px, 3vw, 44px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.svc-icon { width: 64px; height: 64px; margin-bottom: 28px; color: var(--ink); }
.svc-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.svc-icon .fill { fill: var(--ink); stroke: none; }
.svc-icon .tick { stroke: #fff; stroke-width: 2.2; }
.svc-icon .dash { stroke-dasharray: 3 3; }
.svc-tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.svc h3 { font-family: var(--display); font-weight: 300; font-size: clamp(21px, 1.8vw, 26px); margin-bottom: 14px; }
.svc p:last-child { color: #444; font-size: 15.5px; }
.feature { background: var(--ink); color: #e9e9e9; margin-top: clamp(96px, 12vw, 160px); padding: clamp(64px, 9vw, 120px) 0; }
.feature-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #9a9a9a; margin-bottom: 18px; }
.feature h2 { font-family: var(--display); font-weight: 300; font-size: clamp(30px, 4vw, 54px); line-height: 1.1; color: #fff; margin-bottom: 22px; }
.feature-lede { font-size: clamp(17px, 1.5vw, 20px); color: #cfcfcf; }
.paths { display: grid; gap: 36px; }
.path-top { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-bottom: 12px; }
.path-name { font-family: var(--display); font-size: clamp(18px, 1.6vw, 22px); color: #fff; }
.path-time { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #bdbdbd; white-space: nowrap; }
.bar { height: 10px; background: #2a2a2a; }
.bar span { display: block; height: 100%; background: #fff; }
.bar-long span { background: #6d6d6d; }
.path-steps { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; font-size: 14.5px; color: #bdbdbd; counter-reset: ps; }
.path-steps li { counter-increment: ps; padding-top: 12px; border-top: 1px solid #333; }
.path-steps li::before { content: counter(ps, decimal-leading-zero); display: block; font-size: 11px; letter-spacing: .14em; color: #7a7a7a; margin-bottom: 6px; }
.path-note { margin-top: clamp(36px, 4vw, 52px); max-width: 760px; font-size: 14px; color: #9a9a9a; }
.big-quote { font-family: var(--display); font-weight: 300; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.15; }
.flow { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.flow li { position: relative; padding: 18px 12px 0 0; border-top: 2px solid var(--ink); font-size: 15px; color: var(--ink); }
.flow li::after { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.flow span { display: block; font-size: 11px; letter-spacing: .14em; color: var(--muted); margin-bottom: 4px; }
.team { align-items: center; }
.team-svg { width: 100%; height: auto; }
.team-svg .orbit { fill: none; stroke: var(--line); stroke-dasharray: 4 5; }
.team-svg line { stroke: #bbb; }
.team-svg .dot { fill: var(--ink); }
.team-svg .hub { fill: var(--ink); }
.team-svg text { font: 400 15px var(--sans); fill: var(--ink); }
.team-svg .hub-t { font: 400 30px var(--display); fill: #fff; letter-spacing: .06em; }
.team-svg .hub-s { font: 400 10px var(--sans); fill: #fff; letter-spacing: .28em; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .svc-grid { grid-template-columns: 1fr; }
  .path-steps, .flow { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .path-top { flex-direction: column; gap: 4px; }
}
.person-photos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); margin-top: clamp(32px, 4vw, 56px); }
.person-photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--soft); }
.person-photos figcaption { margin-top: 10px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.person-photos figure { margin: 0; }
.person:has(+ .person-photos) { padding-bottom: 0; }
.person-photos { grid-template-columns: repeat(3, 1fr); }
.person-photos img.pos-top { object-position: center top; }
.person-intro .person-name { margin-bottom: 6px; }
@media (max-width: 720px) { .person-photos { grid-template-columns: 1fr 1fr; } .person-photos figure:first-child { grid-column: 1 / -1; } }
.wl-flow { list-style: none; padding: 0; margin: clamp(48px, 6vw, 80px) 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.wl-flow li { position: relative; padding: 26px 18px 0 0; border-top: 2px solid var(--ink); font-size: 14.5px; color: #555; }
.wl-flow li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.wl-flow li:last-child::after { content: ""; position: absolute; top: -7px; right: 0; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; box-sizing: border-box; }
.wl-flow span { display: block; font-size: 11px; letter-spacing: .14em; color: var(--muted); margin-bottom: 6px; }
.wl-flow strong { display: block; font-family: var(--display); font-weight: 400; font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.wl-cta { margin-top: clamp(36px, 4vw, 56px); }
@media (max-width: 960px) { .wl-flow { grid-template-columns: repeat(3, 1fr); row-gap: 36px; } }
@media (max-width: 720px) { .wl-flow { grid-template-columns: 1fr 1fr; } }
