:root {
  color-scheme: light;
  --paper: #ffffff;
  --canvas: #f7faff;
  --ink: #24334b;
  --muted: #5b6b83;
  --blue: #2761cc;
  --blue-soft: #edf4ff;
  --line: #dce5f1;
  --radius: 18px;
  --space: clamp(22px, 5vw, 80px);
  --font: 'Segoe UI', Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.65 var(--font);
}
body.modal-open {
  overflow: hidden;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.35;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.045em;
  font-weight: 600;
}
button,
input {
  font: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
::selection {
  background: #dceaff;
  color: #123668;
}
.container {
  width: min(1200px, calc(100% - 2 * var(--space)));
  margin-inline: auto;
}
.blue {
  color: var(--blue);
}
.subtle {
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 12px;
  background: var(--blue);
  color: white;
}
.skip:focus {
  top: 12px;
}
.header {
  height: 94px;
  border-bottom: 1px solid #edf1f7;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -1px;
  white-space: nowrap;
}
.brand-light {
  font-weight: 400;
}
.brand-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--blue-soft);
  color: var(--blue);
  border-radius: 10px;
  font-size: 25px;
}
.desktop-nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: 40px;
  font-size: 13px;
  color: var(--muted);
}
.desktop-nav a:hover,
.text-link:hover,
.back-link:hover {
  color: var(--blue);
}
.hub-link {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.hub-link:hover {
  background: var(--blue-soft);
}
.menu-toggle {
  display: none;
  border: 0;
  background: var(--blue-soft);
  color: var(--blue);
  width: 42px;
  height: 42px;
  border-radius: 8px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 650;
  color: var(--blue);
  margin-bottom: 22px;
}
.tiny-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: 1px;
}
.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 50px;
  padding-block: 20px 75px;
}
.hero h1 {
  font-size: clamp(48px, 5.2vw, 74px);
  line-height: 1.08;
  letter-spacing: -0.065em;
  font-weight: 550;
}
.hero-description {
  max-width: 475px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
  margin-top: 26px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 14px 21px;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 48px;
  font-size: 13px;
  font-weight: 600;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button.primary {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.button.primary:hover {
  background: #1c50b1;
  transform: translateY(-2px);
}
.text-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
}
.location {
  font-size: 11px;
  color: var(--muted);
  margin-top: 35px;
  display: flex;
  gap: 9px;
  align-items: center;
}
.hero-visual {
  height: 425px;
  position: relative;
  background: radial-gradient(ellipse, #e9f2ff 0, #f6faff 50%, transparent 72%);
}
.visual-grid {
  position: absolute;
  inset: 0;
  background: radial-gradient(#a9c4e8 1px, transparent 1px);
  background-size: 23px 23px;
  mask-image: radial-gradient(ellipse, black 10%, transparent 65%);
  opacity: 0.55;
}
.visual-kicker {
  position: absolute;
  top: 5px;
  left: 18%;
  font-size: 9px;
  letter-spacing: 2px;
  color: #687e9a;
}
.floating-card {
  position: absolute;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #dfe9f7;
  border-radius: 15px;
  box-shadow: 0 18px 45px #42679d0d;
}
.mini-label {
  display: block;
  font: 9px/1.2 var(--font);
  font-weight: 600;
  letter-spacing: 1.4px;
  color: var(--blue);
}
.card-mobile {
  width: 163px;
  height: 232px;
  top: 55px;
  left: 2%;
  transform: rotate(-7deg);
  z-index: 2;
}
.phone {
  width: 78px;
  height: 136px;
  margin: 16px auto 10px;
  border: 3px solid #6391d8;
  border-radius: 12px;
  padding: 8px;
  background: #f9fbff;
}
.phone-dot {
  width: 15px;
  height: 3px;
  background: #9fbbe5;
  margin: -3px auto 9px;
  border-radius: 4px;
}
.phone-block {
  height: 30px;
  border-radius: 4px;
  background: #dce9fc;
}
.phone-lines {
  height: 26px;
  margin-top: 8px;
  background: repeating-linear-gradient(transparent 0 5px, #d5e1f1 5px 8px, transparent 8px 12px);
}
.phone-button {
  width: 40px;
  height: 12px;
  background: #4280df;
  border-radius: 3px;
  margin: 10px auto;
}
.visual-bottom {
  display: block;
  text-align: center;
  font-size: 8px;
  color: #657a98;
}
.card-system {
  width: 243px;
  height: 181px;
  top: 65px;
  right: 0;
  transform: rotate(5deg);
}
.system-window {
  border: 1px solid #d2e1f6;
  border-radius: 7px;
  margin-top: 17px;
  height: 85px;
  background: #fafcff;
  overflow: hidden;
}
.window-dots {
  font-size: 5px;
  letter-spacing: 3px;
  background: #eff5ff;
  color: #80a8df;
  padding: 4px 9px;
  border-bottom: 1px solid #d2e1f6;
}
.window-body {
  display: flex;
  gap: 8px;
  padding: 12px;
  height: 65px;
}
.window-body span {
  background: #deebfc;
  flex: 1;
  border-radius: 4px;
}
.window-body span:first-child {
  flex: 0.35;
  background: #85a9dc;
}
.window-body span:last-child {
  background: #bdd4f3;
}
.card-system .visual-bottom {
  margin-top: 12px;
}
.card-data {
  width: 210px;
  height: 158px;
  right: 11%;
  bottom: 9px;
  transform: rotate(-3deg);
}
.bars {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 10px;
  height: 68px;
  margin: 10px 0 12px;
  border-bottom: 1px solid #dde7f7;
}
.bars i {
  display: block;
  width: 21px;
  background: #bbd4f5;
  height: 38%;
  border-radius: 4px 4px 0 0;
}
.bars i:nth-child(2) {
  height: 58%;
}
.bars i:nth-child(3) {
  height: 46%;
}
.bars i:nth-child(4) {
  height: 78%;
  background: #78a3e0;
}
.bars i:nth-child(5) {
  height: 96%;
  background: #3572ce;
}
.visual-line {
  position: absolute;
  border: 1px dashed #a7c0e2;
  border-radius: 40px;
  width: 200px;
  height: 160px;
  left: 22%;
  top: 130px;
}
.line-b {
  transform: rotate(35deg);
  top: 180px;
  left: 27%;
}
.visual-plus {
  position: absolute;
  bottom: 53px;
  left: 10%;
  font-size: 27px;
  font-weight: 300;
  color: #7398cd;
}
.about-strip {
  background: var(--canvas);
  border-block: 1px solid #edf2f9;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.6fr 1.5fr 0.7fr;
  align-items: center;
  gap: 40px;
  padding-block: 33px;
}
.about-grid .eyebrow {
  margin: 0;
  font-size: 9px;
}
.about-grid > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.about-signature {
  justify-self: end;
  font-size: 11px;
  color: var(--blue);
}
.section {
  padding-block: 75px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 32px;
}
.section-heading h2,
.contact h2 {
  font-size: clamp(29px, 3vw, 40px);
  font-weight: 550;
  line-height: 1.2;
}
.section-heading > p {
  color: var(--muted);
  font-size: 13px;
}
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.experience-grid article {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.experience-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 24px;
  margin-bottom: 18px;
}
.experience-grid h3 {
  font-size: 18px;
  letter-spacing: -0.025em;
}
.experience-grid p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
}
.experience-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 15px;
}
.skills-section {
  overflow: hidden;
}
.skill-row + .skill-row {
  margin-top: 28px;
}
.skill-row h3 {
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.skill-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent);
}
.skill-track {
  display: flex;
  width: max-content;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  animation: marquee 55s linear infinite;
}
.skill-track.reverse {
  animation-direction: reverse;
  animation-duration: 45s;
}
.skill-track li {
  flex: none;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--canvas);
  color: var(--ink);
  font-size: 12px;
}
.skill-marquee:hover .skill-track,
.skill-marquee:focus-within .skill-track {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.experience-section {
  padding-block: 75px;
  background: var(--canvas);
  border-block: 1px solid #edf2f9;
}
.timeline {
  position: relative;
  max-width: 980px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 25px;
  width: 1px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 25px;
  padding-bottom: 42px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  align-self: start;
  width: 52px;
  height: 32px;
  border: 1px solid #bed1ec;
  border-radius: 999px;
  background: var(--paper);
  color: var(--blue);
  font-size: 9px;
  letter-spacing: 0.08em;
}
.timeline-content {
  padding: 0 0 2px;
}
.timeline-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
}
.experience-company {
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.timeline-heading h3 {
  font-size: 21px;
  letter-spacing: -0.025em;
}
.timeline-heading time {
  flex: none;
  color: var(--muted);
  font-size: 11px;
}
.timeline-summary {
  max-width: 800px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.timeline-content .tags {
  margin-top: 15px;
}
.projects-section {
  background: var(--canvas);
  border-block: 1px solid #edf2f9;
  padding-block: 65px;
}
.carousel-controls {
  display: flex;
  gap: 10px;
}
.arrow-button {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  border: 1px solid #c6d6eb;
  background: white;
  color: var(--blue);
  font-size: 20px;
}
.arrow-button:not(:disabled):hover {
  background: #e7f0ff;
}
.project-track {
  list-style: none;
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  margin: 0;
  padding: 7px 5px 18px;
  scrollbar-width: thin;
  scrollbar-color: #afc7e9 #eaf0f8;
}
.project-slide {
  position: relative;
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 0;
  scroll-snap-align: start;
}
.project-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: white;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.project-card:hover {
  border-color: #98b7e3;
  box-shadow: 0 8px 25px #4c6e9d0e;
}
.project-cover {
  height: 205px;
  position: relative;
  background: #e8f1ff;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.project-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  background: #edf4ff;
}
.project-cover.sky {
  background: #e9f5fc;
}
.project-cover.ice {
  background: #f0f4ff;
}
.cover-type {
  font-size: 42px;
  letter-spacing: -0.06em;
  color: #3368b7;
  font-weight: 500;
  z-index: 1;
}
.cover-type > span {
  font-size: 22px;
  margin-left: 15px;
  color: #789bcc;
}
.cover-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#8bb0dc15 1px, transparent 1px),
    linear-gradient(90deg, #8bb0dc15 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(black, transparent 75%);
}
.cover-caption {
  position: absolute;
  bottom: 22px;
  font-size: 8px;
  letter-spacing: 2px;
  color: #5275a8;
}
.project-card-content {
  padding: 24px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.project-category {
  color: var(--blue);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 13px;
}
.project-card h3 {
  font-size: 23px;
  letter-spacing: -0.04em;
}
.project-card-content > p:not(.project-category) {
  font-size: 14px;
  color: var(--muted);
  margin-top: 13px;
  min-height: 46px;
}
.card-bottom {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--blue);
}
.circle-arrow {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 16px;
}
.carousel-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 17px;
}
.contact {
  padding-block: 80px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 35px;
}
.contact > div > p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
}
.contact-actions {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}
.optional-contacts {
  grid-column: 1 / -1;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 11px;
  color: var(--muted);
}
.optional-contacts small {
  font-size: 10px;
}
.footer {
  padding-block: 27px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer .brand {
  font-size: 20px;
}
.footer .brand-icon {
  display: none;
}
.footer p,
.footer > span {
  font-size: 10px;
  color: var(--muted);
}
.project-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 45px;
  color: var(--ink);
  background: white;
  box-shadow: 0 25px 100px #173b6d33;
  overscroll-behavior: contain;
}
.project-dialog::backdrop {
  background: #253e645c;
  backdrop-filter: blur(4px);
}
.dialog-close {
  position: sticky;
  top: 0;
  float: right;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--ink);
  font-size: 25px;
  z-index: 1;
  margin: -22px -22px 0 5px;
}
.detail-heading h1,
.detail-heading h2 {
  font-size: 37px;
}
.detail-description {
  margin-top: 23px;
  color: var(--muted);
  font-size: 15px;
}
.tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.tags span {
  padding: 5px 10px;
  background: var(--blue-soft);
  color: var(--blue);
  border-radius: 5px;
  font-size: 10px;
}
.detail-image {
  max-width: 440px;
  width: 100%;
  margin: 28px auto;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.detail-subheading {
  font-size: 19px;
  margin-top: 28px;
}
.contributions {
  padding-left: 20px;
  font-size: 14px;
  color: var(--muted);
}
.contributions li {
  padding-bottom: 7px;
}
.detail-note {
  font-size: 12px;
  color: var(--muted);
  background: var(--canvas);
  border-left: 3px solid #bcd1ee;
  padding: 15px 18px;
  margin-top: 25px;
}
.unavailable {
  font-size: 11px;
  color: var(--muted);
  margin-top: 20px;
}
.detail-page {
  max-width: 780px;
  padding-block: 45px 70px;
}
.back-link {
  display: inline-block;
  font-size: 12px;
  color: var(--muted);
}
.detail-page > .back-link,
.hub-main > .back-link,
.placeholder-page > .back-link {
  margin-bottom: 38px;
}
.hub-main {
  padding-block: 65px 80px;
  min-height: calc(100vh - 185px);
}
.hub-main h1,
.placeholder-page h1 {
  font-size: clamp(36px, 4.5vw, 57px);
  font-weight: 550;
  line-height: 1.15;
}
.hub-intro {
  font-size: 16px;
  color: var(--muted);
  margin-top: 22px;
}
.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.hub-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: white;
}
.hub-card:hover {
  background: var(--canvas);
  border-color: #a5bee2;
}
.hub-icon {
  display: inline-grid;
  place-items: center;
  width: 47px;
  height: 47px;
  border-radius: 12px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 28px;
}
.status {
  float: right;
  font-size: 10px;
  padding: 5px 9px;
  background: var(--canvas);
  border-radius: 5px;
  color: var(--muted);
}
.hub-card h2 {
  font-size: 24px;
  margin-top: 22px;
}
.hub-card p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 14px;
}
.hub-card .text-link {
  margin-top: 23px;
  color: var(--blue);
  font-size: 12px;
}
.notice {
  padding: 20px 24px;
  background: var(--blue-soft);
  color: #405c82;
  border: 1px solid #d8e5f7;
  border-radius: 10px;
  font-size: 13px;
  margin-top: 30px;
}
.notice p {
  margin-top: 8px;
}
.warning {
  background: #fff9ed;
  border-color: #ebdab6;
  color: #715822;
}
.warning strong {
  font-weight: 600;
}
.information-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 16px;
  margin-top: 30px;
}
.information-grid details {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 21px;
}
.information-grid summary {
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.information-grid summary span {
  color: var(--blue);
}
.information-grid details[open] summary span {
  transform: rotate(45deg);
}
.information-grid details > p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 20px;
}
.placeholder-label {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 15px;
}
.placeholder-page {
  max-width: 760px;
  padding-block: 55px 80px;
  min-height: calc(100vh - 190px);
}
.placeholder-page > .back-link {
  display: block;
}
.placeholder-page .hub-icon {
  margin-bottom: 25px;
}
.placeholder-page > .eyebrow {
  margin-top: 15px;
}
.placeholder-page > .button {
  margin-top: 30px;
}
.placeholder-page > p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--muted);
}
.future-address {
  font-size: 12px;
}
.future-address strong {
  font-weight: 500;
  color: var(--blue);
}
@media (max-width: 1050px) {
  .desktop-nav {
    gap: 20px;
    margin-right: 10px;
  }
  .hero {
    gap: 15px;
  }
  .hero h1 {
    font-size: 55px;
  }
  .hero-visual {
    transform: scale(0.88);
    transform-origin: center;
  }
  .card-system {
    width: 195px;
  }
  .card-mobile {
    left: -4%;
  }
  .card-data {
    right: 2%;
  }
  .about-grid {
    grid-template-columns: 0.6fr 1.4fr;
    gap: 25px;
  }
  .about-signature {
    display: none;
  }
  .project-slide {
    flex-basis: calc((100% - 22px) / 2.25);
  }
  .contact {
    grid-template-columns: 1fr;
  }
  .contact-actions {
    flex-direction: row;
    justify-content: flex-start;
  }
}
@media (max-width: 760px) {
  .header {
    height: 78px;
  }
  .header-inner {
    gap: 12px;
  }
  .brand {
    font-size: 21px;
    gap: 8px;
  }
  .brand-icon {
    width: 31px;
    height: 31px;
    font-size: 22px;
  }
  .desktop-nav {
    display: none;
  }
  .hub-link {
    margin-left: auto;
    padding: 7px 10px;
  }
  .menu-toggle {
    display: block;
    width: 36px;
    height: 36px;
  }
  .mobile-nav {
    position: absolute;
    top: 76px;
    left: calc(-1 * var(--space));
    right: calc(-1 * var(--space));
    padding: 15px var(--space);
    background: white;
    border-bottom: 1px solid var(--line);
    z-index: 10;
    box-shadow: 0 15px 25px #294a7410;
  }
  .mobile-nav a {
    display: block;
    padding: 12px;
    color: var(--muted);
    font-size: 14px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 46px 35px;
    gap: 25px;
  }
  .hero h1 {
    font-size: clamp(44px, 10vw, 60px);
  }
  .hero-description {
    font-size: 15px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.3px;
  }
  .hero-visual {
    width: min(100%, 410px);
    height: 360px;
    margin: 0 auto;
    transform: none;
  }
  .card-mobile {
    width: 145px;
    height: 220px;
    left: 3%;
    top: 48px;
  }
  .card-system {
    right: 0;
    width: 185px;
    top: 40px;
    height: 172px;
    padding: 16px;
  }
  .card-data {
    right: 4%;
    width: 180px;
    height: 146px;
    bottom: 0;
    padding: 16px;
  }
  .card-mobile .phone {
    margin-top: 13px;
  }
  .visual-kicker {
    top: 0;
  }
  .visual-plus {
    bottom: 26px;
  }
  .actions {
    gap: 23px;
  }
  .location {
    margin-top: 26px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-block: 28px;
  }
  .section {
    padding-block: 50px;
  }
  .section-heading h2,
  .contact h2 {
    font-size: 30px;
  }
  .section-heading > p {
    display: none;
  }
  .experience-grid {
    gap: 18px;
  }
  .experience-grid h3 {
    font-size: 16px;
  }
  .experience-grid p {
    font-size: 13px;
  }
  .experience-note {
    margin-top: 5px;
  }
  .skills-section {
    padding-inline: 0;
    width: 100%;
  }
  .skills-section .section-heading,
  .skill-row h3 {
    width: min(100% - 2 * var(--space), 1200px);
    margin-inline: auto;
  }
  .skill-marquee {
    mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
  }
  .experience-section {
    padding-block: 50px;
  }
  .timeline-item {
    grid-template-columns: 40px 1fr;
    gap: 16px;
    padding-bottom: 34px;
  }
  .timeline::before {
    left: 19px;
  }
  .timeline-marker {
    width: 40px;
    height: 28px;
  }
  .timeline-heading {
    display: block;
  }
  .timeline-heading h3 {
    font-size: 18px;
  }
  .timeline-heading time {
    display: block;
    margin-top: 6px;
  }
  .timeline-summary {
    font-size: 13px;
  }
  .projects-section {
    padding-block: 48px;
  }
  .project-slide {
    flex-basis: 84%;
  }
  .project-cover {
    height: 195px;
  }
  .project-card-content {
    padding: 22px;
  }
  .project-card-content > p:not(.project-category) {
    min-height: 0;
  }
  .project-category {
    font-size: 9px;
  }
  .section-heading {
    align-items: end;
    gap: 12px;
  }
  .carousel-controls {
    gap: 7px;
  }
  .arrow-button {
    height: 36px;
    width: 36px;
    font-size: 18px;
  }
  .carousel-footer {
    font-size: 9px;
    gap: 10px;
  }
  .contact {
    padding-block: 52px;
    gap: 25px;
  }
  .contact-actions {
    flex-wrap: wrap;
    gap: 22px;
  }
  .optional-contacts {
    gap: 20px;
  }
  .footer {
    flex-wrap: wrap;
    gap: 15px;
  }
  .footer p {
    order: 3;
    width: 100%;
  }
  .footer > span {
    font-size: 9px;
  }
  .project-dialog {
    padding: 30px 24px;
    border-radius: 14px;
    max-height: calc(100dvh - 32px);
  }
  .dialog-close {
    margin: -14px -10px 0 10px;
  }
  .detail-heading h1,
  .detail-heading h2 {
    font-size: 30px;
  }
  .detail-description {
    font-size: 14px;
  }
  .detail-image {
    max-width: 100%;
  }
  .hub-main {
    padding-block: 42px 55px;
  }
  .hub-grid,
  .information-grid {
    grid-template-columns: 1fr;
  }
  .hub-main h1,
  .placeholder-page h1 {
    font-size: 37px;
  }
  .hub-intro {
    font-size: 14px;
  }
  .hub-card {
    padding: 24px;
  }
  .notice {
    font-size: 12px;
    padding: 20px;
  }
  .header .back-link {
    font-size: 11px;
  }
}
@media (max-width: 380px) {
  .brand-icon {
    display: none;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .hero-visual {
    height: 325px;
    overflow: clip;
  }
  .card-mobile {
    width: 133px;
    left: 0;
  }
  .card-system {
    width: 162px;
  }
  .card-data {
    width: 162px;
    height: 138px;
  }
  .visual-bottom {
    font-size: 7px;
  }
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .experience-grid article {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 0 15px;
    padding: 18px 0;
  }
  .experience-icon {
    grid-row: span 2;
    margin: 0;
  }
  .experience-grid p {
    margin-top: 5px;
  }
  .section-heading h2 {
    font-size: 26px;
  }
  .carousel-controls {
    align-self: end;
  }
  .arrow-button {
    width: 31px;
    height: 31px;
  }
  .project-slide {
    flex-basis: 90%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .skill-marquee {
    overflow-x: auto;
    mask-image: none;
  }
}
