/* NARINA front-end styles (design system: SUNRISE).
   - Sections follow the page order. Default design = English / LTR.
   - Persian applies only when <html dir="rtl">: Vazirmatn font, its own size scale and RTL placement
     live in the html[dir="rtl"] rules (PERSIAN section) and in the RTL mirrors inside each component.
   - Responsive rules are at the very end, in three breakpoints (1100 / 820 / 560). */

/* RESET & GLOBAL */
:root {
  --green: #173d32;
  --green-dark: #102d26;
  --red: #8f1d2c;
  --red-light: #a92a3b;
  --cream: #f6f1e8;
  --white: #fff;
  --black: #111;
  --gray: #6d716e;
  --line: rgba(23,61,50,.14);
  --container: 1240px;
  --serif: "Playfair Display",serif;
  --sans: "DM Sans",sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--green);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img,
video {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  cursor: pointer;
}
input,
textarea,
select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
::selection {
  background: var(--red);
  color: var(--white);
}
.container {
  width: min(var(--container),calc(100% - 48px));
  margin-inline: auto;
}
.section {
  position: relative;
  padding: 110px 0;
}
.section-small {
  padding: 80px 0;
}
.section-kicker {
  display: block;
  margin-bottom: 16px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}
.section-title {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(42px,5vw,72px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.025em;
}
.section-copy {
  max-width: 620px;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.8;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}
.section-head>div {
  min-width: 0;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.text-link::after {
  content: "↗";
  font-size: 16px;
  line-height: 1;
  transition: transform .25s var(--ease);
}
.text-link:hover::after {
  transform: translate(3px,-3px);
}
html[dir="rtl"] .text-link::after {
  content: "↖";
}
html[dir="rtl"] .text-link:hover::after {
  transform: translate(-3px,-3px);
}
.ltr {
  direction: ltr;
  unicode-bidi: isolate;
}

/* BUTTONS (shared look for nav, hero, CTA and form buttons; per-button differences live in each section) */
.nav-order,
.hero-primary,
.cta-button,
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .25s ease,transform .25s ease;
  border-radius: 999px;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none;
  font-size: 14px;
}
.hero-primary,
.cta-button,
.form-submit {
  min-height: 54px;
  padding: 0 30px;
}

/* NAVBAR */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 84px;
  background: rgba(246,241,232,.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background-color .3s ease,border-color .3s ease,box-shadow .3s ease;
}
.navbar.scrolled {
  background: rgba(246,241,232,.97);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px rgba(16,45,38,.06);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  width: 50px;
  height: 53px;
  flex-shrink: 0;
  --logo-red: #8f1d2c;
  --logo-green: #173d32;
}
.brand-name {
  color: var(--green);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.2;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  position: relative;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s var(--ease);
}
.nav-links a:hover {
  color: var(--red);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.45);
}
.lang-switch a,
.lang-switch button {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  padding: 6px 12px;
  border-radius: 999px;
  transition: background-color .25s ease,color .25s ease;
}
.lang-switch a.active,
.lang-switch button.active {
  background: var(--red);
  color: #fff;
}
.nav-order {
  min-width: 145px;
  padding: 0 22px;
  background: var(--red);
  color: var(--white)!important;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  border: 0;
  height: 46px;
  box-shadow: 0 8px 20px rgba(143,29,44,.2);
}
.nav-order:hover {
  background: var(--red-light);
  transform: translateY(-2px);
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 12px;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  margin: 4px auto;
  background: var(--green);
  transition: transform .25s ease;
}
.mobile-connect,
.lang-switch span {
  display: none;
}
.navbar:not(.scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.navbar:not(.scrolled) .brand-mark {
  --logo-red: #fff;
  --logo-green: #fff;
}
.navbar:not(.scrolled) .brand-name,
.navbar:not(.scrolled) .nav-links a {
  color: var(--cream);
}
.navbar:not(.scrolled) .lang-switch {
  color: var(--cream);
  border-color: rgba(246,241,232,.35);
  background: rgba(246,241,232,.12);
}
.navbar:not(.scrolled) .nav-links a:hover {
  color: #fff;
}
.navbar:not(.scrolled) .nav-toggle {
  border-color: rgba(246,241,232,.5);
}
.navbar:not(.scrolled) .nav-toggle span,
.navbar:not(.scrolled) .nav-toggle::before,
.navbar:not(.scrolled) .nav-toggle::after {
  background: var(--cream);
}

/* HERO */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  padding: 130px 0 64px;
  background: var(--green);
  color: var(--cream);
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(40,98,80,.84) 0%,rgba(40,98,80,.5) 45%,rgba(40,98,80,.06) 100%);
}
html[dir="rtl"] .hero::after {
  background: linear-gradient(270deg,rgba(40,98,80,.84) 0%,rgba(40,98,80,.5) 45%,rgba(40,98,80,.06) 100%);
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: rgba(246,241,232,.8);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-kicker::before {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--red);
}
.hero-title {
  margin-bottom: 30px;
  font-family: var(--serif);
  font-size: clamp(72px,12vw,180px);
  font-weight: 500;
  line-height: .84;
  letter-spacing: -.045em;
}
html[lang="en"] .hero-title {
  max-width: 720px;
  font-size: clamp(34px,5.5vw,80px);
  line-height: 1.1;
  margin-bottom: 22px;
}
.hero-copy {
  max-width: 620px;
  margin-bottom: 38px;
  color: rgba(246,241,232,.85);
  font-size: 17px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(143,29,44,.35);
}
.hero-primary:hover {
  background: var(--red-light);
  transform: translateY(-3px);
}
.hero-secondary {
  color: var(--cream);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid rgba(246,241,232,.4);
  border-radius: 999px;
  background: rgba(246,241,232,.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 14px;
  letter-spacing: .02em;
  text-transform: none;
  transition: background-color .25s ease,border-color .25s ease,transform .25s ease;
}
.hero-primary::after {
  content: "←";
  font-size: 17px;
  line-height: 1;
  transition: transform .25s var(--ease);
}
html[dir="ltr"] .hero-primary::after {
  content: "→";
}
.hero-primary:hover::after {
  transform: translateX(-4px);
}
html[dir="ltr"] .hero-primary:hover::after {
  transform: translateX(4px);
}
.hero-secondary:hover {
  background: rgba(246,241,232,.18);
  border-color: rgba(246,241,232,.7);
  transform: translateY(-3px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 180px;
  z-index: 1;
  background: linear-gradient(rgba(16,45,38,.5),transparent);
  pointer-events: none;
}

/* INTRO */
.intro {
  background: var(--cream);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 80px;
  align-items: center;
}
.intro-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 20px;
  background: #d9d2c3;
}
.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.intro-image:hover img {
  transform: scale(1.035);
}
.intro-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,rgba(23,61,50,.12),transparent 55%);
}
.intro-copy {
  max-width: 590px;
}
.intro-copy p {
  color: var(--gray);
  font-size: 18px;
  line-height: 1.9;
}

/* SERVICES */
.services {
  background: var(--green);
  color: var(--cream);
}
.services .section-copy {
  color: rgba(246,241,232,.68);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: 1px solid rgba(246,241,232,.18);
  border-left: 1px solid rgba(246,241,232,.18);
}
html[dir="rtl"] .services-grid {
  border-left: 0;
  border-right: 1px solid rgba(246,241,232,.18);
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(246,241,232,.18);
  border-bottom: 1px solid rgba(246,241,232,.18);
  transition: background-color .35s ease,transform .35s var(--ease);
}
html[dir="rtl"] .service-card {
  border-right: 0;
  border-left: 1px solid rgba(246,241,232,.18);
}
.service-card:hover {
  background: rgba(246,241,232,.055);
}
.service-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #1d4439;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.service-card:hover .service-image img {
  transform: scale(1.05);
}
.service-body {
  flex: 1;
  padding: 32px 38px 40px;
}
.service-number {
  display: block;
  margin-bottom: 22px;
  color: rgba(246,241,232,.42);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}
.service-card h3 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.15;
}
.service-card p {
  margin-bottom: 0;
  color: rgba(246,241,232,.64);
  font-size: 14px;
  line-height: 1.75;
}

/* VISUAL BREAK */
.visual-break {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-dark);
  color: var(--cream);
}
.vb-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.visual-break::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(16,45,38,.72),rgba(16,45,38,.15));
  transition: opacity .5s ease;
  pointer-events: none;
}
html[dir="rtl"] .visual-break::after {
  background: linear-gradient(270deg,rgba(16,45,38,.72),rgba(16,45,38,.15));
}
.vb-container {
  position: relative;
  z-index: 2;
  transition: opacity .5s ease;
}
.visual-break.playing::after {
  opacity: 0;
}
.visual-break.playing .vb-container {
  opacity: 0;
  pointer-events: none;
}
.vb-play {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding: 7px;
  padding-inline-end: 24px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: background-color .25s ease,transform .25s ease;
}
.vb-play:hover {
  background: rgba(255,255,255,.22);
  transform: translateY(-2px);
}
.vb-play-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
}
.vb-play-icon::before {
  content: "";
  width: 16px;
  height: 18px;
  margin-inline-start: 3px;
  background: #fff;
  clip-path: polygon(0 0,100% 50%,0 100%);
}
.visual-break .section-kicker {
  color: #f0b8c0;
}
.visual-break-content {
  max-width: 800px;
}
.visual-break-title {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(38px,5.4vw,72px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.035em;
}

/* ABOUT */
.about {
  background: var(--cream);
}
.story-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
}
.story-intro {
  position: sticky;
  top: 130px;
  align-self: start;
}
.story-list {
  border-top: 1px solid var(--line);
}
.story-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 35px;
  padding: 35px 0;
  border-bottom: 1px solid var(--line);
}
.story-year {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}
.story-item h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
}
.story-item p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.8;
}

/* GALLERY */
.gallery {
  background: var(--green-dark);
  color: var(--cream);
}
.gallery .section-copy {
  color: rgba(246,241,232,.68);
}
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.gallery-filter {
  border: 1px solid rgba(246,241,232,.2);
  background: transparent;
  color: rgba(246,241,232,.68);
  font-weight: 700;
  transition: background-color .25s ease,color .25s ease,border-color .25s ease;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}
.gallery-filter:hover,
.gallery-filter.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.gallery.section {
  padding: 72px 0;
}
.gallery .section-head {
  margin-bottom: 32px;
}
.gallery .section-title {
  font-size: clamp(32px,3.6vw,50px);
  margin-bottom: 14px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(190px,1fr));
  gap: 12px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 1/1;
  margin: 0;
  overflow: hidden;
  background: #1d4439;
}
.gallery-label {
  font-size: 10px!important;
  position: absolute;
  left: 22px;
  bottom: 18px;
  z-index: 2;
  color: var(--white);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,transparent 45%,rgba(16,45,38,.62));
  pointer-events: none;
}

/* MEDIA */
.media {
  background: var(--cream);
  color: var(--green);
}
.media-head {
  margin-bottom: 55px;
}
.media-head .section-copy {
  color: var(--gray);
}
.media-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2,minmax(340px,1fr));
  grid-template-areas: "article video" "article podcast";
  gap: 18px;
}
html[dir="ltr"] .media-grid {
  grid-template-columns: 1fr 2fr;
  grid-template-areas: "video article" "podcast article";
}
.media-card.article {
  grid-area: article;
  background: radial-gradient(circle at 20% 20%,rgba(169,42,59,.95),transparent 55%),var(--red);
}
.media-card.video {
  grid-area: video;
  background: radial-gradient(circle at 80% 20%,rgba(246,241,232,.22),transparent 48%),var(--green);
}
.media-card.podcast {
  grid-area: podcast;
  background: radial-gradient(circle at 50% 100%,rgba(255,255,255,.22),transparent 55%),#9c7b4f;
}
.media-card.article h3 {
  font-size: 40px;
}
.media-card.video h3,
.media-card.podcast h3 {
  font-size: 24px;
}
.media-card.video p,
.media-card.podcast p {
  margin-bottom: 16px;
}
.media-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  padding: 14px;
  color: var(--white);
}
.media-card-image {
  position: absolute;
  inset: 14px;
  overflow: hidden;
}
.media-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.media-card:hover .media-card-image img {
  transform: scale(1.05);
}
.media-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(10,35,29,0) 35%,rgba(10,35,29,.55));
}
.media-glass {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.28);
  transition: background .3s ease,transform .3s ease;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px 20px;
  background: rgba(16,45,38,.36);
  border-color: rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: none;
}
.media-card:hover .media-glass {
  transform: translateY(-5px);
  background: rgba(16,45,38,.5);
}
.media-type {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
}
.media-glass h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.15;
}
.media-glass p {
  color: rgba(255,255,255,.76);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.media-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  font-size: 12px;
  letter-spacing: .02em;
  text-transform: none;
  transition: background-color .25s ease;
}
.media-link::after {
  content: "↗";
  transition: transform .25s ease;
}
.media-link:hover::after {
  transform: translate(3px,-3px);
}
html[dir="rtl"] .media-link::after {
  content: "↖";
}
.media-link:hover {
  background: rgba(255,255,255,.25);
}
.media-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.media-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background-color .25s ease,box-shadow .25s ease;
}
.media-all::after {
  content: "←";
  color: var(--red);
  font-size: 17px;
  line-height: 1;
  transition: transform .3s var(--ease);
}
html[dir="ltr"] .media-all::after {
  content: "→";
}
.media-all:hover {
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.media-all:hover::after {
  transform: translateX(-7px);
}
html[dir="ltr"] .media-all:hover::after {
  transform: translateX(7px);
}

/* COLLABORATIONS & LICENSES */
.trusted {
  padding: 100px 0;
  background: var(--cream);
  color: var(--green);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partners-head {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 55px;
}
.licenses {
  padding: 70px 0;
  border-top: 1px solid var(--line);
  --line: rgba(246,241,232,.2);
  background: var(--green);
  color: var(--cream);
}
.logo-marquee {
  --vis: 5;
  position: relative;
  overflow: hidden;
  direction: ltr;
  container-type: inline-size;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logo-track {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: marquee-ltr calc(var(--count,6) * 4.5s) linear infinite;
}
.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}
.logo-item {
  flex: 0 0 calc(100cqw / var(--vis));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 14px;
  border-inline-end: 1px solid var(--line);
  text-align: center;
}
.logo-box {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  padding: 14px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(16,45,38,.08);
}
.logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.logo-box.no-logo img {
  display: none;
}
.logo-box.no-logo::before {
  content: "";
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(23,61,50,.18);
}
.logo-name {
  max-width: 100%;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.5;
  unicode-bidi: plaintext;
}
.licenses .section-kicker {
  color: #f0b8c0;
}

/* CTA */
.cta {
  position: relative;
  padding: 115px 0;
  background: var(--red);
  color: var(--white);
  overflow: hidden;
}
.cta::before {
  content: "NARINA";
  position: absolute;
  right: -20px;
  bottom: -55px;
  color: rgba(255,255,255,.06);
  font-family: var(--serif);
  font-size: clamp(130px,20vw,300px);
  line-height: .8;
  white-space: nowrap;
}
html[dir="rtl"] .cta::before {
  right: auto;
  left: -20px;
}
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}
.cta .section-kicker {
  color: rgba(255,255,255,.75);
}
.cta-title {
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(50px,7vw,100px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.035em;
}
.cta-copy {
  max-width: 600px;
  margin-bottom: 35px;
  color: rgba(255,255,255,.8);
  font-size: 17px;
  line-height: 1.8;
}
.cta-button {
  background: var(--white);
  color: var(--red);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.cta-button:hover {
  background: var(--cream);
  transform: translateY(-3px);
}
.cta-button::after {
  content: "←";
  font-size: 17px;
  line-height: 1;
  transition: transform .25s var(--ease);
}
html[dir="ltr"] .cta-button::after {
  content: "→";
}
.cta-button:hover::after {
  transform: translateX(-4px);
}
html[dir="ltr"] .cta-button:hover::after {
  transform: translateX(4px);
}

/* CONTACT */
.contact {
  background: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 80px;
}
.contact-info {
  max-width: 480px;
}
.contact-details {
  margin-top: 45px;
  border-top: 1px solid var(--line);
}
.contact-detail {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.contact-detail-label {
  display: block;
  margin-bottom: 6px;
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.contact-detail-value {
  display: block;
  color: var(--green);
  font-size: 15px;
}
.contact-hours {
  margin-top: 30px;
  padding: 26px 28px;
  background: var(--red);
  color: var(--white);
}
.contact-hours strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}
.contact-hours span {
  font-size: 14px;
  opacity: .9;
}
.contact-form {
  display: grid;
  gap: 18px;
  align-content: start;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field label {
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.form-field input {
  width: 100%;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  outline: 0;
  background: transparent;
  color: var(--green);
  font-size: 15px;
  border-radius: 0;
  transition: border-color .25s ease;
}
.form-field textarea {
  width: 100%;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  outline: 0;
  background: transparent;
  color: var(--green);
  font-size: 15px;
  border-radius: 0;
  transition: border-color .25s ease;
  min-height: 140px;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--red);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(109,113,110,.65);
}
.custom-select {
  position: relative;
}
.custom-select-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--green);
  text-align: start;
  cursor: pointer;
}
.custom-select-button::after {
  content: "⌄";
  color: var(--red);
  font-size: 16px;
}
.custom-select-options {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 20;
  display: none;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16,45,38,.1);
  border-radius: 16px;
  overflow: hidden;
}
.custom-select.open .custom-select-options {
  display: block;
}
.custom-select-option {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--green);
  text-align: start;
  font-size: 13px;
  padding: 13px 18px;
}
.custom-select-option:hover,
.custom-select-option:focus-visible {
  background: var(--cream);
  color: var(--red);
}
.form-submit {
  justify-self: start;
  border: 0;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(23,61,50,.22);
}
.form-submit:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.contact-feedback {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 180px;
  font-size: 14px;
}
.contact-feedback[hidden] { display: none; }
.contact-feedback.is-success { color: #17633c; }
.contact-feedback.is-error { color: var(--red); }
.contact-feedback-icon { width: 24px; height: 24px; flex-shrink: 0; }
.contact-feedback.is-success .feedback-error-mark,
.contact-feedback.is-error .feedback-success-mark { display: none; }
.contact-actions .form-submit:disabled { opacity: .65; cursor: wait; }
.contact-form .contact-field-error { color: var(--red); font-size: 13px; }
.map-wrap {
  margin-top: 70px;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8e4db;
}
.map-wrap iframe {
  width: 100%;
  height: 420px;
  display: block;
  border: 0;
  filter: grayscale(.35) contrast(.9);
}
.contact-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  border-bottom: 1px solid var(--line);
}
.contact-detail-row .contact-detail {
  border-bottom: 0;
}
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.contact-side .map-wrap {
  position: relative;
  flex: 1;
  margin-top: 0;
  min-height: 300px;
  border-radius: 20px;
}
.contact-side .map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.form-submit::after {
  content: "←";
  font-size: 17px;
  line-height: 1;
  transition: transform .25s var(--ease);
}
html[dir="ltr"] .form-submit::after {
  content: "→";
}
.form-submit:hover::after {
  transform: translateX(-4px);
}
html[dir="ltr"] .form-submit:hover::after {
  transform: translateX(4px);
}

/* CHATBOT */
.chatbot-button {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--red);
  color: var(--white);
  font-size: 20px;
  box-shadow: 0 14px 35px rgba(143,29,44,.24);
  transition: background-color .25s ease,transform .25s ease;
  border-radius: 50%;
  width: 58px;
  height: 58px;
}
.chatbot-button:hover {
  background: var(--red-light);
  transform: translateY(-3px);
}
html[dir="rtl"] .chatbot-button {
  right: auto;
  left: 25px;
}

/* FOOTER */
.footer {
  padding: 80px 0 35px;
  background: var(--green-dark);
  color: var(--cream);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr .7fr .7fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(246,241,232,.15);
}
.footer-brand {
  max-width: 390px;
}
.footer-brand .brand-name {
  color: var(--cream);
  transition: color .2s ease;
}
.footer-copy {
  margin-top: 22px;
  color: rgba(246,241,232,.58);
  font-size: 13px;
  line-height: 1.8;
}
.footer-title {
  margin-bottom: 18px;
  color: var(--cream);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-links {
  display: grid;
  gap: 10px;
}
.footer-links a {
  color: rgba(246,241,232,.58);
  font-size: 13px;
  transition: color .2s ease;
}
.footer-links a:hover,
.footer-brand .brand:hover .brand-name {
  color: var(--red-light);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 25px;
  color: rgba(246,241,232,.4);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer .brand-mark {
  --logo-red: var(--red-light);
  --logo-green: var(--cream);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease),transform .8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* PERSIAN TYPOGRAPHY (Vazirmatn, independent size scale) */
html[dir="rtl"] .hero-title {
  white-space: nowrap;
  font-family: "Vazirmatn",var(--sans);
  font-size: clamp(46px,7.4vw,100px);
  line-height: 1.2;
  margin-bottom: 22px;
  font-weight: 700;
}
html[dir="rtl"] body {
  text-align: right;
  font-family: "Vazirmatn",var(--sans);
  font-size: 17px;
  line-height: 2;
}
html[dir="rtl"] .gallery-label {
  left: auto;
  right: 22px;
  font-size: 12.5px!important;
}
html[dir="rtl"] .section-title {
  font-family: "Vazirmatn",var(--sans);
  font-size: clamp(30px,3.8vw,52px);
  line-height: 1.4;
  font-weight: 700;
}
html[dir="rtl"] .visual-break-title {
  font-family: "Vazirmatn",var(--sans);
  font-size: clamp(32px,4.6vw,62px);
  line-height: 1.4;
  font-weight: 700;
}
html[dir="rtl"] .story-item h3 {
  font-family: "Vazirmatn",var(--sans);
  font-size: 26px;
  line-height: 1.45;
  font-weight: 700;
}
html[dir="rtl"] .service-card h3 {
  font-family: "Vazirmatn",var(--sans);
  font-size: 28px;
  line-height: 1.4;
  font-weight: 700;
}
html[dir="rtl"] .media-glass h3 {
  font-family: "Vazirmatn",var(--sans);
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
}
html[dir="rtl"] .cta-title {
  font-family: "Vazirmatn",var(--sans);
  font-size: clamp(34px,5vw,66px);
  line-height: 1.35;
  font-weight: 700;
}
html[dir="rtl"] .brand-name {
  font-family: "Vazirmatn",var(--sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}
html[dir="rtl"] * {
  letter-spacing: 0!important;
}
html[dir="rtl"] .section-kicker {
  font-size: 14px;
  margin-bottom: 14px;
}
html[dir="rtl"] .hero-kicker,
html[dir="rtl"] .hero-primary,
html[dir="rtl"] .hero-secondary,
html[dir="rtl"] .cta-button,
html[dir="rtl"] .form-submit,
html[dir="rtl"] .vb-play,
html[dir="rtl"] .contact-hours span,
html[dir="rtl"] .footer-copy {
  font-size: 15px;
}
html[dir="rtl"] .contact-detail-label,
html[dir="rtl"] .footer-title,
html[dir="rtl"] .service-number,
html[dir="rtl"] .gallery-filter,
html[dir="rtl"] .form-field label {
  font-size: 14px;
}
html[dir="rtl"] .logo-track {
  animation-name: marquee-rtl;
}
html[dir="rtl"] .nav-links a {
  font-size: 14.5px;
  font-weight: 500;
}
html[dir="rtl"] .lang-switch {
  font-size: 12.5px;
}
html[dir="rtl"] .nav-order,
html[dir="rtl"] .custom-select-option,
html[dir="rtl"] .footer-links a {
  font-size: 14.5px;
}
html[dir="rtl"] .hero-copy {
  font-size: clamp(18px,1.9vw,23px);
  line-height: 2;
  max-width: 34ch;
}
html[dir="rtl"] .section-copy {
  font-size: 17px;
  line-height: 2;
}
html[dir="rtl"] .intro-copy p {
  font-size: 19px;
  line-height: 2.1;
}
html[dir="rtl"] .service-card p {
  font-size: 16px;
  line-height: 2;
}
html[dir="rtl"] .story-year,
html[dir="rtl"] .contact-detail-value,
html[dir="rtl"] .contact-hours strong,
html[dir="rtl"] .form-field input,
html[dir="rtl"] .form-field textarea,
html[dir="rtl"] .custom-select-button {
  font-size: 16px;
}
html[dir="rtl"] .story-item p {
  font-size: 16px;
  line-height: 2.1;
}
html[dir="rtl"] .media-type {
  font-size: 15px;
  letter-spacing: 0;
}
html[dir="rtl"] .media-card.article h3 {
  font-size: 32px;
}
html[dir="rtl"] .media-card.video h3,
html[dir="rtl"] .media-card.podcast h3 {
  font-size: 22px;
}
html[dir="rtl"] .media-glass p {
  font-size: 14px;
  line-height: 1.9;
}
html[dir="rtl"] .media-link,
html[dir="rtl"] .media-all {
  font-size: 13.5px;
}
html[dir="rtl"] .logo-name {
  font-size: 14px;
  letter-spacing: 0;
}
html[dir="rtl"] .cta-copy {
  font-size: 19px;
}
html[dir="rtl"] .footer-bottom {
  font-size: 13px;
}

@keyframes marquee-ltr{to{transform:translateX(-50%)}}

@keyframes marquee-rtl{from{transform:translateX(-50%)}to{transform:translateX(0)}}

/* RESPONSIVE (max-width:1100px) */
@media (max-width:1100px) {
  /* NAVBAR */
  .nav-links {
    gap: 18px;
  }
  .nav-order {
    min-width: 125px;
    padding-inline: 16px;
  }
  /* INTRO */
  .intro-grid {
    gap: 50px;
  }
  /* ABOUT */
  .story-grid {
    gap: 55px;
  }
  /* CONTACT */
  .contact-grid {
    gap: 50px;
  }
  /* FOOTER */
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
}

/* RESPONSIVE (max-width:820px) */
@media (max-width:820px) {
  /* BASE */
  .container {
    width: min(var(--container),calc(100% - 34px));
  }
  .section {
    padding: 80px 0;
  }
  .section-head {
    display: block;
    margin-bottom: 40px;
  }
  .section-head .text-link {
    margin-top: 25px;
  }
  /* NAVBAR */
  .navbar {
    height: 72px;
  }
  .nav-inner {
    gap: 12px;
  }
  .navbar .brand {
    min-width: 0;
    flex-shrink: 1;
  }
  .navbar .brand-name {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .nav-actions {
    flex-shrink: 0;
  }
  .nav-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    left: 17px;
    right: 17px;
    top: calc(100% + 1px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 15px;
    background: var(--cream);
    border: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(16,45,38,.08);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    display: block;
    padding: 14px 10px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a::after,
  .nav-actions>.nav-order {
    display: none;
  }
  .navbar:not(.scrolled) .nav-links a {
    color: var(--green);
  }
  .navbar:not(.scrolled) .nav-links a:hover {
    color: var(--red);
  }
  .nav-links .mobile-connect {
    display: block;
    margin-top: 12px;
    padding: 0;
    border: 0;
  }
  .nav-links .mobile-connect .nav-order {
    width: 100%;
  }
  .nav-actions {
    margin-inline-start: auto;
  }
  /* HERO */
  .hero {
    min-height: 560px;
    padding-bottom: 60px;
  }
  .hero-title {
    font-size: clamp(68px,17vw,125px);
  }
  /* INTRO */
  .intro-grid {
    grid-template-columns: 1fr;
  }
  .intro-image {
    max-width: 650px;
  }
  /* SERVICES */
  .services-grid {
    grid-template-columns: 1fr;
  }
  /* ABOUT */
  .story-grid {
    grid-template-columns: 1fr;
  }
  .story-intro {
    position: static;
  }
  /* MEDIA */
  .media-grid,
  html[dir="ltr"] .media-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas: "article article" "video podcast";
  }
  .media-card.article {
    min-height: 460px;
  }
  /* COLLABORATIONS & LICENSES */
  .partners-head {
    grid-template-columns: 1fr;
  }
  .logo-marquee {
    --vis: 4;
  }
  .logo-item {
    flex-basis: calc(100cqw / var(--vis));
  }
  /* CONTACT */
  .contact-grid {
    grid-template-columns: 1fr;
  }
  /* FOOTER */
  .footer-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  /* PERSIAN */
  html[dir="rtl"] .hero-title {
    font-size: clamp(40px,10vw,72px);
  }
  html[dir="rtl"] .service-card h3 {
    font-size: 25px;
  }
  html[dir="rtl"] .media-card.article h3 {
    font-size: 28px;
  }
}

/* RESPONSIVE (max-width:560px) */
@media (max-width:560px) {
  /* BASE */
  .container {
    width: calc(100% - 28px);
  }
  .section {
    padding: 68px 0;
  }
  .section-title {
    font-size: 43px;
  }
  /* HERO */
  .hero {
    min-height: 520px;
    padding-top: 110px;
    padding-bottom: 48px;
  }
  .hero-title {
    font-size: clamp(62px,20vw,105px);
  }
  .hero-copy {
    font-size: 15px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .hero-primary {
    width: 100%;
  }
  /* SERVICES */
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-body {
    padding: 26px 24px 32px;
  }
  /* VISUAL BREAK */
  .visual-break {
    min-height: 460px;
  }
  /* ABOUT */
  .story-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  /* GALLERY */
  .gallery-grid {
    grid-template-columns: repeat(2,1fr);
  }
  /* MEDIA */
  .media-grid,
  html[dir="ltr"] .media-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "article" "video" "podcast";
  }
  .media-card,
  .media-card:last-child {
    grid-column: auto;
    min-height: 470px;
  }
  /* COLLABORATIONS & LICENSES */
  .logo-marquee {
    --vis: 3;
  }
  .logo-box {
    width: 76px;
    height: 76px;
    padding: 10px;
  }
  .logo-item {
    padding: 22px 8px;
  }
  /* CTA */
  .cta {
    padding: 85px 0;
  }
  .cta-title {
    font-size: 54px;
  }
  /* CONTACT */
  .form-row {
    grid-template-columns: 1fr;
  }
  .map-wrap,
  .map-wrap iframe {
    min-height: 340px;
    height: 340px;
  }
  /* CHATBOT */
  .chatbot-button {
    right: 15px;
    bottom: 15px;
    width: 50px;
    height: 50px;
  }
  /* FOOTER */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px 20px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  /* PERSIAN */
  html[dir="rtl"] .chatbot-button {
    right: auto;
    left: 15px;
  }
  html[dir="rtl"] body {
    font-size: 16px;
  }
  html[dir="rtl"] .hero-title {
    font-size: clamp(36px,11vw,50px);
  }
  html[dir="rtl"] .hero-copy,
  html[dir="rtl"] .intro-copy p {
    font-size: 17px;
  }
  html[dir="rtl"] .section-title {
    font-size: 30px;
  }
  html[dir="rtl"] .visual-break-title {
    font-size: 28px;
  }
  html[dir="rtl"] .cta-title {
    font-size: 34px;
  }
  html[dir="rtl"] .media-card.article h3 {
    font-size: 26px;
  }
  html[dir="rtl"] .brand-name {
    font-size: 14px;
  }
}

/* RESPONSIVE (prefers-reduced-motion:reduce) */
@media (prefers-reduced-motion:reduce) {
  /* BASE */
  html {
    scroll-behavior: auto;
  }
  /* COLLABORATIONS & LICENSES */
  .logo-track {
    animation: none;
  }
  .logo-marquee {
    overflow-x: auto;
  }
  /* REVEAL */
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* GALLERY LIGHTBOX */
.gallery-item{cursor:zoom-in}
.gallery-item:focus-visible{outline:2px solid var(--red-light);outline-offset:3px}
.lightbox{position:fixed;inset:0;z-index:1100;display:grid;place-items:center;padding:64px 100px;background:rgba(8,24,20,.94);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s}
.lightbox.open{opacity:1;visibility:visible}
body.lb-open{overflow:hidden}
.lb-stage{display:flex;flex-direction:column;align-items:center;gap:14px;max-width:100%;max-height:100%;margin:0;touch-action:pan-y}
.lb-stage img{max-width:100%;max-height:calc(100vh - 170px);object-fit:contain;border-radius:6px;box-shadow:0 30px 80px rgba(0,0,0,.5);transition:opacity .25s ease,transform .25s ease}
.lb-stage img.swap{opacity:0;transform:scale(.98)}
.lb-stage figcaption{display:flex;align-items:center;gap:14px;color:var(--cream);font-size:13px;font-weight:700}
.lb-count{color:rgba(246,241,232,.6);font-variant-numeric:tabular-nums;direction:ltr;unicode-bidi:isolate}
.lb-close,.lb-nav{position:absolute;width:48px;height:48px;padding:0;border:1px solid rgba(246,241,232,.3);border-radius:50%;background:rgba(246,241,232,.1);color:#fff;transition:background-color .25s ease,border-color .25s ease,transform .25s ease}
.lb-close:hover,.lb-nav:hover,.lb-close:focus-visible,.lb-nav:focus-visible{background:var(--red);border-color:var(--red)}
.lb-close{top:22px;inset-inline-end:22px}
.lb-close::before,.lb-close::after{content:"";position:absolute;inset:0;margin:auto;width:18px;height:2px;background:currentColor;transform:rotate(45deg)}
.lb-close::after{transform:rotate(-45deg)}
.lb-nav{top:50%;margin-top:-24px}
.lb-nav[hidden]{display:none}
.lb-prev{inset-inline-start:24px}
.lb-next{inset-inline-end:24px}
.lb-nav::before{content:"";position:absolute;inset:0;margin:auto;width:11px;height:11px;border:solid currentColor;border-width:0 0 2px 2px;transform:rotate(45deg) translate(1px,-1px)}
html[dir="ltr"] .lb-next::before,html[dir="rtl"] .lb-prev::before{transform:rotate(-135deg) translate(1px,-1px)}
html[dir="rtl"] .lb-next::before{transform:rotate(45deg) translate(1px,-1px)}
@media(max-width:820px){
  .lightbox{padding:64px 14px 90px}
  .lb-nav{top:auto;bottom:20px;margin-top:0}
  .lb-prev{inset-inline-start:calc(50% - 60px)}
  .lb-next{inset-inline-end:calc(50% - 60px)}
  .lb-stage img{max-height:calc(100vh - 220px)}
}
@media(prefers-reduced-motion:reduce){.lightbox,.lb-stage img{transition:none}}

