[hidden] { display: none !important; }

:root {
  --paper: #ffffff;
  --sugar: #faf7f0;
  --sugar-deep: #f2ece0;
  --surface: #ffffff;
  --heritage: #0e3a23;
  --heritage-hover: #154f30;
  --heritage-deep: #092617;
  --cream: #f5e8c7;
  --brass: #b59253;
  --ink: #17211b;
  --muted: #58635c;
  --line: #e7e1d5;
  --control-line: #d4ccb9;
  --overlay: rgba(11, 38, 24, 0.78);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", "Georgia", serif;
  --font-ar: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --motion-ease: cubic-bezier(.22, .74, .24, 1);
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  color-scheme: light;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #121513;
  --sugar: #181c19;
  --sugar-deep: #1f2521;
  --surface: #181c19;
  --ink: #f5f1e8;
  --muted: #b0b8b2;
  --line: #29312c;
  --control-line: #3c4740;
  --heritage: #f5e8c7;
  --heritage-hover: #e5d5ad;
  --cream: #0e2418;
  --brass: #d4b274;
  --overlay: rgba(10, 16, 13, 0.84);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[lang="ar"] {
  font-family: var(--font-ar);
}

button, input, textarea, select {
  font: inherit;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1, h2, h3, p {
  margin: 0;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

html[lang="ar"] :is(h1, h2, h3) {
  font-family: var(--font-ar);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: normal;
}

button, summary {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - clamp(32px, 8vw, 128px), 1320px);
  margin-inline: auto;
}

.visually-hidden,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip:focus {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 30;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--heritage);
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
}

[id] {
  scroll-margin-block-start: 96px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-block-end: 1px solid var(--line);
}

.header-inner {
  width: min(100% - clamp(28px, 6vw, 96px), 1400px);
  min-height: 82px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.brand-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}

html[lang="ar"] .brand-text strong {
  font-family: var(--font-ar);
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-text small {
  display: block;
  margin-block-start: 2px;
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.25;
}

#navigation {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1vw, 14px);
}

#navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-inline: 12px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

#navigation a:hover,
#navigation [aria-current] {
  background: var(--sugar);
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.locale,
.menu,
.theme-toggle {
  min-width: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--sugar);
  color: var(--ink);
  transition: background 0.2s, border-color 0.2s;
}

.locale {
  padding-inline: 16px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
}

.menu {
  display: none;
}

.menu > span:first-child {
  position: relative;
  display: block;
  width: 17px;
  height: 12px;
  border-block: 1.5px solid currentColor;
}

.menu > span:first-child::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 50%;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
}

.locale:hover,
.menu:hover,
.theme-toggle:hover {
  background: var(--sugar-deep);
  border-color: var(--control-line);
}

.theme-toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle .icon-sun,
[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

.hero {
  background: var(--paper);
  padding-block: clamp(32px, 5vw, 72px);
}

.hero-inner {
  width: min(100% - clamp(32px, 8vw, 128px), 1360px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 3.5vw, 56px);
}

.hero-side {
  display: flex;
  flex-direction: column;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
}

.eyebrow span {
  display: inline-block;
  width: 24px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: currentColor;
}

html[lang="ar"] .eyebrow {
  letter-spacing: normal;
  text-transform: none;
  font-size: 0.88rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 4.2vw, 4.1rem);
  color: var(--ink);
  margin-block: 18px 26px;
}

html[lang="ar"] .hero h1 {
  font-size: clamp(2.1rem, 3.3vw, 3.2rem);
  line-height: 1.32;
}

.hero-center {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-frame {
  width: 100%;
  background: var(--sugar);
  border: 1px solid var(--line);
  border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: end center;
  overflow: hidden;
  padding-inline: 16px;
}

.hero-frame img {
  width: 92%;
  height: 94%;
  object-fit: contain;
  object-position: center bottom;
}

[dir="rtl"] .hero-frame img {
  transform: scaleX(-1);
}


.hero-detail {
  font-size: clamp(0.98rem, 1.15vw, 1.06rem);
  color: var(--muted);
  line-height: 1.85;
}

.hero-pillars {
  display: grid;
  gap: 12px;
  margin-block-start: 28px;
}

.hero-pillars > div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--sugar);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.hero-pillars strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--brass);
  font-size: 0.86rem;
  flex-shrink: 0;
}

.hero-pillars span {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 8px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid var(--heritage);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--cream);
  background: var(--heritage);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.button:hover {
  background: var(--heritage-hover);
  border-color: var(--heritage-hover);
}

.button.outline {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--control-line);
}

.button.outline:hover {
  background: var(--sugar);
  border-color: var(--ink);
}

.button.outline-light {
  background: transparent;
  color: #f5e8c7;
  border-color: #f5e8c7;
}

.button.outline-light:hover {
  background: #f5e8c7;
  color: #092617;
  border-color: #f5e8c7;
}

.arrow {
  display: inline-block;
  flex: none;
  font-size: 1.1em;
  line-height: 1;
}

[dir="rtl"] .arrow {
  transform: scaleX(-1);
}

.focus {
  background: var(--sugar);
  border-block: 1px solid var(--line);
}

.focus-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-block: 18px;
}

.focus-inner a {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.focus-inner a:hover {
  background: var(--sugar-deep);
  border-color: var(--brass);
}

.focus-num {
  color: var(--brass);
  font-size: 0.84rem;
  font-weight: 700;
}

.section {
  padding-block: clamp(56px, 7vw, 100px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-block-end: clamp(28px, 4vw, 44px);
}

.section-heading h2,
.story h2 {
  margin-block-start: 10px;
  font-size: clamp(2rem, 3.8vw, 3.3rem);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: var(--sugar);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.text-link:hover {
  background: var(--sugar-deep);
  border-color: var(--brass);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--sugar);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.card-visual {
  position: relative;
  overflow: hidden;
  background: var(--sugar-deep);
}

.card-index {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-start: 16px;
  z-index: 2;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
}

.card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.card-copy {
  display: flex;
  align-items: start;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 28px);
  flex: 1;
}

.card h3 {
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
}

.card p {
  margin-block: 10px 20px;
  color: var(--muted);
  font-size: 0.94rem;
}

.card .text-link {
  margin-block-start: auto;
  background: var(--paper);
}


.campaign {
  position: relative;
  isolation: isolate;
  min-height: clamp(360px, 38vw, 500px);
  display: grid;
  align-items: center;
  background: var(--heritage-deep);
  color: #f5e8c7;
  margin-block-end: clamp(56px, 7vw, 100px);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.campaign::before,
.campaign::after {
  content: "";
  position: absolute;
  inset: 0;
}

.campaign::before {
  z-index: -2;
  background: url("studio-rail.webp") center 50% / cover no-repeat;
}

.campaign::after {
  z-index: -1;
  background: var(--overlay);
}

[dir="rtl"] .campaign::before {
  transform: scaleX(-1);
}

.campaign-copy {
  padding: clamp(32px, 6vw, 80px);
  max-width: 680px;
}

.campaign h2 {
  margin-block-start: 12px;
  font-size: clamp(2.1rem, 4.2vw, 3.8rem);
  color: #ffffff;
}

.campaign p:not(.eyebrow) {
  max-width: 44ch;
  margin-block: 16px 26px;
  color: #e2e6e3;
  font-size: 1.04rem;
}

.story {
  background: var(--sugar);
  border-block: 1px solid var(--line);
}

.story-inner {
  display: grid;
  align-items: start;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(28px, 7vw, 96px);
  padding-block: clamp(56px, 7vw, 96px) clamp(32px, 4vw, 52px);
}

.heritage-seal {
  margin-block-start: 24px;
  display: inline-block;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.heritage-seal img {
  width: 190px;
  height: auto;
  border-radius: var(--radius-sm);
}

.story-body p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.9;
  margin-block-end: 16px;
}

.about-values {
  padding-block-start: 0;
}

.landing-section {
  border-block-end: 1px solid var(--line);
  padding-block: clamp(56px, 7vw, 96px);
}

.landing-section > .section {
  padding-block: 32px 0;
}

.landing-section:nth-of-type(even) {
  background: var(--sugar);
}

.section-intro h2 {
  margin-block-start: 10px;
  font-size: clamp(2rem, 3.8vw, 3.3rem);
}

.section-intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(0.98rem, 1.25vw, 1.06rem);
  max-width: 60ch;
  margin-block-start: 12px;
  line-height: 1.8;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
}

.feature {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.feature-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--sugar);
  border: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brass);
  margin-block-end: 14px;
}

.feature h2,
.subheading,
.faq h2,
.form-panel h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.feature p,
.form-panel > p {
  margin-block-start: 10px;
  color: var(--muted);
  font-size: 0.96rem;
}

.highlight-card {
  background: #0e3a23;
  color: #f5e8c7;
  border-color: #0e3a23;
}

.highlight-card h2 {
  color: #ffffff;
}

.highlight-card p {
  color: #dbe4de;
}

.subheading {
  margin-block: 44px 18px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  counter-reset: workflow;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.steps li {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  counter-increment: workflow;
  font-size: 0.94rem;
  font-weight: 500;
}

.steps li::before {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  background: var(--sugar);
  border: 1px solid var(--line);
  content: "0" counter(workflow);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brass);
  margin-block-end: 12px;
}

[dir="rtl"] .steps li::before {
  content: counter(workflow, arabic-indic);
}

.section-note {
  color: var(--muted);
  max-width: 64ch;
  margin-block-end: 20px;
}

.form-panel,
.faq {
  max-width: 860px;
}

.form-panel {
  padding: clamp(24px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-block: 24px;
}

.wide {
  grid-column: 1 / -1;
}

.field {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.field small {
  color: var(--muted);
  font-weight: 400;
}

.field :is(input, select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--sugar);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, background 0.2s;
}

.field :is(input, select, textarea):focus {
  border-color: var(--brass);
  background: var(--paper);
  outline: none;
}

.field textarea {
  resize: vertical;
}

.field input[type="file"] {
  padding: 8px 10px;
}

.field input::file-selector-button {
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--ink);
  padding: 6px 14px;
  margin-inline-end: 10px;
  cursor: pointer;
}

.consent {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 0.92rem;
}

.consent input {
  width: 18px;
  height: 18px;
  accent-color: #0e3a23;
  flex: none;
}

[role="status"]:not(:empty) {
  margin-block-start: 16px;
  color: var(--brass);
  font-weight: 600;
}

.faq {
  margin-block-start: 48px;
}

.faq h2 {
  margin-block-end: 16px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding-inline: 20px;
  margin-block-end: 12px;
}

.faq summary {
  padding-block: 16px;
  font-weight: 600;
  font-size: 1rem;
}

.faq p {
  color: var(--muted);
  padding-block-end: 18px;
  max-width: 66ch;
}

.policy-links {
  padding-block: 36px;
}

.policy-links details {
  border-block-end: 1px solid var(--line);
  padding: 0 0 12px;
}

.policy-links summary {
  min-height: 48px;
  padding-block-start: 12px;
  font-weight: 600;
}

.policy-links p {
  max-width: 72ch;
  color: var(--muted);
  margin-block: 8px;
  font-size: 0.94rem;
}

.policy-draft {
  font-weight: 600;
  color: var(--brass);
}

footer {
  background: var(--sugar);
  color: var(--ink);
  padding-block: 52px 28px;
  border-block-start: 1px solid var(--line);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 36px;
}

.footer-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-top nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-top nav a:hover {
  color: var(--ink);
}

.copyright {
  margin-block-start: 32px;
  border-block-start: 1px solid var(--line);
  padding-block-start: 20px;
  font-size: 0.84rem;
  color: var(--muted);
}

@media (min-width: 980px) {
  .split-section {
    display: grid;
    grid-template-columns: minmax(28px, 1fr) minmax(0, 420px) minmax(0, 820px) minmax(28px, 1fr);
    column-gap: clamp(24px, 4vw, 64px);
    align-items: start;
  }

  .split-section > .section-intro {
    grid-column: 2;
    width: 100%;
    position: sticky;
    top: 112px;
  }

  .split-section > .section {
    grid-column: 3;
    width: 100%;
    padding-block: 0;
  }

  .split-section .section-intro h2 {
    font-size: clamp(1.9rem, 3vw, 2.9rem);
  }
}

@media (max-width: 1140px) {
  .header-inner {
    min-height: 70px;
  }

  .brand-logo {
    height: 42px;
  }

  .menu {
    display: grid;
  }

  #navigation {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    padding: 16px 5vw 24px;
    background: var(--paper);
    border-block-end: 1px solid var(--line);
    max-height: 70dvh;
    overflow: auto;
  }

  #navigation.open {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  #navigation a {
    justify-content: center;
    min-height: 44px;
  }
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero-side {
    align-items: center;
  }

  .hero-center {
    max-width: 380px;
    width: 100%;
    margin-inline: auto;
  }

  .hero-pillars {
    width: 100%;
    max-width: 520px;
    text-align: start;
  }

  .actions {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .focus-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards,
  .story-inner,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 440px) {
  .brand-text small {
    display: none;
  }

  .brand-logo {
    height: 38px;
  }

  #navigation.open {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

:root.theme-reveal::view-transition-old(root),
:root.theme-reveal::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

:root.theme-reveal::view-transition-old(root) {
  z-index: 1;
}

:root.theme-reveal::view-transition-new(root) {
  z-index: 2;
}

@keyframes enter-text {
  from {
    opacity: 0.25;
    translate: 0 14px;
  }
  to {
    opacity: 1;
    translate: 0;
  }
}

@keyframes enter-visual {
  from {
    opacity: 0.35;
    translate: 0 16px;
  }
  to {
    opacity: 1;
    translate: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .hero-side > * {
    animation: enter-text 0.68s var(--motion-ease) backwards;
  }

  .hero-frame img {
    animation: enter-visual 0.85s var(--motion-ease) backwards;
  }

  #navigation.open {
    animation: enter-text 0.25s var(--motion-ease);
  }

  .arrow {
    transition: translate 0.25s var(--motion-ease);
  }

  :is(.button, .text-link):is(:hover, :focus-visible) .arrow {
    translate: 4px 0;
  }

  [dir="rtl"] :is(.button, .text-link):is(:hover, :focus-visible) .arrow {
    translate: -4px 0;
  }

  .card img {
    transition: scale 0.6s var(--motion-ease);
  }

  .card:focus-within img {
    scale: 1.03;
  }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .card:hover img {
    scale: 1.03;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
