/* ============================================================
   LUMINOUS CLOUD — DESIGN SYSTEM
   Version 1.0
   
   HOW TO USE:
   Link this file in the <head> of every page:
   <link rel="stylesheet" href="design-system.css">
   
   Also add the Google Fonts import to every page <head>:
   <link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,500;9..144,600&family=Instrument+Sans:ital,wght@0,500;0,600;1,500;1,600&family=Mulish:wght@300;400;500;600;700&display=swap" rel="stylesheet">

   AVAILABLE CLASSES:
   Typography:   h1, h2, h2.secondary, h3, h4
                 .h3-editorial, .body-editorial, .body-small, .label
   Components:   .overline, .overline--dark
                 .btn
                 .list-group, .list-group-item, .list-group-item-text, .list-group-arrow
   Layout:       .section, .section-cream, .section-cta, .hero
                 .grid, .card
   Nav:          nav, .nav-logo, .nav-link
   ============================================================ */


/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { font-size: 16px; }


/* ─── TOKENS ─────────────────────────────────────────────── */
:root {

  /* Fonts */
  --font-serif:   'Fraunces', serif;          /* H1, H2, H3 editorial, Body editorial, H4 */
  --font-display: 'Instrument Sans', sans-serif; /* H2 secondary, H3, H4 card subtitle */
  --font-sans:    'Mulish', sans-serif;        /* Body, labels, nav, UI */

  /* Type scale — all fluid via clamp(mobile, fluid, desktop) */
  --text-h1:             clamp(2.5rem, 5vw, 5rem);        /* Hero headline */
  --text-h1-inner:       clamp(1.75rem, 3vw, 3.125rem);    /* Inner page hero — 50px max */
  --text-h2-inner:       clamp(1rem, 1.8vw, 1.5rem);         /* Inner page subtitle — 24px max */
  --text-h2:             clamp(1.75rem, 3.5vw, 2.4rem);   /* Section header */
  --text-h2-secondary:   clamp(1.35rem, 2.5vw, 2rem);     /* Subsection title */
  --text-h3:             clamp(1.1rem, 2vw, 1.4rem);      /* Subsection subtitle */
  --text-h3-editorial:   clamp(1.4rem, 2vw, 1.8rem);      /* Editorial card */
  --text-h4:             1rem;                             /* Card subtitle */
  --text-body:           clamp(1rem, 1.5vw, 1.25rem);     /* Body */
  --text-body-editorial: 1.25rem;                          /* Body editorial */
  --text-body-small:     0.85rem;                          /* Tables, captions */
  --text-label:          clamp(0.75rem, 0.9vw, 0.875rem); /* Overlines, labels */

  /* Spacing — section padding per breakpoint */
  --space-section-mobile:  2rem;    /* < 768px  · 32px  */
  --space-section-tablet:  3rem;    /* 768px+   · 48px  */
  --space-section-desktop: 4rem;    /* 1024px+  · 64px  */
  --space-section-large:   5rem;    /* 1440px+  · 80px  */

  /* Container */
  --container-max:   1440px;
  --container-gutter: 5vw;

  /* Content widths */
  --width-narrow:  680px;   /* body text, paragraphs */
  --width-medium:  860px;   /* headlines */
  --width-wide:    1100px;  /* grids, cards */

  /* Colors */
  --color-bg:           #0a0a0a;                  /* Primary background — near black */
  --color-bg-cream:     #f9f9f9;                  /* Alternate background — near white */
  --color-text:         #f5f5f0;                  /* Primary text — warm off-white */
  --color-text-muted:   rgba(245,245,240,0.55);   /* Body text on dark */
  --color-text-dim:     rgba(245,245,240,0.35);   /* Labels, secondary UI */
  --color-border:       rgba(245,245,240,0.1);    /* Dividers on dark */
  --color-text-dark:    #1a1a1a;                  /* Body text on cream */
  --color-text-dark-muted: #5a5550;               /* Muted text on cream */
}


/* ─── BASE ───────────────────────────────────────────────── */
body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 400;
  background: #f9f9f9;
  color: var(--color-text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

hr {
  border: none;
  border-top: 0.5px solid var(--color-border);
}


/* ─── TYPOGRAPHY ─────────────────────────────────────────── */

/* H1 — Hero headline · Fraunces 500 */
h1 {
  font-family: var(--font-serif);
  font-size: var(--text-h1);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* H2 — Section header · Fraunces 600 */
h2 {
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.25;
}

/* H2 Secondary — Subsection title · Instrument Sans 500 */
h2.secondary {
  font-family: var(--font-display);
  font-size: var(--text-h2-secondary);
  font-weight: 500;
}

/* H3 — Subsection subtitle · Instrument Sans 500 */
h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.4;
}

/* H3 Editorial card · Fraunces 500 */
.h3-editorial {
  font-family: var(--font-serif);
  font-size: var(--text-h3-editorial);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.35;
}

/* H4 — Card subtitle · Instrument Sans 500 */
h4 {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.4;
}

/* Body — default */
p {
  color: var(--color-text-muted);
}

/* Body Editorial · Fraunces 300 */
.body-editorial {
  font-family: var(--font-serif);
  font-size: var(--text-body-editorial);
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Body Small — tables, captions · Mulish 400 */
.body-small {
  font-family: var(--font-sans);
  font-size: var(--text-body-small);
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Label — uppercase utility */
.label {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}


/* ─── OVERLINE COMPONENT ──────────────────────────────────── */
/*
  Usage:
  <p class="overline">Label text</p>               — on dark bg
  <p class="overline overline--dark">Label</p>     — on cream bg
*/
.overline {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f5f0e8;
  margin-bottom: 1.5rem;
  height: 45px;
}

.overline::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 41px;
  background: #f5f0e8;
  border-radius: 2px;
  flex-shrink: 0;
  align-self: stretch;
}

.overline.overline--dark {
  color: #0a0a0a;
}

.overline.overline--dark::before {
  background: #0a0a0a;
}


/* ─── BUTTON ──────────────────────────────────────────────── */
/*
  Usage: <a class="btn" href="#">Contact me</a>
*/
.btn {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-bg);
  background: var(--color-text);
  padding: 0.6rem 1.5rem;
  border-radius: 2rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  opacity: 0.88;
}


/* ─── NAV ────────────────────────────────────────────────── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 5vw;
  border-bottom: 0.5px solid rgba(245,245,240,0.1);
  background: #0a0a0a;
}

.nav-logo {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: #f5f5f0;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.nav-link {
  font-size: 0.875rem;
  color: rgba(245,245,240,0.55);
  text-decoration: none;
}


/* ─── LAYOUT ─────────────────────────────────────────────── */

/* Container — wraps all page content */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-gutter);
}

/* Content width helpers */
.content-narrow { max-width: var(--width-narrow); }
.content-medium { max-width: var(--width-medium); }
.content-wide   { max-width: var(--width-wide); }

/* Hero */
.hero {
  padding: calc(var(--space-section-mobile) * 2) var(--container-gutter);
}

.hero h1 {
  max-width: var(--width-medium);
  margin: 1.5rem 0 2rem;
}

.hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 500;
  color: rgba(245,245,240,0.7);
  line-height: 1.5;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

/* Gallery card titles — margin handled per-page (subgrid alignment) */

/* Sections */
.section {
  padding: var(--space-section-mobile) var(--container-gutter);
  background: var(--color-bg-cream);
}

.section-cream {
  padding: var(--space-section-mobile) var(--container-gutter);
  background: var(--color-bg-cream);
}

.section-cta {
  padding: var(--space-section-mobile) var(--container-gutter);
  text-align: center;
  background: var(--color-bg-cream);
}

.section-cta h2 {
  max-width: 560px;
  margin: 0 auto 2.5rem;
  color: var(--color-text-dark);
}

.section h1,
.section h2,
.section h3,
.section h4,
.section-cream h1,
.section-cream h2,
.section-cream h3,
.section-cream h4 { color: var(--color-text-dark); }
.section p,
.section-cream p   { color: var(--color-text-dark-muted); }
.section .label,
.section-cream .label { color: #9a9088; }
.section hr,
.section-cream hr  { border-color: rgba(0,0,0,0.1); }
.section .card { border-top-color: rgba(0,0,0,0.1); }
.section .overline { color: #0a0a0a; }
.section .overline::before { background: #0a0a0a; }
.section .list-group { border-top-color: rgba(0,0,0,0.1); }
.section .list-group-label { color: rgba(0,0,0,0.35); border-bottom-color: rgba(0,0,0,0.08); }
.section .list-group-item { border-bottom-color: rgba(0,0,0,0.08); }
.section .list-group-item-text { color: rgba(0,0,0,0.65); }
.section .list-group-arrow { color: rgba(0,0,0,0.3); }
.section .list-group-item:hover .list-group-item-text { color: #0a0a0a; }
.section .list-group-item:hover .list-group-arrow { color: rgba(0,0,0,0.8); }
.section .tag { color: rgba(0,0,0,0.6); border-color: rgba(0,0,0,0.2); }
.section .tag:hover { color: #0a0a0a; border-color: rgba(0,0,0,0.5); }

/* ─── RESPONSIVE SPACING ─────────────────────────────────── */

/* Tablet — 768px+ */
@media (min-width: 768px) {
  .section,
  .section-cream,
  .section-cta {
    padding-top: var(--space-section-tablet);
    padding-bottom: var(--space-section-tablet);
  }
  .hero {
    padding-top: calc(var(--space-section-tablet) * 1.5);
    padding-bottom: calc(var(--space-section-tablet) * 1.5);
  }
}

/* Desktop — 1024px+ */
@media (min-width: 1024px) {
  .section,
  .section-cream,
  .section-cta {
    padding-top: var(--space-section-desktop);
    padding-bottom: var(--space-section-desktop);
  }
  .hero {
    padding-top: calc(var(--space-section-desktop) * 1.75);
    padding-bottom: calc(var(--space-section-desktop) * 1.5);
  }
}

/* Large — 1440px+ */
@media (min-width: 1440px) {
  .section,
  .section-cream,
  .section-cta {
    padding-top: var(--space-section-large);
    padding-bottom: var(--space-section-large);
  }
  .hero {
    padding-top: calc(var(--space-section-large) * 2);
    padding-bottom: calc(var(--space-section-large) * 1.5);
  }
}


/* ─── GRID & CARDS ───────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.card {
  border-top: 0.5px solid var(--color-border);
  padding-top: 1.75rem;
}

.card h3 {
  margin: 0.75rem 0 1rem;
}


/* ─── LIST GROUP ─────────────────────────────────────────── */
/*
  Usage:
  <div class="list-group">
    <p class="list-group-label">In this story</p>
    <a class="list-group-item" href="#">
      <span class="list-group-item-text">Item text</span>
      <span class="list-group-arrow">↓</span>
    </a>
  </div>
*/
.list-group {
  border-top: 0.5px solid rgba(245,245,240,0.15);
}

.list-group-label {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,245,240,0.35);
  padding: 1.25rem 0 1rem;
  border-bottom: 0.5px solid rgba(245,245,240,0.1);
}

.list-group-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 0.5px solid rgba(245,245,240,0.1);
  cursor: pointer;
  gap: 2rem;
  text-decoration: none;
}

.list-group-item-text {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 400;
  color: rgba(245,245,240,0.65);
  line-height: 1.4;
  transition: opacity 0.2s;
}

.list-group-arrow {
  font-size: 1rem;
  color: rgba(245,245,240,0.3);
  flex-shrink: 0;
  margin-top: 0.1rem;
  transition: transform 0.2s, color 0.2s;
}

.list-group-item:hover .list-group-item-text {
  opacity: 1;
  color: var(--color-text);
}

.list-group-item:hover .list-group-arrow {
  color: rgba(245,245,240,0.8);
  transform: translateY(3px);
}


/* ─── SECTION SPACING SYSTEM ─────────────────────────────── */
/*
  Two-level spacing:
  .section-block  — top-level divs within a section · 6rem gap between
  .section-child  — items within a block · 3rem gap between

  Usage:
  <section class="section">
    <div class="container">
      <div class="section-block">...</div>   ← 6rem gap above
      <div class="section-block">...</div>   ← 6rem gap above
    </div>
  </section>

  Inside a block:
  <div class="section-block">
    <div class="section-child">...</div>     ← 3rem gap above
    <div class="section-child">...</div>     ← 3rem gap above
  </div>
*/
.section-block + .section-block {
  margin-top: 4rem;
}

.section-child + .section-child {
  margin-top: 3rem;
}

/* ─── ADD NEW COMPONENTS BELOW THIS LINE ─────────────────── */
/* ─── SNAPSHOT VERTICAL — vertical list in hero left column ─ */
.snapshot-vertical {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
  border-top: 0.5px solid rgba(10,10,10,0.15);
}

.snapshot-vertical__item {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.75rem 0;
  border-bottom: 0.5px solid rgba(10,10,10,0.1);
}

.snapshot-vertical__label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.4);
  flex: 0 0 100px;
}

.snapshot-vertical__value {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(10,10,10,0.8);
  line-height: 1.45;
}

/* ─── SNAPSHOT INLINE — card inside hero after engagement ─── */
/*
  Usage:
  <div class="snapshot-inline">
    <div class="snapshot-inline__item">
      <p class="snapshot-inline__label">Domain</p>
      <p class="snapshot-inline__value">Healthcare / SaaS</p>
    </div>
  </div>
*/
.snapshot-inline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 2.5rem;
  border-radius: 10px;
  overflow: hidden;
  border: 0.5px solid rgba(10,10,10,0.15);
}

.snapshot-inline__item {
  padding: 1rem 1.25rem;
  border-right: 0.5px solid rgba(10,10,10,0.12);
  background: rgba(255,255,255,0.2);
}

.snapshot-inline__item:last-child {
  border-right: none;
}

.snapshot-inline__label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.45);
  margin-bottom: 0.4rem;
}

.snapshot-inline__value {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(10,10,10,0.8);
  line-height: 1.45;
}

@media (max-width: 768px) {
  .snapshot-inline {
    grid-template-columns: 1fr;
  }
  .snapshot-inline__item {
    border-right: none;
    border-bottom: 0.5px solid rgba(10,10,10,0.12);
  }
  .snapshot-inline__item:last-child {
    border-bottom: none;
  }
}

/* ─── FLOATING SNAPSHOT ──────────────────────────────────── */
/*
  A card that floats over the boundary between hero and section,
  covering half the hero bottom and half the section top.

  Usage:
  <section class="hero-inner ...">...</section>
  <div class="snapshot-float">
    <div class="container">
      <div class="info-grid">...</div>
    </div>
  </div>
  <section class="section" style="padding-top: 0;">...</section>

  Note: add padding-top: 0 to the section below so it doesn't
  double-space with the floating card.
*/
.snapshot-float {
  position: relative;
  z-index: 10;
  margin-top: -4rem;
  margin-bottom: -4rem;
  pointer-events: none;
}

.snapshot-float .container {
  pointer-events: auto;
}

.snapshot-float .info-grid {
  background: var(--color-bg-cream);
  border-radius: 16px;
  padding: 1.25rem 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.05);
  margin-top: 0;
}

.snapshot-float .info-grid__icon {
  border-color: rgba(10,10,10,0.1);
  color: #1a1a1a;
}

.snapshot-float .info-grid__title {
  color: #1a1a1a;
}

.snapshot-float .info-grid__body {
  color: #5a5550;
}

/* ─── INFO GRID ──────────────────────────────────────────── */
/*
  Four-column grid with icon, title, body text.
  Collapses to 2-col on tablet, 1-col on mobile.

  Usage:
  <div class="info-grid">
    <div class="info-grid__item">
      <div class="info-grid__icon"><svg>...</svg></div>
      <h4 class="info-grid__title">Title</h4>
      <p class="info-grid__body">Body text.</p>
    </div>
  </div>
*/
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}

.info-grid__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0.5px solid rgba(10,10,10,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #1a1a1a;
}

.info-grid__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.info-grid__body {
  font-family: var(--font-sans);
  font-size: var(--text-body-small);
  font-weight: 400;
  color: var(--color-text-dark-muted);
  line-height: 1.65;
}

@media (min-width: 600px) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .info-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

/* ─── HERO INNER GRADIENTS ───────────────────────────────── */
/*
  Aerial color ambiance — same palette as homepage:
  Orange-coral center · peach-yellow mid · cool blue-grey edges

  Usage: add a modifier class to .hero-inner
  <section class="hero-inner hero-inner--case-study">
  <section class="hero-inner hero-inner--strategy">
  <section class="hero-inner hero-inner--about">

  Homepage palette extracted:
  --grad-orange:   rgb(234, 107, 60)   · warm orange-coral center
  --grad-peach:    rgb(240, 160, 100)  · soft peach mid
  --grad-yellow:   rgb(240, 200, 90)   · warm yellow accent
  --grad-blue:     rgb(160, 180, 210)  · cool blue-grey edge
  --grad-rose:     rgb(210, 130, 130)  · dusty rose mid-right
*/

/* Case study — orange coral dominant, warm throughout */
.hero-inner--case-study {
  background:
    radial-gradient(ellipse at 55% 50%, rgba(234, 107, 60, 1) 0%, rgba(234, 107, 60, 0.6) 30%, transparent 65%),
    radial-gradient(ellipse at 20% 40%, rgba(240, 200, 90, 0.9) 0%, transparent 55%),
    radial-gradient(ellipse at 82% 60%, rgba(210, 130, 130, 0.85) 0%, transparent 50%),
    radial-gradient(ellipse at 40% 80%, rgba(240, 160, 100, 0.8) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 20%, rgba(240, 160, 100, 0.75) 0%, transparent 45%),
    rgb(220, 140, 90);
}

/* Strategy — peach and yellow dominant, golden warm feel */
.hero-inner--strategy {
  background:
    radial-gradient(ellipse at 45% 55%, rgba(240, 160, 100, 1) 0%, rgba(240, 160, 100, 0.7) 30%, transparent 65%),
    radial-gradient(ellipse at 70% 30%, rgba(234, 107, 60, 0.9) 0%, transparent 55%),
    radial-gradient(ellipse at 18% 60%, rgba(240, 200, 90, 0.85) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 72%, rgba(210, 130, 130, 0.8) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 15%, rgba(240, 180, 80, 0.75) 0%, transparent 45%),
    rgb(230, 170, 100);
}

/* About — dusty rose and peach, softer warm blend */
.hero-inner--about {
  background:
    radial-gradient(ellipse at 50% 45%, rgba(210, 130, 130, 1) 0%, rgba(210, 130, 130, 0.7) 30%, transparent 65%),
    radial-gradient(ellipse at 18% 55%, rgba(240, 160, 100, 0.9) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 38%, rgba(234, 107, 60, 0.8) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 78%, rgba(240, 200, 90, 0.75) 0%, transparent 45%),
    radial-gradient(ellipse at 28% 18%, rgba(240, 160, 100, 0.8) 0%, transparent 45%),
    rgb(225, 150, 120);
}

/* ─── TAGS ───────────────────────────────────────────────── */
/*
  Usage:
  <div class="tag-group">
    <span class="tag">Strategy</span>
    <span class="tag">Visioning</span>
    <span class="tag">Delivery</span>
  </div>
*/
.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245,245,240,0.6);
  border: 0.5px solid rgba(245,245,240,0.25);
  border-radius: 2rem;
  padding: 0.3rem 0.85rem;
  display: inline-block;
}

.tag:hover {
  color: #f5f5f0;
  border-color: rgba(245,245,240,0.5);
}

/* Tags on cream background */
.tag--dark {
  color: rgba(10,10,10,0.6);
  border-color: rgba(10,10,10,0.2);
}

.tag--dark:hover {
  color: #0a0a0a;
  border-color: rgba(10,10,10,0.5);
}

/* ─── HERO INNER — inner page hero (all pages except home) ── */
/*
  Usage:
  <section class="hero-inner">
    <div class="container">
      <div class="hero-inner__layout">
        <div class="hero-inner__title">
          <p class="overline">Page category</p>
          <h1>Page title goes here.</h1>
          <h2 class="secondary">Supporting subtitle that gives context.</h2>
        </div>
        <div class="hero-inner__role">
          <p class="label">Role</p>
          <p>Short descriptor sentence about this page or project.</p>
        </div>
      </div>
    </div>
  </section>
*/
.hero-inner {
  padding: 5rem var(--container-gutter) 2rem;
  border-bottom: 0.5px solid var(--color-border);
  min-height: 45vh;
  display: flex;
  align-items: flex-start;
}

.hero-inner__layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-inner__title {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-inner .overline {
  color: rgba(10,10,10,0.6);
}

.hero-inner .overline::before {
  background: rgba(10,10,10,0.6);
}

.hero-inner__title h1 {
  max-width: var(--width-medium);
  font-size: var(--text-h1-inner);
  color: #0a0a0a;
}

.hero-inner__title h2.secondary {
  color: rgba(10,10,10,0.75);
}

.hero-inner__title h2.secondary {
  max-width: 620px;
  font-size: var(--text-h2-inner);
}

.hero-inner__role {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 320px;
}

.hero-inner__role .label {
  color: rgba(10,10,10,0.5);
}

.hero-inner__role p {
  color: rgba(10,10,10,0.85);
  font-weight: 500;
}

.hero-inner__role .tag {
  color: rgba(10,10,10,0.7);
  border-color: rgba(10,10,10,0.3);
  background: rgba(255,255,255,0.25);
}

.hero-inner__role .tag:hover {
  color: #0a0a0a;
  border-color: rgba(10,10,10,0.6);
  background: rgba(255,255,255,0.4);
}

.hero-inner__role .label {
  margin-bottom: 0;
}

/* Tablet — 768px+ */
@media (min-width: 768px) {
  .hero-inner {
    padding-top: 5rem;
    padding-bottom: 2rem;
  }
}

/* Desktop — two column layout */
@media (min-width: 1024px) {
  .hero-inner {
    padding-top: 5rem;
    padding-bottom: 2rem;
  }

  .hero-inner__layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }

  .hero-inner__title {
    flex: 1;
    padding-right: 4rem;
    border-right: 0.5px solid var(--color-border);
  }

  .hero-inner__role {
    flex: 0 0 280px;
    padding-left: 4rem;
    align-self: center;
    max-width: none;
  }
}

/* Large — 1440px+ */
@media (min-width: 1440px) {
  .hero-inner {
    padding-top: 5rem;
    padding-bottom: 2rem;
  }

  .hero-inner__role {
    flex: 0 0 340px;
    padding-left: 5rem;
  }

  .hero-inner__title {
    padding-right: 5rem;
  }
}


/* ─── CONTENT WIDTH — desktop cap ─────────────────────────── */
/* Cap section content width to 70% of the browser width on desktop */
@media (min-width: 1024px) {
  .container {
    max-width: 70vw;
  }
  /* .hero-inner is a flex container, so its .container is a flex item that
     otherwise shrinks to content — force it to fill up to the 70vw cap. */
  .hero-inner > .container {
    width: 100%;
  }
}


/* ─── MEDIA CAPTION ───────────────────────────────────────── */
/*
  Caption under gallery images and slider slides.
  Usage: <p class="caption">Caption text</p>
         <p class="caption gallery-caption">Centered gallery caption</p>
*/
.section .caption,
.caption {
  color: rgba(245,245,240,0.82);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  padding: 16px 2px 8px;
  margin: 0;
}

/* Gallery captions: capped to 70% of image width on desktop */
@media (min-width: 1024px) {
  .gallery-caption {
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
}

/* Captions inside a light .section read dark */
#core-workflows-section .caption {
  color: var(--color-text-dark-muted);
}


/* ─── SLIDER — horizontal scroll strip ────────────────────── */
/*
  A horizontally-scrolling strip of media slides on a black rail.
  Usage:
  <div class="scroll-strip">
    <div><img ... /><p class="caption">...</p></div>
    ...
  </div>
*/
.scroll-strip::-webkit-scrollbar { display: none; }

/* Black strip, 32px gaps, 8px top/bottom padding */
.scroll-strip {
  gap: 32px !important;
  background: #000000 !important;
  padding: 8px 8px !important;
}

/* Each slide hugs its image; black, no white card/border */
.scroll-strip > div {
  flex: 0 0 auto !important;
  background: #000000 !important;
  border: none !important;
  border-radius: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible !important;
}

/* Fixed height for every slider image; width auto keeps original ratio */
.scroll-strip img {
  height: 520px !important;
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain;
  display: block;
}

/* Placeholder slides (no image yet) — fixed black boxes */
#core-workflows-section .scroll-strip > div {
  height: 520px !important;
  min-height: 520px !important;
  width: 680px !important;
}

#core-workflows-section .scroll-strip p {
  color: rgba(245,245,240,0.4) !important;
}

/* Slides that stack image + caption vertically */
#core-vision-section .scroll-strip > div,
#delivery-section .scroll-strip > div {
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
}

#core-vision-section .scroll-strip .caption,
#delivery-section .scroll-strip .caption {
  text-align: left;
}


/* ============================================================
   SITE EXTRAS — additions on top of the design system
   ============================================================ */

.nav-link:hover { color: #f5f5f0; }

/* About intro — 60% measure on desktop */
@media (min-width: 1024px) {
  .about-measure { max-width: 60%; }
}

/* One-col block — match a 2-col column width (tablet+) */
@media (min-width: 768px) {
  .one-col-measure { max-width: 46%; margin-left: auto; margin-right: auto; }
}

/* Two-col — media above content on mobile */
@media (max-width: 767px) {
  .two-col { display: flex !important; flex-direction: column; }
  .two-col .col-media { order: -1; }
}

/* Overline marker — orange dot instead of bar (index services section only) */
#partner-section .overline {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  gap: 0.5rem;
  height: auto;
  margin-bottom: 0.5rem;
  color: rgba(10,10,10,0.5);
}
#partner-section .overline::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ea6b3c;
  align-self: center;
}

/* About Me overlines — orange dot instead of bar */
#about-me-section .overline {
  height: auto;
  margin-bottom: 1rem;
}
#about-me-section .overline::before {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ea6b3c;
  align-self: center;
}
