/* Shared layouts for long-form pages, insights & projects */

.section-title {
  font-family: "Syne", "DM Sans", system-ui, sans-serif;
  letter-spacing: -0.035em;
  line-height: 1.08;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.92);
}

.section-lede {
  max-width: 62ch;
  font-size: 1.06rem;
  line-height: 1.72;
  color: rgba(0, 0, 0, 0.72);
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 18px);
  margin-top: 22px;
}

@media (max-width: 980px) { .kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .kpi-row { grid-template-columns: 1fr; } }

.kpi {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.2);
  background: linear-gradient(
    155deg,
    rgba(255,255,255,0.13) 0%,
    rgba(255,255,255,0.05) 100%
  );
  backdrop-filter: blur(22px) saturate(1.1);
  -webkit-backdrop-filter: blur(22px) saturate(1.1);
  padding: 14px 16px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 12px 32px rgba(0, 0, 0, 0.18);
}

.kpi .kpi-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  font-weight: 850;
}

.kpi .kpi-value {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(255,255,255,0.92);
  font-weight: 650;
  line-height: 1.35;
}

.page-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 40px) clamp(22px, 4vw, 32px)
    clamp(72px, 12vw, 112px);
}

.page-wrap.narrow {
  max-width: 920px;
}

.page-wrap > .page-grid + .panel,
.page-wrap > .page-grid + .page-grid,
.page-wrap > .panel + .panel,
.page-wrap > .panel + .page-grid {
  margin-top: clamp(28px, 5vw, 44px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.75), transparent);
  opacity: 0.9;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.hero-chips {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-chip {
  border-radius: 999px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 8, 8, 0.35);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 850;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #f4f4f4 100%);
  color: #0a0a0a;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease,
    background 0.3s ease;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.45) inset,
    0 16px 40px rgba(0, 0, 0, 0.22);
}

.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.55) inset,
    0 22px 50px rgba(0, 0, 0, 0.28);
}

.btn-solid.btn-solid--dark {
  background: linear-gradient(180deg, #121212 0%, #060606 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 16px 44px rgba(0, 0, 0, 0.45);
}

.btn-solid.btn-solid--dark:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 22px 56px rgba(0, 0, 0, 0.5);
}

.page-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(22px, 4vw, 36px);
  margin-top: clamp(8px, 2vw, 16px);
  align-items: start;
}

@media (max-width: 980px) {
  .page-grid { grid-template-columns: 1fr; }
}

.panel {
  border: 1px solid rgba(0, 0, 0, 0.068);
  border-radius: clamp(22px, 3vw, 28px);
  background: linear-gradient(
    165deg,
    #ffffff 0%,
    #fcfcfc 45%,
    #f7f7f7 100%
  );
  padding: clamp(26px, 4.5vw, 36px) clamp(24px, 4vw, 34px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.85) inset,
    0 1px 0 rgba(0, 0, 0, 0.04),
    0 28px 64px -12px rgba(0, 0, 0, 0.1),
    0 14px 32px -8px rgba(0, 0, 0, 0.045);
}

.panel.soft {
  background: linear-gradient(
    168deg,
    #ffffff 0%,
    #f9f9f9 40%,
    #f2f2f2 100%
  );
}

.panel h2,
.panel h3 {
  font-family: "Syne", "DM Sans", system-ui, sans-serif;
  letter-spacing: -0.028em;
  line-height: 1.14;
}

.panel h2 {
  font-size: clamp(1.28rem, 2.15vw, 1.52rem);
  margin-bottom: 14px;
  font-weight: 800;
}

.panel h3 {
  font-size: 1.055rem;
  margin-top: 26px;
  margin-bottom: 10px;
  font-weight: 750;
}

.prose {
  color: rgba(0, 0, 0, 0.72);
  font-size: 15.75px;
  line-height: 1.82;
  letter-spacing: 0.01em;
  max-width: 72ch;
}

.prose p { margin: 0 0 16px; }
.prose p strong { color: rgba(0,0,0,0.92); }
.prose ul { margin: 0 0 14px; padding-left: 1.15em; }
.prose li { margin: 0 0 8px; }
.prose h3 { margin-top: 22px; }
.prose h3 + p { margin-top: 0; }

.prose hr {
  border: 0;
  height: 1px;
  margin: clamp(26px, 4vw, 36px) 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 0, 0, 0.09) 12%,
    rgba(0, 0, 0, 0.09) 88%,
    transparent
  );
}

.prose blockquote {
  margin: clamp(22px, 3vw, 28px) 0;
  border-left: 3px solid rgba(0, 0, 0, 0.35);
  padding: 16px 20px;
  border-radius: 0 16px 16px 0;
  background: linear-gradient(
    98deg,
    rgba(0, 0, 0, 0.045),
    rgba(0, 0, 0, 0.02)
  );
  color: rgba(0, 0, 0, 0.8);
  font-size: 1.04em;
}

.toc {
  border-radius: clamp(18px, 2.5vw, 22px);
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: linear-gradient(168deg, #ffffff 0%, #f8f8f8 100%);
  padding: 18px 18px;
  margin-bottom: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.75) inset, 0 12px 32px rgba(0, 0, 0, 0.04);
}

.toc .toc-title {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.45);
}

.toc a {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  margin-top: 6px;
  color: rgba(0, 0, 0, 0.86);
  font-weight: 700;
  font-size: 14px;
}

.toc a:hover {
  background: rgba(0, 0, 0, 0.057);
}

.toc + h2.motion-line-under {
  margin-top: 10px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.5vw, 22px);
}

@media (max-width: 720px) { .image-grid { grid-template-columns: 1fr; } }

.figure {
  border-radius: clamp(20px, 3vw, 24px);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #0a0a0a;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 32px 80px -14px rgba(0, 0, 0, 0.16);
}

.figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.figure figcaption {
  padding: 12px 14px;
  background: rgba(0,0,0,0.78);
  color: rgba(255,255,255,0.84);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.callout {
  border: 1px solid rgba(0, 0, 0, 0.068);
  border-radius: clamp(18px, 2.5vw, 22px);
  padding: clamp(18px, 3vw, 24px);
  background:
    radial-gradient(ellipse 80% 120% at 12% -10%, rgba(0, 0, 0, 0.055), transparent 48%),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.65),
      rgba(0, 0, 0, 0.02)
    );
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5) inset, 0 12px 30px rgba(0, 0, 0, 0.04);
}

.callout strong { color: rgba(0, 0, 0, 0.93); font-weight: 800; }

.media-card {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #0a0a0a;
  box-shadow: 0 30px 90px rgba(0,0,0,0.14);
  position: relative;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.media-card .media-caption {
  position: absolute;
  inset: auto 14px 14px 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.88);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 750;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 24px);
}

@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

.card {
  border-radius: clamp(20px, 2.8vw, 24px);
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: linear-gradient(180deg, #ffffff, #fafafa);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
    0 22px 56px -12px rgba(0, 0, 0, 0.09);
  transition: box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.4s ease;
}

.card:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.88) inset,
    0 32px 72px -10px rgba(0, 0, 0, 0.13);
}

.card-media {
  height: 180px;
  background: #0a0a0a;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 18px 20px 22px;
}

.card-kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.5);
  font-weight: 800;
}

.card h3 {
  margin-top: 8px;
  font-size: 1.05rem;
  font-family: "Syne", "DM Sans", system-ui, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.card p {
  margin-top: 10px;
  color: rgba(0,0,0,0.72);
  font-size: 14px;
  line-height: 1.6;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-link span {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.7;
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 680px) { .quote-form { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 850;
  color: rgba(0,0,0,0.62);
  margin-bottom: 6px;
}

.field input, .field select, .field textarea {
  width: 100%;
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.11);
  background: linear-gradient(180deg, #ffffff, #fcfcfc);
  font: inherit;
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 4px 14px rgba(0, 0, 0, 0.03);
}

.field textarea { min-height: 120px; resize: vertical; grid-column: 1 / -1; }

.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(0, 0, 0, 0.32);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.08),
    0 0 0 6px rgba(0, 0, 0, 0.05);
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.fineprint {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(0,0,0,0.6);
  line-height: 1.6;
}

/* ----- Testimonials ----- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 980px) { .testimonials { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .testimonials { grid-template-columns: 1fr; } }

.testimonial {
  border-radius: clamp(20px, 2.8vw, 24px);
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: linear-gradient(168deg, #ffffff 0%, #f6f6f6 100%);
  padding: 22px 22px 20px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.78) inset,
    0 22px 56px -12px rgba(0, 0, 0, 0.085);
  position: relative;
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: "Syne", "DM Sans", Georgia, serif;
  font-size: 2.5rem;
  line-height: 1;
  color: rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.testimonial .t-quote {
  color: rgba(0,0,0,0.78);
  font-size: 14.5px;
  line-height: 1.68;
}

.testimonial .t-meta {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.testimonial .t-name {
  font-weight: 850;
  letter-spacing: -0.01em;
  color: rgba(0,0,0,0.92);
  font-size: 13px;
}

.testimonial .t-context {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.52);
  font-weight: 850;
}

/* ----- FAQ (accordion) ----- */
.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border-radius: clamp(18px, 2.5vw, 22px);
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: linear-gradient(180deg, #ffffff, #fbfbfb);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.85) inset,
    0 16px 44px -10px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: border-color 0.28s ease, box-shadow 0.28s ease;
}

.faq details[open] {
  border-color: rgba(0, 0, 0, 0.125);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.9) inset,
    0 22px 56px rgba(0, 0, 0, 0.08);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 850;
  letter-spacing: -0.015em;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary .q {
  font-family: "Syne", "DM Sans", system-ui, sans-serif;
  letter-spacing: -0.02em;
}

.faq summary .chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(0,0,0,0.72);
  border-bottom: 2px solid rgba(0,0,0,0.72);
  transform: rotate(45deg);
  opacity: 0.8;
  transition: transform 0.25s ease;
  flex: 0 0 auto;
}

.faq details[open] summary .chev { transform: rotate(-135deg); }

.faq .a {
  padding: 0 20px 22px;
  margin-top: -2px;
  color: rgba(0, 0, 0, 0.72);
  font-size: 14.75px;
  line-height: 1.76;
}

.faq .a p { margin: 0 0 10px; }
.faq .a ul { margin: 0 0 10px; padding-left: 1.1em; }
.faq .a li { margin: 0 0 8px; }

/* ----- “Work showcase” (mini projects) ----- */
.showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}
@media (max-width: 980px) { .showcase { grid-template-columns: 1fr; } }

.showcase-main {
  border-radius: clamp(24px, 3.2vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  outline: 1px solid rgba(0, 0, 0, 0.12);
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,0.22), transparent 58%),
    radial-gradient(circle at 78% 52%, rgba(255,255,255,0.14), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(0,0,0,0.72));
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 36px 90px -16px rgba(0, 0, 0, 0.22);
  min-height: 320px;
}

.showcase-main .showcase-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

.showcase-main .overlay {
  position: absolute;
  z-index: 1;
  inset: auto 14px 14px 14px;
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(0,0,0,0.52);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  color: rgba(255,255,255,0.92);
}

.showcase-main .overlay .k {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 900;
  opacity: 0.86;
}

.showcase-main .overlay h3 {
  margin-top: 8px;
  font-family: "Syne", "DM Sans", system-ui, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: 1.15rem;
}

.showcase-main .overlay p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
}

.showcase-side {
  display: grid;
  gap: 12px;
}

.mini {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  box-shadow: 0 18px 58px rgba(0,0,0,0.06);
}

.mini .mini-media {
  position: relative;
  height: 120px;
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,0.18), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(0,0,0,0.55));
}
.mini .mini-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mini .mini-body { padding: 14px 14px 14px; }
.mini .mini-k { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(0,0,0,0.52); font-weight: 900; }
.mini h4 { margin-top: 8px; font-family: "Syne", "DM Sans", system-ui, sans-serif; letter-spacing: -0.02em; line-height: 1.16; font-size: 1rem; }
.mini p { margin-top: 8px; color: rgba(0,0,0,0.72); font-size: 13.5px; line-height: 1.6; }

/* ----- Team page grid (layouts & signatures · css/team-signatures.css) ----- */
.team-grid-lg{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 24px);
  margin-top: 14px;
}
@media (max-width: 880px){ .team-grid-lg{ grid-template-columns: 1fr; } }
