:root {
  --ink: #111111;
  --paper: #f4f4f4;
  --line: #d6d6d6;
  --muted: #777777;
  --max: 1240px;
  --accent: #111111;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  padding-bottom: 52px;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* header */
.site-header { position: relative; height: 88px; }
.site-header .wrap { max-width: none; height: 100%; display: flex; align-items: center; padding: 0 28px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 40px; width: auto; display: block; }
.home .site-header { position: absolute; top: 0; left: 0; width: 50%; z-index: 2; }

/* menu button and overlay */
.menu-btn {
  position: fixed; top: 30px; right: 28px; z-index: 60;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; mix-blend-mode: difference; display: inline-flex; align-items: center;
}
.menu-btn i { display: inline-block; width: 26px; height: 7px; border-top: 1px solid #fff; border-bottom: 1px solid #fff; margin-left: 14px; }
.menu {
  position: fixed; inset: 0; z-index: 40; background: var(--paper);
  display: none; flex-direction: column; justify-content: center; padding: 100px 28px 80px;
}
.menu.open { display: flex; }
.menu nav { max-width: 760px; width: 100%; margin: 0 auto; }
.menu nav a {
  display: flex; gap: 28px; align-items: baseline; text-decoration: none;
  font-family: var(--mono); font-size: clamp(18px, 2.6vw, 30px); text-transform: uppercase; letter-spacing: 0.02em;
  padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted);
}
.menu nav a span { width: 2.4em; font-size: 0.55em; }
.menu nav a:hover, .menu nav a[aria-current="page"] { color: var(--ink); }
.menu .menu-foot { max-width: 760px; width: 100%; margin: 28px auto 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.menu .menu-foot a { text-decoration: none; margin-right: 22px; }

/* bottom bar */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; pointer-events: none;
  display: flex; justify-content: space-between; padding: 18px 28px;
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; mix-blend-mode: difference;
}

/* type */
h1, h2, h3 { font-weight: 400; letter-spacing: -0.01em; line-height: 1.2; margin: 0; }
h1 { font-size: clamp(24px, 2.6vw, 34px); max-width: 20em; }
h2 { font-size: clamp(20px, 2vw, 26px); }
h3 { font-size: 18px; }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.lede { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; max-width: 36em; color: var(--ink); margin: 0; letter-spacing: normal; font-weight: 400; }
.lede + .lede { margin-top: 1.1em; }
h1 + .lede, h2 + .lede, h3 + .lede { margin-top: 22px; }
.lede + p { margin: 26px 0 0; }
.muted { color: var(--muted); }
section { padding: 72px 0; }
.rule { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.text-link { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

/* home hero: statement left, photograph right */
.home-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.home-hero .copy { display: flex; flex-direction: column; justify-content: center; padding: 120px 6vw 80px; gap: 0; }
.home-hero .firm { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 8px; }
.home-hero .addr { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 56px 0 0; }
.home-hero h1 { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55; max-width: 26em; margin-top: 36px; }
.home-hero .visual { position: relative; background: #1a1a1a; min-height: 70vh; overflow: hidden; }
.home-hero .visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }

/* project grid */
.filters { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0 0 44px; padding: 0; list-style: none; }
.filters a { font-family: var(--mono); font-size: 12px; text-decoration: none; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-bottom: 3px; border-bottom: 1px solid transparent; }
.filters a:hover, .filters a.on { color: var(--ink); border-bottom-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 32px; }
.grid.list { grid-template-columns: 1fr; max-width: 980px; margin: 0 auto; gap: 72px; }
.card { text-decoration: none; display: block; }
.card .thumb { position: relative; aspect-ratio: 4 / 3; background: #e2e2e2; overflow: hidden; }
.grid.list .card .thumb { aspect-ratio: 16 / 10; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 0.5s ease, transform 0.6s ease; }
.card:hover .thumb img { filter: grayscale(0); transform: scale(1.02); }
.card .thumb::after {
  content: "View project"; position: absolute; top: 16px; right: 16px; background: var(--paper); color: var(--ink);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 14px;
}
.card .cap { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 20px; text-align: center; }
.card .cap strong { font-weight: 400; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -0.01em; }
.card .cap span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.status { color: var(--muted); padding: 30px 0; }

/* project page */
.project-head { padding: 48px 0 36px; text-align: center; }
.project-head h1 { margin: 0 auto; }
.project-head .lede { margin: 22px auto 0; }
.details { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 48px; margin: 30px 0 0; padding: 0; list-style: none; }
.details li { font-size: 14px; }
.details b { display: block; font-weight: 400; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.gallery { display: grid; gap: 28px; padding-bottom: 40px; max-width: 1100px; margin: 0 auto; }
.gallery figure { margin: 0; }
.gallery img, .gallery video { width: 100%; max-height: 86vh; object-fit: cover; background: #e2e2e2; }
.gallery figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 10px; }

/* split blocks */
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.statement { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.statement .pic { aspect-ratio: 4 / 3; background: #e2e2e2; overflow: hidden; }
.statement .pic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.services { list-style: none; margin: 0; padding: 0; }
.services li { display: grid; grid-template-columns: 56px 1fr; gap: 10px 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.services li:last-child { border-bottom: 1px solid var(--line); }
.services .n { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 5px; }
.services h3 { font-size: clamp(20px, 2vw, 26px); }
.services .lede { margin: 10px 0 0; }
.services a { text-decoration: none; }
.services a:hover h3 { text-decoration: underline; }

/* faq */
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: clamp(18px, 1.8vw, 22px); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-family: var(--mono); }
.faq details[open] summary::after { content: "\2212"; }
.faq details .lede { margin: 14px 0 0; }

/* contact */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list b { display: block; font-weight: 400; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 28px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 12px 26px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
::selection { background: var(--ink); color: var(--paper); }

@media (max-width: 800px) {
  .wrap { padding: 0 20px; }
  section { padding: 52px 0; }
  .site-header { height: 76px; }
  .site-header .wrap { padding: 0 20px; }
  .brand img { height: 34px; }
  .menu-btn { top: 26px; right: 20px; }
  .bar { padding: 16px 20px; }
  .grid { grid-template-columns: 1fr; gap: 44px; }
  .split, .statement { grid-template-columns: 1fr; gap: 28px; }
  .home .site-header { width: 100%; }
  .home-hero { grid-template-columns: 1fr; min-height: 0; }
  .home-hero .copy { padding: 130px 20px 56px; }
  .home-hero .addr { margin-top: 36px; }
  .home-hero .visual { min-height: 75vh; }
}

/* all pages: full width with even side padding */
.wrap, .site-footer .wrap { max-width: none; padding-left: 6vw; padding-right: 6vw; }
.site-header .wrap { padding-left: 28px; padding-right: 28px; }
.grid.list { max-width: none; grid-template-columns: repeat(2, 1fr); gap: 64px 32px; }
.grid.list .card .thumb { aspect-ratio: 4 / 3; }
.gallery { max-width: none; }
@media (max-width: 800px) {
  .wrap, .site-footer .wrap { padding-left: 20px; padding-right: 20px; }
  .site-header .wrap { padding-left: 20px; padding-right: 20px; }
  .grid.list { grid-template-columns: 1fr; }
}

/* consistent side spacing: logo, menu button, bottom bar and home photo follow the page margin */
.site-header .wrap { padding-left: 6vw; padding-right: 6vw; }
.menu-btn { right: 6vw; }
.bar { padding-left: 6vw; padding-right: 6vw; }
.home-hero .visual { margin-right: 6vw; }
@media (max-width: 800px) {
  .site-header .wrap { padding-left: 20px; padding-right: 20px; }
  .menu-btn { right: 20px; }
  .bar { padding-left: 20px; padding-right: 20px; }
  .home-hero .visual { margin: 0 20px; }
}

/* larger logo */
.site-header { height: 108px; }
.brand img { height: 64px; }
.menu-btn { top: 46px; }
@media (max-width: 800px) {
  .site-header { height: 92px; }
  .brand img { height: 48px; }
  .menu-btn { top: 38px; }
  .home-hero .copy { padding-top: 150px; }
}
