:root {
  --bg: #080b0f;
  --text: #eef2f4;
  --muted: #a0aab4;
  --subtle: #71808d;
  --line: rgba(188, 213, 233, 0.15);
  --accent: #94d8ee;
  --pad: clamp(24px, 5.7vw, 100px);
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  overflow-x: clip;
}
body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
button,
a {
  outline-offset: 7px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
}
::selection {
  color: #080b0f;
  background: var(--accent);
}
h1,
h2,
h3,
p {
  margin: 0;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a {
  transition: color 0.2s;
}
a:hover {
  color: var(--accent);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--accent);
  color: var(--bg);
  padding: 14px;
  z-index: 100;
}
.skip-link:focus {
  top: 14px;
}
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 77% 40%, #10233444, transparent 49%);
  z-index: -1;
}
.scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.6s;
}
.scene canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.scene-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 15, 0.28), transparent 50%),
    linear-gradient(0deg, var(--bg), transparent 15%, transparent 92%, rgba(8, 11, 15, 0.5));
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  z-index: 20;
  background: linear-gradient(var(--bg) 5%, rgba(8, 11, 15, 0.92) 60%, rgba(8, 11, 15, 0));
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.monogram {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -5px;
  line-height: 1;
  display: block;
}
.monogram span {
  font-weight: 400;
}
.monogram i {
  font-style: normal;
  color: var(--accent);
  padding-left: 4px;
}
.brand-name {
  font-size: 12px;
  letter-spacing: 1.6px;
  line-height: 1.5;
  font-weight: 500;
}
.site-header nav {
  display: flex;
  gap: 36px;
  font-size: 14px;
  margin-left: auto;
  margin-right: 60px;
}
.site-header nav a {
  padding: 14px 0;
  color: #b3bbc4;
}
.site-header nav a:hover,
.site-header nav a.current {
  color: var(--text);
}
.language-toggle {
  border: 0;
  background: transparent;
  font-size: 13px;
  letter-spacing: 1px;
  padding: 14px 0 14px 16px;
  min-width: 44px;
}
.language-toggle span {
  color: var(--muted);
  margin-inline-start: 8px;
}
.section {
  position: relative;
  z-index: 1;
  padding-inline: var(--pad);
  scroll-margin-top: 0;
}
.hero {
  min-height: 880px;
  height: 100svh;
  padding-top: 148px;
  display: flex;
  flex-direction: column;
}
.hero-topline,
.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.eyebrow,
.edition,
.project-count,
.coordinate,
.hero-bottom-note,
.scroll-note,
.project-kicker,
.project-facts small,
.scene-caption,
.archive-index,
footer,
.motion-toggle {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 1.8px;
  font-size: 12px;
  font-weight: 400;
}
.eyebrow {
  color: var(--muted);
  display: block;
}
.edition {
  color: #8495a3;
}
.hero-copy {
  margin-top: clamp(50px, 7vh, 95px);
  max-width: 650px;
}
.intro {
  font-size: 17px;
  color: #bec7ce;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(78px, 8.1vw, 140px);
  line-height: 0.99;
  letter-spacing: -6px;
  font-weight: 400;
}
.hero em,
.contact em {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  color: var(--accent);
}
.lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 27px;
  max-width: 400px;
}
.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  margin-top: 30px;
}
.round-arrow {
  width: 46px;
  height: 46px;
  border: 1px solid #61717d;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.3s;
}
.primary-link:hover .round-arrow,
.contact-email:hover .round-arrow {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  transform: rotate(-35deg);
}
.hero-bottom {
  margin-top: auto;
  padding-top: 35px;
  padding-bottom: 31px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.coordinate,
.hero-bottom-note,
.scroll-note {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #9ba8b3;
}
.scroll-note {
  display: flex;
  align-items: center;
  gap: 20px;
}
.scroll-note > span:last-child {
  font-size: 20px;
}
.hero-bottom-note {
  color: #758693;
}
.scene-caption {
  position: fixed;
  left: 60%;
  bottom: 15%;
  z-index: 2;
  pointer-events: none;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: #b1c4d5;
  transition: opacity 0.4s;
  max-width: 330px;
}
.caption-cross {
  font-size: 24px;
  line-height: 0.8;
  color: var(--accent);
}
.scene-caption small {
  display: block;
  font-size: 12px;
  letter-spacing: 1.5px;
  margin-top: 9px;
  color: #758b9d;
}
.chapter-rail {
  position: fixed;
  right: 27px;
  top: 44%;
  display: flex;
  flex-direction: column;
  z-index: 15;
}
.chapter-rail a {
  width: 30px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chapter-rail a:after {
  content: '';
  width: 4px;
  height: 4px;
  border: 1px solid #69808e;
  border-radius: 50%;
  transition: all 0.3s;
}
.chapter-rail a.active:after {
  background: var(--accent);
  border-color: var(--accent);
  width: 7px;
  height: 7px;
  box-shadow: 0 0 14px #8ce4ff66;
}
.project {
  min-height: 850px;
  height: 105svh;
  padding-top: 105px;
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.section-top {
  position: absolute;
  top: 105px;
  left: var(--pad);
  right: var(--pad);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.project-count {
  color: var(--subtle);
}
.project-copy {
  max-width: 500px;
  padding-top: 78px;
  position: relative;
}
.project-kicker {
  display: flex;
  gap: 18px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 1.2px;
  margin-bottom: 28px;
}
.project-number {
  color: var(--accent);
  border: 1px solid #48606d;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 12px;
  flex-shrink: 0;
}
.project h2 {
  font-size: clamp(40px, 4.35vw, 74px);
  font-weight: 400;
  line-height: 1.09;
  letter-spacing: -2.8px;
}
.project-subtitle {
  color: var(--accent);
  font-size: 17px;
  margin-top: 25px;
}
.description {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  margin-top: 15px;
  max-width: 455px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
  direction: ltr;
  justify-content: flex-start;
}
.tags span {
  font-size: 12px;
  letter-spacing: 0.3px;
  color: #aebac5;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #080b0f66;
}
.project-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  gap: 18px;
  margin-top: 35px;
  padding-top: 22px;
  max-width: 465px;
}
.project-facts small {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #8293a1;
  display: block;
  margin-bottom: 10px;
}
.project-facts span {
  font-size: 14px;
  color: #b5c1c9;
  line-height: 1.6;
  display: block;
}
.text-link {
  display: inline-flex;
  gap: 40px;
  align-items: center;
  font-size: 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid #687d8c;
  margin-top: 30px;
}
.text-link span:last-child {
  font-size: 21px;
  color: var(--accent);
  transition: transform 0.2s;
}
.text-link:hover span:last-child {
  transform: translate(3px, -3px);
}
.archive {
  padding-top: 135px;
  padding-bottom: 160px;
  background: rgba(8, 11, 15, 0.8);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
}
.archive h2,
.about h2 {
  font-size: clamp(36px, 4.4vw, 68px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -2px;
  margin-top: 25px;
}
.archive-heading > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin-top: 24px;
}
.archive-list {
  padding-top: 15px;
}
.archive-list a {
  display: flex;
  gap: 25px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 27px 0;
  font-size: 18px;
}
.archive-list a:first-child {
  border-top: 1px solid var(--line);
}
.archive-index {
  color: var(--subtle);
  letter-spacing: 0;
}
.archive-list small {
  margin-left: auto;
  font-size: 12px;
  color: var(--subtle);
  white-space: nowrap;
}
.archive-list a > span:last-child {
  color: var(--accent);
}
.about {
  padding-top: 105px;
  padding-bottom: 120px;
  background: rgba(8, 11, 15, 0.94);
  border-top: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
}
.about-text {
  padding-top: 30px;
  max-width: 600px;
}
.about-lead {
  font-size: 24px;
  line-height: 1.55;
  letter-spacing: -0.4px;
}
.about-text > p:not(.about-lead) {
  color: var(--muted);
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.85;
}
.background-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 50px;
  border-top: 1px solid var(--line);
  margin-top: 85px;
  padding-top: 40px;
}
.background-grid h3 {
  font-size: 21px;
  font-weight: 400;
  margin-top: 26px;
}
.background-grid p {
  font-size: 14px;
  color: #b8c4cb;
  line-height: 1.6;
  margin-top: 12px;
}
.background-grid small {
  display: block;
  font-size: 12px;
  color: var(--subtle);
  margin-top: 9px;
  line-height: 1.5;
}
.skill-list {
  display: flex;
  gap: 12px 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.skill-list span {
  color: #b8c4cb;
  font-size: 14px;
  line-height: 1.6;
}
.contact {
  padding-top: 135px;
  min-height: 730px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.contact h2 {
  font-size: clamp(65px, 8.3vw, 135px);
  line-height: 1.05;
  letter-spacing: -5px;
  font-weight: 400;
  margin-top: 32px;
}
.contact-email {
  display: flex;
  align-items: center;
  gap: 42px;
  font-size: 24px;
  margin-top: 36px;
  align-self: flex-start;
}
.contact-links {
  display: flex;
  gap: 35px;
  font-size: 14px;
  margin-top: 44px;
  margin-bottom: 90px;
}
.contact footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  padding-block: 26px;
  color: var(--subtle);
  font-size: 12px;
  letter-spacing: 1.2px;
  margin-top: auto;
}
.motion-toggle {
  position: fixed;
  bottom: 22px;
  right: 25px;
  z-index: 21;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  letter-spacing: 1px;
  background: #0c141bc9;
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 10px 13px;
  min-height: 36px;
}
.motion-toggle:hover {
  border-color: #668697;
}
.motion-label {
  font-size: 12px;
}
.motion-toggle:disabled {
  opacity: 0.4;
}
.scene.dimmed {
  opacity: 0.22;
}
.scene-caption.hidden {
  opacity: 0;
}
.chapter-rail.hidden {
  opacity: 0;
  pointer-events: none;
}
html[dir='rtl'] {
  font-family: 'Vazirmatn', sans-serif;
}
html[dir='rtl'] .brand,
html[dir='rtl'] .scene-caption,
html[dir='rtl'] .project-count,
html[dir='rtl'] .edition,
html[dir='rtl'] .tags,
html[dir='rtl'] .archive-list,
html[dir='rtl'] footer {
  direction: ltr;
}
html[dir='rtl'] .eyebrow,
html[dir='rtl'] .project-kicker,
html[dir='rtl'] .project-facts small,
html[dir='rtl'] .hero-bottom,
html[dir='rtl'] .motion-toggle {
  font-family: 'Vazirmatn', sans-serif;
  letter-spacing: 0;
}
html[dir='rtl'] .site-header nav {
  margin-left: 60px;
  margin-right: auto;
}
html[dir='rtl'] .hero h1 {
  font-size: clamp(70px, 7.3vw, 119px);
  line-height: 1.27;
  letter-spacing: -4px;
}
html[dir='rtl'] .hero em,
html[dir='rtl'] .contact em {
  font-family: inherit;
  font-style: normal;
}
html[dir='rtl'] .scene {
  transform: scaleX(-1);
}
html[dir='rtl'] .scene-caption {
  left: auto;
  right: 58%;
}
html[dir='rtl'] .chapter-rail {
  right: auto;
  left: 20px;
}
html[dir='rtl'] .hero-copy {
  margin-top: 35px;
}
html[dir='rtl'] h2 {
  letter-spacing: -1.5px;
  line-height: 1.35;
}
html[dir='rtl'] .project h2 {
  font-size: clamp(37px, 4vw, 64px);
}
html[dir='rtl'] .tags {
  justify-content: flex-end;
}
html[dir='rtl'] .description {
  line-height: 2;
}
html[dir='rtl'] .motion-toggle {
  right: auto;
  left: 25px;
}
html[dir='rtl'] .text-link span:last-child {
  direction: ltr;
}
html[dir='rtl'] .contact h2 {
  font-size: clamp(60px, 7vw, 113px);
}
@media (min-width: 1700px) {
  .hero-copy,
  .project-copy {
    margin-left: 4vw;
  }
  .section-top {
    left: calc(var(--pad) + 4vw);
  }
  .hero {
    padding-top: 165px;
  }
}
@media (max-height: 850px) and (min-width: 900px) {
  .hero {
    min-height: 790px;
    padding-top: 128px;
  }
  .hero-copy {
    margin-top: 42px;
  }
  .hero h1 {
    font-size: clamp(75px, 7.5vw, 118px);
  }
  .lead {
    margin-top: 20px;
  }
  .intro {
    margin-bottom: 20px;
  }
  .hero-bottom {
    padding-bottom: 25px;
  }
  .scene-caption {
    bottom: 12%;
  }
}
@media (max-width: 1100px) {
  .site-header nav {
    margin-right: 25px;
    gap: 25px;
  }
  .hero-bottom-note {
    display: none;
  }
  .hero h1 {
    font-size: 95px;
  }
  .hero-copy {
    max-width: 500px;
  }
  .project-copy {
    max-width: 45vw;
  }
  .project h2 {
    font-size: 48px;
  }
  .description {
    font-size: 16px;
  }
  .project-facts {
    grid-template-columns: 1fr;
  }
  .project-facts > div {
    display: flex;
    align-items: baseline;
    gap: 15px;
  }
  .project-facts small {
    min-width: 82px;
  }
  .scene-caption {
    left: 58%;
    font-size: 12px;
    bottom: 18%;
  }
  .archive {
    gap: 4vw;
  }
  .archive-list a {
    gap: 16px;
  }
  .archive-list small {
    font-size: 12px;
  }
  .brand-name {
    display: none;
  }
  .background-grid {
    gap: 25px;
  }
  .chapter-rail {
    right: 10px;
  }
}
@media (max-width: 700px) {
  :root {
    --pad: 24px;
  }
  .site-header {
    height: 80px;
    gap: 16px;
    background: linear-gradient(var(--bg) 50%, #080b0fcf 80%, #080b0f00);
  }
  .monogram {
    font-size: 33px;
  }
  .site-header nav {
    gap: 14px;
    margin: 0 auto;
    font-size: 14px;
  }
  .language-toggle {
    font-size: 12px;
    padding-inline-start: 3px;
  }
  .language-toggle span {
    display: none;
  }
  .hero {
    padding-top: 115px;
    min-height: 1050px;
    height: 100svh;
  }
  .hero-topline .eyebrow {
    font-size: 12px;
    letter-spacing: 1px;
  }
  .edition {
    font-size: 12px;
    letter-spacing: 1px;
  }
  .hero-copy {
    margin-top: 54px;
    max-width: 100%;
  }
  .intro {
    font-size: 15px;
  }
  .hero h1 {
    font-size: clamp(69px, 16vw, 105px);
    letter-spacing: -3.7px;
    line-height: 1.03;
  }
  .hero h1 br:nth-child(2) {
    display: initial;
  }
  .lead {
    font-size: 16px;
    max-width: 300px;
    margin-top: 23px;
  }
  .desktop-break {
    display: none;
  }
  .primary-link {
    font-size: 14px;
    margin-top: 24px;
    gap: 25px;
  }
  .round-arrow {
    height: 40px;
    width: 40px;
    font-size: 20px;
  }
  .hero-bottom {
    padding-bottom: 26px;
  }
  .coordinate,
  .scroll-note {
    font-size: 12px;
    letter-spacing: 0.9px;
  }
  .scroll-note {
    gap: 10px;
  }
  .scene-caption {
    left: var(--pad);
    bottom: 10%;
    font-size: 12px;
    max-width: 270px;
    display: none;
  }
  .scene-vignette {
    background: linear-gradient(0deg, #080b0f 1%, transparent 22%, transparent 75%, #080b0f44);
  }
  .chapter-rail {
    right: 3px;
    top: auto;
    bottom: 80px;
    opacity: 0.8;
  }
  .chapter-rail a {
    height: 21px;
    width: 24px;
  }
  .section-top {
    top: 90px;
    padding-top: 21px;
  }
  .section-top .eyebrow,
  .project-count {
    font-size: 12px;
  }
  .project {
    padding-top: 150px;
    padding-bottom: 345px;
    height: auto;
    min-height: 1030px;
    justify-content: flex-start;
  }
  .project-copy {
    max-width: 100%;
    padding-top: 28px;
    padding-right: 10px;
  }
  .project-kicker {
    font-size: 12px;
    letter-spacing: 0.6px;
    margin-bottom: 22px;
    gap: 13px;
  }
  .project-number {
    width: 27px;
    height: 27px;
    font-size: 12px;
  }
  .project h2 {
    font-size: clamp(36px, 9.3vw, 60px);
    letter-spacing: -1.9px;
    line-height: 1.12;
  }
  .project-subtitle {
    font-size: 16px;
    margin-top: 23px;
  }
  .description {
    font-size: 16px;
    line-height: 1.85;
    margin-top: 12px;
  }
  .tags {
    margin-top: 20px;
    gap: 6px;
  }
  .tags span {
    font-size: 12px;
    padding: 6px 8px;
  }
  .project-facts {
    grid-template-columns: 1fr 1fr;
    margin-top: 25px;
    padding-top: 17px;
    gap: 12px;
  }
  .project-facts > div {
    display: block;
  }
  .project-facts small {
    font-size: 12px;
    min-width: 0;
    letter-spacing: 1px;
    margin-bottom: 8px;
  }
  .project-facts span {
    font-size: 14px;
  }
  .text-link {
    margin-top: 25px;
    font-size: 13px;
  }
  .archive {
    padding-top: 90px;
    padding-bottom: 85px;
    grid-template-columns: 1fr;
    gap: 38px;
    background: rgba(8, 11, 15, 0.9);
  }
  .archive h2,
  .about h2 {
    font-size: 43px;
    letter-spacing: -1.7px;
  }
  .archive-list a {
    font-size: 17px;
    gap: 18px;
    padding: 24px 0;
  }
  .archive-list small {
    font-size: 12px;
  }
  .archive-heading > p {
    font-size: 16px;
  }
  .about {
    padding-top: 85px;
    padding-bottom: 85px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .about-text {
    padding-top: 0;
  }
  .about-lead {
    font-size: 22px;
  }
  .about-text > p:not(.about-lead) {
    font-size: 16px;
  }
  .background-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 55px;
    padding-top: 35px;
  }
  .background-grid > div + div {
    border-top: 1px solid var(--line);
    padding-top: 32px;
  }
  .background-grid h3 {
    margin-top: 20px;
  }
  .skill-list {
    max-width: 350px;
  }
  .contact {
    padding-top: 95px;
    min-height: 720px;
  }
  .contact h2 {
    font-size: clamp(60px, 14vw, 90px);
    letter-spacing: -3px;
  }
  .contact-email {
    font-size: 22px;
    margin-top: 30px;
  }
  .contact-links {
    gap: 27px;
    font-size: 13px;
    margin-top: 38px;
    margin-bottom: 140px;
  }
  .contact footer {
    font-size: 12px;
    letter-spacing: 0.8px;
    padding-bottom: 70px;
    gap: 12px;
  }
  .contact footer > span:nth-child(2) {
    display: none;
  }
  .motion-toggle {
    bottom: 17px;
    right: 18px;
  }
  .eyebrow {
    font-size: 12px;
  }
  .motion-label {
    font-size: 12px;
  }
  html[dir='rtl'] .site-header nav {
    margin: 0 auto;
  }
  html[dir='rtl'] .hero h1 {
    font-size: clamp(61px, 14vw, 90px);
    letter-spacing: -2px;
    line-height: 1.3;
  }
  html[dir='rtl'] .hero h1 br {
    display: initial;
  }
  html[dir='rtl'] .project h2 {
    font-size: clamp(34px, 8.6vw, 57px);
  }
  html[dir='rtl'] .hero-copy {
    margin-top: 38px;
  }
  html[dir='rtl'] .project-copy {
    padding-right: 0;
    padding-left: 10px;
  }
  html[dir='rtl'] .chapter-rail {
    left: 2px;
  }
  html[dir='rtl'] .contact h2 {
    font-size: clamp(52px, 12vw, 80px);
  }
  html[dir='rtl'] .scene-caption {
    right: var(--pad);
  }
  html[dir='rtl'] .motion-toggle {
    left: 18px;
  }
  .archive-index {
    font-size: 12px;
  }
}
.skills {
  padding-top: 115px;
  padding-bottom: 70px;
  min-height: 1050px;
  border-top: 1px solid var(--line);
}
.skills h2 {
  font-size: clamp(40px, 4.4vw, 70px);
  line-height: 1.13;
  font-weight: 400;
  letter-spacing: -2.6px;
  margin-top: 24px;
  max-width: 740px;
}
.skills-intro {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 460px;
  margin-top: 24px;
}
.skill-explorer {
  width: min(100%, 520px);
  margin-top: 40px;
}
.skill-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.skill-tabs button {
  display: grid;
  grid-template-columns: 1fr auto;
  text-align: start;
  background: #0b1016;
  border: 0;
  padding: 20px 22px;
  gap: 20px 5px;
  transition: background 0.25s;
  min-height: 112px;
}
.skill-tabs button > span {
  font-size: 12px;
  color: var(--subtle);
}
.skill-tabs strong {
  font-size: 21px;
  letter-spacing: -0.5px;
  font-weight: 400;
  grid-column: 1;
  grid-row: 2;
}
.skill-tabs button > span:last-child {
  grid-column: 2;
  grid-row: 1;
  font-size: 19px;
  color: #879cae;
}
.skill-tabs button[aria-selected='true'] {
  background: #14232f;
  box-shadow: inset 0 -2px 0 var(--accent);
}
.skill-tabs button[aria-selected='true'] strong,
.skill-tabs button[aria-selected='true'] > span:last-child {
  color: var(--accent);
}
.skill-tabs button:hover {
  background: #15212b;
}
.skill-panel {
  padding-top: 30px;
  min-height: 270px;
}
.skill-panel-label {
  font-size: 12px;
  letter-spacing: 1.1px;
  color: var(--accent);
  line-height: 1.6;
}
.skill-panel > #skill-description {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 15px;
  max-width: 470px;
  min-height: 87px;
}
.skill-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 21px;
  direction: ltr;
  max-width: 460px;
}
.skill-tools span {
  font-size: 16px;
  line-height: 1.6;
  color: #e5eaf0;
}
.skills-method {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 520px;
  border-top: 1px solid var(--line);
  margin-top: 44px;
  padding-top: 25px;
}
.skills-method span {
  font-size: 14px;
  color: #b8c6d0;
}
.skills-method i {
  font-size: 13px;
  color: #576f82;
  font-style: normal;
}
.scene.archive-active {
  opacity: 0.6;
}
.archive:has(a:hover),
.archive:has(a:focus-visible) {
  background: rgba(8, 11, 15, 0.55);
}
html[dir='rtl'] .skills h2 {
  letter-spacing: -1px;
  line-height: 1.4;
  font-size: clamp(37px, 4vw, 63px);
}
html[dir='rtl'] .skill-panel-label {
  letter-spacing: 0;
}
html[dir='rtl'] .skill-tools {
  justify-content: flex-end;
}
html[dir='rtl'] .skills-method i {
  transform: rotate(180deg);
}
@media (max-width: 1100px) and (min-width: 701px) {
  .skill-explorer {
    width: 47%;
  }
  .skills h2 {
    font-size: 49px;
  }
  .skills-intro {
    max-width: 45%;
  }
  .skill-tabs button {
    padding: 18px 16px;
  }
  .skill-tabs strong {
    font-size: 19px;
  }
  .skills-method {
    gap: 20px;
    max-width: 47%;
  }
  .hero-topline .eyebrow {
    font-size: 12px;
  }
}
@media (max-width: 700px) {
  .skills {
    padding-top: 90px;
    padding-bottom: 335px;
    min-height: 1260px;
  }
  .skills h2 {
    font-size: 42px;
    letter-spacing: -1.8px;
  }
  .skills-intro {
    font-size: 16px;
    margin-top: 22px;
  }
  .skill-explorer {
    margin-top: 30px;
  }
  .skill-tabs button {
    min-height: 107px;
    padding: 17px 19px;
    gap: 17px 5px;
  }
  .skill-tabs strong {
    font-size: 20px;
  }
  .skill-panel {
    min-height: 310px;
  }
  .skill-panel > #skill-description {
    min-height: 115px;
  }
  .skill-tools span {
    font-size: 15px;
  }
  .skills-method {
    gap: 15px;
    justify-content: space-between;
    margin-top: 25px;
  }
  .skills-method span {
    font-size: 13px;
  }
  .hero-topline {
    align-items: flex-start;
    gap: 20px;
  }
  .hero-topline .eyebrow {
    font-size: 12px;
    letter-spacing: 0.5px;
    max-width: 205px;
    line-height: 1.7;
  }
  .edition {
    font-size: 12px;
    letter-spacing: 0.5px;
    text-align: end;
    max-width: 105px;
    line-height: 1.7;
  }
  .hero-bottom {
    align-items: flex-start;
    gap: 15px;
  }
  .coordinate,
  .scroll-note {
    font-size: 12px;
    line-height: 1.7;
  }
  .coordinate {
    max-width: 130px;
  }
  .scroll-note {
    max-width: 155px;
  }
  .project-kicker {
    line-height: 1.7;
  }
  .project {
    min-height: 1100px;
  }
  .project-copy {
    padding-right: 9px;
  }
  .contact footer {
    font-size: 12px;
    letter-spacing: 0;
  }
  .archive-list small {
    font-size: 12px;
  }
  .motion-toggle {
    min-height: 44px;
    min-width: 44px;
  }
  .motion-label {
    font-size: 12px;
  }
  .site-header {
    gap: 12px;
  }
  .site-header nav {
    gap: 13px;
  }
  .language-toggle {
    font-size: 12px;
    min-width: 32px;
  }
  .contact-links {
    font-size: 14px;
  }
  .text-link {
    font-size: 14px;
  }
  .hero-copy {
    margin-top: 39px;
  }
  .contact .eyebrow {
    line-height: 1.6;
  }
  html[dir='rtl'] .hero {
    min-height: 1130px;
  }
  html[dir='rtl'] .skills h2 {
    font-size: 36px;
  }
  html[dir='rtl'] .skill-tabs strong {
    font-size: 18px;
  }
  html[dir='rtl'] .site-header nav {
    gap: 12px;
    font-size: 13px;
  }
  html[dir='rtl'] .hero-bottom .scroll-note {
    max-width: 165px;
  }
  html[dir='rtl'] .hero-copy {
    margin-top: 30px;
  }
}
@media (max-width: 370px) {
  :root {
    --pad: 19px;
  }
  .site-header nav {
    gap: 10px;
    font-size: 13px;
  }
  .monogram {
    font-size: 29px;
  }
  .site-header {
    gap: 9px;
  }
  .language-toggle {
    min-width: 26px;
  }
  .archive-list a {
    gap: 12px;
  }
  .archive-list small {
    font-size: 12px;
  }
  .project-kicker {
    gap: 9px;
    letter-spacing: 0;
  }
  .skills-method {
    gap: 11px;
  }
  .skills-method span {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
