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

/* ==========================================================================
   AIKing Solutions — Typography & Design System
   Consistent font sizes, line heights, and mobile responsive behavior
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --blue: #0066cc;
  --blue-hover: #004f9e;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --soft: #f5f5f7;
  --border: #ececee;
  --border-dark: #dedee3;

  /* Font Family - Consistent Inter throughout */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Typography Scale — Desktop Defaults (Compact ~90% scale) */
  --fs-hero: 56px;
  --lh-hero: 1.1;

  --fs-h1: 42px;
  --lh-h1: 1.15;

  --fs-h2: 35px;
  --lh-h2: 1.2;

  --fs-h3: 27px;
  --lh-h3: 1.25;

  --fs-h4: 20px;
  --lh-h4: 1.3;

  --fs-body-lead: 17px;
  --lh-body-lead: 1.55;

  --fs-body-large: 20px;
  --lh-body-large: 1.5;

  --fs-body: 15.5px;
  --lh-body: 1.6;

  --fs-nav: 14px;
  --lh-nav: 1.35;

  --fs-button: 14.5px;
  --lh-button: 1.35;

  --fs-label: 13px;
  --lh-label: 1.45;

  --fs-eyebrow: 11px;
  --fs-small: 12px;
  --lh-small: 1.6;
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  font-family: inherit;
}

html {
  font-family: var(--font-sans) !important;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body, h1, h2, h3, h4, h5, h6, p, a, span, button, input, select, textarea, small, strong, th, td, caption, label, summary, .hero h1 {
  font-family: var(--font-sans) !important;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

button, input, textarea, select {
  font-family: var(--font-sans);
  font-size: inherit;
  color: inherit;
}

button, a, input, textarea, select {
  outline-offset: 4px;
}

/* ==========================================================================
   Typography Hierarchy (Desktop Defaults: >= 1025px)
   ========================================================================== */

h1, h2, h3, h4, p {
  margin-top: 0;
}

h1 {
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: var(--lh-h1);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--ink);
  word-wrap: break-word;
}

h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  color: var(--ink);
  word-wrap: break-word;
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: var(--lh-h3);
  margin-bottom: 16px;
  color: var(--ink);
  word-wrap: break-word;
}

p {
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  margin-bottom: 18px;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: var(--fs-body-lead);
  line-height: var(--lh-body-lead);
  letter-spacing: -0.015em;
  max-width: 640px;
  margin: 0 auto 28px;
  color: var(--muted);
}

.body-large {
  font-size: var(--fs-body-large);
  line-height: var(--lh-body-large);
  letter-spacing: -0.02em;
  color: #3a3a3c;
  font-weight: 450;
}

.eyebrow {
  font-size: var(--fs-eyebrow);
  letter-spacing: 1.8px;
  line-height: 1.5;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  display: block;
}

small {
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  color: var(--muted);
}

.fine {
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  margin-top: 24px;
  color: var(--muted);
  display: block;
}

/* ==========================================================================
   Buttons & Links
   ========================================================================== */

.button {
  border: 0;
  display: inline-flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  background: var(--blue);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 40px;
  font-size: var(--fs-button);
  line-height: var(--lh-button);
  font-weight: 550;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  min-height: 48px;
  white-space: nowrap;
  box-sizing: border-box;
}

.button:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.25);
}

.button:active {
  transform: translateY(0);
}

.button.outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
  padding: 12px 24px;
  font-size: var(--fs-button);
  line-height: var(--lh-button);
  font-weight: 550;
  box-shadow: none;
}

.button.outline:hover {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.25);
}

.link {
  color: var(--blue);
  font-size: var(--fs-button);
  font-weight: 500;
  line-height: var(--lh-button);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  transition: color 0.2s ease, gap 0.2s ease;
}

.link:hover {
  color: var(--blue-hover);
  gap: 11px;
}

/* ==========================================================================
   Layout Containers & Common Classes
   ========================================================================== */

.wrap {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}

.soft {
  background: var(--soft);
}

.section {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-head {
  margin-bottom: 56px;
}

.narrow {
  max-width: 1120px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 100px;
}

.section .split {
  padding-top: 0;
  padding-bottom: 0;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  height: 76px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: height 0.25s ease;
}

.nav {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.nav-left, .nav-right {
  display: flex;
  gap: 26px;
  align-items: center;
}

.nav-right {
  justify-content: flex-end;
}

.nav a {
  font-size: var(--fs-nav);
  line-height: var(--lh-nav);
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--blue);
}

.nav a.active {
  color: var(--blue);
  font-weight: 600;
}

.brand {
  font-size: 20px !important;
  font-weight: 650;
  letter-spacing: -0.5px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--ink);
}

.brand svg {
  width: 25px;
  height: 25px;
  color: var(--ink);
  flex-shrink: 0;
}

.brand small {
  display: block;
  line-height: 1;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--ink);
  margin-top: 2px;
}

.nav-cta {
  color: var(--blue) !important;
  border: 1px solid rgba(0, 102, 204, 0.35);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: var(--fs-nav);
  font-weight: 550;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-cta:hover {
  background: rgba(0, 102, 204, 0.08);
  border-color: var(--blue);
}

.menu-toggle {
  display: none;
}

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

.hero {
  text-align: center;
  padding-top: 62px;
  padding-bottom: 20px;
  overflow: hidden;
  position: relative;
}

.hero h1 {
  font-size: var(--fs-hero);
  line-height: var(--lh-hero);
  font-weight: 650;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: center;
  margin-bottom: 16px;
}

.hero-caption {
  display: flex;
  gap: 36px;
  justify-content: center;
  align-items: center;
  margin: 16px 0 48px;
  color: #86868b;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
}

/* 3D Folio Sculpture */
.sculpture {
  height: 420px;
  position: relative;
  max-width: 680px;
  margin: 10px auto 0;
  perspective: 1300px;
  transform: scale(0.92);
  transform-origin: center top;
}

.folio {
  position: absolute;
  width: 265px;
  height: 320px;
  left: calc(50% - 132px);
  top: 64px;
  border-radius: 17px;
  transform: rotateY(-24deg) rotateX(12deg) rotateZ(-8deg);
  border: 1px solid #d2d3d6;
  box-shadow: 16px 22px 24px #20273515;
  background: linear-gradient(135deg, #ffffff 0%, #e8e9eb 50%, #ffffff 75%, #d9dade 100%);
}

.folio.back {
  transform: translate(52px, 5px) rotateY(-24deg) rotateX(12deg) rotateZ(6deg);
  background: #e5e5e8;
}

.folio.middle {
  transform: translate(26px, 1px) rotateY(-24deg) rotateX(12deg) rotateZ(-1deg);
}

.folio.front {
  padding: 23px;
  box-shadow: inset 2px 2px 1px white, 12px 23px 40px #20273520;
}

.folio-top {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #54555c;
}

.folio-top span:last-child {
  font-size: 10px;
  letter-spacing: 1px;
}

.shield {
  width: 97px;
  height: 117px;
  margin: 28px auto 23px;
  color: #92959d;
  filter: drop-shadow(2px 4px 2px #ffffff);
}

.shield svg {
  height: 100%;
  width: 100%;
}

.folio-bottom {
  text-align: left;
}

.folio-bottom span {
  display: block;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.folio-bottom small {
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 550;
}

.pedestal {
  position: absolute;
  bottom: 38px;
  left: 14%;
  width: 72%;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(ellipse, #a6a8b24a, transparent 70%);
  filter: blur(13px);
  z-index: -1;
}

.orbit {
  width: 590px;
  height: 190px;
  border: 1px solid #e8e8eb;
  border-radius: 50%;
  position: absolute;
  left: calc(50% - 295px);
  top: 170px;
  transform: rotate(-20deg);
  z-index: -1;
  pointer-events: none;
}

.orbit-two {
  transform: rotate(21deg);
  width: 660px;
  left: calc(50% - 330px);
  opacity: 0.55;
}

/* Focus strip */
.focus-strip {
  display: flex;
  justify-content: center;
  gap: 56px;
  border-top: 1px solid #e8e8eb;
  padding-top: 24px;
  padding-bottom: 28px;
  color: #6e6e73;
  font-size: var(--fs-label);
  font-weight: 500;
}

/* ==========================================================================
   Pillars & Deliverables Preview
   ========================================================================== */

.pillars {
  padding-top: 20px;
}

.number {
  font-size: var(--fs-label);
  font-weight: 600;
  color: #8b8b90;
  display: block;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.pillars h3,
.detail-grid h3,
.toolkit-list h3 {
  font-size: var(--fs-h4);
  line-height: var(--lh-h4);
  margin-bottom: 12px;
  font-weight: 600;
}

.pillars p,
.detail-grid p,
.toolkit-list p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.paper-preview {
  background: #ffffff;
  padding: 40px;
  box-shadow: 0 16px 40px rgba(29, 29, 31, 0.05);
  transform: rotate(-2.5deg);
  border: 1px solid var(--border);
  min-height: 350px;
  border-radius: 8px;
}

.paper-preview h3 {
  font-size: 26px;
  line-height: 1.25;
  margin-bottom: 26px;
}

.paper-row {
  padding: 15px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: var(--fs-label);
  color: #85858b;
  font-weight: 500;
}

.paper-row span {
  color: #414145;
  flex: 1;
  font-size: var(--fs-body);
}

.paper-preview small {
  font-size: 11px;
  letter-spacing: 1.2px;
  font-weight: 600;
  display: block;
  margin-top: 18px;
}

/* Detail Grid */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 60px;
  margin-top: 48px;
}

.detail-grid article {
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
}

.section-description {
  max-width: 670px;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

/* ==========================================================================
   Readiness Checklist & Summary Card
   ========================================================================== */

.readiness-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 60px;
  margin-top: 45px;
  align-items: start;
}

.readiness-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-dark);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  cursor: pointer;
  word-break: break-word;
}

.readiness-item input[type="checkbox"] {
  accent-color: var(--blue);
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  flex-shrink: 0;
  cursor: pointer;
}

.readiness-result {
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  align-self: start;
  box-sizing: border-box;
}

.readiness-result .eyebrow {
  display: block;
}

.readiness-result h3 {
  font-size: var(--fs-h4);
  line-height: var(--lh-h4);
  margin-bottom: 12px;
}

.readiness-result p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  margin-bottom: 22px;
}

/* Endcap CTA */
.endcap {
  text-align: center;
  padding: 100px 24px;
}

.endcap h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  margin-bottom: 26px;
}

/* ==========================================================================
   Page Intro (Inner Pages)
   ========================================================================== */

.page-intro {
  padding-top: 96px;
  padding-bottom: 84px;
  text-align: center;
}

.page-intro h1 {
  margin-bottom: 24px !important;
}

.page-intro .lead {
  max-width: 620px;
}

/* ==========================================================================
   Services Page Components
   ========================================================================== */

.scope-index {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-label);
  font-weight: 500;
  color: #6e6e73;
  padding-bottom: 25px;
}

.service-list {
  padding-bottom: 100px;
}

.service-row {
  border-top: 1px solid var(--border-dark);
  padding: 40px 0;
  display: grid;
  grid-template-columns: 48px 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.service-row h2 {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.service-row .number {
  margin: 4px 0 0;
}

.service-row p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  margin-bottom: 14px;
}

.service-row small {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--muted);
}

.toolkit-list {
  margin-top: 56px;
}

/* Packages */
.packages {
  margin-top: 48px;
}

.package {
  border: 1px solid var(--border-dark);
  border-radius: 18px;
  padding: 32px 26px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.package:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.package .eyebrow {
  font-size: 12px;
  letter-spacing: 1.2px;
  min-height: 16px;
  margin-bottom: 16px;
}

.package h3 {
  font-size: var(--fs-h4);
  line-height: var(--lh-h4);
  margin-bottom: 6px;
}

.duration {
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 18px;
}

.package ul {
  list-style: none;
  padding: 20px 0;
  margin: 0;
  border-top: 1px solid var(--border);
  min-height: 160px;
  flex-grow: 1;
}

.package li {
  font-size: 14.5px;
  line-height: 1.5;
  padding: 8px 0;
  color: var(--muted);
}

.package li::before {
  content: '✓';
  padding-right: 10px;
  color: var(--blue);
  font-weight: 600;
}

.quote {
  font-size: 14px;
  font-weight: 550;
  color: var(--ink);
  margin-bottom: 20px;
}

.package .button.outline {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Compare Table */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 40px;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
  font-size: 14px;
  text-align: left;
}

.compare caption {
  text-align: left;
  padding: 16px 20px;
  font-size: var(--fs-label);
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.compare th, .compare td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.55;
}

.compare th {
  font-weight: 600;
  color: var(--ink);
}

.compare td {
  color: var(--muted);
}

.compare thead th {
  background: #f5f5f7;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--border-dark);
}

/* FAQ Details */
.faq {
  padding-top: 20px;
}

details {
  border-bottom: 1px solid #e0e0e3;
  padding: 22px 0;
}

summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 550;
  color: var(--ink);
  line-height: 1.4;
}

summary::-webkit-details-marker {
  display: none;
}

summary span {
  font-size: 22px;
  font-weight: 400;
  color: var(--blue);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  line-height: 1;
}

details[open] summary span {
  transform: rotate(45deg);
}

details p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  padding-top: 16px;
  margin-bottom: 0;
}

/* ==========================================================================
   Approach Timeline
   ========================================================================== */

.timeline-section {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 70px;
  padding-bottom: 100px;
}

.timeline-heading strong {
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.phase {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 24px;
  position: relative;
  padding-bottom: 44px;
}

.phase::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 44px;
  bottom: 4px;
  width: 1px;
  background: var(--border-dark);
}

.phase:last-child::before {
  display: none;
}

.phase-num {
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  height: 42px;
  width: 42px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: #fafafa;
}

.phase-title {
  display: flex;
  gap: 16px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.phase-title h3 {
  font-size: var(--fs-h4);
  line-height: var(--lh-h4);
  margin-bottom: 0;
  font-weight: 600;
}

.phase-title span {
  font-size: var(--fs-label);
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

.phase p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  margin-bottom: 10px;
}

.phase small {
  font-size: 12.5px;
  letter-spacing: 0.6px;
  font-weight: 600;
  color: var(--muted);
}

/* ==========================================================================
   About Page Team Grid
   ========================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.portrait {
  aspect-ratio: 4/5;
  border-radius: 12px;
  background: linear-gradient(145deg, #eeeef0, #e5e5e9);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.portrait svg {
  height: 76%;
  width: 80%;
  fill: #d1d1d7;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-placeholder {
  box-sizing: border-box;
}

.team-placeholder p {
  color: var(--ink) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin: 0 0 6px !important;
}

.team-placeholder div {
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.team-placeholder div span {
  font-size: 13px !important;
}

.team-placeholder a {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: var(--blue) !important;
}

.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}

/* ==========================================================================
   Contact Page Layout & Form
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 80px;
  padding-bottom: 110px;
}

.contact-aside h3 {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
}

.contact-aside ol {
  list-style: none;
  margin: 32px 0;
  padding: 0;
}

.contact-aside li {
  display: flex;
  gap: 16px;
  font-size: 15px;
  line-height: 1.5;
  padding: 14px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.contact-aside li span {
  color: #a1a1a6;
  font-size: 13px;
  font-weight: 600;
}

.contact-note {
  border-top: 1px solid #ddd;
  padding-top: 24px;
  margin-top: 20px;
}

.contact-note p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  margin-bottom: 10px;
}

.contact-note small {
  font-size: 13px;
  line-height: 1.55;
}

.inquiry {
  background: var(--soft);
  padding: 36px;
  border-radius: 18px;
  border: 1px solid #e8e8ed;
}

.inquiry label {
  display: block;
  font-size: var(--fs-label);
  font-weight: 550;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.4;
}

.inquiry input:not([type=checkbox]),
.inquiry textarea,
.inquiry select {
  display: block;
  width: 100%;
  border: 1px solid #d8d8dd;
  background: #ffffff;
  border-radius: 8px;
  padding: 13px 15px;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  font-family: var(--font-sans);
  transition: border-color 0.2s ease, outline-color 0.2s ease;
  box-sizing: border-box;
}

.inquiry input:focus,
.inquiry textarea:focus,
.inquiry select:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-color: var(--blue);
}

.inquiry textarea {
  resize: vertical;
}

.inquiry .checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  font-weight: 400;
  cursor: pointer;
  margin-bottom: 22px;
}

.inquiry .checkbox input {
  accent-color: var(--blue);
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

#submit-btn {
  width: auto;
  min-height: 48px;
}

#form-result {
  border-top: 1px solid #ddd;
  padding-top: 24px;
  margin-top: 24px;
}

#form-result h3 {
  font-size: var(--fs-h4);
  line-height: var(--lh-h4);
  margin-bottom: 8px;
}

#form-result p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

#gmail-open-btn {
  font-size: 14px !important;
  padding: 10px 22px !important;
}

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

footer {
  background: var(--soft);
  padding: 40px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-top p {
  font-size: 15px;
  margin: 0;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
}

.footer-bottom small {
  font-size: 13px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--blue);
}

footer .fine {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 20px;
  color: #8b8b90;
}

/* ==========================================================================
   Motion & Animation
   ========================================================================== */

.reveal {
  opacity: 1;
  transform: none;
}

.motion .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.motion .reveal.visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Responsive Grid Utilities (Matching Tailwind Breakpoints)
   ========================================================================== */

@media (min-width: 768px) {
  .grid {
    display: grid;
  }
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.gap-10 {
  gap: 40px;
}

.gap-6 {
  gap: 24px;
}

/* ==========================================================================
   Desktop Viewport Rules (>= 1025px)
   ========================================================================== */

@media (min-width: 1025px) {
  .hero h1 {
    font-size: 56px !important;
    line-height: 1.1 !important;
  }

  h1, .page-intro h1 {
    font-size: 42px !important;
    line-height: 1.15 !important;
  }

  h2 {
    font-size: 35px !important;
    line-height: 1.2 !important;
  }

  h3 {
    font-size: 27px !important;
    line-height: 1.25 !important;
  }

  .pillars h3,
  .detail-grid h3,
  .toolkit-list h3,
  .package h3,
  .phase-title h3,
  .readiness-result h3,
  #form-result h3 {
    font-size: 20px !important;
    line-height: 1.3 !important;
  }

  p, .section-description, details p {
    font-size: 15.5px;
    line-height: 1.6;
  }

  .lead {
    font-size: 17px;
    line-height: 1.55;
  }

  .body-large {
    font-size: 20px;
    line-height: 1.5;
  }

  .nav a {
    font-size: 14px;
    line-height: 1.35;
  }

  .button {
    font-size: 14.5px;
    line-height: 1.35;
  }
}

/* ==========================================================================
   Tablet Viewport Adjustments (768px – 1024px)
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1024px) {
  .wrap {
    padding-left: 28px;
    padding-right: 28px;
  }

  /* Typography Tablet Specifications */
  .hero h1 {
    font-size: 48px !important;
    line-height: 1.1 !important;
  }

  h1, .page-intro h1 {
    font-size: 40px !important;
    line-height: 1.15 !important;
  }

  h2 {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }

  h3 {
    font-size: 26px !important;
    line-height: 1.25 !important;
  }

  .pillars h3,
  .detail-grid h3,
  .toolkit-list h3,
  .package h3,
  .phase-title h3,
  .readiness-result h3,
  #form-result h3 {
    font-size: 20px !important;
    line-height: 1.3 !important;
  }

  p, .section-description, details p {
    font-size: 16.5px;
    line-height: 1.6;
  }

  .lead {
    font-size: 18px;
    line-height: 1.55;
  }

  .body-large {
    font-size: 20px;
    line-height: 1.5;
  }

  .nav a {
    font-size: 15px;
    line-height: 1.35;
  }

  .button {
    font-size: 15.5px;
    line-height: 1.35;
  }

  .nav {
    gap: 20px;
  }

  .nav-left, .nav-right {
    gap: 18px;
  }

  .split {
    gap: 48px;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .timeline-section {
    grid-template-columns: 200px 1fr;
    gap: 48px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .detail-grid {
    gap: 32px 40px;
  }

  .service-row {
    grid-template-columns: 40px 1fr 1fr;
    gap: 24px;
    padding: 32px 0;
  }

  .package {
    padding: 26px 20px;
  }

  .package ul {
    min-height: 180px;
  }
}

/* ==========================================================================
   Mobile Viewport Adjustments (< 768px down to 320px)
   ========================================================================== */

@media (max-width: 767px) {
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Typography Mobile Specifications */
  .hero h1 {
    font-size: 36px !important;
    line-height: 1.15 !important;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
  }

  h1, .page-intro h1 {
    font-size: 32px !important;
    line-height: 1.18 !important;
  }

  h2 {
    font-size: 28px !important;
    line-height: 1.22 !important;
  }

  h3 {
    font-size: 24px !important;
    line-height: 1.25 !important;
  }

  .pillars h3,
  .detail-grid h3,
  .toolkit-list h3,
  .package h3,
  .phase-title h3,
  .readiness-result h3,
  #form-result h3 {
    font-size: 18px !important;
    line-height: 1.32 !important;
  }

  p, .section-description, details p {
    font-size: 16px;
    line-height: 1.6;
  }

  .lead {
    font-size: 17px;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .hero .lead br {
    display: none;
  }

  .body-large {
    font-size: 19px;
    line-height: 1.5;
  }

  .button {
    font-size: 16px;
    line-height: 1.4;
  }

  .button.outline {
    font-size: 16px;
  }

  /* Header & Mobile Dropdown Navigation */
  .site-header {
    height: 66px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
  }

  .site-header.nav-is-open,
  .site-header:has(.nav.open) {
    height: auto;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
    position: relative;
    padding-top: 0;
    padding-bottom: 0;
  }

  .brand {
    order: 1;
    z-index: 105;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 66px;
    width: auto !important;
  }

  .menu-toggle {
    order: 2;
    z-index: 105;
    margin-left: auto;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 7px 16px;
    background: #f5f5f7;
    border: 1px solid #d2d3d6;
    border-radius: 8px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 550;
    cursor: pointer;
  }

  .nav-left,
  .nav-right {
    display: none;
    width: 100%;
    box-sizing: border-box;
  }

  .nav.open {
    padding-bottom: 16px;
  }

  .nav.open .nav-left {
    order: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0 12px;
    margin-top: 0;
    border-top: 1px solid var(--border);
    width: 100%;
  }

  .nav.open .nav-right {
    order: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0 20px;
    margin-top: 0;
    border-top: 1px solid #f0f0f2;
    width: 100%;
  }

  .nav.open .nav-left a,
  .nav.open .nav-right a:not(.nav-cta) {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    padding: 8px 0;
    display: block;
    width: 100%;
    line-height: 1.4;
  }

  .nav.open a.active {
    color: var(--blue);
    font-weight: 600;
  }

  .nav.open .nav-cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 8px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    background: rgba(0, 102, 204, 0.08);
    border: 1.5px solid var(--blue);
    color: var(--blue) !important;
    text-align: center;
    box-sizing: border-box;
  }

  /* Hero Section Mobile */
  .hero {
    padding-top: 54px;
    padding-bottom: 16px;
    overflow: hidden;
  }

  .actions {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .actions .button {
    width: 100%;
    max-width: 320px;
    text-align: center;
    justify-content: center;
  }

  .actions .link {
    justify-content: center;
    font-size: 16px;
  }

  .sculpture {
    height: 380px;
    transform: scale(0.85);
    transform-origin: center top;
    margin-top: -6px;
    margin-bottom: -20px;
    overflow: visible;
  }

  .hero-caption {
    gap: 16px;
    font-size: 11px;
    letter-spacing: 1.2px;
    flex-wrap: wrap;
    margin-top: 12px;
    margin-bottom: 36px;
  }

  .focus-strip {
    gap: 16px;
    font-size: 13px;
    flex-wrap: wrap;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 22px;
  }

  /* Two-column splits stack vertically on mobile */
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .pillars article {
    margin-bottom: 32px;
  }

  .number {
    margin-bottom: 16px;
  }

  .page-intro {
    padding-top: 64px;
    padding-bottom: 50px;
  }

  .paper-preview {
    padding: 28px 20px;
    transform: none;
    min-height: auto;
  }

  .paper-preview h3 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .paper-row {
    font-size: 13px;
  }

  .paper-row span {
    font-size: 15px;
  }

  /* Detail Grid stacks to 1 column */
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 36px;
  }

  /* Readiness Layout & Checklist Mobile */
  .readiness-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 32px;
  }

  .readiness-item {
    font-size: 15.5px;
    padding: 16px 0;
  }

  .readiness-result {
    padding: 24px 20px;
    width: 100%;
  }

  /* Services list mobile */
  .service-list {
    padding-bottom: 60px;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0;
  }

  .service-row .number {
    margin-bottom: 0;
    color: var(--blue);
  }

  .service-row h2 {
    font-size: 22px !important;
    margin-bottom: 4px;
  }

  .service-row p {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .packages {
    margin-top: 36px;
  }

  .package {
    margin-bottom: 20px;
    padding: 26px 20px;
  }

  .package ul {
    min-height: auto;
  }

  .toolkit-list > div {
    margin-bottom: 28px;
  }

  .table-scroll {
    margin-top: 32px;
  }

  .compare th, .compare td {
    padding: 14px 14px;
  }

  summary {
    font-size: 17px;
  }

  /* Timeline mobile */
  .timeline-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 60px;
  }

  .phase-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 8px;
  }

  .phase-title h3 {
    margin-bottom: 2px;
  }

  .phase-title span {
    display: block;
    margin-bottom: 8px;
  }

  /* Team grid mobile */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Contact layout mobile */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 60px;
  }

  .inquiry {
    padding: 24px 18px;
  }

  /* Prevent iOS Safari auto-zoom on form inputs by ensuring 16px font-size */
  .inquiry input:not([type=checkbox]),
  .inquiry textarea,
  .inquiry select {
    font-size: 16px;
    padding: 12px 14px;
  }

  .inquiry label {
    margin-bottom: 18px;
  }

  #submit-btn {
    width: 100%;
  }

  .endcap {
    padding: 70px 20px;
  }

  /* Footer mobile */
  .footer-top, .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .resource-links {
    flex-direction: column;
    gap: 16px;
  }
}

/* ==========================================================================
   Small Mobile Devices (<= 360px)
   ========================================================================== */

@media (max-width: 360px) {
  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1 {
    font-size: 32px !important;
  }

  h1, .page-intro h1 {
    font-size: 28px !important;
  }

  h2 {
    font-size: 24px !important;
  }

  .sculpture {
    transform: scale(0.72);
    height: 320px;
    margin-bottom: -36px;
  }

  .paper-preview {
    padding: 22px 16px;
  }

  .inquiry {
    padding: 20px 14px;
  }

  .button {
    padding: 12px 20px;
    font-size: 15px;
  }

  .hero-caption {
    gap: 12px;
    font-size: 10px;
  }
}

/* ==========================================================================
   Accessibility & Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .motion .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
