/* ===== Placeholder marker (applied by JS to bracketed text) ===== */
.ph {
  outline: 1px dashed var(--brass);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ===== Section scaffolding ===== */
.section { padding: 104px 0; }
.section-paper { background: var(--paper); color: var(--ink-text); }
.section-ink { background: var(--ink); }
.section-deep { background: var(--ink-deep); }
.section-head { max-width: 56ch; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.12; }
.section-lede { margin: 16px 0 0; color: var(--slate); font-size: 1.05rem; }
.section-paper .section-lede { color: #4A5A6E; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 120px 0 128px;
  border-bottom: 1px solid var(--line-on-ink);
  overflow: hidden;
}
.hero--photo { background-size: cover; background-position: center; }
.hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,18,32,0.93) 0%, rgba(10,18,32,0.72) 55%, rgba(10,18,32,0.35) 100%);
}
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero--photo .hero-grid { grid-template-columns: 1fr; }
.hero--photo .hero-diagram { display: none; }
.hero-credit { font-size: 0.92rem; color: var(--brass-bright); margin: 0 0 22px; }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 15ch;
}
.hero-sub { margin: 28px 0 38px; max-width: 50ch; color: var(--slate); font-size: 1.12rem; }
.hero--photo .hero-sub { color: #C9D3DF; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-diagram svg { width: 100%; height: auto; display: block; }
.hero-diagram .d-line {
  stroke: var(--line-bright);
  stroke-width: 1;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: draw 1.1s ease forwards;
}
.hero-diagram .d-node { opacity: 0; animation: fadeIn 0.5s ease 0.9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

/* ===== Spotlight ===== */
.spotlight-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center; }
.spotlight h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.06; letter-spacing: -0.02em; margin-bottom: 18px; }
.spotlight-lead { font-size: 1.15rem; color: var(--paper); margin: 0 0 14px; max-width: 40ch; }
.spotlight-body { color: var(--slate); margin: 0 0 30px; max-width: 52ch; }
.spotlight-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.spotlight-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.spotlight-visual {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line-on-ink);
  background: linear-gradient(140deg, var(--ink-raised), var(--ink));
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
}
.spotlight-mono { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 12vw, 9rem); color: var(--brass); line-height: 1; }

/* ===== What we do: tall panels ===== */
.panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.panel {
  position: relative;
  min-height: 380px;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--ink);
  color: var(--paper);
  border-top: 3px solid var(--brass);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.panel.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,18,32,0.15) 0%, rgba(10,18,32,0.92) 100%);
}
.panel > * { position: relative; }
.panel h3 { font-size: 1.5rem; line-height: 1.15; margin-bottom: 12px; }
.panel p { margin: 0; color: #B6C3D3; font-size: 0.98rem; }

/* ===== Portfolio slider ===== */
.slider-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.slider-head .section-head { margin-bottom: 0; }
.slider-controls { display: flex; gap: 10px; }
.slider-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-on-ink);
  background: transparent;
  color: var(--paper);
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.slider-btn:hover:not(:disabled) { border-color: var(--brass); background: rgba(192,138,46,0.1); }
.slider-btn:disabled { opacity: 0.35; cursor: default; }

.slider-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--brass) transparent;
}
.slider-track:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .slider-track { scroll-behavior: auto; } }

/* Cards (also used on the portfolio, brands and solutions pages) */
.card {
  flex: 0 0 min(360px, 84%);
  scroll-snap-align: start;
  background: var(--ink-raised);
  color: var(--paper);
  border: 1px solid var(--line-on-ink);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.card:hover, .card:focus-visible { border-color: var(--brass); }
.card-cover {
  height: 190px;
  background: linear-gradient(140deg, #1D3150, var(--ink));
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line-on-ink);
}
.card-cover span { font-family: var(--font-display); font-weight: 700; font-size: 3.4rem; color: var(--brass); }
.card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card h3 { font-size: 1.3rem; }
.card-short { margin: 0; color: var(--slate); font-size: 0.96rem; flex: 1; }
.card-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 3px 9px;
  border: 1px solid var(--line-on-ink);
  color: var(--slate);
  border-radius: 2px;
}
.chip-status { border-color: var(--brass); color: var(--brass-bright); }
.card-link { font-size: 0.92rem; color: var(--brass-bright); }
.slider-foot { margin-top: 32px; }
.btn-dark { border: 1px solid var(--line-on-paper); color: var(--ink-text); }
.btn-dark:hover { border-color: var(--brass); color: var(--ink-text); background: rgba(192,138,46,0.08); }

/* ===== Founder / leadership ===== */
.founder { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: center; }
.founder-photo {
  width: 260px;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line-on-paper);
  display: grid;
  place-items: center;
  background: var(--paper-dim);
  overflow: hidden;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-mono { font-family: var(--font-display); font-weight: 700; font-size: 4rem; color: var(--brass); }
.founder-text h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 6px; }
.founder-title { color: var(--brass); font-weight: 600; margin: 0 0 16px; }
.founder-text p { margin: 0 0 18px; max-width: 62ch; color: #43536A; }
.cofounders { display: flex; gap: 28px; flex-wrap: wrap; margin: 0 0 24px; padding-top: 18px; border-top: 1px solid var(--line-on-paper); }
.cofounder strong { display: block; font-family: var(--font-display); color: var(--ink-text); }
.cofounder span { font-size: 0.9rem; color: #43536A; }

/* ===== Lifecycle (a real sequence, so numbered) ===== */
.lifecycle { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line-on-ink); }
.lifecycle li { padding: 24px 18px 0 0; border-right: 1px solid var(--line-on-ink); }
.lifecycle li:last-child { border-right: none; padding-right: 0; }
.lc-num { display: block; font-family: var(--font-display); color: var(--brass); font-size: 0.92rem; margin-bottom: 10px; }
.lifecycle h3 { font-size: 1.05rem; margin-bottom: 8px; }
.lifecycle p { margin: 0; font-size: 0.9rem; color: var(--slate); }
.lc-note { margin: 28px 0 0; font-size: 0.92rem; color: var(--slate); max-width: 64ch; }

/* ===== CTA band ===== */
.cta-band { background: var(--ink-deep); padding: 96px 0; border-top: 1px solid var(--line-on-ink); }
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.12; max-width: 22ch; margin-bottom: 16px; }
.cta-band p { color: var(--slate); max-width: 52ch; margin: 0 0 32px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .hero { padding: 80px 0 88px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-diagram { order: -1; max-width: 340px; margin: 0 auto; }
  .spotlight-grid { grid-template-columns: 1fr; gap: 40px; }
  .panels { grid-template-columns: 1fr; }
  .panel { min-height: 280px; }
  .lifecycle { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .lifecycle li { border-right: none; border-bottom: 1px solid var(--line-on-ink); padding-bottom: 20px; }
  .founder { grid-template-columns: 1fr; gap: 28px; }
  .founder-photo { width: 200px; }
  .slider-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .lifecycle { grid-template-columns: 1fr; }
}