:root {
  --navy: #0a2342;
  --navy-2: #133b6b;
  --sky: #1f74e0;
  --sun: #ffb938;
  --sun-2: #e89a12;
  --cloud: #dbe7f8;
  --paper: #f6f9ff;
  --ink: #0d1b2e;
  --ink-soft: #4a5a70;
  --azure: #4a9bf5;
  --mist: rgba(255, 255, 255, 0.9);
  --serif: "Sora", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --shadow: 0 24px 60px -24px rgba(10, 30, 60, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, .cd-stats strong, .worth-num, .step-n, .flow-t { font-variant-numeric: lining-nums; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.14; margin: 0; letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h2 em, h1 em { font-style: normal; font-weight: 600; color: var(--sky); background: linear-gradient(90deg, var(--sky), var(--azure)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
p { margin: 0; }
.clouds h2 em, .contact h2 em, .cd-dark h2 em, .cd-next h2 em, .cd-hero h1 em { background: linear-gradient(90deg, #8fd0ff, #ffffff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 14px rgba(6, 30, 80, 0.55)); }


.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.paper { background: var(--paper); }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--sun);
  margin-bottom: 18px;
}
.eyebrow.dark { color: var(--sun-2); }
.intro { max-width: 720px; margin-top: 24px; font-size: 1.08rem; color: var(--ink-soft); font-weight: 300; }
.intro.light { color: rgba(255, 255, 255, 0.9); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px;
  font: 500 0.95rem/1 var(--sans); letter-spacing: 0.02em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sun { background: var(--sun); color: var(--navy); box-shadow: 0 10px 30px -10px rgba(255, 185, 56, 0.7); }
.btn-sun:hover { background: #ffc85c; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: var(--paper); backdrop-filter: blur(6px); background: rgba(10, 35, 66, 0.18); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px max(16px, calc((100% - 1160px) / 2));
  color: var(--paper);
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.nav.solid { background: rgba(10, 35, 66, 0.92); backdrop-filter: blur(10px); box-shadow: 0 8px 30px -18px rgba(0,0,0,.6); padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.brand-mark { width: 36px; height: 36px; color: #fff; }
.nav nav { display: flex; align-items: center; gap: 28px; font-size: 0.9rem; }
.nav nav a { text-decoration: none; opacity: 0.88; transition: opacity .2s; }
.nav nav a:hover { opacity: 1; }
.nav .nav-cta { border: 1px solid rgba(255, 255, 255, 0.5); padding: 9px 18px; border-radius: 999px; opacity: 1; }

.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-start; justify-content: center;
  color: #fff; overflow: hidden; isolation: isolate; text-align: center;
}
.hero-bg { position: absolute; inset: -6% 0 0 0; z-index: -3; will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; animation: breathe 40s ease-in-out infinite alternate; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6, 34, 90, 0.38) 0%, rgba(6, 34, 90, 0.12) 42%, rgba(246, 249, 255, 0) 70%, rgba(246, 249, 255, 0.55) 90%, var(--paper) 100%);
}
.hero-copy { position: relative; padding: clamp(130px, 21vh, 210px) 16px 0; max-width: 960px; }
.hero-copy::before { content: ""; position: absolute; inset: 14% -8% -18% -8%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(6, 40, 110, 0.5), rgba(6, 40, 110, 0.22) 60%, transparent); filter: blur(30px); }
.hero h1 { font-size: clamp(3rem, 8.6vw, 7.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; text-shadow: 0 4px 40px rgba(6, 34, 90, 0.35); }
.hero .h1-brand { display: block; font-size: 0.46em; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.12em; color: rgba(255, 255, 255, 0.96); }
.hero .lede { max-width: 640px; margin: 26px auto 0; font-size: clamp(1.04rem, 1.5vw, 1.22rem); font-weight: 400; color: rgba(255, 255, 255, 0.95); text-shadow: 0 1px 18px rgba(6, 34, 90, 0.45); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero .hero-actions { justify-content: center; }
.hero .btn-ghost { background: rgba(10, 45, 110, 0.55); border-color: rgba(255, 255, 255, 0.7); }
.hero .btn-ghost:hover { background: rgba(10, 45, 110, 0.72); }
.hero .eyebrow {
  display: inline-block; color: #fff; font-weight: 600;
  padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(8px);
}

.sky { position: absolute; inset: 0 0 auto 0; height: 45%; z-index: -2; pointer-events: none; }
.drift {
  position: absolute; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  filter: blur(18px); opacity: .7;
  animation: drift linear infinite;
}
.d1 { width: 520px; height: 140px; top: 6%; animation-duration: 95s; animation-delay: -20s; }
.d2 { width: 380px; height: 110px; top: 18%; animation-duration: 130s; animation-delay: -70s; opacity: .5; }
.d3 { width: 640px; height: 170px; top: 2%; animation-duration: 160s; animation-delay: -110s; opacity: .45; }
@keyframes drift { from { transform: translateX(-60vw); } to { transform: translateX(130vw); } }
@keyframes breathe { from { transform: scale(1.02); } to { transform: scale(1.09) translate(-1%, -1%); } }

.motes { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.mote {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.9); box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.55);
  animation: float var(--dur, 14s) ease-in-out infinite; animation-delay: var(--delay, 0s); opacity: 0;
}
@keyframes float {
  0% { transform: translate(0, 0); opacity: 0; }
  20% { opacity: .9; }
  80% { opacity: .7; }
  100% { transform: translate(var(--dx, 40px), -120px); opacity: 0; }
}

.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 1.5px solid rgba(10, 35, 66, 0.45); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--navy); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

.tenets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 64px; }
.tenet { background: #ffffff; border: 1px solid var(--cloud); border-radius: var(--radius); padding: 34px 30px; box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; }
.tenet-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #e6f0fd; color: var(--sky); margin-bottom: 22px; }
.tenet-icon svg { width: 28px; height: 28px; }
.tenet h3 { font-size: 1.65rem; margin-bottom: 12px; }
.tenet p { color: var(--ink-soft); font-size: 0.98rem; font-weight: 300; }

.clouds { position: relative; padding: clamp(90px, 12vw, 150px) 0; color: var(--paper); isolation: isolate; overflow: hidden; }
.clouds-bg { position: absolute; inset: -12% 0; z-index: -2; will-change: transform; }
.clouds-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.clouds::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 48, 120, 0.62), rgba(12, 70, 160, 0.38) 45%, rgba(8, 40, 100, 0.72)); }
.clouds-head h2, .clouds-head .intro { text-shadow: 0 1px 18px rgba(6, 20, 44, 0.55); }
.clouds-head { max-width: 760px; }
.clouds h2 em { color: var(--cloud); }
.cloud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 60px; }
.cloud-card {
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 22px; padding: 30px 28px 32px;
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  transition: transform .4s ease, background .4s ease;
}
.cloud-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.18); }
.cloud-kind { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sun); margin-bottom: 8px; }
.cloud-card h3 { font-size: 1.55rem; margin-bottom: 12px; }
.cloud-card p:last-child { font-size: 0.95rem; font-weight: 300; color: rgba(255, 255, 255, 0.9); }

.ai { background: linear-gradient(180deg, var(--paper), #e9f2fe); }
.ai-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; }
.ai-points { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 18px; }
.ai-points li { position: relative; padding-left: 30px; color: var(--ink-soft); font-weight: 300; }
.ai-points li::before { content: ""; position: absolute; left: 0; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: var(--azure); box-shadow: 0 0 0 5px rgba(74, 155, 245, 0.16); }
.ai-points strong { color: var(--ink); font-weight: 600; }
.ai-figure { margin: 0; background: var(--navy); color: var(--paper); border-radius: 26px; padding: 40px 36px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.ai-figure::before { content: ""; position: absolute; inset: auto -30% -40% auto; width: 360px; height: 360px; background: radial-gradient(closest-side, rgba(216,180,106,.25), transparent); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; position: relative; }
.flow::before { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(var(--sky), var(--sun)); opacity: .6; }
.flow li { display: grid; grid-template-columns: 18px 1fr; gap: 20px; }
.flow-dot { width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--navy); border: 2px solid var(--sky); position: relative; z-index: 1; }
.flow-dot.accent { border-color: var(--sun); background: var(--sun); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(216,180,106,.5); } 50% { box-shadow: 0 0 0 9px rgba(216,180,106,0); } }
.flow-t { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; }
.flow-d { font-size: 0.93rem; font-weight: 300; color: rgba(255, 255, 255, 0.78); margin-top: 4px; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 52px; }
.work { border-top: 2px solid var(--sun); padding-top: 24px; }
.work-tag { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sky); font-weight: 600; margin-bottom: 10px; }
.work h3 { font-size: 1.85rem; margin-bottom: 12px; }
.work > p:not(.work-tag):not(.work-sub) { color: var(--ink-soft); font-weight: 300; font-size: 0.98rem; }
.lane { margin-top: 110px; }
.lane-title { font-size: clamp(1.7rem, 3vw, 2.4rem); text-align: center; }
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: 24px; left: 12%; right: 12%; border-top: 2px dashed #b9cde9; }
.steps li { text-align: center; position: relative; }
.step-n { width: 48px; height: 48px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--sun); font-family: var(--serif); font-size: 1.4rem; position: relative; }
.steps h4 { font-size: 1.5rem; margin-bottom: 8px; }
.steps p { color: var(--ink-soft); font-size: 0.95rem; font-weight: 300; max-width: 240px; margin-inline: auto; }

.contact { position: relative; padding: clamp(90px, 12vw, 150px) 0; color: var(--paper); isolation: isolate; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; z-index: -2; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; filter: saturate(0.9); }
.contact::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8, 26, 56, 0.9) 0%, rgba(8, 26, 56, 0.72) 50%, rgba(8, 26, 56, 0.45) 100%); }
.contact h2 em { color: var(--cloud); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.card-form { background: var(--mist); color: var(--ink); border-radius: 22px; padding: 34px 32px; box-shadow: var(--shadow); backdrop-filter: blur(10px); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--navy-2); }
.opt { font-weight: 300; color: var(--ink-soft); }
.field input, .field textarea {
  font: 400 1rem/1.5 var(--sans); color: var(--ink);
  background: #ffffff; border: 1px solid #c9d8ee; border-radius: 10px; padding: 12px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(31, 116, 224, 0.15); }
.field textarea { resize: vertical; min-height: 120px; }
.card-form .btn { justify-self: start; }
.card-form .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.form-status { font-size: 0.92rem; min-height: 1.4em; color: var(--navy-2); }
.form-status.err { color: #9b3b2a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.footer { background: var(--navy); color: var(--paper); padding: 44px 0; }
.footer-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.footer-brand { font-family: var(--serif); font-size: 1.5rem; }
.footer-operated { font-size: 0.95rem; color: rgba(255, 255, 255, 0.92); margin: 4px 0 2px; }
.footer-operated a { color: #8fd0ff; text-decoration: none; border-bottom: 1px solid rgba(143, 208, 255, 0.4); }
.footer-sub { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); font-weight: 300; }

.brandcase { text-transform: none; letter-spacing: 0.08em; font-size: 0.95rem; }
.work-sub { font-family: var(--serif); font-weight: 500; font-size: 0.98rem; color: var(--sky); margin: -6px 0 10px; }
.cd-tagline { font-family: var(--serif); font-weight: 500; font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--sun); margin: 0 0 12px; }
.work-link { display: inline-block; margin-top: 14px; font-weight: 500; font-size: 0.93rem; color: var(--sky); text-decoration: none; border-bottom: 1px solid rgba(31, 116, 224, 0.35); }
.work-link + .work-link { margin-left: 18px; }
.work-link:hover { border-color: var(--sky); }
.btn-line { border-color: var(--navy-2); color: var(--navy); }
.btn-line:hover { background: rgba(10, 35, 66, 0.06); }
.hero-actions.center { justify-content: center; }

.cd-hero { position: relative; color: var(--paper); padding: 150px 0 110px; overflow: hidden; isolation: isolate; }
.cd-hero .hero-bg { inset: -10% 0 0 0; }
.cd-hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.cd-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6, 22, 48, 0.9) 0%, rgba(6, 22, 48, 0.72) 45%, rgba(6, 22, 48, 0.45) 100%); }
.cd-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.cd-hero h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.cd-hero h1 em { color: var(--cloud); }
.cd-hero .lede { margin-top: 22px; font-weight: 300; font-size: 1.08rem; color: rgba(255, 255, 255, 0.9); max-width: 560px; }
.cd-hero .eyebrow { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 185, 56, 0.55); background: rgba(8, 26, 56, 0.45); font-weight: 600; }
.cd-hero-shot { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.14); transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
.cd-hero-shot img { width: 100%; height: auto; }
.cd-stats { list-style: none; padding: 0; margin: 38px 0 0; display: flex; gap: 34px; flex-wrap: wrap; }
.cd-stats strong { display: block; font-family: var(--serif); font-size: 2.3rem; font-weight: 500; color: var(--sun); line-height: 1; }
.cd-stats span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.75); }

.cd-steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cd-steps li { background: #ffffff; border: 1px solid var(--cloud); border-radius: var(--radius); padding: 28px 24px; }
.cd-steps .step-n { margin: 0 0 16px; }
.cd-steps h3 { font-size: 1.45rem; margin-bottom: 10px; }
.cd-steps p { color: var(--ink-soft); font-weight: 300; font-size: 0.95rem; }

.cd-dark { background: radial-gradient(ellipse at 80% 0%, #1b4f8f, transparent 55%), var(--navy); color: var(--paper); }
.cd-dark h2 em { color: var(--cloud); }
.cd-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; margin-top: 56px; }
.cd-shot { margin: 0; grid-column: span 3; }
.cd-shot.wide { grid-column: 1 / -1; }
.cd-shot.phone { grid-column: span 3; display: grid; grid-template-columns: 170px 1fr; gap: 28px; align-items: center; }
.cd-shot img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.12); }
.cd-shot.phone img { border-radius: 30px; border: 6px solid #0a1830; }
.cd-shot figcaption { margin-top: 16px; font-size: 0.95rem; font-weight: 300; color: rgba(255, 255, 255, 0.82); }
.cd-shot figcaption strong { color: var(--sun); font-weight: 600; }
.cd-shot.phone figcaption { margin-top: 0; font-size: 1.02rem; }

.cal-layout { display: grid; grid-template-columns: 0.85fr 1.25fr; gap: 56px; align-items: center; }
.cal-mock { margin: 0; background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 20px; border: 1px solid var(--cloud); }
.cal-head { display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px; }
.cal-head p { font-weight: 600; font-size: 1rem; flex: 1; }
.cal-dot { width: 12px; height: 12px; border-radius: 3px; background: #4285f4; }
.cal-tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sky); background: #e6f0fd; padding: 4px 10px; border-radius: 999px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid #e3ebf6; border-left: 1px solid #e3ebf6; }
.cal-dow { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #8a8f86; text-align: center; padding: 8px 0; border-right: 1px solid #e3ebf6; border-bottom: 1px solid #e3ebf6; }
.cal-day { min-height: 118px; padding: 6px; border-right: 1px solid #e3ebf6; border-bottom: 1px solid #e3ebf6; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cal-day.wk { background: #f5f8fd; }
.cal-day b { font-size: 0.8rem; font-weight: 500; color: #5d625a; }
.ev { font-style: normal; font-size: 0.66rem; line-height: 1.3; padding: 4px 6px; border-radius: 5px; color: #fff; overflow: hidden; }
.ev-a { background: #7478c8; } .ev-b { background: #4f7a4a; } .ev-c { background: #c79a45; } .ev-d { background: #3b7ea1; } .ev-r { background: #d64545; }
.cal-mock figcaption { font-size: 0.82rem; color: var(--ink-soft); margin-top: 12px; padding-left: 6px; }

.cd-useful { background: linear-gradient(180deg, #e9f2fe, var(--paper)); }
.useful-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.useful-grid article { border-top: 2px solid var(--sun); padding-top: 20px; }
.useful-grid h3 { font-size: 1.6rem; margin-bottom: 10px; }
.useful-grid p { color: var(--ink-soft); font-weight: 300; font-size: 0.96rem; }
.worth { margin-top: 64px; display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; background: var(--navy); color: var(--paper); border-radius: 22px; padding: 36px 40px; }
.worth-num { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--sun); line-height: 1; }
.worth-text { font-weight: 300; color: rgba(255, 255, 255, 0.88); }

.arch { margin: 56px 0 0; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 22px; padding: 26px; overflow-x: auto; }
.arch svg { width: 100%; min-width: 720px; height: auto; display: block; }
.a-edge path { fill: none; stroke: #ffb938; stroke-width: 2; marker-end: url(#ah); opacity: 0.85; }
.a-node rect { fill: rgba(255, 255, 255, 0.08); stroke: rgba(255, 255, 255, 0.35); stroke-width: 1.2; }
.a-node rect.a-ai { fill: rgba(74, 155, 245, 0.22); stroke: #7cc4ff; }
.a-t { fill: #f7f2e6; font: 600 17px var(--sans); text-anchor: middle; }
.a-s { fill: rgba(255, 255, 255, 0.7); font: 400 13px var(--sans); text-anchor: middle; }
.a-lbl { fill: #ffb938; font: italic 500 14px var(--sans); }
.cd-cloud-grid { grid-template-columns: repeat(4, 1fr); }

.lines { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
.lines-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.lines-list li { background: #ffffff; border: 1px solid var(--cloud); border-left: 4px solid #d64545; border-radius: 10px; padding: 16px 20px; font-size: 1rem; }

.cd-next { background: linear-gradient(180deg, #0a2342, #133b6b); color: var(--paper); }
.cd-next h2 em { color: var(--cloud); }
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.next { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 18px; padding: 26px 24px; transition: transform .35s ease, background .35s ease; }
.next:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.1); }
.next-tag { display: inline-block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); background: var(--sun); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.next-tag.built { background: #9ee2b8; }
.next h3 { font-size: 1.5rem; margin-bottom: 10px; }
.next p { font-size: 0.94rem; font-weight: 300; color: rgba(255, 255, 255, 0.82); }
.cd-cta { text-align: center; }
.cd-cta .intro { margin-inline: auto; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .tenets, .cloud-grid, .work-grid { grid-template-columns: 1fr 1fr; }
  .ai-layout, .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .cd-hero-grid, .cal-layout, .lines { grid-template-columns: 1fr; gap: 44px; }
  .cd-hero-shot { transform: none; }
  .cd-steps, .useful-grid, .cd-cloud-grid { grid-template-columns: 1fr 1fr; }
  .next-grid { grid-template-columns: 1fr 1fr; }
  .cd-shot, .cd-shot.phone { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav nav a:not(.nav-cta) { display: none; }
  .nav .nav-cta { padding: 8px 14px; font-size: 0.82rem; }
  .brand { font-size: 1.2rem; }
  .tenets, .cloud-grid, .work-grid { grid-template-columns: 1fr; }
  .hero-bg img { object-position: 45% 75%; }
  .d1, .d3 { width: 320px; }
  .card-form { padding: 26px 20px; }
  .cd-hero { padding: 120px 0 80px; }
  .cd-steps, .useful-grid, .cd-cloud-grid, .next-grid { grid-template-columns: 1fr; }
  .cd-shot.phone { grid-template-columns: 1fr; justify-items: center; }
  .cd-shot.phone img { max-width: 260px; }
  .worth { grid-template-columns: 1fr; padding: 28px 24px; gap: 14px; }
  .cal-mock { padding: 14px; }
  .cal-grid { display: block; border: 0; }
  .cal-dow, .cal-day:not(:has(.ev)) { display: none; }
  .cal-day { min-height: 0; border: 0; border-top: 1px solid #e3ebf6; padding: 10px 2px; gap: 6px; }
  .cal-day b { display: none; }
  .cal-day::before { content: attr(data-d); font-size: 0.8rem; font-weight: 600; color: var(--navy-2); }
  .ev { font-size: 0.8rem; padding: 7px 10px; }
  .cd-stats { gap: 22px; }
}
@media (max-width: 420px) {
  .brand { font-size: 1.08rem; gap: 8px; }
  .nav .nav-cta { padding: 7px 12px; font-size: 0.78rem; }
  .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
