:root {
  --bg: #241a14;
  --ink: #f3ece5;
  --muted: #b3a69b;
  --accent: #a894c4;
  --line: #33261e;
  --panel: #2c211a;
  --display: 'Abhaya Libre', Georgia, 'Times New Roman', serif;
  --body: 'Alan Sans', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.72;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
p { margin: 0 0 1.15em; max-width: 54ch; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: 0.008em; margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(1160px, 100% - 48px); margin: 0 auto; }
.band { max-width: 1104px; margin: 0 auto; }
.band-1000 { max-width: 1000px; margin: 0 auto; }
section { position: relative; }
.sec { padding-top: 84px; }
.partners { padding-top: 44px; }

/* rotor mark */
.mark { display: block; color: var(--muted); overflow: visible; }

/* header */
.head-in {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px 0 16px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.brand { font-family: var(--display); font-size: 23px; line-height: 1; letter-spacing: 0.01em; }
.nav-cta { margin-left: 4px; }
.head-mark { position: absolute; right: 0; bottom: -9px; background: var(--bg); padding: 0 8px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.main-nav a {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--ink); border-bottom-color: var(--line); }
.main-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

/* buttons: explicit colours so nav rules can never repaint them */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #241a14;
  font-family: var(--body);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  white-space: nowrap;
}
.btn:hover, .btn:focus-visible { background: var(--ink); border-color: var(--ink); color: #241a14; }
.main-nav a.btn, .nav-cta.btn {
  padding: 12px 18px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #241a14;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
}
.main-nav a.btn:hover, .main-nav a.btn:focus-visible,
.nav-cta.btn:hover, .nav-cta.btn:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: #241a14;
}

/* hero */
.hero { padding-top: 48px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 660px; align-items: start; }
.hero-photo { grid-column: 2; grid-row: 1; width: 660px; max-width: 100%; margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 22%; }
.hero-rule { height: 1px; background: var(--line); margin-top: 20px; }
.hero-city {
  margin-top: 10px;
  text-align: right;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-card {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  width: 460px;
  max-width: 100%;
  margin-top: 120px;
  margin-right: -80px;
  padding: 20px;
  background: var(--bg);
  position: relative;
  z-index: 2;
}
.kicker {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
.hero-title { font-size: clamp(54px, 6vw, 84px); line-height: 1.02; margin: 0 0 22px; }
.hero-title span { display: block; }
.hero-lead { font-size: 17px; line-height: 1.6; max-width: 30ch; margin: 0 0 22px; }
.hero-mark { position: absolute; left: -54px; top: 20px; }
.mark .dot { stroke: var(--accent); }
.aw { color: var(--accent); }
.tl-year.accent { color: var(--accent); }

/* section heading */
.sec-mark { position: absolute; right: 0; top: -9px; background: var(--bg); padding: 0 8px; }
.page-rule { position: relative; border-top: 1px solid var(--line); margin-top: 34px; height: 1px; }
.page-rule .mark { position: absolute; right: 0; top: -9px; background: var(--bg); padding: 0 8px; }
.sec-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-bottom: 26px;
  position: relative;
}
.sec-no { font-size: 10px; letter-spacing: 0.2em; color: var(--accent); }
.sec-head h2 { font-size: clamp(26px, 3vw, 38px); }

/* 01 partners */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partner { border-left: 1px solid var(--line); }
.partner:first-child { border-left: 0; }
.partner a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 116px;
  padding: 10px 8px;
  position: relative;
}
.partner img { width: 96px; height: 60px; object-fit: contain; background: #f6f0e8; padding: 4px; filter: none; }
.partner-name { font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.partner a:hover .partner-name { color: var(--ink); }
.partner-no { position: absolute; right: 8px; bottom: 5px; font-size: 8px; letter-spacing: 0.1em; color: var(--muted); }
.partner:first-child .partner-no { color: var(--accent); }

/* 02 quick profile */
.profile { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.p-cell { border: 1px solid var(--line); height: 96px; position: relative; padding: 14px; }
.p-label {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 120px;
  height: 24px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.p-value {
  position: absolute;
  right: 16px;
  bottom: 16px;
  margin: 0;
  max-width: 62%;
  font-family: var(--display);
  font-size: 26px;
  line-height: 1;
  text-align: right;
}

/* 03 about */
.about-grid { display: grid; grid-template-columns: 480px minmax(0, 520px); justify-content: space-between; gap: 40px; }
.about-fig { margin: 0; position: relative; }
.about-fig img { width: 100%; height: 640px; object-fit: cover; object-position: 50% 12%; }
.about-mark { position: absolute; left: -16px; bottom: -16px; background: var(--bg); padding: 2px; }
.about-copy { padding-top: 20px; }
.about-copy p { max-width: 50ch; }
.about-note { margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--line); }
.about-note p { font-size: 12px; line-height: 1.6; color: var(--muted); max-width: 52ch; margin: 0 0 0.5em; }

/* 04 timeline */
.tl { position: relative; padding-top: 34px; }
.tl::before, .tl::after { content: ""; position: absolute; top: 34px; bottom: 0; width: 1px; background: var(--line); }
.tl::before { left: 27.2%; }
.tl::after { left: 68.8%; }
.tl-lab { position: absolute; top: 12px; font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.tl-lab.a { left: 27.2%; }
.tl-lab.b { left: 68.8%; }
.tl-row { display: grid; grid-template-columns: 27.2% 41.7% 31.1%; }
.tl-c { grid-column: 2; padding: 0 16px 18px 16px; }
.tl-r { grid-column: 3; padding: 0 0 18px 16px; }
.tl-year { display: block; font-size: 12px; line-height: 1.4; color: var(--muted); }
.tl-ev { display: block; font-size: 13px; line-height: 1.5; margin-top: 2px; }
.tl-bridge {
  grid-column: 2;
  margin: 6px 0 22px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.tl-bridge.accent { border-top-color: var(--accent); color: var(--accent); }
.tl-mark { position: absolute; left: 46.6%; top: 26px; }

/* 05 gallery */
.gal { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.gal-left { width: 640px; max-width: 100%; }
.gal-right { width: 380px; display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.gal figure { margin: 0; position: relative; border: 1px solid var(--line); }
.gal figure img { width: 100%; height: auto; }
.gal .tick { position: absolute; left: -6px; top: -1px; width: 5px; height: 20px; background: var(--muted); }
.g1 { width: 640px; }
.g2 { width: 380px; }
.g3 { width: 360px; }
.g-small { display: flex; gap: 12px; margin-top: 20px; }
.g4, .g5 { width: 184px; }

/* 06 social */
.social { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.s-list li { border-bottom: 1px solid var(--line); }
.s-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; height: 52px; }
.s-name { font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.s-handle { font-size: 12px; color: var(--ink); text-align: right; }
.s-list a:hover .s-handle { color: var(--accent); }
.social-note { margin: 12px auto 0; font-size: 11px; line-height: 1.6; color: var(--muted); max-width: 1104px; }

/* footer */
.foot { margin-top: 96px; }
.foot-rule { position: relative; height: 1px; background: var(--line); }
.foot-gap {
  position: absolute;
  left: 50%;
  top: -9px;
  transform: translateX(-50%);
  width: 40px;
  height: 18px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.foot-grid { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 44px; padding: 36px 0 0; align-items: start; }
.foot-brand { font-family: var(--display); font-size: 20px; line-height: 1.2; }
.foot-line { font-size: 12px; line-height: 1.6; color: var(--muted); margin: 6px 0 0; max-width: 34ch; }
.lang-list { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 12px; }
.lang-list a { font-size: 12px; color: var(--muted); }
.lang-list a:hover { color: var(--ink); }
.lang-list a[aria-current="true"] { color: var(--ink); }
.lang-sep { color: #5a4739; }
.foot-copy { font-size: 12px; line-height: 1.6; color: var(--muted); text-align: right; }
.foot-meta { margin-top: 26px; padding: 18px 0 40px; border-top: 1px solid var(--line); }
.foot-meta p { font-size: 11px; line-height: 1.6; color: var(--muted); max-width: 96ch; margin: 0 0 0.35em; }

/* subpages */
.page { padding-top: 56px; }
.page-head { max-width: 760px; }
.page h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.04; margin: 14px 0 0; }
.standfirst { font-size: 19px; line-height: 1.65; color: var(--muted); max-width: 46ch; margin: 18px 0 0; }
.prose { max-width: 760px; margin-top: 46px; }
.prose section { border-top: 1px solid var(--line); padding-top: 26px; margin-top: 34px; position: relative; }
.prose h2 { font-size: 27px; margin-bottom: 12px; }
.prose p { max-width: 62ch; }
.facts { margin-top: 44px; border-top: 1px solid var(--line); padding-top: 20px; max-width: 760px; position: relative; }
.facts h2 { font-size: 22px; margin-bottom: 16px; }
.facts dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; margin: 0; }
.facts dt { font-size: 8px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 3px 0 0; font-size: 14px; line-height: 1.5; }
.table-wrap { overflow-x: auto; margin-top: 8px; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th {
  text-align: left;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding: 8px 14px 8px 0;
}
.table td { border-bottom: 1px solid var(--line); padding: 10px 14px 10px 0; vertical-align: top; line-height: 1.5; }
.table td:first-child { color: var(--ink); }
.faq { max-width: 780px; margin-top: 40px; }
.faq-item { border-top: 1px solid var(--line); padding: 22px 0 8px; }
.faq-q { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.25; margin: 0 0 8px; }
.faq-a { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 62ch; margin: 0; }
.list-plain { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; margin-top: 16px; }
.list-plain li { font-size: 14px; line-height: 1.5; border-bottom: 1px solid var(--line); padding: 8px 0; }

/* 404 */
.nf { min-height: 58vh; display: flex; flex-direction: column; justify-content: center; padding: 70px 0; }
.nf h1 { font-size: clamp(36px, 5vw, 56px); margin: 16px 0 18px; }
.nf p { color: var(--muted); max-width: 44ch; }
.nf .btn { margin-top: 12px; }
.nf-list { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; }
.nf-list a { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.nf-list a:hover { color: var(--ink); }

@media (max-width: 1120px) {
  .hero-grid { display: flex; flex-direction: column; align-items: flex-start; }
  .hero-photo { order: 1; width: 560px; }
  .hero-card { order: 2; width: 100%; max-width: 560px; margin: 26px 0 0; padding: 0; }
  .hero-mark { display: none; }
  .hero-title { font-size: 72px; }
  .about-grid { grid-template-columns: 400px minmax(0, 1fr); gap: 32px; }
  .about-fig img { height: 533px; }
  .gal-left { width: 560px; }
  .gal-right { width: 340px; }
  .g1 { width: 560px; }
  .g2 { width: 340px; }
  .g3 { width: 320px; }
  .g4, .g5 { width: 164px; }
}

@media (max-width: 1024px) {
  .wrap { width: min(960px, 100% - 40px); }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 10px; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .partner:nth-child(3n+1) { border-left: 0; }
  .partner:nth-child(n+4) { border-top: 1px solid var(--line); }
  .tl::before, .tl::after { display: none; }
  .tl-row { grid-template-columns: 1fr 1fr; }
  .tl-c { grid-column: 1; }
  .tl-r { grid-column: 2; }
  .tl-bridge { grid-column: 1 / -1; }
  .tl-mark { display: none; }
  .gal { flex-direction: column; align-items: flex-start; }
  .gal-left { width: 520px; }
  .gal-right { width: 320px; align-items: flex-end; }
  .g1 { width: 520px; }
  .g2 { width: 320px; }
  .g3 { width: 300px; }
  .g4, .g5 { width: 154px; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  body { font-size: 16px; }
  .head-in { flex-wrap: wrap; gap: 12px 18px; }
  .brand { order: 1; font-size: 20px; }
  .nav-cta { order: 2; margin-left: auto; font-size: 10px; padding: 10px 12px; }
  .main-nav { order: 3; width: 100%; margin-left: 0; gap: 16px; }
  .main-nav a { font-size: 10px; letter-spacing: 0.1em; }
  .hero { padding-top: 28px; }
  .hero-photo { order: 2; width: 100%; max-width: 520px; }
  .hero-card { order: 1; margin: 0 0 22px; }
  .hero-title { font-size: 52px; }
  .hero-lead { max-width: 100%; }
  .sec { padding-top: 60px; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .partner:nth-child(3n+1) { border-left: 1px solid var(--line); }
  .partner:nth-child(2n+1) { border-left: 0; }
  .partner:nth-child(n+3) { border-top: 1px solid var(--line); }
  .profile { grid-template-columns: 1fr; }
  .p-cell { height: 88px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-fig img { height: auto; aspect-ratio: 3 / 4; }
  .about-mark { left: auto; right: -10px; bottom: -14px; }
  .tl-row { grid-template-columns: 1fr; }
  .tl-c, .tl-r { grid-column: 1; }
  .tl-bridge { grid-column: 1; }
  .gal-left { width: 100%; }
  .gal-right { width: 100%; align-items: flex-start; }
  .g1 { width: 100%; }
  .g2, .g3 { width: 78%; }
  .g4, .g5 { width: calc(50% - 6px); }
  .social { grid-template-columns: 1fr; gap: 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 22px; }
  .foot-copy { text-align: left; }
  .facts dl { grid-template-columns: 1fr; }
  .list-plain { grid-template-columns: 1fr; }
  .page h1 { font-size: 40px; }
  .standfirst { font-size: 17px; }
}

/* partner logo plate: guarantee legibility of supplied marks on any ground */
a img[src*="/assets/partners/"] {
  background: #f4efe6;
  object-fit: contain;
  padding: 6px;
  box-sizing: border-box;
  filter: none;
  opacity: 1;
}
