/* Custom Fonts */

@font-face {
  font-family: 'Nasalization';
  src: url('./assets/nasalization.otf') format('opentype');
  font-display: swap;
}

:root {
  --background: #f0ece2;
  --ink: #181410;
  --orange: #a85830;
  --muted: #3e3830;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  background: var(--background);
}

body {
  font-family: 'Nasalization', sans-serif;
  color: var(--ink);
  padding: 1.5rem;
  min-height: 100vh;
}

.page-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto 1fr auto auto;
  min-height: calc(100vh - 3rem);
  border: 1px solid var(--ink);
}

.cell-label {
  grid-column: 1;
  grid-row: 1;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 1.1rem 1.8rem;
}

.cell-status {
  grid-column: 2;
  grid-row: 1;
  border-bottom: 1px solid var(--ink);
  padding: 1.1rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.cell-heading {
  grid-column: 1;
  grid-row: 2;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 2rem 1.8rem;
  display: flex;
  align-items: flex-end;
}

.cell-aside {
  grid-column: 2;
  grid-row: 2;
  border-bottom: 1px solid var(--ink);
  padding: 2rem 1.8rem;
  display: flex;
  align-items: flex-end;
}

.cell-form {
  grid-column: 1 / 3;
  grid-row: 3;
  border-bottom: 1px solid var(--ink);
  padding: 1.6rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3rem;
}

.cell-footer {
  grid-column: 1 / 3;
  grid-row: 4;
  padding: 1.1rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.label-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
}

.status-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.main-heading {
  font-family: 'Nasalization', sans-serif;
  font-size: clamp(5rem, 13vw, 12rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.88;
  text-transform: uppercase;
}

.main-heading span {
  display: inline-block;
  opacity: 0;
  animation: letterReveal 0.4s ease forwards;
}

.main-heading span:nth-child(1) { animation-delay: 0.5s; }
.main-heading span:nth-child(2) { animation-delay: 0.6s; }
.main-heading span:nth-child(3) { animation-delay: 0.7s; }
.main-heading span:nth-child(4) { animation-delay: 0.8s; }
.main-heading span:nth-child(5) { animation-delay: 0.9s; }
.main-heading span:nth-child(6) { animation-delay: 1.0s; }
.main-heading span:nth-child(7) { animation-delay: 1.1s; }
.main-heading span:nth-child(8) { animation-delay: 1.2s; }

.aside-body {
  font-family: 'Nasalization', sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--muted);
}

.form-label {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.form-row {
  display: flex;
  border: 1px solid var(--ink);
  max-width: 520px;
}

.email-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'Nasalization', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  padding: 0.85rem 1rem;
  min-width: 0;
}

.email-input::placeholder {
  color: #5a5248;
}

.form-submit {
  background: var(--ink);
  border: none;
  border-left: 1px solid var(--ink);
  cursor: pointer;
  font-family: 'Nasalization', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--background);
  padding: 0.85rem 1.4rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.form-submit:hover {
  background: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(168, 88, 48, 0.3);
}

.form-confirmation {
  display: none;
  font-family: 'Nasalization', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.8;
}

.cell-form.is-submitted .form-group,
.cell-form.is-submitted .form-note {
  display: none;
}

.cell-form.is-submitted .form-confirmation {
  display: block;
}

.footer-note {
  font-family: 'Nasalization', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.footer-year {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 600px) {
  body {
    padding: 0;
  }

  .page-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr auto auto auto;
    min-height: 100vh;
    border-left: none;
    border-right: none;
  }

  .cell-label {
    grid-column: 1;
    grid-row: 1;
    border-right: none;
  }

  .cell-status {
    grid-column: 1;
    grid-row: 2;
  }

  .cell-heading {
    grid-column: 1;
    grid-row: 3;
    border-right: none;
  }

  .cell-aside {
    grid-column: 1;
    grid-row: 4;
  }

  .cell-form {
    grid-column: 1;
    grid-row: 5;
  }

  .cell-footer {
    grid-column: 1;
    grid-row: 6;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cell-label,
.cell-status,
.cell-heading,
.cell-aside,
.cell-form,
.cell-footer {
  animation: fadeInUp 0.8s ease-out both;
}

.cell-label { animation-delay: 0.1s; }
.cell-status { animation-delay: 0.2s; }
.cell-heading { animation-delay: 0.3s; }
.cell-aside { animation-delay: 0.4s; }
.cell-form { animation-delay: 0.5s; }
.cell-footer { animation-delay: 0.6s; }

@keyframes letterReveal {
  0% {
    opacity: 0;
    transform: translateX(-15px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Portfolio extensions to the original Helios design. */
html{scroll-behavior:smooth;scroll-padding-top:1.5rem}body{line-height:1.8}a{color:inherit;text-decoration:none}a:hover{color:var(--orange)}a:focus-visible{outline:2px solid var(--orange);outline-offset:5px}button,input,textarea,select{font:inherit}::selection{background:var(--orange);color:var(--background)}.frame{width:100%;margin:auto}.page-grid>*{min-width:0}.cell-heading{container-type:inline-size}.cell-heading>div{width:100%}.main-heading{font-size:min(clamp(5rem,13vw,12rem),20cqw);white-space:nowrap}.hero-name{font-size:.85rem;letter-spacing:.28em;margin-top:1.6rem}.hero-role{font-size:.85rem;color:var(--muted)}.form-submit{display:inline-block;text-align:center}.form-submit:hover{color:var(--background)}.cell-footer{gap:2rem}.cell-footer nav{display:flex;flex-wrap:wrap;gap:1.2rem;font-size:.65rem;text-transform:uppercase;letter-spacing:.08em}.cell-footer .footer-note{max-width:46%;font-size:.7rem}.section,#projects,.contact,footer{border:1px solid var(--ink);border-top:0}.section{display:grid;grid-template-columns:1fr 2fr}.section-label{padding:3rem 1.8rem;border-right:1px solid var(--ink)}.section-label h2{font-size:clamp(1.3rem,2.4vw,2rem);line-height:1.5;margin:1.2rem 0;font-weight:400}.section-label>p{font-size:.75rem;color:var(--muted)}.eyebrow,.project-number,.count{font-size:.65rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}.cross{font-size:5rem;color:var(--orange);margin-top:2rem}.about-copy{padding:3rem 2.5rem;color:var(--muted)}.about-copy .large-copy{font-size:clamp(1.1rem,1.8vw,1.6rem);line-height:1.8;color:var(--ink);margin-bottom:1.5rem}.large-copy span{color:var(--orange)}.about-copy>p:not(.large-copy){font-size:.9rem;margin-bottom:1.2rem;max-width:65ch}.small-note{border-top:1px solid var(--ink);margin-top:2rem;padding-top:1.5rem;font-size:.7rem}.small-note span{display:block;color:var(--orange);font-size:.6rem;letter-spacing:.18em;margin-bottom:.6rem}.section-heading{padding:3rem 1.8rem 2rem;display:flex;align-items:flex-end;justify-content:space-between;gap:1.5rem}.section-heading h2{font-size:clamp(1.4rem,2.7vw,2.3rem);line-height:1.5;margin-top:1rem;font-weight:400}.section-heading h2 span{color:var(--orange)}.project-pair{display:grid;grid-template-columns:1fr 1fr}.project{border-top:1px solid var(--ink)}.stacked+.stacked{border-left:1px solid var(--ink)}.project-info{padding:2rem 1.8rem}.project h3{font-size:clamp(1.2rem,2.3vw,1.9rem);font-weight:400;line-height:1.5;margin:1rem 0}.project-info>p:not(.status),.compact p{font-size:.8rem;color:var(--muted);max-width:60ch}.tags{list-style:none;display:flex;flex-wrap:wrap;gap:.5rem;margin:1.5rem 0}.tags li{border:1px solid var(--ink);padding:.25rem .5rem;font-size:.6rem}.project-bottom{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.status{font-size:.6rem;color:var(--muted)}i{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--orange);margin-right:8px}.project-links{display:flex;gap:1.5rem;font-size:.7rem}.project-links a,.text-link{border-bottom:1px solid var(--ink);padding-bottom:.25rem}.project-links a:hover,.text-link:hover{border-color:var(--orange)}.project-visual{height:330px;position:relative;overflow:hidden;border-bottom:1px solid var(--ink);display:grid;place-items:center;background:#e8e3d7}figcaption{position:absolute;bottom:0;left:0;right:0;padding:.5rem 1rem;font-size:.5rem;color:var(--muted);background:var(--background);border-top:1px solid var(--ink)}.record-player{position:relative;width:310px;height:230px;border:1px solid var(--ink);background:#ddd5c4;transform:rotate(-5deg);transition:transform .4s}.koda:hover .record-player{transform:rotate(0)}.vinyl{width:180px;height:180px;position:absolute;left:20px;top:20px;border-radius:50%;background:repeating-radial-gradient(circle,#181410 0 2px,#39332c 3px,#181410 4px);display:grid;place-items:center}.vinyl-label{width:70px;height:70px;border-radius:50%;background:var(--orange);color:var(--background);display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:.7rem}.vinyl-label small{font-size:.25rem;margin-top:5px}.tonearm{position:absolute;right:35px;top:28px;width:10px;height:135px;border:2px solid var(--ink);transform:rotate(18deg)}.tonearm:after{content:'';position:absolute;width:15px;height:24px;bottom:-18px;left:-5px;background:var(--ink)}.player-mark{position:absolute;bottom:10px;right:10px;font-size:.4rem}.retro-window{width:75%;max-width:340px;border:1px solid var(--ink);background:var(--background);transform:rotate(3deg);transition:transform .4s}.retro:hover .retro-window{transform:rotate(0)}.retro-title{display:flex;justify-content:space-between;padding:5px 8px;background:var(--ink);color:var(--background);font-size:.6rem}.retro-content{text-align:center;padding:12px}.retro-icon{display:block;font-size:1.8rem}.retro-content strong{font-size:.7rem}.retro-content p{font-size:.6rem;margin:.5rem 0}.retro-button{display:inline-block;border:1px solid var(--ink);padding:5px 12px;font-size:.5rem}.retro-bar{border-top:1px solid var(--ink);font-size:.45rem;padding:5px 8px}.compact{display:grid;grid-template-columns:40px 1fr auto;gap:1.5rem;padding:2rem 1.8rem}.compact .tags{margin-bottom:0}.compact-end{text-align:right;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;gap:1rem}.projects-footer{border-top:1px solid var(--ink);padding:1.5rem 1.8rem;display:flex;justify-content:space-between;align-items:center;gap:2rem}.projects-footer p{font-size:.6rem;max-width:65ch;color:var(--muted)}.text-link{font-size:.65rem;white-space:nowrap}.learning-list,.stack-list{padding:2rem 2.5rem}.learning-intro{font-size:.8rem;color:var(--muted);margin:1rem 0 2rem}.learning-list>div{position:relative;border-top:1px solid var(--ink);padding:1.5rem 0 1.5rem 2.5rem}.learning-list>div>span{position:absolute;left:0;top:1.7rem;font-size:.65rem;color:var(--orange)}.learning-list h3{font-size:1rem;font-weight:400;margin-bottom:.7rem}.learning-list>div>p{font-size:.8rem;color:var(--muted)}.stack-list>div{padding:1.5rem 0;border-bottom:1px solid var(--ink)}.stack-list>div:last-child{border:0}.stack-list span{font-size:.6rem;letter-spacing:.15em;color:var(--muted)}.stack-list p{font-size:1rem;margin-top:.75rem}.stack-list b{font-weight:400;color:var(--orange);padding:0 .4rem}.contact{padding:3rem 1.8rem}.contact h2{font-size:clamp(1.6rem,4.5vw,4rem);line-height:1.4;font-weight:400;margin:2rem 0}.contact h2 span{color:var(--orange)}.contact-bottom{display:flex;justify-content:space-between;align-items:center;gap:2rem}.contact-bottom p{font-size:.8rem;color:var(--muted)}.contact-button{display:flex;justify-content:space-between;gap:2rem;background:var(--ink);color:var(--background);padding:1rem 1.5rem;font-size:.75rem}.contact-button:hover{background:var(--orange);color:var(--background)}footer{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1.1rem 1.8rem}.brand{font-size:1.2rem}.brand span{color:var(--orange)}footer p,footer>a:last-child{font-size:.6rem}.skip{position:fixed;top:-100px;left:24px;padding:10px;background:var(--ink);color:var(--background);z-index:10}.skip:focus{top:15px}.reveal{transition:opacity .6s,transform .6s}.reveal.pending{opacity:0;transform:translateY(18px)}
@media(max-width:1000px){.cell-footer{align-items:flex-start;flex-direction:column;gap:1rem}.cell-footer .footer-note{max-width:none}.cell-form{gap:1.5rem}.cell-form .form-submit{font-size:.65rem;padding:1rem}.section{grid-template-columns:1fr 1.8fr}.section-label,.about-copy,.learning-list,.stack-list{padding-left:1.8rem;padding-right:1.8rem}.project-bottom{align-items:flex-start;flex-direction:column}.compact{grid-template-columns:30px 1fr}.compact-end{grid-column:2;text-align:left;align-items:flex-start;flex-direction:row;flex-wrap:wrap}.contact-bottom{flex-direction:column;align-items:flex-start}}
@media(max-width:600px){html{scroll-padding-top:0}.page-grid{min-height:100svh}.main-heading{font-size:min(17vw,20cqw)}.hero-name{font-size:.7rem;margin-top:1.2rem}.label-text,.status-text{font-size:.65rem;letter-spacing:.2em}.aside-body{font-size:1rem}.cell-heading{min-height:220px}.cell-form{align-items:flex-start;flex-direction:column;gap:1rem}.hero-role{font-size:.7rem}.form-label{font-size:.8rem;margin-bottom:.5rem}.cell-footer nav{gap:.8rem;font-size:.55rem}.section,#projects,.contact,footer{border-left:0;border-right:0}.section{grid-template-columns:1fr}.section-label{border-right:0;padding:2rem 1.8rem 1rem}.section-label h2{font-size:1.5rem}.cross{display:none}.about-copy{padding-top:1rem}.about-copy .large-copy{font-size:1.1rem}.about-copy>p:not(.large-copy){font-size:.8rem}.section-heading{flex-direction:column;align-items:flex-start;gap:1rem;padding-top:2rem}.project-pair{grid-template-columns:1fr}.stacked+.stacked{border-left:0}.project-visual{height:290px}.record-player{transform:scale(.8) rotate(-5deg)}.koda:hover .record-player{transform:scale(.8)}.project-bottom{flex-direction:row;align-items:center}.project-links{font-size:.65rem;gap:1rem}.compact{grid-template-columns:22px 1fr;gap:.6rem}.compact h3{font-size:1.1rem;overflow-wrap:anywhere}.compact-end{gap:1rem;flex-direction:column}.projects-footer{flex-direction:column;align-items:flex-start;gap:1rem}.learning-list,.stack-list{padding-top:0}.stack-list p{font-size:.85rem}.contact{padding-top:2rem}.contact h2{font-size:1.7rem}.contact-button{width:100%}footer{flex-wrap:wrap}footer p{order:3;width:100%;font-size:.5rem}footer>a:last-child{margin-left:auto}.small-note{font-size:.6rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.main-heading span,.reveal.pending{opacity:1;transform:none}}

/* Keep the navigation strip below the initial viewport. */
.page-grid {
  grid-template-rows: auto 1fr auto;
  min-height: calc(100vh - 3rem);
  min-height: calc(100dvh - 3rem);
}
.page-grid .cell-form { border-bottom: 1px solid var(--ink); }
.hero-navigation {
  border: 1px solid var(--ink);
  margin-top: -1px;
}
@media (max-width: 600px) {
  .page-grid {
    grid-template-rows: auto auto 1fr auto auto;
    min-height: 100vh;
    min-height: 100dvh;
  }
  .hero-navigation { border-left: 0; border-right: 0; }
}

/* Original cream and first-iteration dark palettes, with the same layout. */
:root { color-scheme: light; }
:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #10110f;
  --ink: #edece3;
  --orange: #e5b980;
  --muted: #a4a69a;
}
.cell-status { gap: 1.4rem; flex-wrap: wrap; }
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 44px;
  padding: .35rem .6rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: 'Nasalization', sans-serif;
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}
.theme-toggle:hover { color: var(--orange); border-color: var(--orange); }
.theme-toggle:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.theme-track { display: block; width: 30px; height: 16px; border: 1px solid currentColor; border-radius: 12px; padding: 2px; }
.theme-thumb { display: block; width: 10px; height: 10px; border-radius: 50%; background: currentColor; transition: transform .45s ease; }
[data-theme="dark"] .theme-thumb { transform: translateX(14px); }
.theme-changing, .theme-changing *, .theme-changing *::before, .theme-changing *::after {
  transition: background-color .6s ease, color .6s ease, border-color .6s ease, opacity .6s ease, transform .45s ease;
}
@media(prefers-reduced-motion:reduce) {
  .theme-changing, .theme-changing *, .theme-changing *::before, .theme-changing *::after, .theme-thumb { transition: none !important; }
}

/* Codemure ink reveal: the live page remains interactive beneath the overlay. */
.ink-canvas { position: fixed; inset: 0; z-index: 1000; width: 100%; height: 100%; pointer-events: none; visibility: hidden; }
.ink-canvas.is-active { visibility: visible; }
.cell-status { animation: none; }
.theme-toggle { position: relative; z-index: 1001; background: var(--background); }
html.theme-fade, html.theme-fade *, html.theme-fade *::before, html.theme-fade *::after {
  transition: background-color var(--theme-fade, .45s) ease, border-color var(--theme-fade, .45s) ease, color var(--theme-fade, .45s) ease !important;
}
@media(prefers-reduced-motion:reduce) {
  html.theme-fade, html.theme-fade *, html.theme-fade *::before, html.theme-fade *::after { transition: none !important; }
}

/* Avoid stacking native easing with the wheel glide. */
html.wheel-gliding { scroll-behavior: auto !important; }

/* Editorial finishing pass. The original font, palette and ink effect remain. */
:root{--motion-control:170ms;--motion-reveal:330ms;--ease-ui:cubic-bezier(.22,1,.36,1);--nav-height:72px}
html{scroll-padding-top:calc(var(--nav-height) + 24px)}
body{line-height:1.7}
button,input,summary{font-family:inherit}
.hero-navigation{position:sticky;top:0;z-index:20;background:var(--background);transition:box-shadow var(--motion-control)}
.hero-navigation.is-stuck{box-shadow:0 6px 14px #00000008}
.hero-navigation nav a{position:relative;padding:.6rem 0}
.hero-navigation nav a::after,.text-link::after{content:'';position:absolute;bottom:.3rem;left:0;width:100%;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform var(--motion-control) var(--ease-ui)}
.hero-navigation nav a:hover::after,.hero-navigation nav a:focus-visible::after,.hero-navigation nav a[aria-current]::after{transform:scaleX(1)}
.reading-progress{position:fixed;top:0;left:24px;right:24px;height:2px;background:var(--orange);transform:scaleX(0);transform-origin:left;z-index:30;pointer-events:none}
.about-copy>p,.learning-list>div>p,.compact p{max-width:62ch;text-wrap:pretty;line-height:1.85}
.section-heading h2,.section-label h2,.contact h2{letter-spacing:-.025em;text-wrap:balance;line-height:1.35}
.section-label h2{font-size:clamp(1.5rem,2.5vw,2.3rem)}
.hero-name{letter-spacing:.18em}.hero-role{max-width:52ch}.aside-body{line-height:1.85}
.compact{grid-template-columns:40px minmax(0,1fr) 190px;column-gap:2rem;transition:background-color var(--motion-control)}
.compact:hover,.compact:focus-within{background:var(--row-hover)}
.compact h3{margin:.1rem 0 .8rem;line-height:1.4}.compact-end{justify-content:flex-start;gap:1.6rem;padding-top:.3rem}
.project-number{font-variant-numeric:tabular-nums;padding-top:.35rem}.project-links a{display:inline-flex;gap:.5rem;transition:color var(--motion-control),border-color var(--motion-control)}
.project-links a .link-arrow{display:inline-block;transition:transform var(--motion-control) var(--ease-ui)}
.project-links a:hover .link-arrow,.project-links a:focus-visible .link-arrow{transform:translate(2px,-2px)}
.project-notes{grid-column:2/-1;border-top:1px solid var(--line-soft);font-size:.75rem}
.project-notes summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;min-height:48px;gap:1rem;color:var(--muted)}
.project-notes summary::-webkit-details-marker{display:none}.project-notes summary>span{font-size:1.2rem;transition:transform var(--motion-control)}
.project-notes[open] summary>span{transform:rotate(45deg)}.notes-body{padding:.5rem 0 1.25rem;display:grid;gap:1rem;max-width:70ch}.notes-body strong{display:block;font-weight:400;color:var(--ink);margin-bottom:.3rem}.notes-body a{width:fit-content;border-bottom:1px solid var(--ink)}
.stack-list h3{font-size:.9rem;font-weight:400;line-height:1.5}.stack-list .explored-heading{border-top:1px solid var(--ink);padding-top:2rem;margin-top:1rem}.stack-list p{font-size:.85rem;line-height:2;text-wrap:pretty;max-width:65ch}.stack-list a{text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--line-soft)}
.form-submit,.contact-button,.theme-toggle{transition:transform var(--motion-control) var(--ease-ui),background-color var(--motion-control),color var(--motion-control)}
.form-submit:active,.contact-button:active,.theme-toggle:active{transform:scale(.985)}
.reveal{transition:opacity var(--motion-reveal) var(--ease-ui),transform var(--motion-reveal) var(--ease-ui)}.reveal.pending{transform:translateY(10px)}
summary:focus-visible,a:focus-visible,button:focus-visible{outline:2px solid var(--orange);outline-offset:5px}
@media(max-width:700px){.compact{grid-template-columns:24px minmax(0,1fr)}.compact-end{grid-column:2;align-items:flex-start}.project-notes{grid-column:2}.hero-navigation .footer-note{display:none}.hero-navigation nav{gap:1rem}.reading-progress{left:0;right:0}}
@media(prefers-reduced-motion:reduce){.reveal.pending{transform:none}.project-links a .link-arrow,.form-submit:active,.contact-button:active,.theme-toggle:active{transform:none}}

:root{--row-hover:#e8e4da;--line-soft:#bdb9b0}:root[data-theme=dark]{--row-hover:#191a17;--line-soft:#50514a}

.hero-navigation{z-index:1002}.reading-progress{z-index:1003}

