@font-face {
  font-family: "Vazirmatn";
  src: url("Vazirmatn-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("Vazirmatn-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Kalameh";
  src: url("KalamehWeb-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Kalameh";
  src: url("KalamehWeb-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Kalameh";
  src: url("KalamehWeb-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Kalameh";
  src: url("KalamehWeb-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Titillium Web";
  src: url("TitilliumWeb-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Titillium Web";
  src: url("TitilliumWeb-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
html { --hero-font: "Titillium Web", "Vazirmatn", sans-serif; color-scheme: dark; background: #111; }
html[lang="fa"] { --hero-font: "Kalameh", "Vazirmatn", sans-serif; }
::view-transition-old(root), ::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}
#dark-hero {
  --station-accent: #f3b309;
  --station-accent-soft: #ffda73;
  --hero-surface: #0b0b0f;
  --hero-line: var(--station-accent);
  --hero-line-size: 1px;
  box-sizing: border-box;
  width: 100%;
  padding: 0;
  background: #111;
  font-family: var(--hero-font);
}
#dark-hero *, #dark-hero *::before, #dark-hero *::after { box-sizing: border-box; }
#dark-hero .hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  border-radius: 0;
  background: var(--hero-surface);
  touch-action: none;
}
#dark-hero .hero-tracker { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
#dark-hero .hero-foreground {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: grayscale(1) invert(1) brightness(.20);
  pointer-events: none;
}
#dark-hero .hero-reveal {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  --mask-x: 81%;
  --mask-y: 68%;
  --mask-radius: 0px;
  -webkit-mask-image: radial-gradient(circle at var(--mask-x) var(--mask-y), #000 max(0px, calc(var(--mask-radius) - .5px)), transparent var(--mask-radius));
  mask-image: radial-gradient(circle at var(--mask-x) var(--mask-y), #000 max(0px, calc(var(--mask-radius) - .5px)), transparent var(--mask-radius));
}
#dark-hero .hero-reveal-image {
  position: absolute;
  left: calc(var(--mask-x) - var(--mask-radius));
  top: calc(var(--mask-y) - var(--mask-radius));
  width: calc(2 * var(--mask-radius));
  height: calc(2 * var(--mask-radius));
  background-repeat: no-repeat;
  background-size: var(--glass-map-size);
  background-position:
    calc(var(--glass-crop-x) - var(--mask-x) + var(--mask-radius))
    calc(var(--glass-crop-y) - var(--mask-y) + var(--mask-radius));
}
#dark-hero .hero-reveal-image canvas:not([hidden]) { position: absolute; inset: 0; width: 100%; height: 100%; }
@supports not ((mask-image: radial-gradient(black, transparent)) or (-webkit-mask-image: radial-gradient(black, transparent))) {
  #dark-hero .hero-reveal { visibility: hidden; }
}
#dark-hero .hero-tracker { --x: 81vw; --y: 68svh; }
#dark-hero .hero-line { position: absolute; background: var(--hero-line); }
#dark-hero .hero-line-x { top: 0; left: 0; width: 100%; height: var(--hero-line-size); transform: translateY(calc(var(--y) - 50%)); }
#dark-hero .hero-line-y { left: 0; top: 0; bottom: 0; width: var(--hero-line-size); transform: translateX(calc(var(--x) - 50%)); }
#dark-hero .hero-crosshair-outer {
  position: absolute;
  inset: 0;
}
#dark-hero .has-lens .hero-crosshair-outer {
  mask-image: radial-gradient(circle at var(--x) var(--y), transparent var(--radius, 0px), #000 calc(var(--radius, 0px) + .5px));
}
#dark-hero .hero-reticle {
  position: absolute;
  top: 0;
  left: 0;
  width: 264px;
  height: 264px;
  transform: translate3d(var(--x), var(--y), 0) translate(-50%, -50%) scale(var(--reticle-scale, 0));
  color: #fff;
  filter: drop-shadow(0 0 .8px rgb(0 0 0 / 90%));
}
#dark-hero :is(.hero-header, .hero-city-cards, .hero-project-button, .project-dialog, .services-card) {
  border: 1px solid var(--glass-rim, rgb(255 255 255 / 28%));
  border-radius: 24px;
  background: var(--glass-tint, rgb(255 255 255 / 58%));
}
#dark-hero :is(.hero-header, .hero-city-cards, .hero-project-button, .services-card) {
  border-color: rgb(255 255 255 / 26%);
  background-color: var(--glass-control-tint, rgb(128 128 128 / 16%));
  background-image: linear-gradient(158deg, rgb(255 255 255 / 23%), transparent 44%, rgb(12 21 32 / 11%));
  box-shadow: inset 0 1px 1px rgb(255 255 255 / 27%),
    inset 0 -2px 5px rgb(0 0 0 / 12%),
    0 4px 14px rgb(0 0 0 / 17%);
}
#dark-hero .hero[data-glass-map] :is(.hero-header, .hero-city-cards, .hero-project-button, .services-card) { background: transparent; }
#dark-hero .hero[data-glass-map] :is(.hero-header, .hero-city-cards, .hero-project-button)::before,
#dark-hero .hero[data-glass-map] :is(.hero-header, .hero-city-cards, .hero-project-button, .services-card)::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
#dark-hero .hero[data-glass-map] :is(.hero-header, .hero-city-cards, .hero-project-button)::before {
  inset: -16px;
  background-color: #fafafa;
  background-image: var(--glass-map);
  background-repeat: no-repeat;
  background-size: var(--glass-map-size);
  background-position: calc(var(--glass-crop-x) - var(--glass-left) + 15px) calc(var(--glass-crop-y) - var(--glass-top) + 15px);
  filter: grayscale(1) invert(1) brightness(.30) blur(1.6px);
  clip-path: inset(16px round var(--glass-inner-radius, 23px));
}
[data-theme="light"] #dark-hero .hero[data-glass-map] :is(.hero-header, .hero-city-cards, .hero-project-button)::before {
  filter: blur(1.6px) contrast(.18) brightness(1.66);
}
#dark-hero .hero[data-glass-map] :is(.hero-header, .hero-city-cards, .hero-project-button, .services-card)::after {
  inset: 0;
  border-radius: var(--glass-inner-radius, 23px);
  background-color: var(--glass-control-tint, rgb(128 128 128 / 16%));
  background-image: linear-gradient(150deg, rgb(255 255 255 / 24%), rgb(255 255 255 / 6%) 25%, transparent 48%, rgb(14 24 35 / 9%));
  box-shadow: inset 1px 1px 1px rgb(255 255 255 / 32%), inset -1px -1px 2px rgb(0 0 0 / 24%);
}
#dark-hero .hero[data-glass-map] :is(.hero-project-button, .services-card):hover::after { background-color: var(--glass-control-hover, rgb(128 128 128 / 24%)); }
[data-theme="light"] #dark-hero .hero[data-glass-map] :is(.hero-header, .hero-city-cards, .hero-project-button, .services-card)::after {
  background-image: linear-gradient(150deg, rgb(255 255 255 / 6%), transparent 48%, rgb(14 24 35 / 9%));
}
#dark-hero .hero-header {
  --glass-inner-radius: 999px;
  border-radius: 999px;
  position: absolute;
  z-index: 4;
  top: 20px;
  left: 20px;
  right: 20px;
  width: max(520px, calc(70% - 28px));
  max-width: 784px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 54.4px;
  padding: 0 28px;
  color: #f2f4f5;
  font-family: var(--hero-font);
  cursor: auto;
}
#dark-hero .hero-brand { display: flex; align-items: center; justify-self: start; gap: 12px; color: inherit; text-decoration: none; }
#dark-hero .hero-brand img { display: block; width: clamp(70px, 18.2vw, 109.2px); height: auto; }
#dark-hero .hero-brand .hero-brand-light { display: none; }
#dark-hero .hero-header-nav { display: flex; align-items: center; gap: 32px; }
#dark-hero .hero-header-nav :is(a, button) { position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: #c3cbd2; text-decoration: none; font-family: inherit; font-size: 17px; font-weight: 600; line-height: 1.4; cursor: pointer; }
#dark-hero .hero-header-nav button:disabled { cursor: default; }
#dark-hero .hero-header-actions { display: flex; align-items: center; justify-self: end; gap: 8px; }
#dark-hero :is(.hero-language, .hero-theme-toggle, .hero-menu-toggle) {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 15px;
  cursor: pointer;
}
#dark-hero .hero-language { text-decoration: none; font-family: var(--hero-font); font-weight: 500; }
#dark-hero .hero-theme-toggle svg { width: 1.3em; height: 1.3em; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #dark-hero :is(.hero-language, .hero-theme-toggle, .hero-menu-toggle) { transition: scale 160ms ease; }
  #dark-hero :is(.hero-language, .hero-theme-toggle, .hero-menu-toggle):hover { scale: 1.12; }
  #dark-hero .hero-header-nav :is(a, button) { transition: transform 160ms ease; }
  #dark-hero .hero-header-nav :is(a, button:enabled):hover { transform: translateY(-1px) scale(1.1); }
}
#dark-hero .hero-theme-toggle .hero-theme-sun, [data-theme="light"] #dark-hero .hero-theme-moon { display: none; }
[data-theme="light"] #dark-hero .hero-theme-toggle .hero-theme-sun { display: block; }
#dark-hero .hero-menu-toggle { position: relative; display: none; }
#dark-hero .hero-menu-toggle span { position: absolute; left: 50%; margin-left: -.65em; width: 1.3em; height: 1px; background: currentColor; transition: transform 180ms; }
#dark-hero .hero-menu-toggle span:first-child { top: calc(50% - 4px); }
#dark-hero .hero-menu-toggle span:last-child { top: calc(50% + 3px); }
#dark-hero .is-menu-open .hero-menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
#dark-hero .is-menu-open .hero-menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
#dark-hero .hero-header :focus-visible { outline: 2px solid #c9d4ff; outline-offset: 4px; }
#dark-hero .hero-city-cards {
  position: absolute;
  z-index: 3;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  width: 84px;
  padding: 5px;
}
#dark-hero .hero-city-cards button {
  position: relative;
  overflow: hidden;
  padding: 8px 9px;
  min-height: 30px;
  border: 0;
  background: transparent;
  color: #f0f2f5;
  text-align: center;
  font: 500 10px/1.2 var(--hero-font);
  letter-spacing: .07em;
  transition: color 150ms;
  cursor: pointer;
}
#dark-hero .hero-city-cards button { padding-inline: 4px; border-radius: 999px; }
#dark-hero .hero-city-cards button:hover { background: rgb(255 255 255 / 20%); }
#dark-hero .hero-city-cards button:focus-visible { outline: 2px solid #a8acff; outline-offset: -3px; }
#dark-hero .hero-city-cards button[aria-busy="true"] { opacity: .6; }
#dark-hero .hero-project-button {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 3px;
  width: max-content;
  max-width: calc(100% - 24px);
  white-space: nowrap;
  min-height: 48px;
  padding: 0 16px;
  color: #fff;
  font: 500 14px/1.4 var(--hero-font);
  cursor: pointer;
  transition: background-color 180ms, border-color 180ms;
}
#dark-hero svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
#dark-hero .hero-project-button:hover { background-color: var(--glass-hover, rgb(255 255 255 / 68%)); }
#dark-hero .hero-project-button svg { width: 24px; height: 24px; transition: transform 180ms; }
#dark-hero .hero-project-button:hover svg { transform: rotate(90deg); }
#dark-hero .hero-project-button:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
html.project-open { overflow: hidden; }
#dark-hero .project-dialog {
  width: min(1040px, calc(100vw - 48px));
  max-width: none;
  height: min(690px, calc(100dvh - 48px));
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 25%);
  color: var(--glass-ink, #151515);
  font: 14px/1.5 var(--hero-font);
  color-scheme: light;
}
#dark-hero .project-dialog::backdrop { background: rgb(0 0 0 / 50%); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
[data-theme="dark"] #dark-hero .project-dialog {
  border-color: rgb(255 255 255 / 82%);
  background:
    radial-gradient(ellipse at 55% 0%, rgb(255 255 255 / 32%), transparent 62%),
    linear-gradient(150deg, rgb(255 255 255 / 80%), rgb(244 250 255 / 66%));
  -webkit-backdrop-filter: blur(5px) brightness(2) saturate(1.2);
  backdrop-filter: blur(5px) brightness(2) saturate(1.2);
  box-shadow: inset 0 1px 2px rgb(255 255 255 / 90%), 0 24px 60px rgb(0 0 0 / 35%);
}
[data-theme="dark"] #dark-hero .project-dialog::backdrop { background: rgb(0 0 0 / 26%); }
#dark-hero .project-shell { position: relative; display: grid; grid-template-columns: 42% 58%; grid-template-rows: minmax(0, 1fr); height: 100%; }
#dark-hero .project-visual { position: relative; overflow: hidden; min-height: 0; border-right: 1px solid rgb(255 255 255 / 12%); background: #141719; }
#dark-hero .project-map { position: absolute; inset: 0; filter: saturate(.5) brightness(.65); }
#dark-hero .project-map > img { display: block; width: 100%; height: 100%; object-fit: cover; }
#dark-hero .project-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / 18%), transparent 38%); }
#dark-hero .project-visual-kicker { position: absolute; z-index: 1; top: 30px; left: 28px; font: 10px/1.6 var(--hero-font); letter-spacing: .18em; }
#dark-hero .project-location-mark { position: absolute; z-index: 1; left: 50%; top: 42%; width: 90px; height: 90px; transform: translate(-50%, -50%); border: 1px solid rgb(255 255 255 / 25%); border-radius: 50%; }
#dark-hero .project-location-mark::before, #dark-hero .project-location-mark::after { content: ""; position: absolute; background: rgb(255 255 255 / 75%); }
#dark-hero .project-location-mark::before { width: 132px; height: 1px; top: 44px; left: -22px; }
#dark-hero .project-location-mark::after { height: 132px; width: 1px; left: 44px; top: -22px; }
#dark-hero .project-location-mark span { position: absolute; inset: 40px; background: #fff; border-radius: 50%; }
#dark-hero .project-location { position: absolute; z-index: 1; left: 28px; right: 20px; bottom: 30px; display: grid; gap: 10px; }
#dark-hero .project-location small { font: 9px/1.6 var(--hero-font); letter-spacing: .14em; color: #d0d4d7; }
#dark-hero .project-city { font: 400 34px/1.2 var(--hero-font); letter-spacing: .06em; }
#dark-hero .project-coordinates { font: 11px/1.6 var(--hero-font); color: #c5cbd0; }
#dark-hero .project-content { min-width: 0; min-height: 0; overflow: auto; scrollbar-gutter: stable; padding: 24px 34px 20px; }
#dark-hero .project-close { position: absolute; z-index: 2; top: 12px; inset-inline-end: 30px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 2px; background: transparent; color: #c5cbd0; cursor: pointer; }
#dark-hero .project-close:hover { background: rgb(255 255 255 / 8%); color: #fff; }
#dark-hero .project-content h1 { margin: 0 44px 5px 0; font-size: 28px; line-height: 1.3; font-weight: 600; letter-spacing: -.035em; }
#dark-hero #project-description { margin: 0 0 14px; color: #aeb5bc; font-size: 13px; }
#dark-hero .project-call { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; padding: 8px 14px; border: 1px solid #3b4146; border-radius: 2px; background: rgb(255 255 255 / 5%); color: #f4f5f6; font: inherit; cursor: pointer; transition: border-color 180ms, background-color 180ms; }
#dark-hero .project-call>span { display: flex; align-items: center; gap: 10px; font-size: 13px; }
#dark-hero .project-call small { font: 11px/1.5 var(--hero-font); color: #c5cbd0; }
#dark-hero .project-call em { margin-left: 5px; font-style: normal; color: #929ca4; font-size: 9px; }
#dark-hero .project-call:hover { background: rgb(255 255 255 / 10%); }
#dark-hero .project-call .project-call-end { gap: 10px; }
#dark-hero .project-call-confirm { display: grid; place-items: center; width: 24px; height: 24px; opacity: 0; transform: scale(.65); transition: opacity 160ms, transform 160ms; }
#dark-hero .project-call-confirm svg { width: 24px; height: 24px; }
#dark-hero .project-call-confirm circle { fill: rgb(255 255 255 / 5%); stroke: rgb(255 255 255 / 35%); }
#dark-hero .project-call-confirm path { stroke: #fff; stroke-width: 1.8; stroke-dasharray: 20; stroke-dashoffset: 0; }
#dark-hero .project-call.is-confirmed { border-color: #89999f; background: rgb(220 238 242 / 9%); }
#dark-hero .project-call.is-confirmed .project-call-confirm { opacity: 1; transform: scale(1); }
#dark-hero .project-divider { display: flex; align-items: center; gap: 12px; margin: 11px 0; color: #8d979f; font-size: 11px; }
#dark-hero .project-divider::before, #dark-hero .project-divider::after { content: ""; height: 1px; background: #30363b; flex: 1; }
#dark-hero .project-form { display: grid; gap: 10px; }
#dark-hero .project-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
#dark-hero .project-form [hidden] { display: none; }
#dark-hero :is(.project-contact, .project-services) { min-width: 0; margin: 0; padding: 0; border: 0; }
#dark-hero :is(.project-contact, .project-services) legend { padding: 0; font-size: 13px; }
#dark-hero .project-field-hint { display: block; margin: 4px 0 7px; color: var(--glass-muted, #242424); font-size: 11px; }
#dark-hero .project-details { min-width: 0; border-block: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
#dark-hero .project-details-toggle { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 8px 4px; border: 0; background: transparent; color: inherit; text-align: start; font: inherit; cursor: pointer; }
#dark-hero .project-details-toggle::after { content: ""; flex: 0 0 auto; width: 8px; height: 8px; margin-inline-end: 3px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform 140ms ease-out; }
#dark-hero .project-details-toggle[aria-expanded="true"]::after { transform: rotate(225deg); }
#dark-hero .project-details-panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 160ms ease-out, opacity 120ms ease-out; }
#dark-hero .project-details-toggle[aria-expanded="true"] + .project-details-panel { grid-template-rows: 1fr; opacity: 1; }
#dark-hero .project-details-fields { --project-details-inline-padding: 2px; display: grid; align-content: start; min-height: 0; overflow: hidden; gap: 10px; padding-inline: var(--project-details-inline-padding); }
#dark-hero .project-details-fields > label:first-child { margin-top: 2px; }
#dark-hero .project-details-fields > :not([hidden]):not(:has(~ :not([hidden]))) { margin-block-end: 12px; }
#dark-hero .project-upload { min-width: 0; }
#dark-hero .project-upload-label { margin: 0 0 7px; font-size: 11px; }
#dark-hero .project-upload-drop {
  padding: 12px;
  border: 1px dashed color-mix(in srgb, currentColor 48%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, currentColor 5%, transparent);
  transition: background-color 180ms, border-color 180ms;
}
#dark-hero .project-upload-drop:is(.is-dragging, :focus-within) { border-color: currentColor; }
#dark-hero .project-upload-drop.is-dragging { background: color-mix(in srgb, currentColor 16%, transparent); }
#dark-hero .project-upload-empty { display: grid; justify-items: center; gap: 6px; padding: 8px 0; text-align: center; }
#dark-hero .project-upload :is(p, ul) { margin-block-start: 0; }
#dark-hero .project-upload-empty p { margin: 0; font-weight: 600; }
#dark-hero .project-upload-empty small { margin: 0 0 3px; }
#dark-hero .project-upload-icon {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
}
#dark-hero .project-upload-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#dark-hero .project-upload-toolbar, #dark-hero .project-upload-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#dark-hero .project-upload-toolbar { justify-content: space-between; margin-bottom: 9px; }
#dark-hero .project-upload-toolbar p { margin: 0; font-weight: 600; }
#dark-hero .project-upload-button, #dark-hero .project-upload-remove {
  min-height: 36px; padding: 4px 10px; border: 1px solid color-mix(in srgb, currentColor 33%, transparent);
  border-radius: 8px; background: transparent; color: inherit; font: inherit; cursor: pointer;
}
#dark-hero .project-upload :is(button:hover, button:focus-visible) { background: color-mix(in srgb, currentColor 10%, transparent); }
#dark-hero .project-upload-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
#dark-hero .project-upload-list li {
  display: grid; grid-template-columns: 38px minmax(0, 1fr) 36px; align-items: center; gap: 8px;
  padding: 5px; border: 1px solid color-mix(in srgb, currentColor 24%, transparent); border-radius: 7px;
}
#dark-hero .project-upload-preview {
  display: grid; place-items: center; width: 38px; height: 38px; overflow: hidden; border-radius: 4px;
  background: color-mix(in srgb, currentColor 10%, transparent); font-size: 9px; font-weight: 600;
}
#dark-hero .project-upload-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
#dark-hero .project-upload-file { display: grid; min-width: 0; }
#dark-hero .project-upload-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#dark-hero .project-upload-file small { color: var(--glass-muted, #242424); }
#dark-hero .project-upload-remove { width: 36px; padding: 0; border-color: transparent; font-size: 20px; }
#dark-hero .project-upload-error { margin: 6px 0 0; font-size: 12px; font-weight: 600; }
#dark-hero .project-form label { display: flex; flex-wrap: wrap; column-gap: 4px; align-content: start; color: #d1d6da; font-size: 11px; line-height: 1.5; }
#dark-hero .project-form label > span[aria-hidden="true"] { color: #aab2b9; }
#dark-hero .project-form :is(input:where(:not([type="radio"])), textarea) { display: block; width: 100%; min-width: 0; margin: 5px 0 0; padding: 8px 12px; border: 1px solid #363d43; border-radius: 2px; background: #1b1f22; color: #f4f5f6; font: 14px/1.5 var(--hero-font); }
#dark-hero .project-form input:where(:not([type="radio"])) { min-height: 42px; }
#dark-hero .project-services { container-type: inline-size; }
#dark-hero .project-service-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
#dark-hero .project-service-grid > label { position: relative; display: grid; align-content: stretch; min-width: 0; cursor: pointer; }
#dark-hero .project-service-grid input {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  width: 1px;
  height: 1px;
  margin: 0;
  clip-path: inset(50%);
}
#dark-hero .project-service-grid .project-service-card {
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: center;
  align-items: center;
  gap: 4px;
  min-width: 0;
  min-height: 70px;
  padding: 6px 5px;
  border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
  border-radius: 12px;
  background-color: color-mix(in srgb, currentColor 5%, transparent);
  background-image: linear-gradient(160deg, rgb(255 255 255 / 13%), transparent 70%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 18%);
  color: inherit;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
#dark-hero .project-service-card svg {
  display: block;
  width: 30px;
  height: 30px;
  padding: 5px;
  border-radius: 9px;
  background-color: color-mix(in srgb, currentColor 8%, transparent);
}
#dark-hero .project-service-grid input:checked + .project-service-card {
  border-color: color-mix(in srgb, var(--station-accent) 65%, currentColor);
  background-color: color-mix(in srgb, var(--station-accent) 21%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--station-accent) 32%, transparent);
}
#dark-hero .project-service-grid input:checked + .project-service-card svg { background-color: var(--station-accent-soft); color: #151515; }
#dark-hero .project-service-grid input:focus-visible + .project-service-card { outline: 2px solid currentColor; outline-offset: 2px; }
@media (hover: hover) {
  #dark-hero .project-service-grid label:hover input:not(:checked) + .project-service-card {
    border-color: color-mix(in srgb, currentColor 48%, transparent);
    background-color: color-mix(in srgb, currentColor 12%, transparent);
  }
}
@media (prefers-reduced-motion: no-preference) {
  #dark-hero .project-service-grid .project-service-card {
    transition: transform 180ms cubic-bezier(.2, .75, .3, 1), background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  }
  #dark-hero .project-service-card svg { transition: background-color 180ms ease, color 180ms ease; }
  #dark-hero .project-service-grid label:active .project-service-card { transform: scale(.97); }
  @media (hover: hover) {
    #dark-hero .project-service-grid label:hover:not(:active) .project-service-card { transform: translateY(-2px); }
  }
}
@container (max-width: 400px) {
  #dark-hero .project-service-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  #dark-hero .project-service-grid > label { grid-column: span 2; }
  #dark-hero .project-service-grid > label:where(:nth-child(4)) { grid-column: 2 / span 2; }
}
#dark-hero #project-location::-webkit-calendar-picker-indicator { display: none !important; }
#dark-hero .project-form textarea { min-height: 72px; max-height: 200px; resize: vertical; }
#dark-hero .project-form ::placeholder { color: #8f99a1; opacity: 1; }
#dark-hero .project-form :is(input:where(:not([type="radio"])), textarea):focus { border-color: #b9c1c8; outline: 1px solid #b9c1c8; outline-offset: 0; }
#dark-hero .project-submit { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 16px; border: 1px solid transparent; font: 500 14px/1.4 var(--hero-font); cursor: pointer; transition: background-color 200ms, border-color 200ms; }
#dark-hero .project-submit-icon { position: relative; width: 24px; height: 24px; }
#dark-hero .project-submit-icon svg { position: absolute; inset: 0; width: 24px; height: 24px; transition: opacity 180ms, transform 220ms; }
#dark-hero .project-submit-check { opacity: 0; transform: scale(.65); }
#dark-hero .project-submit-check circle { stroke-opacity: .35; }
#dark-hero .project-submit-check path { stroke-width: 1.8; stroke-dasharray: 20; stroke-dashoffset: 0; }
#dark-hero .project-submit.is-complete { background: var(--station-accent); border-color: var(--station-accent); color: #151515; cursor: default; }
#dark-hero .project-submit.is-complete .project-submit-arrow { opacity: 0; transform: translateX(6px); }
#dark-hero .project-submit.is-complete .project-submit-check { opacity: 1; transform: scale(1); }
#dark-hero .project-submit.is-complete .project-submit-check path { animation: project-submit-draw 320ms 70ms ease-out backwards; }
#dark-hero .project-submit.is-complete .project-submit-label { animation: project-submit-label 180ms ease-out; }
@keyframes project-submit-draw { from { stroke-dashoffset: 20; } to { stroke-dashoffset: 0; } }
@keyframes project-submit-label { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
#dark-hero .project-dialog button:focus-visible { outline: 2px solid #c9d4ff; outline-offset: 3px; }
#dark-hero .hero-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#dark-hero .has-error .hero-status {
  z-index: 4;
  bottom: 20px;
  left: 16px;
  right: 16px;
  width: fit-content;
  height: auto;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  padding: 8px 12px;
  clip-path: none;
  border-radius: 8px;
  background: rgb(0 0 0 / 85%);
  color: #fff;
  font-size: 12px;
}
#dark-hero .hero-transition {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
}
#dark-hero .is-switching .hero-transition { opacity: 1; transition-duration: 180ms; }
#dark-hero .is-loading:not([data-city]) .hero-transition { opacity: 1; transition: none; }
#dark-hero .hero-loading {
  width: 34px;
  height: 34px;
  border: 2px solid rgb(255 255 255 / 20%);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 120ms ease;
  animation: hero-loading-spin 800ms linear infinite;
  animation-play-state: paused;
}
#dark-hero .is-loading .hero-loading { opacity: 1; transition-delay: 150ms; animation-play-state: running; }
@keyframes hero-loading-spin { to { transform: rotate(360deg); } }
#dark-hero .hero-point {
  position: absolute;
  left: 0;
  top: 0;
  width: 8px;
  height: 8px;
  border: 1px solid var(--hero-line);
  border-radius: 50%;
  background: var(--hero-line);
  transform: translate3d(var(--x), var(--y), 0) translate(-50%, -50%) rotate(var(--angle, 0deg)) scale(var(--stretch, 1), var(--squash, 1));
}
#dark-hero .is-pressed .hero-point { background: var(--hero-surface); }
#dark-hero .hero-coordinates {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate3d(var(--label-x, 82vw), var(--label-y, 70svh), 0);
  color: #bfc2df;
  font: 12px/1.3 var(--hero-font);
  font-variant-numeric: tabular-nums;
  padding: 3px 5px;
  border-radius: 3px;
  background: rgb(11 11 15 / 85%);
  white-space: nowrap;
  user-select: none;
}
@media (hover: hover) and (pointer: fine) {
  #dark-hero .hero.is-tracking { cursor: none; }
}
@media (max-width: 1024px) {
  #dark-hero .hero-header[dir="ltr"] { direction: rtl; }
  #dark-hero .hero-header[dir="rtl"] { direction: ltr; }
  #dark-hero .hero-header { top: 12px; inset-inline: 12px; width: auto; grid-template-columns: minmax(0, 1fr) auto; min-height: 48px; padding: 0 14px; gap: 8px; }
  #dark-hero .hero-brand { gap: 9px; }
  #dark-hero .hero-menu-toggle { display: block; }
  #dark-hero .hero-header-nav { display: none; position: absolute; top: calc(100% + 8px); left: -1px; right: -1px; gap: 0; padding: 8px 14px; border: 1px solid rgb(255 255 255 / 16%); border-radius: 2px; background: #14191e; }
  #dark-hero .hero-header[dir="ltr"] .hero-header-nav { direction: ltr; }
  #dark-hero .hero-header[dir="rtl"] .hero-header-nav { direction: rtl; }
  #dark-hero .is-menu-open .hero-header-nav {
    display: grid;
    animation: hero-menu-enter 220ms cubic-bezier(.2, .75, .25, 1) both;
  }
  #dark-hero .hero-header-nav :is(a, button) { justify-content: flex-start; }
}
@media (max-width: 600px) {
  #dark-hero .hero-city-cards { left: 12px; width: 80px; }
  #dark-hero .hero-project-button { bottom: 22px; min-height: 46px; padding-inline: clamp(10px, 4vw, 16px); }
  #dark-hero .project-dialog { width: calc(100vw - 16px); height: min(800px, calc(100dvh - 16px)); }
  #dark-hero .project-shell { grid-template-columns: minmax(0, 1fr); grid-template-rows: clamp(72px, calc(100dvh - 690px), 100px) minmax(0, 1fr); }
  #dark-hero .project-visual { min-height: 0; border-right: 0; border-bottom: 1px solid rgb(255 255 255 / 12%); }
  #dark-hero .project-visual-kicker { top: 14px; left: auto; inset-inline-start: 20px; font-size: 8px; }
  #dark-hero .project-location-mark { left: 78%; top: 50%; width: 56px; height: 56px; }
  #dark-hero .project-location-mark::before { width: 78px; left: -12px; top: 27px; }
  #dark-hero .project-location-mark::after { height: 78px; top: -12px; left: 27px; }
  #dark-hero .project-location-mark span { inset: 24px; }
  #dark-hero .project-location { left: 20px; bottom: 14px; gap: 4px; }
  #dark-hero .project-location small { display: none; }
  #dark-hero .project-city { font-size: 24px; }
  #dark-hero .project-coordinates { font-size: 10px; }
  #dark-hero .project-content { padding: 18px clamp(12px, 4vw, 20px) 16px; scrollbar-gutter: auto; }
  #dark-hero .project-content h1 { font-size: 24px; }
  #dark-hero .project-fields { align-items: end; gap: 10px; }
  #dark-hero .project-form :is(input:where(:not([type="radio"])), textarea) { font-size: 16px; }
  #dark-hero .project-call { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 600px) and (max-height: 820px) {
  #dark-hero .project-visual-kicker { display: none; }
  #dark-hero .project-content { padding-block: 14px 8px; }
  #dark-hero .project-divider { margin-block: 8px; }
  #dark-hero .project-form { gap: 8px; }
}
@media (max-width: 600px) and (max-height: 750px) {
  #dark-hero .project-shell { grid-template-rows: minmax(0, 1fr); }
  #dark-hero .project-visual { display: none; }
  #dark-hero #project-description { padding-inline-end: 44px; }
}
@media (max-width: 600px) and (max-height: 710px) {
  #dark-hero .project-content h1 { font-size: 22px; }
  #dark-hero #project-description { margin-block-end: 10px; line-height: 1.35; }
  #dark-hero .project-call { padding: 7px 10px; gap: 4px; }
  #dark-hero .project-call > span, #dark-hero .project-call .project-call-end { gap: 6px; }
  #dark-hero .project-divider { margin-block: 6px; }
  #dark-hero .project-form { gap: 6px; }
  #dark-hero .project-service-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin-block-start: 6px; }
  #dark-hero .project-service-grid > label { grid-column: auto; }
  #dark-hero .project-service-grid .project-service-card { min-height: 56px; padding: 4px 2px; gap: 2px; font-size: 11px; line-height: 1.2; }
  #dark-hero .project-service-card svg { width: 24px; height: 24px; padding: 4px; }
}
@media (max-width: 600px) and (max-height: 600px) {
  #dark-hero .project-content { padding-block: 10px 6px; }
  #dark-hero .project-content h1 { min-height: 44px; display: grid; align-items: center; }
  #dark-hero #project-description { display: none; }
}
@media (min-width: 601px) and (max-width: 860px) { #dark-hero .project-shell { grid-template-columns: 34% 66%; } #dark-hero .project-content { padding-inline: 24px; } }
@media (min-width: 601px) {
  #dark-hero .project-content { display: flex; flex-direction: column; overflow-anchor: none; }
  #dark-hero .project-content > * { flex-shrink: 0; }
  #dark-hero .project-form { display: flex; flex-direction: column; flex-grow: 1; }
  #dark-hero .project-form > * { flex-shrink: 0; }
  #dark-hero .project-form > :is(.project-details, .project-details-toggle, :has(.project-details-toggle), .project-submit) {
    margin-block-start: 10px;
  }
}
@media (min-width: 900px) and (min-height: 710px) {
  #dark-hero .project-content { padding-block: 29px 40px; }
  #dark-hero .project-content h1 { margin-block-end: 8px; }
  #dark-hero .project-call, #dark-hero .project-submit { min-height: 48px; }
  #dark-hero .project-divider { margin-block: 10px; }
  #dark-hero .project-form { gap: 9px; }
  #dark-hero .project-service-grid .project-service-card { min-height: 84px; padding-block: 9px 7px; }
  #dark-hero .project-service-card svg { width: 33px; height: 33px; padding: 6px; }
  #dark-hero .project-form input:where(:not([type="radio"])) { min-height: 46px; margin-block-start: 7px; }
}
@media (pointer: coarse) {
  #dark-hero .hero-city-cards button { min-height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  #dark-hero .hero-city-cards button { transition: none; }
  #dark-hero .hero-transition, #dark-hero .hero-loading { transition: none; }
  #dark-hero .hero-loading { animation: none; }
  #dark-hero .project-details-panel, #dark-hero .project-details-toggle::after { transition: none; }
  #dark-hero .hero-project-button, #dark-hero .hero-project-button svg, #dark-hero .project-submit, #dark-hero .project-submit-icon svg, #dark-hero .project-call, #dark-hero .project-call-confirm { transition: none; }
  #dark-hero .project-submit.is-complete .project-submit-check path, #dark-hero .project-submit.is-complete .project-submit-label { animation: none; }
  #dark-hero .hero-menu-toggle span { transition: none; }
  #dark-hero .is-menu-open .hero-header-nav { animation: none; }
}

html[lang=fa] #dark-hero .project-content { text-align: right; }
html[lang=fa] #dark-hero .project-content h1 { margin-right: 0; margin-left: 44px; }
html[lang=fa] #dark-hero .hero-city-cards button { font-size: 14px; letter-spacing: normal; }

html[data-theme="light"] { color-scheme: light; background: #f2f4f2; }
[data-theme="light"] #dark-hero {
  --hero-line: #000;
  --glass-control-tint: rgb(0 0 0 / 55%);
  --glass-control-hover: rgb(0 0 0 / 62%);
  --glass-control-ink: #fff;
  --glass-control-muted: #f0f1f2;
  --hero-surface: #fafafa;
  --glass-tint: rgb(0 0 0 / 66%);
  --glass-hover: rgb(0 0 0 / 74%);
  --glass-rim: rgb(255 255 255 / 24%);
  --glass-ink: #fff;
  --glass-muted: #eee;
  --light-ink: #172522;
  --light-muted: #465953;
  --light-border: #a4b2ad;
  --light-accent: #202020;
  background: var(--hero-surface);
}
[data-theme="light"] #dark-hero .hero-foreground { filter: none; opacity: .40; }
[data-theme="light"] #dark-hero .hero-coordinates { color: var(--light-ink); background: rgb(250 252 250 / 94%); }
[data-theme="light"] #dark-hero .hero-header {
  color: var(--light-ink);
}
[data-theme="light"] #dark-hero :is(.hero-brand small, .hero-header-nav :is(a, button)) { color: var(--light-muted); }
[data-theme="light"] #dark-hero :is(.hero-theme-toggle, .hero-language, .hero-menu-toggle) { color: var(--light-ink); border-color: var(--light-border); }
[data-theme="light"] #dark-hero :is(.hero-city-cards button, .hero-project-button) {
  color: var(--light-ink);
}
[data-theme="light"] #dark-hero .hero-city-cards button:is(:hover, [aria-pressed="true"]) { color: var(--light-accent); }
[data-theme="light"] #dark-hero .hero-city-cards button:focus-visible { outline-color: var(--light-accent); }
[data-theme="light"] #dark-hero .hero-project-button:focus-visible { outline-color: #fff; }
[data-theme="light"] #dark-hero .hero-header :focus-visible { outline-color: var(--light-accent); }
[data-theme="light"] #dark-hero .hero-transition { background: #f2f4f2; }
[data-theme="light"] #dark-hero .hero-loading { border-color: #bdcbc6; border-top-color: var(--light-accent); }
[data-theme="light"] #dark-hero .has-error .hero-status { color: var(--light-ink); background: #f8faf8; }

[data-theme="light"] #dark-hero .project-dialog { color-scheme: dark; }
#dark-hero .project-dialog {
  --project-field-bg: color-mix(in srgb, currentColor 8%, transparent);
  --project-field-border: color-mix(in srgb, currentColor 33%, transparent);
  --project-field-radius: 8px;
  --project-field-solid: #303234;
  --project-field-shadow: none;
}
[data-theme="dark"] #dark-hero .project-dialog {
  --project-field-bg: rgb(255 255 255 / 24%);
  --project-field-border: rgb(21 21 21 / 27%);
  --project-field-solid: #e2e4e6;
  --project-field-shadow: inset 0 1px 0 rgb(255 255 255 / 48%);
}
#dark-hero .project-visual { color: #fff; }
#dark-hero :is(#project-description, .project-divider, .project-call small, .project-call em, .project-form label > span[aria-hidden="true"]),
#dark-hero .project-form ::placeholder { color: var(--glass-muted, #242424); }
#dark-hero .project-divider::before, #dark-hero .project-divider::after { background: color-mix(in srgb, currentColor 32%, transparent); }
#dark-hero :is(.project-close, .project-call, .project-submit, .project-form label, .project-form input:where(:not([type="radio"])), .project-form textarea) { color: inherit; }
#dark-hero :is(.project-close, .project-call, .project-submit, .project-form input:where(:not([type="radio"])), .project-form textarea) {
  background: color-mix(in srgb, currentColor 8%, transparent);
  border-color: color-mix(in srgb, currentColor 33%, transparent);
  border-radius: 8px;
}
#dark-hero .project-form :is(input:where(:not([type="radio"])), textarea) {
  background: var(--project-field-bg);
  border-color: var(--project-field-border);
  border-radius: var(--project-field-radius);
  box-shadow: var(--project-field-shadow);
}
#dark-hero :is(.project-close:hover, .project-call:hover, .project-call.is-confirmed) { background: color-mix(in srgb, var(--glass-ink, #151515) 14%, transparent); color: var(--glass-ink, #151515); }
[data-theme="dark"] #dark-hero .project-call:where(:not(.is-confirmed)) {
  background: rgb(255 255 255 / 24%);
  border-color: rgb(21 21 21 / 27%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 48%);
}
[data-theme="dark"] #dark-hero .project-call:not(.is-confirmed):hover { background: rgb(255 255 255 / 56%); }
@media (max-width: 600px) {
  #dark-hero .project-shell > .project-close {
    inset-inline-end: 14px;
    color: #fff;
    background: #20262b;
    border: 1px solid rgb(255 255 255 / 38%);
  }
  #dark-hero .project-shell > .project-close:hover { background: #303940; }
}
#dark-hero .project-submit {
  position: relative;
  --submit-direction: 1;
  --submit-line-origin: left;
  background: color-mix(in srgb, var(--station-accent) 14%, transparent);
  border-color: color-mix(in srgb, var(--station-accent) 55%, transparent);
}
#dark-hero .project-submit:dir(rtl) {
  --submit-direction: -1;
  --submit-line-origin: right;
}
#dark-hero .project-submit::after {
  content: "";
  position: absolute;
  inset-inline: 12px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--station-accent), transparent);
  transform: scaleX(0);
  transform-origin: var(--submit-line-origin);
  pointer-events: none;
}
#dark-hero .project-submit-arrow { scale: var(--submit-direction) 1; }
#dark-hero .project-submit:not(.is-complete):is(:hover, :focus-visible)::after { transform: scaleX(1); }
@media (prefers-reduced-motion: no-preference) {
  #dark-hero .project-submit::after { transition: transform 320ms cubic-bezier(.22, 1, .36, 1); }
  #dark-hero .project-submit:not(.is-complete):is(:hover, :focus-visible) .project-submit-arrow {
    transform: translateX(calc(4px * var(--submit-direction)));
  }
}
#dark-hero .project-call-confirm :is(circle, path) { stroke: currentColor; }
#dark-hero .project-form :is(input:where(:not([type="radio"])), textarea):focus { border-color: currentColor; outline-color: currentColor; }
#dark-hero .project-dialog button:focus-visible { outline-color: var(--glass-ink, #151515); }
#dark-hero .project-location-field {
  --location-motion: 220ms cubic-bezier(0.22, 1, 0.36, 1);
  --location-open-height: 280px;
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 6px 10px;
  font-size: 11px;
}
#dark-hero .project-location-field-actions { grid-area: 2 / 1; min-width: 0; }
#dark-hero .project-content:has(.project-location-field) { overflow-anchor: none; }
#dark-hero .project-location-address-label { grid-area: 1 / 2; overflow: hidden; white-space: nowrap; }
#dark-hero .project-form .project-location-address {
  grid-area: 2 / 2;
  height: 100%;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 8px 12px;
  resize: none;
  text-align: start;
}
#dark-hero .project-location-field:has(.project-location-picker[open]) {
  --location-motion: 280ms cubic-bezier(.25, .75, .25, 1);
  grid-template-columns: minmax(0, 2fr) minmax(0, 0fr);
  column-gap: 0;
}
#dark-hero .project-location-field:has(.project-location-picker[open]) > :is(.project-location-address-label, .project-location-address) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#dark-hero .project-location-field-actions:has(.project-location-picker[open]) { margin-inline: calc(-1 * var(--project-details-inline-padding, 0px)); }
#dark-hero .project-location-credits {
  padding: 4px 2px 0;
  color: inherit;
  font-size: 10px;
  line-height: 1.3;
  text-align: left;
}
#dark-hero .project-location-credits a { color: inherit; }
#dark-hero .project-location-field-actions:not(:has(.project-location-picker[open])) > .project-location-credits { display: none; }
#dark-hero .project-location-field-actions button,
#dark-hero .project-location-picker :is(button, input) {
  min-height: 42px;
  padding: 6px 12px;
  border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, currentColor 7%, transparent);
  color: inherit;
  font: inherit;
}
#dark-hero .project-location-field-actions button,
#dark-hero .project-location-picker button { cursor: pointer; }
#dark-hero .project-location-picker button:disabled { opacity: .55; cursor: default; }
#dark-hero .project-location-picker[open] {
  width: min(680px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--project-field-border);
  border-radius: 16px;
  color: inherit;
  background: var(--project-field-solid);
  box-shadow: 0 18px 60px rgb(0 0 0 / 30%);
  font: 14px/1.5 var(--hero-font);
  color-scheme: light;
}
#dark-hero .project-location-picker::backdrop { background: rgb(34 26 12 / 55%); }
#dark-hero .project-location-body { display: grid; gap: 10px; padding: clamp(12px, 3vw, 20px); }
#dark-hero :is(.project-location-heading, .project-location-search, .project-location-actions) {
  display: flex; align-items: center; gap: 8px;
}
#dark-hero .project-location-heading { justify-content: space-between; }
#dark-hero .project-location-heading h2 { margin: 0; font-size: 20px; }
#dark-hero .project-location-search input { flex: 1; min-width: 0; font-size: 16px; }
#dark-hero .project-location-results { display: grid; gap: 4px; max-height: 112px; overflow: auto; }
#dark-hero .project-location-results button { text-align: start; }
#dark-hero .project-location-body :is(p, output) { margin: 0; }
#dark-hero .project-location-body :is(p, output):empty,
#dark-hero .project-location-results:empty { display: none; }
#dark-hero .project-location-canvas {
  height: clamp(180px, 42dvh, 360px);
  overflow: hidden;
  border: 1px solid var(--project-field-border);
  border-radius: 10px;
  background: var(--project-field-solid);
}
#dark-hero .project-location-actions { flex-wrap: wrap; }
#dark-hero .project-location-coordinates { margin-inline-end: auto; font-variant-numeric: tabular-nums; }
#dark-hero .project-location-picker :focus-visible { outline: 2px solid var(--glass-ink, #151515); outline-offset: 2px; }

#dark-hero :is(.hero-header, .hero-project-button, .hero-city-cards button),
[data-theme="light"] #dark-hero :is(.hero-header, .hero-project-button, .hero-city-cards button),
[data-theme="light"] #dark-hero .hero-city-cards button:is(:hover, [aria-pressed="true"]) { color: var(--glass-control-ink, #fff); }
#dark-hero :is(.hero-brand small, .hero-header-nav a),
[data-theme="light"] #dark-hero :is(.hero-brand small, .hero-header-nav :is(a, button)) { color: var(--glass-control-muted, #ececec); }
#dark-hero .hero-header-nav a:not([aria-current]):hover,
[data-theme="light"] #dark-hero .hero-header-nav a:not([aria-current]):hover {
  color: color-mix(in srgb, var(--station-accent) 40%, var(--glass-control-muted, #ececec));
}
#dark-hero .hero-header-nav a[aria-current],
[data-theme="light"] #dark-hero .hero-header-nav a[aria-current] {
  color: color-mix(in srgb, var(--station-accent) 72%, var(--glass-control-ink, #fff));
}
#dark-hero .hero-header-actions :is(.hero-language, .hero-theme-toggle, .hero-menu-toggle),
[data-theme="light"] #dark-hero .hero-header-actions :is(.hero-language, .hero-theme-toggle, .hero-menu-toggle) { color: var(--glass-control-ink, #fff); border-color: var(--glass-rim, rgb(255 255 255 / 10%)); }
#dark-hero .hero-header-actions :is(.hero-language, .hero-theme-toggle, .hero-menu-toggle) {
  border: 0;
  background: transparent;
}
#dark-hero .hero-header-actions .hero-language { border-radius: 999px; }
#dark-hero .hero-header-actions :is(.hero-theme-toggle, .hero-menu-toggle) { border-radius: 50%; }
@keyframes hero-menu-enter {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
#dark-hero .hero-ui :focus-visible, #dark-hero .hero-project-button:focus-visible,
[data-theme="light"] #dark-hero .hero-ui :focus-visible { outline-color: var(--glass-control-ink, #fff); }
#dark-hero .hero-city-cards button[aria-pressed="true"],
[data-theme="light"] #dark-hero .hero-city-cards button[aria-pressed="true"] {
  background: linear-gradient(to bottom right, var(--station-accent-soft), var(--station-accent));
  color: #21121b;
  box-shadow: 0 6px 12px rgb(0 0 0 / 0%);
}
@media (max-width: 1024px) {
  #dark-hero .hero-header-nav, [data-theme="light"] #dark-hero .hero-header-nav { background: var(--glass-control-tint, rgb(255 255 255 / 28%)); border-color: var(--glass-rim, rgb(255 255 255 / 28%)); border-radius: 12px; }
  [data-theme="light"] #dark-hero .hero-header-nav { background: rgb(44 49 55 / 94%); }
}

#dark-hero .control-stations {
  --glass-inner-radius: 13px;
  --station-top: max(86px, calc(50svh - 21px));
  top: var(--station-top);
  left: 12px;
  width: 128px;
  grid-template-columns: minmax(0, 1fr);
  transform: none;
  padding: 0;
  border-radius: 14px;
  cursor: default;
}
[data-theme="dark"] #dark-hero .control-stations {
  --glass-control-tint: rgb(8 10 12 / 62%);
}
#dark-hero .control-stations button {
  display: grid;
  align-content: center;
  overflow: visible;
  padding: 0 10px 0 29px;
  color: #d4d6da;
  background: transparent;
  border-radius: 0;
  text-align: left;
  font-size: 13px;
  letter-spacing: 0;
}
html[lang="fa"] #dark-hero .control-stations button { font-size: 15px; }
#dark-hero .control-stations button:hover { color: #fff; }
#dark-hero .control-stations button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 14px;
  width: 9px;
  height: 9px;
  border: 1px solid #e7e8ea;
  border-radius: 50%;
  background: #282a2d;
  transform: translate(-50%, -50%);
}
#dark-hero .control-stations .station-toggle {
  min-height: 40px;
  padding-right: 26px;
  border-radius: 13px;
  color: #fff;
  white-space: nowrap;
}
#dark-hero .control-stations .station-toggle::before {
  background: var(--station-accent);
  border-color: rgb(255 255 255 / 55%);
  box-shadow: 0 0 8px var(--station-accent);
}
.station-toggle::after {
  content: "";
  position: absolute;
  top: calc(50% - 5px);
  right: 12px;
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
  transition: transform 240ms ease;
}
.station-toggle[aria-expanded="true"]::after { transform: translateY(3px) rotate(225deg); }
@media (max-width: 1024px) {
  #dark-hero .control-stations { --station-top: max(72px, calc(50svh - 19px)); width: 114px; }
  #dark-hero .control-stations button { padding-left: 24px; }
  #dark-hero .control-stations button::before { left: 12px; }
  #dark-hero .control-stations .station-toggle { min-height: 36px; padding-right: 22px; }
  .station-toggle::after { right: 9px; }
}
.control-stations .station-list {
  display: grid;
  grid-auto-rows: 44px;
  max-height: 0;
  overflow: hidden;
  scrollbar-width: none;
  opacity: 0;
  transform: translateY(-4px);
  visibility: hidden;
  overscroll-behavior-y: contain;
  box-shadow: inset 0 1px rgb(255 255 255 / 25%);
  border-radius: 0 0 13px 13px;
  transition: max-height 300ms cubic-bezier(.22, 1, .36, 1), opacity 200ms ease, transform 260ms ease, visibility 0s linear 300ms;
}
.station-toggle[aria-expanded="true"] + .station-list {
  max-height: clamp(44px, calc(100svh - var(--station-top) - 58px), 176px);
  overflow-y: auto;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}
@media (prefers-reduced-motion: reduce) {
  .station-toggle::after, .control-stations .station-list { transition: none; }
}
#dark-hero .control-stations button[aria-pressed="true"] { display: none; }
.station-instrument { display: none; }

@media (min-width: 1025px) {
  #dark-hero .control-stations {
    --glass-inner-radius: 20px;
    top: 50%;
    width: 174px;
    border-radius: 21px;
    transform: translateY(-50%);
  }
  #dark-hero .control-stations .station-toggle { display: none; }
  .station-instrument {
    position: relative;
    display: flex;
    align-items: center;
    margin: 14px 12px 0;
    border-bottom: 1px solid rgb(255 255 255 / 30%);
    color: #f1f2f3;
  }
  .station-instrument img { display: block; filter: brightness(0) invert(1); }
  .station-instrument::after {
    content: "";
    position: absolute;
    left: 44px;
    right: 0;
    top: 10px;
    height: 2px;
    background: linear-gradient(90deg, var(--station-accent), transparent);
  }
  #dark-hero .control-stations .station-list {
    --station-step: 46px;
    --station-offset: calc(var(--station-row, 0) * var(--station-step));
    position: relative;
    isolation: isolate;
    max-height: none;
    grid-auto-rows: var(--station-step);
    padding-block: 8px;
    background: linear-gradient(rgb(255 255 255 / 40%), rgb(255 255 255 / 40%)) 14px center / 1px calc(100% - 62px) no-repeat;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .control-stations .station-list::before,
  .control-stations .station-list::after {
    content: "";
    position: absolute;
    transform: translateY(var(--station-offset));
    pointer-events: none;
  }
  .control-stations .station-list::before {
    inset: 26.5px auto auto 9.5px;
    z-index: 1;
    width: 9px;
    height: 9px;
    border: 1px solid var(--station-accent);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 8px var(--station-accent);
  }
  .control-stations .station-list::after {
    inset: 8px 0 auto 23px;
    z-index: -1;
    height: var(--station-step);
    border-radius: 5px 0 0 5px;
    border-left: 1px solid var(--station-accent);
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--station-accent) 45%, transparent), transparent 90%) top / 100% 1px no-repeat,
      linear-gradient(90deg, color-mix(in srgb, var(--station-accent) 45%, transparent), transparent 90%) bottom / 100% 1px no-repeat,
      linear-gradient(90deg, color-mix(in srgb, var(--station-accent) 22%, transparent), transparent 90%);
  }
  .station-list:has([data-city="isfahan"][aria-pressed="true"]) { --station-row: 1; }
  .station-list:has([data-city="mashhad"][aria-pressed="true"]) { --station-row: 2; }
  .station-list:has([data-city="tabriz"][aria-pressed="true"]) { --station-row: 3; }
  .station-list:has([data-city="shiraz"][aria-pressed="true"]) { --station-row: 4; }
  #dark-hero .control-stations .station-list button[aria-pressed="true"] {
    display: grid;
    color: #fff;
    background: transparent;
    box-shadow: none;
  }
  .control-stations .station-list button[aria-pressed="true"]::after {
    content: attr(data-coordinates);
    font: 10px/1.5 var(--hero-font);
    direction: ltr;
    margin-top: 2px;
  }
}
@media (min-width: 1025px) and (prefers-reduced-motion: no-preference) {
  .control-stations .station-list::before,
  .control-stations .station-list::after { transition: transform 420ms cubic-bezier(.22, 1, .36, 1); }
}

/* Project location card and OpenFreeMap picker */
.project-location-field {
  --location-muted-ink: var(--glass-muted, #242424);
  --location-border: var(--project-field-border);
  --location-card-grid: color-mix(in srgb, currentColor 14%, transparent);
  --location-surface: var(--project-field-solid);
  --location-icon: currentColor;
}

.project-location-trigger.project-location-map-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  box-sizing: border-box;
  width: min(240px, 100%);
  min-height: 140px;
  padding: 54px 18px 22px;
  border: 1px solid var(--location-border);
  border-radius: var(--project-field-radius);
  color: inherit;
  font: inherit;
  font-weight: 650;
  text-align: start;
  cursor: pointer;
}

.project-location-map-card > svg {
  display: none;
}

.project-location-trigger.project-location-map-card::before {
  content: "";
  position: absolute;
  inset-block-start: 17px;
  inset-inline-start: 18px;
  width: 23px;
  height: 23px;
  background-color: var(--location-icon);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 6 6-3 6 3 6-3v15l-6 3-6-3-6 3zM9 3v15m6-12v15'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}

.project-location-trigger.project-location-map-card:focus-visible {
  outline: 2px solid var(--location-icon);
  outline-offset: 3px;
}

.project-location-map-theme .project-location-canvas {
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--location-border);
  border-radius: 18px;
  background:
    linear-gradient(90deg, var(--location-card-grid) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(var(--location-card-grid) 1px, transparent 1px) 0 0 / 20px 20px,
    var(--location-surface);
}

.project-location-map-theme .maplibregl-canvas {
  filter: saturate(0.72);
}

#project-location-inline-card .project-location-center-pin {
  left: 50%;
  top: 50%;
  z-index: 1;
  /* MapLibre writes a geographic transform inline. Keep the pin tip at the viewport center. */
  transform: translate(-50%, -85%) !important;
  pointer-events: none;
}

.project-location-map-theme .project-location-coordinates {
  padding: 5px 10px;
  border: 1px solid var(--location-border);
  border-radius: 7px;
  background: var(--location-surface);
  color: inherit;
  font-family: ui-monospace, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  unicode-bidi: isolate;
}

@media (prefers-reduced-motion: no-preference) {
  .project-location-trigger.project-location-map-card::after {
    transition: transform 140ms ease-out;
  }

  .project-location-map-theme .maplibregl-canvas {
    animation: project-location-map-fade 120ms ease-out;
  }

  .project-location-map-theme .project-location-coordinates {
    animation: project-location-map-fade 120ms ease-out;
  }
}

@keyframes project-location-map-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Project location card layout */
#project-location-inline-card {
  position: relative;
  isolation: isolate;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100px;
  min-width: 0;
  max-width: 100%;
}

#project-location-inline-card:has(> .project-location-picker[open]) {
  height: var(--location-open-height);
}

#project-location-inline-card > .project-location-trigger.project-location-map-card {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  margin: 0;
  padding: 22px 18px 18px;
  border: 1px solid var(--location-border);
  border-radius: var(--project-field-radius);
  background:
    linear-gradient(90deg, var(--location-card-grid) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(var(--location-card-grid) 1px, transparent 1px) 0 0 / 20px 20px,
    radial-gradient(circle at center, currentColor 0 2px, transparent 3px),
    linear-gradient(180deg, color-mix(in srgb, var(--location-surface) 45%, transparent), color-mix(in srgb, var(--location-surface) 82%, transparent));
  box-shadow: var(--project-field-shadow);
  color: inherit;
  line-height: 1.35;
  text-align: start;
}

#project-location-inline-card > .project-location-map-card::before { inset-block-start: 12px; }

#project-location-inline-card:not(:has(> .project-location-picker[open])):has(> .project-location-saved-coordinates:not([hidden])) > .project-location-map-card {
  padding-block-end: 35px;
}

#project-location-inline-card > .project-location-saved-coordinates {
  position: absolute;
  inset: auto 18px 17px;
  z-index: 2;
  color: var(--location-muted-ink);
  font: 11px/15px ui-monospace, Consolas, monospace;
  text-align: left;
  pointer-events: none;
}

#project-location-inline-card:dir(rtl) > .project-location-saved-coordinates {
  text-align: right;
}

#project-location-inline-card > .project-location-saved-coordinates[hidden],
#project-location-inline-card:has(> .project-location-picker[open]) > .project-location-saved-coordinates {
  display: none;
}

#project-location-inline-card > .project-location-map-card:focus:not(:focus-visible) {
  outline: none;
}

#project-location-inline-card > .project-location-map-card:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

#dark-hero #project-location-inline-card > .project-location-picker {
  all: revert;
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  overflow: clip;
  border: 1px solid var(--location-border);
  border-radius: var(--project-field-radius);
  background: var(--project-field-bg);
  color: inherit;
  font: inherit;
}

#project-location-inline-card > .project-location-picker:not([open]) { border-color: transparent; }

#project-location-inline-card > .project-location-picker > :not(
  .project-location-canvas, .project-location-inline-toolbar, .project-location-coordinates, .project-location-inline-actions
) {
  display: none;
}

#project-location-inline-card .project-location-picker > .project-location-canvas {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: block;
  box-sizing: border-box;
  /* The card clips this full-size map as it opens and closes. */
  width: calc(100cqw + 2 * var(--project-details-inline-padding, 0px) - 2px);
  height: calc(var(--location-open-height) - 2px);
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#project-location-inline-card > .project-location-picker:not([open]) {
  pointer-events: none;
}

#project-location-inline-card > .project-location-picker:not([open]) > :not(.project-location-canvas),
#project-location-inline-card .project-location-picker:not([open]) :is(.maplibregl-control-container, .project-location-center-pin) {
  display: none;
}

#project-location-inline-card .project-location-picker:not([open]) .project-location-canvas {
  background: var(--location-surface);
}

#project-location-inline-card .project-location-picker:not([open]) .maplibregl-canvas {
  filter: grayscale(1) contrast(1.22);
}

#project-location-inline-card .project-location-inline-toolbar {
  position: absolute;
  inset: 8px 9px auto;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  pointer-events: none;
}

#project-location-inline-card .project-location-inline-toolbar:focus { outline: none; }

#project-location-inline-card :is(.project-location-inline-searchline, .project-location-results) {
  pointer-events: auto;
}

#project-location-inline-card .project-location-inline-searchline {
  --location-search-height: 36px;
  display: flex;
  align-items: center;
  gap: 5px;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

#project-location-inline-card .project-location-inline-searchline > :not(button) {
  flex: 1 1 0;
  min-width: 0;
}

#project-location-inline-card .project-location-inline-searchline input:not([type="hidden"]) {
  box-sizing: border-box;
  width: 100%;
  height: var(--location-search-height);
  min-height: 0;
  min-width: 0;
  margin: 0;
  padding: 5px 8px;
  border: 1px solid var(--location-border);
  border-radius: var(--project-field-radius);
  background: var(--location-surface);
  color: inherit;
  font-size: 12px;
}

#project-location-inline-card:dir(rtl) .project-location-inline-searchline input[type="search"] {
  direction: rtl;
  text-align: right;
}

#project-location-inline-card .project-location-results {
  gap: 0;
  max-height: 156px;
  margin: 0;
  padding: 4px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  list-style: none;
  border: 1px solid var(--location-border);
  border-radius: var(--project-field-radius);
  background: var(--location-surface);
}

#project-location-inline-card .project-location-results:empty { display: none; }

#project-location-inline-card .project-location-results li + li { border-block-start: 1px solid var(--location-border); }

#project-location-inline-card .project-location-results button {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 7px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  line-height: 1.45;
  text-align: start;
  overflow-wrap: anywhere;
}

#project-location-inline-card .project-location-results button:is(:hover, :focus-visible) {
  background: var(--project-field-bg);
  outline-offset: -2px;
}

#project-location-inline-card .project-location-results button strong { font-size: 13px; }
#project-location-inline-card .project-location-results button small {
  font-size: 11px;
  color: var(--location-muted-ink);
}
#project-location-inline-card:dir(rtl) .project-location-results button > :is(strong, small) { text-align: right; }
#project-location-inline-card:dir(ltr) .project-location-results button > :is(strong, small) { text-align: left; }

#project-location-inline-card :is(.project-location-results, .project-location-status)[hidden] {
  display: none;
}

#project-location-inline-card .project-location-status {
  align-self: flex-start;
  max-width: 100%;
  margin: 0;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--location-surface);
  color: inherit;
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

#project-location-inline-card .project-location-status:empty {
  display: none;
}

#project-location-inline-card .project-location-coordinates {
  position: absolute;
  inset: auto 12px 18px auto;
  z-index: 2;
  width: max-content;
  max-width: calc(100% - 168px);
  margin: 0;
  padding: 3px 6px;
  border: 1px solid var(--location-border);
  border-radius: var(--project-field-radius);
  background: var(--location-surface);
  color: var(--location-muted-ink);
  font-size: 11px;
  line-height: 16px;
}

#project-location-inline-card:dir(rtl) .project-location-coordinates { left: 12px; right: auto; }

#project-location-inline-card .project-location-inline-actions {
  position: absolute;
  inset-block-end: 8px;
  inset-inline: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  pointer-events: none;
}

#project-location-inline-card .project-location-inline-searchline button {
  box-sizing: border-box;
  width: auto;
  height: var(--location-search-height);
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 4px 9px;
  border: 1px solid var(--location-border);
  border-radius: var(--project-field-radius);
  background: var(--location-surface);
  color: inherit;
  font-size: 11px;
  line-height: 1.3;
  flex: 0 0 auto;
}

#project-location-inline-card .project-location-inline-actions > button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--location-border);
  border-radius: 50%;
  background: var(--location-surface);
  color: inherit;
  pointer-events: auto;
}

#project-location-inline-card .project-location-inline-actions > .project-location-confirm {
  border-color: var(--glass-ink, #151515);
  background: var(--glass-ink, #151515);
  color: var(--location-surface);
}

#project-location-inline-card .project-location-inline-actions > button:not(:disabled):hover {
  filter: brightness(.94);
}

#project-location-inline-card .project-location-inline-actions > button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#project-location-inline-card .project-location-inline-actions > button:disabled {
  opacity: 0.58;
}

#project-location-inline-card:has(> .project-location-picker[open]) > .project-location-trigger.project-location-map-card {
  display: none;
}

#project-location-inline-card :is(.maplibregl-ctrl-top-left, .maplibregl-ctrl-top-right) {
  top: 48px;
}

#project-location-inline-card .maplibregl-ctrl-group:has(.maplibregl-ctrl-zoom-in) {
  overflow: hidden;
  border: 1px solid var(--location-border);
  border-radius: var(--project-field-radius);
  background: var(--location-surface);
  box-shadow: none;
}

#project-location-inline-card :is(.maplibregl-ctrl-zoom-in, .maplibregl-ctrl-zoom-out) {
  width: 34px;
  height: 34px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
}

#project-location-inline-card .maplibregl-ctrl-zoom-out { border-block-start: 1px solid var(--location-border); }
#project-location-inline-card :is(.maplibregl-ctrl-zoom-in, .maplibregl-ctrl-zoom-out):hover { background: var(--project-field-bg); }

#project-location-inline-card :is(.maplibregl-ctrl-zoom-in, .maplibregl-ctrl-zoom-out) .maplibregl-ctrl-icon {
  position: relative;
  display: block;
  background-image: none;
}

#project-location-inline-card :is(.maplibregl-ctrl-zoom-in, .maplibregl-ctrl-zoom-out) .maplibregl-ctrl-icon::before,
#project-location-inline-card .maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 12px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

#project-location-inline-card .maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

@media (prefers-reduced-motion: no-preference) {
  #dark-hero .project-location-field {
    transition: grid-template-columns var(--location-motion), column-gap var(--location-motion);
  }

  #dark-hero .project-location-field-actions {
    transition: margin-inline var(--location-motion);
  }

  #dark-hero .project-location-field > :is(.project-location-address-label, .project-location-address) {
    transition: opacity 110ms ease-out 20ms, visibility 0s;
  }

  #dark-hero .project-location-field:has(.project-location-picker[open]) > :is(.project-location-address-label, .project-location-address) {
    transition: opacity 85ms ease-out, visibility 0s 85ms;
  }

  #project-location-inline-card {
    transition: height var(--location-motion);
  }

}
