/* 1clouddigital — shared stylesheet */
/* BRAND: 1clouddigital | DOMAIN: 1clouddigital.com */

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

@font-face {
  font-family: 'Instrument Sans';
  src: url('1clouddigital-brand/fonts/InstrumentSans[wdth,wght].ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── TOKENS ── */
:root {
  /* Brand palette */
  --navy:        #12223F;   /* Deep Navy — primary dark */
  --horizon:     #2F6DB0;   /* Horizon Blue — cloud mark, links */
  --sky:         #8DBFE8;   /* Sky — highlights, mark on dark */
  --cloud:       #F5F3EE;   /* Cloud White — bg, reversed text */
  --first-light: #E58E4E;   /* First Light — CTAs, buttons only */

  /* Page backgrounds */
  --bg:          #F5F3EE;
  --bg-2:        #EAE7E2;

  /* Sky palette (tokens kept for hero/dark sections) */
  --sky-deep:    #12223F;
  --sky-mid:     #4A89C8;
  --sky-pale:    #8DBFE8;
  --cloud-lt:    #F5F3EE;
  --cloud-pink:  #D9C8B8;
  --bg-navy:     #12223F;

  /* Text */
  --text:        #16213A;
  --text-muted:  #5A6478;
  --text-dim:    #8A93A8;

  /* Accent */
  --accent:      #2F6DB0;
  --accent-mid:  #2F6DB0;
  --accent-lt:   #C8DFF5;

  /* Structure */
  --border:      #E2DED6;
  --max:         1160px;
  --nav-h:       68px;
  --serif:       'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:        'Instrument Sans', system-ui, -apple-system, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:         #0E1520;
    --bg-2:       #162030;
    --text:       #EAE6DE;
    --text-muted: #8FA4BE;
    --text-dim:   #5A748A;
    --accent-lt:  #1A2E48;
    --border:     #233048;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg:         #0E1520;
  --bg-2:       #162030;
  --text:       #EAE6DE;
  --text-muted: #8FA4BE;
  --text-dim:   #5A748A;
  --accent-lt:  #1A2E48;
  --border:     #233048;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px;
  width: auto; height: auto; padding: 12px 20px;
  background: var(--navy); color: #fff;
  font-size: 14px; font-weight: 600; z-index: 9999;
}

/* ── NAV (default: frosted cream for inner pages) ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(248,245,242,0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: background 0.2s, border-color 0.2s;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nav { background: rgba(16,18,28,0.92); }
}
:root[data-theme="dark"] .nav { background: rgba(16,18,28,0.92); }

/* Sky nav — homepage, floats over the cloud hero */
.nav.sky-nav {
  background: rgba(20,40,100,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
/* sky-nav logo swap handled above */
.nav.sky-nav .nav-links a { color: rgba(255,255,255,0.72); }
.nav.sky-nav .nav-links a:hover,
.nav.sky-nav .nav-links a.active { color: #fff; }
.nav.sky-nav .nav-cta {
  background: rgba(255,255,255,0.14);
  color: #fff; border: 1px solid rgba(255,255,255,0.28);
}
.nav.sky-nav .nav-cta:hover { background: rgba(255,255,255,0.24); }
/* Dark mode must not override the transparent sky-nav */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nav.sky-nav {
    background: rgba(20,40,100,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
}
:root[data-theme="dark"] .nav.sky-nav {
  background: rgba(20,40,100,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 32px; height: 100%;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; flex-shrink: 0; line-height: 0;
}
.nav-logo img { height: 30px; width: auto; display: block; }
/* Logo swap: fullcolor by default, reversed in dark mode, white on sky-nav */
.nav-logo .logo-reversed,
.nav-logo .logo-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nav-logo .logo-dark { display: none; }
  :root:not([data-theme="light"]) .nav-logo .logo-reversed { display: block; }
}
:root[data-theme="dark"] .nav-logo .logo-dark { display: none; }
:root[data-theme="dark"] .nav-logo .logo-reversed { display: block; }
.sky-nav .nav-logo .logo-dark,
.sky-nav .nav-logo .logo-reversed { display: none !important; }
.sky-nav .nav-logo .logo-light { display: block !important; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-muted); transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta {
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  color: #fff; background: var(--first-light);
  padding: 9px 18px; letter-spacing: 0.01em;
  transition: background 0.15s; flex-shrink: 0;
}
.nav-cta:hover { background: #c97032; }
@media (max-width: 680px) { .nav-links { display: none; } .nav-inner { padding: 0 20px; } }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  letter-spacing: 0.01em; padding: 13px 24px;
  cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s;
  border: none; text-decoration: none;
}
.btn-primary { background: var(--first-light); color: #fff; }
.btn-primary:hover { background: #c97032; }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--accent-mid); color: var(--accent-mid); }
.btn-white { background: var(--cloud); color: var(--navy); }
.btn-white:hover { background: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-outline-white:hover { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.08); }
.btn-link {
  background: none; padding: 0;
  color: var(--accent-mid); font-size: 14px; font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
  display: inline-flex; align-items: center; gap: 6px;
  border: none; cursor: pointer;
}
.btn-link:hover { color: var(--sky-deep); }

/* ── SKY HERO (homepage) ── */
.hero-sky {
  position: relative;
  min-height: 74vh;
  background: linear-gradient(175deg, #12223F 0%, #2F6DB0 40%, #4A89C8 68%, #8DBFE8 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-sky::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at 25% 65%, rgba(8,18,60,0.42) 0%, transparent 60%);
  pointer-events: none;
}
.hero-clouds {
  position: absolute; inset: 0;
  pointer-events: none; user-select: none;
}
.cloud-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-sky-content {
  position: relative; z-index: 2;
  padding: calc(var(--nav-h) + 90px) 40px 64px;
  max-width: var(--max); margin: 0 auto; width: 100%;
}
.hero-eyebrow {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(220,200,255,0.75); margin-bottom: 24px; display: block;
}
.hero-h1 {
  font-family: var(--serif); font-size: clamp(48px, 7.5vw, 92px);
  font-weight: 600; line-height: 1.03; letter-spacing: -0.03em;
  color: #fff; max-width: 860px;
  margin-bottom: 30px; text-wrap: balance;
  text-shadow: 0 2px 28px rgba(8,18,80,0.45), 0 0 8px rgba(8,18,80,0.25);
}
.hero-h1 em { font-style: italic; color: var(--cloud-lt); }
.hero-sub {
  font-size: 18px; color: rgba(255,255,255,0.92);
  line-height: 1.8; max-width: 520px; margin-bottom: 40px;
  text-shadow: 0 2px 24px rgba(8,18,80,0.9), 0 0 60px rgba(8,18,80,0.65);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 32px; }
.hero-founder { font-size: 13px; color: rgba(255,255,255,0.45); font-style: italic; }
.hero-founder a { color: rgba(255,255,255,0.65); text-decoration: underline; text-underline-offset: 3px; }
.hero-founder a:hover { color: #fff; }

/* ── SECTIONS ── */
.section { padding: 88px 32px; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-alt { background: var(--bg-2); }
.section-dark { background: var(--navy); }
/* ── ARCHITECTURE DIAGRAM UNDERLAYER ── */
/* sections need position:relative so ::before can be absolute */
.section, .section-alt, .section-sky, .section-dark { position: relative; overflow: hidden; }
/* lift content above ::before layer */
.section-inner { position: relative; z-index: 1; }

/* Dark sections: system-connections diagram, inverted to white-on-dark */
.section-dark::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url('diagrams/rubin-system.webp');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center top;
  background-size: cover;
  filter: invert(1);
  opacity: 0.07;
}

/* Light/default sections: internal-architecture diagram */
.section::before, .section-alt::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url('diagrams/rubin-internal.webp');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center top;
  background-size: cover;
  opacity: 0.028;
}

/* Page hero: simplified GPU diagram, inverted */
.page-hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url('diagrams/rubin-simple.webp');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  filter: invert(1);
  opacity: 0.055;
}


.label {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 14px; display: block;
}
.label-blue { color: var(--accent-mid); }
.label-light { color: rgba(220,200,255,0.6); }

.section-h2 {
  font-family: var(--serif); font-size: clamp(28px, 4vw, 46px);
  font-weight: 600; line-height: 1.15; letter-spacing: -0.02em;
  color: var(--text); text-wrap: balance;
}
.section-h2-light { color: #fff; }
.section-sub {
  font-size: 17px; color: var(--text-muted);
  line-height: 1.8; max-width: 620px; margin-top: 18px;
}
.section-sub-light { color: rgba(255,255,255,0.65); }

/* ── OPPORTUNITY QUESTIONS ── */
.questions-row {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); margin-top: 48px;
}
@media (max-width: 640px) { .questions-row { grid-template-columns: 1fr; } }
.question-item {
  background: var(--bg); padding: 32px 28px;
  font-family: var(--serif); font-size: 20px; font-style: italic;
  color: var(--text); line-height: 1.4;
}
.question-item::before {
  content: '';
  display: block; width: 24px; height: 2px;
  background: var(--accent-mid); margin-bottom: 16px;
}

/* ── SERVICES GRID (homepage) ── */
.services-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 2px; background: var(--border);
  border: 1px solid var(--border); margin-top: 48px;
}
@media (max-width: 680px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--bg); padding: 36px 32px;
  transition: background 0.2s;
}
.service-card:hover { background: var(--bg-2); }
.service-num {
  font-family: var(--serif); font-size: 44px; font-style: italic;
  color: var(--sky-pale); line-height: 1; margin-bottom: 14px;
}
.service-card h3 {
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  color: var(--text); margin-bottom: 12px; line-height: 1.2;
}
.service-card > p {
  font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px;
}
.service-examples {
  font-size: 12px; color: var(--text-dim); line-height: 1.75;
  border-top: 1px solid var(--border); padding-top: 14px;
}
.service-examples strong {
  font-weight: 700; color: var(--text-muted); display: block;
  margin-bottom: 4px; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--accent-mid);
  margin-top: 14px; text-decoration: underline; text-underline-offset: 3px;
}
.service-link:hover { color: var(--sky-deep); }

/* ── SERVICE ACCORDION (hover reveal) ── */
.service-accordion { }
.service-accordion-header { }
.service-accordion-header h3 { margin: 0; }
.service-accordion-body {
  max-height: 0; overflow: hidden; padding-top: 0;
  transition: max-height 0.35s ease, padding-top 0.25s ease;
}
.service-card:hover .service-accordion-body {
  max-height: 500px; padding-top: 14px;
}

/* ── FOUNDER BRIDGE ── */
.founder-section {
  display: grid; grid-template-columns: 1fr 2.2fr;
  gap: 80px; align-items: start;
}
@media (max-width: 760px) { .founder-section { grid-template-columns: 1fr; gap: 40px; } }
.founder-section--single { grid-template-columns: 1fr; max-width: 700px; }
.founder-aside { position: sticky; top: calc(var(--nav-h) + 24px); }
.founder-monogram {
  font-family: var(--serif); font-size: 120px; font-weight: 700;
  font-style: italic; color: var(--sky-pale); line-height: 1; user-select: none;
}
.founder-body h2 {
  font-family: var(--serif); font-size: clamp(26px,3.5vw,40px);
  font-style: italic; font-weight: 600; color: var(--text);
  margin-bottom: 22px; line-height: 1.2;
}
.founder-body p {
  font-size: 16px; color: var(--text-muted); line-height: 1.9; margin-bottom: 18px;
}

/* ── PATHS ── */
.paths-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px; margin-top: 48px;
}
@media (max-width: 680px) { .paths-grid { grid-template-columns: 1fr; gap: 16px; } }
.path-item { border: 1px solid var(--border); padding: 28px 24px; }
.path-tag {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-mid); margin-bottom: 12px; display: block;
}
.path-item h3 {
  font-family: var(--serif); font-size: 21px; font-style: italic;
  color: var(--text); margin-bottom: 10px;
}
.path-item p { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

/* ── PROCESS (dark section) ── */
.process-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: rgba(255,255,255,0.06);
  margin-top: 48px;
}
@media (max-width: 680px) { .process-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 440px) { .process-grid { grid-template-columns: 1fr; } }
.process-item { padding: 32px 28px; }
.process-num {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(180,200,255,0.4); margin-bottom: 14px; display: block;
}
.process-item h3 {
  font-family: var(--serif); font-size: 22px; font-style: italic;
  color: #fff; margin-bottom: 10px;
}
.process-item p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.75; }

/* ── THREE KEYS ── */
.three-keys {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px; background: var(--border);
  margin-top: 48px;
}
@media (max-width: 680px) { .three-keys { grid-template-columns: 1fr; } }
.three-keys-item {
  background: var(--bg); padding: 32px 28px;
}
.three-keys-num {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-mid); margin-bottom: 14px; display: block;
}
.three-keys-item h3 {
  font-family: var(--serif); font-size: 22px; font-style: italic;
  color: var(--text); margin-bottom: 10px;
}
.three-keys-item p { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

/* ── FAQ ── */
.faq-list { margin-top: 40px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary {
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  color: var(--text); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { font-size: 20px; color: var(--text-dim); flex-shrink: 0; transition: transform 0.15s; }
details[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { font-size: 15px; color: var(--text-muted); line-height: 1.85; padding-top: 14px; max-width: 700px; }

/* ── CTA BLOCK ── */
.cta-block {
  background: linear-gradient(160deg, var(--sky-deep) 0%, var(--sky) 60%, var(--sky-mid) 100%);
  padding: 96px 32px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; opacity: 0.6;
}
.cta-block h2 {
  font-family: var(--serif); font-size: clamp(28px,4vw,52px);
  font-style: italic; color: #fff; margin-bottom: 16px; line-height: 1.12;
  position: relative;
}
.cta-block p { font-size: 17px; color: rgba(255,255,255,0.68); max-width: 520px; margin: 0 auto 40px; line-height: 1.8; position: relative; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; position: relative; }

/* ── FORM ── */
.demo-notice {
  font-size: 13px; color: var(--text-muted);
  background: var(--accent-lt); border-left: 3px solid var(--accent-mid);
  padding: 12px 16px; margin-bottom: 24px; line-height: 1.65;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 6px;
}
.req { color: var(--accent-mid); }
.optional { color: var(--text-dim); font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 10px; }
.form-input, .form-select, .form-textarea {
  width: 100%; font-family: var(--sans); font-size: 15px;
  color: var(--text); background: var(--bg);
  border: 1.5px solid var(--border); padding: 12px 14px;
  outline: none; transition: border-color 0.15s;
  -webkit-appearance: none; appearance: none; border-radius: 0;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--accent-mid); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 12px; color: var(--text-dim); margin-top: 10px; line-height: 1.6; }
.form-success {
  background: var(--accent-lt); border: 1.5px solid var(--sky-pale);
  padding: 24px; margin-top: 16px;
}
.form-success-inner { display: flex; flex-direction: column; gap: 8px; }
.success-check {
  font-size: 22px; color: var(--sky);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--cloud-lt); display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.form-success h3 { font-family: var(--serif); font-size: 1.1rem; color: var(--sky-deep); }
.form-success p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(165deg, var(--sky-deep) 0%, var(--sky) 45%, var(--sky-mid) 100%);
  padding: calc(var(--nav-h) + 72px) 40px 64px;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.7;
}
.page-hero-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--serif); font-size: clamp(36px,5.5vw,62px);
  font-weight: 600; font-style: italic; color: #fff;
  line-height: 1.1; margin: 12px 0 20px; text-wrap: balance;
}
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.68); max-width: 560px; line-height: 1.75; }
@media (max-width: 440px) { .page-hero { padding-left: 20px; padding-right: 20px; } }

/* ── CONTACT LAYOUT ── */
.contact-grid {
  display: grid; grid-template-columns: 3fr 2fr;
  gap: 80px; align-items: start;
}
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }
.sidebar-block { border: 1px solid var(--border); padding: 24px; margin-bottom: 16px; }
.sidebar-block h4 {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 12px;
}
.sidebar-block p { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

/* ── SERVICES DETAIL ── */
.service-section-row {
  display: grid; grid-template-columns: 1fr 2.2fr;
  gap: 64px; align-items: start;
  padding: 64px 0; border-bottom: 1px solid var(--border);
}
.service-section-row:last-of-type { border-bottom: none; }
@media (max-width: 720px) { .service-section-row { grid-template-columns: 1fr; gap: 28px; } }
.service-section-row h2 {
  font-family: var(--serif); font-size: clamp(24px,3vw,36px);
  font-style: italic; font-weight: 600; color: var(--text);
  margin-bottom: 18px; line-height: 1.2;
}
.service-section-row > div > p {
  font-size: 16px; color: var(--text-muted); line-height: 1.85; margin-bottom: 16px;
}
.service-big-num {
  font-family: var(--serif); font-size: 72px; font-style: italic;
  color: var(--sky-pale); line-height: 1; margin-bottom: 12px;
}
.svc-label {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim);
}
.items-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; border: 1px solid var(--border); margin-top: 24px;
}
@media (max-width: 520px) { .items-grid { grid-template-columns: 1fr; } }
.items-grid .item {
  padding: 18px 20px; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border);
}
.items-grid .item:nth-child(2n) { border-right: none; }
.items-grid .item:nth-last-child(-n+2) { border-bottom: none; }
@media (max-width: 520px) {
  .items-grid .item { border-right: none; }
  .items-grid .item:last-child { border-bottom: none; }
  .items-grid .item:nth-last-child(2) { border-bottom: 1px solid var(--border); }
}
.items-grid .item h4 { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.items-grid .item p { font-size: 12px; color: var(--text-muted); line-height: 1.65; }
.geo-note {
  font-size: 13px; color: var(--text-dim); background: var(--bg-2);
  padding: 14px 18px; border-left: 2px solid var(--sky-pale); margin-top: 20px; line-height: 1.7;
}

/* ── FOOTER ── */
.footer { background: var(--navy); padding: 64px 32px 32px; }
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
@media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-logo {
  display: block; margin-bottom: 14px; line-height: 0;
}
.footer-logo img { height: 26px; width: auto; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.8; max-width: 300px; }
.footer-col h4 {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.25); margin-bottom: 14px;
}
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 10px; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max); margin: 0 auto; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.22); }

/* ── UTILITIES ── */
.flex-center { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.divider { height: 1px; background: var(--border); }
.mt-12 { margin-top: 12px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }

/* ── AI STAT BLOCK ── */
.stat-block {
  display: grid; grid-template-columns: 220px 1fr; gap: 72px; align-items: start;
  margin-top: 56px;
}
@media (max-width: 780px) { .stat-block { grid-template-columns: 1fr; gap: 40px; } }
.stat-left { }
.stat-big {
  font-family: var(--serif); font-size: clamp(88px, 16vw, 180px);
  font-style: italic; font-weight: 700;
  color: var(--sky-pale); line-height: 0.88; letter-spacing: -0.04em;
  display: block;
}
.stat-label {
  font-family: var(--serif); font-size: clamp(16px, 2vw, 21px);
  font-style: italic; color: rgba(255,255,255,0.82);
  line-height: 1.45; margin-top: 18px; display: block;
}
.stat-source-line {
  font-size: 11px; color: rgba(255,255,255,0.3);
  letter-spacing: 0.07em; text-transform: uppercase; margin-top: 14px;
  display: block; line-height: 1.6;
}
.stat-right { display: flex; flex-direction: column; gap: 28px; }
.stat-supporting-row {
  border-left: 2px solid rgba(212,226,255,0.18);
  padding-left: 22px;
}
.stat-pct {
  font-family: var(--serif); font-size: clamp(56px, 9vw, 96px); font-weight: 700;
  font-style: italic; color: var(--sky-pale); display: block; line-height: 1;
  margin-bottom: 12px; letter-spacing: -0.03em;
}
.stat-supporting-text {
  font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.8;
}
.stat-defs { display: flex; flex-direction: column; gap: 24px; }
.stat-def {
  border-left: 2px solid rgba(212,226,255,0.18); padding-left: 22px;
}
.stat-def-acronym {
  font-family: var(--sans); font-size: 1.05rem; font-weight: 700;
  color: var(--sky-pale); letter-spacing: 0.06em; display: block;
}
.stat-def-spelled {
  font-family: var(--sans); font-size: 10px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); display: block; margin-bottom: 8px;
}
.stat-def p {
  font-size: 14px; color: rgba(255,255,255,0.58); line-height: 1.78;
}
.stat-note {
  font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.8;
  border-top: 1px solid rgba(255,255,255,0.07); padding-top: 22px;
}

/* ── WORK PAGE ── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2px; border: 1px solid var(--border); margin-bottom: 56px;
}
@media (max-width: 700px) { .work-grid { grid-template-columns: 1fr; } }
.work-card {
  display: block;
  border: 1px solid var(--border); overflow: hidden;
  position: relative;
}
.work-card-header {
  height: 280px; width: 100%;
  background-size: cover; background-position: center 20%;
  display: block;
}
.work-card-logo {
  display: flex; align-items: center; justify-content: center;
}
.work-logo-text {
  font-family: var(--serif); font-size: 18px; font-weight: 600;
  letter-spacing: -0.02em; text-align: center; padding: 0 24px;
  line-height: 1.3;
}
.work-card-hover-panel {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(15, 26, 52, 0.94);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  padding: 16px 20px 18px;
  transform: translateY(100%);
  transition: transform 0.27s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.work-card:hover .work-card-hover-panel { transform: translateY(0); }
/* Fade out wordmark overlay + text when hover panel slides up */
.card-wm-overlay,
.card-wm-text {
  transition: opacity 0.22s ease;
}
.work-card:hover .card-wm-overlay,
.work-card:hover .card-wm-text { opacity: 0; }
.work-card-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.work-tag {
  font-family: var(--sans); font-size: 9px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(200,220,255,0.75); background: rgba(255,255,255,0.1);
  padding: 2px 7px; border-radius: 2px;
}
.work-card-title {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 600;
  color: #fff; margin-bottom: 6px; line-height: 1.2;
}
.work-card-desc {
  font-size: 0.825rem; color: rgba(255,255,255,0.65);
  line-height: 1.65; margin: 0 0 10px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.work-link {
  font-family: var(--sans); font-size: 0.8rem; font-weight: 600;
  color: var(--sky); text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
}
.work-link::after { content: ' ↗'; font-size: 0.8em; }
.work-link:hover { text-decoration: underline; }
.work-note { max-width: 640px; margin: 0 auto; text-align: center; padding: 32px 0; }
.work-note p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.8; }
.work-note a { color: var(--accent-mid); }
.work-note a:hover { text-decoration: underline; }

/* ── ABOUT PAGE ── */
.about-layout {
  max-width: var(--max); margin: 0 auto;
  padding: 72px 40px;
  display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: start;
}
@media (max-width: 900px) { .about-layout { grid-template-columns: 1fr; padding: 56px 28px; } }
.about-main { display: flex; flex-direction: column; gap: 56px; }
.about-section h2 {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: var(--text); margin-bottom: 18px; line-height: 1.2;
}
.about-section p {
  font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 14px;
}
.about-section p:last-child { margin-bottom: 0; }
.about-section a { color: var(--accent-mid); }
.about-section a:hover { text-decoration: underline; }
.about-sidebar { display: flex; flex-direction: column; }
@media (min-width: 901px) { .about-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); } }
.about-card {
  background: var(--bg-2); border: 1px solid var(--border);
  padding: 28px; border-radius: 2px;
}
.about-card h3 { font-family: var(--serif); font-size: 1.15rem; color: var(--text); margin-bottom: 10px; }
.about-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; }
.about-monogram {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--sky-mid));
  color: #fff;
  font-family: var(--serif); font-size: 1.5rem; font-style: italic;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

/* ── CONTACT PAGE ── */
.contact-layout {
  max-width: var(--max); margin: 0 auto;
  padding: 72px 40px;
  display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; padding: 56px 28px; } }
.contact-form-col { display: flex; flex-direction: column; gap: 24px; }
.contact-sidebar { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 901px) { .contact-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); } }
.contact-sidebar-section h3 {
  font-family: var(--serif); font-size: 1rem; color: var(--text); margin-bottom: 10px;
}
.contact-sidebar-section p {
  font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 10px;
}
.contact-sidebar-section p:last-child { margin-bottom: 0; }
.contact-sidebar-section a { color: var(--accent-mid); }
.contact-sidebar-section a:hover { text-decoration: underline; }
.sidebar-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.sidebar-list li {
  font-size: 0.9rem; color: var(--text-muted); line-height: 1.65;
  padding-left: 1.1rem; position: relative;
}
.sidebar-list li::before { content: '—'; position: absolute; left: 0; color: var(--text-dim); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
@media (max-width: 440px) {
  .section { padding: 64px 20px; }
  .footer { padding-left: 20px; padding-right: 20px; }
  .cta-block { padding-left: 20px; padding-right: 20px; }
  .hero-sky-content { padding-left: 20px; padding-right: 20px; }
}
