/*
 * Studio Novi — Personality Layer
 * Imports: tokens.css → system.css → this file
 * System handles: reset, base, nav, sections, buttons, footer, responsive
 */

/* ─── Nav override: SN blue on CTA ─── */
.nav-cta { background: var(--primary); }
.nav-cta:hover { background: var(--dark); }

/* ─── Section typography base ─────────────────────────────────
   System.css uses .kicker + .section-headline; SN HTML predates
   that naming, so we define the aliases here as base styles.    */
.section-kicker {
  display: block;
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-2);
}
.section-title {
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: -0.022em;
  line-height: 1.12;
  color: var(--dark);
  margin-bottom: var(--sp-2);
}
.section-title strong { font-weight: 700; }
.section-sub { font-size: 15px; }

/* ─── Global button reset — kills underlines on all btn-* links ─── */
a.btn-primary,
a.btn-secondary,
a.btn-navy,
a.btn-outline,
a.btn-primary:visited,
a.btn-secondary:visited,
a.btn-navy:visited,
a.btn-outline:visited,
a.btn-primary:hover,
a.btn-secondary:hover,
a.btn-navy:hover,
a.btn-outline:hover,
a.btn-primary:active,
a.btn-secondary:active,
a.btn-navy:active,
a.btn-outline:active {
  text-decoration: none !important;
}

/* ─── Buttons ─── */
.btn-primary,
a.btn-primary,
.hero-actions .btn-primary,
.cta-action-col .btn-primary {
  display: inline-block !important;
  background: var(--primary) !important;
  color: white !important;
  padding: 16px 34px !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--r-md);
  text-decoration: none !important;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 3px rgba(49,83,164,0.15);
  cursor: pointer;
  border: none !important;
}
.btn-primary:hover,
a.btn-primary:hover,
.hero-actions .btn-primary:hover {
  background: #283f7a !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(49,83,164,0.25);
  color: white !important;
}
.btn-secondary,
a.btn-secondary,
.hero-actions .btn-secondary,
.cta-action-col .btn-secondary {
  display: inline-block !important;
  background: transparent !important;
  color: var(--dark) !important;
  padding: 16px 34px !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--r-md);
  text-decoration: none !important;
  border: 1.5px solid var(--dark) !important;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: background 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.btn-secondary:hover,
a.btn-secondary:hover,
.hero-actions .btn-secondary:hover {
  background: var(--dark) !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* ─── Hero — transparent/light (overrides system dark default) ─── */
.hero-body { }
.hero {
  background: transparent;
  min-height: 0;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--sp-16) var(--sp-4) var(--sp-12);
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--sp-10);
  align-items: start;
}
.hero-kicker { color: var(--primary); }
.hero-headline {
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--dark);
  margin-bottom: var(--sp-3);
}
.hero-headline strong { font-weight: 700; }
.hero-sub {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: var(--sp-6);
  font-weight: 300;
}
.hero-sub em { font-style: normal; color: var(--dark); font-weight: 500; }
.hero-actions {
  margin-bottom: var(--sp-5);
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}
.hero-actions a,
.hero-actions a:link,
.hero-actions a:visited,
.hero-actions a:hover,
.hero-actions a:active {
  text-decoration: none !important;
}
.cta-action-col a,
.cta-action-col a:link,
.cta-action-col a:visited,
.cta-action-col a:hover,
.cta-action-col a:active {
  text-decoration: none !important;
}
.hero-note { font-size: 13px; color: var(--mid); font-style: italic; }

/* Hero aside — credentials */
.hero-aside { padding-top: var(--sp-1); }
.hero-aside-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--mid);
  margin-bottom: var(--sp-2); padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--border);
}
.hero-credential {
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border);
  transition: border-color var(--t-fast);
}
.hero-credential:last-child { border-bottom: none; }
.hero-credential:hover { border-color: rgba(49,83,164,0.2); }
.cred-title { font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.cred-desc { font-size: 13px; color: var(--mid); line-height: 1.55; }

/* ─── Belief Strip ─── */
.belief-strip { background: var(--dark); padding: var(--sp-8) var(--sp-4); }
.belief-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 220px 1fr;
  gap: var(--sp-10); align-items: center;
}
.belief-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.3); line-height: 1.7;
}
.belief-text {
  font-size: clamp(18px, 2vw, 22px); font-weight: 300;
  color: white; line-height: 1.65; letter-spacing: -0.01em;
}
.belief-text strong { font-weight: 600; }

/* ─── Services ─── */
.services-section { background: white; border-top: 1px solid var(--border); }
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--border); border-radius: var(--r-lg); overflow: hidden;
}
.service-card { padding: var(--sp-6) var(--sp-5); background: white; transition: background var(--t-fast); }
.service-card:hover { background: var(--light); }
.service-num {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--primary); margin-bottom: var(--sp-3); text-transform: uppercase;
}
.service-title { font-size: 19px; font-weight: 600; color: var(--dark); margin-bottom: var(--sp-2); line-height: 1.25; }
.service-desc { font-size: 14px; color: var(--mid); line-height: 1.65; margin-bottom: var(--sp-3); }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-tag {
  font-size: 12px; font-weight: 500; color: var(--mid);
  background: var(--light); border: 1px solid var(--border);
  padding: 4px 10px; border-radius: var(--r-pill);
  transition: border-color var(--t-fast), color var(--t-fast);
}
.service-tag:hover { border-color: var(--primary); color: var(--primary); }

/* ─── Network ─── */
.network-section { background: var(--light); border-top: 1px solid var(--border); }
.network-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--sp-10); align-items: end; margin-bottom: var(--sp-8);
}
.network-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.network-card {
  padding: var(--sp-4) var(--sp-4); border-radius: var(--r-lg);
  background: white; border: 1px solid var(--border);
  transition: box-shadow var(--t-std), border-color var(--t-std), transform var(--t-std);
}
.network-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(49,83,164,0.15);
  transform: translateY(-2px);
}
.network-name { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.network-role {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--primary); margin-bottom: var(--sp-2);
}
.network-desc { font-size: 14px; color: var(--mid); line-height: 1.65; margin-bottom: var(--sp-2); }
.network-brings { font-size: 13px; font-weight: 500; color: var(--dark); }
.network-brings span { color: var(--clay); }

/* ─── Who We Work With ─── */
.who-section { background: white; border-top: 1px solid var(--border); }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.who-card {
  padding: var(--sp-4) var(--sp-3); border-radius: var(--r-lg);
  border: 1px solid var(--border); background: var(--light);
  transition: border-color var(--t-std), box-shadow var(--t-std);
}
.who-card:hover { border-color: rgba(49,83,164,0.2); box-shadow: var(--shadow-sm); }
.who-title { font-size: 15px; font-weight: 600; color: var(--dark); margin-bottom: var(--sp-1); }
.who-desc { font-size: 14px; color: var(--mid); line-height: 1.6; }
.who-not {
  margin-top: var(--sp-6); padding: var(--sp-4) var(--sp-4);
  border-radius: var(--r-lg); background: var(--light); border: 1px solid var(--border);
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-3); align-items: center;
}
.who-not-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--mid); white-space: nowrap;
}
.who-not-text { font-size: 14px; color: var(--mid); line-height: 1.6; }

/* ─── Process (on primary) ─── */
.process-section { background: var(--primary); }
.process-section .section-kicker { color: rgba(255,255,255,0.65); }
.process-section .section-title { color: white; }
.process-section .section-sub { color: rgba(255,255,255,0.75); }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,0.1); border-radius: var(--r-lg); overflow: hidden;
}
.step { padding: var(--sp-4) var(--sp-4); background: rgba(255,255,255,0.06); }
.step:hover { background: rgba(255,255,255,0.1); }
.step-num {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: var(--sp-2);
}
.step-title { font-size: 16px; font-weight: 600; color: white; margin-bottom: var(--sp-1); line-height: 1.3; }
.step-desc { font-size: 14px; color: rgba(255,255,255,0.78); line-height: 1.6; }

/* ─── CTA — side-by-side layout on desktop ─── */
.cta-section { padding: var(--sp-12) var(--sp-4); }
.cta-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto;
  gap: var(--sp-8); align-items: center;
}
.cta-content { }
.cta-copy {
  font-size: 15px; color: var(--mid); line-height: 1.75;
  margin-bottom: var(--sp-3); max-width: 560px;
}
.cta-copy em { font-style: normal; color: var(--dark); font-weight: 500; }
.cta-aside { font-size: 13px; color: var(--mid); }
.cta-action-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  align-items: stretch;
  min-width: 220px;
}
.cta-action-col a {
  text-align: center;
  text-decoration: none;
}
.cta-actions { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-3); }
.btn-navy,
a.btn-navy,
.cta-action-col .btn-navy {
  display: inline-block !important;
  background: var(--primary) !important;
  color: white !important;
  padding: 16px 34px !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--r-md);
  text-decoration: none !important;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 3px rgba(49,83,164,0.15);
  cursor: pointer;
  border: none !important;
}
.btn-navy:hover,
a.btn-navy:hover {
  background: #283f7a !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(49,83,164,0.25);
  color: white !important;
}
.btn-outline,
a.btn-outline,
.cta-action-col .btn-outline {
  display: inline-block !important;
  background: transparent !important;
  color: var(--dark) !important;
  padding: 16px 34px !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--r-md);
  text-decoration: none !important;
  border: 1.5px solid var(--dark) !important;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: background 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.btn-outline:hover,
a.btn-outline:hover {
  background: var(--dark) !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.cta-email {
  font-size: 13px; color: var(--mid); text-align: center;
  margin-top: var(--sp-1);
}

/* ─── Footer Portfolio Link ─── */
.footer-portfolio a { color: rgba(255,255,255,0.35); font-size: 13px; text-decoration: none; transition: color var(--t-fast); }
.footer-portfolio a:hover { color: rgba(255,255,255,0.7); }

/* ─── About Page ─── */

/* Photo breaks — full-bleed and constrained */
.photo-break {
  width: 100%; overflow: hidden;
}
.photo-break img {
  width: 100%; height: auto; display: block;
  object-fit: cover;
}
.photo-break-full {
  max-width: 100%; padding: 0;
}
.photo-break-full img { max-height: 480px; }
.photo-break-contained {
  max-width: var(--max); margin: 0 auto;
  padding: var(--sp-8) var(--sp-4);
}
.photo-grid {
  display: grid; gap: var(--sp-2);
  max-width: var(--max); margin: 0 auto;
  padding: var(--sp-6) var(--sp-4);
}
.photo-grid-2 { grid-template-columns: 1fr 1fr; }
.photo-grid-3 { grid-template-columns: 2fr 1fr; }
.photo-grid img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--r-md);
}
.photo-caption {
  font-size: 12px; color: var(--mid); font-style: italic;
  text-align: right; padding: var(--sp-1) var(--sp-4) 0;
  max-width: var(--max); margin: 0 auto;
}

/* Story narrative */
.story-section { background: var(--light); }
.story-section .section-kicker { color: var(--primary); }
.story-section .section-title { color: var(--dark); }
.story-section .section-sub { color: var(--mid); max-width: 680px; }
.story-body { margin-top: var(--sp-6); max-width: 720px; }
.story-text {
  font-size: 16px; color: var(--dark); line-height: 1.82;
  margin-bottom: var(--sp-4);
}
.story-text strong { font-weight: 600; color: var(--dark); }
.story-pull {
  padding: var(--sp-5) var(--sp-6);
  border-left: 3px solid var(--primary); margin: var(--sp-8) 0;
  background: white; border-radius: 0 var(--r-md) var(--r-md) 0;
}
.story-pull-text {
  font-size: clamp(17px, 1.8vw, 21px); font-weight: 300; color: var(--dark);
  line-height: 1.55; letter-spacing: -0.01em; font-style: italic;
}
.story-sublabel {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--primary);
  margin: var(--sp-10) 0 var(--sp-3);
  padding-top: var(--sp-4); border-top: 1px solid var(--border);
}

.values-section { background: white; border-top: 1px solid var(--border); }
.values-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--border); border-radius: var(--r-lg); overflow: hidden;
  margin-top: var(--sp-3);
}
.value-card { padding: var(--sp-6) var(--sp-5); background: var(--light); transition: background var(--t-fast); }
.value-card:hover { background: white; }
.value-num { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--primary); margin-bottom: var(--sp-2); text-transform: uppercase; }
.value-title { font-size: 18px; font-weight: 600; color: var(--dark); margin-bottom: var(--sp-1); line-height: 1.3; }
.value-desc { font-size: 14px; color: var(--mid); line-height: 1.65; }

.team-section { background: var(--light); border-top: 1px solid var(--border); }
.founder-card {
  max-width: 720px; padding: var(--sp-8);
  background: white; border-radius: var(--r-lg);
  border: 1px solid var(--border); margin-top: var(--sp-6);
  box-shadow: var(--shadow-sm);
}
.founder-name {
  font-size: clamp(22px, 2.5vw, 28px); font-weight: 300;
  letter-spacing: -0.02em; color: var(--dark); margin-bottom: 4px; line-height: 1.15;
}
.founder-name strong { font-weight: 700; }
.founder-role {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3); border-bottom: 1px solid var(--border);
}
.founder-bio { font-size: 15px; color: var(--mid); line-height: 1.75; margin-bottom: var(--sp-3); }
.founder-bio strong { font-weight: 600; color: var(--dark); }
.founder-sig { margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--border); }
.founder-sig-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic; font-size: clamp(22px, 2vw, 28px);
  font-weight: 400; color: var(--primary); letter-spacing: 0.01em; line-height: 1.2;
}
.founder-sig-title { font-size: 12px; color: var(--mid); margin-top: 6px; font-weight: 500; letter-spacing: 0.02em; }
.network-note {
  margin-top: var(--sp-5); max-width: 680px; padding: var(--sp-4);
  border-radius: var(--r-md); background: white; border: 1px solid var(--border);
}
.network-note-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); margin-bottom: var(--sp-2); }
.network-note-text { font-size: 14px; color: var(--mid); line-height: 1.7; }

/* ─── Responsive ─── */
@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; }
  .hero-aside { display: none; }
  .belief-inner { grid-template-columns: 1fr; gap: var(--sp-3); }
  .network-intro { grid-template-columns: 1fr; gap: var(--sp-2); }
  .network-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 1px; }
  .cta-inner { grid-template-columns: 1fr; gap: var(--sp-4); }
  .cta-action-col { flex-direction: row; }
}
@media (max-width: 640px) {
  .hero { padding: var(--sp-8) var(--sp-3) var(--sp-8); }
  .services-grid, .who-grid, .network-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .who-not { grid-template-columns: 1fr; gap: var(--sp-1); }
  .values-grid { grid-template-columns: 1fr; }
  .founder-card { padding: var(--sp-4) var(--sp-3); }
  .story-pull { padding: var(--sp-3) var(--sp-4); }
  .cta-action-col { flex-direction: column; min-width: 0; }
}
