/* =========================================================
   EMKAN / MENU
   Clean production CSS — no external runtime dependencies.
   Exact original Font Awesome Regular moon/sun is embedded.
   ========================================================= */

@font-face {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("data:font/woff2;base64,d09GMgABAAAAADOoAA0AAAAAg8gAADNOAUuGJAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGh4GYACHWhEICoHaXIGrIgE2AiQDhFQLgjYABCAFilsHjysb8Wllh4yFjQOAcc+nJorywUpm///1uDFEIkGzWj9EnJVk1RqyVdiVQxUSzn3WrT7CWWs36Razj6O36Kfp+3YVhIQiTE0d3sPvNwoWuQ7rdJSHi7vwFRXEhJpWmB823mC8Q/rPi2raEx1yRBU/e0hSNOH752h/p215Yy27WWHARR7HAUYUBdIJvP7CM0S61aTtbpJNIyEJSSQVCC0hJgFFMIFQeiCFUkMxQdADaQFRqUKwHGA5RDwJnpz1bHeigPfWgqW+YunX9FoVPVzXHpVUJTEIPB0+hLG730LLQsqS6CH23X6kKxZJJ56RpNQnKZXUjCgbKWvAoIMVB5JhYhq17f+4wZppUvOTkt/AQqDgNSwkLQcIRqOkmI1751f58dF8R18yJGx7DAFe9DoMA0VYdGV9MIGBfd6a7l6nu7frhC2wDtlyJDuzpO5vYJ45T/AFIoPhGPoK+5+qDaPD+qCjqNm414x52dqw7BmcF/KIg7D86dvuM9t9DmChp7CIX2k46bZTui/KsQqIh87QX6QTrwBVeACWJn4RMP/qrFqYWTakrA3dXqw3ptff67co9f+XhL++BBZYtoWcgEkYJxFmjBnPgZA9gmHmYY5x2pATwZ6QsTekXFQXUuxCLvp9V6W2Su0VbXOqU4xpe3RX7CQMYJrEsaYGyBpusogiIp54umPaPj7NIHNanlrdUwrYCirywnvJJ0T3HhYgAF73txAA75AVgBOidHUjgAmABgycQULwwsMBtIYf1AcB0EZ2AHvyBf/HdAIaCGPgPKLjFlsGWj/4XXieiEahK1gwxGmpUQA7JjZ9YSX3Nz7g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w02p1nzyLYXAeSiXJRuuZZf0PfXW7Sivvn9wtb0pPVskfp8tSsaeVM45Rmu4MZuO0CKr443pDVpix87HmyUzUJi/TGzSckeKia5onlIyasxvB47spD0eM872ABj/hgGZUAkGnzscEZXoD4PBFzQWaYY+ABshSHgjxfBbhwHfjFs2jvjOEoGjm5rD9Cb4zXVMz1L6NpeBWCDs+XWHKRj/cKAe5uQQ/KNEbittQtr0vomhVFEfLKLcxHDhWBYvVJJc+D7PRM5V3wPsNVLODZNYimnopJHDcZf5O0GjO/OWw9lYed0zvk2Q83UrMHcQiQ9PBMbddMEi16/zETlXV0UPe9ewDvb2dTxs3iziO4ZuLWi32aVdK4LHjrjwEaP6ga/eKkD6swp3dEOokoh9TwR7nbC+Ncv0U6SqC2jXmrHskYfRvukreG35+sPnSPr7CqjMo4C2kO8hsDJhKIQoTGSThPUPb4zVEqcJ8ZyBZGQKTEqbWMoD/eJuaCjPl3eGJ9mQQnNdz4LCqbBfCotY0WNOiZNhXUgwA") format("woff2");
}

.far {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.fa-sun::before { content: "\f185"; }
.fa-moon::before { content: "\f186"; }


:root {
  --bg: #f7f8fa;
  --fg: #15181d;
  --line: rgba(21, 24, 29, .18);
  --line-strong: rgba(21, 24, 29, .48);
  --menu-text: #15181d;
  /* Central visual tokens: change these later to retheme hovers/captions site-wide. */
  --hover-accent: #4b7c91;
  --category: #2a2d31;
  --category-muted: #595e66;
  --caption-title: #5f7079;
  --caption-sub: #7f8b92;
  --caption-hover-title: #4b7c91;
  --caption-hover-sub: #6b95a7;
  --image-shadow: rgba(0, 0, 0, .08);
  --placeholder-a: #eceef0;
  --placeholder-b: #d9dcdf;

  --font-en: Inter, "Segoe UI", Arial, sans-serif;
  --font-fa: Vazirmatn, Tahoma, Arial, sans-serif;

  --theme-duration: 620ms;
  --theme-ease: cubic-bezier(.22,.61,.36,1);

  --page-max: 1050px;
  --header-max: 1080px;
  --page-pad: clamp(18px, 4.5vw, 64px);
  --gallery-gap: clamp(26px, 3vw, 48px);
  --gallery-row-gap: clamp(46px, 5.2vw, 70px);
}

html[data-theme="dark"] {
  --bg: #111419;
  --fg: #f1f3f5;
  --line: rgba(241, 243, 245, .18);
  --line-strong: rgba(241, 243, 245, .52);
  --menu-text: #f1f3f5;
  /* Keep interactive hover color identical to the light theme. */
  --hover-accent: #4b7c91;
  --category: #f1f3f5;
  --category-muted: #b5bbc4;
  --caption-title: #c3cdd2;
  --caption-sub: #9da8ae;
  --caption-hover-title: #78a5b7;
  --caption-hover-sub: #94b7c4;
  --image-shadow: rgba(0, 0, 0, .26);
  --placeholder-a: #1a1e24;
  --placeholder-b: #242a31;
}

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

html {
  min-width: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  transition:
    background-color var(--theme-duration) var(--theme-ease),
    color var(--theme-duration) var(--theme-ease);
}

body {
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-en);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  -webkit-text-size-adjust: 100%;
  transition:
    background-color var(--theme-duration) var(--theme-ease),
    color var(--theme-duration) var(--theme-ease);
}

:is(html[lang="fa"], html[lang="ar"]) body { font-family: var(--font-fa); }
a, button { font: inherit; }
button { color: inherit; }

.lang-fa { display: none !important; }
:is(html[lang="fa"], html[lang="ar"]) .lang-fa { display: inline !important; }
:is(html[lang="fa"], html[lang="ar"]) .lang-en { display: none !important; }

.visually-hidden {
  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;
}

.page-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding:
    max(20px, env(safe-area-inset-top))
    var(--page-pad)
    max(54px, env(safe-area-inset-bottom));
  background: var(--bg);
  transition: background-color var(--theme-duration) var(--theme-ease);
}

/* =========================================================
   HEADER — same visual language as the finalized EMKAN menu
   ========================================================= */

.site-header {
  width: 100%;
  max-width: var(--header-max);
  margin: 0 auto;
}

.brand-home-link {
  width: max-content;
  margin: 0 auto;
  display: block;
  transform: translateY(2px);
  color: var(--fg);
  text-decoration: none;
  direction: ltr;
  transition:
    opacity 180ms ease,
    color var(--theme-duration) var(--theme-ease);
}

.brand-home-link:hover { opacity: .72; }
.brand-home-link:focus-visible { outline: 1px solid currentColor; outline-offset: 6px; }

.brand-word {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .24em;
  font-family: var(--font-en);
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .02em;
  transform: translateZ(0);
  transition:
    gap 1.6s cubic-bezier(.22,.61,.36,1),
    opacity 1.05s ease;
  will-change: gap, opacity;
}

.brand-char {
  display: inline-block;
  transform: translate3d(0,0,0);
  transition: transform 1.6s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

body.is-preload .brand-word { gap: .40em; opacity: .82; }
body.is-preload .brand-char--1 { transform: translate3d(-4px,0,0); }
body.is-preload .brand-char--2 { transform: translate3d(-2px,0,0); }
body.is-preload .brand-char--3 { transform: translate3d(0,0,0); }
body.is-preload .brand-char--4 { transform: translate3d(2px,0,0); }
body.is-preload .brand-char--5 { transform: translate3d(4px,0,0); }

.nav-frame {
  position: relative;
  width: 100%;
  min-height: 50px;
  margin-top: clamp(26px, 3.5vh, 36px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color var(--theme-duration) var(--theme-ease),
    background-color var(--theme-duration) var(--theme-ease);
}

.primary-nav {
  width: 100%;
  padding-inline: 78px;
}

.nav-list {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.1vw, 28px);
  direction: ltr;
}

:is(html[lang="fa"], html[lang="ar"]) .nav-list { direction: rtl; }

.nav-link {
  display: inline-block;
  color: var(--menu-text);
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-en);
  font-size: clamp(11px, .91vw, 14px);
  font-weight: 400;
  line-height: 1.25;
  transition:
    color 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

:is(html[lang="fa"], html[lang="ar"]) .nav-link {
  font-family: var(--font-fa);
  font-size: clamp(12px, .94vw, 14.5px);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--hover-accent);
}

.nav-link:hover { transform: translateY(-1px); }

.nav-link:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 5px;
}

.nav-link.is-current { font-weight: 650; }

.language-button,
.theme-button,
.mobile-menu-button {
  appearance: none;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition:
    color var(--theme-duration) var(--theme-ease),
    opacity 180ms ease,
    transform 180ms ease;
}

.language-button:hover,
.theme-button:hover,
.mobile-menu-button:hover { opacity: .72; }

.language-button:focus-visible,
.theme-button:focus-visible,
.mobile-menu-button:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.language-button {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  min-width: 34px;
  padding: .2rem .35rem;
  font-size: .72rem;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

:is(html[lang="fa"], html[lang="ar"]) .language-button {
  font-family: var(--font-en);
  font-size: .75rem;
  letter-spacing: .04em;
}

.theme-button {
  position: absolute;
  right: 13px;
  top: 50%;
  width: 32px;
  height: 32px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-icon-wrap {
  position: relative;
  display: inline-flex;
  width: 15px;
  height: 15px;
  align-items: center;
  justify-content: center;
}

.theme-icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 15px;
  height: 15px;
}

.theme-icon--moon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  line-height: 15px;
}

.emkan-sun { display: block; overflow: visible; }
.theme-icon--sun { display: none; }
html[data-theme="dark"] .theme-icon--moon { display: none; }
html[data-theme="dark"] .theme-icon--sun { display: block; }

.mobile-menu-button { display: none; }

/* =========================================================
   PROJECT LIST
   ========================================================= */

.architecture-main {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
}

.projects-layout {
  width: 100%;
  margin: clamp(46px, 6vh, 64px) auto 0;
  display: grid;
  direction: ltr;
  grid-template-columns: minmax(0, 1fr) 190px;
  grid-template-areas: "gallery categories";
  column-gap: clamp(38px, 5vw, 72px);
  align-items: start;
}

html[lang="en"] .projects-layout {
  grid-template-columns: 190px minmax(0, 1fr);
  grid-template-areas: "categories gallery";
}

.category-panel {
  grid-area: categories;
  position: sticky;
  top: 24px;
  align-self: start;
  min-width: 0;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  scrollbar-width: none;
  padding-top: 16px;
}
.category-panel::-webkit-scrollbar { width: 0; height: 0; }

.category-toggle { display: none; }

.category-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li { margin: 0 0 4px; }


.project-search {
  width: 100%;
  margin: 0 0 12px;
  position: relative;
  display: block;
}

.project-search input {
  width: 100%;
  height: 28px;
  padding: 0 26px 2px 2px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius:0;
  outline: 0;
  background: transparent;
  color: var(--category);
  font: inherit;
  font-size: clamp(10.5px, .76vw, 12px);
  font-weight: 400;
  opacity: .72;
  transition:
    border-color 420ms var(--theme-ease),
    color var(--theme-duration) var(--theme-ease),
    opacity 420ms ease;
}

:is(html[lang="fa"], html[lang="ar"]) .project-search input {
  direction: rtl;
  text-align: right;
  padding: 0 2px 2px 26px;
  font-family: var(--font-fa);
}

html[lang="en"] .project-search input {
  direction: ltr;
  text-align: left;
  font-family: var(--font-en);
}

.project-search input::placeholder {
  color: var(--category-muted);
  opacity: .62;
}

.project-search input:hover,
.project-search input:focus {
  border-color: var(--hover-accent);
  opacity: 1;
}

.project-search input::-webkit-search-cancel-button {
  opacity: .48;
  cursor: pointer;
}

.search-icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 9px;
  width: 9px;
  height: 9px;
  border: 1px solid currentColor;
  border-radius:0;
  color: var(--category-muted);
  opacity: .54;
  transform: translateY(-58%);
  pointer-events: none;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 1px;
  right: -3px;
  bottom: -1px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

:is(html[lang="fa"], html[lang="ar"]) .search-icon {
  right: auto;
  left: 9px;
}

:is(html[lang="fa"], html[lang="ar"]) .search-icon::after {
  right: auto;
  left: -3px;
  transform: rotate(-45deg);
  transform-origin: right center;
}

.category-button {
  appearance: none;
  display: inline-block;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--category-muted);
  cursor: pointer;
  text-align: inherit;
  font-size: clamp(12px, .92vw, 15px);
  font-weight: 400;
  line-height: 1.45;
  transition:
    color 180ms ease,
    font-weight 180ms ease,
    transform 180ms ease;
}

:is(html[lang="fa"], html[lang="ar"]) .category-panel { text-align: right; direction: rtl; }
html[lang="en"] .category-panel { text-align: left; direction: ltr; }

.category-button:hover,
.category-button:focus-visible {
  color: var(--hover-accent);
  transform: translateY(-1px);
}

.category-button:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.category-button.is-active {
  color: var(--category);
  font-weight: 700;
}

.gallery-items-container {
  grid-area: gallery;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gallery-row-gap) var(--gallery-gap);
}

:is(html[lang="fa"], html[lang="ar"]) .gallery-items-container { direction: rtl; }
html[lang="en"] .gallery-items-container { direction: ltr; }

.gallery-item {
  min-width: 0;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1.25s cubic-bezier(.22,.61,.36,1),
    transform 1.25s cubic-bezier(.22,.61,.36,1);
  transition-delay: calc(var(--item-order, 0) * 110ms);
}

.gallery-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item.is-hidden { display: none !important; }

.project-card {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.project-figure {
  width: 100%;
  margin: 0;
}

.img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--placeholder-a), var(--placeholder-b));
  border-radius:0;
  transition: background-color var(--theme-duration) var(--theme-ease);
}

.img-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow: inset 0 0 42px 28px var(--image-shadow);
  opacity: .46;
  transition: opacity .8s ease;
}

.img-wrapper.is-missing::before {
  content: "EMKAN";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  color: var(--fg);
  opacity: .24;
  font-family: var(--font-en);
  font-size: clamp(12px, 1.1vw, 16px);
  letter-spacing: .28em;
  text-indent: .28em;
}

.img-wrapper img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transform: scale(1);
  transition:
    filter .9s ease,
    transform .9s cubic-bezier(.22,.61,.36,1);
}

.fixed-caption {
  width: 100%;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.35;
}

:is(html[lang="fa"], html[lang="ar"]) .fixed-caption {
  direction: rtl;
  text-align: right;
}

html[lang="en"] .fixed-caption {
  direction: ltr;
  text-align: left;
}

.project-title,
.project-subtitle { display: block; }

.project-title {
  color: var(--caption-title);
  font-size: clamp(11.5px, .82vw, 13px);
  font-weight: 700;
  transition: color 220ms ease;
}

.project-subtitle {
  color: var(--caption-sub);
  font-size: clamp(11px, .79vw, 12.5px);
  font-weight: 400;
  transition: color 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
  /* Matches the original reference hover: grayscale -> color + a soft 1.05 zoom. */
  .project-card:hover .img-wrapper img {
    filter: grayscale(0%);
    transform: scale(1.05);
  }

  .project-card:hover .project-title {
    color: var(--caption-hover-title);
  }

  .project-card:hover .project-subtitle {
    color: var(--caption-hover-sub);
  }
}

/* =========================================================
   DESKTOP GALLERY REFINEMENT
   Keep the overall composition airy: cards are 25% smaller
   than the previous version while preserving the 3-column grid.
   ========================================================= */

@media (min-width: 1181px) {
  .gallery-item {
    width: 75%;
    justify-self: center;
  }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 901px) and (max-width: 1180px) {
  :root {
    --page-max: 900px;
    --header-max: 940px;
    --gallery-gap: 24px;
    --gallery-row-gap: 42px;
  }

  .nav-list { gap: clamp(12px, 1.6vw, 20px); }
  .nav-link { font-size: 11.5px; }
  :is(html[lang="fa"], html[lang="ar"]) .nav-link { font-size: 12.5px; }

  .projects-layout {
    grid-template-columns: minmax(0, 1fr) 165px;
    column-gap: 34px;
  }

  html[lang="en"] .projects-layout {
    grid-template-columns: 165px minmax(0, 1fr);
  }

  .gallery-items-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .gallery-item {
    width: 84%;
    justify-self: center;
  }
}

/* =========================================================
   MOBILE / SMALL TABLET
   The primary navigation opens DOWNWARD and remains compact.
   ========================================================= */

@media (max-width: 900px) {
  :root {
    --page-pad: clamp(16px, 4vw, 28px);
    --gallery-gap: 18px;
    --gallery-row-gap: 30px;
  }

  .page-shell {
    padding-top: max(18px, env(safe-area-inset-top));
    padding-bottom: max(46px, env(safe-area-inset-bottom));
  }

  .site-header { max-width: 720px; }

  .brand-word {
    font-size: clamp(18px, 4.9vw, 21px);
    gap: .22em;
  }

  .nav-frame {
    margin-top: 22px;
    min-height: 46px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    grid-template-areas:
      "lang toggle theme"
      "nav nav nav";
    align-items: center;
    overflow: hidden;
  }

  .language-button,
  .theme-button {
    position: static;
    transform: none;
  }

  .language-button {
    grid-area: lang;
    justify-self: start;
    margin-left: 7px;
  }

  .theme-button {
    grid-area: theme;
    justify-self: end;
    margin-right: 7px;
  }

  .mobile-menu-button {
    grid-area: toggle;
    justify-self: center;
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu-icon {
    position: relative;
    width: 18px;
    height: 10px;
    display: block;
  }

  .mobile-menu-icon span {
    position: absolute;
    left: 0;
    width: 18px;
    height: 1px;
    background: currentColor;
    transform-origin: center;
    transition: transform .32s ease, top .32s ease;
  }

  .mobile-menu-icon span:first-child { top: 1px; }
  .mobile-menu-icon span:last-child { top: 8px; }

  .site-header.is-nav-open .mobile-menu-icon span:first-child {
    top: 4.5px;
    transform: rotate(45deg);
  }

  .site-header.is-nav-open .mobile-menu-icon span:last-child {
    top: 4.5px;
    transform: rotate(-45deg);
  }

  .primary-nav {
    grid-area: nav;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding-inline: 0;
    opacity: 0;
    transition:
      max-height .62s cubic-bezier(.22,.61,.36,1),
      opacity .34s ease;
  }

  .site-header.is-nav-open .primary-nav {
    max-height: 390px;
    opacity: 1;
  }

  .nav-list {
    max-width: none;
    padding: 8px 0 12px;
    display: flex;
    flex-direction: column;
    gap: 0;
    direction: inherit !important;
    border-top: 1px solid var(--line);
  }

  .nav-list li {
    width: 100%;
    text-align: center;
  }

  .nav-list li + li { border-top: 1px solid var(--line); }

  .nav-link,
  :is(html[lang="fa"], html[lang="ar"]) .nav-link {
    width: max-content;
    max-width: 88%;
    padding: 10px 4px;
    font-size: 12.5px;
    white-space: normal;
  }

  .architecture-main { max-width: 720px; }

  .projects-layout {
    margin-top: clamp(30px, 5vh, 42px);
    display: block;
  }

  .category-panel {
    position: static;
    width: 100%;
    padding-top: 0;
    margin-bottom: 24px;
    text-align: initial !important;
  }

  .category-toggle {
    appearance: none;
    width: 100%;
    min-height: 42px;
    padding: 0 2px;
    border: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: transparent;
    color: var(--fg);
    cursor: pointer;
    text-align: start;
    font-size: 12.5px;
    transition:
      color var(--theme-duration) var(--theme-ease),
      border-color var(--theme-duration) var(--theme-ease);
  }

  :is(html[lang="fa"], html[lang="ar"]) .category-toggle { direction: rtl; }
  html[lang="en"] .category-toggle { direction: ltr; }

  .category-chevron {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .3s ease;
  }

  .category-panel.is-open .category-chevron {
    transform: rotate(225deg) translate(-2px, -1px);
  }

  .category-list {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
      max-height .5s cubic-bezier(.22,.61,.36,1),
      opacity .28s ease;
  }

  .category-panel.is-open .category-list {
    max-height: 360px;
    opacity: 1;
  }

  .category-list ul { padding: 10px 2px 0; }

  .category-list li {
    margin: 0;
    border-bottom: 1px solid var(--line);
  }

  .category-button {
    width: 100%;
    padding: 9px 0;
    font-size: 12.5px;
  }

  :is(html[lang="fa"], html[lang="ar"]) .category-button { text-align: right; }
  html[lang="en"] .category-button { text-align: left; }

  .gallery-items-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 18px;
  }

  .gallery-item {
    width: 90%;
    justify-self: center;
  }

  .fixed-caption { margin-top: 7px; }
  .project-title { font-size: 12px; }
  .project-subtitle { font-size: 11.5px; }

}

@media (max-width: 640px) {
  .page-shell {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .gallery-items-container {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .gallery-item {
    width: 92%;
    max-width: 480px;
    margin-inline: auto;
  }

  .fixed-caption { gap: 2px; }
  .project-title { font-size: 12.5px; }
  .project-subtitle { font-size: 12px; }
}

@media (max-width: 390px) {
  .gallery-item { width: 96%; }
  .nav-frame {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  .language-button {
    min-width: 30px;
    font-size: .68rem;
    margin-left: 3px;
  }

  :is(html[lang="fa"], html[lang="ar"]) .language-button { font-size: .70rem; }

  .theme-button {
    width: 30px;
    height: 30px;
    margin-right: 3px;
  }

  .theme-icon-wrap,
  .theme-icon {
    width: 14px;
    height: 14px;
  }

  .theme-icon--moon {
    font-size: .86rem;
    line-height: 14px;
  }
}

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

  body.is-preload .brand-word { gap: .24em; opacity: 1; }
  body.is-preload .brand-char { transform: none !important; }

  .gallery-item {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================
   DESKTOP LAYOUT — locked final geometry
   Header is intentionally narrower than the project frame.
   This keeps the persistent navigation visually light while
   the project archive stays centered inside the page.
   ========================================================= */
@media (min-width: 1181px) {
  /* The menu rules sit inside the project frame instead of spanning it. */
  .site-header {
    max-width: 680px;
  }

  /* Keep EMKAN subtly close to the compact navigation. */
  .brand-home-link {
    transform: translateY(5px);
  }

  /* Thinner permanent navigation footprint. Both rules stay 1px. */
  .nav-frame {
    min-height: 34px;
    margin-top: 14px;
  }

  .primary-nav {
    padding-inline: 58px;
  }

  .nav-list {
    gap: clamp(12px, 1.45vw, 20px);
  }

  /* Wider desktop composition: less unused white space at both page edges. */
  .architecture-main {
    max-width: 1120px;
  }

  .projects-layout {
    width: 952px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: 648px 176px;
    column-gap: 0;
    justify-content: space-between;
  }

  html[lang="en"] .projects-layout {
    grid-template-columns: 176px 648px;
  }

  .category-panel {
    padding-inline: 0;
    padding-top: 10px;
  }

  /* Compact category rhythm; sticky behavior is unchanged. */
  .category-list li {
    margin-bottom: 3px;
  }

  /* Search is deliberately just a fine line, not a box. */
  .project-search {
    margin-bottom: 11px;
  }

  .project-search input {
    height: 27px;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
  }

  .gallery-items-container {
    grid-template-columns: repeat(3, 192px);
    justify-content: start;
    column-gap: 36px;
    row-gap: 32px;
  }

  .gallery-item {
    width: 100%;
    justify-self: stretch;
  }
}

/* Optional filter groups controlled from Architecture Admin. Hidden by default unless enabled in CMS. */
.dynamic-filter-group {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.filter-group-title {
  margin: 0 0 7px;
  color: var(--category-muted);
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.4;
}
.dynamic-filter-group ul { margin: 0; padding: 0; list-style: none; }
.dynamic-filter-group .category-button { font-size: .74rem; }

/* Arabic infrastructure is ready but hidden from the public language control until enabled. */
.lang-ar { display: none; }
html[lang="ar"] .lang-en,
html[lang="ar"] .lang-fa { display: none !important; }
html[lang="ar"] .lang-ar { display: inline !important; }
html[lang="ar"] body,
html[lang="ar"] .nav-link,
html[lang="ar"] .category-button,
html[lang="ar"] .category-toggle {
  font-family: var(--font-fa);
  direction: rtl;
}

/* Unified delicate scrollbar language for all scrollable areas. */
.category-list,
.gallery-items-container,
body {
  scrollbar-width: thin;
  scrollbar-color: var(--hover-accent) transparent;
}
.category-list::-webkit-scrollbar,
.gallery-items-container::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}
.category-list::-webkit-scrollbar-track,
.gallery-items-container::-webkit-scrollbar-track,
body::-webkit-scrollbar-track { background: transparent; }
.category-list::-webkit-scrollbar-thumb,
.gallery-items-container::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: var(--hover-accent);
  border-radius:0;
}


/* Shared EMKAN thin scrollbar language. */
html, body, .category-sidebar, .projects-grid {
  scrollbar-width: thin;
  scrollbar-color: var(--hover-accent) transparent;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.category-sidebar::-webkit-scrollbar,
.projects-grid::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
.category-sidebar::-webkit-scrollbar-track,
.projects-grid::-webkit-scrollbar-track {
  background: transparent;
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
.category-sidebar::-webkit-scrollbar-thumb,
.projects-grid::-webkit-scrollbar-thumb {
  background: var(--hover-accent);
  border-radius:0;
}


/* Final unified scrollbar rule: one native scrollbar, 2px maximum. */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--hover-accent, var(--accent, currentColor)) transparent;
}
*::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}
*::-webkit-scrollbar-track {
  background: transparent;
}
*::-webkit-scrollbar-thumb {
  background: var(--hover-accent, var(--accent, currentColor));
  border-radius:0;
}


/* Theme + language controls: quiet like unselected navigation text. */
.language-button,
.theme-button {
  opacity: .46 !important;
}
.language-button:hover,
.theme-button:hover,
.language-button:focus-visible,
.theme-button:focus-visible {
  opacity: .82 !important;
}


/* Horizontal overflow safety:
   page-level native horizontal scrollbars are never shown. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}


/* ===== Articles & Studies ===== */

/* =========================================================
   ARTICLES / STUDIES — reference composition, EMKAN styling
   ========================================================= */
.articles-main{
  width:100%;
  max-width:820px;
  margin:0 auto;
  padding-top:clamp(42px,6.5vh,76px);
}
.articles-controls{
  width:min(650px,100%);
  margin:0 auto clamp(34px,5vh,54px);
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(185px,240px);
  gap:14px;
  align-items:center;
}
.article-search,.article-category{position:relative;display:block;min-width:0}
.article-search input,.article-category select{
  width:100%;height:32px;margin:0;padding:0 34px 0 10px;
  border:1px solid var(--line);border-radius:0;background:transparent;color:var(--fg);
  font:inherit;font-size:10.5px;outline:0;transition:border-color .2s ease,color .2s ease,background-color var(--theme-duration) var(--theme-ease);
}
:is(html[lang="fa"],html[lang="ar"]) .article-search input,:is(html[lang="fa"],html[lang="ar"]) .article-category select{padding:0 10px 0 34px;text-align:right;direction:rtl}
html[lang="en"] .article-search input,html[lang="en"] .article-category select{text-align:left;direction:ltr}
.article-search input:hover,.article-search input:focus,.article-category select:hover,.article-category select:focus{border-color:var(--hover-accent)}
.control-icon,.select-chevron{position:absolute;top:50%;width:14px;height:14px;transform:translateY(-50%);fill:none;stroke:var(--category-muted);stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.control-icon{right:11px}.select-chevron{right:11px}
:is(html[lang="fa"],html[lang="ar"]) .control-icon,:is(html[lang="fa"],html[lang="ar"]) .select-chevron{right:auto;left:11px}
.article-category select{appearance:none;-webkit-appearance:none;cursor:pointer}
.articles-list{display:grid;gap:14px}
.article-row{position:relative;min-width:0;opacity:1;transform:translateY(0);transition:opacity 1.25s cubic-bezier(.22,.61,.36,1),transform 1.25s cubic-bezier(.22,.61,.36,1)}
.article-row.is-entering{opacity:0;transform:translateY(18px)}
.article-row-card{
  min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 138px;grid-template-areas:"content side";
  background:color-mix(in srgb,var(--fg) 3.5%,transparent);border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  transition:background-color .32s ease,border-color .32s ease;
}
:is(html[lang="fa"],html[lang="ar"]) .article-row-card{grid-template-columns:138px minmax(0,1fr);grid-template-areas:"side content"}
.article-row:hover .article-row-card,.article-row:focus-within .article-row-card,.article-row.is-open .article-row-card{background:color-mix(in srgb,var(--fg) 5.5%,transparent);border-color:color-mix(in srgb,var(--hover-accent) 32%,var(--line))}
.article-content{grid-area:content;min-width:0;padding:0 20px}
.article-title-button{appearance:none;width:100%;min-height:68px;padding:0;border:0;background:transparent;color:var(--fg);font:inherit;text-align:left;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px}
:is(html[lang="fa"],html[lang="ar"]) .article-title-button{text-align:right;direction:rtl}
.article-title{font-size:clamp(13px,1.15vw,16px);font-weight:590;line-height:1.6;transition:color .22s ease}
.article-title-button:hover .article-title,.article-row:focus-within .article-title{color:var(--hover-accent)}
.article-detail{display:grid;grid-template-rows:0fr;opacity:0;overflow:hidden;transition:grid-template-rows .48s cubic-bezier(.22,.61,.36,1),opacity .3s ease,padding .48s cubic-bezier(.22,.61,.36,1);padding:0}
.article-detail-inner{min-height:0;overflow:hidden}
.article-row:hover .article-detail,.article-row:focus-within .article-detail,.article-row.is-open .article-detail{grid-template-rows:1fr;opacity:1;padding-bottom:24px}
.article-content-rule{height:1px;background:var(--line);margin:0 0 15px}
.article-summary{color:var(--caption-sub);font-size:11px;line-height:2;text-align:left;direction:ltr}
:is(html[lang="fa"],html[lang="ar"]) .article-summary{text-align:right;direction:rtl;font-family:var(--font-fa)}
.article-summary-inner{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line}
.article-side{grid-area:side;min-width:0;padding:17px 14px 16px;border-left:1px solid var(--line);display:flex;flex-direction:column;justify-content:space-between;gap:22px;opacity:0;transform:translateX(6px);pointer-events:none;transition:opacity .32s ease,transform .48s cubic-bezier(.22,.61,.36,1),border-color .32s ease}
:is(html[lang="fa"],html[lang="ar"]) .article-side{border-left:0;border-right:1px solid var(--line);transform:translateX(-6px);direction:rtl;text-align:right}
.article-row:hover .article-side,.article-row:focus-within .article-side,.article-row.is-open .article-side{opacity:1;transform:translateX(0);pointer-events:auto}
.article-actions{display:grid;gap:7px}
.article-action{min-height:31px;padding:6px 9px;border:1px solid var(--line);border-radius:0;background:transparent;color:var(--category-muted);display:flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;font-size:9.5px;transition:color .2s ease,border-color .2s ease,background-color .2s ease}
.article-action:hover,.article-action:focus-visible{color:var(--hover-accent);border-color:var(--hover-accent);background:color-mix(in srgb,var(--hover-accent) 5%,transparent)}
.article-action svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}
.article-meta-stack{display:grid;gap:7px;color:var(--category-muted);font-size:9px;line-height:1.6}
.article-meta-item{display:flex;align-items:flex-start;gap:6px;min-width:0}
.article-meta-item svg{flex:0 0 auto;width:14px;height:14px;margin-top:1px;fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round;opacity:.72}
.article-meta-item span{min-width:0;overflow-wrap:anywhere}
.articles-empty{padding:42px 0;text-align:center;color:var(--category-muted);font-size:10px}
@media(max-width:900px){
  .articles-main{max-width:720px;padding-top:36px}
  .article-row-card,.article-row:hover .article-row-card,.article-row:focus-within .article-row-card,.article-row.is-open .article-row-card,:is(html[lang="fa"],html[lang="ar"]) .article-row-card{grid-template-columns:1fr;grid-template-areas:"content" "side"}
  .article-content{padding:0 16px}
  .article-side,:is(html[lang="fa"],html[lang="ar"]) .article-side{border-left:0;border-right:0;border-top:1px solid var(--line);padding:12px 16px 14px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:14px;transform:translateY(-4px)}
  .article-row:hover .article-side,.article-row:focus-within .article-side,.article-row.is-open .article-side{transform:translateY(0)}
  .article-actions{display:flex;gap:7px}.article-action{min-width:92px}
  .article-meta-stack{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px 16px}
  :is(html[lang="fa"],html[lang="ar"]) .article-meta-stack{justify-content:flex-start}
}
@media(max-width:620px){
  .articles-main{padding-top:28px}
  .articles-controls{width:100%;grid-template-columns:1fr;gap:8px;margin-bottom:30px}
  .article-title-button{min-height:62px}
  .article-title{font-size:13px}
  .article-side,:is(html[lang="fa"],html[lang="ar"]) .article-side{grid-template-columns:1fr;gap:12px}
  .article-actions{width:100%}.article-action{flex:1;min-width:0}
  .article-meta-stack,.article-meta-stack:is(html[lang="fa"],html[lang="ar"] *){justify-content:flex-start}
  .article-summary-inner{-webkit-line-clamp:5}
}
@media(hover:none){.article-row:not(.is-open) .article-side{opacity:0;pointer-events:none}.article-row:not(.is-open) .article-detail{grid-template-rows:0fr;opacity:0}}


/* EMKAN GLOBAL SQUARE CORNERS — no rounded UI anywhere */
*,*::before,*::after{border-radius:0!important}

/* Minimal language selector: fixed-width current code + tiny linear popover */
.language-button{min-width:30px!important;width:30px!important;text-align:center!important;letter-spacing:.08em!important}
.language-popover{position:fixed;z-index:5000;display:flex;gap:0;border:1px solid var(--line);background:var(--bg);color:var(--fg);box-shadow:0 8px 24px rgba(0,0,0,.08)}
.language-popover[hidden]{display:none!important}
.language-choice{min-width:34px;height:28px;padding:0 7px;border:0;border-inline-end:1px solid var(--line);background:transparent;color:var(--category-muted,var(--fg));font-family:var(--font-en);font-size:9px;letter-spacing:.08em;cursor:pointer}
.language-choice:last-child{border-inline-end:0}
.language-choice:hover,.language-choice:focus-visible,.language-choice.is-active{color:var(--hover-accent);outline:0}

/* Final article controls: thin, linear, readable in both themes */
.article-search input,.article-category select{
  height:32px!important;
  border:1px solid var(--line)!important;
  background:color-mix(in srgb,var(--bg) 94%,var(--fg) 6%)!important;
  color:var(--fg)!important;
  box-shadow:none!important;
}
.article-search input::placeholder{color:var(--category-muted)!important;opacity:.92}
.article-category select option{
  background:var(--bg)!important;
  color:var(--fg)!important;
}
.control-icon,.select-chevron{color:var(--category-muted)!important;stroke:currentColor!important}
.article-search:focus-within input,.article-category:focus-within select,
.article-search:hover input,.article-category:hover select{border-color:var(--hover-accent)!important;color:var(--fg)!important}
html[data-theme="dark"] .article-search input,
html[data-theme="dark"] .article-category select{background:#161a20!important;color:#f1f3f5!important}
html[data-theme="dark"] .article-category select option{background:#111419!important;color:#f1f3f5!important}


/* Final EMKAN language rail: no floating box, only typography and hairlines. */
.language-popover{display:none!important}
.language-rail{position:relative;display:inline-flex;align-items:center}
.language-button{min-width:30px!important;width:30px!important;text-align:center!important;letter-spacing:.10em!important;font-family:var(--font-en)!important}
.language-rail-options{position:absolute;top:50%;inset-inline-end:calc(100% + 8px);height:28px;display:flex;align-items:center;opacity:0;visibility:hidden;pointer-events:none;transform:translate3d(6px,-50%,0);transition:opacity .20s ease,transform .32s cubic-bezier(.22,.61,.36,1),visibility 0s linear .32s}
.language-rail-options::after{content:"";position:absolute;top:50%;inset-inline-end:-8px;width:8px;height:1px;background:var(--line)}
.language-rail.is-open .language-rail-options{opacity:1;visibility:visible;pointer-events:auto;transform:translate3d(0,-50%,0);transition-delay:0s}
.language-rail-choice{position:relative;width:31px;height:28px;padding:0;border:0!important;background:transparent!important;color:var(--category-muted,var(--fg));font-family:var(--font-en)!important;font-size:9px;font-weight:500;line-height:28px;letter-spacing:.10em;text-align:center;cursor:pointer;transition:color .18s ease,opacity .18s ease}
.language-rail-choice + .language-rail-choice::before{content:"";position:absolute;inset-inline-start:0;top:8px;width:1px;height:12px;background:var(--line)}
.language-rail-choice:hover,.language-rail-choice:focus-visible{color:var(--hover-accent);outline:0}
@media(max-width:720px){
  .language-rail-options{top:calc(100% + 7px);inset-inline-end:0;transform:translate3d(0,-4px,0);background:var(--bg);border-top:1px solid var(--line)}
  .language-rail.is-open .language-rail-options{transform:translate3d(0,0,0)}
  .language-rail-options::after{display:none}
}

/* Final article interactions: lines and typography only. */
.article-row-card{background:transparent!important;box-shadow:none!important;border-top:1px solid var(--line)!important;border-bottom:1px solid var(--line)!important}
.article-row:hover .article-row-card,.article-row:focus-within .article-row-card,.article-row.is-open .article-row-card{background:transparent!important;border-color:var(--line-strong)!important}
.article-title-button:hover,.article-title-button:focus-visible{background:transparent!important}
.article-title-button:hover .article-title,.article-row:focus-within .article-title,.article-row.is-open .article-title{color:var(--hover-accent)!important}
.article-content-rule{background:var(--line)!important;transition:background-color .22s ease!important}
.article-row:hover .article-content-rule,.article-row:focus-within .article-content-rule,.article-row.is-open .article-content-rule{background:var(--hover-accent)!important}
.article-action{background:transparent!important}
.article-action:hover,.article-action:focus-visible{background:transparent!important;color:var(--hover-accent)!important;border-color:var(--hover-accent)!important}
.article-search input,.article-category select{background:transparent!important;border:0!important;border-bottom:1px solid var(--line)!important;box-shadow:none!important}
.article-search:hover input,.article-category:hover select,.article-search:focus-within input,.article-category:focus-within select{background:transparent!important;border-bottom-color:var(--hover-accent)!important}
.article-search input::placeholder{color:var(--category-muted)!important;opacity:.88}
html[data-theme="dark"] .article-search input,html[data-theme="dark"] .article-category select{background:transparent!important;color:var(--fg)!important}
html[data-theme="dark"] .article-category select option{background:var(--bg)!important;color:var(--fg)!important}


/* v15 language control
   2 languages = direct one-click swap.
   3 languages = floating hairline rail, without moving the header button. */
.language-rail{display:contents!important}
.language-rail-options--floating{
  position:fixed!important;
  z-index:9000;
  display:flex;
  align-items:center;
  height:28px;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .18s ease;
}
.language-rail-options--floating[hidden]{display:none!important}
.language-rail-options--floating.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.language-rail-options--floating::before{
  content:"";
  position:absolute;
  top:50%;
  width:11px;
  height:1px;
  background:var(--line);
}
.language-rail-options--floating[data-side="right"]::before{right:100%}
.language-rail-options--floating[data-side="left"]::before{left:100%}
.language-rail-choice{
  position:relative;
  width:31px;
  height:28px;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  color:var(--category-muted,var(--fg));
  font-family:var(--font-en)!important;
  font-size:9px;
  font-weight:500;
  line-height:28px;
  letter-spacing:.10em;
  text-align:center;
  cursor:pointer;
  transition:color .18s ease,opacity .18s ease;
}
.language-rail-choice + .language-rail-choice::before{
  content:"";
  position:absolute;
  inset-inline-start:0;
  top:8px;
  width:1px;
  height:12px;
  background:var(--line);
}
.language-rail-choice:hover,
.language-rail-choice:focus-visible{
  color:var(--hover-accent);
  outline:0;
}

/* Keep the language trigger physically in the exact original header position.
   RTL must never relocate it or create a zero-width wrapper offset. */
html[lang="fa"] .language-button,
html[lang="ar"] .language-button{
  left:13px!important;
  right:auto!important;
}


/* v16 language selector
   2 languages: direct toggle.
   3 languages: narrow vertical hairline stack — never collides with adjacent header items. */
.language-rail-options,
.language-rail-options--floating{display:none!important}
.language-stack-options{
  position:fixed!important;
  z-index:10000;
  width:32px;
  display:grid;
  grid-template-columns:1fr;
  align-items:center;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .18s ease;
}
.language-stack-options[hidden]{display:none!important}
.language-stack-options.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.language-stack-options::before{
  content:"";
  position:absolute;
  left:50%;
  width:1px;
  height:10px;
  transform:translateX(-50%);
  background:var(--line);
}
.language-stack-options[data-side="bottom"]::before{bottom:100%}
.language-stack-options[data-side="top"]::before{top:100%}
.language-stack-choice{
  position:relative;
  width:32px;
  height:27px;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:var(--bg)!important;
  color:var(--category-muted,var(--fg));
  font-family:var(--font-en)!important;
  font-size:9px;
  font-weight:500;
  line-height:27px;
  letter-spacing:.10em;
  text-align:center;
  cursor:pointer;
  transition:color .18s ease,opacity .18s ease;
}
.language-stack-choice + .language-stack-choice::before{
  content:"";
  position:absolute;
  left:8px;
  right:8px;
  top:0;
  height:1px;
  background:var(--line);
}
.language-stack-choice:hover,
.language-stack-choice:focus-visible{
  color:var(--hover-accent);
  outline:0;
}
html[lang="fa"] .language-button,
html[lang="ar"] .language-button{
  left:13px!important;
  right:auto!important;
}


/* v17 fixed language micro-dial — nothing expands outside the trigger. */
.language-stack-options,
.language-rail-options,
.language-rail-options--floating,
.language-popover{display:none!important}
.language-button{
  left:13px!important;
  right:auto!important;
  top:50%;
  width:38px!important;
  min-width:38px!important;
  height:32px!important;
  padding:0!important;
  transform:translateY(-50%)!important;
  display:grid!important;
  grid-template-rows:17px 5px!important;
  align-content:center!important;
  justify-items:center!important;
  gap:2px!important;
  overflow:hidden!important;
  font-family:var(--font-en)!important;
  background:transparent!important;
}
.language-code{
  display:block;
  min-width:24px;
  color:currentColor;
  font-size:9px;
  font-weight:520;
  line-height:17px;
  letter-spacing:.11em;
  text-align:center;
}
.language-steps{
  width:24px;
  height:3px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:3px;
}
.language-step{
  display:block;
  width:4px;
  height:1px;
  background:var(--line-strong,var(--line));
  opacity:.45;
  transition:width .22s ease,opacity .18s ease,background-color .18s ease;
}
.language-step.is-active{
  width:8px;
  opacity:.95;
  background:var(--hover-accent);
}
.language-button:hover .language-step.is-active,
.language-button:focus-visible .language-step.is-active{width:11px}
html[lang="fa"] .language-button,
html[lang="ar"] .language-button{
  left:13px!important;
  right:auto!important;
  direction:ltr!important;
}


/* v18 language utility: globe + current code, fixed next to theme, no expanding UI. */
.language-stack-options,.language-rail-options,.language-rail-options--floating,.language-popover,.language-steps{display:none!important}
.language-button{
  position:absolute!important;top:50%!important;left:auto!important;right:52px!important;
  width:48px!important;min-width:48px!important;height:32px!important;padding:0!important;
  transform:translateY(-50%)!important;display:inline-flex!important;align-items:center!important;
  justify-content:center!important;gap:5px!important;overflow:hidden!important;background:transparent!important;
  color:var(--fg)!important;direction:ltr!important;font-family:var(--font-en)!important
}
.language-globe{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;opacity:.72}
.language-code{font-size:8.5px;font-weight:520;letter-spacing:.08em;line-height:1}
.language-button:hover,.language-button:focus-visible{color:var(--hover-accent)!important;opacity:1!important}
.primary-nav{padding-inline:104px!important}
@media(max-width:900px){
  .nav-frame{grid-template-columns:56px minmax(0,1fr) 88px!important;grid-template-areas:"toggle toggle utilities" "nav nav nav"!important;overflow:visible!important}
  .mobile-menu-button{grid-area:toggle!important;justify-self:start!important;margin-inline-start:8px!important}
  .language-button{top:23px!important;right:43px!important}
  .theme-button{position:absolute!important;top:23px!important;right:7px!important;left:auto!important;transform:translateY(-50%)!important}
  .primary-nav{padding-inline:0!important}
}

.articles-main--sidebar{width:100%;max-width:940px;margin:0 auto;padding-top:clamp(42px,6.5vh,76px)}
.articles-layout{display:grid;grid-template-columns:minmax(0,1fr) 168px;grid-template-areas:"content tools";gap:clamp(36px,5vw,58px);align-items:start}
html[lang="en"] .articles-layout{grid-template-columns:168px minmax(0,1fr);grid-template-areas:"tools content"}
.articles-tools{grid-area:tools;position:sticky;top:18px;min-width:0;padding-top:2px}
.articles-content-column{grid-area:content;min-width:0}
.articles-tools-heading{padding-bottom:10px;margin-bottom:14px;border-bottom:1px solid var(--line);color:var(--category-muted);font-size:9px}
.article-search--side,.article-category--side{width:100%!important;margin:0!important}
.article-search--side{position:relative;display:block;margin-bottom:22px!important}
.article-search--side input{width:100%;min-height:32px;padding-inline-start:23px!important;padding-inline-end:0!important;border:0!important;border-bottom:1px solid var(--line)!important;background:transparent!important;color:var(--fg)!important}
.article-search--side .control-icon{position:absolute;inset-inline-start:0;top:50%;width:13px;height:13px;transform:translateY(-50%)}
.article-category--side{position:relative;display:grid;gap:6px}
.articles-tool-label{color:var(--category-muted);font-size:8px}
.article-category--side select{width:100%;min-height:32px;padding-inline:0 17px!important;border:0!important;border-bottom:1px solid var(--line)!important;background:transparent!important;color:var(--fg)!important}
.article-category--side .select-chevron{position:absolute;inset-inline-end:0;bottom:10px;width:10px;height:10px}
.articles-list{gap:0!important}
.article-row-card{border-top:0!important;border-bottom:1px solid var(--line)!important}
.article-row:first-child .article-row-card{border-top:1px solid var(--line)!important}
.article-row:hover .article-row-card,.article-row:focus-within .article-row-card,.article-row.is-open .article-row-card{border-color:var(--line)!important;background:transparent!important}
.article-row:hover .article-content-rule,.article-row:focus-within .article-content-rule,.article-row.is-open .article-content-rule{background:var(--line)!important}
.article-title,.article-action{transition:color .18s ease!important}
.article-row:hover .article-title,.article-row:focus-within .article-title,.article-row.is-open .article-title,.article-action:hover,.article-action:focus-visible{color:var(--hover-accent)!important}
.article-action:hover,.article-action:focus-visible{border-color:var(--line)!important;background:transparent!important}
@media(max-width:800px){.articles-main--sidebar{max-width:720px}.articles-layout,html[lang="en"] .articles-layout{display:block}.articles-tools{position:static;display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,220px);gap:14px;margin-bottom:34px;padding-top:0}.articles-tools-heading{grid-column:1/-1;margin-bottom:0}.article-search--side{margin-bottom:0!important}}
@media(max-width:560px){.articles-tools{grid-template-columns:1fr}.articles-tools-heading{grid-column:1}}


:where(.nav-link,.menu-item,.article-action,.map-link,.footerline-side a,.message-entry,.contact-signal-row,.people-group-button,.back-link,.category-button):hover,
:where(.nav-link,.menu-item,.article-action,.map-link,.footerline-side a,.message-entry,.contact-signal-row,.people-group-button,.back-link,.category-button):focus-visible{color:var(--hover-accent)!important;background:transparent!important}


.language-stack-options,.language-rail-options,.language-rail-options--floating,.language-popover,.language-steps,.language-globe{display:none!important}
.language-button{position:absolute!important;top:50%!important;left:12px!important;right:auto!important;width:auto!important;min-width:0!important;height:32px!important;padding:0 2px!important;transform:translateY(-50%)!important;display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:0!important;overflow:visible!important;background:transparent!important;color:var(--category-muted,var(--fg))!important;direction:ltr!important;font-family:var(--font-en)!important;border:0!important;box-shadow:none!important}
.language-direct-choice{min-width:23px;height:28px;display:inline-flex;align-items:center;justify-content:center;color:var(--category-muted,var(--fg));font-size:8px;font-weight:500;line-height:1;letter-spacing:.08em;transition:color .18s ease}
.language-direct-divider{width:1px;height:11px;display:block;background:var(--line)}
.language-direct-choice:hover,.language-direct-choice.is-active{color:var(--hover-accent)!important}
.primary-nav{padding-inline:94px!important}
html[lang="fa"] .language-button,html[lang="ar"] .language-button{left:12px!important;right:auto!important;direction:ltr!important}
@media(max-width:900px){
.nav-frame{display:grid!important;grid-template-columns:88px minmax(0,1fr) 48px!important;grid-template-areas:"lang toggle theme" "nav nav nav"!important;align-items:center!important;overflow:hidden!important}
.language-button{position:static!important;grid-area:lang!important;transform:none!important;justify-self:start!important;margin-left:5px!important}
.theme-button{position:static!important;grid-area:theme!important;transform:none!important;justify-self:end!important;margin-right:7px!important}
.mobile-menu-button{grid-area:toggle!important;justify-self:center!important;margin:0!important}
.primary-nav{padding-inline:0!important}}


:root,html[data-theme="light"],html[data-theme="dark"]{--hover-accent:#6f9fb2!important;--accent:#6f9fb2!important;--caption-hover-title:#6f9fb2!important;--caption-hover-sub:#6f9fb2!important}
:where(.nav-link,.menu-item,.category-button,.category-toggle,.article-title-button,.article-action,.people-group-button,.contact-signal-row,.message-entry,.map-link,.footerline-side a,.back-link,.theme-button,.language-button):hover,
:where(.nav-link,.menu-item,.category-button,.category-toggle,.article-title-button,.article-action,.people-group-button,.contact-signal-row,.message-entry,.map-link,.footerline-side a,.back-link,.theme-button,.language-button):focus-visible{color:var(--hover-accent)!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.category-button.is-active,.people-group-button.is-active,.article-row:hover .article-title,.article-row:focus-within .article-title,.article-row.is-open .article-title,.person-card:hover .person-card-name{color:var(--hover-accent)!important}
:where(.category-button,.category-toggle,.article-action,.contact-signal-row,.message-entry,.map-link,.people-group-button):hover,
:where(.category-button,.category-toggle,.article-action,.contact-signal-row,.message-entry,.map-link,.people-group-button):focus-visible{border-color:var(--line)!important}
.article-search input:hover,.article-search input:focus,.article-category select:hover,.article-category select:focus{background:transparent!important;box-shadow:none!important;border-bottom-color:var(--hover-accent)!important}

.articles-main--balanced{width:100%;max-width:920px;margin:0 auto;padding-top:clamp(42px,6.5vh,76px)}
.articles-utility-line{width:100%;display:grid;grid-template-columns:minmax(155px,190px) minmax(80px,1fr) minmax(210px,270px);grid-template-areas:"category axis search";gap:24px;align-items:end;margin:0 auto clamp(42px,6vh,62px)}
html[lang="en"] .articles-utility-line{grid-template-areas:"search axis category";grid-template-columns:minmax(210px,270px) minmax(80px,1fr) minmax(155px,190px)}
.article-category--balanced{grid-area:category}.article-search--balanced{grid-area:search}.articles-utility-axis{grid-area:axis;height:32px;display:flex;align-items:flex-end;padding-bottom:8px}.articles-utility-axis>span{width:100%;height:1px;background:var(--line)}
.article-category--balanced,.article-search--balanced{width:100%!important;margin:0!important;position:relative}.articles-tool-label{display:block;margin-bottom:5px;color:var(--category-muted);font-size:8px}
.article-category--balanced select{width:100%;height:31px;padding:0 0 0 18px!important;border:0!important;border-bottom:1px solid var(--line)!important;background:transparent!important;color:var(--fg)!important;box-shadow:none!important}
.article-category--balanced .select-chevron{position:absolute;inset-inline-end:0;bottom:10px;width:9px;height:9px}
.article-search--balanced input{width:100%;height:31px;padding-inline-start:22px!important;padding-inline-end:0!important;border:0!important;border-bottom:1px solid var(--line)!important;background:transparent!important;color:var(--fg)!important;box-shadow:none!important}
.article-search--balanced .control-icon{position:absolute;inset-inline-start:0;bottom:9px;width:12px;height:12px}
.articles-content-column--centered{width:min(760px,100%);margin:0 auto}.articles-list{gap:0!important}.article-row-card{border-top:0!important;border-bottom:1px solid var(--line)!important;background:transparent!important;box-shadow:none!important}.article-row:first-child .article-row-card{border-top:1px solid var(--line)!important}
@media(max-width:580px){.articles-utility-line,html[lang="en"] .articles-utility-line{grid-template-columns:1fr 1fr;grid-template-areas:"category search";gap:18px}html[lang="en"] .articles-utility-line{grid-template-areas:"search category"}.articles-utility-axis{display:none}}
@media(max-width:430px){.articles-utility-line,html[lang="en"] .articles-utility-line{grid-template-columns:1fr;grid-template-areas:"search" "category";gap:18px}}

/* =========================================================
   ARTICLES v20 — tools on one side; side follows language.
   Categories are text/hairline choices, never a select box.
   ========================================================= */
.articles-main--tools-side{
  width:100%;
  max-width:940px;
  margin:0 auto;
  padding-top:clamp(42px,6.5vh,76px);
}
.articles-layout-side{
  display:grid;
  grid-template-columns:minmax(0,1fr) 172px;
  grid-template-areas:"content tools";
  gap:clamp(38px,5vw,62px);
  align-items:start;
}
html[lang="en"] .articles-layout-side{
  grid-template-columns:172px minmax(0,1fr);
  grid-template-areas:"tools content";
}
.articles-tools-side{
  grid-area:tools;
  position:sticky;
  top:18px;
  min-width:0;
}
.articles-content-column--side{
  grid-area:content;
  min-width:0;
  width:min(760px,100%);
}
.article-search--side-v20{
  position:relative;
  display:block;
  width:100%!important;
  margin:0 0 28px!important;
}
.article-search--side-v20 input{
  width:100%;
  height:32px;
  padding-inline:22px 0!important;
  border:0!important;
  border-bottom:1px solid var(--line)!important;
  background:transparent!important;
  color:var(--fg)!important;
  box-shadow:none!important;
}
.article-search--side-v20 .control-icon{
  position:absolute;
  inset-inline-start:0;
  bottom:9px;
  width:12px;
  height:12px;
  color:var(--category-muted);
}
.article-category-block{
  padding-top:2px;
}
.articles-tool-label{
  display:block;
  margin-bottom:9px;
  color:var(--category-muted);
  font-size:8px;
}
.article-category-list{
  display:grid;
  border-top:1px solid var(--line);
}
.article-category-choice{
  position:relative;
  min-height:34px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:9px;
  padding:0!important;
  border:0!important;
  border-bottom:1px solid var(--line)!important;
  background:transparent!important;
  color:var(--category-muted);
  font-size:9px;
  text-align:start;
  cursor:pointer;
  box-shadow:none!important;
  transition:color .18s ease;
}
.article-category-choice::after{
  content:"";
  width:10px;
  height:1px;
  flex:0 0 auto;
  background:var(--line);
  transition:width .25s ease,background-color .18s ease;
}
.article-category-choice:hover,
.article-category-choice:focus-visible,
.article-category-choice.is-active{
  color:var(--hover-accent)!important;
  background:transparent!important;
  outline:0!important;
  box-shadow:none!important;
}
.article-category-choice:hover::after,
.article-category-choice:focus-visible::after,
.article-category-choice.is-active::after{
  width:22px;
  background:var(--hover-accent);
}
.articles-list{gap:0!important}
.article-row-card{
  background:transparent!important;
  box-shadow:none!important;
  border-top:0!important;
  border-bottom:1px solid var(--line)!important;
}
.article-row:first-child .article-row-card{border-top:1px solid var(--line)!important}
.article-row:hover .article-row-card,
.article-row:focus-within .article-row-card,
.article-row.is-open .article-row-card{
  background:transparent!important;
  border-color:var(--line)!important;
  box-shadow:none!important;
}
.article-row:hover .article-title,
.article-row:focus-within .article-title,
.article-row.is-open .article-title{
  color:var(--hover-accent)!important;
}
.article-row:hover .article-content-rule,
.article-row:focus-within .article-content-rule,
.article-row.is-open .article-content-rule{background:var(--line)!important}

@media(max-width:800px){
  .articles-main--tools-side{max-width:720px}
  .articles-layout-side,
  html[lang="en"] .articles-layout-side{
    display:block;
  }
  .articles-tools-side{
    position:static;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(170px,230px);
    gap:24px;
    margin-bottom:36px;
  }
  .article-search--side-v20{margin:0!important}
}
@media(max-width:560px){
  .articles-tools-side{grid-template-columns:1fr}
}


/* v20 public hover safety: one accent, no hover shadows, no filled hover cards. */
:root,html[data-theme="light"],html[data-theme="dark"]{
  --hover-accent:#6f9fb2!important;
  --accent:#6f9fb2!important;
}
a:hover,a:focus-visible,
button:hover,button:focus-visible{
  box-shadow:none!important;
}
:where(.nav-link,.menu-item,.category-button,.article-category-choice,.article-action,.practice-button,.people-group-button,.contact-signal-row,.message-entry,.map-link,.back-link):hover,
:where(.nav-link,.menu-item,.category-button,.article-category-choice,.article-action,.practice-button,.people-group-button,.contact-signal-row,.message-entry,.map-link,.back-link):focus-visible{
  color:var(--hover-accent)!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* =========================================================
   ARTICLES v21 — search + category live in one Architecture-style side panel.
   FA/AR: right side. EN: left side.
   Category dropdown is borderless and text-only.
   ========================================================= */
.articles-main--architecture-tools{
  width:100%;
  max-width:952px;
  margin:0 auto;
  padding-top:clamp(42px,6.5vh,76px);
}
.articles-layout-architecture{
  width:100%;
  display:grid;
  direction:ltr;
  grid-template-columns:minmax(0,1fr) 176px;
  grid-template-areas:"content categories";
  column-gap:0;
  justify-content:space-between;
  align-items:start;
}
html[lang="en"] .articles-layout-architecture{
  grid-template-columns:176px minmax(0,1fr);
  grid-template-areas:"categories content";
}
.article-category-panel{
  grid-area:categories;
  position:sticky;
  top:24px;
  align-self:start;
  min-width:0;
  padding-top:10px;
  text-align:right;
  direction:rtl;
}
html[lang="en"] .article-category-panel{
  text-align:left;
  direction:ltr;
}
.articles-content-column--architecture{
  grid-area:content;
  width:648px;
  max-width:100%;
  min-width:0;
}

/* Search: exactly the same visual rhythm as Architecture. */
.article-project-search{
  width:100%;
  margin:0 0 11px;
  position:relative;
  display:block;
}
.article-project-search input{
  width:100%;
  height:27px;
  padding:0 2px 2px 26px;
  border:0!important;
  border-bottom:1px solid var(--line)!important;
  outline:0;
  background:transparent!important;
  color:var(--category);
  font:inherit;
  font-size:clamp(10.5px,.76vw,12px);
  font-weight:400;
  opacity:.72;
  box-shadow:none!important;
  transition:border-color 420ms var(--theme-ease),color var(--theme-duration) var(--theme-ease),opacity 420ms ease;
}
html[lang="en"] .article-project-search input{
  direction:ltr;
  text-align:left;
  padding:0 26px 2px 2px;
  font-family:var(--font-en);
}
:is(html[lang="fa"],html[lang="ar"]) .article-project-search input{
  direction:rtl;
  text-align:right;
  font-family:var(--font-fa);
}
.article-project-search input::placeholder{
  color:var(--category-muted);
  opacity:.62;
}
.article-project-search input:hover,
.article-project-search input:focus{
  border-bottom-color:var(--hover-accent)!important;
  opacity:1;
}
.article-search-icon{
  position:absolute;
  z-index:1;
  top:50%;
  left:8px;
  right:auto;
  width:13px;
  height:13px;
  color:var(--category-muted);
  opacity:.62;
  transform:translateY(-50%);
  pointer-events:none;
}
html[lang="en"] .article-search-icon{
  left:auto;
  right:8px;
}
.article-search-icon circle,
.article-search-icon path{
  fill:none;
  stroke:currentColor;
  stroke-width:1.55;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* Category trigger: no box, no fill, no heavy line. */
.article-category-toggle{
  appearance:none;
  width:100%;
  min-height:32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:0!important;
  border:0!important;
  border-bottom:1px solid var(--line)!important;
  background:transparent!important;
  color:var(--category-muted);
  font:inherit;
  font-size:clamp(12px,.92vw,15px);
  font-weight:400;
  line-height:1.45;
  text-align:inherit;
  cursor:pointer;
  box-shadow:none!important;
}
.article-category-toggle:hover,
.article-category-toggle:focus-visible,
.article-category-toggle[aria-expanded="true"]{
  color:var(--hover-accent)!important;
  background:transparent!important;
  box-shadow:none!important;
  outline:0!important;
}
.article-category-chevron{
  position:relative;
  width:10px;
  height:10px;
  flex:0 0 auto;
}
.article-category-chevron::before,
.article-category-chevron::after{
  content:"";
  position:absolute;
  top:5px;
  width:6px;
  height:1px;
  background:currentColor;
  transition:transform .22s ease;
}
.article-category-chevron::before{left:0;transform:rotate(40deg)}
.article-category-chevron::after{right:0;transform:rotate(-40deg)}
.article-category-toggle[aria-expanded="true"] .article-category-chevron::before{transform:rotate(-40deg)}
.article-category-toggle[aria-expanded="true"] .article-category-chevron::after{transform:rotate(40deg)}

.article-category-list{
  margin-top:10px;
  max-height:min(48vh,360px);
  overflow:auto;
  scrollbar-width:thin;
  scrollbar-color:var(--hover-accent) transparent;
}
.article-category-list[hidden]{display:none!important}
.article-category-list ul{
  list-style:none;
  padding:0;
  margin:0;
}
.article-category-list li{margin:0 0 4px}
.article-category-choice{
  appearance:none;
  display:inline-block;
  max-width:100%;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:var(--category-muted);
  cursor:pointer;
  text-align:inherit;
  font:inherit;
  font-size:clamp(12px,.92vw,15px);
  font-weight:400;
  line-height:1.45;
  box-shadow:none!important;
  transition:color 180ms ease,font-weight 180ms ease,transform 180ms ease;
}
.article-category-choice:hover,
.article-category-choice:focus-visible{
  color:var(--hover-accent)!important;
  transform:translateY(-1px);
  background:transparent!important;
  outline:0!important;
}
.article-category-choice.is-active{
  color:var(--hover-accent)!important;
  font-weight:700;
}

.articles-list{gap:0!important}
.article-row-card{
  background:transparent!important;
  box-shadow:none!important;
  border-top:0!important;
  border-bottom:1px solid var(--line)!important;
}
.article-row:first-child .article-row-card{border-top:1px solid var(--line)!important}
.article-row:hover .article-row-card,
.article-row:focus-within .article-row-card,
.article-row.is-open .article-row-card{
  background:transparent!important;
  box-shadow:none!important;
  border-color:var(--line)!important;
}
.article-row:hover .article-title,
.article-row:focus-within .article-title,
.article-row.is-open .article-title{color:var(--hover-accent)!important}
.article-row:hover .article-content-rule,
.article-row:focus-within .article-content-rule,
.article-row.is-open .article-content-rule{background:var(--line)!important}

@media(max-width:900px){
  .articles-main--architecture-tools{max-width:760px}
  .articles-layout-architecture,
  html[lang="en"] .articles-layout-architecture{
    grid-template-columns:1fr;
    grid-template-areas:"categories" "content";
    gap:30px;
  }
  .article-category-panel{
    position:static;
    width:min(360px,100%);
    justify-self:end;
    padding-top:0;
  }
  html[lang="en"] .article-category-panel{justify-self:start}
  .articles-content-column--architecture{width:100%}
}
@media(max-width:560px){
  .article-category-panel,
  html[lang="en"] .article-category-panel{
    width:100%;
    justify-self:stretch;
  }
}

/* =========================================================
   v22 ARTICLE CATEGORY RHYTHM
   Remove inherited duplicate line and old 34px item height.
   ========================================================= */
.article-category-toggle{
  min-height:29px!important;
  font-size:clamp(10.5px,.76vw,12px)!important;
  font-weight:400!important;
  border-top:0!important;
  border-right:0!important;
  border-left:0!important;
  border-bottom:1px solid var(--line)!important;
  box-shadow:none!important;
}
.article-category-list{
  margin-top:5px!important;
  padding-top:0!important;
  border:0!important;
  border-top:0!important;
  box-shadow:none!important;
}
.article-category-list ul{
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-top:0!important;
}
.article-category-list li{
  margin:0 0 1px!important;
  padding:0!important;
  min-height:0!important;
  border:0!important;
}
.article-category-choice{
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:1px 0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:clamp(10.5px,.76vw,12px)!important;
  font-weight:400!important;
  line-height:1.38!important;
}
.article-category-choice.is-active{
  font-weight:600!important;
}
.article-category-choice:hover,
.article-category-choice:focus-visible{
  transform:none!important;
}

/* =========================================================
   v23 ARTICLES — compact closed rows.
   Closed: title only.
   Hover/focus/open: summary + actions + metadata expand.
   ========================================================= */
.article-row-card,
:is(html[lang="fa"],html[lang="ar"]) .article-row-card{
  grid-template-columns:minmax(0,1fr) 0fr!important;
  grid-template-areas:"content side"!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:hidden!important;
  transition:grid-template-columns .46s cubic-bezier(.22,.61,.36,1),border-color .22s ease!important;
}
:is(html[lang="fa"],html[lang="ar"]) .article-row-card{
  grid-template-columns:0fr minmax(0,1fr)!important;
  grid-template-areas:"side content"!important;
}

.article-title-button{
  min-height:50px!important;
}
.article-content{
  padding-inline:16px!important;
}

/* Side rail must not contribute any height or width while the row is closed. */
.article-side,
:is(html[lang="fa"],html[lang="ar"]) .article-side{
  min-width:0!important;
  max-height:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  opacity:0!important;
  visibility:hidden!important;
  transform:none!important;
  pointer-events:none!important;
  gap:0!important;
  transition:max-height .42s cubic-bezier(.22,.61,.36,1),padding .42s cubic-bezier(.22,.61,.36,1),opacity .22s ease!important;
}

/* Expand on desktop hover/focus, and on explicit .is-open for touch/keyboard. */
.article-row:hover .article-row-card,
.article-row:focus-within .article-row-card,
.article-row.is-open .article-row-card{
  grid-template-columns:minmax(0,1fr) 138px!important;
}
:is(html[lang="fa"],html[lang="ar"]) .article-row:hover .article-row-card,
:is(html[lang="fa"],html[lang="ar"]) .article-row:focus-within .article-row-card,
:is(html[lang="fa"],html[lang="ar"]) .article-row.is-open .article-row-card{
  grid-template-columns:138px minmax(0,1fr)!important;
}

.article-row:hover .article-side,
.article-row:focus-within .article-side,
.article-row.is-open .article-side,
:is(html[lang="fa"],html[lang="ar"]) .article-row:hover .article-side,
:is(html[lang="fa"],html[lang="ar"]) .article-row:focus-within .article-side,
:is(html[lang="fa"],html[lang="ar"]) .article-row.is-open .article-side{
  max-height:260px!important;
  padding:14px 12px!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  gap:18px!important;
}

/* Content detail is fully collapsed by default; only title remains visible. */
.article-detail{
  grid-template-rows:0fr!important;
  opacity:0!important;
  padding:0!important;
  overflow:hidden!important;
}
.article-row:hover .article-detail,
.article-row:focus-within .article-detail,
.article-row.is-open .article-detail{
  grid-template-rows:1fr!important;
  opacity:1!important;
  padding-bottom:18px!important;
}

/* Keep actions quiet and consistent with the rest of EMKAN. */
.article-action,
.article-action:hover,
.article-action:focus-visible{
  background:transparent!important;
  box-shadow:none!important;
}
.article-action:hover,
.article-action:focus-visible{
  color:var(--hover-accent)!important;
  border-color:var(--line)!important;
}

/* Tablet/mobile: title remains compact; open state stacks details underneath. */
@media(max-width:900px){
  .article-row-card,
  .article-row:hover .article-row-card,
  .article-row:focus-within .article-row-card,
  .article-row.is-open .article-row-card,
  :is(html[lang="fa"],html[lang="ar"]) .article-row-card,
  :is(html[lang="fa"],html[lang="ar"]) .article-row:hover .article-row-card,
  :is(html[lang="fa"],html[lang="ar"]) .article-row:focus-within .article-row-card,
  :is(html[lang="fa"],html[lang="ar"]) .article-row.is-open .article-row-card{
    grid-template-columns:1fr!important;
    grid-template-areas:"content" "side"!important;
  }

  .article-side,
  :is(html[lang="fa"],html[lang="ar"]) .article-side{
    max-height:0!important;
    padding:0 16px!important;
    border:0!important;
  }
  .article-row:hover .article-side,
  .article-row:focus-within .article-side,
  .article-row.is-open .article-side,
  :is(html[lang="fa"],html[lang="ar"]) .article-row:hover .article-side,
  :is(html[lang="fa"],html[lang="ar"]) .article-row:focus-within .article-side,
  :is(html[lang="fa"],html[lang="ar"]) .article-row.is-open .article-side{
    max-height:180px!important;
    padding:11px 16px 13px!important;
    border-top:1px solid var(--line)!important;
  }
}

/* Touch devices should not get stuck open merely because :hover is emulated.
   A tap on the title toggles .is-open via existing JS. */
@media(hover:none){
  .article-row:not(.is-open) .article-detail{
    grid-template-rows:0fr!important;
    opacity:0!important;
    padding:0!important;
  }
  .article-row:not(.is-open) .article-side{
    max-height:0!important;
    padding-top:0!important;
    padding-bottom:0!important;
    border:0!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
}

/* v24 Article side rail: slimmer controls and one quiet divider. */
.article-row:hover .article-row-card,
.article-row:focus-within .article-row-card,
.article-row.is-open .article-row-card{
  grid-template-columns:minmax(0,1fr) 126px!important;
}
:is(html[lang="fa"],html[lang="ar"]) .article-row:hover .article-row-card,
:is(html[lang="fa"],html[lang="ar"]) .article-row:focus-within .article-row-card,
:is(html[lang="fa"],html[lang="ar"]) .article-row.is-open .article-row-card{
  grid-template-columns:126px minmax(0,1fr)!important;
}

.article-row:hover .article-side,
.article-row:focus-within .article-side,
.article-row.is-open .article-side,
:is(html[lang="fa"],html[lang="ar"]) .article-row:hover .article-side,
:is(html[lang="fa"],html[lang="ar"]) .article-row:focus-within .article-side,
:is(html[lang="fa"],html[lang="ar"]) .article-row.is-open .article-side{
  padding:13px 10px!important;
  gap:15px!important;
  border:0!important;
  border-inline-start:1px solid var(--line)!important;
}

.article-actions{
  gap:6px!important;
}
.article-action{
  min-height:27px!important;
  padding:4px 7px!important;
  gap:5px!important;
  font-size:8.7px!important;
  font-weight:400!important;
  border-width:1px!important;
}
.article-action svg{
  width:12px!important;
  height:12px!important;
  stroke-width:1.3!important;
}
.article-meta-stack{
  gap:6px!important;
  font-size:8.5px!important;
}
.article-meta-item svg{
  width:12px!important;
  height:12px!important;
}

/* Mobile/tablet stack: divider becomes horizontal, not vertical. */
@media(max-width:900px){
  .article-row:hover .article-side,
  .article-row:focus-within .article-side,
  .article-row.is-open .article-side,
  :is(html[lang="fa"],html[lang="ar"]) .article-row:hover .article-side,
  :is(html[lang="fa"],html[lang="ar"]) .article-row:focus-within .article-side,
  :is(html[lang="fa"],html[lang="ar"]) .article-row.is-open .article-side{
    border-inline-start:0!important;
    border-top:1px solid var(--line)!important;
    padding:10px 16px 12px!important;
  }
}

/* v25 Article divider — inset from top/bottom and exactly 1px like the horizontal hairlines. */
.article-side{
  position:relative!important;
}
.article-row:hover .article-side,
.article-row:focus-within .article-side,
.article-row.is-open .article-side,
:is(html[lang="fa"],html[lang="ar"]) .article-row:hover .article-side,
:is(html[lang="fa"],html[lang="ar"]) .article-row:focus-within .article-side,
:is(html[lang="fa"],html[lang="ar"]) .article-row.is-open .article-side{
  border-inline-start:0!important;
}
.article-side::before{
  content:"";
  position:absolute;
  inset-inline-start:0;
  top:13px;
  bottom:13px;
  width:1px;
  background:var(--line);
  opacity:1;
  pointer-events:none;
}
@media(max-width:900px){
  .article-side::before{display:none!important}
}

.articles-back-to-research{display:inline-flex;align-items:center;gap:7px;margin:0 0 20px;color:var(--category-muted);text-decoration:none;font-size:8.5px;transition:color .2s ease,transform .22s ease}
.articles-back-to-research:hover,.articles-back-to-research:focus-visible{color:var(--hover-accent);transform:translateX(-2px);outline:0}
:is(html[dir="rtl"]) .articles-back-to-research:hover,:is(html[dir="rtl"]) .articles-back-to-research:focus-visible{transform:translateX(2px)}

.articles-back-to-research{font-size:10.5px!important;gap:0!important}

/* v37 language selector contrast — deliberately subtle */
.language-direct-choice{opacity:.56!important;transition:opacity .18s ease,color .18s ease,font-weight .18s ease!important}
.language-direct-choice:hover,.language-direct-choice:focus-visible{opacity:.78!important;color:var(--hover-accent)!important}
.language-direct-choice.is-active{opacity:.96!important;color:var(--fg)!important;font-weight:560!important}

/* v40 public UI: no decorative numbering/counters */
.slide-counter,.module-count,.category-count,.section-number,.about-index,.axis-index,.practice-detail-index,.people-group-count,.person-card-index,.team-counter,.team-placeholder-number{display:none!important}
