/* ==========================================================================
   SETON — Design System
   Apple-clean × Diocesan-warm
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500&display=swap');

:root {
  /* Base palette */
  --bg: #fafafa;
  --bg-alt: #f5f5f7;
  --white: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --ink-3: #6e6e73;
  --ink-4: #a1a1a6;
  --rule: #d2d2d7;
  --rule-soft: #e8e8ed;

  /* SETON brand */
  --navy: #233a59;
  --teal: #6cc3dd;

  /* Service accents */
  --digital: #0d7377;
  --finance: #2d5a3d;
  --academy: #6b2c5c;
  --technology: #b8532a;
  --ai: #2c2c3e;
  --data: #a67c1f;

  /* Typography */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Fraunces', Georgia, serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   Reset + Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--rule-soft);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* SETON wordmark = shield mark + SETON text, composed */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  line-height: 0;
  color: var(--navy);
}
.wordmark .mark {
  height: 34px;
  width: auto;
  display: block;
}
.wordmark .type {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 27px;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--navy);
  /* slight optical alignment so SETON sits on the same baseline as the shield */
  padding-top: 2px;
}
@media (max-width: 720px) {
  .wordmark .mark { height: 28px; }
  .wordmark .type { font-size: 22px; gap: 8px; }
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
}

.nav-links a {
  color: var(--ink-2);
  transition: color 0.2s var(--ease);
  letter-spacing: -0.005em;
}

.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }

.nav-links .seton-prefix { font-weight: 700; letter-spacing: -0.025em; }
.nav-links .tag-digital    { color: var(--digital); font-weight: 500; }
.nav-links .tag-finance    { color: var(--finance); font-weight: 500; }
.nav-links .tag-academy    { color: var(--academy); font-weight: 500; }
.nav-links .tag-technology { color: var(--technology); font-weight: 500; }
.nav-links .tag-ai         { color: var(--ai);       font-weight: 500; }
.nav-links .tag-data       { color: var(--data);     font-weight: 500; }

.nav-mobile-toggle { display: none; }

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 52px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08);
  }
  .nav-links a {
    padding: 12px 24px;
    width: 100%;
    font-size: 15px;
    border-bottom: 1px solid var(--rule-soft);
  }
  .nav-links a:last-child { border-bottom: none; }
  body.mobile-open .nav-links { display: flex; }
  .nav-mobile-toggle {
    display: block;
    font-size: 13px;
    color: var(--ink-2);
    font-weight: 500;
  }
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }

@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .section-sm { padding: 56px 0; }
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}

/* ==========================================================================
   Typography scale — Apple-grade
   ========================================================================== */

.h-display {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.h1 {
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.h4 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.4;
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.body-lg { font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.body    { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.body-sm { font-size: 15px; line-height: 1.5; color: var(--ink-3); }
.micro   { font-size: 13px; line-height: 1.4; color: var(--ink-3); letter-spacing: 0.005em; }

.text-center { text-align: center; }
.text-muted { color: var(--ink-3); }

/* SETON wordmark treatment for headings */
.setmark {
  font-weight: 700;
  letter-spacing: -0.03em;
}
.setmark span { font-weight: 400; letter-spacing: -0.015em; }
.setmark.lg-digital    span { color: var(--digital); }
.setmark.lg-finance    span { color: var(--finance); }
.setmark.lg-academy    span { color: var(--academy); }
.setmark.lg-technology span { color: var(--technology); }
.setmark.lg-ai         span { color: var(--ai); }
.setmark.lg-data       span { color: var(--data); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { background: #000; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-link {
  padding: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}
.btn-link::after {
  content: '→';
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.25s var(--ease);
}
.btn-link:hover::after { transform: translateX(4px); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Atmospheric radial wash — subtle depth */
.hero::after {
  content: '';
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(35, 58, 89, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 20%, rgba(108, 195, 221, 0.08) 0%, transparent 50%);
  z-index: -2;
  pointer-events: none;
}

/* Shield watermark behind text */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(820px, 92vw);
  height: min(820px, 92vw);
  transform: translate(-50%, -50%);
  background-image: url('/assets/logo-shield.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.12;
  z-index: -1;
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid var(--rule);
  border-radius: 980px;
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto 24px;
}

.hero .lead {
  max-width: 680px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .hero { padding: 80px 0 72px; }
}

/* ==========================================================================
   Service grid — homepage
   ========================================================================== */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.service-grid.two-col { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 960px) {
  .service-grid,
  .service-grid.two-col { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .service-grid,
  .service-grid.two-col { grid-template-columns: 1fr; }
}

.service-tile {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 36px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  border: 1px solid var(--rule-soft);
}

.service-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.12);
}

.service-tile .tile-mark {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.service-tile .tile-mark span { font-weight: 400; letter-spacing: -0.015em; }

.service-tile .tile-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 0.85;
}

.service-tile .tile-desc {
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink-2);
  margin-bottom: 28px;
}

.service-tile .tile-link {
  font-size: 15px;
  font-weight: 500;
  align-self: flex-start;
}
.service-tile .tile-link::after {
  content: '→';
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.25s var(--ease);
}
.service-tile:hover .tile-link::after { transform: translateX(4px); }

/* Service accent application */
.service-tile[data-accent="digital"]    { --accent: var(--digital); }
.service-tile[data-accent="finance"]    { --accent: var(--finance); }
.service-tile[data-accent="academy"]    { --accent: var(--academy); }
.service-tile[data-accent="technology"] { --accent: var(--technology); }
.service-tile[data-accent="ai"]         { --accent: var(--ai); }
.service-tile[data-accent="data"]       { --accent: var(--data); }

.service-tile .tile-mark span,
.service-tile .tile-tag,
.service-tile .tile-link { color: var(--accent); }

.service-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
  opacity: 0.9;
}

/* ==========================================================================
   Bands / sections
   ========================================================================== */

.band {
  background: var(--white);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}

.band-dark {
  background: var(--ink);
  color: var(--bg);
}
.band-dark .lead { color: rgba(255, 255, 255, 0.75); }
.band-dark .eyebrow { color: rgba(255, 255, 255, 0.55); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

@media (max-width: 720px) {
  .pillars { grid-template-columns: 1fr; gap: 40px; }
}

.pillar .eyebrow { color: var(--ink-2); letter-spacing: -0.01em; text-transform: none; font-size: 14px; font-weight: 600; }
.pillar h3 { margin-bottom: 10px; }
.pillar p { font-size: 16px; line-height: 1.55; color: var(--ink-3); }

/* Proof band — quote style */
.proof {
  padding: 120px 24px;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.proof blockquote {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 28px;
}

.proof cite {
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Final CTA */
.cta-band {
  text-align: center;
  padding: 140px 24px;
}
.cta-band h2 { margin-bottom: 24px; }
.cta-band p  { max-width: 600px; margin: 0 auto 40px; }

/* ==========================================================================
   Service page template
   ========================================================================== */

.svc-hero {
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.svc-hero::before {
  content: '';
  position: absolute;
  top: 0; right: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at center, var(--accent, var(--digital)) 0%, transparent 65%);
  opacity: 0.08;
  pointer-events: none;
}

.svc-hero .wrap { position: relative; }

.svc-mark {
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 32px;
}
.svc-mark span { font-weight: 400; letter-spacing: -0.025em; color: var(--accent); }

.svc-tagline {
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.25;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.02em;
  max-width: 1040px;
  margin-bottom: 40px;
}

.svc-section { padding: 80px 0; border-top: 1px solid var(--rule-soft); }
.svc-section h2 { margin-bottom: 40px; max-width: 720px; }

.svc-what {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 860px) {
  .svc-what { grid-template-columns: 1fr; gap: 24px; }
}

.svc-audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.audience-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
}
.audience-card .num {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 12px;
}

/* Process steps */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 860px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

.step {
  padding: 32px 24px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--rule-soft);
  position: relative;
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 300;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.step h4 { margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-3); line-height: 1.5; }

/* Team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.team-card {
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  transition: all 0.25s var(--ease);
}
.team-card:hover { border-color: var(--accent); }
.team-card .role-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.team-card h4 { margin-bottom: 4px; font-size: 18px; }
.team-card p { font-size: 14px; color: var(--ink-3); line-height: 1.5; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--rule-soft);
  background: var(--bg);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

.footer-brand .wordmark { margin-bottom: 16px; gap: 12px; }
.footer-brand .wordmark .mark { height: 44px; }
.footer-brand .wordmark .type { font-size: 34px; padding-top: 2px; }
.footer-brand p { font-size: 14px; color: var(--ink-3); line-height: 1.5; max-width: 320px; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 520px) { .footer-links { grid-template-columns: 1fr 1fr; } }

.footer-col h5 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  color: var(--ink);
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 8px;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 0;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-4);
}

@media (max-width: 520px) { .footer-bottom { flex-direction: column; gap: 8px; } }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   SETONsw — Skunk Works
   Industrial/dashboard feel. Monospace accents for technical metadata.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --mono: 'JetBrains Mono', 'SF Mono', Menlo, Monaco, Consolas, monospace;
  --skunk: #2c2c3e; /* deep graphite — the SETONsw accent */
}

.sw-hero {
  padding: 100px 0 40px;
  position: relative;
}

.sw-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
}
.sw-meta span { display: inline-flex; align-items: center; gap: 6px; }
.sw-meta .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--skunk);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .project-grid { grid-template-columns: 1fr; } }

.project-card {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
  position: relative;
}
.project-card:hover { border-color: var(--skunk); transform: translateY(-2px); }
.project-card.placeholder {
  background: transparent;
  border: 1px dashed var(--rule);
  color: var(--ink-4);
}
.project-card.placeholder:hover { border-color: var(--ink-4); transform: none; }

.pc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.pc-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.2;
}
.pc-title .sw-suffix { color: var(--skunk); font-weight: 400; letter-spacing: -0.005em; }

.status-badge {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 980px;
  white-space: nowrap;
  flex-shrink: 0;
}
.status-badge.active     { background: rgba(45, 90, 61, 0.1);    color: var(--finance); }
.status-badge.prototype  { background: rgba(184, 83, 42, 0.1);   color: var(--technology); }
.status-badge.exploring  { background: rgba(107, 44, 92, 0.1);   color: var(--academy); }
.status-badge.archived   { background: rgba(161, 161, 166, 0.15); color: var(--ink-3); }

.pc-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 24px;
  flex-grow: 1;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}
.tech-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  padding: 3px 8px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  letter-spacing: 0.01em;
}

.pc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--rule-soft);
  gap: 16px;
}
.pc-footer .pc-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.02em;
}
.pc-footer .pc-action {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.pc-footer .pc-action::after {
  content: '→';
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.2s var(--ease);
}
.project-card:hover .pc-action::after { transform: translateX(3px); }
