:root {
  --paper: #f3ece3;
  --paper-deep: #e7ddd0;
  --ink: #1c1612;
  --muted: #5e564e;
  --line: rgba(28, 22, 18, 0.14);
  --wine: #7a3140;
  --wine-deep: #5e2431;
  --gold: #a68456;
  --white: #fffcf8;
  --shadow: 0 22px 50px rgba(28, 22, 18, 0.12);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --header: 76px;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(166, 132, 86, 0.16), transparent 55%),
    var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
  z-index: 50;
}

.skip:focus {
  top: 12px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header);
  padding: 12px 28px;
  background: rgba(243, 236, 227, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}

.brand img {
  width: auto;
  height: 48px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav .nav-message {
  display: none;
}

.nav a:hover {
  color: var(--wine);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  padding: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  margin: 0 auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.btn-solid {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}

.btn-solid:hover {
  background: var(--wine-deep);
}

.btn-ghost:hover,
.btn-line:hover {
  background: var(--ink);
  color: var(--white);
}

.hero,
.band,
.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: end;
  padding: 36px 0 28px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

h1 {
  margin: 0;
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.hero-mark {
  width: min(220px, 58vw);
  height: auto;
}

.hero-word {
  width: min(420px, 92vw);
  height: auto;
}

.arabic {
  width: fit-content;
  max-width: 100%;
  margin: 18px 0 0;
  font-size: 1.25rem;
  color: var(--wine);
}

.lede {
  max-width: 38rem;
  margin: 18px 0 0;
  font-size: 1.12rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  border: 1px solid var(--line);
  background: rgba(255, 252, 248, 0.7);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.86rem;
  font-weight: 650;
}

.collage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 240px 190px;
  gap: 12px;
}

.shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: var(--paper-deep);
  box-shadow: var(--shadow);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot-a {
  grid-row: 1 / span 2;
}

.shot figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(255, 252, 248, 0.92);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marquee-wrap {
  margin: 34px 0 10px;
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 12px 0;
}

.marquee {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: drift 28s linear infinite;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.marquee span {
  color: var(--gold);
}

@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 72px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}

.section-head p {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.filters button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.filters button.is-active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 16px;
}

.card {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(28, 22, 18, 0.08);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card[hidden] {
  display: none;
}

.card-wide {
  grid-row: span 2;
}

.card-media {
  display: block;
  aspect-ratio: 4 / 5;
  background: #efe6da;
  overflow: hidden;
}

.card-wide .card-media {
  aspect-ratio: auto;
  flex: 1;
  min-height: 320px;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.medal {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, #fff, #e6d5c2 72%);
}

.medal img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(28, 22, 18, 0.16);
}

.note-face {
  display: grid;
  place-items: center;
  align-content: center;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  text-decoration: none;
}

.note-face strong {
  font-family: var(--serif);
  font-size: 4.5rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.85;
}

.note-face span {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
}

.card-body {
  padding: 16px 16px 18px;
}

.kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card h3 {
  margin: 6px 0 8px;
  font-size: 1.8rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.card-actions .btn,
.card-actions a {
  min-height: 40px;
  padding: 0 12px;
  font-size: 0.85rem;
}

.card-actions a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
}

.empty {
  margin: 8px 0 0;
  color: var(--muted);
}

.looks {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.look {
  margin: 0;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 360px;
  background: var(--paper-deep);
}

.look img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.look figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: rgba(255, 252, 248, 0.94);
  border-radius: 16px;
  padding: 14px 16px;
}

.look h3 {
  margin: 0 0 4px;
  font-size: 1.7rem;
}

.look p {
  margin: 0;
  color: var(--muted);
}

.quote {
  margin-top: 16px;
  padding: 22px 24px;
  border-left: 3px solid var(--wine);
  background: rgba(255, 252, 248, 0.65);
  border-radius: 0 18px 18px 0;
}

.quote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.delivery {
  background: var(--ink);
  color: var(--paper);
  border-radius: 28px;
  padding: 42px 36px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.delivery h2 {
  margin: 8px 0 0;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
}

.delivery .arabic {
  color: #e7c2b0;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.steps li {
  background: rgba(255, 252, 248, 0.06);
  border: 1px solid rgba(244, 239, 232, 0.14);
  border-radius: 16px;
  padding: 14px 16px;
}

.steps strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.panel {
  background: var(--white);
  border-radius: 22px;
  padding: 26px;
  border: 1px solid rgba(28, 22, 18, 0.08);
}

.panel h3 {
  margin: 0 0 8px;
  font-size: 2.2rem;
}

.panel p {
  margin: 0;
  color: var(--muted);
}

.panel .btn {
  margin-top: 18px;
}

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 10px auto 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  font-weight: 700;
  color: var(--ink);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(440px, calc(100% - 24px));
  background: var(--ink);
  color: var(--paper);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
}

.toast p {
  margin: 0;
}

.toast button {
  flex: none;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(243, 236, 227, 0.45);
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.missing {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: start;
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
}

.missing h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  margin: 0 0 12px;
}

.editor.section {
  padding-top: 28px;
}

.editor-header .header-cta {
  display: inline-flex;
}

.editor h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.editor h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.gate {
  max-width: 520px;
}

.gate form,
.editor-form {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.editor-form {
  margin-top: 0;
}

.editor label,
.editor legend,
.field-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 8px;
}

.editor input:not([type="file"]),
.editor textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  padding: 14px;
  font: inherit;
  min-height: 52px;
}

.editor textarea {
  min-height: 96px;
  resize: vertical;
}

.gate-note,
.field-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.desk-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 22px;
}

.desk-top p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
}

.desk-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.desk-search {
  display: block;
  flex: 1 1 200px;
  min-width: 0;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  font-weight: 500;
}

.gate .btn {
  width: 100%;
}

.desk-tools .filters {
  margin: 0;
}

.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: 18px;
  align-items: start;
}

.editor-form {
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 280px);
  overflow: auto;
}

.editor .photo-pick {
  text-transform: none;
  letter-spacing: 0;
}

.editor-form .card-actions {
  position: sticky;
  bottom: 0;
  margin-top: 8px;
  padding-top: 10px;
  background: var(--white);
}

.choice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice button {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.choice button.is-active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.photo-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.photo-box {
  width: 88px;
  height: 88px;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-box p {
  margin: 0;
  padding: 8px;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.3;
}

.photo-pick {
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.92rem;
  font-weight: 700;
}

.photo-pick input {
  display: none;
}

.editor .card-actions {
  margin-top: 8px;
}

.editor .panel .btn,
.gate .btn {
  margin-top: 8px;
}

.piece-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.piece-list li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-areas:
    "thumb copy"
    "thumb actions";
  gap: 6px 12px;
  align-items: center;
  background: var(--white);
  border-radius: 18px;
  padding: 12px;
  border: 1px solid rgba(28, 22, 18, 0.08);
}

.piece-list li.is-current,
.piece-list li.is-saved {
  border-color: var(--wine);
  box-shadow: 0 0 0 1px var(--wine);
}

.piece-thumb {
  grid-area: thumb;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--paper-deep);
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.piece-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.piece-copy {
  grid-area: copy;
  min-width: 0;
}

.piece-copy strong,
.piece-copy span {
  display: block;
}

.piece-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.piece-copy span,
.piece-actions p {
  color: var(--muted);
  font-size: 0.88rem;
}

.piece-actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.piece-actions p {
  width: 100%;
  margin: 0;
}

.btn-quiet {
  border-color: transparent;
  color: var(--wine);
}

.piece-board .empty {
  margin-top: 8px;
}

@media (min-width: 720px) {
  .piece-list li {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    grid-template-areas: "thumb copy actions";
  }

  .piece-actions p {
    width: auto;
  }
}

@media (max-width: 860px) {
  .editor-header .brand img {
    height: 36px;
  }

  .editor-header .btn {
    flex: none;
    white-space: nowrap;
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .editor-layout {
    grid-template-columns: 1fr;
  }

  .editor-form {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .editor-form .card-actions {
    position: static;
  }

  .desk-top {
    align-items: start;
  }
}

:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .grid,
  .looks,
  .delivery,
  .visit-grid,
  .hero {
    grid-template-columns: 1fr;
  }

  .card-wide {
    grid-row: auto;
  }

  .card-wide .card-media {
    min-height: 280px;
    aspect-ratio: 4 / 5;
    flex: none;
  }

  .collage {
    grid-template-rows: 280px 180px;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 10px 16px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .header-cta {
    display: none;
  }

  .nav {
    display: none;
    position: absolute;
    inset: var(--header) 12px auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px;
  }

  .nav .nav-message {
    display: inline-flex;
    margin-top: 6px;
  }

  .hero,
  .band,
  .section,
  .site-footer {
    width: min(var(--max), calc(100% - 28px));
  }

  h1 {
    font-size: clamp(3.4rem, 16vw, 4.8rem);
  }

  .collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 140px;
  }

  .shot-a {
    grid-column: 1 / -1;
    grid-row: auto;
    height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee {
    animation: none;
  }
}
