/* Kotare homepage: a contained, scroll-driven editorial journey. */
html { scroll-behavior: smooth; }
.page { isolation: isolate; }
.page::before { z-index: -1; }
.topbar { position: relative; z-index: 2; }
.topbar .brand { font-size: .72rem; }
a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid #8be6ff; outline-offset: 6px; }
.landing-hero { position: relative; display: flex; flex-direction: column; align-items: center; padding: 46px 28px 0; text-align: center; isolation: isolate; }
.landing-logo { width: clamp(205px, 28vw, 300px); height: auto; margin: 0 0 30px; }
.micro-label, .section-marker, .hero-baseline, .workflow-caption, .card-footnote, .inline-tags, .home-footer { font-size: .68rem; font-weight: 600; line-height: 1.5; letter-spacing: .15em; text-transform: uppercase; }
.micro-label { color: #8be6ff; margin: 0 0 20px; }
.landing-hero h1 { font-size: clamp(2.75rem, 6.5vw, 5.2rem); line-height: 1.02; letter-spacing: -.055em; margin: 0; font-weight: 600; }
em { font-style: normal; color: #8be6ff; }
.hero-subtitle { color: #a0b5c3; font-size: clamp(1rem, 1.8vw, 1.18rem); line-height: 1.7; margin-top: 26px; }
.explore-link { display: inline-flex; align-items: center; gap: 24px; color: #d0e1eb; text-decoration: none; font-size: .78rem; margin: 38px 0 54px; padding: 12px 0; }
.explore-link span { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line-bright); border-radius: 50%; }
.explore-link:hover span { background: var(--accent-soft); }
.hero-baseline { width: 100%; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-around; gap: 18px; padding: 22px 0; color: #7994a7; font-size: .59rem; }
.hero-orbits { position: absolute; width: 650px; height: 650px; top: -100px; left: calc(50% - 325px); z-index: -1; opacity: .38; }
.hero-orbits i { position: absolute; inset: 0; border: 1px solid #327da044; border-radius: 50%; }
.hero-orbits i:nth-child(2) { inset: 45px; border-style: dashed; }
.hero-orbits i:nth-child(3) { inset: 100px; }
.hero-orbits span { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #8be6ff; top: 117px; left: 70px; box-shadow: 0 0 22px #54c2ff; }
.scroll-story { padding: 0 clamp(22px, 5vw, 56px); }
.story-section { position: relative; padding: 95px 0 35px; scroll-margin-top: 22px; }
.section-marker { display: flex; gap: 24px; align-items: center; color: #7994a7; margin-bottom: 40px; font-size: .6rem; }
.marker-line { height: 1px; flex: 1; background: linear-gradient(90deg, var(--line-bright), transparent); }
.section-intro { max-width: 660px; }
.story-section h2, .closing-card h2 { margin: 0 0 24px; font-size: clamp(2.05rem, 4.2vw, 3.3rem); line-height: 1.13; letter-spacing: -.045em; font-weight: 550; }
.section-intro > p, .story-card > p { color: #a9becb; line-height: 1.8; font-size: 1rem; }
.section-intro > p { max-width: 570px; }
.story-card { position: relative; border: 1px solid #34566b80; border-radius: 20px; padding: 32px; background: linear-gradient(140deg, #102636f2, #091723fa 80%); box-shadow: 0 20px 40px #00000018; }
.story-card h3 { font-size: 1.4rem; line-height: 1.3; font-weight: 550; letter-spacing: -.025em; margin: 0 0 18px; }
.story-card > p { font-size: .94rem; }
.people-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; align-items: stretch; }
.human-card, .support-card { padding: 38px; }
.card-symbol { display: block; font-size: 2.75rem; color: #8be6ff; margin-bottom: 30px; line-height: 1; }
.card-footnote { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 28px; color: #7ea2b9; font-size: .58rem; }
.support-card { margin-top: 0; background: linear-gradient(140deg,#122a35,#0a1821); }
.signal-dots { display: flex; gap: 6px; height: 31px; margin-bottom: 26px; align-items: center; }
.signal-dots i { width: 5px; height: 18px; background: #8be6ff; border-radius: 4px; }
.signal-dots i:nth-child(2) { height: 30px; opacity: .6; }.signal-dots i:nth-child(3) { height: 12px; opacity: .35; }
.split-layout { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 20px; }
.text-link { display: inline-flex; align-items: center; gap: 18px; padding: 12px 0; text-decoration: none; color: #d3e6f1; font-size: .8rem; border-bottom: 1px solid #4a7d9666; }
.section-intro .text-link { margin-top: 24px; }
.text-link:hover { color: #8be6ff; border-color: #8be6ff; }
.tech-art { pointer-events: none; user-select: none; }
.tech-art svg { display: block; width: 100%; stroke: #42758e66; stroke-width: 1; }
.tech-art svg .bright { stroke: #9beaff; stroke-width: 2; }
.tech-art svg .node { fill: #87dcf6; stroke: none; }
.tech-art svg .core { fill: #132c3c; stroke: #6bd8ff80; }
.agent-map { position: relative; width: 100%; }
.map-label { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .54rem; text-transform: uppercase; letter-spacing: .12em; color: #8daaba; background: #0a1823; padding: 5px 10px; }
.map-top { top: 0; }.map-bottom { bottom: 0; }
.map-center { position: absolute; top: 60%; left: 50%; transform: translateX(-50%); color: #8be6ff; font-size: .48rem; letter-spacing: .13em; white-space: nowrap; }
.three-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 36px; }
.compact-card { padding: 27px; }.compact-card h3 { font-size: 1.13rem; }.compact-card p { font-size: .87rem; }
.card-index { display: block; font-size: .65rem; color: #6790a8; margin-bottom: 25px; letter-spacing: .1em; }
.centered-intro { text-align: center; margin: 0 auto; }.centered-intro > p { margin-inline: auto; }
.infrastructure-scene { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.rack-art { position: relative; grid-column: 1 / -1; height: 310px; display: flex; align-items: center; justify-content: center; gap: 18px; isolation: isolate; }
.rack-grid { position: absolute; inset: 0 0 -10%; background-image: linear-gradient(#34729230 1px, transparent 1px), linear-gradient(90deg,#34729230 1px,transparent 1px); background-size: 38px 38px; transform: perspective(400px) rotateX(55deg); mask-image: radial-gradient(ellipse,black,transparent 70%); z-index: -1; }
.server-rack { width: 135px; height: 190px; border: 1px solid #3b687d; border-radius: 12px; padding: 17px 13px; background: linear-gradient(120deg,#153547,#081722); box-shadow: 12px 20px 28px #0005; transform: skewY(-5deg); }
.server-rack span,.server-rack b { font-size: .49rem; color: #8babbe; font-weight: 500; letter-spacing: .14em; display: block; }.server-rack b { margin-top: 15px; color: #72bcd6; }
.server-rack i { height: 28px; display: block; border: 1px solid #3d617766; margin-top: 9px; border-radius: 3px; background: repeating-linear-gradient(90deg,transparent 0 4px,#456b7d66 4px 5px) 10px center/44px 9px no-repeat,#091a27; position: relative; }
.server-rack i::after { content: ''; position: absolute; right: 10px; top: 12px; width: 3px; height: 3px; border-radius: 50%; background: #8be6ff; box-shadow: 0 0 8px #8be6ff; }
.rack-one { margin-top: 38px; }.rack-two { margin-top: -24px; }.rack-three { margin-top: 6px; }
.inline-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; letter-spacing: .05em; font-size: .56rem; }.inline-tags span { padding: 7px 9px; border: 1px solid var(--line); border-radius: 5px; color: #91bacf; }
.private-card { margin-top: 0; }
.network-layout { display: grid; grid-template-columns: .9fr 1.25fr; gap: 16px; align-items: center; }.network-card { padding: 38px; }.network-card h2 { font-size: clamp(1.9rem,3.7vw,2.7rem); }.network-card .micro-label,.knowledge-card .micro-label { font-size: .59rem; color: #8be6ff; }
.shield { fill: #122d3b; stroke: #66b8d2; }
.clean-list { list-style: none; padding: 0; margin: 25px 0 0; color: #a9c1d0; font-size: .79rem; line-height: 1.6; }.clean-list li { border-top: 1px solid var(--line); padding: 12px 0 12px 20px; position: relative; }.clean-list li::before { content: '+'; color: #8be6ff; position: absolute; left: 0; }
.workflow-caption { font-size: .6rem; color: #7398ac; margin-top: 46px; margin-bottom: 20px; }
.workflow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.workflow-card { padding: 28px; }.workflow-card:nth-child(even) { transform-origin: top left; }.workflow-number { color: #7199b0; display: flex; justify-content: space-between; margin-bottom: 30px; font-size: .7rem; }.workflow-number span { color: #8be6ff; font-size: 1.1rem; }.workflow-card h3 { font-size: 1.22rem; }.review-card { border-color: #73cce577; background: linear-gradient(125deg,#123345,#0a1c2a); }
.knowledge-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 24px; margin-top: 32px; }.knowledge-card, .inbox-card { padding: 32px; }.knowledge-card h2 { font-size: clamp(1.95rem,3.6vw,2.6rem); }.knowledge-layout .muted-note { font-size: .79rem; border-top: 1px solid var(--line); margin-top: 30px; padding-top: 24px; color: #81a4b9; }.knowledge-side { min-width: 0; }
.document-art { height: 250px; position: relative; width: 100%; }.document-sheet { position: absolute; width: 134px; height: 164px; border: 1px solid #46708b; border-radius: 9px; background: linear-gradient(150deg,#1b3f55,#0e202e); padding: 20px; left: calc(50% - 67px); top: 40px; box-shadow: 0 12px 24px #0004; }.sheet-back { transform: rotate(-18deg) translate(-50px,-10px); }.sheet-middle { transform: rotate(13deg) translate(43px,-9px); }.sheet-front { transform: rotate(-3deg) translateY(16px); }.document-sheet span { color: #8daebe; font-size: .44rem; letter-spacing: .12em; }.document-sheet i { display: block; height: 3px; margin-top: 14px; background: #5f9ab955; }.document-sheet i:nth-of-type(2) { width: 70%; }.document-sheet b { position: absolute; bottom: 13px; right: 20px; color: #8be6ff; font-size: 1.9rem; font-weight: 400; }
.inbox-card { margin-top: 0; }
.web-scene { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 50px; }.browser-art { grid-column: 1/-1; width: 80%; max-width: 620px; margin: 0 auto 14px; border: 1px solid #416b80; border-radius: 12px; overflow: hidden; background: #0d1f2d; transform-origin: center; box-shadow: 0 30px 80px #0005; }.browser-chrome { border-bottom: 1px solid #345567; padding: 14px 18px; display: flex; gap: 25px; align-items: center; color: #5d91a8; }.browser-chrome span { font-size: .5rem; letter-spacing: .2em; }.browser-chrome b { font-size: .43rem; letter-spacing: .16em; font-weight: 400; }.browser-body { display: grid; grid-template-columns: 18% 1fr; min-height: 270px; }.browser-sidebar { border-right: 1px solid #34556766; padding: 22px 15px; }.browser-sidebar i { display: block; height: 4px; background: #47778f55; margin-bottom: 22px; }.browser-sidebar i:first-child { background: #8be6ff99; width: 70%; }.browser-content { padding: 24px; }.browser-banner { display: flex; gap: 18px; align-items: center; }.browser-banner > span { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #8be6ff88; background: #1d485955; }.browser-banner > div { flex: 1; }.browser-banner i { display: block; width: 60%; height: 5px; background: #6aacc888; margin: 8px 0; }.browser-banner i:nth-child(2) { width: 40%; opacity: .5; }.browser-tiles { display: flex; gap: 12px; margin-top: 26px; }.browser-tiles span { height: 45px; flex: 1; border: 1px solid #335c74; border-radius: 4px; background: linear-gradient(140deg,#16364a,#102333); }.browser-chart { display: flex; align-items: end; gap: 9px; height: 76px; margin-top: 18px; border-bottom: 1px solid #416b80; }.browser-chart i { flex: 1; background: linear-gradient(0deg,#244a63,#6cbed288); height: 25%; border-radius: 2px 2px 0 0; }.browser-chart i:nth-child(2n) { height: 45%; }.browser-chart i:nth-child(3n) { height: 62%; }.browser-chart i:nth-child(5) { height: 78%; }.browser-chart i:last-child { height: 95%; background: linear-gradient(0deg,#244a63,#8be6ff); }
.web-card-two { margin-top: 0; }
.delivery-track { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; margin-top: 48px; }.delivery-track article { border-top: 1px solid #518ba266; padding-top: 25px; }.delivery-track article > span { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid #518ba266; border-radius: 50%; color: #8be6ff; font-size: .55rem; }.delivery-track h3 { font-size: 1.08rem; margin: 23px 0 14px; font-weight: 550; }.delivery-track p { font-size: .85rem; color: #9bb4c4; line-height: 1.8; }
.closing-card { min-height: 50vh; display: flex; flex-direction: column; justify-content: center; margin: 110px 0 45px; text-align: center; border: 1px solid #48748c77; border-radius: 22px; padding: 70px 25px; background: radial-gradient(ellipse at center bottom,#173c5066,transparent 75%),#0b1c29; position: relative; overflow: hidden; isolation: isolate; }.closing-card h2 { font-size: clamp(2rem,4.7vw,3.5rem); }.closing-actions { display: flex; flex-wrap: wrap; gap: 15px 28px; align-items: center; justify-content: center; margin-top: 32px; }.primary-link { display: inline-flex; gap: 36px; background: #a0e6f6; color: #092231; border-radius: 7px; padding: 15px 22px; text-decoration: none; font-size: .85rem; font-weight: 650; }.primary-link:hover { background: #cef5ff; }.closing-orbit { position: absolute; z-index: -1; width: 550px; height: 550px; left: calc(50% - 275px); top: 80px; border: 1px solid #73b8d21a; border-radius: 50%; box-shadow: 0 0 0 45px #73b8d208,0 0 0 90px #73b8d206; }
.home-footer { display: flex; justify-content: space-between; gap: 22px; padding: 26px clamp(22px,5vw,56px); color: #708d9f; border-top: 1px solid var(--line); font-size: .54rem; }.home-footer .brand { color: #c3dbe8; font-size: .67rem; }.home-footer a span { margin-left: 15px; }
/* Content is visible without JavaScript. Motion is added progressively. */
[data-reveal] { transform-origin: center; }
.motion-enabled [data-reveal] { backface-visibility: hidden; opacity: 0; }
.motion-enabled [data-reveal].motion-active { will-change: transform, opacity; }
.motion-enabled [data-drift].motion-active { will-change: transform; }
@media (max-width: 780px) {
  .topbar { flex-direction: row; align-items: center; gap: 12px; }
  .topbar-nav { gap: 16px; }.topbar .brand { font-size: .63rem; letter-spacing: .11em; }
  .landing-hero { padding-top: 34px; }.hero-baseline { font-size: .48rem; gap: 12px; letter-spacing: .08em; }
  .story-section { padding-top: 74px; }.section-marker { margin-bottom: 30px; }
  .story-card { padding: 26px; }.people-layout,.knowledge-layout { gap: 18px; }.support-card { margin-top: 0; }
  .three-cards { gap: 12px; }.compact-card { padding: 20px; }.compact-card h3 { font-size: 1.05rem; }.compact-card p { font-size: .82rem; }
  .network-layout { grid-template-columns: .7fr 1.3fr; }.network-card { padding: 28px; }
  .delivery-track { gap: 18px; }
}
@media (max-width: 600px) {
  .page { border-radius: 22px; }
  .topbar { flex-wrap: wrap; padding-top: 14px; padding-bottom: 12px; }.topbar-nav { gap: 14px; }.topbar .brand { font-size: .59rem; }
  .landing-hero { padding-inline: 20px; }.landing-logo { width: 220px; margin-bottom: 28px; }.landing-hero h1 { font-size: clamp(2.4rem,9.8vw,3.6rem); }.hero-subtitle { font-size: .92rem; }.micro-label { font-size: .6rem; }
  .hero-baseline { gap: 10px 18px; justify-content: center; padding-block: 22px; }.hero-baseline span:last-child { width: 100%; }
  .explore-link { margin-block: 27px 34px; }
  .story-section { padding-top: 64px; padding-bottom: 18px; }.section-marker { font-size: .5rem; letter-spacing: .1em; gap: 10px; }.section-marker > span:first-child { max-width: 86%; }
  .story-section h2 { font-size: clamp(1.9rem,7.8vw,2.6rem); }.section-intro > p { font-size: .94rem; }
  .people-layout,.split-layout,.three-cards,.infrastructure-scene,.network-layout,.workflow-grid,.knowledge-layout,.web-scene,.delivery-track { grid-template-columns: 1fr; }
  .people-layout { margin-top: 30px; }.support-card,.private-card,.web-card-two { margin-top: 0; }.story-card { padding: 26px; }.story-card h3 { font-size: 1.3rem; }.story-card p { font-size: .91rem; }
  .human-card .card-symbol { margin-bottom: 22px; }.card-footnote { padding-top: 20px; margin-top: 22px; }
  .agent-map { max-width: 340px; margin: 20px auto 5px; }.three-cards { margin-top: 22px; gap: 16px; }.compact-card { padding: 25px; }.card-index { margin-bottom: 16px; }
  .centered-intro { text-align: left; }.rack-art { height: 245px; gap: 8px; margin: 0 -10px; }.server-rack { width: 30%; max-width: 105px; height: 158px; padding: 12px 8px; }.server-rack i { height: 23px; margin-top: 7px; }.server-rack span,.server-rack b { font-size: .4rem; }.server-rack b { margin-top: 11px; }.server-rack i::after { top: 10px; right: 6px; }
  .security-art { width: 240px; margin: -16px auto 15px; }.network-card h2,.knowledge-card h2 { font-size: clamp(1.7rem,7.2vw,2.25rem); }.clean-list { font-size: .75rem; }
  .workflow-caption { margin-top: 30px; font-size: .53rem; }.workflow-number { margin-bottom: 22px; }
  .knowledge-side { display: grid; }.document-art { height: 260px; }.inbox-card { margin-top: 0; }
  .web-scene { margin-top: 34px; }.browser-art { width: 100%; margin-bottom: 8px; }.browser-body { min-height: 200px; grid-template-columns: 16% 1fr; }.browser-content { padding: 16px; }.browser-sidebar { padding: 20px 8px; }.browser-chrome { padding: 12px; gap: 14px; }.browser-chrome b { font-size: .34rem; }.browser-tiles { gap: 7px; margin-top: 20px; }.browser-chart { height: 55px; gap: 5px; }
  .delivery-track { margin-top: 30px; gap: 28px; }.delivery-track article { padding-top: 22px; }.delivery-track h3 { margin-top: 16px; }.delivery-track p { font-size: .92rem; }
  .closing-card { margin-top: 65px; padding: 48px 20px; margin-bottom: 30px; }.closing-card h2 { font-size: 1.9rem; }.closing-actions { flex-direction: column; gap: 18px; }.closing-card .micro-label { font-size: .49rem; }.home-footer { flex-wrap: wrap; align-items: center; font-size: .45rem; letter-spacing: .09em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], [data-drift] { transform: none !important; opacity: 1 !important; will-change: auto !important; }
}

/* The header and travelling logo live outside the clipped page container. */
.topbar {
  position: fixed;
  z-index: 30;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(var(--max) - 2px), calc(100% - 34px));
  height: 84px;
  padding-top: 0;
  padding-bottom: 0;
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  border-radius: 27px 27px 0 0;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, border-radius 220ms ease;
}
.topbar.is-floating {
  background: rgba(7, 20, 30, .94);
  border-color: rgba(115, 181, 216, .24);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .3);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.header-spacer { height: 84px; flex: 0 0 84px; }
.header-logo-dock {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 48px;
  border-radius: 8px;
  visibility: hidden;
}
.logo-enhanced .topbar.logo-is-docked .header-logo-dock { visibility: visible; }
.logo-enhanced .landing-logo { visibility: hidden; }
.travelling-logo {
  position: fixed;
  z-index: 31;
  top: 0;
  left: 0;
  display: block;
  height: auto;
  max-width: none;
  margin: 0;
  transform-origin: top left;
  pointer-events: none;
}
html { scroll-padding-top: 120px; }
@media (max-width: 600px) {
  .topbar { height: 72px; border-radius: 21px 21px 0 0; }
  .topbar.is-floating { border-radius: 15px; }
  .header-spacer { height: 72px; flex-basis: 72px; }
  .header-logo-dock { width: 64px; height: 44px; }
  html { scroll-padding-top: 106px; }
}

/* A calmer, moderately sized main message replaces the former large headline. */
.landing-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.18;
  letter-spacing: -.035em;
  font-weight: 550;
}
.landing-hero h1 span, .landing-hero h1 em { display: inline-block; }

/* Professional, single-colour IT/AI glyphs for the existing signal-match gate. */
.contact-challenge-glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 38px);
  padding: 9px 12px;
  letter-spacing: normal;
  color: #bbd0dc;
  text-shadow: none;
  background: rgba(6, 16, 24, .72);
}
.contact-target-symbol { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.contact-target-order { font: 9px/1 "Segoe UI", sans-serif; letter-spacing: .12em; color: #718e9f; }
.contact-target-symbol svg, .contact-glyph-option svg { width: 28px; height: 28px; display: block; }
.contact-glyph-option { position: relative; min-height: 52px; padding: 10px; color: #bbd0dc; }
.contact-glyph-option:hover, .contact-glyph-option:focus-visible {
  color: #e2edf3;
  border-color: #718e9f;
  box-shadow: inset 0 0 0 1px #718e9f33;
}
.contact-glyph-option.is-selected, .contact-glyph-option.is-correct {
  color: #cfdee7;
  border-color: #8ba9ba;
  background: #162b38;
  box-shadow: inset 0 0 0 1px #8ba9ba33;
}
.contact-glyph-option[data-order]::after {
  content: attr(data-order);
  position: absolute;
  top: 5px;
  right: 7px;
  font-size: 9px;
  line-height: 1;
  color: #a8bfcc;
}
.contact-glyph-option.is-wrong { color: #c5b9b2; border-color: #9d8980; box-shadow: none; }
.contact-panel {
  max-height: calc(100dvh - clamp(32px, 8vw, 72px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #345567 transparent;
}
