:root {
  color-scheme: light;
  --cream: #f3ebdf;
  --paper: #fbf6ed;
  --ink: #2c221e;
  --muted: #62514c;
  --wine: #581f27;
  --dark: #211310;
  --gold: #e7bb7f;
  --rule: #d9caba;
  --display: "Baskerville", "Palatino Linotype", Georgia, serif;
  --sans: "Avenir Next", "Trebuchet MS", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
a { color: inherit; }
a:focus-visible { outline: 3px solid #b16c30; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1; }
.wrap { width: min(100% - 6rem, 76rem); margin-inline: auto; }
.skip { position: fixed; top: .6rem; left: .6rem; z-index: 5; background: var(--paper); padding: .5rem 1rem; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.header { background: #1b100e; color: var(--cream); border-bottom: 1px solid #af80604d; }
.header-inner { min-height: 5.3rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: inherit; text-decoration: none; }
.brand img { width: 3.2rem; height: 3.2rem; object-fit: contain; }
.brand span { font: 500 1.6rem/.95 var(--display); white-space: nowrap; }
.brand small { display: block; margin-top: .4rem; color: var(--gold); font: 600 .72rem/1.1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
nav { display: flex; gap: clamp(1rem, 3vw, 2.6rem); }
nav a { font-size: .94rem; text-decoration: none; }
nav a:hover { color: var(--gold); }
.button { min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; padding: .7rem 1.32rem; background: var(--gold); color: #261610; border: 1px solid var(--gold); text-decoration: none; font-size: .9rem; font-weight: 700; transition: background .18s, color .18s; }
.button:hover { background: #f6d5a8; }
.button.outline { background: #21131041; border-color: #fff6e898; color: #fff7ea; }
.button.outline:hover { background: var(--cream); color: var(--ink); }
.hero { position: relative; isolation: isolate; min-height: clamp(34rem, 52vw, 43rem); display: grid; align-items: center; color: #fff4e5; background: #2a1713 url("assets/hero.jpg") center 56% / cover no-repeat; }
.hero::before { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, #1c100e 0%, #211210ef 24%, #22120d99 46%, #20140c05 74%), linear-gradient(0deg, #17080488, transparent 35%); }
.hero-content { padding-block: 4rem 4.5rem; }
.eyebrow { display: flex; align-items: center; gap: .7rem; font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .17em; }
.eyebrow span { width: 1.75rem; height: 1px; background: currentColor; }
.hero .eyebrow, .story .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(4rem, 7.8vw, 7.3rem); line-height: .83; letter-spacing: -.06em; margin: 1.6rem 0; }
.hero h1 em { color: #efc897; font-weight: inherit; }
.hero-description { max-width: 26rem; font-size: 1.0625rem; color: #f4e6d8; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.65rem; }
.menu-section { padding-block: 4.6rem 5rem; background: var(--cream); }
h2 { font-size: clamp(2.6rem, 5.1vw, 4.65rem); letter-spacing: -.045em; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: 1.65rem; }
.section-heading > p { color: var(--muted); max-width: 21rem; }
.text-link { text-underline-offset: .25rem; font-weight: 700; font-size: .9rem; }
.text-link:hover { text-decoration-thickness: 2px; }
.menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--rule); }
.menu-grid a { display: grid; gap: .35rem; padding: 1.37rem 1.25rem 1.37rem 1.4rem; text-decoration: none; }
.menu-grid a:first-child { padding-left: 0; }
.menu-grid a + a { border-left: 1px solid var(--rule); }
.menu-grid a:hover strong { color: var(--wine); text-decoration: underline; text-underline-offset: .25rem; text-decoration-thickness: 1px; }
.menu-grid strong { font: 500 clamp(1.65rem, 2.9vw, 2.4rem)/1.05 var(--display); }
.menu-grid span { color: var(--muted); }
.menu-grid small { margin-top: .2rem; color: var(--wine); font-size: .875rem; font-weight: 700; }
.location-section { padding-block: 5rem 5.6rem; }
.location-section .eyebrow { color: var(--wine); margin-bottom: .75rem; }
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.45rem; }
.branch { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--rule); min-width: 0; }
.branch-image { display: block; overflow: hidden; background: #d2baa6; }
.branch-image img { width: 100%; height: auto; aspect-ratio: 1.52; object-fit: cover; transition: transform .25s; }
.branch-image:hover img { transform: scale(1.035); }
.branch-info { display: flex; flex-direction: column; padding: 1.25rem; }
.branch-info h3 { font-size: 2.5rem; margin-bottom: .5rem; }
.branch-info p { min-height: 3.2rem; color: var(--muted); line-height: 1.42; }
.branch-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1.1rem; margin-top: auto; padding-top: 1.1rem; }
.branch-book { padding: .45rem .72rem; border: 1px solid var(--wine); color: var(--wine); font-size: .875rem; font-weight: 700; text-decoration: none; }
.branch-book:hover { background: var(--wine); color: var(--paper); }
.story { color: var(--paper); background: var(--wine); padding-block: 4.75rem; }
.story-inner { display: grid; grid-template-columns: 1fr .8fr; gap: 2rem 4rem; align-items: center; }
.story h2 { margin-top: 1rem; }
.story-inner > div > p:not(.eyebrow) { max-width: 34rem; color: #f6e6db; font-size: 1.1rem; }
.story-links { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.25rem; color: var(--gold); }
.footer { background: #1b100e; color: var(--cream); padding-block: 2.5rem 1rem; }
.footer-main { display: grid; grid-template-columns: 1.08fr 1fr .73fr; gap: 1.5rem; align-items: start; }
.footer-main h2 { font: 700 .9rem/1.2 var(--sans); color: var(--gold); letter-spacing: .07em; text-transform: uppercase; margin-bottom: .5rem; }
.footer-main > div a { display: block; width: fit-content; overflow-wrap: anywhere; }
.footer-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; border-top: 1px solid #ecceb447; margin-top: 1.8rem; padding-top: .8rem; font-size: .875rem; color: #e2d1c3; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 3.5rem); }
  .branch-grid { gap: .8rem; }
  .branch-info { padding: 1rem; }
}
@media (max-width: 690px) {
  .wrap { width: calc(100% - 2.5rem); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: .65rem; padding-block: .65rem; }
  .header-book { grid-area: 1/2; padding-inline: .7rem; min-height: 2.75rem; }
  .brand img { width: 2.6rem; height: 2.6rem; }
  .brand span { font-size: 1.34rem; }
  .brand small { font-size: .6rem; }
  nav { grid-column: span 2; gap: 1.8rem; border-top: 1px solid #af80604d; padding-top: .5rem; }
  .hero { min-height: 37rem; align-items: end; background-position: 63% 36%; }
  .hero::before { background: linear-gradient(0deg, #1b100d 5%, #1d110fdd 32%, #21120f16 83%), linear-gradient(90deg,#1b100d55,transparent); }
  .hero-content { padding-block: 8rem 2.7rem; }
  .hero h1 { font-size: clamp(3.7rem, 12vw, 5.2rem); }
  .actions .button { padding-inline: .8rem; }
  .menu-section, .location-section, .story { padding-block: 3.3rem; }
  .section-heading { align-items: start; flex-wrap: wrap; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-grid a:nth-child(odd) { border-left: 0; padding-left: 0; }
  .menu-grid a:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .menu-grid a { padding-right: .5rem; }
  .branch-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .story-inner, .footer-main { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Shared navigation */
.header { position: relative; z-index: 2; }
.header-inner nav { align-items: center; }
.header-inner nav a[aria-current="page"], .current-branch { color: var(--gold); }
.branch-nav { position: relative; }
.branch-nav summary {
  display: flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
  list-style: none;
  font-size: .94rem;
}
.branch-nav summary::-webkit-details-marker { display: none; }
.branch-nav summary::after {
  width: .42rem;
  height: .42rem;
  margin-bottom: .2rem;
  content: "";
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}
.branch-nav summary:hover { color: var(--gold); }
.branch-nav summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.branch-dropdown {
  position: absolute;
  top: calc(100% + .7rem);
  right: 0;
  min-width: 10rem;
  padding: .3rem;
  background: #241612;
  border: 1px solid #af806069;
  box-shadow: 0 .7rem 1.5rem #0003;
}
.branch-dropdown a { display: block; padding: .55rem .75rem; }
.branch-dropdown a:hover { background: #fff1; }
.branch-info h3 a { text-decoration: none; }
.branch-info h3 a:hover { text-decoration: underline; text-underline-offset: .17em; text-decoration-thickness: 1px; }

/* Homepage brand introduction */
.brand-intro { background: #fcf9f4; }
.brand-intro-inner {
  min-height: 19rem;
  display: grid;
  grid-template-columns: minmax(12rem, 19rem) minmax(0, 46rem);
  align-items: center;
  gap: 2rem 3.5rem;
  padding-block: .75rem;
}
.brand-intro-inner img { width: 100%; height: auto; }
.brand-intro-inner p { font: 500 clamp(1.35rem, 2.4vw, 1.9rem)/1.33 var(--display); }

/* Interior pages */
.page-masthead, .branch-hero { color: var(--paper); background: var(--dark); }
.page-masthead { padding-block: clamp(3.6rem, 9vw, 7rem); }
.page-masthead h1, .branch-hero h1 { font-size: clamp(3.8rem, 9vw, 7.2rem); letter-spacing: -.055em; }
.page-masthead p, .branch-lead { margin-top: 1rem; font-size: 1.125rem; color: #f4e6d8; }
.menu-masthead { background: linear-gradient(90deg, #211310 12%, #211310bb 63%, #21131062), url("assets/hero.jpg") center 53% / cover; }
.page-content, .photo-section, .branch-feature { padding-block: clamp(3rem, 6vw, 5.4rem); }
.menu-deck { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.menu-card { display: grid; grid-template-rows: auto 1fr auto; gap: .85rem; border: 1px solid var(--rule); padding: clamp(1rem, 2vw, 1.65rem); }
.menu-card h2 { font-size: clamp(1.85rem, 3.5vw, 2.6rem); }
.menu-card p { color: var(--muted); }
.menu-card a { width: fit-content; align-self: end; color: var(--wine); }
@supports (grid-template-rows: subgrid) {
  .menu-card { grid-row: span 3; grid-template-rows: subgrid; }
}
.about-layout, .branch-intro, .visit-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 2rem 3.6rem; align-items: start; }
.about-layout > img { justify-self: center; align-self: center; width: min(100%, 19rem); height: auto; }
.editorial { display: grid; gap: 1rem; align-content: start; }
.editorial p { color: var(--muted); max-width: 49rem; }
.editorial .actions { margin-top: .25rem; align-items: center; }
.dark-button { color: var(--paper); background: var(--wine); border-color: var(--wine); }
.dark-button:hover { background: #73323a; }
.branch-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; padding-block: 3.25rem; }
.branch-hero .eyebrow { color: var(--gold); margin-bottom: .8rem; }
.branch-hero img { width: 100%; height: auto; aspect-ratio: 1.45; object-fit: cover; }
.branch-feature { background: var(--wine); color: var(--paper); }
.branch-feature h2 { margin-bottom: 1.5rem; }
.adliya-player {
  display: grid;
  grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  max-width: 58rem;
  align-items: stretch;
  gap: 1px;
  overflow: hidden;
  border: 1px solid #c4997857;
  border-radius: .75rem;
  background: #c4997857;
}
.video-stage { position: relative; display: grid; place-items: center; min-width: 0; background: #100c0c; }
.video-stage video {
  display: block;
  width: min(100%, 18rem);
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #100c0c;
}
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  padding: 0;
  transform: translate(-50%, -50%);
  border: 1px solid #ffffff59;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  cursor: pointer;
  box-shadow: 0 .4rem 1.5rem #0006;
}
.video-play::before {
  content: "";
  margin-inline-start: .2rem;
  border-block: .53rem solid transparent;
  border-inline-start: .82rem solid currentColor;
}
.video-play:hover { background: #f6d5a8; }
.video-play:focus-visible { outline: 2px solid white; outline-offset: 5px; }
.video-error { position: absolute; inset: auto 1rem 3rem; padding: .7rem; background: var(--dark); text-align: center; }
.video-play[hidden], .video-error[hidden] { display: none; }
.video-details {
  display: grid;
  align-content: center;
  gap: .85rem;
  padding: clamp(1.4rem, 4vw, 3.5rem);
  background: #281718;
}
.video-details h3 { font-size: clamp(2rem, 4.5vw, 3.45rem); letter-spacing: -.03em; }
.video-details p { color: #e5cfc4; max-width: 30rem; }
.photo-section { background: var(--cream); }
.photo-section h2 { margin-bottom: 1.5rem; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.photo-grid a { display: block; overflow: hidden; background: var(--rule); }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .2s; }
.photo-grid a:hover img { transform: scale(1.04); }
.photo-dialog { max-width: min(calc(100% - 2rem), 64rem); max-height: calc(100% - 2rem); padding: .85rem; background: var(--dark); color: var(--paper); border: 1px solid var(--gold); }
.photo-dialog::backdrop { background: #160d0bea; }
.photo-dialog img { display: block; max-width: 100%; max-height: 75vh; object-fit: contain; margin-inline: auto; }
.photo-toolbar { display: flex; flex-wrap: wrap; justify-content: end; gap: .45rem; margin-bottom: .6rem; }
.photo-toolbar button { color: var(--paper); background: transparent; border: 1px solid #ffffff69; padding: .45rem .65rem; font: inherit; cursor: pointer; }
.photo-toolbar button:hover, .photo-toolbar button:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.visit-grid { align-items: center; }
.visit-grid address { font-style: normal; }
.visit-grid .social-links { display: flex; gap: 1rem; }
.branch-map { display: block; width: 100%; min-height: 20rem; border: 1px solid var(--rule); }
@media (max-width: 900px) {
  .header-inner { gap: 1rem; }
  .header-inner nav { gap: .85rem; }
  .menu-deck { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: .65rem; padding-block: .65rem; }
  .header-book { grid-area: 1 / 2; }
  .header-inner nav { grid-column: span 2; justify-content: space-between; gap: .45rem; border-top: 1px solid #af80604d; padding-top: .5rem; }
  .brand-intro-inner { grid-template-columns: minmax(8rem, 12rem) 1fr; min-height: 13rem; gap: 1.5rem; }
  .about-layout, .branch-intro, .branch-hero-inner, .visit-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .adliya-player { grid-template-columns: 1fr; }
  .branch-hero img { max-height: 24rem; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 425px) {
  .header-inner nav a, .branch-nav summary { font-size: .875rem; }
  .brand-intro-inner { grid-template-columns: 1fr; justify-items: center; gap: 0; padding: .1rem 0 2rem; text-align: center; }
  .brand-intro-inner img { width: 11rem; margin-block: -.4rem -1.25rem; }
  .menu-deck { grid-template-columns: 1fr; }
}

/* Adliya festive booklet */
.branch-hero .actions { align-items: center; }
.festive-hero-link { color: var(--gold); padding: .65rem .15rem; }
.festive-programme {
  padding-block: clamp(3.25rem, 7vw, 6rem);
  color: var(--paper);
  background: radial-gradient(ellipse at 12% 0%, #4d2825, transparent 54%), #2b1718;
}
.festive-layout { display: grid; justify-items: center; gap: 1.4rem; text-align: center; }
.festive-intro { max-width: 45rem; }
.festive-intro .eyebrow { justify-content: center; margin-bottom: .9rem; color: var(--gold); }
.festive-intro > p:last-child { max-width: 40rem; margin: 1rem auto 0; color: #eeded4; }
.festive-art {
  width: min(100%, 34rem);
  margin: 0;
  padding: clamp(.5rem, 1vw, .85rem);
  border: 1px solid #e7bb7f73;
  border-radius: .45rem;
  background: #1b1211;
  box-shadow: 0 1.4rem 3rem #11090865;
}
.festive-art a { display: block; border-radius: .16rem; }
.festive-art img { width: 100%; height: auto; aspect-ratio: 743 / 1050; background: #140f0e; border-radius: inherit; }
.festive-navigation { display: flex; justify-content: center; flex-wrap: wrap; gap: .65rem; }
.festive-navigation[hidden] { display: none; }
.festive-navigation .button { min-width: 7rem; cursor: pointer; }
.festive-screen-reader { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Contact, privacy and festive event details */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.75rem 4rem; }
.contact-grid h2 { font-size: clamp(2.35rem, 4vw, 3.4rem); }
.contact-lines { display: grid; gap: .35rem; font-style: normal; overflow-wrap: anywhere; }
.contact-branches { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.contact-branches li { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .25rem 1rem; padding-block: .55rem; border-bottom: 1px solid var(--rule); }
.policy-content { display: grid; gap: 2.25rem; max-width: 52rem; }
.policy-content h2 { font-size: clamp(1.85rem, 4vw, 2.55rem); }
.festive-date-note { max-width: 34rem; color: #eeded4; font-size: .875rem; }
@media (max-width: 690px) {
  .contact-grid { grid-template-columns: 1fr; }
}
