/* Innovation Chapel – mobile first, one breakpoint at 768px */
:root {
  --bg: #F6F5F1;
  --ink: #141414;
  --body: #4A4A46;
  --meta: #6B6A65;
  --line: #D9D7D0;
  --accent: #F5A524;
  --tile: #E7E5DF;
  --band-meta: #8C8A84;
  --band-line: #3A3A36;
  --band-text: #C9C7C0;
  --gutter: 20px;
  --section: 80px;
  --font: 'Source Code Pro', ui-monospace, SFMono-Regular, Menlo, monospace;
}
@media (min-width: 768px) {
  :root { --gutter: clamp(16px, 4vw, 64px); --section: 104px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { font-weight: 400; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--body); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 10; padding: 12px 16px; background: var(--ink); color: var(--bg); }
.skip:focus { top: 16px; }

.only-desktop { display: none !important; }
@media (min-width: 768px) {
  .only-desktop { display: revert !important; }
  .only-mobile { display: none !important; }
}

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Header ----------------------------------------------------------------- */
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; letter-spacing: -0.01em; text-decoration: none; }
.header-mail { font-size: 14px; padding: 12px 0; }
@media (min-width: 768px) { .site-header { min-height: 72px; flex-wrap: wrap; } }

/* Type ------------------------------------------------------------------- */
.h-hero { font-size: max(min(28px, 7.4vw), min(88px, 6.4vw)); line-height: 1.04; letter-spacing: -0.04em; }
.h-section { font-size: max(22px, min(48px, 5.6vw)); line-height: 1.15; letter-spacing: -0.025em; }
.h-band { font-size: 34px; line-height: 1.04; letter-spacing: -0.035em; }
.h-step { font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; }
.h-case { font-size: 20px; line-height: 1.25; }
.h-name { font-size: 16px; line-height: 1.35; }
@media (min-width: 768px) {
  .h-hero { line-height: 1.02; }
  .h-section { line-height: 1.08; }
  .h-band { font-size: clamp(32px, 4.6vw, 64px); line-height: 1.02; }
  .h-step { font-size: 28px; }
  .h-case { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; letter-spacing: -0.01em; }
  .h-name { font-size: 18px; }
}
.h-contact { font-size: 48px; }
@media (min-width: 768px) { .h-contact { font-size: min(88px, 6.4vw); } }

.text { font-size: 16px; line-height: 1.6; color: var(--body); }
.lead { font-size: 16px; line-height: 1.6; color: var(--body); max-width: 60ch; }
@media (min-width: 768px) { .lead { font-size: 18px; } }
.meta { font-size: 14px; color: var(--meta); }
.label { font-size: 14px; line-height: 1.6; color: var(--meta); border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.label-strong { border-bottom-color: var(--ink); }
.section-label { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--meta); border-bottom: 1px solid var(--ink); padding-bottom: 8px; }
.dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

/* Layout ----------------------------------------------------------------- */
.section { display: flex; flex-direction: column; gap: 32px; padding-block: var(--section); }
.section-top { padding-bottom: 0; }
.contact { gap: 24px; }
@media (min-width: 768px) {
  .section { gap: 56px; }
  .contact { gap: 32px; }
}

.block { display: flex; flex-direction: column; gap: 8px; }
.grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .block { gap: 10px; } .grid { gap: 40px 32px; } }

/* Intro */
.intro { display: flex; flex-direction: column; gap: 56px; padding-top: 48px; }
.grid-intro { gap: 28px; }
.grid-intro .block { gap: 10px; }
@media (min-width: 768px) {
  .intro { gap: clamp(56px, 8vw, 104px); padding-top: 96px; }
  .grid-intro { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 32px; }
  .grid-intro .block { gap: 12px; }
}

/* Services */
@media (min-width: 768px) { .grid-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-services { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.note { align-self: flex-start; font-size: 14px; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

/* Approach */
.approach { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.grid-approach { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.grid-approach .block { gap: 6px; }
.grid-approach .text { font-size: 15px; line-height: 1.55; }
.step-arrow { margin-left: 10px; }
@media (min-width: 768px) {
  .approach { gap: 24px; }
  .grid-approach { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px 32px; }
  .grid-approach .block { gap: 10px; }
  .grid-approach .text { font-size: 16px; line-height: 1.6; }
}

/* Spentia band */
.band { background: var(--ink); color: var(--bg); padding-block: var(--section); }
.band-inner { display: flex; flex-direction: column; gap: 28px; }
.band .section-label { color: var(--band-meta); border-bottom-color: var(--bg); }
.band .label { color: var(--band-meta); border-bottom-color: var(--band-line); }
.band .text, .band .lead { color: var(--band-text); }
.band a { color: var(--bg); }
.grid-band { gap: 28px; }
.grid-band .block { gap: 8px; }
.btn-outline { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; border: 1px solid var(--bg); font-size: 14px; text-decoration: none; }
.btn-outline:hover { background: var(--bg); color: var(--ink) !important; }
@media (min-width: 768px) {
  .band-inner { gap: 56px; }
  .grid-band { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
  .grid-band .block { gap: 10px; }
  .btn-outline { align-self: flex-start; min-height: 44px; padding: 0 20px; }
}

/* Work */
.cases { display: flex; flex-direction: column; gap: 56px; }
.case { display: flex; flex-direction: column; gap: 16px; }
.case-head { display: flex; flex-direction: column; gap: 6px; }
.strip {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity;
  margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter);
}
.strip img { flex: 0 0 300px; width: 300px; height: 200px; object-fit: cover; background: var(--tile); scroll-snap-align: start; }
@media (min-width: 768px) {
  .cases { gap: 80px; }
  .case { gap: 24px; }
  .strip { gap: 12px; margin-inline: 0; padding: 0 0 8px; scroll-padding-inline: 0; }
  .strip img { flex: 0 0 min(560px, 80%); width: min(560px, 80%); height: auto; aspect-ratio: 16 / 10; }
}
.names { gap: 12px; margin-top: 8px; }
.names .label { font-weight: 400; }
.name-list { display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.5; }
@media (min-width: 768px) { .name-list { flex-direction: row; flex-wrap: wrap; gap: 8px 32px; } }

/* People */
.grid-people { gap: 28px; }
.person { display: flex; gap: 16px; align-items: flex-start; }
.portrait { flex: 0 0 72px; height: 72px; display: flex; align-items: center; justify-content: center; }
.portrait img { width: 64px; height: 64px; }
.person-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.person-role { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--meta); border-bottom: 1px solid var(--ink); padding-bottom: 6px; }
.is-associate .person-role { border-bottom: 1px dashed var(--meta); }
.tag { flex: none; border: 1px dashed var(--body); color: var(--body); padding: 0 5px; }
.small-link { align-self: flex-start; font-size: 14px; padding-block: 4px; }
@media (min-width: 768px) {
  .grid-people { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 32px; }
  .person { flex-direction: column; gap: 12px; align-items: stretch; }
  .portrait { flex: none; width: 96px; height: 96px; }
  .portrait img { width: 88px; height: 88px; }
  .person-body { gap: 12px; }
  .person-role { gap: 12px; padding-bottom: 8px; }
  .tag { padding: 0 6px; }
}

/* Partners */
.partners { display: flex; flex-direction: column; gap: 20px; background: #fff; border: 1px solid var(--line); padding: 20px; margin-top: 8px; }
.grid-partners { gap: 28px; }
.partner { display: flex; flex-direction: column; gap: 6px; }
.partner .text a { color: var(--ink); }
@media (min-width: 768px) {
  .partners { gap: 24px; padding: clamp(24px, 3vw, 40px); }
  .grid-partners { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .partner { gap: 8px; }
}
@media (min-width: 1024px) { .grid-partners { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Contact */
.mail-big { align-self: flex-start; font-size: 18px; overflow-wrap: anywhere; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 6px; }
@media (min-width: 768px) { .mail-big { font-size: clamp(18px, 2.4vw, 28px); text-decoration-thickness: 4px; text-underline-offset: 8px; } }
.btn-solid { display: flex; justify-content: center; align-items: center; min-height: 52px; margin-top: 8px; background: var(--ink); color: var(--bg); text-decoration: none; font-size: 14px; }
.btn-solid:hover { color: var(--line); }

/* Footer */
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-top: 1px solid var(--line); padding: 20px 0 32px; font-size: 14px; color: var(--meta); }
