:root {
  --bg: #f5f5f5;
  --bg-muted: #ebebeb;
  --ink: #121212;
  --ink-soft: #5a5a5a;
  --dark: #121212;
  --dark-ink: #f5f5f5;
  --line: rgba(18, 18, 18, 0.12);
  --max: 1200px;
  --narrow: 760px;
  --gutter: clamp(16px, 5vw, 48px);
  --head: 'Poppins', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 500; line-height: 1.12; margin: 0 0 .6em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.4rem 0; }
.center { text-align: center; }
.hidden { position: absolute; left: -9999px; }

/* header / footer */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  background: var(--bg);
  position: sticky; top: 0; z-index: 10;
  border-bottom: 1px solid var(--line);
}
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 22px; font-family: var(--head); font-size: .95rem; }
.nav a { text-decoration: none; opacity: .75; }
.nav a:hover, .nav a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.site-footer {
  display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center;
  padding: 36px var(--gutter); border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--ink-soft);
}
.site-footer a { text-decoration: none; color: var(--ink); }

/* layout */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: var(--narrow); }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section--dark { background: var(--dark); color: var(--dark-ink); }
.section--muted { background: var(--bg-muted); }
.lede { font-size: 1.2rem; line-height: 1.6; }
.eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--ink-soft); margin-bottom: 1.4rem; }
.section--dark .eyebrow { color: rgba(245,245,245,.6); }
.statement { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 400; line-height: 1.3; }

/* buttons */
.btn {
  display: inline-block; padding: 14px 28px; border: 1.5px solid currentColor;
  font-family: var(--head); font-size: .95rem; text-decoration: none; letter-spacing: .02em;
  background: transparent; color: var(--ink); cursor: pointer; transition: background .15s, color .15s;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--light { color: var(--dark-ink); }
.btn--light:hover { background: var(--dark-ink); color: var(--ink); }

/* hero */
.hero {
  min-height: 72vh; display: grid; place-items: center; text-align: center; color: #fff;
  background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)), var(--hero) center/cover no-repeat;
  padding: 80px var(--gutter);
}
.hero--project { min-height: 52vh; }
.hero h1 { margin-bottom: 1.2rem; text-shadow: 0 2px 20px rgba(0,0,0,.35); }

/* project tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; text-decoration: none; color: #fff; background: #222; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; }
.tile:hover img { transform: scale(1.04); filter: brightness(.75); }
.tile__label {
  position: absolute; inset: auto 0 0 0; padding: 18px; font-family: var(--head); font-size: 1.3rem;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
}

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.split--about .split__img img { aspect-ratio: 4/5; }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.quote { margin: 0; padding: 26px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.quote blockquote { margin: 0; font-family: var(--head); font-size: 1.15rem; line-height: 1.4; }
.quote figcaption { display: flex; gap: 12px; align-items: center; font-size: .9rem; color: var(--ink-soft); }
.quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

/* logos */
.logos { padding: 32px 0; }
.logo-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 48px; }
.logo-row img { height: 34px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .7; }

/* services / terms */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px; }
.terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; text-align: center; }
.terms h3 { font-size: 1.4rem; margin-bottom: .2em; }
.terms p { color: var(--ink-soft); margin: 0; }

/* project pages */
.media-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
.media { margin: 0; background: #e3e3e3; }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media img { aspect-ratio: 4/3; }
.media--wide { grid-column: 1 / -1; }
.media--wide video { aspect-ratio: 16/9; object-fit: contain; background: #000; }
.touches { padding-left: 1.2em; }
.touches li { margin-bottom: .4em; }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px; margin-top: 24px; }
.results h3 { font-size: 1.7rem; margin-bottom: .3em; }
.results p { color: rgba(245,245,245,.72); margin: 0; }
.testimonial .wrap { max-width: var(--narrow); text-align: center; }
.testimonial .avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; }
.testimonial blockquote { margin: 0 0 1rem; font-family: var(--head); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.4; }
.attribution { color: var(--ink-soft); font-size: .95rem; }
.pager.wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 56px; padding-bottom: 72px; font-family: var(--head); }
.pager.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.pager a { text-decoration: none; }
.pager a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* contact form */
.contact-form { display: grid; gap: 18px; margin-top: 24px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 6px; font-family: var(--head); font-size: .9rem; }
.contact-form input, .contact-form textarea {
  font: inherit; font-family: var(--body); padding: 12px 14px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 0;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.contact-form .btn { justify-self: start; }
.form-status { min-height: 1.4em; margin: 0; color: var(--ink-soft); }

/* responsive */
@media (max-width: 900px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split__img img { aspect-ratio: 4/3; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .tiles { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; }
  .contact-form .row { grid-template-columns: 1fr; }
  .hero { min-height: 60vh; }
  .brand img { height: 28px; }
  .nav { gap: 14px; font-size: .9rem; }
}
