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

:root {
  --bg: #101010;
  --bg-alt: #161616;
  --text: #f2f2f2;
  --text-soft: rgba(242, 242, 242, 0.6);
  --accent: #ffffff;
  --muted-mark: #8a8a8a;
  --line: rgba(242, 242, 242, 0.1);
  --radius: 14px;
  --max-width: clamp(900px, 75vw, 1440px);
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
  font-family: "Space Grotesk", "Inter", system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

a, button {
  -webkit-tap-highlight-color: transparent;
}

a:visited {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.loading-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.loading-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.loading-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 20px #fff;
  animation: loading-pulse 1.1s ease-in-out infinite;
}

.loading-dot:nth-child(2) {
  animation-delay: 0.15s;
}

.loading-dot:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes loading-pulse {
  0%, 100% {
    opacity: 0.25;
    transform: scale(0.75);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.loading-text {
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--text-soft);
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  font-weight: 600;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent);
}

.nav .wrap {
  max-width: none;

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px 12px;
  gap: var(--space-3);
}

.logo {

  flex: 1;
}

.logo-link {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  width: fit-content;
}

.logo-name {
  font-size: 1.25rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.logo-name .logo-accent {
  background: linear-gradient(160deg, #ffffff 0%, #8f8f8f 50%, #d8d8d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.logo-sub {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text);
}

.nav-pill-wrap {
  display: flex;
  justify-content: center;
}

.nav-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 180px;
  height: 48px;
  padding: 0 6px;
  border-radius: 24px;
  background: rgba(242, 242, 242, 0.05);
  border: 1px solid rgba(242, 242, 242, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-pill:hover {
  background: rgba(242, 242, 242, 0.08);
  border-color: rgba(242, 242, 242, 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.nav-pill-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 36px;
  border-radius: 18px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-pill-link:hover {
  color: var(--text);
}

.nav-pill-link.is-active {
  color: var(--text);
  background: rgba(242, 242, 242, 0.07);
}

.nav-pill-link.is-active::after {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: var(--text);
  box-shadow: 0 2px 20px 1px rgba(255, 255, 255, 0.6);
}

.nav-right {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-1);
}

.nav-chips {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-chip {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 12px 0 16px;
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-chip:hover {
  background: rgba(242, 242, 242, 0.06);
  color: var(--text);
}

.nav-more {
  display: none;
  position: relative;
}

.nav-more-toggle {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.nav-more-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-more-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%) rotate(0deg);
  transition: opacity 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-more-icon-close {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.nav-more-toggle[aria-expanded="true"] .nav-more-icon-open {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.nav-more-toggle[aria-expanded="true"] .nav-more-icon-close {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg);
}

.nav-more-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 160px;
  padding: var(--space-2);
  background: rgba(242, 242, 242, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(242, 242, 242, 0.1);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-more-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-more-menu a {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s ease;
}

.nav-more-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 176px 0 24px;
  background-image: radial-gradient(circle closest-corner at 50% 0px, rgba(242, 242, 242, 0.15), transparent);
}

.hero-overline {
  display: none;
}

.hero-overline-text {
  color: var(--text-soft);
  font-size: 1rem;
  font-weight: 400;
}

@media (max-width: 767px) {
  .hero-overline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: var(--space-3);
  }
}

.hero-window-outline {
  position: relative;
  isolation: isolate;
  max-width: var(--max-width);
  margin: 0 auto;
  border-radius: 24px;
  outline: 1px solid rgba(242, 242, 242, 0.35);
  outline-offset: -1px;
  padding: 8px;
  overflow: hidden;
  background-image: radial-gradient(circle farthest-side at 50% 0px, rgba(242, 242, 242, 0.2), transparent);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.4), 0 0 60px rgba(0, 0, 0, 0.2), 0 30px 120px rgba(0, 0, 0, 0.8);
}

.hero-window-outline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-image: linear-gradient(to right, transparent 5%, rgba(255, 255, 255, 0.8) 35%, #fff 50%, rgba(255, 255, 255, 0.8) 65%, transparent 95%);
  z-index: 2;
  pointer-events: none;
}

.hero-box {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(242, 242, 242, 0.3);
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1), 0 0 12px rgba(0, 0, 0, 0.4);
}

.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 48px;
  background-image: linear-gradient(to bottom, transparent, var(--bg) 60%);
  z-index: 5;
  pointer-events: none;
}

.hero-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-image: linear-gradient(to right, transparent 10%, #fff 50%, transparent 90%);
  z-index: 2;
  pointer-events: none;
}

.hero-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 12px 0 20px;
  background-image: linear-gradient(to right, rgba(242, 242, 242, 0.1), rgba(242, 242, 242, 0.35) 50%, rgba(242, 242, 242, 0.1));
  box-shadow: 0 10px 20px 4px rgba(0, 0, 0, 0.25);
}

.hero-bar-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-bar-plus {
  opacity: 0.2;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--text);
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.hero-dot-red {
  background: #f46b5d;
  box-shadow: 0 0 16px 2px rgba(244, 107, 93, 0.5);
}

.hero-dot-yellow {
  background: #f9bd4e;
  box-shadow: 0 0 16px 2px rgba(249, 189, 78, 0.5);
}

.hero-dot-green {
  background: #57c353;
  box-shadow: 0 0 16px 2px rgba(87, 195, 83, 0.5);
}

.hero-content {
  padding: 80px 56px 192px;
}

.hero-text-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.hero-scroll {
  animation: hero-scroll-bounce 2.2s ease-in-out infinite;
}

.hero-scroll svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-soft);
}

@media (min-width: 768px) {
  .hero-scroll svg {
    width: 32px;
    height: 32px;
  }
}

@keyframes hero-scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.hero-content h1 {
  text-align: left;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 6.2vw, 5rem);
  line-height: 0.99;
  letter-spacing: -0.025em;
  margin: 0;
  color: #ffffff;
  text-shadow: rgba(0, 87, 255, 0.15) 0px 5px 10px, rgba(255, 90, 0, 0.1) 0px -5px 10px, rgba(255, 255, 255, 0.35) 0px -5px 28px, rgba(255, 255, 255, 0.15) 0px 0px 40px;
}

.hero-content h1 .bracket {
  font-family: "Gloock", serif;
  font-style: italic;
  font-weight: 400;
  padding-right: 0.2em;
  background-image: linear-gradient(to bottom, var(--text) 60%, transparent 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 5px 15px rgba(0, 87, 255, 0.1), 0 -5px 15px rgba(255, 90, 0, 0.08), 0 0 30px rgba(255, 255, 255, 0.2);
}

.hero-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.hero-about-main {
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 500;
  color: var(--text);
}

.hero-about-sub {
  margin-top: 4px;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.placeholder {
  border: 1.5px dashed #3a3a3a;
  border-radius: var(--radius);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.85rem;
  padding: var(--space-3);
  min-height: 220px;
}

.work-scroll {
  position: relative;
  padding: var(--space-6) var(--space-3);
}

.work-buttons {
  position: fixed;
  left: 3vw;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 31px;
  z-index: 40;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s ease;
}

.work-buttons.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.work-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  padding: 4px 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;

  color: rgba(242, 242, 242, 0.48);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.work-btn::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(242, 242, 242, 0.48);
  box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.work-btn:hover {
  color: var(--text);
}

.work-btn.is-active {
  color: var(--text);

  text-shadow: rgba(0, 87, 255, 0.15) 0px 2px 4px, rgba(255, 90, 0, 0.1) 0px -2px 4px, rgba(255, 255, 255, 0.35) 0px -2px 10px, rgba(255, 255, 255, 0.15) 0px 0px 14px;
}

.work-btn.is-active::before {
  background: var(--text);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.work-stage {

  max-width: calc(var(--max-width) - (var(--space-3) * 2));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: calc(var(--space-4) + 4rem);
}

.work-panel {
  width: 100%;

  scroll-margin-top: 100px;
}

@media (aspect-ratio < 16/10), (max-width: 1150px) {
  .work-buttons {
    display: none;
  }

  .work-stage {
    gap: calc((var(--space-4) + 4rem) / 2);
  }
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  gap: var(--space-3);
  flex-wrap: wrap;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section-heading p {
  color: var(--text-soft);
  max-width: 40ch;
  font-size: 0.95rem;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.75rem;
  color: var(--text-soft);
}

.contact {
  padding: var(--space-6) 0;
  text-align: center;
  border-top: 1px solid var(--line);
}

.contact h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: var(--space-2);
}

.contact p {
  color: var(--text-soft);
  margin-bottom: var(--space-4);
}

.contact-links {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

.contact-links a {
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 500;
  font-size: 0.95rem;
  background: transparent;
  transition: background 0.2s ease;
}

.contact-links a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.contact-email-group {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.copy-email-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.copy-email-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.copy-icon {
  position: absolute;
  width: 16px;
  height: 16px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.copy-icon-check {
  opacity: 0;
  transform: scale(0.6);
}

.copy-email-btn.is-copied .copy-icon-copy {
  opacity: 0;
  transform: scale(0.6);
}

.copy-email-btn.is-copied .copy-icon-check {
  opacity: 1;
  transform: scale(1);
}

footer {
  padding: 88px 0 80px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  gap: var(--space-6);
  padding-bottom: 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 106px;
}

.footer-overline {
  text-transform: uppercase;
  font-size: 0.5625rem;
  letter-spacing: 0.15em;
  color: var(--text-soft);
  font-weight: 500;
  margin-bottom: 2px;
}

.footer-col a {
  font-size: 0.95rem;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.footer-col a:hover {
  opacity: 0.65;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

footer p {
  font-size: 0.85rem;
  color: var(--text-soft);
}

.page-hero {
  padding: var(--space-6) 0 var(--space-4);
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: var(--space-3);
}

.page-hero p {
  max-width: 56ch;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.timeline {
  padding: var(--space-5) 0;
  border-top: 1px solid var(--line);
}

.timeline-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-date {
  flex: 0 0 160px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.timeline-role h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.timeline-role p {
  color: var(--text-soft);
  max-width: 50ch;
}

.tools {
  padding: var(--space-5) 0 var(--space-6);
}

.tools .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--space-3);
}

.about-intro {
  padding: var(--space-6) 0 var(--space-5);
}

.about-intro .wrap,
.about-story .wrap,
.about-experience .wrap {
  max-width: clamp(900px, 88vw, 1600px);
}

.about-hero-heading {
  margin-top: var(--space-3);
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.about-story {
  padding-bottom: var(--space-5);
}

.about-story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 56px;
  margin-bottom: var(--space-6);
}

.about-story-row:last-child {
  margin-bottom: 0;
}

.about-story-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.about-story-col.has-offset {
  margin-top: 88px;
}

.about-story-row-wide {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.about-story-row-wide .about-photo-frame {
  width: 90%;
  margin: 0 auto;
}

.about-photo-landscape {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.about-photo-landscape img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: var(--bg-alt);
}

.about-photo-placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: var(--bg-alt);
}

.about-photo-frame {
  width: 100%;
  margin: 0;
}

.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 2 / 3;
  min-height: 0;
  border-radius: 0;
}

.about-story-text {
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--text-soft);
}

.about-story-emphasis {
  display: block;
  margin-bottom: var(--space-2);
  font-size: 1.25rem;
  font-weight: 500;
  color: rgba(242, 242, 242, 0.9);
}

.about-experience {
  padding: 72px 0 var(--space-6);
}

.exp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 56px;
}

.exp-company {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: 2.5rem;
  font-weight: 500;
}

.exp-company-icon {
  width: 103px;
  border-radius: 16px;
  border: 1px solid rgba(242, 242, 242, 0.2);
  background: rgba(242, 242, 242, 0.03);
  overflow: hidden;
}

.exp-company-icon img {
  display: block;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  margin: -1px;
  object-fit: contain;
}

.exp-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.exp-title-date {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.exp-meta {
  font-size: 1.125rem;
  color: rgba(242, 242, 242, 0.4);
}

.exp-desc {
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--text-soft);
  max-width: 50ch;
}

@media (max-width: 800px) {
  .about-story-row,
  .exp-row {
    grid-template-columns: 1fr;
  }

  .about-story-col.has-offset {
    margin-top: 0;
  }

  .about-story-col,
  .about-story-row-wide {
    gap: var(--space-2);
  }

  .about-story-row {
    row-gap: var(--space-5);
    margin-bottom: var(--space-5);
  }

  .about-story-row-wide .about-photo-frame {
    width: 100%;
    margin: 0;
  }

  .exp-company {
    flex-direction: row;
    align-items: center;
    gap: var(--space-2);
    font-size: 1.5rem;
  }

  .exp-row.timeline-item {
    padding-top: 8px;
    row-gap: 44px;
  }

  .exp-company-icon {
    width: 56px;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .exp-title-date {
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
  }

  .about-story-text {
    order: -1;
    font-size: 1rem;
  }

  .about-hero-heading {
    font-size: 30px;
  }
}

.resume-view {
  padding: 0 0 var(--space-6);
}

.resume-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.resume-toggle {
  display: flex;
  align-items: center;
  padding: 6px;
  border-radius: 24px;
  background: rgba(242, 242, 242, 0.05);
  border: 1px solid rgba(242, 242, 242, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.resume-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 18px;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.2s ease, background 0.2s ease;
}

.resume-toggle-btn:hover {
  color: var(--text);
}

.resume-toggle-btn.is-active {
  color: var(--text);
  background: rgba(242, 242, 242, 0.07);
}

.resume-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px 14px 20px;
  border-radius: 100px;
  background: rgba(242, 242, 242, 0.15);
  border: 1px solid rgba(242, 242, 242, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.resume-download:hover {
  background: rgba(242, 242, 242, 0.2);
  border-color: rgba(242, 242, 242, 0.1);
}

.resume-download-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.resume-download:hover .resume-download-icon {
  transform: translateY(4px);
}

.resume-frames {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.resume-frames.is-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: var(--space-3);
}

@media (max-width: 700px) {
  .resume-frames.is-split {
    grid-template-columns: 1fr;
  }
}

.case-wrap {
  max-width: 882px;
  margin: 0 auto;
}

@media (min-width: 1440px) {
  .case-wrap {
    max-width: 1044px;
  }
}

.case-overview,
.case-highlights,
.case-section {
  scroll-margin-top: 100px;
}

.case-back {
  position: fixed;
  top: 32px;
  left: 48px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px 10px 12px;
  border-radius: 100px;
  background: rgba(242, 242, 242, 0.15);
  border: 1px solid rgba(242, 242, 242, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.case-back:hover {
  background: rgba(242, 242, 242, 0.2);
  border-color: rgba(242, 242, 242, 0.1);
}

.case-back-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.case-back:hover .case-back-icon {
  transform: translateX(-4px);
}

.case-sidebar {
  display: none;
  position: fixed;
  left: calc((100vw - 882px) / 2 - 48px);
  top: 50%;
  transform: translate(-100%, -50%);
  z-index: 20;
  flex-direction: column;
  gap: var(--space-2);
  max-width: 160px;
}

.case-sidebar-label {
  font-size: 0.625rem;
  line-height: 18px;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.case-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-chapter {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.6875rem;
  font-weight: 300;
  letter-spacing: 0.4px;
  line-height: 17px;
  padding: 4px 0;
  opacity: 0.25;
  transition: opacity 0.2s ease;
}

.case-chapter:hover {
  opacity: 0.6;
}

.case-chapter.is-active {
  opacity: 1;
  font-weight: 500;
}

.case-banner {
  position: relative;
  padding: 104px var(--space-3) var(--space-5);
  background: radial-gradient(circle farthest-side at 50% 0%, rgba(255, 255, 255, 0.2), transparent 70%);
  overflow: hidden;
}

.case-banner-mvpeak {
  background: radial-gradient(circle farthest-side at 50% 0%, rgba(20, 70, 200, 0.2), transparent 70%);
}

.case-banner-silicost {
  background: radial-gradient(circle farthest-side at 50% 0%, rgba(34, 197, 94, 0.2), transparent 70%);
}

.case-banner-campus {
  background: radial-gradient(circle farthest-side at 50% 0%, rgba(139, 92, 246, 0.2), transparent 70%);
}

.case-banner-ukhsa {
  background: radial-gradient(circle farthest-side at 50% 0%, rgba(29, 112, 184, 0.2), transparent 70%);
}

.case-banner-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.2;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
  pointer-events: none;
}

.case-banner-fade {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.case-banner-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
}

.case-title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.case-banner h1 {
  font-size: 64px;
  line-height: 72px;
  letter-spacing: -1px;
  text-shadow: 0 5px 15px rgba(0, 87, 255, 0.2), 0 -5px 15px rgba(255, 90, 0, 0.15), 0 -5px 25px rgba(255, 255, 255, 0.25);
  background: linear-gradient(to bottom, var(--text) 50%, transparent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.case-meta-line {
  opacity: 0.5;
  color: var(--text);
  font-size: 1.125rem;
}

.case-banner-media {
  width: 100%;
  min-height: 420px;
}

.case-media-frame {
  position: relative;
  display: block;
  border-radius: 24px;
  padding: 8px;
  background-color: rgba(242, 242, 242, 0.04);
  outline: 1px solid rgba(242, 242, 242, 0.05);
  outline-offset: -1px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.case-media-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-image: linear-gradient(to right, transparent 5%, rgba(255, 255, 255, 0.8) 35%, #fff 50%, rgba(255, 255, 255, 0.8) 65%, transparent 95%);
  z-index: 2;
  pointer-events: none;
}

.case-media-frame.has-side-glare::before {
  top: 0;
  bottom: 0;
  left: 0;
  right: auto;
  width: 1px;
  height: auto;
  background-image: linear-gradient(to bottom, transparent 5%, rgba(255, 255, 255, 0.8) 35%, #fff 50%, rgba(255, 255, 255, 0.8) 65%, transparent 95%);
}

.case-media-frame.has-side-glare::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 1px;
  background-image: linear-gradient(to bottom, transparent 5%, rgba(255, 255, 255, 0.8) 35%, #fff 50%, rgba(255, 255, 255, 0.8) 65%, transparent 95%);
  z-index: 2;
  pointer-events: none;
}

.case-media-inner {
  position: relative;
  display: block;
  border-radius: 16px;
  border: 1px solid rgb(61, 61, 61);
  overflow: hidden;
  isolation: isolate;
}

.case-media-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-image: linear-gradient(to right, transparent 10%, #fff 50%, transparent 90%);
  z-index: 2;
  pointer-events: none;
}

.case-media-inner.has-side-glare::before {
  top: 0;
  bottom: 0;
  left: 0;
  right: auto;
  width: 2px;
  height: auto;
  background-image: linear-gradient(to bottom, transparent 10%, #fff 50%, transparent 90%);
}

.case-media-inner.has-side-glare::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 2px;
  background-image: linear-gradient(to bottom, transparent 10%, #fff 50%, transparent 90%);
  z-index: 2;
  pointer-events: none;
}

.case-media-inner img {
  display: block;
  width: 100%;
  transform: scale(1.003);
  transform-origin: center;
  background-color: var(--bg-alt);
}

.case-overview {
  padding: 104px var(--space-3);
}

.case-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-5);
  align-items: start;
}

.case-overview-facts {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.case-fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-overview-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.case-overview-text p:last-child {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.5;
}

.case-highlights {
  padding: 48px var(--space-3) 120px;
}

.case-highlights-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
  margin-bottom: var(--space-5);
}

.case-callout {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
}

.case-highlights-box {
  position: relative;
  padding: 48px 24px 32px;
  border-radius: 24px;
  background-color: rgba(242, 242, 242, 0.04);
  background-image: radial-gradient(circle closest-side at 50% 0%, rgba(100, 210, 255, 0.05), transparent);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.case-highlights-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 15%, rgba(100, 210, 255, 0.5) 50%, transparent 95%);
}

.case-highlights-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.case-highlights-grid.is-paired {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px var(--space-3);
}

.case-highlight {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.case-highlight-media {
  min-height: 400px;
}

.case-highlight-media.is-wide {
  min-height: 0;
}

.case-highlight-media.is-wide .case-media-inner {
  aspect-ratio: 2400 / 1385;
}

.case-highlight-media.is-wide .case-media-inner img {
  height: 100%;
  object-fit: cover;
}

.case-caption-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 0 4px;
}

.case-caption {
  font-size: 0.625rem;
  line-height: 0.875rem;
  color: var(--text-soft);
}

.case-caption-index {
  color: rgba(242, 242, 242, 0.7);
  font-weight: 500;
  margin-right: 4px;
}

.case-chip {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.625rem;
  line-height: 0.875rem;
  letter-spacing: normal;
  text-transform: uppercase;
  color: rgba(242, 242, 242, 0.4);
  background: rgba(242, 242, 242, 0.05);
  border-radius: 100px;
  padding: 4px 10px;
  white-space: nowrap;
}

.case-divider {
  padding: var(--space-2) var(--space-3);
}

.case-divider-line {
  height: 1px;
  background: rgba(242, 242, 242, 0.2);
}

.case-section {
  padding: 120px var(--space-3);
}

.case-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-2);
}

.case-section-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 20px #fff;
  flex-shrink: 0;
}

.case-section h2 {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.1px;
  margin-bottom: var(--space-4);
}

.case-section-columns {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-4);
  align-items: baseline;
}

.case-section-subheading {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.25;
  padding-right: var(--space-3);
}

.case-section-body p {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.5;
}

.case-section-media {
  margin-top: var(--space-4);
}

.case-media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: var(--space-3);
}

.case-media-col {
  display: flex;
  flex-direction: column;
}

.case-media-caption {
  margin-top: var(--space-4);
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.5;
}

.case-media-row .placeholder {
  min-height: 280px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-3);
  background: var(--bg-alt);
}

.stat .number {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  background: linear-gradient(160deg, #ffffff 0%, #8f8f8f 50%, #d8d8d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat .label {
  color: var(--text-soft);
  font-size: 0.85rem;
  margin-top: 4px;
}

.next-project {
  padding: 120px var(--space-3);
  text-align: center;
}

.next-project-label {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(242, 242, 242, 0.35);
  margin-bottom: var(--space-3);
}

.next-project .ref-outline {
  text-align: left;
}

@media (min-width: 1280px) {
  .case-sidebar {
    display: flex;
  }
}

@media (min-width: 1440px) {
  .case-back {
    top: 40px;
  }

  .case-sidebar {
    left: calc((100vw - 1044px) / 2 - 56px);
  }

  .case-banner {
    padding-top: 120px;
  }

  .case-banner h1 {
    font-size: 72px;
    line-height: 80px;
  }
}

@media (min-width: 1920px) {
  .case-wrap {
    max-width: 1440px;
  }

  .case-back {
    top: 52px;
  }

  .case-sidebar {
    left: calc((100vw - 1440px) / 2 - 72px);
  }

  .case-sidebar-list {
    gap: 16px;
  }

  .case-chapter {
    font-size: 0.75rem;
    line-height: 18px;
  }

  .case-banner {
    padding-top: 144px;
  }

  .case-banner h1 {
    font-size: 80px;
    line-height: 88px;
  }

  .case-meta-line {
    font-size: 1.25rem;
  }

  .case-overview {
    padding: 144px var(--space-3);
  }

  .case-highlights-box {
    padding: 64px 32px 48px;
    border-radius: 32px;
  }

  .case-callout {
    font-size: 2.5rem;
  }

  .case-caption {
    font-size: 0.875rem;
  }

  .case-chip {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .case-media-frame {
    border-radius: 32px;
  }

  .case-media-inner {
    border-radius: 24px;
  }

  .case-section {
    padding: 160px var(--space-3);
  }

  .case-section h2 {
    font-size: 56px;
    line-height: 62px;
  }

  .case-section-columns {
    gap: 72px;
  }

  .case-section-subheading {
    font-size: 2rem;
    line-height: 38px;
  }

  .case-section-body p {
    font-size: 1.125rem;
    padding-right: 40px;
  }

  .next-project {
    padding: 160px var(--space-3);
  }
}

@media (max-width: 767px) {
  .case-banner h1 {
    font-size: 56px;
    line-height: 64px;
    letter-spacing: -2.5px;
  }

  .case-section h2 {
    font-size: 32px;
  }

  .case-overview-text p:last-child,
  .case-section-body p {
    font-size: 0.9375rem;
  }

  .case-overview-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .case-banner-media,
  .case-highlight-media {
    min-height: 0;
  }
}

@media (max-width: 479px) {
  .case-banner h1 {
    font-size: 48px;
    line-height: 52px;
    letter-spacing: -1.5px;
  }
}

@media (max-width: 640px) {
  .nav-chips {
    display: none;
  }

  .nav-more {
    display: block;
  }

  .nav-more-toggle {
    width: 48px;
    height: 48px;
    background: rgba(242, 242, 242, 0.05);
    border: 1px solid rgba(242, 242, 242, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }

  .nav-more-icon {
    width: 24px;
    height: 24px;
  }

  .nav-more-toggle:hover {
    background: rgba(242, 242, 242, 0.08);
    border-color: rgba(242, 242, 242, 0.2);
  }
}

@media (max-width: 479px) {
  .logo {
    display: none;
  }

  .nav .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .resume-toggle {
    display: none;
  }

  .resume-toolbar {
    justify-content: center;
  }
}

@media (max-width: 800px) {
  .case-media-row,
  .case-highlights-grid.is-paired {
    grid-template-columns: 1fr;
  }

  .case-media-caption {
    margin-top: var(--space-2);
  }

  .case-section-columns {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .case-back {
    left: 16px;
    top: 20px;
  }

  .timeline-date {
    flex-basis: auto;
  }

  .hero {
    padding: 130px 0 var(--space-4);
  }

  .hero-content {
    padding: 48px 28px 90px;
  }

  .work-scroll {
    padding-top: var(--space-3);
  }

  .hero-about-grid {
    grid-template-columns: 1fr;
  }

  .hero-about-null {
    display: none;
  }

  .contact {
    padding: var(--space-5) 0;
  }

  .page-hero {
    padding-top: 130px;
  }

  .case-banner {
    padding-top: 100px;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 var(--space-2);
  }

  .work-scroll {
    padding-left: var(--space-2);
    padding-right: var(--space-2);
  }

  .timeline-item {
    flex-direction: column;
    gap: var(--space-1);
  }

  .footer-top {
    gap: var(--space-4);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.ref-outline {
  position: relative;
  display: block;
  border-radius: 24px;
  padding: 8px;
  background-color: rgba(242, 242, 242, 0.04);
  outline: 1px solid rgba(242, 242, 242, 0.05);
  outline-offset: -1px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.ref-outline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-image: linear-gradient(to right, transparent 5%, rgba(255, 255, 255, 0.8) 35%, #fff 50%, rgba(255, 255, 255, 0.8) 65%, transparent 95%);
  z-index: 2;
  pointer-events: none;
}

.ref-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid rgb(61, 61, 61);
  padding: 32px 28px 0;
  background: linear-gradient(190deg, rgb(37, 37, 37), rgb(16, 16, 16));
  overflow: hidden;
  transition: border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ref-topborder {
  position: relative;
  z-index: 1;
  align-self: center;
  width: 100%;
  max-width: 90%;
  height: auto;
  display: block;
  pointer-events: none;
  transform: translateY(2rem);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ref-outline:hover .ref-topborder,
.ref-outline:focus .ref-topborder {
  transform: translateY(0);
}

.ref-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-image: linear-gradient(to right, transparent 10%, #fff 50%, transparent 90%);
  z-index: 2;
  pointer-events: none;
}

.ref-outline:hover .ref-card,
.ref-outline:focus .ref-card {
  border-color: rgb(136, 136, 136);
}

.ref-colour {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 50% 0px, rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.ref-outline:hover .ref-colour,
.ref-outline:focus .ref-colour {
  opacity: 1;
}

.work-panel[data-index="1"] .ref-colour {
  background: radial-gradient(circle at 50% 0px, rgba(20, 70, 200, 0.45), rgba(0, 0, 0, 0));
}

.work-panel[data-index="2"] .ref-colour {
  background: radial-gradient(circle at 50% 0px, rgba(34, 197, 94, 0.38), rgba(0, 0, 0, 0));
}

.work-panel[data-index="3"] .ref-colour {
  background: radial-gradient(circle at 50% 0px, rgba(139, 92, 246, 0.4), rgba(0, 0, 0, 0));
}

.work-panel[data-index="4"] .ref-colour {
  background: radial-gradient(circle at 50% 0px, rgba(29, 112, 184, 0.42), rgba(0, 0, 0, 0));
}

.ref-top {
  position: relative;
  z-index: 1;
  padding-bottom: 16px;
}

.ref-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ref-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  color: rgb(242, 242, 242);
}

.ref-arrow {
  width: 24px;
  height: 24px;
  stroke: rgb(242, 242, 242);
  flex-shrink: 0;
}

.ref-desc {
  padding-right: 32px;
  color: rgba(242, 242, 242, 0.6);
  font-size: 0.875rem;
  letter-spacing: 0.2px;
}

.ref-desc-company {
  color: rgb(242, 242, 242);
  font-weight: 600;
}

.ref-thumb {
  position: relative;
  z-index: 1;
  align-self: center;
  width: 100%;
  max-width: 90%;
  aspect-ratio: 1710 / 987;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(242, 242, 242, 0.4);
  font-size: 0.85rem;
  text-align: center;
  object-fit: fill;
  box-shadow: 0 40px 50px 10px rgba(0, 0, 0, 0.25);
  transform: translateY(2rem);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  background-color: var(--bg-alt);
}

div.ref-thumb {
  padding: var(--space-3);
}

.ref-outline:hover .ref-thumb,
.ref-outline:focus .ref-thumb {
  transform: translateY(0);
}

@media (min-width: 901px) {
  .hero-window-outline {
    border-radius: calc(var(--max-width) * 0.025);
    padding: calc(var(--max-width) * 0.0083333);
  }

  .hero-box {
    border-radius: calc(var(--max-width) * 0.0166667);
  }

  .hero-content {
    padding: calc(var(--max-width) * 0.0833333) calc(var(--max-width) * 0.0611111) calc(var(--max-width) * 0.1944444);
  }

  .hero-content h1 {
    font-size: calc(var(--max-width) * 0.0916667);
  }

  .hero-fade {
    height: calc(var(--max-width) * 0.1944444);
    padding-top: calc(var(--max-width) * 0.0666667);
  }

  .hero-about-grid {
    column-gap: calc(var(--max-width) * 0.0333333);
  }

  .hero-about-main {
    font-size: calc(var(--max-width) * 0.0166667);
  }

  .ref-outline {
    border-radius: calc(var(--max-width) * 0.025);
    padding: calc(var(--max-width) * 0.0083333);
  }

  .ref-card {
    border-radius: calc(var(--max-width) * 0.0166667);
    padding: calc(var(--max-width) * 0.0305556);
    padding-bottom: 0;
  }

  .ref-top {
    padding-bottom: calc(var(--max-width) * 0.0277778);
  }

  .ref-title {
    font-size: calc(var(--max-width) * 0.0222222);
  }

  .ref-desc {
    font-size: calc(var(--max-width) * 0.0111111);
  }
}

@media (min-width: 1920px) {
  .nav .wrap {
    padding: 32px 48px 16px;
  }

  .logo-name {
    font-size: 1.375rem;
  }

  .logo-sub {
    font-size: 0.875rem;
  }

  .nav-chip {
    font-size: 1rem;
  }

  footer {
    padding: 96px 0;
  }

  .footer-top {
    padding-bottom: 40px;
  }

  .footer-bottom {
    padding-top: 40px;
  }

  .footer-overline {
    font-size: 0.6875rem;
  }

  .footer-col a {
    font-size: 1.125rem;
  }
}

.notfound {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 176px 0 var(--space-6);
  background-image: radial-gradient(circle closest-corner at 50% 0px, rgba(242, 242, 242, 0.15), transparent);
}

.notfound-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  max-width: 560px;
}

.notfound-inner h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-top: var(--space-1);
}

.notfound-text {
  color: var(--text-soft);
}

.notfound-cta {
  margin-top: var(--space-2);
}
