:root {
  --bg: #f7f6f2;
  --paper: #fffdf8;
  --ink: #070707;
  --muted: #5c5c5c;
  --line: rgba(0,0,0,.18);
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
  line-height: 1.5;
}
img { width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(18px, 4vw, 58px);
  mix-blend-mode: difference;
  color: #fff;
  pointer-events: none;
}
.site-header a { pointer-events: auto; }
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: .03em;
}
.brand-logo {
  width: 82px;
  height: auto;
  filter: invert(1);
}
nav {
  display: flex;
  gap: clamp(18px, 4vw, 60px);
  font-size: 13px;
}
nav a { border-bottom: 1px solid transparent; }
nav a:hover { border-bottom-color: currentColor; }

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center 42%;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.64), rgba(0,0,0,.08) 55%, rgba(0,0,0,.15));
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 160px 0 88px;
  color: #fff;
}
.eyebrow, .mini-label {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 11px;
  color: inherit;
}
h1, h2, h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
h1 {
  font-size: clamp(96px, 17vw, 260px);
  line-height: .76;
  letter-spacing: -.08em;
  font-weight: 900;
}
.hero-subtitle {
  margin: 28px 0 8px;
  font-size: clamp(14px, 2vw, 20px);
  letter-spacing: .04em;
}
.hero-line {
  max-width: 480px;
  margin: 0 0 30px;
  font-size: 15px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid currentColor;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.button-light { background: #fff; color: #000; border-color: #fff; }
.button-outline { color: #fff; }

.section-light { background: var(--bg); color: var(--ink); }
.section-dark { background: #050505; color: #fff; }
.about {
  min-height: 86vh;
  display: grid;
  place-items: center;
  padding: 110px 22px;
}
.about-inner {
  max-width: 820px;
  text-align: center;
  font-size: clamp(17px, 2vw, 24px);
  letter-spacing: .04em;
}
.about-inner p:not(.mini-label) { margin: 24px 0; }
.about .mini-label { color: var(--muted); }

.marquee, .thin-marquee {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.marquee-track, .thin-marquee-track {
  display: inline-flex;
  width: max-content;
  gap: 54px;
  animation: scroll 18s linear infinite;
  padding: 18px 0;
}
.thin-marquee-track {
  gap: 46px;
  animation-duration: 16s;
  padding: 12px 0;
}
.marquee span, .thin-marquee span {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .36em;
  white-space: nowrap;
}
.thin-marquee span {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .32em;
}
.marquee span::before, .thin-marquee span::before { content: "✶"; font-size: .82em; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.work-section { padding: 120px clamp(18px, 4vw, 58px); }
.section-intro {
  max-width: var(--max);
  margin: 0 auto 72px;
}
.section-intro h2 {
  font-size: clamp(66px, 12vw, 170px);
  line-height: .82;
  letter-spacing: -.06em;
}
.section-intro .mini-label { color: var(--muted); }
.category {
  max-width: var(--max);
  margin: 0 auto 110px;
  display: grid;
  grid-template-columns: minmax(360px, 500px) 1fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}
.category-copy {
  position: sticky;
  top: 105px;
  padding-top: 20px;
}
.category-copy h3 {
  font-size: clamp(40px, 6vw, 80px);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 36px;
  max-width: 100%;
}
.category-meta {
  margin: 0 0 26px;
  font-size: 14px;
  font-weight: 700;
}
.category-copy p:not(.category-meta) {
  max-width: 360px;
  color: #1d1d1d;
  font-size: 14px;
}
.category-copy::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: var(--line);
  margin-top: 44px;
}
.category-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 118px;
  gap: 14px;
}
.tile {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ddd;
  transition: transform .25s ease, filter .25s ease;
}
.tile:hover { transform: scale(.992); filter: contrast(1.03); }
.tile.large { grid-column: span 4; grid-row: span 4; }
.tile.wide { grid-column: span 3; grid-row: span 2; }
.tile.tall { grid-column: span 2; grid-row: span 4; }
.editorial-grid .tile:nth-child(1) { grid-column: span 4; grid-row: span 4; }
.editorial-grid .tile:nth-child(2) { grid-column: span 2; grid-row: span 4; }
.editorial-grid .tile:nth-child(3),
.editorial-grid .tile:nth-child(4),
.editorial-grid .tile:nth-child(5),
.editorial-grid .tile:nth-child(6) { grid-column: span 3; grid-row: span 3; }
.editorial-grid .tile:nth-child(7),
.editorial-grid .tile:nth-child(8),
.editorial-grid .tile:nth-child(9),
.editorial-grid .tile:nth-child(12) { grid-column: span 2; grid-row: span 4; }
.editorial-grid .tile:nth-child(10),
.editorial-grid .tile:nth-child(11) { grid-column: span 3; grid-row: span 2; }

.fittings-grid .tile:nth-child(1) { grid-column: span 3; grid-row: span 5; }
.fittings-grid .tile:nth-child(2) { grid-column: span 3; grid-row: span 5; }
.fittings-grid .tile:nth-child(3) { grid-column: span 2; grid-row: span 5; }
.fittings-grid .tile:nth-child(4) { grid-column: span 2; grid-row: span 5; }
.fittings-grid .tile:nth-child(5) { grid-column: span 2; grid-row: span 5; }
.fittings-grid .tile:nth-child(6) { grid-column: span 3; grid-row: span 5; }

.set-grid .tile:nth-child(1) { grid-column: span 6; grid-row: span 4; }
.set-grid .tile:nth-child(2) { grid-column: span 3; grid-row: span 3; }
.set-grid .tile:nth-child(3) { grid-column: span 3; grid-row: span 3; }

.thin-marquee {
  max-width: var(--max);
  margin: -44px auto 110px;
  padding: 0;
}
.thin-marquee span { color: #111; }

.services {
  padding: 120px clamp(18px, 4vw, 58px);
}
.services-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.services-grid div {
  padding: 34px;
  min-height: 200px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.services-grid h3 {
  font-size: 24px;
  margin-bottom: 22px;
}
.services-grid p { margin: 0; color: #333; font-size: 14px; }

.contact {
  min-height: 84vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 110px 22px;
}
.contact-inner { max-width: 840px; }
.contact h2 {
  font-size: clamp(64px, 13vw, 180px);
  letter-spacing: -.07em;
  line-height: .8;
  margin-bottom: 30px;
}
.contact p { color: #e2e2e2; }
.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.contact-links a {
  border: 1px solid rgba(255,255,255,.5);
  padding: 13px 18px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
}
.contact-links a:hover { background: #fff; color: #000; }
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 4vw, 58px);
  background: #050505;
  color: #fff;
  font-size: 12px;
}

@media (max-width: 980px) {
  .site-header { mix-blend-mode: normal; background: rgba(247,246,242,.88); color: #000; backdrop-filter: blur(10px); }
  .brand-logo { filter: none; width: 62px; }
  nav { gap: 18px; }
  .category { grid-template-columns: 1fr; }
  .category-copy { position: static; }
  .category-gallery { grid-auto-rows: 96px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .site-header { padding: 14px 16px; }
  .brand span { display: none; }
  nav { font-size: 11px; gap: 11px; }
  .hero-content { padding-bottom: 54px; }
  h1 { font-size: clamp(78px, 28vw, 140px); }
  .about { min-height: auto; padding: 92px 18px; }
  .about-inner { text-align: left; font-size: 17px; }
  .work-section, .services { padding: 84px 16px; }
  .section-intro { margin-bottom: 44px; }
  .category { margin-bottom: 72px; }
  .category-copy h3 { font-size: 40px; letter-spacing: .18em; }
  .category-gallery { display: block; }
  .tile { height: auto; margin-bottom: 14px; object-fit: contain; }
  .thin-marquee { margin: -20px auto 76px; overflow: hidden; justify-content: flex-start; gap: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}
