/* RM Tech — design system v1. Shared by the site and its visual guide. */
:root {
  color-scheme: light;
  --ink: #142331;
  --ink-soft: #344657;
  --muted: #617180;
  --navy: #0b1926;
  --navy-2: #10283b;
  --blue: #0879ad;
  --blue-bright: #20a8e1;
  --blue-light: #65d6fa;
  --blue-tint: #e6f5fb;
  --paper: #f5f8f8;
  --white: #ffffff;
  --line: #d7e2e7;
  --line-dark: rgba(180, 217, 232, .2);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow: 0 20px 64px rgba(14, 40, 57, .09);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --content: 1180px;
  --motion-fast: 150ms;
  --motion-state: 240ms;
  --motion-entrance: 650ms;
  --motion-stagger: 70ms;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --glow: 0 0 0 1px rgba(101, 214, 250, .45), 0 0 28px rgba(32, 168, 225, .2);
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; }
::selection { background: #a6e4fa; color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.container { width: min(var(--content), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 100; inset: 8px auto auto 8px; padding: 12px 18px; background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: max-content; }
.brand-mark { position: relative; display: block; flex: none; width: 76px; aspect-ratio: 38 / 33; overflow: hidden; }
/* Display only the transparent padding's inner frame; preserve all original artwork. */
.brand-mark img { position: absolute; width: 134.736842%; height: auto; max-width: none; left: -16.578947%; top: -26.969697%; }
.brand-mark--inverse img { filter: brightness(0) invert(1); }
.brand-mark--mono img { filter: brightness(0); }
.site-nav { display: flex; align-items: center; gap: 38px; }
.site-nav a { text-decoration: none; font-size: 14px; font-weight: 650; color: var(--ink-soft); transition: color .15s ease; }
.site-nav a:hover { color: var(--blue); }
.site-nav .nav-cta { color: var(--white); background: var(--navy); padding: 13px 20px; border-radius: 999px; }
.site-nav .nav-cta:hover { color: var(--white); background: var(--blue); }
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--white); width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; color: var(--ink); }
.menu-toggle svg { width: 22px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; line-height: 1.4; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.eyebrow.light { color: #60cef4; }
.hero { position: relative; overflow: hidden; background: linear-gradient(142deg, #fff 0%, #f4f9fa 58%, #ebf5f7 100%); }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; right: -240px; top: -290px; background: radial-gradient(circle, rgba(64,178,217,.13), transparent 70%); pointer-events: none; }
.hero-inner { min-height: 678px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 56px; padding-block: 82px 96px; }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { margin: 28px 0 24px; max-width: 680px; font-size: clamp(48px, 5.9vw, 78px); line-height: 1.045; letter-spacing: -.055em; font-weight: 750; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-lead { max-width: 530px; margin: 0; color: var(--ink-soft); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; margin-top: 36px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 14px 22px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 750; line-height: 1.2; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease; }
.button svg { width: 17px; height: 17px; }
.button-primary { background: var(--blue); color: var(--white); }
.button-primary:hover { background: #056c9c; }
.button-ghost { border-color: #bdcdd5; background: transparent; color: var(--ink); }
.button-ghost:hover { border-color: var(--blue); color: var(--blue); }
.button-light { background: var(--white); color: var(--navy); }
.button-light:hover { background: #e2f5fb; }
.button:active { transform: translateY(1px); }
.hero-note { margin-top: 46px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.hero-note span { width: 34px; height: 1px; flex: none; background: #aabcc5; }
.hero-visual { position: relative; min-height: 500px; border-radius: var(--radius-lg); background: radial-gradient(circle at 73% 25%, #204e6e 0%, var(--navy-2) 35%, var(--navy) 78%); box-shadow: 0 30px 70px rgba(10,32,49,.25); color: var(--white); overflow: hidden; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(124,198,225,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(124,198,225,.08) 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(to bottom, #000, transparent 94%); }
.hero-visual::after { content: ""; position: absolute; width: 350px; height: 350px; border: 1px solid rgba(107,195,232,.16); border-radius: 50%; right: -94px; bottom: -155px; box-shadow: 0 0 0 62px rgba(107,195,232,.04), 0 0 0 124px rgba(107,195,232,.025); }
.visual-top { position: absolute; top: 26px; left: 28px; right: 28px; display: flex; justify-content: space-between; align-items: center; color: #a6cada; font-size: 11px; letter-spacing: .17em; text-transform: uppercase; font-weight: 700; }
.visual-dots { display: flex; gap: 5px; }
.visual-dots i { display: block; width: 5px; height: 5px; border-radius: 50%; background: #5dc7ef; }
.architecture { position: relative; z-index: 1; height: 100%; min-height: 500px; padding: 92px 32px 34px; display: flex; flex-direction: column; justify-content: center; gap: 17px; }
.arch-intro { color: #78d9fb; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 750; margin-bottom: 12px; }
.arch-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 25px; gap: 17px; align-items: center; padding: 16px 18px; border: 1px solid rgba(128,204,235,.24); border-radius: 12px; background: rgba(238,251,255,.045); backdrop-filter: blur(4px); }
.arch-row:nth-child(3) { margin-left: 26px; }
.arch-row:nth-child(4) { margin-left: 52px; }
.arch-row:nth-child(5) { margin-left: 78px; border-color: rgba(82,202,250,.55); background: rgba(24,150,205,.16); }
.arch-num { color: #66c9ed; font-size: 12px; font-weight: 800; }
.arch-name { font-size: 17px; font-weight: 650; letter-spacing: -.015em; }
.arch-arrow { width: 15px; height: 15px; color: #55c2ee; }
.visual-caption { position: absolute; bottom: 23px; left: 30px; color: #9dbdcb; font-size: 11px; letter-spacing: .04em; }
.section { padding-block: 104px; }
.section-heading { max-width: 720px; }
.section-heading h2, .split-copy h2, .contact-copy h2 { margin: 22px 0 18px; font-size: clamp(38px, 4.5vw, 58px); line-height: 1.1; letter-spacing: -.045em; font-weight: 740; }
.section-heading p, .split-copy p, .contact-copy p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 620px; }
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 62px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service { display: flex; flex-direction: column; padding: 36px 40px 38px 0; }
.service + .service { border-left: 1px solid var(--line); padding-left: 40px; }
.service-number { color: var(--blue); font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em; font-weight: 600; }
.service-icon { width: 48px; height: 48px; margin-top: 29px; border: 1px solid #bfdeea; border-radius: 14px; display: grid; place-items: center; color: var(--blue); }
.service-icon svg { width: 24px; height: 24px; }
.service h3 { margin: 27px 0 12px; font-size: 24px; letter-spacing: -.03em; line-height: 1.2; }
.service p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 15px; }
.service-details { display: grid; gap: var(--space-6); margin: var(--space-6) 0 var(--space-8); }
.service-details dt { margin-bottom: var(--space-2); font-size: 14px; font-weight: 750; }
.service-details dd { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.service .service-link { align-self: flex-start; margin-top: auto; }
.engagement-note { max-width: 75ch; margin: var(--space-8) 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.experience { background: var(--paper); }
.case-list { margin-top: var(--space-12); border-top: 1px solid var(--line); }
.case-study { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: var(--space-16); padding-block: var(--space-12); border-bottom: 1px solid var(--line); }
.case-company { margin: 0 0 var(--space-4); color: var(--blue); font-size: 15px; font-weight: 750; }
.case-heading h3 { max-width: 24ch; margin: 0 0 var(--space-4); font-size: clamp(24px, 2.5vw, 32px); line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; }
.case-facts { display: grid; gap: var(--space-6); margin: 0; }
.case-facts dt { margin-bottom: var(--space-2); color: var(--blue); font-size: 14px; font-weight: 750; }
.case-facts dd { margin: 0; max-width: 65ch; color: var(--ink-soft); font-size: 16px; line-height: 1.65; }
.service-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-weight: 750; color: var(--blue); text-decoration: none; font-size: 14px; }
.service-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.ai-use { position: relative; background: var(--paper); border-bottom: 1px solid var(--line); }
.ai-layout { position: relative; display: grid; gap: var(--space-16); }
.ai-use .section-heading { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: var(--space-16); align-items: end; }
.ai-use .section-heading .eyebrow { grid-column: 1 / -1; justify-self: start; }
.ai-use .section-heading h2 { grid-column: 1; grid-row: 2 / span 2; margin-bottom: 0; max-width: 14ch; }
.ai-use .section-heading p { grid-column: 2; max-width: 520px; }
.ai-use .section-heading .ai-ownership { position: relative; margin-top: var(--space-6); padding: 16px 20px 16px 50px; border: 1px solid #bfdeea; border-radius: 14px; background: var(--white); color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.5; }
.ai-ownership::before { content: ""; position: absolute; left: 20px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 3px; background: var(--blue); box-shadow: 0 0 0 4px rgba(8, 121, 173, .14); }
.ai-groups { display: grid; gap: var(--space-8); }
.ai-group-title { display: flex; align-items: center; gap: 10px; margin: 0 0 var(--space-6); color: var(--blue); font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ai-group-title::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
.ai-pipeline { position: relative; }
.ai-flow { position: absolute; left: 0; right: 0; top: 15px; height: 2px; overflow: hidden; border-radius: 2px; background: linear-gradient(90deg, rgba(8, 121, 173, .1), rgba(8, 121, 173, .35) 12%, rgba(8, 121, 173, .35) 88%, rgba(8, 121, 173, .1)); pointer-events: none; }
.ai-flow i { position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent 82%, rgba(32, 168, 225, .2) 90%, var(--blue-bright) 99.4%, transparent 100%); }
.ai-criteria { position: relative; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); }
.ai-criterion { display: grid; grid-template-rows: auto 1fr; gap: var(--space-4); }
.ai-criterion > span { position: relative; justify-self: start; display: grid; place-items: center; min-width: 46px; height: 32px; padding-inline: 10px; border: 1px solid #9fd0e3; border-radius: 9px; background: var(--white); color: var(--blue); font-family: var(--font-mono); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ai-criterion > div { position: relative; height: 100%; padding: 24px 24px 26px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.ai-criterion > div::before { content: ""; position: absolute; left: 22px; top: -17px; width: 1px; height: 16px; background: #9fd0e3; }
.ai-criterion :is(h3, h4) { margin: 0 0 10px; font-size: 20px; line-height: 1.25; letter-spacing: -.02em; }
.ai-criterion p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.ai-group--practices { position: relative; overflow: hidden; padding: 0 0 var(--space-2); border: 1px solid rgba(101, 214, 250, .28); border-radius: var(--radius-md); background: linear-gradient(150deg, #0f2a3e, var(--navy) 70%); color: #d8e8ee; box-shadow: var(--shadow); }
.ai-group--practices::before { content: ""; display: block; height: 40px; border-bottom: 1px solid var(--line-dark); background: radial-gradient(circle at 24px 20px, #5dc7ef 3px, transparent 3.5px), radial-gradient(circle at 38px 20px, rgba(93, 199, 239, .55) 3px, transparent 3.5px), radial-gradient(circle at 52px 20px, rgba(93, 199, 239, .3) 3px, transparent 3.5px); }
.ai-group--practices .ai-group-title { margin: 0; padding: 22px 28px 6px; color: var(--blue-light); }
.practice-list { margin: 0; padding: 0 0 var(--space-2); list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.practice-list li { position: relative; overflow: hidden; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; padding: 18px 28px; color: #e2f1f7; font-size: 15px; font-weight: 650; line-height: 1.5; }
.practice-list li + li { border-left: 1px solid var(--line-dark); }
.practice-list li::before { content: "✓" / ""; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid rgba(101, 214, 250, .6); border-radius: 6px; color: var(--blue-light); font-family: var(--font-mono); font-size: 13px; line-height: 1; }
.approach { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.approach::before { content: ""; position: absolute; width: 620px; height: 620px; right: -190px; top: -280px; border-radius: 50%; border: 1px solid rgba(97,188,226,.13); box-shadow: 0 0 0 95px rgba(97,188,226,.025), 0 0 0 190px rgba(97,188,226,.02); }
.approach-grid { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; gap: 94px; align-items: start; }
.approach .section-heading h2 { max-width: 510px; }
.approach .section-heading p { color: #a8bdc9; }
.approach-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.approach-item { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 27px 0; border-bottom: 1px solid var(--line-dark); }
.approach-item b { font-size: 13px; color: #65cdf3; letter-spacing: .13em; margin-top: 4px; }
.approach-item h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.02em; font-weight: 650; }
.approach-item p { margin: 0; color: #a8bdc9; line-height: 1.58; font-size: 14px; }
.approach-results { display: grid; gap: var(--space-4); margin: var(--space-6) 0 0; max-width: 40ch; }
.approach-results dt { margin-bottom: var(--space-1); color: var(--blue-light); font-size: 13px; font-weight: 650; }
.approach-results dd { margin: 0; color: #d3e5ed; font-size: 16px; line-height: 1.58; }
.partnership-terms { position: relative; margin: var(--space-16) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: term; }
.partnership-terms li { position: relative; display: grid; align-content: start; gap: 10px; padding: 26px 28px 28px; border: 1px solid rgba(128, 204, 235, .26); border-radius: var(--radius-md); background: rgba(9, 32, 49, .72); }
.partnership-terms li::before { counter-increment: term; content: counter(term, decimal-leading-zero) / ""; margin-bottom: 6px; color: var(--blue-light); font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.partnership-terms strong { color: var(--white); font-size: 20px; line-height: 1.25; letter-spacing: -.02em; }
.partnership-terms span { color: #b3c9d5; font-size: 15px; line-height: 1.6; }
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 12%; align-items: center; }
.founder { width: 100%; max-width: 400px; margin: 0; }
.founder-media { position: relative; }
.founder-media::before, .founder-media::after { content: ""; position: absolute; width: 28px; height: 28px; border: 2px solid var(--blue-bright); pointer-events: none; }
.founder-media::before { top: -8px; left: -8px; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.founder-media::after { right: -8px; bottom: -8px; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
.founder-portrait { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-md); background: #e9e5e0; }
.founder-caption { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.founder-name { display: block; font-size: 24px; font-weight: 700; letter-spacing: -.025em; line-height: 1.25; }
.founder-role { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }
.founder-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--blue); font-size: 14px; font-weight: 650; text-decoration: none; }
.founder-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.founder-link > span { font-size: 20px; }
.about .split-copy p + p { margin-top: 20px; }
.principles { margin-top: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 24px; }
.principles span { padding-top: 11px; border-top: 1px solid #bbced8; color: var(--ink-soft); font-size: 14px; font-weight: 700; }
.principles span::before { content: "+"; color: var(--blue); margin-right: 8px; }
.contact { padding-block: 100px; background: var(--navy-2); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.contact h2 { max-width: 700px; }
.contact-copy p { color: #b3c9d5; }
.contact-panel { padding: 32px; border: 1px solid rgba(179,215,231,.28); border-radius: var(--radius-md); background: rgba(255,255,255,.045); }
.contact-panel .panel-label { margin: 0 0 21px; color: #69d2f5; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; font-weight: 800; }
.contact-panel p { margin: 0 0 23px; color: #d8e8ee; line-height: 1.6; font-size: 15px; }
.site-footer { background: #08131e; color: #a2b5c1; padding-block: 32px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 12px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); }
/* Design system page */
.guide-hero { background: var(--navy); color: var(--white); padding-block: 96px 92px; }
.guide-hero h1 { max-width: 860px; margin: 27px 0 20px; font-size: clamp(48px, 6vw, 78px); line-height: 1.05; letter-spacing: -.055em; }
.guide-hero p { max-width: 650px; margin: 0; color: #b1c7d2; line-height: 1.65; font-size: 18px; }
.guide-nav { background: var(--white); border-bottom: 1px solid var(--line); }
.guide-nav-inner { display: flex; gap: 32px; overflow-x: auto; white-space: nowrap; padding-block: 18px; }
.guide-nav a { text-decoration: none; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.guide-nav a:hover { color: var(--blue); }
.guide-section { padding-block: 78px; border-bottom: 1px solid var(--line); }
.guide-section h2 { margin: 15px 0 12px; font-size: clamp(32px, 4vw, 45px); letter-spacing: -.04em; }
.guide-lead { margin: 0 0 38px; max-width: 690px; color: var(--muted); line-height: 1.6; }
.brand-applications { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.brand-sample { margin: 0; }
.brand-stage { display: grid; place-items: center; min-height: 280px; padding: 48px; border-radius: var(--radius-sm); }
.brand-stage--light { background: var(--white); }
.brand-stage--dark { background: var(--navy); }
.brand-stage--blue { background: var(--blue); }
.brand-stage--mono { background: #e8eef0; }
.brand-stage .brand-mark { width: 168px; }
.brand-sample figcaption { padding: 18px 0 4px; }
.brand-sample h3 { margin: 0 0 7px; font-size: 17px; letter-spacing: -.02em; }
.brand-sample p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.brand-rules { margin-top: 32px; max-width: 760px; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.brand-rules a { color: var(--blue); text-underline-offset: 3px; }
.guide-caption { margin: 13px 0 0; color: var(--muted); font-size: 13px; }
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.swatch { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.swatch-color { height: 132px; }
.swatch-info { padding: 17px; display: grid; gap: 6px; }
.swatch-info strong { font-size: 14px; }
.swatch-info code { color: var(--muted); font-size: 12px; }
.type-samples { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 34px; }
.type-row { display: grid; grid-template-columns: 140px 1fr; gap: 30px; align-items: baseline; padding-block: 22px; border-bottom: 1px solid var(--line); }
.type-row:last-child { border: 0; }
.type-row small { color: var(--muted); font-size: 13px; }
.type-row p { margin: 0; }
.type-display { font-size: clamp(38px,5vw,64px); line-height: 1.08; letter-spacing: -.05em; font-weight: 750; }
.type-heading { font-size: 34px; line-height: 1.18; letter-spacing: -.035em; font-weight: 740; }
.type-body { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.type-label { color: var(--blue); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; }
.guide-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.guide-card { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-md); padding: 30px; }
.guide-card h3 { margin: 0 0 12px; font-size: 21px; letter-spacing: -.02em; }
.guide-card p, .guide-card li { color: var(--muted); font-size: 14px; line-height: 1.65; }
.guide-card ul { margin: 0; padding-left: 18px; }
.button-demo { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.spacing-demo { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-top: 24px; }
.spacing-demo div { background: var(--blue-tint); border-left: 3px solid var(--blue); width: 64px; display: grid; place-items: end center; color: var(--blue); font-size: 11px; font-weight: 750; padding-bottom: 4px; }
.guide-footer { padding-block: 28px; background: var(--navy); color: #acc4d0; font-size: 13px; }
@media (max-width: 1023px) {
  .ai-flow { left: 22px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, rgba(8, 121, 173, .35) 85%, rgba(8, 121, 173, .05)); }
  .ai-flow i { transform: translateY(-100%); background: linear-gradient(180deg, transparent 80%, rgba(32, 168, 225, .2) 90%, var(--blue-bright) 99.4%, transparent 100%); }
  .ai-criteria { grid-template-columns: 1fr; gap: var(--space-4); }
  .ai-criterion { grid-template-columns: 46px minmax(0, 1fr); grid-template-rows: auto; gap: var(--space-4); }
  .ai-criterion > div::before { left: -17px; top: 15px; width: 16px; height: 1px; }
  .practice-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .practice-list li + li { border-left: 0; }
  .practice-list li:nth-child(even) { border-left: 1px solid var(--line-dark); }
  .practice-list li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}
@media (max-width: 900px) {
  .ai-use .section-heading { grid-template-columns: 1fr; }
  .ai-use .section-heading :is(h2, p) { grid-column: 1; grid-row: auto; }
  .ai-use .section-heading h2 { margin-bottom: 18px; max-width: 20ch; }
  .partnership-terms { gap: var(--space-4); margin-top: var(--space-12); }
  .partnership-terms li { padding: 22px 20px 24px; }
}
@media (max-width: 900px) {
  .hero-inner { gap: 28px; min-height: 0; }
  .hero h1 { font-size: clamp(45px, 6vw, 64px); }
  .arch-row:nth-child(n) { margin-left: 0; }
  .approach-grid { gap: 44px; }
  .about-grid { gap: 7%; }
  .services-grid { grid-template-columns: 1fr; margin-top: 42px; }
  .service, .service + .service { padding: 27px 0; border-left: 0; }
  .service + .service { border-top: 1px solid var(--line); }
  .service-icon { margin-top: 18px; }
  .service h3 { margin-top: 17px; }
}
@media (max-width: 720px) {
  .container { width: min(var(--content), calc(100% - 40px)); }
  .header-inner { min-height: 72px; }
  .brand-mark { width: 60px; }
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 17px 20px 22px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); align-items: stretch; flex-direction: column; gap: 0; }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav a { padding: 15px 8px; }
  .site-nav .nav-cta { margin-top: 8px; text-align: center; }
  .hero-inner, .approach-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-inner { padding-block: 58px 64px; gap: 48px; }
  .hero h1 { margin-top: 22px; font-size: clamp(45px, 11vw, 66px); }
  .hero-note { margin-top: 32px; }
  .hero-visual, .architecture { min-height: 390px; }
  .architecture { padding-top: 70px; }
  .visual-caption { display: none; }
  .section { padding-block: 72px; }
  .case-study { grid-template-columns: 1fr; gap: var(--space-8); padding-block: var(--space-8); }
  .ai-layout { gap: var(--space-12); }
  .partnership-terms { grid-template-columns: 1fr; }
  .practice-list { grid-template-columns: 1fr; }
  .practice-list li:nth-child(n) { border-left: 0; }
  .practice-list li + li { border-top: 1px solid var(--line-dark); }
  .practice-list li, .ai-group--practices .ai-group-title { padding-inline: 22px; }
  .ai-criterion > div { padding: 20px 20px 22px; }
  .section-heading h2, .split-copy h2, .contact-copy h2 { font-size: clamp(37px, 9vw, 50px); }
  .about-grid { gap: 44px; }
  .contact { padding-block: 75px; }
  .contact-grid { gap: 40px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .guide-hero { padding-block: 74px; }
  .brand-applications { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .guide-grid { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .hero h1 { font-size: 44px; }
  .hero-visual, .architecture { min-height: 360px; }
  .arch-row { gap: 9px; padding: 13px 12px; grid-template-columns: 30px minmax(0,1fr) 16px; }
  .arch-name { font-size: 15px; }
  .architecture { padding-inline: 19px; }
  .principles { grid-template-columns: 1fr; }
  .type-row { grid-template-columns: 1fr; gap: 10px; }
  .type-samples { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .site-nav a { transition: none; }
  .button:active { transform: none; }
}

/* Contact form and scheduling. */
.contact-grid:has(.contact-form) { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
.contact-options { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 34px; }
.contact-alt-link { color: #d8e8ee; font-size: 15px; font-weight: 650; text-decoration: underline; text-decoration-color: rgba(101,214,250,.5); text-underline-offset: 5px; }
.contact-alt-link:hover { color: var(--white); text-decoration-color: var(--blue-light); }
.contact-copy .contact-hint { margin-top: 18px; color: #9fb8c6; font-size: 14px; }
.contact-form-fallback[hidden], .contact-form[hidden] { display: none; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.form-field { display: grid; gap: 7px; min-width: 0; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { color: #d8e8ee; font-size: 14px; font-weight: 650; }
.form-optional { color: #9fb8c6; font-weight: 500; }
.contact-form input:not([type="checkbox"]), .contact-form textarea { width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid rgba(179,215,231,.32); border-radius: var(--radius-sm); background: rgba(5,18,29,.55); color: var(--white); font: inherit; font-size: 16px; line-height: 1.4; transition: border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease; }
.contact-form textarea { min-height: 128px; resize: vertical; }
.contact-form input:not([type="checkbox"]):hover, .contact-form textarea:hover { border-color: rgba(101,214,250,.55); }
.contact-form input:not([type="checkbox"]):focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 1px; border-color: var(--blue-light); }
.contact-form input[aria-invalid="true"], .contact-form textarea[aria-invalid="true"] { border-color: #ff9d8a; }
.contact-panel .form-error { margin: 0; min-height: 0; color: #ffb4a6; font-size: 13px; line-height: 1.4; }
.contact-panel .form-error:empty { display: none; }
.form-check { grid-template-columns: 22px minmax(0, 1fr); align-items: start; column-gap: 12px; }
.form-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue-light); }
.form-check label { font-weight: 500; line-height: 1.5; }
.form-check .form-error { grid-column: 2; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-turnstile:empty { display: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form-actions .button[disabled] { opacity: .65; cursor: progress; }
.contact-panel .form-status { margin: 0; font-size: 14px; line-height: 1.5; }
.contact-panel .form-status:empty { display: none; }
.contact-panel .form-status[data-tone="success"] { color: #8ff0c4; }
.contact-panel .form-status[data-tone="error"] { color: #ffb4a6; }
.contact-panel .form-status[data-tone="pending"] { color: #d8e8ee; }
@media (max-width: 900px) {
  .contact-grid:has(.contact-form) { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .contact-form { grid-template-columns: 1fr; }
  .contact-panel:has(.contact-form) { padding: 24px 20px; }
}
