:root {
  color-scheme: dark;
  --bg: #100f0e;
  --panel: #181613;
  --ivory: #f3eadc;
  --muted: #c4b8aa;
  --gold: #e7bf8e;
  --line: #e7bf8e36;
  --pad: clamp(22px, 7vw, 112px);
  --serif: Georgia, 'Times New Roman', serif;
  font: 16px/1.55 Arial, sans-serif;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ivory); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
section, footer { scroll-margin-top: 85px; }
header {
  position: sticky; top: 0; z-index: 3; min-height: 74px; padding: 10px var(--pad);
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  background: #100f0ef0; backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .14em; white-space: nowrap; }
.brand img { width: 43px; height: 34px; padding: 3px; object-fit: contain; background: #eee3d1; }
header nav { display: flex; gap: clamp(14px, 3vw, 44px); font-size: 14px; color: var(--muted); }
header a:hover, footer a:hover { color: var(--gold); }
.outline, .button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 20px;
  font-size: 14px; font-weight: 600; border: 1px solid var(--line);
}
.button { background: var(--gold); color: #20170d; border-color: var(--gold); }
.button:hover, .outline:hover { background: var(--ivory); color: var(--bg); }
.hero {
  position: relative; z-index: 0; min-height: calc(92svh - 74px); overflow: clip; isolation: isolate;
  display: grid; align-items: center; padding: 90px var(--pad) 105px;
  background: radial-gradient(ellipse at 68% 50%, #513723, #1d1712 56%, #100f0e 85%);
}
.hero-photo { position: absolute; inset: 0 0 0 34%; z-index: -2; background:
  linear-gradient(90deg, #100f0e, #100f0e38 57%, #100f0e66),
  linear-gradient(0deg,#100f0e 1%,transparent 36%,#100f0e66),
  url(https://hashtholding.com/wp-content/uploads/2022/12/Hasht-3.jpg) center/cover;
  opacity: .43; }
.art { position: absolute; inset: 0 1% 0 38%; z-index: -1; pointer-events: none; }
canvas { width: 100%; height: 100%; display: block; }
.hero-copy { max-width: 580px; }
.eyebrow,.scroll,.coordinates { color: var(--gold); font-size: 13px; letter-spacing: .17em; font-weight: 600; }
.eyebrow span { display: inline-block; vertical-align: middle; width: 30px; border-top: 1px solid; margin-right: 10px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.055em; line-height: .96; }
h1 { font-size: clamp(95px, 12vw, 185px); margin: 22px 0 25px; }
h1 em { color: var(--gold); font-weight: 400; }
.lede { max-width: 375px; font-size: clamp(17px, 1.65vw, 22px); color: var(--muted); margin-bottom: 26px; }
.scroll,.coordinates { position: absolute; bottom: 25px; }
.scroll { left: var(--pad); display: flex; align-items: center; gap: 10px; }
.scroll i { width: 1px; height: 24px; background: var(--gold); }
.coordinates { right: var(--pad); }
.departments { padding: clamp(64px, 9vw, 145px) var(--pad); }
.section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 36px; }
h2 { font-size: clamp(52px, 7.3vw, 112px); }
.section-head a, footer a { color: var(--gold); text-decoration: underline; text-underline-offset: 5px; }
.experience { display: grid; grid-template-columns: 1.16fr 1fr; gap: clamp(20px, 5vw, 80px); align-items: start; border-top: 1px solid var(--line); }
.stage { position: sticky; top: 98px; margin-top: 24px; }
.stage-art { height: min(57svh, 560px); min-height: 250px; border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 50%, #63442b77, transparent 70%),
    repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), #e7bf8e0d calc(12.5% - 1px) 12.5%),
    #171410;
}
.chapter-index { display: flex; flex-wrap: wrap; gap: 4px 13px; padding: 10px 0; }
.chapter-index a { padding: 4px 0; color: var(--muted); font-size: 14px; border-bottom: 1px solid transparent; }
.chapter-index a[aria-current] { color: var(--gold); border-color: var(--gold); }
.department { display: grid; align-content: center; justify-items: start; min-height: 42svh;
  padding: clamp(30px,5vw,80px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 115px; }
.department h3 { font-size: clamp(35px, 4.7vw, 74px); margin-bottom: 16px; }
.department p, .catalogue-copy p:not(.eyebrow), footer p { color: var(--muted); }
.department p, .action p, .catalogue p { max-width: 400px; margin-bottom: 18px; }
.actions { display: grid; grid-template-columns: 1fr 1fr; }
.action { min-height: 470px; display: flex; align-items: end; padding: 44px var(--pad); background-size: cover; background-position: center; }
.action h2 { font-size: clamp(46px, 5vw, 80px); margin-bottom: 18px; }
.action p { color: #f5eadd; }
.source { background-image: linear-gradient(0deg,#150f0b 2%,#150f0b30),url(https://hashtholding.com/wp-content/uploads/2022/12/2757708-scaled.jpg); }
.team { background-image: linear-gradient(0deg,#150f0b 2%,#150f0b30),url(https://hashtholding.com/wp-content/uploads/2022/12/qpBXSZj9-dubai-skyline_DWTC-17.jpg); }
.catalogue { position: relative; isolation: isolate; overflow: hidden; min-height: 540px; display: flex; align-items: center; padding: 70px var(--pad); background: #241a13; }
.catalogue-image { position: absolute; inset: -12% 0; z-index: -1; transform: translateY(var(--shift, 0px));
  background: linear-gradient(90deg,#18120e 5%,#18120ef2 30%,#18120e40 100%),url(https://hashtholding.com/wp-content/uploads/2022/12/2.png) center/cover; }
.catalogue h2 { margin: 14px 0 20px; }
footer { padding: 70px var(--pad) 24px; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h2 { font-size: 43px; margin: 12px 0; }
.footer-grid h3 { font: 600 16px/1.4 Arial,sans-serif; letter-spacing: 0; margin-bottom: 9px; }
.footer-grid a { display: block; width: fit-content; margin: 8px 0; overflow-wrap: anywhere; }
address { font-style: normal; }
.copyright { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 45px; font-size: 14px; }
@media (max-width: 850px) {
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .art { left: 31%; }
}
@media (max-width: 640px) {
  header { flex-wrap: wrap; padding: 8px var(--pad); }
  header nav { order: 2; justify-content: space-between; width: 100%; padding: 5px 0; }
  .hero { min-height: 730px; min-height: max(690px, calc(100svh - 100px)); align-items: end; padding-top: 300px; padding-bottom: 70px; }
  .art { inset: 0 0 auto; height: 330px; }
  .hero-photo { inset: 0; }
  h1 { font-size: clamp(73px, 17vw, 105px); margin: 15px 0 19px; }
  .coordinates { display: none; }
  .experience { display: block; }
  .stage { z-index: 1; background: var(--bg); top: 98px; margin-top: 12px; }
  .stage-art { min-height: 124px; height: 22svh; }
  .chapter-index { gap: 0 10px; }
  .department { min-height: 36svh; scroll-margin-top: calc(180px + 22svh); }
  .actions { grid-template-columns: 1fr; }
  .action { min-height: 350px; }
  .catalogue { min-height: 430px; }
}
@media (max-width: 380px) { .footer-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
