/* ============================================================
   allkay — shared design system
   Light, editorial, minimal. Inter + Inter Tight, warm paper,
   a single clay accent. Used by the hub and the Kenya sub-site.
   ============================================================ */

:root {
  --paper:   #f6f4ef;
  --panel:   #fffdf9;
  --panel2:  #efeae1;
  --ink:     #1b1a17;
  --ink2:    #59544a;
  --faint:   #8c8678;
  --line:    #e4dfd5;
  --line2:   #d8d2c5;
  --clay:    #ad4f2a;
  --clay2:   #c8693d;
  --green:   #5d6b4a;
  --sand:    #e7dfd0;
  --maxw:    1120px;
  --serif:   'Inter Tight', system-ui, sans-serif;
  --sans:    'Inter', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ── Micro type helpers ── */
.kicker { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--clay); font-weight: 600; }
.kicker a:hover { text-decoration: underline; }
.faint { color: var(--faint); }
.tnum { font-variant-numeric: tabular-nums; }

/* ── Top bar ── */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246,244,239,0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .bar { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; height: 62px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
.brand em { font-style: normal; color: var(--clay); }
.topbar .where { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-left: 14px; }
.bar-right { display: flex; align-items: center; gap: 18px; }
.bar-link { font-size: 13px; letter-spacing: 0.04em; color: var(--ink2); }
.bar-link:hover { color: var(--clay); }

/* ── Burger ── */
.burger { appearance: none; background: none; border: none; cursor: pointer; width: 30px; height: 22px; position: relative; display: inline-block; }
.burger span { position: absolute; left: 0; right: 0; height: 1.6px; background: var(--ink); transition: transform .28s ease, opacity .2s ease; border-radius: 2px; }
.burger span:nth-child(1) { top: 2px; }
.burger span:nth-child(2) { top: 10px; }
.burger span:nth-child(3) { top: 18px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── Slide-down menu ── */
.menu {
  position: fixed; inset: 62px 0 auto 0; z-index: 55;
  background: var(--panel); border-bottom: 1px solid var(--line);
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform .3s ease, opacity .3s ease;
  max-height: calc(100vh - 62px); overflow-y: auto;
}
body.menu-open .menu { transform: translateY(0); opacity: 1; pointer-events: auto; }
.menu-inner { max-width: var(--maxw); margin: 0 auto; padding: 28px; }
.menu-col-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin: 0 0 14px; }
.menu a.m-link { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: -0.01em; }
.menu a.m-link .num { font-family: var(--sans); font-size: 12px; color: var(--faint); letter-spacing: 0.1em; }
.menu a.m-link .when { font-family: var(--sans); font-size: 12px; color: var(--faint); font-weight: 400; }
.menu a.m-link:hover { color: var(--clay); }
.menu .m-foot { margin-top: 26px; display: flex; gap: 22px; font-size: 13px; color: var(--ink2); }
.menu .m-foot a:hover { color: var(--clay); }

/* expandable group (Hotels → individual stays) */
.m-group { border-bottom: 1px solid var(--line); }
.m-group > summary {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 12px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: -0.01em;
}
.m-group > summary::-webkit-details-marker { display: none; }
.m-group > summary:hover { color: var(--clay); }
.m-group > summary .chev { font-family: var(--sans); font-size: 14px; color: var(--faint); transition: transform .2s; }
.m-group[open] > summary .chev { transform: rotate(90deg); }
.m-sub { padding: 4px 0 14px 4px; }
.m-sub a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 16px; color: var(--ink2); border-bottom: 1px solid var(--line); }
.m-sub a:last-child { border-bottom: none; }
.m-sub a .when { font-size: 12px; color: var(--faint); }
.m-sub a:hover { color: var(--clay); }

/* ── Section scaffolding ── */
section { padding: 56px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: none; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.sec-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 4vw, 38px); letter-spacing: -0.02em; line-height: 1.05; }
.sec-head .more { font-size: 13px; color: var(--clay); white-space: nowrap; }
.sec-head .more:hover { text-decoration: underline; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; letter-spacing: 0.03em; font-weight: 500; padding: 12px 20px; border-radius: 999px; background: var(--clay); color: #fff; border: 1px solid var(--clay); transition: background .15s, transform .15s; }
.btn:hover { background: var(--clay2); }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line2); }
.btn-ghost:hover { background: var(--panel); border-color: var(--clay); color: var(--clay); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Facts / definition grid ── */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.facts .f { background: var(--panel); padding: 16px 18px; }
.facts .f .ft { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.facts .f .fv { font-size: 15px; margin-top: 5px; color: var(--ink); }
.facts .f .fv a { color: var(--clay); border-bottom: 1px solid var(--sand); }

/* ── Footer ── */
.foot { border-top: 1px solid var(--line); padding: 40px 0 60px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; font-size: 12px; color: var(--faint); letter-spacing: 0.04em; }
.foot a { color: var(--ink2); }
.foot a:hover { color: var(--clay); }
.foot .dot { color: var(--clay); }

/* ── Maps ── */
.map { width: 100%; border: 0; display: block; filter: grayscale(0.2) contrast(0.95); border-radius: 3px; }
.map-wrap { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--panel); }
.map-wrap .map { filter: none; }
.map-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.map-legend a { display: flex; align-items: baseline; gap: 8px; padding: 11px 14px; font-size: 13px; color: var(--ink2); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.map-legend a:hover { color: var(--clay); background: var(--panel2); }
.map-legend a .pinno { font-family: var(--serif); font-weight: 600; color: var(--clay); width: 18px; flex-shrink: 0; }
.map-legend a .pinwhen { margin-left: auto; font-size: 11px; color: var(--faint); }
@media (max-width: 720px) { .map-legend { grid-template-columns: 1fr 1fr; } }

/* ── Editorial masthead ── */
.masthead { padding: 64px 0 30px; }
.masthead .kicker { margin-bottom: 20px; }
.masthead h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(56px, 13vw, 150px); line-height: 0.9; letter-spacing: -0.04em; }
.masthead h1 em { font-style: normal; color: var(--clay); }
.masthead .lede { font-family: var(--serif); font-weight: 300; font-size: clamp(20px, 3vw, 30px); color: var(--ink2); margin-top: 18px; max-width: 24ch; line-height: 1.25; }
.metabar { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; letter-spacing: 0.03em; color: var(--ink2); }
.metabar b { color: var(--ink); font-weight: 600; }
.metabar .pill { margin-left: auto; display: inline-flex; align-items: baseline; gap: 7px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 999px; font-size: 12px; letter-spacing: 0.04em; }
.metabar .pill b { color: #fff; font-family: var(--serif); font-size: 16px; }

/* full-bleed hero image */
.hero-img { position: relative; margin-top: 14px; aspect-ratio: 16/7; overflow: hidden; background: var(--sand); border-radius: 3px; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img .cap { position: absolute; left: 16px; bottom: 14px; color: #fff; font-size: 12px; letter-spacing: 0.05em; text-shadow: 0 1px 8px rgba(0,0,0,.5); }

/* ── Glance strip ── */
.glance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.glance .g { background: var(--panel); padding: 22px 18px; }
.glance .g .gv { font-family: var(--serif); font-size: 34px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.glance .g .gl { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-top: 8px; }

/* ── Places grid ── */
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.place-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.place-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -18px rgba(0,0,0,.4); border-color: var(--line2); }
.pc-media { aspect-ratio: 4/3; overflow: hidden; position: relative; background: var(--sand); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.place-card:hover .pc-media img { transform: scale(1.04); }
.pc-media.noimg { background: linear-gradient(150deg, var(--sand), var(--panel2)); display: flex; align-items: center; justify-content: center; }
.pc-media.noimg .pin { font-family: var(--serif); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--clay); }
.pc-media .num { position: absolute; top: 12px; left: 12px; width: 28px; height: 28px; border-radius: 50%; background: rgba(27,26,23,0.78); color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.pc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.pc-region { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.pc-name { font-family: var(--serif); font-size: 23px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.08; margin: 5px 0 0; }
.pc-meta { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink2); }
.pc-meta .arr { color: var(--clay); }

/* ── Flights list ── */
.flights { border-top: 1px solid var(--line); }
.flight { display: grid; grid-template-columns: 130px 1fr auto; gap: 18px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.flight .fday { font-size: 13px; letter-spacing: 0.04em; color: var(--faint); }
.flight .froute { font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.flight .froute .ar { color: var(--clay); margin: 0 6px; }
.flight .fnote { font-size: 12.5px; color: var(--ink2); margin-top: 2px; }
.flight .ftime { text-align: right; font-variant-numeric: tabular-nums; }
.flight .ftime .t { font-family: var(--serif); font-size: 18px; }
.flight .ftime .c { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }

/* ── Contacts ── */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact { background: var(--panel); padding: 16px 18px; }
.contact .cw { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.contact .cr { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-top: 2px; }
.contact .cl { margin-top: 8px; font-size: 13.5px; }
.contact .cl a { color: var(--clay); display: inline-block; margin-right: 14px; }

/* ── Note ── */
.note { font-family: var(--serif); font-size: clamp(19px, 2.6vw, 24px); font-weight: 300; line-height: 1.4; color: var(--ink); max-width: 32ch; }
.note .by { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-top: 14px; }

/* ── Day-by-day timeline ── */
.tl-day { display: grid; grid-template-columns: 120px 1fr; gap: 22px; padding: 20px 0; border-top: 1px solid var(--line); }
.tl-day:first-child { border-top: none; }
.tl-date .dow { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.tl-date .dnum { font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1; margin-top: 3px; }
.tl-body .tl-stay { font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.tl-body .tl-stay a:hover { color: var(--clay); }
.tl-body .tl-what { font-size: 14.5px; color: var(--ink2); margin-top: 4px; }
.tl-body .tag { display: inline-block; font-size: 11px; letter-spacing: 0.04em; color: var(--clay); border: 1px solid var(--sand); border-radius: 999px; padding: 2px 10px; margin: 8px 6px 0 0; }

/* ── Sub-page hero ── */
.subhero { position: relative; height: clamp(280px, 52vh, 520px); background: var(--ink); overflow: hidden; }
.subhero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.86; }
.subhero.noimg { background: linear-gradient(160deg, #2a2620, #4a4035); }
.subhero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.55)); }
.subhero .sh-inner { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }
.subhero .sh-pad { max-width: var(--maxw); margin: 0 auto; padding: 0 28px 34px; color: #fff; }
.subhero .crumb { font-size: 12px; letter-spacing: 0.08em; color: rgba(255,255,255,.82); margin-bottom: 14px; }
.subhero .crumb a:hover { color: #fff; text-decoration: underline; }
.subhero .sh-region { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,.9); }
.subhero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(38px, 8vw, 86px); line-height: 0.95; letter-spacing: -0.03em; margin-top: 8px; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.subhero .sh-meta { margin-top: 12px; font-size: 14px; letter-spacing: 0.03em; color: rgba(255,255,255,.92); }
.subhero .sh-meta b { font-weight: 600; }

/* layout for sub-page body */
.lede-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.lede-row .story p { font-family: var(--serif); font-size: clamp(19px, 2.4vw, 23px); font-weight: 300; line-height: 1.5; color: var(--ink); }
.lede-row .story p + p { margin-top: 16px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; }

.prevnext { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 26px; }
.prevnext a { font-size: 14px; }
.prevnext a .pl { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 3px; }
.prevnext a:hover { color: var(--clay); }

/* ── Hub tool list ── */
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tool { display: flex; gap: 16px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 20px; transition: transform .16s, box-shadow .16s, border-color .16s; }
.tool:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -20px rgba(0,0,0,.4); border-color: var(--line2); }
.tool.feature { grid-column: 1 / -1; background: linear-gradient(120deg, var(--panel), #fbf3ea); border-color: var(--sand); }
.tool .ti { font-size: 26px; line-height: 1; width: 34px; flex-shrink: 0; }
.tool .tname { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.tool .tdesc { font-size: 13.5px; color: var(--ink2); margin-top: 4px; }
.tool .tstatus { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 10px; display: inline-block; }
.tool .tstatus.live { color: var(--green); }
.tool .tstatus.soon { color: var(--faint); }
.tool .tstatus.feat { color: var(--clay); }
.tool .tarr { margin-left: auto; color: var(--clay); align-self: center; }

@media (max-width: 860px) {
  .places { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .topbar .bar { padding: 0 20px; }
  .topbar .where { display: none; }
  .menu-grid { grid-template-columns: 1fr; gap: 26px; }
  .facts, .contacts { grid-template-columns: 1fr; }
  .glance { grid-template-columns: 1fr 1fr; }
  .places { grid-template-columns: 1fr; }
  .tools { grid-template-columns: 1fr; }
  section { padding: 44px 0; }
  .lede-row { grid-template-columns: 1fr; gap: 26px; }
  .flight { grid-template-columns: 1fr auto; }
  .flight .fday { grid-column: 1 / -1; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .hero-img { aspect-ratio: 4/3; }
}
