/* Diriyah Haven: base. motion tokens: see the skill's reference/motion.md before adding any animation */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --dir: 1;
  --sand: #f3e8d9;
  --sand-deep: #e8d5bd;
  --sand-edge: #ecdccb;
  --maroon: #5c0a06;
  --green: #305010;
  --green-hover: #3b6318;
  --ink: #3b2a22;
  --muted: #6b564a;
  --line: rgb(92 10 6 / 0.18);
  --display: "Cormorant Garamond", "Amiri", Georgia, serif;
  --hv-h: 4.25rem;
}
[dir="rtl"] { --dir: -1; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--hv-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font-family); background: var(--sand); color: var(--ink); line-height: 1.7; font-size: 1.0625rem; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--maroon); color: var(--sand); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); color: var(--maroon); font-weight: 600; line-height: 1.2; text-wrap: balance; margin: 0; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: "Amiri", var(--display); font-weight: 700; line-height: 1.45; }
.container { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.stack > * + * { margin-block-start: 1rem; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.center { text-align: center; }
.visually-hidden { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.flip { display: block; }
[dir="rtl"] .flip { transform: scaleX(-1); }
.riyal { inline-size: 0.8em; block-size: 0.8em; margin-inline-start: 0.2em; vertical-align: -0.05em; }

/* buttons */
.hv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-block-size: 3rem; padding: 0.6rem 1.75rem; border: 1px solid var(--maroon); border-radius: 0.25rem; background: transparent; color: var(--maroon); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 150ms ease, color 150ms ease, border-color 150ms ease; }
.hv-btn--primary { background: var(--green); border-color: var(--green); color: #fbf4e8; }
.hv-btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .hv-btn--primary:hover { background: var(--green-hover); border-color: var(--green-hover); }
  .hv-btn:not(.hv-btn--primary):not(.hv-btn--outline):hover { background: var(--maroon); color: var(--sand); }
}

/* announcement banner */
.banner { background: var(--maroon); color: #fbf4e8; font-size: 0.9375rem; text-align: center; }
.banner > * { display: block; margin-block: 0; padding-block: 0.5rem; color: inherit; }

/* header */
.hv-header { position: sticky; inset-block-start: 0; z-index: 50; background: var(--sand); border-block-end: 1px solid var(--line); }
.hv-header__bar { display: flex; align-items: center; gap: 1.5rem; inline-size: min(100% - 2rem, 80rem); min-block-size: var(--hv-h); margin-inline: auto; }
.hv-logo { display: inline-flex; align-items: center; gap: 0.6rem; margin-inline-end: auto; text-decoration: none; color: var(--maroon); }
.hv-logo__name { font-family: "Amiri", var(--display); font-size: 1.5rem; font-weight: 700; line-height: 1; white-space: nowrap; }
html[lang="en"] .hv-logo__name { font-family: var(--display); font-size: 1.5rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.hv-nav { display: none; gap: 2rem; }
.hv-nav a { position: relative; padding-block: 0.5rem; text-decoration: none; font-weight: 500; font-size: 1rem; }
.hv-nav a::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0.15rem; block-size: 1px; background: var(--maroon); transform: scaleX(0); transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .hv-nav a:hover::after { transform: scaleX(1); } }
.hv-header__tools { display: flex; align-items: center; gap: 0.75rem; }
.hv-header__account { display: none; }
.languages a { display: inline-flex; align-items: center; justify-content: center; min-block-size: 2.75rem; padding-inline: 0.9rem; border: 1px solid var(--maroon); border-radius: 0.25rem; color: var(--maroon); font-weight: 600; font-size: 0.9375rem; text-decoration: none; transition: background-color 150ms ease, color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .languages a:hover { background: var(--maroon); color: var(--sand); } }
.site-header__branch, .site-header__account button { min-block-size: 2.75rem; padding: 0 0.25rem; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.site-header__account a { text-decoration: none; font-weight: 500; }
.hv-burger { display: grid; place-content: center; gap: 6px; inline-size: 2.75rem; block-size: 2.75rem; padding: 0; border: 1px solid var(--maroon); border-radius: 0.25rem; background: transparent; cursor: pointer; }
.hv-burger span { display: block; inline-size: 1.25rem; block-size: 2px; background: var(--maroon); transition: transform 250ms var(--ease-out); }
[data-open] .hv-burger span:first-child { transform: translateY(4px) rotate(45deg); }
[data-open] .hv-burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.hv-menu { position: absolute; inset-inline: 0; inset-block-start: 100%; display: grid; gap: 1.25rem; max-block-size: calc(100dvh - var(--hv-h)); overflow-y: auto; padding: 1.25rem 1.25rem max(1.5rem, env(safe-area-inset-bottom)); background: var(--sand); border-block-end: 1px solid var(--line); opacity: 0; transform: translateY(-0.5rem); visibility: hidden; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s 200ms; }
[data-open] .hv-menu { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.hv-menu nav { display: grid; }
.hv-menu nav a { display: flex; align-items: center; min-block-size: 3.25rem; border-block-end: 1px solid var(--line); text-decoration: none; font-family: "Amiri", var(--display); font-size: 1.5rem; color: var(--maroon); }
html[lang="en"] .hv-menu nav a { font-family: var(--display); font-size: 1.625rem; }
.hv-menu__account { display: block; }
@media (min-width: 62rem) {
  .hv-nav { display: flex; }
  .hv-burger, .hv-menu { display: none; }
  .hv-header__account { display: block; }
  .hv-logo { margin-inline-end: 0; }
  .hv-header__bar { gap: 2.5rem; }
  .hv-nav { margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) { .hv-menu, .hv-burger span { transition-property: opacity; } [data-open] .hv-burger span { transform: none; } }

/* footer */
.hv-footer { padding: 0; border-block-start: 1px solid var(--line); background: var(--sand); color: var(--ink); font-size: 1rem; }
.hv-footer__grid { display: grid; gap: 2.5rem; inline-size: min(100% - 2.5rem, 72rem); margin-inline: auto; padding-block: clamp(2.5rem, 7vw, 4.5rem); justify-items: center; text-align: center; }
.hv-footer__col { display: grid; gap: 1.1rem; align-content: start; justify-items: center; inline-size: 100%; }
.hv-footer__logo { display: block; }
.hv-footer__logo img { display: block; block-size: 7.5rem; inline-size: auto; }
.hv-footer__title { font-size: 1.5rem; }
.hv-footer__list, .hv-footer__social { margin: 0; padding: 0; list-style: none; }
.hv-footer__list { display: grid; gap: 0.15rem; justify-items: center; }
.hv-footer__list a { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-block-size: 2.75rem; padding-inline: 0.5rem; color: var(--ink); text-decoration: none; text-underline-offset: 0.25em; }
@media (hover: hover) and (pointer: fine) { .hv-footer__list a:hover { color: var(--maroon); text-decoration: underline; } }
.hv-footer__contact li { display: grid; justify-items: center; }
.hv-footer__contact a span, .hv-footer__place span { display: block; font-size: 0.875rem; color: var(--muted); line-height: 1.4; }
.hv-footer__contact bdi { color: var(--maroon); font-weight: 500; overflow-wrap: anywhere; }
.hv-footer__place { padding-block: 0.4rem; font-family: "Amiri", var(--display); font-size: 1.375rem; color: var(--maroon); line-height: 1.4; }
html[lang="en"] .hv-footer__place { font-family: var(--display); font-weight: 600; font-size: 1.5rem; }
.hv-footer__social { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.hv-footer__social a { display: grid; place-items: center; inline-size: 2.75rem; block-size: 2.75rem; border: 1px solid var(--maroon); border-radius: 999px; color: var(--maroon); transition: transform 160ms var(--ease-out), background-color 150ms ease, color 150ms ease; }
.hv-footer__social a:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .hv-footer__social a:hover { background: var(--maroon); color: var(--sand); } }
.hv-footer__base { inline-size: min(100% - 2.5rem, 72rem); margin-inline: auto; padding-block: 1.25rem 1.5rem; border-block-start: 1px solid var(--line); text-align: center; color: var(--muted); font-size: 0.9375rem; }
@media (min-width: 62rem) {
  .hv-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; justify-items: stretch; text-align: start; }
  .hv-footer__col { justify-items: start; }
  .hv-footer__list { justify-items: start; }
  .hv-footer__list a { align-items: flex-start; padding-inline: 0; }
  .hv-footer__contact li { justify-items: start; }
  .hv-footer__social { justify-content: flex-start; }
}
