@font-face {
  font-family: "Montserrat Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("./fonts/montserrat-latin-ext.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Montserrat Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("./fonts/montserrat-latin.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("./fonts/ibm-plex-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("./fonts/ibm-plex-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --black: #000000;
  --panel: #050505;
  --white: #f4f4f2;
  --muted: #a0a0a0;
  --dim: #676767;
  --line: #1d1d1d;
  --line-strong: #353535;
  --red: #ed0b1e;
  --red-bright: #ff172b;
  --page-pad: clamp(28px, 4vw, 78px);
  --header-height: clamp(100px, 7vw, 138px);
  --font-sans: "Montserrat Variable", Montserrat, "Avenir Next", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 4px;
}

::selection {
  background: var(--red);
  color: #fff;
}

.site-page {
  min-height: 100vh;
  overflow: clip;
  background:
    radial-gradient(circle at 42% 20%, rgba(255, 255, 255, 0.018), transparent 34%),
    var(--black);
}

.page-padding {
  padding-inline: var(--page-pad);
}

/* Header */
.site-header {
  position: relative;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto minmax(280px, 1fr);
  align-items: center;
  min-height: var(--header-height);
  padding-inline: var(--page-pad);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: clamp(14px, 1.2vw, 24px);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.brand-copy strong {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 1.75vw, 34px);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

.brand-copy small {
  color: #a9a9a9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(12px, 0.86vw, 17px);
  font-weight: 500;
  letter-spacing: 0.015em;
}

.desktop-nav {
  display: flex;
  align-items: stretch;
  gap: clamp(38px, 4.5vw, 88px);
  height: var(--header-height);
}

.nav-link {
  position: relative;
  display: grid;
  place-items: center;
  color: #d4d4d4;
  font-size: clamp(14px, 1.05vw, 20px);
  font-weight: 470;
  transition: color 180ms ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 24%;
  left: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--red);
  content: "";
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link.active::after {
  transform: scaleX(1);
}

.header-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  justify-self: end;
  width: clamp(220px, 16vw, 300px);
  min-height: clamp(62px, 4.5vw, 88px);
  padding: 0 clamp(22px, 1.8vw, 34px);
  border: 1px solid #fb2b3c;
  background: linear-gradient(104deg, #e90018, #ff1c30);
  box-shadow: 0 0 30px rgba(237, 11, 30, 0.12);
  color: #fff;
  font-size: clamp(15px, 1.05vw, 20px);
  font-weight: 620;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  transition: filter 180ms ease, transform 180ms ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.arrow {
  font-size: 1.55em;
  font-weight: 400;
  transition: transform 180ms ease;
}

.header-cta:hover .arrow,
.underlined-link:hover span:last-child,
.footer-cta:hover span {
  transform: translate(3px, -3px);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

/* Shared */
.page-marker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 1.05vw, 20px);
  letter-spacing: 0.015em;
}

.page-marker span,
.progress-footer p span {
  color: var(--red);
  font-weight: 550;
}

.page-marker i,
.progress-footer p i {
  color: #929292;
  font-style: normal;
}

.page-marker strong,
.progress-footer p strong {
  font-weight: 440;
  text-transform: none;
}

.red-rule {
  display: block;
  width: clamp(58px, 4.2vw, 86px);
  height: 3px;
  background: var(--red);
}

.progress-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: clamp(92px, 8vw, 150px);
  border-top: 1px solid var(--line);
}

.progress-footer p {
  display: flex;
  gap: 18px;
  margin: 0;
  color: #8b8b8b;
  font-size: clamp(14px, 1.05vw, 20px);
}

.availability {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #c8c8c8 !important;
  font-size: clamp(13px, 0.95vw, 18px) !important;
}

.availability i {
  display: block;
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 14px rgba(237, 11, 30, 0.3);
}

/* Vision */
.vision-hero {
  position: relative;
  width: calc(100% - (var(--page-pad) * 2));
  max-height: 620px;
  aspect-ratio: 2.9 / 1;
  margin: clamp(34px, 2.8vw, 56px) var(--page-pad) 0;
  overflow: hidden;
  background: #d8d8d8;
}

.vision-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  filter: contrast(1.04);
}

.hero-axis {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2px;
  height: 54%;
  background: var(--red);
}

.hero-axis i {
  position: absolute;
  top: -6px;
  left: -5px;
  width: 12px;
  height: 12px;
  background: var(--red);
}

.vision-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.75fr);
  gap: clamp(55px, 8vw, 160px);
  padding-top: clamp(48px, 4vw, 82px);
  padding-bottom: clamp(40px, 4vw, 80px);
}

.vision-title-block h1 {
  margin: clamp(27px, 2vw, 42px) 0 clamp(34px, 2.8vw, 56px);
  color: var(--white);
  font-size: clamp(48px, 5.15vw, 104px);
  font-weight: 500;
  letter-spacing: -0.048em;
  line-height: 1.04;
  text-transform: uppercase;
}

.underlined-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(330px, 46%);
  min-width: 250px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--red);
  font-size: clamp(14px, 1.05vw, 20px);
  font-weight: 540;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.underlined-link span:last-child {
  color: var(--red);
  font-size: 1.45em;
  transition: transform 180ms ease;
}

.vision-description {
  align-self: end;
  padding-bottom: clamp(52px, 4.5vw, 86px);
}

.vision-description p {
  max-width: 640px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 27px);
  font-weight: 390;
  line-height: 1.85;
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: minmax(430px, 0.88fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: clamp(60px, 8vw, 170px);
  min-height: calc(100vh - var(--header-height) - 130px);
  padding-top: clamp(72px, 6vw, 120px);
  padding-bottom: clamp(65px, 5vw, 100px);
}

.about-copy h1 {
  margin: clamp(34px, 3vw, 58px) 0 clamp(32px, 2.8vw, 55px);
  font-size: clamp(58px, 5.55vw, 112px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.97;
  text-transform: uppercase;
}

.about-copy h1 span,
.about-copy h1 em {
  display: block;
}

.about-copy h1 em {
  color: var(--red-bright);
  font-style: normal;
}

.about-copy h1 i {
  color: var(--white);
  font-style: normal;
}

.about-copy > p {
  max-width: 760px;
  margin: 30px 0 0;
  color: #c4c4c4;
  font-size: clamp(16px, 1.3vw, 25px);
  font-weight: 390;
  line-height: 1.72;
}

.about-art {
  min-width: 0;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(430px, 0.88fr) minmax(520px, 0.98fr) minmax(220px, 0.34fr);
  gap: clamp(44px, 5vw, 100px);
  min-height: calc(100vh - var(--header-height) - 88px);
  padding: clamp(60px, 4.5vw, 90px) 0 60px var(--page-pad);
}

.contact-intro h1 {
  margin: clamp(35px, 3vw, 60px) 0 clamp(31px, 2.8vw, 55px);
  font-size: clamp(48px, 4.25vw, 86px);
  font-weight: 560;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.contact-intro h1 span {
  color: var(--red-bright);
}

.contact-intro > p:not(.availability) {
  margin: 30px 0 0;
  color: #b7b7b7;
  font-size: clamp(16px, 1.25vw, 24px);
  line-height: 1.75;
}

.contact-intro .availability {
  margin: clamp(30px, 2.6vw, 52px) 0;
}

.contact-links {
  border-top: 1px solid var(--line);
}

.contact-links a {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: clamp(74px, 5.5vw, 105px);
  border-bottom: 1px solid var(--line);
  color: #d5d5d5;
  font-size: clamp(14px, 1.08vw, 20px);
  transition: color 180ms ease, padding 180ms ease;
}

.contact-links a:hover {
  padding-left: 8px;
  color: #fff;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-strong);
  color: #f0f0f0;
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 650;
}

.contact-links b {
  color: var(--red);
  font-size: 27px;
  font-weight: 400;
}

.form-panel {
  align-self: start;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.45);
}

.contact-form {
  display: flex;
  flex-direction: column;
  min-height: clamp(690px, 60vw, 980px);
  padding: clamp(36px, 3vw, 58px);
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: clamp(32px, 2.5vw, 48px);
}

.field-group label {
  color: #e3e3e3;
  font-size: clamp(14px, 1vw, 19px);
  font-weight: 480;
}

.field-group input,
.field-group textarea {
  width: 100%;
  border: 1px solid #333;
  border-radius: 0;
  background: #020202;
  color: #fff;
  font-size: clamp(15px, 1vw, 19px);
  transition: border-color 180ms ease;
}

.field-group input {
  height: clamp(66px, 5vw, 92px);
  padding: 0 24px;
}

.field-group textarea {
  min-height: clamp(220px, 19vw, 340px);
  padding: 22px 24px;
  resize: vertical;
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: #545454;
}

.field-group input:focus,
.field-group textarea:focus {
  border-color: #777;
  outline: none;
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30%;
  width: 100%;
  min-height: clamp(70px, 5vw, 96px);
  margin-top: auto;
  border: 1px solid #ff2c3d;
  background: linear-gradient(105deg, #e90018, #ff1a2e);
  color: #fff;
  cursor: pointer;
  font-size: clamp(15px, 1vw, 19px);
  font-weight: 620;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: filter 180ms ease;
}

.submit-button:hover {
  filter: brightness(1.12);
}

.submit-button span:last-child {
  font-size: 1.55em;
}

.form-status {
  min-height: 22px;
  margin: 12px 0 -18px;
  color: #b8b8b8;
  font-size: 13px;
  text-align: center;
}

.contact-art {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background-image: linear-gradient(rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.04)), url("./images/fluid-texture.webp");
  background-position: 43% center;
  background-size: auto 118%;
}

.contact-art::after {
  position: absolute;
  inset: 0;
  border-left: 1px solid var(--line);
  content: "";
}

.contact-art .vertical-brand {
  position: absolute;
  bottom: 105px;
  left: 38px;
  z-index: 1;
  padding: 14px 10px;
  background: #000;
  color: #bcbcbc;
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.contact-art > span {
  position: absolute;
  bottom: 55px;
  left: 41px;
  z-index: 1;
  width: 3px;
  height: 76px;
  background: var(--red);
}

/* Projects */
.projects-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.78fr) minmax(620px, 1.22fr);
  gap: clamp(80px, 8vw, 170px);
  min-height: calc(100vh - var(--header-height) - 130px);
  padding-top: clamp(68px, 5vw, 105px);
  padding-bottom: clamp(56px, 4vw, 90px);
}

.projects-copy h1 {
  margin: clamp(56px, 5vw, 100px) 0 clamp(42px, 3vw, 62px);
  font-size: clamp(58px, 5.35vw, 108px);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 1.1;
  text-transform: uppercase;
}

.projects-copy h1 span {
  color: var(--red-bright);
}

.projects-copy > p:not(.availability) {
  margin: 34px 0 0;
  color: #acacac;
  font-size: clamp(16px, 1.22vw, 24px);
  line-height: 1.7;
}

.projects-copy .availability {
  margin-top: clamp(55px, 6vw, 115px);
}

.project-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 1.8vw, 34px);
  min-width: 0;
}

.project-card {
  position: relative;
  width: 88%;
  min-height: clamp(210px, 16vw, 315px);
  overflow: hidden;
  border: 1px solid #292929;
  background: #010101;
}

.project-card-two {
  align-self: flex-end;
  width: 90%;
}

.project-card-three {
  align-self: flex-end;
  width: 82%;
  margin-right: -4%;
}

.project-card-heading {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 28px;
  width: 68%;
  padding: clamp(25px, 2vw, 38px) clamp(28px, 2.4vw, 46px) 0;
  color: #bdbdbd;
  font-size: clamp(14px, 1.1vw, 21px);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project-card-heading i {
  height: 2px;
  flex: 1;
  background: var(--red);
}

.project-card > strong {
  position: absolute;
  bottom: -10%;
  left: 4%;
  z-index: 1;
  color: transparent;
  font-size: clamp(145px, 13vw, 260px);
  font-weight: 430;
  letter-spacing: -0.08em;
  line-height: 1;
  -webkit-text-stroke: 1px #3a3a3a;
}

.project-texture {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  background-image: url("./images/fluid-texture.webp");
  background-position: 68% 38%;
  background-size: 340% auto;
  filter: none;
}

.project-card-two .project-texture {
  right: 20%;
  width: 44%;
  background-position: 24% 70%;
}

.project-card-three .project-texture {
  width: 58%;
  background-position: 75% 80%;
}

.project-red-block {
  position: absolute;
  top: 9%;
  right: 0;
  width: 21%;
  height: 91%;
  background: #b50016;
}

.project-accent {
  position: absolute;
  right: 4%;
  bottom: 12%;
  z-index: 3;
  width: 2px;
  height: 56%;
  background: var(--red);
}

.project-card-one .project-accent {
  right: 4%;
  top: 0;
}

/* Responsive */
@media (max-width: 1280px) {
  :root {
    --page-pad: clamp(26px, 3.5vw, 48px);
  }

  .site-header {
    grid-template-columns: minmax(230px, 1fr) auto minmax(210px, 1fr);
  }

  .desktop-nav {
    gap: 34px;
  }

  .header-cta {
    width: 210px;
  }

  .about-layout {
    grid-template-columns: minmax(380px, 0.9fr) minmax(470px, 1.1fr);
    gap: 50px;
  }

  .contact-layout {
    grid-template-columns: minmax(370px, 0.85fr) minmax(450px, 1fr) 160px;
    gap: 32px;
  }

  .projects-layout {
    grid-template-columns: minmax(360px, 0.75fr) minmax(530px, 1.25fr);
    gap: 60px;
  }
}

@media (max-width: 1020px), (max-height: 600px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 60;
    display: grid;
    align-content: center;
    justify-self: end;
    width: 50px;
    height: 50px;
    padding: 12px 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 34px;
    height: 2px;
    margin: 4px 0;
    background: #fff;
    transition: transform 180ms ease;
  }

  .menu-toggle.open span:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .menu-toggle.open span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .mobile-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: 45;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px var(--page-pad) 36px;
    transform: translateY(-12px);
    background: #000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .mobile-nav.open {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav nav {
    display: flex;
    flex-direction: column;
  }

  .mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 19px 0;
    border-bottom: 1px solid var(--line);
    color: #d7d7d7;
    font-size: clamp(26px, 5vw, 40px);
    font-weight: 470;
  }

  .mobile-nav-link span {
    color: #5e5e5e;
    font-size: 13px;
  }

  .mobile-nav-link.active,
  .mobile-nav-link.active span {
    color: var(--red);
  }

  .mobile-cta {
    display: flex;
    justify-content: space-between;
    padding: 22px 24px;
    background: var(--red);
    color: #fff;
    font-weight: 620;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .about-layout,
  .projects-layout {
    grid-template-columns: 1fr;
  }

  .about-layout {
    gap: 40px;
  }

  .about-copy > p {
    max-width: 820px;
  }

  .about-art {
    max-width: 860px;
  }

  .contact-layout {
    grid-template-columns: minmax(340px, 0.9fr) minmax(440px, 1.1fr);
    padding-right: var(--page-pad);
  }

  .contact-art {
    grid-column: 1 / -1;
    height: 280px;
    background-position: center 55%;
    background-size: cover;
  }

  .contact-art .vertical-brand {
    right: 34px;
    bottom: 22px;
    left: auto;
    writing-mode: initial;
    transform: none;
  }

  .contact-art > span {
    right: 44px;
    bottom: auto;
    left: auto;
    width: 80px;
    height: 3px;
  }

  .project-stack {
    margin-top: 20px;
  }

  .project-card {
    max-width: 900px;
  }
}

@media (max-width: 760px) {
  :root {
    --page-pad: 22px;
    --header-height: 88px;
  }

  .brand {
    gap: 12px;
  }

  .brand-copy strong {
    font-size: 20px;
  }

  .brand-copy small {
    font-size: 10px;
  }

  .vision-hero {
    aspect-ratio: 4 / 3;
    margin-top: 22px;
  }

  .vision-hero img {
    object-position: 52% center;
  }

  .hero-axis {
    left: 48%;
    height: 45%;
  }

  .vision-copy {
    grid-template-columns: 1fr;
    gap: 54px;
    padding-top: 40px;
  }

  .vision-title-block h1 {
    margin-top: 25px;
    font-size: clamp(43px, 12.7vw, 72px);
    line-height: 1.03;
  }

  .underlined-link {
    width: min(100%, 330px);
  }

  .vision-description {
    padding-bottom: 0;
  }

  .vision-description p {
    margin-top: 23px;
    font-size: 17px;
    line-height: 1.7;
  }

  .page-marker {
    gap: 12px;
    font-size: 13px;
  }

  .progress-footer {
    min-height: 92px;
  }

  .about-layout {
    min-height: auto;
    padding-top: 48px;
  }

  .about-copy h1 {
    margin-top: 34px;
    font-size: clamp(52px, 15.4vw, 82px);
  }

  .about-copy > p {
    font-size: 16px;
    line-height: 1.7;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 45px var(--page-pad) 40px;
  }

  .contact-intro h1 {
    margin-top: 34px;
    font-size: clamp(41px, 11.5vw, 64px);
  }

  .contact-links a {
    grid-template-columns: 48px 1fr auto;
    gap: 15px;
    min-height: 74px;
    font-size: 13px;
  }

  .contact-icon {
    width: 44px;
    height: 44px;
  }

  .form-panel {
    order: 2;
  }

  .contact-form {
    min-height: auto;
    padding: 28px 20px;
  }

  .field-group textarea {
    min-height: 190px;
  }

  .submit-button {
    min-height: 72px;
    margin-top: 6px;
  }

  .contact-art {
    order: 3;
    height: 250px;
  }

  .projects-layout {
    min-height: auto;
    gap: 54px;
    padding-top: 48px;
  }

  .projects-copy h1 {
    margin: 45px 0 36px;
    font-size: clamp(50px, 14.3vw, 80px);
    line-height: 1.04;
  }

  .projects-copy > p:not(.availability) {
    font-size: 16px;
  }

  .projects-copy .availability {
    margin-top: 45px;
  }

  .project-stack {
    gap: 18px;
  }

  .project-card,
  .project-card-two,
  .project-card-three {
    align-self: stretch;
    width: 100%;
    min-height: 220px;
    margin: 0;
  }

  .project-card-heading {
    width: 80%;
    padding: 24px 20px 0;
    font-size: 12px;
  }

  .project-card > strong {
    font-size: 142px;
  }

  .project-card-two .project-texture {
    right: 18%;
  }
}

@media (max-width: 420px) {
  .brand-copy small {
    display: none;
  }

  .vision-title-block h1 {
    letter-spacing: -0.06em;
  }

  .contact-intro h1 {
    font-size: 39px;
  }

  .contact-links a {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }

  .contact-links a span:nth-child(2) {
    overflow-wrap: anywhere;
  }

  .project-card {
    min-height: 205px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Fullscreen presentation: 1920 × 1080 is the desktop composition reference.
   Layout remains real CSS boxes; smaller/taller screens retain readable content. */
.presentation .site-header { position: sticky; top: 0; }
.slide-deck > section { scroll-margin-top: var(--header-height); }
#proje-formu { scroll-margin-top: calc(var(--header-height) + 24px); }
.presentation .site-page { min-height: 0; }
.presentation .field-group input:focus-visible,
.presentation .field-group textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

@media (min-width: 1021px) and (min-height: 601px) {
  :root {
    --design-unit: min(0.052083333vw, 0.092592593dvh);
    --page-pad: calc(80 * var(--design-unit));
    --header-height: max(72px, calc(96 * var(--design-unit)));
  }
  .presentation .site-header {
    height: var(--header-height); min-height: 0;
    grid-template-columns: 1fr auto 1fr;
  }
  .presentation .brand { gap: calc(16 * var(--design-unit)); }
  .presentation .brand-copy strong { font-size: max(17px, calc(27 * var(--design-unit))); }
  .presentation .brand-copy small { font-size: max(10px, calc(12 * var(--design-unit))); }
  .presentation .desktop-nav { gap: calc(62 * var(--design-unit)); }
  .presentation .nav-link { font-size: max(13px, calc(17 * var(--design-unit))); padding-block: 12px; }
  .presentation .header-cta {
    width: calc(246 * var(--design-unit)); min-width: 155px;
    min-height: 44px; height: calc(54 * var(--design-unit));
    padding: 0 calc(24 * var(--design-unit)); gap: calc(32 * var(--design-unit));
    font-size: max(12px, calc(15 * var(--design-unit)));
  }



  .presentation .site-page .page-marker { margin: 0; font-size: max(13px, calc(17 * var(--design-unit))); gap: calc(17 * var(--design-unit)); }
  .presentation .red-rule { width: calc(62 * var(--design-unit)); height: 2px; }
  .presentation .progress-footer { min-height: calc(64 * var(--design-unit)); padding-block: 12px; }
  .presentation .progress-footer p { font-size: max(12px, calc(15 * var(--design-unit))); }
  .presentation .site-page > .page-padding:last-child { margin-top: auto; }
  .presentation .vision-page > div:first-child { flex: 1; min-height: 0; display: flex; flex-direction: column; }
  .presentation .vision-hero {
    flex: 1; min-height: calc(310 * var(--design-unit)); max-height: calc(570 * var(--design-unit));
    height: calc(540 * var(--design-unit)); aspect-ratio: auto;
    margin-top: calc(30 * var(--design-unit));
  }
  .presentation .vision-hero img { object-position: center 50%; }
  .presentation .vision-copy {
    grid-template-columns: 1.65fr 1fr; gap: calc(70 * var(--design-unit));
    padding-top: calc(30 * var(--design-unit)); padding-bottom: calc(25 * var(--design-unit));
    flex: 0 0 auto;
  }
  .presentation .vision-title-block h1 {
    font-size: calc(76 * var(--design-unit)); font-weight: 650; line-height: 1.08;
    letter-spacing: -0.045em; margin: calc(16 * var(--design-unit)) 0 calc(24 * var(--design-unit));
  }
  .presentation .underlined-link { width: calc(240 * var(--design-unit)); min-width: 160px; padding-bottom: 10px; font-size: max(12px, calc(14 * var(--design-unit))); }
  .presentation .vision-description { align-self: center; padding: 0; }
  .presentation .vision-description p { font-size: max(14px, calc(21 * var(--design-unit))); line-height: 1.7; margin-top: calc(22 * var(--design-unit)); }
  .presentation .about-layout {
    flex: 1; min-height: 0; grid-template-columns: 1fr 1fr;
    gap: calc(130 * var(--design-unit)); align-items: center;
    padding-top: calc(75 * var(--design-unit)); padding-bottom: calc(75 * var(--design-unit));
  }
  .presentation .about-copy h1 { font-size: calc(94 * var(--design-unit)); font-weight: 600; line-height: 1.04; margin: calc(32 * var(--design-unit)) 0 calc(28 * var(--design-unit)); }
  .presentation .about-copy > p:not(.page-marker) { font-size: max(14px, calc(23 * var(--design-unit))); line-height: 1.55; margin-top: calc(28 * var(--design-unit)); max-width: calc(770 * var(--design-unit)); }
  .presentation .contact-page { position: relative; }
  .presentation .contact-layout {
    flex: 1; min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) calc(300 * var(--design-unit));
    gap: calc(70 * var(--design-unit)); padding: 0 0 0 var(--page-pad);
  }
  .presentation .contact-intro { padding-block: calc(76 * var(--design-unit)) calc(20 * var(--design-unit)); }
  .presentation .contact-intro h1 { font-size: calc(62 * var(--design-unit)); font-weight: 650; line-height: 1.1; letter-spacing: -0.045em; margin: calc(35 * var(--design-unit)) 0 calc(30 * var(--design-unit)); }
  .presentation .contact-intro > p:not(.availability):not(.page-marker) { font-size: max(14px, calc(21 * var(--design-unit))); line-height: 1.55; margin-top: calc(28 * var(--design-unit)); }
  .presentation .availability { font-size: max(12px, calc(15 * var(--design-unit))); margin-block: calc(30 * var(--design-unit)); gap: calc(13 * var(--design-unit)); }
  .presentation .availability i { width: 8px; height: 8px; }
  .presentation .contact-links a { grid-template-columns: calc(38 * var(--design-unit)) minmax(0,1fr) auto; min-height: calc(64 * var(--design-unit)); font-size: max(12px, calc(16 * var(--design-unit))); gap: calc(20 * var(--design-unit)); }
  .presentation .contact-icon { width: calc(36 * var(--design-unit)); height: calc(36 * var(--design-unit)); font-size: max(13px,calc(17 * var(--design-unit))); }
  .presentation .form-panel { align-self: stretch; margin-block: calc(76 * var(--design-unit)) calc(36 * var(--design-unit)); }
  .presentation .contact-form { height: 100%; min-height: 0; padding: calc(36 * var(--design-unit)); }
  .presentation .field-group { gap: calc(14 * var(--design-unit)); margin-bottom: calc(30 * var(--design-unit)); }
  .presentation .field-group label,.presentation .field-group input,.presentation .field-group textarea { font-size: max(14px,calc(16 * var(--design-unit))); }
  .presentation .field-group input { height: calc(64 * var(--design-unit)); min-height: 42px; padding-inline: calc(20 * var(--design-unit)); }
  .presentation .field-group:has(textarea) { flex: 1; min-height: 100px; }
  .presentation .field-group textarea { flex: 1; min-height: 100px; height: 100%; resize: none; padding: calc(20 * var(--design-unit)); }
  .presentation .submit-button { min-height: 44px; height: calc(64 * var(--design-unit)); font-size: max(12px,calc(15 * var(--design-unit))); }
  .presentation .form-status { font-size: 12px; margin: 10px 0 0; min-height: 16px; }
  .presentation .contact-art { height: auto; min-height: 0; background-size: auto 100%; background-position: 43% center; }
  .presentation .projects-layout { flex: 1; min-height: 0; grid-template-columns: 0.95fr 1.05fr; gap: calc(84 * var(--design-unit)); padding-block: calc(74 * var(--design-unit)) calc(40 * var(--design-unit)); align-items: start; }
  .presentation .projects-copy h1 { font-size: calc(82 * var(--design-unit)); font-weight: 650; line-height: 1.12; margin: calc(60 * var(--design-unit)) 0 calc(32 * var(--design-unit)); }
  .presentation .projects-copy h1 span { white-space: nowrap; }
  .presentation .projects-copy > p:not(.availability):not(.page-marker) { font-size: max(14px,calc(21 * var(--design-unit))); line-height: 1.55; margin-top: calc(26 * var(--design-unit)); }
  .presentation .projects-copy .availability { margin-top: calc(64 * var(--design-unit)); }
  .presentation .project-stack { gap: calc(24 * var(--design-unit)); }
  .presentation .project-card { min-height: 0; height: calc(236 * var(--design-unit)); }
  .presentation .project-card-heading { font-size: max(11px,calc(14 * var(--design-unit))); padding: calc(26 * var(--design-unit)) calc(28 * var(--design-unit)) 0; gap: calc(22 * var(--design-unit)); }
  .presentation .project-card > strong { font-size: calc(200 * var(--design-unit)); }
}
@media (max-width: 1020px), (max-height: 600px) {
  .presentation .site-header { z-index: 100; }

  .presentation .site-page { border-bottom: 1px solid var(--line); }
  .presentation .mobile-nav { height: calc(100dvh - var(--header-height)); overflow-y: auto; }
}


/* Each document fills the viewport; typography follows the shorter design axis. */
.presentation .site-page { min-height: calc(100dvh - var(--header-height)); }
@media (min-width: 1021px) and (min-height: 601px) {
 .presentation .site-page { display: flex; flex-direction: column; height: calc(100dvh - var(--header-height)); overflow-y: auto; overflow-x: hidden; }
 .presentation .site-page > * { flex-shrink: 0; }
 .presentation .vision-page > div:first-child { min-height: 0; }
 .presentation .about-layout, .presentation .contact-layout, .presentation .projects-layout { min-height: min-content; }
 .presentation .contact-art { min-height: calc(780 * var(--design-unit)); }
 .presentation .vision-copy, .presentation .about-layout, .presentation .projects-layout { width: 100%; max-width: calc(2080 * var(--design-unit)); margin-inline: auto; }
 .presentation .contact-layout { width: 100%; max-width: calc(2080 * var(--design-unit)); margin-inline: auto; }
}
.contact-links a[aria-disabled="true"] { cursor: default; }
.contact-links a[aria-disabled="true"] b { visibility: hidden; }
html:not(.motion-ready) .menu-toggle { display: none; }
@media (max-width: 1020px), (max-height: 600px) {
 html:not(.motion-ready) .desktop-nav { display: flex; flex-wrap: wrap; grid-column: 1 / -1; padding-bottom: 1rem; }
 .presentation .site-page { overflow: visible; }
}
@media (min-width:1021px) and (min-height:601px) {
 .presentation .site-header { position:relative; }
}

@media (min-width:1021px) and (min-height:601px) {
 .presentation .header-cta { min-width:180px; gap:calc(20 * var(--design-unit)); white-space:nowrap; }
}

/* Approved visual corrections, September 2026. */
.presentation .header-cta { width:auto; min-width:180px; justify-content:center; gap:clamp(16px,1.1vw,24px); padding-inline:clamp(22px,1.5vw,36px); }
.submit-button { position:relative; gap:0; padding-inline:48px; }
.submit-button span:last-child { position:absolute; right:22px; top:50%; transform:translateY(-50%); }
.submit-button:disabled { cursor:default; }
.contact-icon svg { display:block; width:21px; height:21px; }
.progress-footer { justify-content:flex-start; gap:clamp(18px,1.25vw,30px); flex-wrap:wrap; align-content:center; }
.copyright { color:#858585; font-size:clamp(10px,.68vw,15px); font-weight:400; }
.about-code-image { display:block; width:100%; height:auto; max-height:100%; object-fit:contain; }
.contact-art .art-signature { position:absolute; left:clamp(18px,12%,38px); bottom:clamp(24px,5%,60px); display:flex; flex-direction:column; align-items:center; gap:18px; z-index:1; }
.contact-art .art-signature .vertical-brand { position:static; padding:0; background:none; writing-mode:vertical-rl; transform:rotate(180deg); font-size:clamp(10px,.625vw,16px); }
.art-signature > span { width:2px; height:clamp(38px,4vw,76px); background:var(--red); }
@media (min-width:1021px) and (min-height:601px) {
 .presentation .about-layout { grid-template-columns:1.08fr 1fr; gap:calc(106 * var(--design-unit)); padding-block:calc(60 * var(--design-unit)); }
 .presentation .about-copy h1 { font-weight:500; line-height:1.07; }
 .presentation .about-art { height:calc(750 * var(--design-unit)); display:flex; align-items:center; }
 .presentation .about-code-image { height:100%; }
}
@media (max-width:600px) { .progress-footer { column-gap:18px; row-gap:8px; } .contact-art .art-signature { bottom:22px; } }

/* One document flow on mobile; independent document presentation on desktop. */
html,body { min-width:0; }
.brand-copy { min-width:0; }
.brand-copy strong { font-family:var(--font-sans); font-weight:650; }
.contact-art { background-image:none; }
.contact-texture { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:43% center; }
@media (min-width:1021px) and (min-height:601px) {
 .site-flow > .site-page:not(.is-current) { display:none; }
 .site-flow { min-width:0; }
}
@media (max-width:1020px), (max-height:600px) {
 :root { --header-height:88px; --page-pad:clamp(16px,4vw,40px); }
 html { scroll-snap-type:y mandatory; scroll-padding-top:var(--header-height); }
 .site-header { position:sticky; top:0; grid-template-columns:minmax(0,1fr) auto; min-height:var(--header-height); }
 .presentation .brand { padding:0; gap:10px; max-width:100%; overflow:visible; }
 .brand-copy strong { font-size:clamp(1rem,4.5vw,1.4rem); white-space:normal; overflow-wrap:anywhere; line-height:1.2; }
 .brand-copy small { font-size:.65rem; }
 .brand-logo { width:38px; }
 .menu-toggle { width:44px; }
 .site-flow > .site-page { height:auto; min-height:0; overflow:visible; scroll-snap-align:start; scroll-snap-stop:normal; }
 .vision-copy,.about-layout,.contact-layout,.projects-layout { display:grid; grid-template-columns:minmax(0,1fr); min-height:0; height:auto; }
 .presentation .about-layout,.presentation .projects-layout { padding-block:40px; gap:40px; }
 .presentation .about-art { height:auto; max-width:700px; width:100%; }
 .about-code-image { height:auto; }
 .presentation .contact-layout { padding:40px var(--page-pad); gap:32px; }
 .contact-intro,.form-panel,.contact-form { min-width:0; }
 .form-panel { order:2; }
 .contact-art { order:3; grid-column:auto; height:250px; }
 .contact-form { height:auto; min-height:0; }
 .field-group textarea { resize:vertical; }
 .project-card { width:100%; max-width:100%; }
 .presentation .site-page h1 { overflow-wrap:anywhere; }
 .presentation .projects-copy h1 span { white-space:normal; }
 .contact-links a span:nth-child(2) { overflow-wrap:anywhere; }
 .mobile-nav { padding-top:20px; }
 .mobile-nav-link { padding-block:14px; font-size:clamp(1.25rem,5vw,2rem); }
 .mobile-cta { margin-top:24px; flex-shrink:0; }
 .progress-footer { min-height:80px; }
}
@media (max-height:600px) and (min-width:761px) {
 .vision-title-block h1,.about-copy h1,.projects-copy h1 { font-size:clamp(2rem,6vw,4rem); }
 .contact-intro h1 { font-size:clamp(2rem,5vw,3.5rem); }
 .vision-hero { max-height:65svh; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-snap-type:none; } }
@media (max-width:1020px), (max-height:600px) {
 html { scroll-padding-top:var(--snap-header,var(--header-height)); }
 .mobile-nav { top:var(--snap-header,var(--header-height)); height:calc(100dvh - var(--snap-header,var(--header-height))); }
}

/* UI symbols are paths, independent of the device emoji font. */
.ui-icon { display:inline-block; width:24px; height:24px; flex:0 0 auto; vertical-align:middle; }
.contact-icon .ui-icon { width:21px; height:21px; }
.mobile-cta { align-items:center; gap:16px; }
.project-card-heading i, .project-accent { background:#b50016; }
.project-card-heading { color:#a6a6a6; }
@media (max-width:1020px), (max-height:600px) {
 .project-card-heading { width:100%; padding-right:20px; flex-direction:column; align-items:flex-start; gap:8px; }
 .project-card-heading span { flex:0 0 auto; }
 .project-card-heading i { flex:0 0 1px; width:48px; height:1px; }
 .project-accent { display:none; }
 .project-red-block { width:9%; background:#b50016; }
 .project-card-two .project-texture { right:9%; width:44%; }
}
