@font-face {
  font-family: Rakkas;
  src: url("assets/fonts/rakkas-arabic.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("assets/fonts/plex-arabic.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("assets/fonts/plex-arabic-semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: oklch(96.2% .024 83);
  --cream: oklch(93.8% .034 80);
  --ink: oklch(24% .036 52);
  --muted: oklch(43% .038 59);
  --line: oklch(82% .044 77);
  --saffron: oklch(80% .137 77);
  --clay: oklch(49% .126 43);
  --green: oklch(38% .063 113);
  --dark: oklch(22% .041 46);
  --display: "Rakkas", Georgia, serif;
  --body: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(1.15rem, 5vw, 5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
svg { display: block; width: 1.25em; height: 1.25em; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.04; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
[id] { scroll-margin-top: 1.2rem; }
.symbol-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(calc(100% - var(--gutter) * 2), 84rem); margin-inline: auto; }
.skip { position: fixed; z-index: 4; inset-block-start: .5rem; inset-inline-start: .5rem; padding: .65rem 1rem; background: var(--paper); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 1; background: var(--paper); }
.header-inner { min-height: 5.1rem; display: grid; align-items: center; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: .55rem; }
.brand img { width: 2.9rem; height: 2.9rem; object-fit: contain; }
.brand-name { font: 400 2.05rem/1 var(--display); white-space: nowrap; }
.header-nav, .header-actions { display: flex; align-items: center; }
.header-nav { gap: clamp(1.1rem, 3vw, 2.8rem); }
.header-nav a, .footer-nav a { padding-block: .6rem; font-weight: 600; }
.header-nav a:hover, .footer-nav a:hover { text-decoration: underline; text-underline-offset: .35em; }
.header-actions { gap: .6rem; justify-content: end; }
.icon-button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: 50%; transition: background .2s; }
.icon-button:hover { background: var(--cream); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .9rem; min-height: 2.8rem; padding: .65rem 1rem; font-weight: 600; white-space: nowrap; transition: background .24s var(--ease), color .24s var(--ease), border-color .24s var(--ease); }
.button svg, .text-link svg, .collection-arrow svg { transition: transform .26s var(--ease); }
.button:hover svg, .text-link:hover svg, .collection-link:hover .collection-arrow svg { transform: translateX(-.2rem); }
.button--header { background: var(--ink); color: var(--paper); border-radius: .2rem; font-size: .9rem; }
.button--header:hover { background: var(--clay); }

.hero { position: relative; overflow: hidden; isolation: isolate; min-height: min(41.5rem, 70vw); display: grid; align-items: center; background: #2b160d; color: var(--paper); }
.hero-photo { position: absolute; inset-block: 0; left: 0; width: 64%; height: 100%; object-fit: cover; object-position: 50% 62%; z-index: -3; }
.hero-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(270deg, #2b160d 11%, #2b160d 33%, #2b160dbd 44%, transparent 66%), linear-gradient(0deg, #2b160d74, transparent 24%); }
.hero-inner { position: relative; padding-block: clamp(3.5rem, 6.2vw, 6.7rem) clamp(3.6rem, 7vw, 7rem); }
.hero-copy { max-width: 39rem; }
.hero-label, .eyebrow { display: flex; align-items: center; gap: .55rem; font-size: .96rem; font-weight: 600; }
.hero-label { color: var(--saffron); margin-block-end: 1.5rem; }
.hero-label svg, .eyebrow svg { width: 1.2rem; height: 1.2rem; flex-shrink: 0; }
.hero h1 { font-size: clamp(4rem, 7.7vw, 8rem); line-height: .98; }
.hero h1 span { color: var(--saffron); }
.hero-intro { max-width: 29rem; margin-block: 1.55rem 1.65rem; color: oklch(91% .037 77); font-size: clamp(1.04rem, 1.36vw, 1.22rem); line-height: 1.75; }
.button--honey { min-height: 3.2rem; padding-inline: 1.25rem; border-radius: .2rem; background: var(--saffron); color: var(--ink); }
.button--honey:hover { background: var(--paper); }
.hero-down { position: absolute; inset-inline-end: var(--gutter); inset-block-end: 1.5rem; border: 1px solid oklch(91% .035 77 / .6); border-radius: 50%; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; transition: background .25s, color .25s; }
.hero-down:hover { background: var(--paper); color: var(--ink); }
.hero-down svg { transform: rotate(-90deg); }
.woven-trim { height: .72rem; background: #f1d291 url("assets/trim.svg") center center / auto 100% repeat-x; border-block: 1px solid #ba8439; }

.collections, .catalog { padding-block: clamp(3.5rem, 6.6vw, 7rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-block-end: clamp(1.45rem, 3vw, 2.7rem); }
.eyebrow { color: var(--clay); margin-block-end: 1.1rem; }
.section-title h2 { font-size: clamp(3.1rem, 5.9vw, 5.6rem); }
.text-link { display: inline-flex; align-items: center; gap: .65rem; border-bottom: 1px solid currentColor; font-weight: 600; padding-block: .25rem; }
.text-link svg { flex: none; }
.collections-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(.8rem, 1.7vw, 1.55rem); }
.collections-grid:has(.collection--spices[hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.collection { min-width: 0; }
.collection--honey { --collection-surface: oklch(89% .067 82); --collection-ink: var(--ink); }
.collection--spices { --collection-surface: oklch(40% .095 38); --collection-ink: var(--paper); }
.collection--oils { --collection-surface: oklch(88% .052 115); --collection-ink: var(--ink); }
.collection-link { display: block; height: 100%; background: var(--collection-surface); color: var(--collection-ink); }
.collection-link:focus-visible { outline-color: var(--ink); }
.collection-visual { position: relative; height: clamp(11rem, 23vw, 22rem); overflow: hidden; isolation: isolate; }
.collection-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--ease); }
.collection--honey .collection-visual { background: oklch(97% .023 84); }
.collection--honey img { mix-blend-mode: multiply; object-position: center; }
.collection--spices img { object-position: 50% 55%; }
.collection--oils .collection-visual { background: oklch(94% .031 115); }
.collection--oils img { object-fit: cover; mix-blend-mode: multiply; object-position: center; }
.collection-link:hover .collection-visual img { transform: scale(1.035); }
.collection-index { position: absolute; inset-block-start: .9rem; inset-inline-start: .9rem; width: 2.5rem; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-weight: 600; border-radius: 50%; }
.collection-caption { display: flex; align-items: end; justify-content: space-between; gap: .75rem; padding: clamp(.95rem, 2vw, 1.6rem); border-top: 1px solid oklch(60% .064 61 / .33); }
.collection-caption h3 { font-size: clamp(1.65rem, 3vw, 2.7rem); margin-block-end: .35rem; }
.collection-caption p { font-size: clamp(.82rem, 1.2vw, .97rem); }
.collection-arrow { display: grid; place-items: center; width: 2.55rem; height: 2.55rem; flex: none; border: 1px solid currentColor; border-radius: 50%; }

.catalog { border-block-start: 1px solid var(--line); background: var(--cream); }
.site-footer { background: var(--dark); color: var(--paper); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.8rem; padding-block: 3rem; }
.footer-inner p { color: oklch(87% .04 79); margin-block-start: .5rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.back-to-top { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; }
.back-to-top svg { transform: rotate(90deg); }
.footer-bottom { padding-block: 1.1rem; border-top: 1px solid oklch(55% .05 70 / .5); color: oklch(87% .04 79); font-size: .88rem; }
.footer-bottom, .footer-contact { display: flex; flex-wrap: wrap; gap: .55rem 1.15rem; }
.footer-contact { font-style: normal; }
.footer-contact a { text-decoration: underline; text-underline-offset: .25em; }

@media (max-width: 900px) {
  .header-inner { gap: .8rem; }
  .brand-name { font-size: 1.8rem; }
  .hero-copy { max-width: 30rem; }
  .hero-photo { width: 70%; }
  .hero-shade { background: linear-gradient(270deg, #2b160d 5%, #2b160d 24%, #2b160db5 42%, transparent 73%); }
  .hero-intro { max-width: 23rem; }
  .collections-grid { grid-template-columns: 1fr 1fr; }
  .collections-grid:has(.collection--spices[hidden]) { grid-template-columns: minmax(0, 1fr); }
  .collection--honey { grid-column: 1 / -1; }
  .collection--honey .collection-visual { height: clamp(13rem, 38vw, 23rem); }
  .collection--honey img { object-fit: contain; }
  .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 680px) {
  .header-inner { min-height: 4rem; grid-template-columns: 1fr auto; gap: 0 .5rem; }
  .brand img { width: 2.45rem; height: 2.45rem; }
  .brand-name { font-size: 1.68rem; }
  .header-nav { grid-row: 2; grid-column: 1 / -1; width: 100%; justify-content: center; border-top: 1px solid var(--line); gap: clamp(.8rem, 6vw, 2.2rem); font-size: .88rem; }
  .header-nav a { padding-block: .65rem; }
  .header-actions { grid-column: 2; grid-row: 1; min-height: 4rem; gap: .4rem; }
  .header-actions .icon-button { width: 2.4rem; height: 2.4rem; }
  .button--header { font-size: .78rem; min-height: 2.4rem; gap: .35rem; padding: .35rem .65rem; }
  .button--header svg { display: none; }
  .hero { min-height: 43rem; align-items: start; }
  .hero-inner { padding-block: 2.45rem 0; }
  .hero-copy { max-width: 24rem; }
  .hero-photo { inset-block: auto 0; width: 100%; height: 63%; object-position: center 63%; }
  .hero-shade { background: linear-gradient(180deg, #2b160d 0%, #2b160d 28%, #2b160dbf 43%, transparent 65%), linear-gradient(0deg, #2b160d68, transparent 20%); }
  .hero h1 { font-size: clamp(3.5rem, 11.9vw, 5.2rem); }
  .hero-label { margin-block-end: .8rem; }
  .hero-intro { margin-block: .8rem 1rem; max-width: 21rem; }
  .button--honey { min-height: 2.8rem; }
  .hero-down { width: 2.4rem; height: 2.4rem; inset-block-end: .95rem; }
  .section-heading { align-items: start; flex-direction: column; }
  .section-title h2 { font-size: clamp(2.8rem, 10vw, 4.2rem); }
  .eyebrow { margin-block-end: .75rem; }
  .collections-grid { gap: .72rem; }
  .collection-visual { height: clamp(8.25rem, 34vw, 14rem); }
  .collection-caption { align-items: start; padding: .8rem .7rem; gap: .4rem; }
  .collection-caption h3 { font-size: clamp(1.45rem, 5vw, 1.95rem); }
  .collection-caption p { line-height: 1.45; }
  .collection-index { width: 1.95rem; inset-block-start: .55rem; inset-inline-start: .55rem; font-size: .84rem; }
  .collection-arrow { width: 1.7rem; height: 1.7rem; }
  .collection-arrow svg { width: 1rem; height: 1rem; }
  .footer-inner { flex-direction: column; align-items: start; padding-block: 2.2rem; gap: 1rem; }
  .footer-nav { gap: .2rem 1rem; }
}
@media (max-width: 355px) {
  .hero h1 { font-size: 3.35rem; }
  .collection-caption h3 { font-size: 1.4rem; }
  .collection--spices .collection-arrow, .collection--oils .collection-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.cart-entry { position: relative; background: transparent; cursor: pointer; }
.cart-entry-count { position: absolute; inset-block-start: -.28rem; inset-inline-end: -.28rem; min-width: 1.15rem; height: 1.15rem; padding-inline: .16rem; border-radius: 1rem; background: var(--green); color: var(--paper); font-size: .71rem; font-weight: 600; line-height: 1.15rem; }
.cart-entry-count[hidden] { display: none; }
@media (max-width: 415px) {
  .header-actions .button--header { display: none; }
}
