.sword-home{--paper:#060a13;--ink:#edf5fb;--muted:#9aaabd;--line:#243142;--accent:#78e8ff;--green:#132432;--white:#101a28;background:var(--paper);color:var(--ink)}
.sword-home .header{position:absolute;top:0;left:0;width:100%;z-index:20;border-color:#ffffff12;background:linear-gradient(#060a13cc,transparent)}
.sword-home .header-inner{height:86px}.sword-home .brand-dot{box-shadow:0 0 16px #54d9ff}.sword-home .button{background:#b0f0ff;color:#07111c;font-weight:600}.sword-home .button:hover{background:white}.sword-home .nav-contact{border-color:#7195a8}.sword-home .skip{z-index:100;background:#c5f3ff;color:#07111c}
.sword-journey{position:relative;isolation:isolate;background:#060a13}.sword-stage{position:sticky;top:0;height:100svh;min-height:500px;overflow:hidden;pointer-events:none;margin-bottom:-100svh;background:radial-gradient(ellipse at 68% 48%,#11364866,transparent 48%),radial-gradient(ellipse at 75% 60%,#0a1c3d80,transparent 67%),#060a13}
#sword-canvas{position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity .8s}.sword-stage.is-ready #sword-canvas{opacity:1}.sword-poster{position:absolute;left:53%;top:6%;height:88%;width:40%;object-fit:contain;opacity:0;visibility:hidden;filter:drop-shadow(0 0 20px #0876be66)}.sword-stage.is-lite #sword-canvas{opacity:0}.sword-stage.is-lite .sword-poster{opacity:.9;visibility:visible}
.sword-loader{position:absolute;left:74%;top:47%;transform:translate(-50%,-50%);display:none;justify-items:center;gap:17px;color:#b9ddeb;font-size:12px;letter-spacing:.04em;white-space:nowrap}.sword-stage.is-loading:not(.is-lite) .sword-loader{display:grid}.sword-loader-ring{width:44px;height:44px;border:2px solid #7ae6ff26;border-top-color:#8cecff;border-radius:50%;animation:sword-loading-spin 1s linear infinite;box-shadow:0 0 24px #44caff15}@keyframes sword-loading-spin{to{transform:rotate(360deg)}}
@media(max-width:700px){.sword-loader{left:66%;top:23%;font-size:11px;gap:12px}.sword-loader-ring{width:36px;height:36px}}
@media(prefers-reduced-motion:reduce){.sword-loader-ring{animation:none}.sword-stage.is-loading .sword-loader{display:none}.sword-stage:not(.is-ready) .sword-poster{opacity:.9;visibility:visible}}
.stage-grid{position:absolute;width:160%;height:90%;bottom:-50%;left:-25%;transform:perspective(750px) rotateX(66deg);background-image:linear-gradient(#5cdcff0e 1px,transparent 1px),linear-gradient(90deg,#5cdcff0e 1px,transparent 1px);background-size:70px 70px;mask-image:linear-gradient(transparent,#000);opacity:.6}.stage-orbit{position:absolute;width:55vw;height:55vw;max-width:850px;max-height:850px;border:1px solid #a2d5ec0b;border-radius:50%;left:42%;top:8%;box-shadow:0 0 0 70px #8eccff03,0 0 0 140px #8eccff02}
.journey-content{position:relative;z-index:2;pointer-events:none}.journey-content a{pointer-events:auto}.journey-intro,.journey-chapter{min-height:100svh;display:flex;align-items:center;position:relative;padding:115px 0 95px;scroll-margin-top:0}.intro-copy,.chapter-copy{width:46%;max-width:530px}.intro-copy .eyebrow{color:#abc1cf;font-size:10px;letter-spacing:.14em}.intro-copy h1{font-size:clamp(54px,6.6vw,100px);line-height:1.03;font-weight:500;margin:30px 0;letter-spacing:-.065em}.intro-copy h1 span{color:#8cecff;text-shadow:0 0 50px #44caff25}.intro-description{font-size:18px;line-height:1.8;color:#a8b8c8;max-width:395px}.intro-copy .actions{gap:22px}
.chapter-copy{padding:30px 0}.chapter-symbol{width:42px;margin-bottom:28px;filter:drop-shadow(0 0 10px #44d6ff50)}.chapter-symbol svg{width:100%;height:44px}.chapter-copy .eyebrow{color:#76d9ed;margin-bottom:23px;font-size:10px}.chapter-copy h2{font-size:clamp(40px,4.6vw,65px);font-weight:500;max-width:480px;line-height:1.09;margin-bottom:25px}.chapter-description{font-size:17px;line-height:1.85;color:#a8b8c8;max-width:410px}.chapter-stack{font-size:11px;color:#64869d;margin:28px 0 22px;letter-spacing:.025em}.chapter-copy .text-link{font-size:13px;border-color:#4b7187;color:#cff4ff;padding-bottom:9px}
.journey-nav{position:sticky;bottom:calc(50svh - 140px);width:34px;margin-left:auto;margin-top:-280px;margin-right:20px;height:280px;display:flex;flex-direction:column;gap:5px;z-index:6}.journey-nav a{height:23px;min-height:23px;display:grid;place-items:center;color:#526779;position:relative;font-size:9px}.journey-nav a:before{content:'';width:3px;height:3px;border:1px solid #526779;border-radius:50%;position:absolute;left:-5px}
.journey-toolbar{position:sticky;bottom:0;z-index:7;height:48px;margin-top:-48px;display:flex;justify-content:flex-end;align-items:center;gap:22px;padding:0 40px;background:linear-gradient(transparent,#060a13f0);color:#8095a6;font-size:10px}.journey-toolbar button{color:#a0b7c9;padding:4px 0;border:0;border-bottom:1px solid #355061;background:none;cursor:pointer;font-size:10px}.journey-toolbar button:hover{color:#bff3ff}.journey-status{margin-right:auto;color:#537992;max-width:40%}.journey-progress{position:sticky;bottom:0;height:2px;margin-top:-2px;z-index:8;background:#152230;pointer-events:none}.journey-progress span{display:block;width:0;height:100%;background:#76e5ff;box-shadow:0 0 10px #29bfff}
.sword-home .discipline-bar{margin-top:40px;font-size:10px;letter-spacing:.07em}.sword-home .project-visual[data-style=green]{background:#b4d3cb}.sword-home .project-visual[data-style=peach]{background:#d2c1ab}.sword-home .project-visual[data-style=dark]{background:#1e3034}.sword-home .contact-box{background:#101c2a;border:1px solid #273e50}.sword-home .contact-box .button{background:#a4eaff;color:#07111c}.sword-home .live-demo{background:#101a2a;border:1px solid #22394c}.sword-home .contact-box p,.sword-home .contact-box .eyebrow{color:#a8b8c8}
@media(min-width:1600px){.sword-home .container{width:min(1380px,calc(100% - 120px))}}
@media(max-width:950px){.intro-copy,.chapter-copy{width:48%}.intro-copy h1{font-size:65px}.intro-description,.chapter-description{font-size:16px}.intro-copy .actions{gap:16px}.journey-toolbar{padding:0 24px;gap:15px}}
@media(max-width:700px){.sword-home .header-inner{height:72px}.sword-home .nav{top:72px;background:#0a1422;z-index:30}.sword-stage{min-height:520px;background:radial-gradient(ellipse at 67% 32%,#103c5566,transparent 58%),#060a13}.sword-poster{top:7%;left:41%;width:57%;height:54%}.stage-orbit{top:12%;left:23%;width:90vw;height:90vw}.journey-intro,.journey-chapter{padding:90px 0 78px;align-items:flex-end;min-height:100svh}.intro-copy,.chapter-copy{width:100%;max-width:520px;padding:24px 0 0;background:linear-gradient(transparent,#060a13eb 25%)}.intro-copy h1{font-size:51px;line-height:1.04;margin:16px 0}.intro-copy .eyebrow{font-size:8px;max-width:210px;line-height:1.7}.intro-description{font-size:14px;max-width:300px;line-height:1.7}.intro-copy .actions{margin-top:20px;gap:18px}.intro-copy .button{font-size:12px;padding:10px 17px;gap:17px}.intro-copy .text-link{font-size:12px}.chapter-copy{padding-top:30px}.chapter-symbol{width:30px;margin-bottom:12px}.chapter-symbol svg{height:30px}.chapter-copy .eyebrow{font-size:9px;margin-bottom:14px}.chapter-copy h2{font-size:37px;max-width:300px;margin-bottom:18px}.chapter-description{font-size:14px;line-height:1.75;max-width:340px}.chapter-stack{font-size:10px;margin:18px 0 14px}.chapter-copy .text-link{font-size:12px}.journey-nav{bottom:calc(63svh - 140px);margin-right:7px;width:20px}.journey-toolbar{gap:12px;padding:0 18px;font-size:9px;height:46px;margin-top:-46px}.journey-toolbar button{font-size:9px}.journey-status{max-width:25%;font-size:8px;line-height:1.3}.journey-toolbar a{font-size:9px}.stage-grid{opacity:.3}.sword-home .discipline-bar{margin-top:25px}}
@media(prefers-reduced-motion:reduce){#sword-canvas,.sword-poster{transition:none}.aura-toggle{display:none}}
@media print{.sword-home{--paper:white;--ink:black;--muted:#444;--accent:#145a70;--line:#ddd}.sword-stage,.journey-toolbar,.journey-nav,.journey-progress{display:none}.journey-intro,.journey-chapter{min-height:0;padding:25px 0;break-inside:avoid}.intro-copy,.chapter-copy{width:100%;max-width:none;background:none}.sword-journey{background:white}.journey-content{pointer-events:auto}.intro-copy h1{font-size:40px}.chapter-copy h2{font-size:28px}.intro-description,.chapter-description,.chapter-stack{color:#333}.sword-home .contact-box{background:white;color:black}}
.sword-home .menu-toggle{color:var(--ink);border-color:#3c5369}
.sword-home .contact-box{color:var(--ink)}
html:has(.sword-home){scroll-padding-top:0}
/* Keep the sticky stage's full margin box inside the journey. Move the text
   over it instead of using a negative stage margin that leaks into the bio. */
.sword-stage{margin-bottom:0;min-height:0}
.journey-content{margin-top:-100svh}
@media(max-width:700px){.sword-stage{min-height:0}}
@media print{.journey-content{margin-top:0}}
@media(max-width:950px) and (max-height:600px) and (orientation:landscape){.sword-stage{min-height:100svh}.journey-intro,.journey-chapter{padding:80px 0 55px;align-items:center}.intro-copy,.chapter-copy{width:54%;background:none;padding:0}.intro-copy h1{font-size:40px;margin:15px 0}.intro-description,.chapter-description{font-size:12px;line-height:1.7}.intro-copy .eyebrow{max-width:270px;font-size:7px}.intro-copy .actions{gap:12px;margin-top:20px}.intro-copy .button{font-size:10px;padding:8px 13px;gap:10px}.intro-copy .text-link{font-size:10px}.chapter-copy h2{font-size:30px;margin-bottom:15px}.chapter-symbol{margin-bottom:8px}.chapter-copy .eyebrow{font-size:8px;margin-bottom:13px}.chapter-stack{font-size:8px;margin:15px 0 12px}.chapter-copy .text-link{font-size:10px}.sword-poster{left:51%;top:5%;width:41%;height:87%}.journey-nav{bottom:calc(50svh - 140px)}.journey-outro .actions{gap:12px;margin-top:20px}.journey-outro .button{font-size:11px;padding:10px 16px}}

@media(max-width:700px) and (max-height:700px) and (orientation:portrait){.journey-intro,.journey-chapter{padding:78px 0 64px}.intro-copy,.chapter-copy{padding-top:16px}.intro-copy h1{font-size:38px;margin:12px 0}.intro-copy .eyebrow{font-size:7px}.intro-description,.chapter-description{font-size:12px;line-height:1.6}.intro-copy .actions{margin-top:14px;gap:12px}.intro-copy .button{font-size:11px;padding:9px 14px}.intro-copy .text-link{font-size:11px}.chapter-copy h2{font-size:30px;margin-bottom:12px}.chapter-symbol{margin-bottom:8px}.chapter-copy .eyebrow{margin-bottom:10px;font-size:8px}.chapter-stack{margin:12px 0}.journey-outro .actions{gap:12px;margin-top:18px}.journey-outro .button{font-size:12px;padding:10px 17px}}

.rune-caption{font-size:12px;line-height:1.65;color:#b2c9d8;max-width:350px;margin-top:24px}.chapter-stack{color:#a0bed1;font-size:12px}.journey-nav a{color:#91adc0;font-size:10px}.journey-nav-label{position:absolute;right:calc(100% + 12px);top:50%;transform:translateY(-50%);width:max-content;max-width:230px;padding:8px 12px;border:1px solid #38586f;border-radius:6px;background:#0d1b2b;color:#d5f5ff;font-size:12px;line-height:1.4;visibility:hidden;opacity:0;pointer-events:none;box-shadow:0 5px 22px #0006}.journey-nav a:hover .journey-nav-label,.journey-nav a:focus-visible .journey-nav-label{visibility:visible;opacity:1}.journey-toolbar{font-size:11px;color:#b5ccdd;gap:18px}.journey-toolbar button{font-size:11px;color:#bfd6e6;padding:7px 0}.journey-status{color:#9db8ca}.journey-skip{display:inline-flex;align-items:center;border:1px solid #49738b;background:#102332;border-radius:999px;color:#c5f5ff;padding:6px 12px;white-space:nowrap}.journey-skip:hover{background:#1a3d52;color:white}
@media(max-width:700px){.rune-caption{font-size:11px;max-width:285px;margin-top:15px}.chapter-stack{font-size:11px}.journey-toolbar{gap:12px;font-size:10px;padding:0 14px}.journey-toolbar button,.journey-toolbar a{font-size:10px}.journey-status{display:none}.journey-skip{padding:6px 8px}.journey-nav-label{font-size:11px}}
@media(max-width:950px) and (max-height:600px) and (orientation:landscape){.rune-caption{margin-top:12px;font-size:10px}}
@media(max-width:700px) and (max-height:700px) and (orientation:portrait){.rune-caption{font-size:10px;margin-top:10px}}

.intro-copy h1 {
  font-size: clamp(48px, 5.5vw, 86px);
  text-wrap: balance;
}

.sword-stage:not(.is-ready) .sword-poster {
  opacity: .9;
  visibility: visible;
}

.sword-loader {
  top: auto;
  bottom: 58px;
  left: auto;
  right: 34px;
  transform: none;
}

.sword-loader-ring {
  width: 22px;
  height: 22px;
}

.journey-chapters,
.sword-journey.is-collapsed .journey-nav,
.journey-toolbar [hidden] {
  display: none;
}

.journey-nav a[aria-current="location"] {
  color: #b0f1ff;
}

.journey-nav a[aria-current="location"]::before {
  background: #93eaff;
  border-color: #93eaff;
  box-shadow: 0 0 10px #50d9ff;
}

.journey-toolbar button:disabled {
  cursor: default;
  opacity: .75;
}

.journey-toolbar .journey-skip { gap: 5px; }

@media (max-width: 700px), (max-width: 950px) and (pointer: coarse) {
  .journey-nav { display: none; }

  .journey-toolbar {
    gap: 8px;
    padding-inline: 10px;
  }

  .journey-toolbar :is(button, a, summary) {
    min-height: 44px;
    font-size: 12px;
  }

  .journey-toolbar .journey-status {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .journey-chapters {
    display: block;
    margin-right: auto;
  }

  .journey-chapters summary {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-inline: 9px;
    list-style: none;
    color: var(--ink);
    cursor: pointer;
  }

  .journey-chapters summary::-webkit-details-marker { display: none; }
  .journey-chapters summary::after {
    content: '';
    width: 5px;
    height: 5px;
    border: solid currentColor;
    border-width: 0 1px 1px 0;
    transform: translateY(2px) rotate(225deg);
  }
  .journey-chapters[open] summary::after { transform: translateY(-2px) rotate(45deg); }

  .journey-chapters nav {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 10px;
    width: min(19rem, calc(100% - 20px));
    max-height: min(29rem, calc(100svh - 110px));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 5px;
    border: 1px solid #38586f;
    border-radius: 12px;
    background: #0d1b2b;
    box-shadow: 0 16px 40px #0008;
  }

  .journey-chapters nav a {
    display: grid;
    grid-template-columns: 2ch 1fr;
    gap: 12px;
    align-items: center;
    padding: 7px 11px;
    border-radius: 7px;
    color: var(--ink);
    font-size: 14px;
  }

  .journey-chapters nav a:is(:hover, :focus-visible, [aria-current]) {
    background: #1a3448;
    color: #c5f5ff;
  }

  .journey-chapters .journey-nav-label {
    position: static;
    width: auto;
    max-width: none;
    transform: none;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    color: inherit;
    font-size: inherit;
    visibility: visible;
    opacity: 1;
  }

  .journey-toolbar .aura-toggle {
    position: absolute;
    right: 10px;
    bottom: calc(100% + 6px);
    padding-inline: 10px;
    border: 1px solid #38586f;
    border-radius: 999px;
    background: #0d1b2b;
  }
  .journey-chapters[open] ~ .aura-toggle { visibility: hidden; }

  .journey-toolbar .journey-skip {
    gap: 4px;
    padding-inline: 9px;
  }
}

@media (max-width: 700px) and (orientation: portrait) {
  .journey-intro {
    padding: clamp(184px, 43svh, 355px) 0 68px;
    align-items: center;
  }

  .intro-copy {
    padding-top: 0;
    background: none;
  }

  .intro-copy h1 {
    font-size: clamp(34px, 10vw, 52px);
    margin-block: 12px;
    text-wrap: pretty;
  }

  .intro-copy .eyebrow {
    max-width: none;
    font-size: 10px;
  }

  .intro-description {
    max-width: 34ch;
    font-size: 14px;
    line-height: 1.55;
  }

  .intro-copy .actions { gap: 12px; }
  .intro-copy .actions a { min-height: 44px; display: inline-flex; align-items: center; }
  .intro-copy .text-link { padding-block: 8px; }
  .intro-copy .rune-caption { display: none; }

  .sword-poster {
    top: 78px;
    left: 25%;
    width: 50%;
    height: clamp(104px, calc(55svh - 150px), 310px);
  }
}

@media (max-width: 950px) and (max-height: 600px) and (orientation: landscape) {
  .intro-copy h1 { font-size: clamp(34px, 5vw, 45px); }
  .intro-copy .eyebrow { font-size: 10px; }
}

@media (max-width: 700px) and (max-height: 620px) and (orientation: portrait) {
  .journey-intro { padding-block-start: max(170px, 39svh); }
  .sword-poster { height: clamp(95px, calc(48svh - 135px), 156px); }
}

@media print {
  .journey-chapters { display: none; }
  .intro-copy h1 { font-size: 40px; }
}
