@font-face {
  font-family: "IRANYekanX";
  src: url("../fonts/IRANYekanXVFaNumVF.woff2") format("woff2-variations"),
       url("../fonts/IRANYekanXVFaNumVF.woff") format("woff-variations");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: dark;
  /* Semantic UI colors: names describe purpose rather than a fixed hue. */
  --bg: #111111;
  --bg-soft: #111111;
  --panel: #111111;
  --panel-strong: #7A7A7A;
  --text: #ffffff;
  --muted: #7A7A7A;
  --muted-strong: #ffffff;
  --line: color-mix(in srgb, #ffffff 11%, transparent);
  --line-strong: color-mix(in srgb, #ffffff 20%, transparent);
  --accent-primary: #ffffff;
  --accent-highlight: #ffffff;
  --accent-muted: #7A7A7A;
  --status-positive: #ffffff;
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --gutter: clamp(22px, 4vw, 64px);
  --header-h: 70px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 70px color-mix(in srgb, #111111 30%, transparent);
}

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

html {
  background: var(--bg);
  scroll-behavior: auto;
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  background: #111111;
  color: var(--text);
  font-family: "IRANYekanX", Tahoma, sans-serif;
  font-variation-settings: "wght" 430;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: 0.28;
  background-image:
    linear-gradient(color-mix(in srgb, #ffffff 1.8%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, #ffffff 1.8%, transparent) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(to bottom, color-mix(in srgb, #111111 90%, transparent), transparent 82%);
  mask-image: linear-gradient(to bottom, color-mix(in srgb, #111111 90%, transparent), transparent 82%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  box-shadow: inset 0 0 120px color-mix(in srgb, #111111 58%, transparent);
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: #ffffff;
  background: #000;
}

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

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button {
  border: 0;
}

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

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent-highlight);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 9999;
  padding: 10px 16px;
  border-radius: 999px;
  color: #111111;
  background: #ffffff;
  font-weight: 760;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-root {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100svh;
  max-height: 100svh;
  flex-direction: column;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-content: center;
  gap: 16px;
  pointer-events: none;
  background: #111111;
}

.page-loader__label {
  direction: ltr;
  color: var(--muted);
  font-family: "IRANYekanX", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-align: center;
}

.page-loader__track {
  position: relative;
  display: block;
  width: min(220px, 56vw);
  height: 2px;
  overflow: hidden;
  border-radius: 4px;
  background: color-mix(in srgb, #ffffff 8%, transparent);
}

.page-loader__bar {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  width: 0;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-highlight));
  box-shadow: 0 0 18px color-mix(in srgb, #7A7A7A 80%, transparent);
}

.pointer-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, color-mix(in srgb, #7A7A7A 10%, transparent), color-mix(in srgb, #7A7A7A 0%, transparent) 68%);
  transform: translate(-50%, -50%);
  transition: opacity 300ms ease;
}

@media (pointer: fine) {
  body:hover .pointer-glow {
    opacity: 1;
  }
}

.site-header {
  position: fixed;
  top: clamp(18px, 3vw, 38px);
  right: var(--gutter);
  left: var(--gutter);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.brand-capsule {
  display: inline-flex;
  min-height: var(--header-h);
  align-items: center;
  gap: 13px;
  padding: 7px 18px 7px 8px;
  border: 1px solid color-mix(in srgb, #ffffff 8%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, #111111 82%, transparent);
  box-shadow: 0 16px 44px color-mix(in srgb, #111111 20%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 250ms ease, background 250ms ease;
}

.brand-capsule:hover {
  border-color: color-mix(in srgb, #7A7A7A 52%, transparent);
  background: color-mix(in srgb, #111111 92%, transparent);
}

.brand-capsule__mark {
  display: grid;
  width: 52px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background:
    radial-gradient(circle at 30% 25%, color-mix(in srgb, #ffffff 34%, transparent), transparent 22%),
    linear-gradient(145deg, var(--accent-highlight), var(--accent-muted));
  font-size: 24px;
  font-variation-settings: "wght" 850;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #ffffff 18%, transparent), 0 8px 18px color-mix(in srgb, #111111 36%, transparent);
}

.brand-capsule__copy {
  display: grid;
  gap: 1px;
  line-height: 1.25;
}

.brand-capsule__copy strong {
  font-size: 14px;
  font-variation-settings: "wght" 730;
}

.brand-capsule__copy small {
  color: var(--muted);
  font-size: 10px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-indicator {
  direction: ltr;
  display: inline-flex;
  height: 46px;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: color-mix(in srgb, #111111 64%, transparent);
  font-size: 11px;
  font-variation-settings: "wght" 650;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.page-indicator i {
  width: 22px;
  height: 1px;
  background: var(--line-strong);
}

.menu-button,
.round-button,
.dialog-close {
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, #ffffff 10%, transparent);
  border-radius: 50%;
  color: #ffffff;
  background: color-mix(in srgb, #111111 90%, transparent);
  box-shadow: 0 14px 34px color-mix(in srgb, #111111 20%, transparent);
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.menu-button {
  width: var(--header-h);
  height: var(--header-h);
}

.menu-button:hover,
.round-button:hover,
.dialog-close:hover {
  color: #ffffff;
  background: var(--accent-primary);
  transform: rotate(-6deg);
}

.icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: var(--icon-url) center / contain no-repeat;
  mask: var(--icon-url) center / contain no-repeat;
}

.icon-menu { --icon-url: url("../icons/navigation-menu-1.svg"); width: 24px; height: 24px; }
.menu-button.is-open .icon-menu { --icon-url: url("../icons/remove-bold.svg"); }
.icon-arrow { --icon-url: url("../icons/arrow-right.svg"); }
.icon-arrow-circle { --icon-url: url("../icons/arrow-button-circle-left.svg"); }
.icon-compass { --icon-url: url("../icons/design-tool-compass.svg"); }
.icon-responsive { --icon-url: url("../icons/responsive-design.svg"); }
.icon-code { --icon-url: url("../icons/programming-browser-1.svg"); }
.icon-seo { --icon-url: url("../icons/seo-search-graph.svg"); }
.icon-check { --icon-url: url("../icons/check-badge.svg"); }
.icon-search { --icon-url: url("../icons/search-circle.svg"); }
.icon-pencil { --icon-url: url("../icons/design-tool-pencil-ruler.svg"); }
.icon-browser { --icon-url: url("../icons/coding-apps-website-apps-browser.svg"); }
.icon-rocket { --icon-url: url("../icons/startup-product-rocket-box.svg"); }
.icon-briefcase { --icon-url: url("../icons/small-office-briefcase.svg"); }
.icon-time { --icon-url: url("../icons/time-clock-circle.svg"); }
.icon-mail { --icon-url: url("../icons/send-email-envelope.svg"); }
.icon-close { --icon-url: url("../icons/remove-bold.svg"); }

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  visibility: hidden;
  overflow: hidden;
  pointer-events: none;
  background: color-mix(in srgb, #111111 94%, transparent);
  opacity: 0;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.menu-overlay__wash {
  position: absolute;
  top: -28vw;
  left: -12vw;
  width: min(70vw, 980px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, #7A7A7A 25%, transparent), color-mix(in srgb, #7A7A7A 0%, transparent) 66%);
}

.menu-overlay__inner {
  position: relative;
  display: grid;
  width: min(1120px, calc(100% - (var(--gutter) * 2)));
  height: 100%;
  margin: 0 auto;
  padding: clamp(130px, 18vh, 190px) 0 clamp(26px, 5vh, 54px);
  grid-template-rows: auto 1fr auto;
}

.eyebrow {
  color: var(--muted);
  font-size: 11px;
  font-variation-settings: "wght" 660;
  letter-spacing: 0.04em;
}

.eyebrow::before {
  display: inline-block;
  width: 20px;
  height: 1px;
  margin-left: 9px;
  vertical-align: middle;
  background: var(--accent-primary);
  content: "";
}

.overlay-nav {
  display: grid;
  align-content: center;
  gap: 0;
}

.overlay-nav__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: #7A7A7A;
  transition: color 220ms ease, padding 220ms ease;
}

.overlay-nav__link span {
  font-size: clamp(40px, 6vw, 84px);
  font-variation-settings: "wght" 620;
  line-height: 1.08;
}

.overlay-nav__link small {
  direction: ltr;
  color: var(--muted);
  font-size: 12px;
}

.overlay-nav__link:hover,
.overlay-nav__link.is-active {
  padding-right: 14px;
  color: var(--text);
}

.overlay-nav__link.is-active span::after {
  display: inline-block;
  width: 9px;
  aspect-ratio: 1;
  margin-right: 13px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 20px color-mix(in srgb, #7A7A7A 85%, transparent);
  content: "";
}

.menu-overlay__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status-dot::before {
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--status-positive);
  box-shadow: 0 0 0 5px color-mix(in srgb, #ffffff 8%, transparent);
  content: "";
}

.site-footer {
  position: relative;
  z-index: 12;
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  margin: auto var(--gutter) 0;
  border-top: 1px solid var(--line);
  color: #7A7A7A;
  font-size: 10px;
}

.site-footer a {
  color: var(--muted-strong);
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: var(--accent-highlight);
}

.primary-cta {
  position: relative;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 16px;
  padding: 5px 6px 5px 20px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--accent-primary);
  font-size: 13px;
  font-variation-settings: "wght" 720;
  box-shadow: 0 14px 34px color-mix(in srgb, #111111 28%, transparent);
  transition: background 220ms ease, box-shadow 220ms ease;
}

button.primary-cta {
  border: 0;
}

.primary-cta:hover {
  background: var(--accent-highlight);
  box-shadow: 0 18px 44px color-mix(in srgb, #111111 42%, transparent);
}

.cta-icon {
  display: grid;
  width: 44px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: var(--accent-primary);
  background: #ffffff;
}

.cta-icon .icon {
  width: 18px;
  height: 18px;
  transform: rotate(180deg);
}

/* Home */
.home-main {
  position: relative;
  flex: 1;
  min-height: 0;
  padding: clamp(115px, 14vh, 154px) var(--gutter) 86px;
}

.home-hero {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 0;
  align-items: center;
  grid-template-columns: minmax(230px, 1fr) minmax(310px, 0.92fr) minmax(230px, 1fr);
  gap: clamp(24px, 4vw, 72px);
}

.hero-copy {
  position: relative;
  z-index: 8;
  align-self: center;
}

.hero-copy--primary {
  max-width: 430px;
}

.hero-copy--primary h1 {
  margin: 18px 0 18px;
  font-size: clamp(31px, 3.4vw, 50px);
  font-variation-settings: "wght" 690;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.hero-copy--primary > p {
  max-width: 375px;
  color: var(--muted);
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.95;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: color-mix(in srgb, #ffffff 4.5%, transparent);
  font-size: 10px;
}

.availability i {
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent-highlight);
  box-shadow: 0 0 0 5px color-mix(in srgb, #7A7A7A 10%, transparent), 0 0 16px color-mix(in srgb, #7A7A7A 80%, transparent);
}

.hero-copy--secondary {
  max-width: 340px;
  justify-self: end;
}

.hero-intro {
  margin: 16px 0 24px;
  color: var(--muted-strong);
  font-size: clamp(12px, 1.05vw, 15px);
  line-height: 1.9;
}

.visual-stage {
  position: relative;
  z-index: 3;
  display: grid;
  width: 100%;
  max-width: 470px;
  height: min(66vh, 650px);
  min-height: 390px;
  place-items: center;
  justify-self: center;
  perspective: 900px;
}

.visual-stage::before {
  position: absolute;
  bottom: 6%;
  left: 50%;
  width: 72%;
  height: 10%;
  border-radius: 50%;
  background: color-mix(in srgb, #111111 74%, transparent);
  filter: blur(22px);
  content: "";
  transform: translateX(-50%);
}

.visual-stage__halo {
  position: absolute;
  border: 1px solid color-mix(in srgb, #7A7A7A 18%, transparent);
  border-radius: 50%;
}

.halo-one {
  width: 91%;
  aspect-ratio: 1;
  box-shadow: inset 0 0 80px color-mix(in srgb, #7A7A7A 3%, transparent), 0 0 80px color-mix(in srgb, #7A7A7A 3%, transparent);
}

.halo-two {
  width: 68%;
  aspect-ratio: 1;
  border-style: dashed;
  opacity: 0.6;
}

.portrait-form {
  position: relative;
  width: min(78%, 350px);
  height: min(76%, 510px);
  min-height: 380px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, #ffffff 12%, transparent);
  border-radius: 48% 48% 21% 21% / 34% 34% 14% 14%;
  background:
    radial-gradient(circle at 50% 26%, color-mix(in srgb, #7A7A7A 22%, transparent), transparent 20%),
    radial-gradient(ellipse at 50% 96%, #111111 0 48%, transparent 49%),
    linear-gradient(150deg, #111111, #111111 72%);
  box-shadow: inset 0 0 0 8px color-mix(in srgb, #ffffff 1.5%, transparent), 0 38px 80px color-mix(in srgb, #111111 38%, transparent);
  transform-style: preserve-3d;
}

.portrait-form::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 12%, color-mix(in srgb, #ffffff 5%, transparent) 35%, transparent 52%),
    repeating-linear-gradient(90deg, transparent 0 19px, color-mix(in srgb, #ffffff 1.8%, transparent) 20px 21px);
  content: "";
}

.portrait-form::after {
  position: absolute;
  inset: auto -12% -18% -12%;
  height: 56%;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(145deg, #111111, #111111 72%);
  box-shadow: inset 0 1px color-mix(in srgb, #ffffff 12%, transparent);
  content: "";
}

.portrait-form__head {
  position: absolute;
  top: 18%;
  left: 50%;
  z-index: 2;
  width: 37%;
  aspect-ratio: 0.84;
  border: 1px solid color-mix(in srgb, #ffffff 8%, transparent);
  border-radius: 48% 48% 44% 44% / 38% 38% 58% 58%;
  background:
    radial-gradient(circle at 34% 52%, color-mix(in srgb, #7A7A7A 20%, transparent) 0 5%, transparent 6%),
    radial-gradient(circle at 66% 52%, color-mix(in srgb, #7A7A7A 20%, transparent) 0 5%, transparent 6%),
    linear-gradient(155deg, #111111, #111111 68%);
  box-shadow: 0 -18px 0 -8px #111111, 0 18px 34px color-mix(in srgb, #111111 32%, transparent);
  transform: translateX(-50%);
}

.portrait-form__body {
  position: absolute;
  bottom: 9%;
  left: 50%;
  z-index: 1;
  width: 72%;
  height: 43%;
  border-radius: 50% 50% 15% 15%;
  background: linear-gradient(155deg, #111111, #111111 68%);
  transform: translateX(-50%);
}

.portrait-form__monogram {
  position: absolute;
  top: 13%;
  right: 10%;
  z-index: 4;
  direction: ltr;
  color: color-mix(in srgb, #ffffff 14%, transparent);
  font-family: Arial, sans-serif;
  font-size: clamp(26px, 3vw, 48px);
  font-weight: 800;
  letter-spacing: -0.08em;
}

.portrait-form__tag {
  position: absolute;
  bottom: 12%;
  left: 10%;
  z-index: 4;
  direction: ltr;
  color: color-mix(in srgb, #ffffff 42%, transparent);
  font-family: Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  writing-mode: vertical-rl;
}

.orbit-label {
  position: absolute;
  z-index: 6;
  direction: ltr;
  padding: 7px 11px;
  border: 1px solid color-mix(in srgb, #ffffff 12%, transparent);
  border-radius: 999px;
  color: var(--muted-strong);
  background: color-mix(in srgb, #111111 72%, transparent);
  font-family: Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.orbit-label--top {
  top: 22%;
  left: -1%;
}

.orbit-label--bottom {
  right: 2%;
  bottom: 23%;
  color: #ffffff;
  background: var(--accent-primary);
}

.mega-name {
  position: absolute;
  right: 50%;
  bottom: 4%;
  z-index: 5;
  width: max-content;
  pointer-events: none;
  color: #ffffff;
  font-size: clamp(82px, 12.8vw, 220px);
  font-variation-settings: "wght" 780;
  line-height: 0.77;
  letter-spacing: -0.08em;
  text-shadow: 0 12px 42px color-mix(in srgb, #111111 22%, transparent);
  transform: translateX(50%);
}

.expertise-strip {
  position: absolute;
  right: var(--gutter);
  bottom: 36px;
  left: var(--gutter);
  z-index: 10;
  display: grid;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  color: #7A7A7A;
  grid-template-columns: repeat(4, 1fr);
}

.expertise-strip li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: clamp(10px, 0.9vw, 13px);
  font-variation-settings: "wght" 650;
  transition: color 220ms ease;
}

.expertise-strip li:hover {
  color: var(--muted-strong);
}

.expertise-strip .icon {
  width: 24px;
  height: 24px;
}

.page-home .site-footer {
  min-height: 36px;
  border-top: 0;
}

/* Shared inner pages */
.inner-main {
  position: relative;
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  padding: clamp(116px, 14vh, 150px) var(--gutter) 24px;
}

.page-heading {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(430px, 1.18fr) minmax(280px, 0.62fr);
  gap: clamp(44px, 8vw, 150px);
}

.page-heading h1,
.about-intro h1,
.contact-copy h1 {
  margin-top: 10px;
  font-size: clamp(48px, 6.4vw, 104px);
  font-variation-settings: "wght" 720;
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.page-heading h1 em,
.about-intro h1 em,
.contact-copy h1 em {
  color: var(--accent-highlight);
  font-style: normal;
  font-variation-settings: "wght" 480;
}

.page-heading > p {
  max-width: 460px;
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

/* Portfolio */
.portfolio-main {
  gap: clamp(26px, 4vh, 48px);
}

.project-grid {
  display: grid;
  min-height: 0;
  flex: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 26px);
}

.project-card {
  position: relative;
  display: grid;
  min-height: 0;
  overflow: hidden;
  padding: clamp(16px, 1.7vw, 25px);
  border: 1px solid color-mix(in srgb, #ffffff 10%, transparent);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, #111111 86%, transparent);
  box-shadow: var(--shadow);
  grid-template-rows: auto minmax(150px, 1fr) auto;
  isolation: isolate;
  transform-style: preserve-3d;
  will-change: transform;
}

.project-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.7;
  content: "";
}

.project-card--one::before {
  background: radial-gradient(circle at 20% 0%, color-mix(in srgb, #7A7A7A 25%, transparent), transparent 44%);
}

.project-card--two::before {
  background: radial-gradient(circle at 80% 8%, color-mix(in srgb, #7A7A7A 18%, transparent), transparent 46%);
}

.project-card--three::before {
  background: radial-gradient(circle at 50% 0%, color-mix(in srgb, #7A7A7A 20%, transparent), transparent 46%);
}

.project-card__top,
.project-card__footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-number {
  direction: ltr;
  color: color-mix(in srgb, #ffffff 78%, transparent);
  font-size: 11px;
}

.project-kind {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9px;
}

.project-card__visual {
  position: relative;
  min-height: 0;
  margin: 13px 0 15px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, #ffffff 8%, transparent);
  border-radius: 17px;
  background: #111111;
}

.project-card__footer small {
  color: var(--muted);
  font-size: 9px;
}

.project-card__footer h2 {
  margin-top: 2px;
  font-size: clamp(17px, 1.55vw, 24px);
  font-variation-settings: "wght" 690;
}

.round-button {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  color: var(--muted-strong);
}

.round-button .icon {
  width: 20px;
  height: 20px;
}

.visual-commerce {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 14% 18%, color-mix(in srgb, #7A7A7A 36%, transparent), transparent 30%),
    linear-gradient(145deg, #111111, #111111 64%);
}

.mini-window {
  display: grid;
  width: 76%;
  height: 74%;
  padding: 13px;
  border: 1px solid color-mix(in srgb, #ffffff 18%, transparent);
  border-radius: 11px;
  background: color-mix(in srgb, #ffffff 9%, transparent);
  box-shadow: 0 24px 44px color-mix(in srgb, #111111 26%, transparent);
  grid-template-rows: 10px 1fr 28%;
  gap: 9px;
  transform: rotate(-5deg);
}

.mini-window__nav {
  width: 42%;
  border-radius: 10px;
  background: color-mix(in srgb, #ffffff 56%, transparent);
}

.mini-window__hero {
  border-radius: 7px;
  background: linear-gradient(135deg, color-mix(in srgb, #ffffff 21%, transparent), color-mix(in srgb, #7A7A7A 32%, transparent));
}

.mini-window__cards {
  background:
    linear-gradient(90deg, color-mix(in srgb, #ffffff 19%, transparent) 0 29%, transparent 30% 34%, color-mix(in srgb, #ffffff 10%, transparent) 35% 64%, transparent 65% 69%, color-mix(in srgb, #ffffff 16%, transparent) 70%);
  border-radius: 5px;
}

.visual-chip {
  position: absolute;
  right: 8%;
  bottom: 9%;
  direction: ltr;
  padding: 7px 10px;
  border-radius: 999px;
  color: #111111;
  background: #ffffff;
  font-size: 10px;
  font-variation-settings: "wght" 780;
  box-shadow: 0 10px 24px color-mix(in srgb, #111111 22%, transparent);
}

.visual-clinic {
  background:
    linear-gradient(color-mix(in srgb, #ffffff 2.5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, #ffffff 2.5%, transparent) 1px, transparent 1px),
    linear-gradient(145deg, #111111, #111111 70%);
  background-size: 24px 24px, 24px 24px, 100% 100%;
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 46%;
  display: grid;
  width: 44%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid color-mix(in srgb, #ffffff 30%, transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.pulse-ring::before,
.pulse-ring::after {
  position: absolute;
  border: 1px solid color-mix(in srgb, #ffffff 17%, transparent);
  border-radius: 50%;
  content: "";
}

.pulse-ring::before { inset: 15%; }
.pulse-ring::after { inset: -26%; }

.pulse-ring i {
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 28px color-mix(in srgb, #ffffff 66%, transparent);
}

.metric-card {
  position: absolute;
  right: 7%;
  bottom: 8%;
  display: grid;
  width: 45%;
  padding: 11px;
  border: 1px solid color-mix(in srgb, #ffffff 12%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, #111111 78%, transparent);
  box-shadow: 0 16px 35px color-mix(in srgb, #111111 22%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.metric-card small {
  color: var(--muted);
  font-size: 7px;
}

.metric-card strong {
  direction: ltr;
  font-size: clamp(18px, 2vw, 28px);
}

.metric-card span {
  height: 3px;
  margin-top: 7px;
  border-radius: 4px;
  background: linear-gradient(to left, #ffffff 0 88%, color-mix(in srgb, #ffffff 8%, transparent) 88%);
}

.visual-studio {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #111111, #111111 67%);
}

.studio-grid {
  position: absolute;
  inset: 10%;
  border: 1px solid color-mix(in srgb, #ffffff 10%, transparent);
  background:
    linear-gradient(color-mix(in srgb, #ffffff 7%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, #ffffff 7%, transparent) 1px, transparent 1px);
  background-size: 25% 25%;
  transform: perspective(400px) rotateX(58deg) rotateZ(-7deg) scale(1.14);
}

.studio-type {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-size: clamp(48px, 6vw, 90px);
  font-variation-settings: "wght" 800;
  letter-spacing: -0.08em;
  text-shadow: 0 18px 30px color-mix(in srgb, #111111 34%, transparent);
  transform: rotate(-7deg);
}

.studio-badge {
  position: absolute;
  bottom: 9%;
  left: 8%;
  z-index: 3;
  direction: ltr;
  color: color-mix(in srgb, #ffffff 60%, transparent);
  font-family: Arial, sans-serif;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.project-dialog {
  width: min(620px, calc(100vw - 36px));
  padding: clamp(25px, 4vw, 48px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  color: var(--text);
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, #7A7A7A 20%, transparent), transparent 40%),
    #111111;
  box-shadow: 0 44px 120px color-mix(in srgb, #111111 62%, transparent);
}

.project-dialog::backdrop {
  background: color-mix(in srgb, #111111 78%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.project-dialog .dialog-close {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 44px;
  height: 44px;
}

.project-dialog h2 {
  margin: 12px 0 16px;
  font-size: clamp(32px, 5vw, 58px);
  font-variation-settings: "wght" 730;
}

.project-dialog > p:not(.eyebrow) {
  max-width: 510px;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 2;
}

.dialog-services {
  margin: 28px 0;
  padding: 18px 0;
  border-block: 1px solid var(--line);
}

.dialog-services small {
  color: var(--muted);
  font-size: 10px;
}

.dialog-services p {
  margin-top: 7px;
  font-size: 13px;
}

/* About */
.about-main {
  gap: clamp(22px, 3.5vh, 38px);
}

.about-grid {
  display: grid;
  min-height: 0;
  align-items: center;
  grid-template-columns: minmax(310px, 1.1fr) minmax(250px, 0.75fr) minmax(280px, 0.88fr);
  gap: clamp(28px, 4vw, 72px);
}

.about-intro h1 {
  font-size: clamp(43px, 5.4vw, 88px);
}

.about-lead {
  max-width: 550px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(12px, 0.96vw, 14px);
  line-height: 1.95;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted-strong);
  font-size: 12px;
  font-variation-settings: "wght" 680;
  transition: color 180ms ease, gap 180ms ease;
}

.text-link:hover {
  gap: 15px;
  color: var(--accent-highlight);
}

.text-link .icon {
  width: 17px;
  height: 17px;
  transform: rotate(180deg);
}

.about-signature {
  position: relative;
  display: grid;
  width: min(100%, 320px);
  aspect-ratio: 0.84;
  justify-self: center;
  place-items: center;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, #ffffff 13%, transparent);
  border-radius: 46% 46% 24% 24%;
  background:
    radial-gradient(circle at 50% 37%, color-mix(in srgb, #7A7A7A 28%, transparent), transparent 34%),
    linear-gradient(150deg, #111111, #111111 69%);
  box-shadow: var(--shadow);
}

.about-signature::before {
  position: absolute;
  inset: 8%;
  border: 1px dashed color-mix(in srgb, #ffffff 12%, transparent);
  border-radius: 50%;
  content: "";
}

.about-signature__ring {
  position: absolute;
  width: 52%;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, #7A7A7A 45%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 50px color-mix(in srgb, #7A7A7A 12%, transparent);
}

.about-signature strong {
  position: relative;
  z-index: 2;
  direction: ltr;
  font-family: Arial, sans-serif;
  font-size: clamp(58px, 7vw, 102px);
  font-weight: 800;
  letter-spacing: -0.1em;
}

.about-signature small {
  position: absolute;
  right: 9%;
  bottom: 9%;
  direction: ltr;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.7;
}

.about-signature__dot {
  position: absolute;
  top: 12%;
  left: 12%;
  width: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent-highlight);
  box-shadow: 0 0 22px color-mix(in srgb, #7A7A7A 90%, transparent);
}

.about-values {
  align-self: center;
}

.value-list {
  display: grid;
  gap: 2px;
  margin-top: 18px;
}

.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.value-list .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--accent-highlight);
}

.value-list div {
  display: grid;
  gap: 4px;
}

.value-list strong {
  font-size: 13px;
  font-variation-settings: "wght" 690;
}

.value-list small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.process-strip {
  display: grid;
  min-height: 112px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  grid-template-columns: minmax(240px, 0.8fr) 2fr;
  gap: clamp(26px, 5vw, 80px);
}

.process-strip h2 {
  max-width: 360px;
  margin-top: 5px;
  font-size: clamp(14px, 1.4vw, 20px);
  font-variation-settings: "wght" 660;
  line-height: 1.5;
}

.process-strip ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.process-strip li {
  position: relative;
  display: grid;
  min-height: 78px;
  align-content: center;
  padding: 0 15px;
  border-right: 1px solid var(--line);
}

.process-strip li:first-child {
  border-right: 0;
}

.process-strip li > span {
  position: absolute;
  top: 2px;
  left: 12px;
  direction: ltr;
  color: #7A7A7A;
  font-size: 8px;
}

.process-strip li .icon {
  width: 20px;
  height: 20px;
  margin-bottom: 7px;
  color: var(--accent-highlight);
}

.process-strip li strong {
  font-size: 12px;
}

.process-strip li small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

/* Contact */
.contact-main {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(340px, 0.9fr) minmax(480px, 1.1fr);
  gap: clamp(42px, 8vw, 130px);
}

.contact-copy h1 {
  font-size: clamp(48px, 5.8vw, 94px);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 530px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.contact-points {
  display: grid;
  max-width: 540px;
  margin-top: 28px;
  border-block: 1px solid var(--line);
  grid-template-columns: repeat(2, 1fr);
}

.contact-points > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
}

.contact-points > div + div {
  padding-right: 18px;
  border-right: 1px solid var(--line);
}

.contact-points .icon {
  width: 23px;
  height: 23px;
  color: var(--accent-highlight);
}

.contact-points p {
  display: grid;
  gap: 3px;
}

.contact-points small {
  color: var(--muted);
  font-size: 8px;
}

.contact-points strong {
  font-size: 10px;
  font-variation-settings: "wght" 620;
}

.contact-panel {
  padding: clamp(22px, 2.4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, #7A7A7A 17%, transparent), transparent 34%),
    color-mix(in srgb, #111111 87%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.contact-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(17px, 2vh, 25px);
}

.contact-panel__head h2 {
  margin-top: 4px;
  font-size: clamp(22px, 2.2vw, 32px);
  font-variation-settings: "wght" 700;
}

.contact-panel__icon {
  display: grid;
  width: 58px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--accent-primary);
  box-shadow: 0 14px 30px color-mix(in srgb, #111111 28%, transparent);
}

.contact-panel__icon .icon {
  width: 24px;
  height: 24px;
}

.contact-form {
  display: grid;
  gap: 13px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field > span {
  color: var(--muted-strong);
  font-size: 9px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  color: var(--text);
  background: color-mix(in srgb, #111111 34%, transparent);
  font-size: 11px;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.form-field input,
.form-field select {
  height: 46px;
  padding: 0 13px;
}

.form-field textarea {
  min-height: 78px;
  padding: 12px 13px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #7A7A7A;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: color-mix(in srgb, #7A7A7A 75%, transparent);
  background: color-mix(in srgb, #111111 58%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, #7A7A7A 8%, transparent);
}

.form-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: left 17px top 19px, left 12px top 19px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 2px;
}

.form-actions small {
  color: var(--muted);
  font-size: 8px;
}

.toast {
  position: fixed;
  right: 50%;
  bottom: 28px;
  z-index: 300;
  display: flex;
  min-width: min(360px, calc(100vw - 32px));
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, #ffffff 22%, transparent);
  border-radius: 16px;
  visibility: hidden;
  background: color-mix(in srgb, #111111 94%, transparent);
  box-shadow: 0 22px 58px color-mix(in srgb, #111111 42%, transparent);
  opacity: 0;
  transform: translate(50%, 18px);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.toast .icon {
  width: 25px;
  height: 25px;
  color: var(--status-positive);
}

.toast p {
  display: grid;
  gap: 2px;
}

.toast strong {
  font-size: 11px;
}

.toast small {
  color: var(--muted);
  font-size: 9px;
}

/* Desktop fit refinements */
@media (min-width: 901px) and (max-height: 760px) {
  :root {
    --header-h: 58px;
  }

  .site-header {
    top: 18px;
  }

  .brand-capsule__mark {
    width: 44px;
  }

  .home-main,
  .inner-main {
    padding-top: 94px;
  }

  .home-main {
    padding-bottom: 73px;
  }

  .visual-stage {
    height: 58vh;
    min-height: 330px;
  }

  .portrait-form {
    min-height: 315px;
  }

  .mega-name {
    bottom: 12%;
  }

  .expertise-strip {
    bottom: 28px;
    padding: 11px 0;
  }

  .portfolio-main,
  .about-main {
    gap: 18px;
  }

  .project-card {
    padding: 16px;
  }

  .project-card__visual {
    margin: 10px 0;
  }

  .about-signature {
    width: min(76%, 260px);
  }

  .process-strip {
    min-height: 88px;
    padding-top: 10px;
  }

  .process-strip li {
    min-height: 65px;
  }

  .contact-panel {
    padding: 20px 24px;
  }

  .contact-panel__head {
    margin-bottom: 14px;
  }

  .contact-form {
    gap: 9px;
  }

  .form-field textarea {
    min-height: 58px;
  }

  .form-field input,
  .form-field select {
    height: 40px;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .home-hero {
    grid-template-columns: minmax(210px, 1fr) minmax(280px, 0.82fr) minmax(210px, 1fr);
    gap: 24px;
  }

  .hero-copy--primary h1 {
    font-size: clamp(30px, 3.3vw, 42px);
  }

  .page-heading {
    grid-template-columns: 1fr 0.65fr;
    gap: 40px;
  }

  .about-grid {
    grid-template-columns: 1fr 0.68fr 0.85fr;
    gap: 28px;
  }

  .contact-main {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 42px;
  }
}

/* Tablet and mobile */
@media (max-width: 900px) {
  :root {
    --gutter: clamp(18px, 5vw, 34px);
    --header-h: 56px;
  }

  body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .page-root {
    min-height: 100svh;
    max-height: none;
  }

  .site-header {
    top: 16px;
  }

  .brand-capsule {
    min-height: 56px;
    gap: 10px;
    padding: 5px 13px 5px 6px;
  }

  .brand-capsule__mark {
    width: 44px;
    font-size: 20px;
  }

  .brand-capsule__copy strong {
    font-size: 12px;
  }

  .brand-capsule__copy small {
    font-size: 8px;
  }

  .page-indicator {
    display: none;
  }

  .menu-button {
    width: 56px;
    height: 56px;
  }

  .menu-overlay__inner {
    width: calc(100% - (var(--gutter) * 2));
    padding-top: 120px;
  }

  .overlay-nav__link span {
    font-size: clamp(38px, 11vw, 64px);
  }

  .menu-overlay__footer span:first-child {
    display: none;
  }

  .menu-overlay__footer {
    justify-content: flex-end;
  }

  .home-main,
  .inner-main {
    min-height: auto;
    padding-top: 112px;
  }

  .home-main {
    padding-bottom: 32px;
  }

  .home-hero {
    display: flex;
    height: auto;
    flex-direction: column;
    gap: 36px;
  }

  .hero-copy,
  .hero-copy--primary,
  .hero-copy--secondary {
    width: 100%;
    max-width: 620px;
    align-self: flex-start;
    justify-self: auto;
  }

  .hero-copy--primary h1 {
    max-width: 610px;
    font-size: clamp(39px, 10.4vw, 76px);
  }

  .hero-copy--primary > p,
  .hero-intro {
    max-width: 540px;
    font-size: 13px;
  }

  .visual-stage {
    width: min(100%, 520px);
    height: 580px;
    min-height: 0;
    align-self: center;
  }

  .portrait-form {
    width: min(72vw, 360px);
    height: 500px;
    min-height: 0;
  }

  .mega-name {
    position: absolute;
    top: 48%;
    bottom: auto;
    font-size: clamp(68px, 17vw, 142px);
    line-height: 0.82;
  }

  .expertise-strip {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: 32px;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 8px;
  }

  .expertise-strip li {
    justify-content: flex-start;
    font-size: 11px;
  }

  .site-footer {
    min-height: 58px;
    flex: 0 0 auto;
  }

  .page-home .site-footer {
    min-height: 58px;
    border-top: 1px solid var(--line);
  }

  .inner-main {
    padding-bottom: 42px;
  }

  .page-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-heading h1,
  .about-intro h1,
  .contact-copy h1 {
    font-size: clamp(48px, 13.6vw, 88px);
  }

  .page-heading > p {
    padding-bottom: 0;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 570px;
  }

  .project-card__visual {
    min-height: 350px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .about-intro {
    max-width: 650px;
  }

  .about-signature {
    width: min(78vw, 360px);
    justify-self: start;
  }

  .about-values {
    max-width: 620px;
  }

  .process-strip {
    grid-template-columns: 1fr;
  }

  .process-strip ol {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 18px;
  }

  .process-strip li:nth-child(3) {
    border-right: 0;
  }

  .contact-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .contact-copy,
  .contact-panel {
    max-width: 680px;
  }
}

@media (max-width: 560px) {
  .brand-capsule__copy small {
    display: none;
  }

  .brand-capsule__copy strong {
    font-size: 11px;
  }

  .menu-overlay__inner {
    padding-bottom: 26px;
  }

  .overlay-nav__link {
    padding: 14px 0;
  }

  .home-main {
    padding-top: 102px;
  }

  .home-hero {
    gap: 30px;
  }

  .availability {
    font-size: 9px;
  }

  .visual-stage {
    height: 480px;
  }

  .portrait-form {
    width: min(76vw, 320px);
    height: 430px;
  }

  .mega-name {
    top: 46%;
    font-size: clamp(57px, 17vw, 96px);
  }

  .orbit-label--top {
    left: 2%;
  }

  .hero-copy--secondary .primary-cta {
    width: 100%;
    justify-content: space-between;
  }

  .expertise-strip {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
  }

  .page-heading h1,
  .about-intro h1,
  .contact-copy h1 {
    font-size: clamp(43px, 14vw, 72px);
  }

  .project-card {
    min-height: 500px;
  }

  .project-card__visual {
    min-height: 290px;
  }

  .about-signature {
    width: min(88vw, 330px);
    justify-self: center;
  }

  .process-strip ol {
    grid-template-columns: 1fr;
  }

  .process-strip li,
  .process-strip li:nth-child(3) {
    min-height: 74px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-points,
  .field-row {
    grid-template-columns: 1fr;
  }

  .contact-points > div + div {
    padding-right: 0;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .contact-panel {
    border-radius: 24px;
  }

  .contact-panel__icon {
    width: 50px;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions .primary-cta {
    width: 100%;
    justify-content: space-between;
  }

  .project-dialog {
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .pointer-glow {
    display: none;
  }
}

/* Custom brand assets and monochrome refinements */
.brand-logo {
  position: relative;
  z-index: 1;
  display: grid;
  width: clamp(54px, 4.5vw, 72px);
  height: clamp(54px, 4.5vw, 72px);
  flex: 0 0 auto;
  place-items: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 220ms ease, transform 220ms var(--ease-out);
}

.brand-logo:hover {
  opacity: 0.72;
  transform: scale(0.96);
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  object-fit: contain;
  opacity: 1;
  visibility: visible;
}

.menu-button:hover,
.round-button:hover,
.dialog-close:hover {
  color: #111111;
  background: #ffffff;
}

.visual-stage::before {
  display: none;
}

.profile-photo-wrap {
  --spot-x: 50%;
  --spot-y: 42%;
  --spot-size: clamp(135px, 13vw, 210px);
  position: relative;
  z-index: 3;
  display: block;
  width: min(44vw, 600px);
  height: 100%;
  overflow: visible;
  -webkit-mask-image: linear-gradient(to bottom, #000000 0%, #000000 68%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000000 0%, #000000 68%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.profile-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.profile-photo--base {
  filter: brightness(0);
}

.profile-photo--reveal {
  opacity: 0;
  -webkit-mask-image: radial-gradient(circle var(--spot-size) at var(--spot-x) var(--spot-y), #000000 0%, #000000 42%, transparent 100%);
  mask-image: radial-gradient(circle var(--spot-size) at var(--spot-x) var(--spot-y), #000000 0%, #000000 42%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transition: opacity 140ms ease;
}

.profile-photo-wrap.is-revealing .profile-photo--reveal {
  opacity: 1;
}

.about-portrait {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 981 / 1187;
  align-self: end;
  justify-self: center;
  -webkit-mask-image: linear-gradient(to bottom, #000000 0%, #000000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000000 0%, #000000 70%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.primary-cta {
  display: inline-grid;
  min-width: 212px;
  min-height: 56px;
  grid-template-columns: 46px minmax(max-content, 1fr);
  align-items: center;
  gap: 8px;
  padding: 5px;
  direction: ltr;
  color: #111111;
  background: #ffffff;
}

.primary-cta > span:first-child {
  grid-row: 1;
  grid-column: 2;
  padding: 0 20px 0 18px;
  direction: rtl;
  text-align: center;
}

.cta-icon {
  grid-row: 1;
  grid-column: 1;
  width: 46px;
  color: #ffffff;
  background: #111111;
}

.cta-icon .icon {
  display: block;
  width: 19px;
  height: 19px;
  transform: rotate(180deg);
  transform-origin: center;
}

.primary-cta:hover {
  color: #ffffff;
  background: #7A7A7A;
}

.contact-panel__icon {
  color: #111111;
  background: #ffffff;
}

@media (min-width: 901px) and (max-height: 760px) {
  .brand-logo {
    width: 56px;
    height: 56px;
  }

  .about-portrait {
    width: min(82%, 300px);
  }
}

@media (max-width: 900px) {
  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .profile-photo-wrap {
    width: min(96vw, 560px);
  }

  .about-portrait {
    width: min(78vw, 360px);
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .profile-photo-wrap {
    width: min(104vw, 500px);
  }

  .about-portrait {
    width: min(86vw, 340px);
  }

  .primary-cta {
    min-width: 100%;
  }
}
