@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: var(--bg);
  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: #1c39bb;
}

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: var(--bg);
}

.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;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.theme-toggle {
  position: relative;
  display: inline-grid;
  width: 72px;
  height: 46px;
  flex: 0 0 auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: color-mix(in srgb, #111111 82%, transparent);
  box-shadow: 0 14px 34px color-mix(in srgb, #111111 20%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.theme-toggle:hover {
  border-color: var(--line-strong);
}

.theme-toggle__track {
  position: absolute;
  inset: 0;
}

.theme-toggle__icon {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
  transition: color 220ms ease;
}

.theme-toggle__icon--moon { left: 13px; color: #111111; }
.theme-toggle__icon--sun { right: 13px; }

.theme-toggle__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle__thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 18px color-mix(in srgb, #111111 28%, transparent);
  transition: background 280ms var(--ease-out), transform 280ms var(--ease-out);
}

html[data-theme="light"] .theme-toggle__thumb {
  background: #1c39bb;
  transform: translateX(26px);
}

html[data-theme="light"] .theme-toggle__icon--moon { color: color-mix(in srgb, #111111 55%, transparent); }
html[data-theme="light"] .theme-toggle__icon--sun { color: #ffffff; }

.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("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20fill=%22none%22%20stroke-width=%221.5%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22M2.25.753h19.5s1.5%200%201.5%201.5v1.5s0%201.5-1.5%201.5H2.25s-1.5%200-1.5-1.5v-1.5s0-1.5%201.5-1.5m0%209h19.5s1.5%200%201.5%201.5v1.5s0%201.5-1.5%201.5H2.25s-1.5%200-1.5-1.5v-1.5s0-1.5%201.5-1.5m0%209h19.5s1.5%200%201.5%201.5v1.5s0%201.5-1.5%201.5H2.25s-1.5%200-1.5-1.5v-1.5s0-1.5%201.5-1.5%22/%3E%3C/svg%3E"); width: 24px; height: 24px; }
.menu-button.is-open .icon-menu { --icon-url: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20fill=%22none%22%20stroke-width=%221.5%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22M15.823%201.805%2012%205.628%208.177%201.805a3.605%203.605%200%200%200-5.1%200L1.806%203.079a3.6%203.6%200%200%200%200%205.1L5.629%2012l-3.823%203.822a3.6%203.6%200%200%200%200%205.1l1.274%201.272a3.607%203.607%200%200%200%205.1%200L12%2018.371l3.823%203.823a3.606%203.606%200%200%200%205.1%200l1.274-1.274a3.6%203.6%200%200%200%200-5.1L18.372%2012l3.822-3.824a3.6%203.6%200%200%200%200-5.1L20.92%201.805a3.605%203.605%200%200%200-5.097%200%22/%3E%3C/svg%3E"); }
.icon-arrow { --icon-url: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20fill=%22none%22%20stroke-width=%221.5%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22M.75%2012h22.5m-10.5%2010.5L23.25%2012%2012.75%201.5%22/%3E%3C/svg%3E"); }
.icon-arrow-circle { --icon-url: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20fill=%22none%22%20stroke-width=%221.5%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22M.75%2012a11.25%2011.25%200%201%200%2022.5%200%2011.25%2011.25%200%200%200-22.5%200%22/%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22M15.75%2016.819V7.183c0-.55-.475-.913-.888-.679l-8.5%204.818a.823.823%200%200%200%200%201.357l8.5%204.819c.413.234.888-.129.888-.679%22/%3E%3C/svg%3E"); }
.icon-compass { --icon-url: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20fill=%22none%22%20stroke-width=%221.5%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22M15%206.75h-4.5V3A2.25%202.25%200%200%201%2015%203zM4.75%2018.25v2l-2%203-2-3V7.75a2%202%200%201%201%204%200v6m17.05%206.09%201.45%201.91%22/%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22M.75%2018.25H6l9-11.5%207.22%2010.5a1.89%201.89%200%200%201-3.09%202.18l-6.65-9.32M10.5%206.75l-5.75%207h-4%22/%3E%3C/svg%3E"); }
.icon-responsive { --icon-url: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20fill=%22none%22%20stroke-width=%221.5%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22M16.5%2023.25h-6l.75-4.5h4.5zm-8.25%200h10.5m-7.5-18h10.5a1.5%201.5%200%200%201%201.5%201.5v10.5a1.5%201.5%200%200%201-1.5%201.5H5.25a1.5%201.5%200%200%201-1.5-1.5v-1.5m0%200h19.5%22/%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22M2.25.75h4.5s1.5%200%201.5%201.5v9s0%201.5-1.5%201.5h-4.5s-1.5%200-1.5-1.5v-9s0-1.5%201.5-1.5m-1.5%209h7.5%22/%3E%3C/svg%3E"); }
.icon-code { --icon-url: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20fill=%22none%22%20stroke-width=%221.5%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22M2.25%2021.75a1.5%201.5%200%200%201-1.5-1.5V3.865A1.62%201.62%200%200%201%202.365%202.25h19.278a1.61%201.61%200%200%201%201.607%201.607v16.278a1.62%201.62%200%200%201-1.615%201.615zm21-15H.75m12%207.5h4.5%22/%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22m6.75%2011.25%203%203-3%203%22/%3E%3C/svg%3E"); }
.icon-seo { --icon-url: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20fill=%22none%22%20stroke-width=%221.5%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22M18.889%209.813a9.063%209.063%200%200%201-14.658%207.129M.8%2010.631a9.062%209.062%200%200%201%2015.354-7.306m.081%2012.896%207.015%207.029m0-16.929V1.5h-4.807%22/%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22m.75%2016.5%208.32-8.317a.95.95%200%200%201%201.339%200l2.446%202.447a.947.947%200%200%200%201.339%200L23.25%201.5%22/%3E%3C/svg%3E"); }
.icon-check { --icon-url: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20fill=%22none%22%20stroke-width=%221.5%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22m15.75%209.749-3.981%205.308a.75.75%200%200%201-1.13.08L8.25%2012.749%22/%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22M10.73%201.357a1.63%201.63%200%200%201%202.54%200l1.512%201.881a1.63%201.63%200%200%200%201.446.6l2.4-.261a1.63%201.63%200%200%201%201.8%201.8l-.261%202.4a1.63%201.63%200%200%200%20.6%201.446l1.881%201.512a1.63%201.63%200%200%201%200%202.54l-1.887%201.505a1.63%201.63%200%200%200-.6%201.447l.261%202.4a1.63%201.63%200%200%201-1.8%201.8l-2.4-.261a1.63%201.63%200%200%200-1.446.6L13.27%2022.64a1.63%201.63%200%200%201-2.54%200l-1.511-1.88a1.63%201.63%200%200%200-1.447-.6l-2.4.261a1.627%201.627%200%200%201-1.8-1.8l.261-2.4a1.63%201.63%200%200%200-.6-1.447l-1.88-1.511a1.63%201.63%200%200%201%200-2.54l1.88-1.512a1.63%201.63%200%200%200%20.6-1.446l-.261-2.4a1.63%201.63%200%200%201%201.8-1.8l2.4.261a1.63%201.63%200%200%200%201.447-.6z%22/%3E%3C/svg%3E"); }
.icon-search { --icon-url: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20fill=%22none%22%20stroke-width=%221.5%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22M.75%2012a11.25%2011.25%200%201%200%2022.5%200%2011.25%2011.25%200%200%200-22.5%200%22/%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22M6.75%2011.125a4.375%204.375%200%201%200%208.75%200%204.375%204.375%200%200%200-8.75%200m7.469%203.093%203.031%203.032%22/%3E%3C/svg%3E"); }
.icon-pencil { --icon-url: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20fill=%22none%22%20stroke-width=%221.5%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22M5.25%2023.25a3%203%200%200%201-3-3V6.53a3%203%200%200%201%20.32-1.34l2-4a.75.75%200%200%201%201.34%200l2%204a3%203%200%200%201%20.32%201.34v13.72a3%203%200%200%201-2.98%203m-3-16.75h6m-6%2012h6m6-17.75h6s1.5%200%201.5%201.5v19.5s0%201.5-1.5%201.5h-6s-1.5%200-1.5-1.5V2.25s0-1.5%201.5-1.5m-1.5%204.5h3.5m-3.5%204.5h3.5m-3.5%204.5h3.5m-3.5%204.5h3.5%22/%3E%3C/svg%3E"); }
.icon-browser { --icon-url: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20fill=%22none%22%20stroke-width=%221.5%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22M7.75%2019.9h-5a2%202%200%200%201-2-2V2.773a2%202%200%200%201%202-2h18a2%202%200%200%201%202%202V9.4m-22-3.845h22m.5%2015.101-6%202.571V16.37l6-2.57z%22/%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22m11.25%2020.656%206%202.571V16.37l-6-2.57z%22/%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22m17.25%2011.227%206%202.572-6%202.571-6-2.57z%22/%3E%3C/svg%3E"); }
.icon-rocket { --icon-url: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20fill=%22none%22%20stroke-width=%221.5%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22m1%2018.127%2011%203m0%200%2011-3m-22%200%205.493-1.439m-5.493%206v-4.436m22%200v4.436m-11%20.5v-2.061m3.5-15.065c0%201.933-.583%207-3.5%207S8.5%208%208.5%206.062c0-3.5%203.5-5.25%203.5-5.25s3.5%201.75%203.5%205.25%22/%3E%3Cpath%20stroke=%22currentColor%22%20d=%22M12%205.937a.5.5%200%200%201%200-1m0%201a.5.5%200%200%200%200-1%22/%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22M10.01%2017.881v-1.008a2.017%202.017%200%200%201%203.99.08v.928m-4.317-5.72-.808.405a5.3%205.3%200%200%200-1.242.916.653.653%200%200%201-1.13-.417%203.49%203.49%200%200%201%202.113-3.61m5.701%202.706.808.405c.457.243.875.551%201.242.916a.654.654%200%200%200%201.13-.417%203.49%203.49%200%200%200-2.113-3.61M23%2018.127l-5.493-1.439%22/%3E%3C/svg%3E"); }
.icon-briefcase { --icon-url: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20fill=%22none%22%20stroke-width=%221.5%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20stroke-miterlimit=%2210%22%20d=%22M18%2018.85c0%20.6-.4%201-1%201H7c-.6%200-1-.4-1-1v-7c0-.6.4-1%201-1h10c.6%200%201%20.4%201%201zm-12-4h12m-6%200v1.5m-3.297-5.506L9.7%208.45q.3-.6.9-.6h2.6c.4%200%20.8.2.9.6l.9%202.394%22/%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20stroke-miterlimit=%2210%22%20d=%22M22.254%2023.25a1%201%200%200%200%20.996-1V9.75c0-.3-.2-.6-.398-.8L12%20.75%201.148%208.95c-.199.2-.398.5-.398.8v12.5c0%20.5.398%201%20.996%201z%22/%3E%3C/svg%3E"); }
.icon-time { --icon-url: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20fill=%22none%22%20stroke-width=%221.5%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22M1.5%2012a10.5%2010.5%200%201%200%2021%200%2010.5%2010.5%200%200%200-21%200M12%2012V8.25M12%2012l4.687%204.688%22/%3E%3C/svg%3E"); }
.icon-mail { --icon-url: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20fill=%22none%22%20stroke-width=%221.5%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22M21.23%2016.776A1.5%201.5%200%200%201%2019.755%2018H2.558a1.5%201.5%200%200%201-1.475-1.776l1.688-9A1.5%201.5%200%200%201%204.245%206h17.2a1.5%201.5%200%200%201%201.474%201.776z%22/%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22M22.917%207.776%2012%2012%202.771%207.224%22/%3E%3C/svg%3E"); }
.icon-close { --icon-url: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20fill=%22none%22%20stroke-width=%221.5%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20stroke=%22currentColor%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20d=%22M15.823%201.805%2012%205.628%208.177%201.805a3.605%203.605%200%200%200-5.1%200L1.806%203.079a3.6%203.6%200%200%200%200%205.1L5.629%2012l-3.823%203.822a3.6%203.6%200%200%200%200%205.1l1.274%201.272a3.607%203.607%200%200%200%205.1%200L12%2018.371l3.823%203.823a3.606%203.606%200%200%200%205.1%200l1.274-1.274a3.6%203.6%200%200%200%200-5.1L18.372%2012l3.822-3.824a3.6%203.6%200%200%200%200-5.1L20.92%201.805a3.605%203.605%200%200%200-5.097%200%22/%3E%3C/svg%3E"); }

.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: var(--muted);
  font-size: 10px;
}

.site-footer__copyright,
.footer-trust-codes,
.footer-trust-code,
.footer-trust-code a {
  display: inline-flex;
  align-items: center;
}

.site-footer__copyright {
  min-width: 0;
  flex-wrap: nowrap;
  gap: 12px;
}

.footer-trust-codes {
  min-width: 0;
  flex-wrap: nowrap;
  gap: 8px;
}

.footer-trust-code {
  flex: 0 0 auto;
  min-width: 0;
  max-height: 40px;
  line-height: 0;
}

.footer-trust-code img,
.footer-trust-code svg,
.footer-trust-code iframe {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 72px !important;
  max-height: 38px !important;
  border: 0;
  object-fit: contain;
}

.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;
}

.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 */
body.page-about:not(.menu-open):not(.dialog-open) {
  overflow-y: auto;
}

body.page-about .page-root {
  max-height: none;
}

.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;
}

.certificate-list-shell {
  position: relative;
  margin-top: 18px;
}

.certificate-list-viewport {
  max-height: 210px;
  overflow: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.certificate-list-viewport::-webkit-scrollbar {
  display: none;
}

.certificate-list {
  margin-top: 0;
  transition: padding 180ms ease;
}

.about-certificates.is-scrollable .certificate-list {
  padding-left: 42px;
}

.certificate-list li {
  display: block;
  padding: 0;
}

.certificate-card {
  position: relative;
  display: flex;
  min-height: 66px;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 0;
}

.certificate-card.is-actionable {
  cursor: pointer;
}

.certificate-card__copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.certificate-card__copy strong {
  transition: color 180ms ease;
}

.certificate-card.is-actionable:hover .certificate-card__copy strong {
  color: var(--accent-highlight);
}

.certificate-card__action {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border-radius: 8px;
  background: transparent;
}

.certificate-nav {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 4;
  display: grid;
  gap: 7px;
  transform: translateY(-50%);
}

.certificate-nav[hidden] {
  display: none;
}

.certificate-nav button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted-strong);
  background: var(--panel);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, opacity 180ms ease;
}

.certificate-nav button:hover:not(:disabled) {
  border-color: var(--accent-highlight);
  color: var(--bg);
  background: var(--accent-highlight);
}

.certificate-nav button:disabled {
  cursor: default;
  opacity: 0.28;
}

.certificate-nav .icon {
  width: 14px;
  height: 14px;
}

.certificate-nav button:first-child .icon {
  transform: rotate(-90deg);
}

.certificate-nav button:last-child .icon {
  transform: rotate(90deg);
}

.certificate-dialog {
  position: fixed;
  width: min(900px, calc(100vw - 36px));
  max-height: calc(100svh - 36px);
  padding: clamp(54px, 6vw, 72px) clamp(18px, 4vw, 44px) clamp(20px, 4vw, 40px);
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  color: var(--text);
  background: var(--panel);
  box-shadow: 0 44px 120px color-mix(in srgb, #111111 62%, transparent);
}

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

.certificate-dialog .dialog-close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 42px;
  height: 42px;
}

.certificate-dialog figure {
  display: grid;
  margin: 0;
  gap: 18px;
}

.certificate-dialog figure > img {
  width: 100%;
  max-height: 70svh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--text) 4%, transparent);
}

.certificate-dialog figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.certificate-dialog figcaption strong {
  font-size: clamp(16px, 2vw, 22px);
}

.certificate-dialog__link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--bg);
  background: var(--accent-primary);
  font-size: 10px;
  font-variation-settings: "wght" 680;
}

.certificate-dialog__link[hidden] {
  display: none;
}

.certificate-dialog__link .icon {
  width: 14px;
  height: 14px;
  transform: rotate(180deg);
}

.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 .process-custom-icon {
  width: 20px;
  height: 20px;
  margin-bottom: 7px;
  object-fit: contain;
}

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

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

.awards-section {
  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);
}

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

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.award-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 78px;
  align-content: center;
  padding: 0 18px;
  border-inline-start: 1px solid var(--line);
  transition: color 180ms ease;
}

.award-card:first-child {
  border-inline-start: 0;
}

.award-card.is-actionable {
  cursor: pointer;
}

.award-card.is-actionable:hover h3 {
  color: var(--accent-highlight);
}

.award-card__logo {
  width: 30px;
  height: 30px;
  margin-bottom: 7px;
  object-fit: contain;
}

.award-card__logo--placeholder {
  display: grid;
  place-items: center;
  color: var(--accent-highlight);
}

.award-card__logo--placeholder .icon {
  width: 20px;
  height: 20px;
}

.award-card__copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.award-card h3 {
  overflow: hidden;
  font-size: 12px;
  font-variation-settings: "wght" 690;
  text-overflow: ellipsis;
  transition: color 180ms ease;
  white-space: nowrap;
}

.award-card p {
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.award-card__link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* 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: auto;
  left: 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;
}

.contact-toast {
  width: min(430px, calc(100vw - 32px));
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  padding: 15px 16px 15px 52px;
  border-color: color-mix(in srgb, #ffffff 18%, transparent);
  box-shadow: 0 24px 72px color-mix(in srgb, #000000 62%, transparent), inset 0 1px 0 color-mix(in srgb, #ffffff 8%, transparent);
}

.contact-toast::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle at 90% 50%, color-mix(in srgb, var(--toast-accent, #7fd6a1) 18%, transparent), transparent 42%);
  content: "";
  pointer-events: none;
}

.contact-toast.is-success { --toast-accent: #7fd6a1; }
.contact-toast.is-error { --toast-accent: #e59797; }

.contact-toast__icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid color-mix(in srgb, var(--toast-accent) 46%, transparent);
  border-radius: 50%;
  place-items: center;
  color: var(--toast-accent);
  background: color-mix(in srgb, var(--toast-accent) 12%, transparent);
}

.contact-toast .contact-toast__icon .icon {
  width: 18px;
  height: 18px;
  color: inherit;
}

.contact-toast p { min-width: 0; }
.contact-toast strong { color: var(--text); font-size: 11px; }
.contact-toast small { overflow-wrap: anywhere; line-height: 1.7; }

.contact-toast__close {
  position: absolute;
  top: 50%;
  left: 13px;
  display: inline-grid;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  place-items: center;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.contact-toast__close:hover { color: var(--text); background: color-mix(in srgb, #ffffff 7%, transparent); }
.contact-toast__close .icon { width: 15px; height: 15px; color: inherit; }

.contact-toast__progress {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--toast-accent);
  transform-origin: right center;
}

/* 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;
  }

  .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;
  }

  .certificate-list-viewport {
    max-height: 220px;
  }

  .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;
  }

  .awards-section {
    grid-template-columns: 1fr;
  }

  .awards-section header {
    max-width: 620px;
  }

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

  .award-card:nth-child(odd) {
    border-inline-start: 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;
  }

  .certificate-dialog {
    padding: 60px 14px 18px;
    border-radius: 24px;
  }

  .certificate-dialog figcaption {
    align-items: flex-start;
    flex-direction: column;
  }

  .awards-grid {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .award-card,
  .award-card:nth-child(odd) {
    min-height: 74px;
    border-bottom: 1px solid var(--line);
    border-inline-start: 0;
  }

  .award-card:last-child {
    border-bottom: 0;
  }
}

@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 !important;
  visibility: visible !important;
  transform: none !important;
  transition: opacity 220ms ease, transform 220ms var(--ease-out);
}

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

.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: none;
}

.profile-photo--reveal {
  display: none;
  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%;
  }
}


/* Portfolio filtering, blank media slots and overflow slider */
.portfolio-year-picker {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.portfolio-year-picker .eyebrow {
  min-width: max-content;
}

.portfolio-year-nav,
.project-slider-controls {
  display: flex;
  align-items: center;
  direction: ltr;
  gap: 7px;
}

.portfolio-year-button,
.project-slider-button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid color-mix(in srgb, #ffffff 14%, transparent);
  border-radius: 50%;
  color: #ffffff;
  background: #111111;
  transition: background 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.portfolio-year-button .icon,
.project-slider-button .icon {
  width: 14px;
  height: 14px;
}

.portfolio-year-button--prev .icon,
.project-slider-button--prev .icon {
  transform: rotate(180deg);
}

.portfolio-year-button:hover:not(:disabled),
.project-slider-button:hover:not(:disabled) {
  color: #111111;
  background: #ffffff;
  transform: translateY(-1px);
}

.portfolio-year-button:disabled,
.project-slider-button:disabled {
  cursor: default;
  opacity: 0.28;
}

.projects-shell {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}

.project-slider-controls {
  width: 100%;
  justify-content: flex-start;
  margin-bottom: 12px;
}

.project-slider-controls[hidden],
.portfolio-empty[hidden] {
  display: none !important;
}

.project-card[hidden] {
  display: none !important;
}

.project-card__visual {
  display: block;
  background: #111111;
}

.project-card__visual:empty {
  background: #111111;
}

.project-card__visual > img,
.project-card__visual > picture,
.project-card__visual > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-grid.is-slider {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.project-grid.is-slider::-webkit-scrollbar {
  display: none;
}

.project-grid.is-slider .project-card:not([hidden]) {
  flex: 0 0 calc((100% - (2 * clamp(14px, 1.6vw, 26px))) / 3);
  scroll-snap-align: start;
}

.portfolio-empty {
  display: grid;
  min-height: 230px;
  flex: 1;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* Social icons below the right-side About intro */
.about-socials {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  direction: ltr;
}

.about-social-link {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid color-mix(in srgb, #ffffff 14%, transparent);
  border-radius: 50%;
  color: color-mix(in srgb, #ffffff 74%, transparent);
  background: #111111;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.about-social-link:hover {
  color: #ffffff;
  border-color: color-mix(in srgb, #ffffff 42%, transparent);
  transform: translateY(-2px);
}

.about-social-link svg {
  width: 18px;
  height: 18px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-social-link .social-dot {
  fill: currentColor;
  stroke: none;
}

@media (max-width: 900px) {
  .project-grid.is-slider .project-card:not([hidden]) {
    flex-basis: min(84vw, 430px);
  }

  .project-slider-controls {
    margin-bottom: 10px;
  }
}

@media (max-width: 560px) {
  .portfolio-year-picker {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .portfolio-year-button,
  .project-slider-button {
    width: 32px;
    height: 32px;
  }

  .project-grid.is-slider .project-card:not([hidden]) {
    flex-basis: 88vw;
  }

  .about-socials {
    margin-top: 20px;
  }
}

/* Home signature image + mobile overflow fixes */
.hero-signature {
  width: clamp(170px, 16vw, 265px);
  max-width: 72%;
  margin-top: clamp(14px, 2vh, 24px);
  margin-right: 0;
  pointer-events: none;
  opacity: 1;
}

.hero-signature img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: none;
  mix-blend-mode: normal;
}

.hero-signature--award {
  pointer-events: auto;
}

.hero-award-logo-link {
  display: inline-block;
  max-width: 100%;
  transition: opacity 180ms ease, transform 180ms ease;
}

.hero-award-logo-link:hover {
  opacity: 0.78;
  transform: translateY(-2px);
}

.hero-signature--award .hero-award-logo {
  width: auto;
  max-width: 100%;
  max-height: clamp(54px, 7vw, 92px);
  object-fit: contain;
}

@media (max-width: 900px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
  }

  .page-root,
  .home-main,
  .inner-main,
  .home-hero,
  .page-heading,
  .about-grid,
  .contact-main,
  .project-grid,
  .projects-shell,
  .process-strip,
  .site-footer {
    min-width: 0;
    max-width: 100%;
  }

  .home-main,
  .inner-main {
    width: 100%;
  }

  .home-hero {
    overflow-x: hidden;
    overflow-x: clip;
  }

  .hero-copy,
  .hero-copy--primary,
  .hero-copy--secondary,
  .about-intro,
  .about-values,
  .contact-copy,
  .contact-panel {
    min-width: 0;
  }

  .hero-copy--primary h1,
  .page-heading h1,
  .about-intro h1,
  .contact-copy h1,
  .hero-copy--primary > p,
  .hero-intro,
  .about-lead,
  .contact-copy > p:not(.eyebrow) {
    overflow-wrap: anywhere;
  }

  .visual-stage,
  .profile-photo-wrap {
    max-width: 100%;
  }

  .mega-name {
    max-width: calc(100vw - (var(--gutter) * 2));
    white-space: nowrap;
  }

  .project-grid.is-slider {
    width: 100%;
    max-width: 100%;
  }

  .project-grid.is-slider .project-card:not([hidden]) {
    max-width: 100%;
  }

  .hero-signature {
    width: min(240px, 62vw);
    max-width: 70%;
    margin-top: 14px;
  }
}

@media (max-width: 560px) {
  .profile-photo-wrap {
    width: min(100%, 500px);
  }

  .visual-stage {
    width: 100%;
    max-width: 100%;
  }

  .hero-copy--primary h1 {
    font-size: clamp(36px, 10.8vw, 60px);
  }

  .mega-name {
    max-width: calc(100vw - (var(--gutter) * 2));
    font-size: clamp(52px, 16vw, 84px);
    letter-spacing: -0.06em;
  }

  .project-grid.is-slider .project-card:not([hidden]) {
    flex-basis: 100%;
  }

  .hero-signature {
    width: min(210px, 58vw);
    max-width: 68%;
  }
}



/* Grav CMS dynamic-content adapters — visual language intentionally follows the original design. */
.brand-logo__placeholder,
.profile-photo-placeholder,
.about-portrait__placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.profile-photo-placeholder {
  position: absolute;
  inset: 0;
}

.hero-signature:empty { min-height: clamp(58px, 6.2vw, 93px); }
.about-portrait:empty,
.about-portrait__placeholder { min-height: 100%; }

.contact-form .form-columns.field-row,
.contact-form .form-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.contact-form .form-column { min-width: 0; }
.contact-form .form-field label > span:first-child,
.contact-form .form-field > label > span:first-child {
  color: var(--muted-strong);
  font-size: 9px;
}
.contact-form .form-field label { display: inline-flex; gap: 4px; align-items: center; }
.contact-form .form-field .required { color: var(--muted); font-size: 9px; }
.contact-form .form-field input,
.contact-form .form-field select,
.contact-form .form-field textarea { font-family: inherit; }
.contact-form .buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 2px;
}
.contact-form .buttons::after {
  content: "پیام شما با امنیت در خود سایت ذخیره می‌شود.";
  color: var(--muted);
  font-size: 8px;
}
.contact-form .form-message,
.form-wrapper .alert {
  margin: 0 0 10px;
  color: var(--muted-strong);
  font-size: 10px;
  line-height: 1.9;
}
.contact-form .form-errors { color: #d9a7a7; font-size: 9px; }
.contact-form input[name="data[website]"] { position: absolute !important; left: -9999px !important; }

.contact-panel .form-wrapper > .notices {
  margin: 0 0 14px;
  padding: 11px 13px;
  border: 1px solid color-mix(in srgb, #ffffff 14%, transparent);
  border-radius: 12px;
  color: var(--text);
  background: color-mix(in srgb, #ffffff 5%, transparent);
  font-size: 10px;
  line-height: 1.9;
}

.contact-panel .form-wrapper > .notices p { margin: 0; }

.contact-panel .form-wrapper > .notices.success {
  border-color: color-mix(in srgb, #7fd6a1 38%, transparent);
  color: #bde9cc;
  background: color-mix(in srgb, #2d7a4c 18%, transparent);
}

.contact-panel .form-wrapper > .notices.error {
  border-color: color-mix(in srgb, #e59797 38%, transparent);
  color: #f0bcbc;
  background: color-mix(in srgb, #8c3333 18%, transparent);
}

.contact-form[aria-busy="true"] .primary-cta {
  cursor: wait;
  opacity: 0.62;
}

.contact-form .primary-cta:disabled {
  cursor: wait;
  pointer-events: none;
}

.contact-form[aria-busy="true"] .cta-icon .icon {
  animation: contact-submit-pulse 0.9s ease-in-out infinite alternate;
}

@keyframes contact-submit-pulse {
  to { opacity: 0.32; transform: translateX(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  .contact-form[aria-busy="true"] .cta-icon .icon { animation: none; }
}

.dialog-contributors { margin: 0 0 28px; }
.dialog-contributors[hidden] { display: none !important; }
.dialog-contributors > small { color: var(--muted); font-size: 10px; }
.contributor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 11px;
  padding: 0;
  list-style: none;
}
.contributor-item a,
.contributor-item > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 5px 9px 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: color-mix(in srgb, #111111 72%, transparent);
  font-size: 10px;
}
.contributor-item a:hover { color: var(--text); border-color: var(--line-strong); }
.contributor-avatar,
.contributor-avatar-placeholder {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #111111;
  color: var(--muted);
  font-size: 9px;
}
.contributor-avatar { object-fit: cover; }
.project-contributors-template { display: none !important; }

@media (max-width: 560px) {
  .contact-form .form-columns.field-row,
  .contact-form .form-columns { grid-template-columns: 1fr; }
  .contact-form .buttons { align-items: stretch; flex-direction: column; }
  .contact-form .buttons::after { text-align: center; }
}


/* v1.1 — configurable portrait spotlight, global media and flexible social icons. */
/* Portrait is unfiltered by default. Device-specific classes opt into the original spotlight effect. */
@media (min-width: 901px) {
  .profile-photo-wrap.profile-filter-desktop .profile-photo--base { filter: brightness(0); }
  .profile-photo-wrap.profile-filter-desktop .profile-photo--reveal { display: block; }
}

@media (min-width: 561px) and (max-width: 900px) {
  .profile-photo-wrap.profile-filter-tablet .profile-photo--base { filter: brightness(0); }
  .profile-photo-wrap.profile-filter-tablet .profile-photo--reveal { display: block; }
}

@media (max-width: 560px) {
  .profile-photo-wrap.profile-filter-mobile .profile-photo--base { filter: brightness(0); }
  .profile-photo-wrap.profile-filter-mobile .profile-photo--reveal { display: block; }
}

.about-social-icon-image {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.about-social-icon-text {
  display: inline-grid;
  min-width: 18px;
  min-height: 18px;
  place-items: center;
  font-size: 8px;
  font-variation-settings: "wght" 700;
  line-height: 1;
  text-transform: uppercase;
}

/* Keep the official Grav Form CAPTCHA widgets inside the contact panel. */
.contact-form [data-captcha-provider],
.contact-form .basic-captcha,
.contact-form .g-recaptcha-container,
.contact-form .turnstile-container,
.contact-form .cap-container {
  max-width: 100%;
}

.contact-form .basic-captcha .form-input-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.contact-form .basic-captcha .form-input-addon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-form .basic-captcha img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* v1.5 — persistent light theme. The light palette is intentionally limited
   to #111111, #ffffff and #1c39bb (plus transparent mixes of those colors). */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #ffffff;
  --panel: #ffffff;
  --panel-strong: #1c39bb;
  --text: #111111;
  --muted: color-mix(in srgb, #111111 58%, transparent);
  --muted-strong: #111111;
  --line: color-mix(in srgb, #111111 12%, transparent);
  --line-strong: color-mix(in srgb, #111111 25%, transparent);
  --accent-primary: #1c39bb;
  --accent-highlight: #1c39bb;
  --accent-muted: #1c39bb;
  --status-positive: #1c39bb;
  --shadow: 0 24px 70px color-mix(in srgb, #111111 14%, transparent);
}

html[data-theme="light"] body,
html[data-theme="light"] .page-loader {
  background: #ffffff;
}

html[data-theme="light"] body::before {
  opacity: 0.38;
  background-image:
    linear-gradient(color-mix(in srgb, #111111 2.8%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, #111111 2.8%, transparent) 1px, transparent 1px);
  -webkit-mask-image: linear-gradient(to bottom, #111111, transparent 82%);
  mask-image: linear-gradient(to bottom, #111111, transparent 82%);
}

html[data-theme="light"] body::after {
  box-shadow: inset 0 0 120px color-mix(in srgb, #111111 8%, transparent);
}

html[data-theme="light"] ::selection,
html[data-theme="light"] .skip-link {
  color: #ffffff;
  background: #1c39bb;
}

html[data-theme="light"] .page-loader__track {
  background: color-mix(in srgb, #111111 10%, transparent);
}

html[data-theme="light"] .page-loader__bar {
  box-shadow: 0 0 18px color-mix(in srgb, #1c39bb 45%, transparent);
}

html[data-theme="light"] .pointer-glow {
  background: radial-gradient(circle, color-mix(in srgb, #1c39bb 10%, transparent), transparent 68%);
}

html[data-theme="light"] .brand-capsule,
html[data-theme="light"] .theme-toggle {
  border-color: var(--line);
  background: color-mix(in srgb, #ffffff 88%, transparent);
  box-shadow: 0 14px 34px color-mix(in srgb, #111111 10%, transparent);
}

html[data-theme="light"] .brand-capsule:hover,
html[data-theme="light"] .theme-toggle:hover {
  border-color: color-mix(in srgb, #1c39bb 48%, transparent);
  background: #ffffff;
}

html[data-theme="light"] .brand-capsule__mark {
  color: #ffffff;
  background: #1c39bb;
  box-shadow: 0 8px 18px color-mix(in srgb, #111111 14%, transparent);
}

html[data-theme="light"] .menu-button,
html[data-theme="light"] .round-button,
html[data-theme="light"] .dialog-close,
html[data-theme="light"] .portfolio-year-button,
html[data-theme="light"] .project-slider-button,
html[data-theme="light"] .about-social-link {
  border-color: var(--line);
  color: #111111;
  background: #ffffff;
  box-shadow: 0 14px 34px color-mix(in srgb, #111111 10%, transparent);
}

html[data-theme="light"] .menu-button:hover,
html[data-theme="light"] .round-button:hover,
html[data-theme="light"] .dialog-close:hover,
html[data-theme="light"] .portfolio-year-button:hover:not(:disabled),
html[data-theme="light"] .project-slider-button:hover:not(:disabled),
html[data-theme="light"] .about-social-link:hover {
  border-color: #1c39bb;
  color: #ffffff;
  background: #1c39bb;
}

html[data-theme="light"] .menu-overlay {
  background: color-mix(in srgb, #ffffff 95%, transparent);
}

html[data-theme="light"] .menu-overlay__wash {
  background: radial-gradient(circle, color-mix(in srgb, #1c39bb 16%, transparent), transparent 66%);
}

html[data-theme="light"] .overlay-nav__link,
html[data-theme="light"] .expertise-strip,
html[data-theme="light"] .process-strip li > span {
  color: var(--muted);
}

html[data-theme="light"] .overlay-nav__link.is-active span::after,
html[data-theme="light"] .status-dot::before,
html[data-theme="light"] .availability i,
html[data-theme="light"] .about-signature__dot {
  box-shadow: 0 0 0 5px color-mix(in srgb, #1c39bb 10%, transparent), 0 0 18px color-mix(in srgb, #1c39bb 36%, transparent);
}

html[data-theme="light"] .availability,
html[data-theme="light"] .orbit-label {
  border-color: var(--line);
  color: #111111;
  background: color-mix(in srgb, #ffffff 90%, transparent);
}

html[data-theme="light"] .orbit-label--bottom {
  border-color: #1c39bb;
  color: #ffffff;
  background: #1c39bb;
}

html[data-theme="light"] .mega-name {
  color: #111111;
  text-shadow: 0 12px 42px color-mix(in srgb, #111111 12%, transparent);
}

html[data-theme="light"] .primary-cta {
  color: #ffffff;
  background: #1c39bb;
  box-shadow: 0 14px 34px color-mix(in srgb, #1c39bb 24%, transparent);
}

html[data-theme="light"] .primary-cta:hover {
  color: #ffffff;
  background: #111111;
}

html[data-theme="light"] .cta-icon {
  color: #1c39bb;
  background: #ffffff;
}

html[data-theme="light"] .project-card,
html[data-theme="light"] .contact-panel,
html[data-theme="light"] .project-dialog,
html[data-theme="light"] .about-signature,
html[data-theme="light"] .certificate-dialog {
  border-color: var(--line);
  background: #ffffff;
  box-shadow: var(--shadow);
}

html[data-theme="light"] .certificate-dialog::backdrop {
  background: color-mix(in srgb, #111111 42%, transparent);
}

html[data-theme="light"] .certificate-nav button {
  border-color: var(--line);
  color: #111111;
  background: #ffffff;
}

html[data-theme="light"] .certificate-nav button:hover:not(:disabled),
html[data-theme="light"] .certificate-dialog__link {
  border-color: #1c39bb;
  color: #ffffff;
  background: #1c39bb;
}

html[data-theme="light"] .certificate-dialog figure > img {
  background: color-mix(in srgb, #111111 5%, transparent);
}

html[data-theme="light"] .project-card::before {
  background: radial-gradient(circle at 50% 0%, color-mix(in srgb, #1c39bb 13%, transparent), transparent 48%);
}

html[data-theme="light"] .project-number {
  color: color-mix(in srgb, #111111 78%, transparent);
}

html[data-theme="light"] .project-dialog {
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, #1c39bb 10%, transparent), transparent 42%),
    #ffffff;
}

html[data-theme="light"] .project-dialog::backdrop {
  background: color-mix(in srgb, #111111 42%, transparent);
}

html[data-theme="light"] .about-signature {
  background:
    radial-gradient(circle at 50% 37%, color-mix(in srgb, #1c39bb 14%, transparent), transparent 36%),
    #ffffff;
}

html[data-theme="light"] .about-signature::before,
html[data-theme="light"] .about-signature__ring {
  border-color: color-mix(in srgb, #1c39bb 30%, transparent);
}

html[data-theme="light"] .contact-panel {
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, #1c39bb 10%, transparent), transparent 36%),
    #ffffff;
}

html[data-theme="light"] .contact-panel__icon {
  color: #ffffff;
  background: #1c39bb;
  box-shadow: 0 14px 30px color-mix(in srgb, #1c39bb 22%, transparent);
}

html[data-theme="light"] .form-field input,
html[data-theme="light"] .form-field select,
html[data-theme="light"] .form-field textarea {
  border-color: var(--line);
  color: #111111;
  background-color: #ffffff;
}

html[data-theme="light"] .form-field input::placeholder,
html[data-theme="light"] .form-field textarea::placeholder {
  color: var(--muted);
}

html[data-theme="light"] .form-field input:focus,
html[data-theme="light"] .form-field select:focus,
html[data-theme="light"] .form-field textarea:focus {
  border-color: #1c39bb;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px color-mix(in srgb, #1c39bb 10%, transparent);
}

html[data-theme="light"] .toast {
  border-color: color-mix(in srgb, #1c39bb 28%, transparent);
  background: color-mix(in srgb, #ffffff 96%, transparent);
  box-shadow: 0 24px 72px color-mix(in srgb, #111111 20%, transparent), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .contact-toast.is-success,
html[data-theme="light"] .contact-toast.is-error {
  --toast-accent: #1c39bb;
}

html[data-theme="light"] .contact-toast__close:hover {
  color: #111111;
  background: color-mix(in srgb, #111111 7%, transparent);
}

html[data-theme="light"] .contact-panel .form-wrapper > .notices,
html[data-theme="light"] .contact-panel .form-wrapper > .notices.success,
html[data-theme="light"] .contact-panel .form-wrapper > .notices.error {
  border-color: color-mix(in srgb, #1c39bb 30%, transparent);
  color: #111111;
  background: color-mix(in srgb, #1c39bb 7%, #ffffff);
}

html[data-theme="light"] .contact-form .form-errors {
  color: #1c39bb;
}

html[data-theme="light"] .contributor-item a,
html[data-theme="light"] .contributor-item > span,
html[data-theme="light"] .contributor-avatar,
html[data-theme="light"] .contributor-avatar-placeholder {
  border-color: var(--line);
  color: #111111;
  background: #ffffff;
}

@media (max-width: 900px) {
  .theme-toggle {
    width: 68px;
    height: 42px;
  }

  .theme-toggle__thumb {
    width: 32px;
    height: 32px;
  }

  html[data-theme="light"] .theme-toggle__thumb {
    transform: translateX(26px);
  }

  .site-footer__copyright,
  .footer-trust-codes {
    flex-wrap: wrap;
    gap: 6px 10px;
  }
}

@media (max-width: 560px) {
  .theme-toggle {
    width: 60px;
    height: 40px;
  }

  .theme-toggle__thumb {
    width: 30px;
    height: 30px;
  }

  .theme-toggle__icon { width: 15px; height: 15px; }
  .theme-toggle__icon--moon { left: 11px; }
  .theme-toggle__icon--sun { right: 11px; }

  html[data-theme="light"] .theme-toggle__thumb {
    transform: translateX(22px);
  }

  .footer-trust-code img,
  .footer-trust-code svg,
  .footer-trust-code iframe {
    max-height: 34px !important;
  }
}
