* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #fff; color: #111; font-family: 'Inter', sans-serif; }

.page { min-height: 100vh; display: flex; flex-direction: column; }

/* Nav */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 32px;
  border-bottom: 1px solid #111;
  font-size: 13px; font-weight: 500;
}
.nav .brand { letter-spacing: 0.01em; cursor: pointer; text-decoration: none; color: inherit; }
.nav .links { display: flex; gap: 20px; }
.nav .links a { color: inherit; text-decoration: none; cursor: pointer; }
.nav .links a.active { font-weight: 600; border-bottom: 1px solid #111; padding-bottom: 2px; }
.nav .links a:hover { opacity: 0.65; }

main { flex: 1; padding: 80px 32px 40px; display: flex; flex-direction: column; align-items: stretch; text-align: center; }
h1 { font-size: 28px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; margin: 0 0 24px; }
p.body { font-size: 15px; line-height: 1.55; color: #111; max-width: 62ch; margin: 0 auto 20px; }
p.body a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
p.body a:hover { opacity: 0.65; }

/* CTA button */
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: #111; color: #fff;
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; border: 1px solid #111; cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}
.cta:hover { background: #fff; color: #111; }
.cta .arrow { transition: transform 200ms ease; }
.cta:hover .arrow { transform: translateX(3px); }
.cta.ghost { background: #fff; color: #111; }
.cta.ghost:hover { background: #111; color: #fff; }
.cta.disabled {
  background: #fff; color: #999; border-color: #ccc; cursor: not-allowed;
  pointer-events: none;
}
.cta.disabled:hover { background: #fff; color: #999; }
.cta-row { margin-top: 32px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.detail .cta-row { justify-content: flex-start; }

/* Services page */
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
  margin: 48px 0 8px; text-align: left;
}
.svc-block .label {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #666; padding-bottom: 10px; margin-bottom: 16px;
  border-bottom: 1px solid #111;
}
.svc-list { list-style: none; padding: 0; margin: 0; }
.svc-list li {
  font-size: 14px; line-height: 1.55; color: #111;
  padding: 10px 0; border-bottom: 1px solid #eee;
}
.svc-list li:last-child { border-bottom: none; }

.cta.location-badge {
  background: #9B1C1C; color: #fff; border-color: #9B1C1C;
  border-radius: 100px; font-size: 12px; padding: 10px 20px;
  letter-spacing: 0.04em; pointer-events: none; cursor: default;
  transform: rotate(-2deg); display: inline-block;
}
.cta.location-badge:hover { background: #9B1C1C; color: #fff; }
.ref-row { display: flex; align-items: center; gap: 40px; margin: 48px 0 0; padding-top: 24px; border-top: 1px solid #111; flex-wrap: wrap; }
.ref-row .label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #666; }
.ref-logos { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.ref-logos a { display: inline-flex; align-items: center; opacity: 0.55; transition: opacity 150ms ease; }
.ref-logos a:hover { opacity: 1; }
.ref-logos img { height: 22px; width: auto; display: block; filter: grayscale(1); }
.use-cases { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid #111; display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; text-align: left; }
.use-case .uc-num { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #666; margin-bottom: 10px; }
.use-case p { font-size: 14px; line-height: 1.6; color: #111; margin: 0; }

/* Index gallery strip */
.strip {
  width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw);
  margin-top: 56px; padding: 0 32px 12px;
  display: flex; gap: 16px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: #111 transparent;
}
.strip::-webkit-scrollbar { height: 6px; }
.strip::-webkit-scrollbar-thumb { background: #111; }
.strip .img {
  flex: 0 0 auto; width: 420px; aspect-ratio: 3 / 2;
  scroll-snap-align: start;
  background-size: cover; background-position: center;
  background-color: #f5f5f2;
  border: 1px solid #111;
}

/* Brands list */
.brands-intro { margin-bottom: 32px; }
.brands-list { width: 100%; max-width: 720px; text-align: left; margin: 8px auto 0; }
.brand-row {
  display: grid; grid-template-columns: minmax(140px, 1fr) 2fr auto;
  gap: 32px; align-items: baseline;
  padding: 20px 0; border-top: 1px solid #111;
  font-size: 14px; cursor: pointer;
  transition: background 150ms ease;
  text-decoration: none; color: inherit;
}
.brand-row:last-child { border-bottom: 1px solid #111; }
.brand-row:hover { background: #fafaf7; }
.brand-row .name { font-weight: 600; font-size: 18px; position: relative; padding-left: 0; padding-right: 8px; transition: padding-left 150ms ease; white-space: nowrap; }
.brand-row:hover .name { padding-left: 12px; }
.brand-row .name::before {
  content: '\2192\FE0E'; position: absolute; left: -4px; top: 0;
  opacity: 0; transition: opacity 150ms ease, left 150ms ease;
}
.brand-row:hover .name::before { opacity: 1; left: 0; }
.brand-row .desc { color: #444; font-size: 13px; line-height: 1.55; }
.brand-row .link { font-size: 13px; white-space: nowrap; }
.brand-row .link a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.brand-row.placeholder { opacity: 0.35; cursor: default; }
.brand-row.placeholder:hover { background: transparent; }
.brand-row.placeholder:hover .name { padding-left: 0; }
.brand-row.placeholder:hover .name::before { opacity: 0; }
.brand-row.placeholder .name { font-weight: 400; font-style: italic; }

/* Back link on brand detail pages */
.back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #666; cursor: pointer; margin-bottom: 32px; align-self: flex-start;
  text-decoration: none;
}
.back:hover { color: #111; }

/* Footer */
footer {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  padding: 20px 32px; border-top: 1px solid #111;
  font-size: 12px;
}
footer .group { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
footer a:hover { opacity: 0.65; }

/* ===== Pitch template (unlisted proposals) ===== */
.pitch { max-width: 1280px; margin: 0 auto; padding: 24px 72px 64px; position: relative; text-align: left; }
.pitch .corner { position: absolute; width: 24px; height: 24px; border: 1px solid #111; }
.pitch .corner.tl { top: 24px; left: 24px; border-right: none; border-bottom: none; }
.pitch .corner.tr { top: 24px; right: 24px; border-left: none; border-bottom: none; }
.pitch .corner.bl { bottom: 24px; left: 24px; border-right: none; border-top: none; }
.pitch .corner.br { bottom: 24px; right: 24px; border-left: none; border-top: none; }
.pitch .meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; letter-spacing: 0.02em; font-weight: 500;
  padding-bottom: 18px; border-bottom: 1px solid #111;
}
.pitch .meta .tag { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #666; }
.pitch .head {
  padding: 48px 0 32px;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: end;
}
.pitch .head h1 { font-size: 72px; font-weight: 500; letter-spacing: -0.03em; line-height: 0.98; margin: 0; }
.pitch .head h1 .cross { font-weight: 300; padding: 0 6px; }
.pitch .head .sub { font-size: 16px; line-height: 1.5; color: #333; max-width: 44ch; padding-bottom: 6px; }
.pitch .head .sub .eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #666; display: block; margin-bottom: 10px;
}
.band { margin: 40px 0; }
.band-label {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #666; margin-bottom: 12px;
}
.band-label .rule { flex: 1; height: 1px; background: #111; margin: 0 12px; }
.band .row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.band .img { width: 100%; background: #f5f4f0; display: block; object-fit: contain; }
.cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  padding-top: 28px; margin-top: 32px; border-top: 1px solid #111;
}
.col .col-num {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #666; margin-bottom: 12px;
  display: flex; justify-content: space-between; align-items: center;
}
.col .col-num .dot { width: 6px; height: 6px; background: #111; display: inline-block; }
.col h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 16px; }
.col.center h3 { font-style: italic; font-weight: 500; }
.col ul { list-style: none; padding: 0; margin: 0; }
.col li {
  font-size: 15px; line-height: 1.5; padding: 12px 0 12px 20px;
  border-top: 1px solid rgba(0,0,0,0.12); position: relative; color: #222;
}
.col li:last-child { border-bottom: 1px solid rgba(0,0,0,0.12); }
.col li::before { content: ''; position: absolute; left: 0; top: 20px; width: 10px; height: 1px; background: #111; }
.kicker {
  margin-top: 56px; padding-top: 32px; border-top: 1px solid #111;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 48px;
}
.kicker .quote { font-size: 40px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; max-width: 26ch; }
.kicker .quote em { font-style: italic; font-weight: 400; }
.kicker .sig {
  text-align: right; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #666; line-height: 1.8; white-space: nowrap;
}
.kicker .sig strong { color: #111; font-weight: 600; display: block; }

/* Brand detail (Lehni / Gufram) */
.detail { max-width: 960px; margin: 0 auto; padding: 0 32px; text-align: left; }
.detail h1 { font-size: 56px; font-weight: 500; letter-spacing: -0.02em; text-align: left; margin: 24px 0 24px; }
.detail .lede { font-size: 18px; line-height: 1.5; max-width: 60ch; margin: 0 0 40px; }
.detail .gal { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
.detail .gal .ph {
  aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  background-color: #f5f5f2;
  border: 1px solid #111;
}
.detail .outlink {
  display: inline-block; margin-top: 16px; font-size: 14px;
  color: inherit; text-decoration: underline; text-underline-offset: 3px;
}

/* Simple prose pages (privacy, terms, 404) */
.prose { max-width: 720px; margin: 0 auto; padding: 0 32px; text-align: left; }
.prose h1 { font-size: 40px; font-weight: 500; letter-spacing: -0.02em; text-align: left; margin: 24px 0 8px; }
.prose .updated { font-size: 12px; color: #666; margin: 0 0 40px; }
.prose h2 { font-size: 16px; font-weight: 600; margin: 40px 0 12px; }
.prose p, .prose li { font-size: 15px; line-height: 1.6; color: #222; }
.prose ul { padding-left: 20px; margin: 0 0 16px; }
.prose a { color: inherit; }

/* Cookie notice */
.cookie-notice {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 999;
  max-width: 560px; margin: 0 auto;
  background: #111; color: #fff;
  padding: 18px 20px; border: 1px solid #111;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 13px; line-height: 1.5;
}
.cookie-notice a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cookie-notice button {
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  background: #fff; color: #111; border: 1px solid #fff;
  padding: 10px 18px; cursor: pointer; flex: 0 0 auto;
}
.cookie-notice button:hover { background: #111; color: #fff; }
.cookie-notice[hidden] { display: none; }

/* Responsive */
@media (max-width: 900px) {
  .pitch { padding: 16px 24px 48px; }
  .pitch .head { grid-template-columns: 1fr; gap: 24px; padding: 32px 0 24px; }
  .pitch .head h1 { font-size: 44px; }
  .band .row, .cols { grid-template-columns: 1fr; gap: 16px; }
  .kicker { flex-direction: column; align-items: flex-start; gap: 24px; }
  .kicker .quote { font-size: 28px; }
  .pitch .corner { display: none; }
  .detail h1 { font-size: 36px; }
  .detail .gal { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  h1 { font-size: 22px; }
  p.body { font-size: 14px; }
  main { padding: 56px 20px 32px; }
  .nav { padding: 16px 20px; }
  .nav .links { gap: 12px; }
  .strip { padding: 0 20px 12px; }
  .strip .img { width: 300px; }
  footer { padding: 16px 20px; font-size: 11px; flex-direction: column; gap: 12px; }
  .brand-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .detail { padding: 0 20px; }
  .detail h1 { font-size: 28px; margin: 16px 0 16px; }
  .detail .lede { font-size: 15px; margin: 0 0 28px; }
  .use-cases { grid-template-columns: 1fr; gap: 20px; margin: 28px 0 0; }
  .svc-grid { grid-template-columns: 1fr; gap: 28px; margin: 28px 0 8px; }
  .ref-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .cta { text-align: center; }
  .prose { padding: 0 20px; }
  .prose h1 { font-size: 28px; }
  .cookie-notice { left: 12px; right: 12px; bottom: 12px; padding: 16px; }
}
