/* SKY HILL — surface, colour and feedback only.
   Typography, spacing, dimensions and document flow are deliberately unchanged. */
:root {
  --finish-ink: #0b2346;
  --finish-blue: #165cbd;
  --finish-rule: #c7d5e7;
  --finish-paper: #f5f7fa;
  --finish-ease: cubic-bezier(.2,.7,.25,1);
}
::selection { background: #c5dcff; color: #07162b; }

/* Ink, porcelain and a restrained red accent. */
.site-header { border-bottom-color: #d9e1ec; }
.theme-night .site-header { border-bottom-color: #30415f; background: #050b1f; }
.site-nav a:after { background: linear-gradient(90deg,#e3121b 0 12px,#1a6fe8 12px 100%); }
.site-nav a:focus-visible { outline-color: #1a6fe8; }
.page-hero { background: linear-gradient(112deg,#fff 36%,#f0f4fa 100%); }
.page-hero .page-hero__title { color: #0b2346; }
.page-hero--work {
  color: #fff;
  background: linear-gradient(115deg,#050b1f 0%,#0a1f49 65%,#123c73 100%);
  --secondary: #ced9ec;
  --border: #3c5071;
}
.page-hero--work .page-hero__title,.page-hero--work h1 { color: #fff; }
.page-hero--work .page-hero__lead,.page-hero--work .breadcrumb,
.page-hero--work .eyebrow { color: #d9e3f2; }
.page-hero--work .page-hero__mast { border-color: #425678; }
.page-hero--work .kinetic-rule { background: linear-gradient(90deg,#649ff4,#7da2d3 36%,#425678); }
.page-hero--work .kinetic-scenery { color: #90b9ed; opacity: .52; }
.page-hero--work .kinetic-accent { stroke: #c2dcff; }
.page-hero--work .chapter-number { color: #fff; border-color: #7895bc; background: #102b52; }
.page-hero--work .chapter-number:after { box-shadow: 0 0 0 5px #14335e; }
.page-hero--work:after { opacity: .08; }
.page-contact .page-hero { background: linear-gradient(110deg,#fff 22%,#eaf1fa); }
.kinetic-scenery { color: #7395c1; opacity: .38; }
.chapter-number { background: #fff; border-color: #aebed4; color: #174b90; }
.home-explore { background: #f7f8fa; }
.home-belief { background: #fff; }
.service-picker { background: #f0f4f9; }
.page-work #consulting,.page-work #training { background: #fff; }
.page-work #development { background: #f2f5fa; }
.page-about .message-section { background: linear-gradient(120deg,#f3f5f9,#e9eff7); }
.origin-section { background: #f7f8fa; }
.company-section { background: #fff; }
.service__en,.section-heading__en { color: #123665; }
.section-heading__label,.service-block__heading .eyebrow,.principles dt { color: #2159a1; }
.section-kicker,.service-intro,.service-block--faq { border-color: var(--finish-rule); }

/* Cards use distinct colour planes; their content never moves. */
.portal,.service-select { box-shadow: 0 1px 0 #0920470b; }
.portal--work,.portal--work:hover { background: linear-gradient(135deg,#071933,#113874); }
.portal--work .brand-art { color: #91b7e4; }
.portal--contact,.portal--contact:hover { background: linear-gradient(135deg,#edf3fc,#dbe7f7); }
.portal--contact .brand-art { color: #5d85bc; }
.portal--contact .portal__arrow { background: #fff; border-color: #acc1df; }
.portal--about { box-shadow: inset 0 0 0 1px #0a1f5c0d; }
.portal--about .portal__arrow { background: #ffffffe6; }
.portal--work .portal__arrow { border-color: #6b8cb7; }
.service-select,.service-select:hover { color: #0b2346; background: #fff; border-color: #c7d5e7; }
.service-select:nth-child(2),.service-select:nth-child(2):hover {
  color: #fff; background: linear-gradient(145deg,#0a1f49,#143e77); border-color: #244c81;
}
.service-select:nth-child(2) p { color: #e2ebf7; }
.service-select:nth-child(2) .brand-art { color: #a3c1e7; }
.service-select:nth-child(2) .kinetic-accent { stroke: #e4f0ff; }
.service-select:nth-child(2) .service-select__arrow .icon { border-color: #7797c0; }
.service-select:nth-child(3),.service-select:nth-child(3):hover { background: #e9f0fa; }
.service-select .brand-art { color: #718fb8; }
.service-select.kinetic-card:after { border-color: #3575c9; }
.service-select:nth-child(2).kinetic-card:after { border-color: #aacbff; }
.service-select:before {
  content: ""; position: absolute; left: 0; top: 0; width: 52px; height: 2px;
  background: linear-gradient(90deg,#e3121b 0 12px,#1a6fe8 12px 100%);
  transform-origin: left; pointer-events: none;
}
.origin--0 { background: linear-gradient(140deg,#071a36,#153e74); }
.origin--1 { background: linear-gradient(140deg,#fff,#edf2f8); }
.origin { box-shadow: inset 0 0 0 1px #19396512; }

/* Editorial detail: borders and quiet surfaces, without new padding. */
.actions > div { border-color: #b8cbe3; }
.action__tag { color: #174e94; }
.actions p { color: #455a73; }
.page-work .process-panel {
  background: linear-gradient(90deg,#eff4fb 0%,#fff 34%);
  border-color: #b9cbe2; border-top-color: #165cbd;
  box-shadow: 0 8px 28px #0a1f5c05;
}
.process-list { border-color: #c7d5e7; }
.process-list > li { border-color: #d4dfed; }
.process-list__number { color: #185cb5; }
.process-list > li:last-child { border-bottom-color: #9db8da; }
.page-work .decisions > div { border-color: #abc1dd; }
.decisions dt { color: #184f92; }
.decisions dd,.process-list p { color: #45556b; }
.principles--expanded > div { border-color: #b6c9e2; }
.principles--expanded .principles__lead { color: #10376b; }
.principles--expanded .kinetic-rule { background: linear-gradient(90deg,#e3121b 0 16px,#1a6fe8 16px 100%); }
.message-letter strong { color: #154c91; }
.company-table { border-color: #b7c8de; }
.facts tr:nth-child(even) { background: #f3f6fa; }
.facts th,.facts td { border-color: #d4dfed; }
.faq details { border-color: #c8d6e8; }
.faq summary:before { color: #205ca8; }
.faq details[open] summary { color: #174f9b; }
.faq summary .icon { color: #1a5cb4; }
.faq details[open] > p { color: #45556b; }
.work-index { background: #fffffff5; border-color: #c9d7e8; }
.work-index a[aria-current="true"] { background: #edf3fc; color: #184f9e; }

/* The contact form feels like a clearly defined writing surface. */
.contact-section { background: linear-gradient(110deg,#f4f7fb,#edf2f9); }
.contact-paper { background: #fff; border-color: #b9cbe1; border-top-color: #165cbd; box-shadow: 0 14px 44px #102b5106; }
.form-paper__top { border-color: #bdd0e8; }
.form-field input:not([type="checkbox"]),.form-field textarea { background: #f8faff; border-color: #b6c8df; }
.form-field input:focus,.form-field textarea:focus { background: #fff; border-color: #165cbd; box-shadow: 0 0 0 3px #1a6fe815; }
.choice { border-color: #c8d5e5; background: #fff; }
.choice:has(input:checked) { border-color: #165cbd; background: #edf4ff; box-shadow: inset 0 0 0 1px #165cbd; }
.form-field input[aria-invalid="true"],.form-field textarea[aria-invalid="true"] { border-color: #b20e20; background: #fff9fa; }

/* End each page in the same deep ink used at the opening. */
.cta { background: linear-gradient(112deg,#050b1f 0%,#0b244b 65%,#133d72 100%); }
.cta .kinetic-scenery { color: #9ac3f4; opacity: .36; }
.cta .round-arrow,.hero__consult > span { border-color: #9aafcc; background: #ffffff05; }
.site-footer { background: #060e20; color: #eff4fc; border-top-color: #2c3c58; --line:#2b3d5a; --muted:#b6c4d8; --secondary:#b6c4d8; }
.site-footer .footer-tagline,.site-footer .footer-bottom { color: #bbc9dc; }
.site-footer .footer-nav a { border-color: #2c405e; }
.site-footer .footer-nav a:hover,.site-footer .footer-bottom a:hover { color: #a9cfff; }
.site-footer .back-top { border-color: #4d668a; }
.button:not(.button--outline):not(:disabled) { background: linear-gradient(110deg,#0a2146,#154780); border-color: #1b4377; }
.button--outline { background: transparent; border-color: #8ea9cc; }
.button { box-shadow: inset 0 1px 0 #ffffff1a; }
.button,.portal__arrow,.round-arrow,.hero__consult > span,.service-select__arrow .icon {
  transition: background-color 240ms var(--finish-ease),border-color 240ms var(--finish-ease),box-shadow 240ms var(--finish-ease),color 240ms var(--finish-ease);
}

/* Motion is on ink and ornaments, never on text or card layout. */
html:not([data-motion="off"]) :is(.portal,.service-select,.button):is(:hover,:focus-visible,:active) { transform: none; scale: none; }
.finish-etched { position: relative; }
.finish-etched:before {
  content: ""; position: absolute; left: 0; top: -1px; width: 36px; height: 2px;
  background: #1a6fe8; transform-origin: left; pointer-events: none;
}
.finish-etched.is-finished:before { animation: finish-etch 850ms var(--finish-ease) both; }
@keyframes finish-etch { from { transform: scaleX(0); opacity: .2; } to { transform: scaleX(1); opacity: 1; } }
.finish-press { animation: finish-press 360ms var(--finish-ease); }
@keyframes finish-press { 0% { box-shadow: inset 0 0 0 1px #1a6fe800; } 35% { box-shadow: inset 0 0 0 2px #6b9ee4; } 100% { box-shadow: inset 0 0 0 1px #1a6fe800; } }
@media (hover:hover) and (pointer:fine) {
  .portal--work:is(:hover,:focus-visible) .portal__arrow,
  .cta__link:is(:hover,:focus-visible) .round-arrow,
  .hero__consult:is(:hover,:focus-visible) > span { background: #fff; color: #123665; border-color: #fff; }
  .portal:not(.portal--work):is(:hover,:focus-visible) .portal__arrow { background: #123665; color: #fff; border-color: #123665; }
  .service-select:is(:hover,:focus-visible) .service-select__arrow .icon { background: #123665; color: #fff; border-color: #123665; }
  .service-select:nth-child(2):is(:hover,:focus-visible) .service-select__arrow .icon { background: #fff; color: #123665; border-color: #fff; }
  .service-select:is(:hover,:focus-visible):before { animation: finish-etch 550ms var(--finish-ease) both; }
  .button:not(:disabled):is(:hover,:focus-visible) { background: #174d90; border-color: #5587c4; color: #fff; box-shadow: inset 0 0 0 1px #77a2d3; }
  .faq summary:hover { color: #174f9b; }
  .process-list > li { transition: background-color 220ms; }
  .process-list > li:hover { background: #edf4ff99; }
  .back-top:hover { background: #1a3e6c; color: #fff; }
}
@media (max-width:760px) {
  .page-hero--work .chapter-number:after { box-shadow: 0 0 0 3px #14335e; }
  .page-work .process-panel { background: #fff; }
}
@media (prefers-reduced-motion:reduce) {
  .finish-etched:before,.finish-press,.service-select:before { animation: none !important; }
}
html[data-motion="off"] .finish-etched:before,html[data-motion="off"] .finish-press { animation: none !important; }
@media print {
  .site-footer,.cta,.page-hero--work,.service-select:nth-child(2) { background:#fff; color:#07162b; }
  .page-hero--work :is(.page-hero__title,h1,.page-hero__lead,.breadcrumb,.eyebrow),.service-select:nth-child(2) p { color:#07162b; }
  .finish-etched:before { display:none; }
}
