/* Shared base for the island pages: a quiet chrome that sits over each page's own world.
   Each page owns its colours and type; this file only supplies the frame. */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: var(--page-bg, #0b1020);
  color: var(--page-ink, #f6f1e4);
}
a { color: inherit; }
img { max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus, #f2cf3a); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: 12px; z-index: 1000; padding: 10px 14px; border-radius: 8px;
  background: #f6f1e4; color: #14181f; font-weight: 700; text-decoration: none; transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* Chrome: the family's mark at the top left, the family menu at the top right. */
.isl-chrome {
  position: fixed; inset: 0 0 auto; z-index: 200; display: flex; align-items: center; justify-content: space-between;
  padding: clamp(14px, 2.2vw, 26px) clamp(16px, 3.6vw, 56px); pointer-events: none;
  color: var(--chrome-ink, #f6f1e4); text-shadow: var(--chrome-shadow, 0 1px 12px rgba(8, 12, 24, 0.55));
}
.isl-chrome > * { pointer-events: auto; }
.isl-chrome { transition: background-color 0.3s ease, -webkit-backdrop-filter 0.3s ease, backdrop-filter 0.3s ease; }
.isl-chrome.is-scrolled { background: var(--chrome-bg, rgba(12, 10, 8, 0.72)); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); padding-top: 6px; padding-bottom: 6px; }
.isl-chrome--static { position: absolute; }
.isl-mark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; }
.isl-light { width: 26px; height: 26px; flex: none; overflow: visible; filter: drop-shadow(0 1px 6px rgba(8, 12, 24, 0.35)); }
.isl-light__beam { fill: #f2cf3a; opacity: 0.38; transform-origin: 16px 10.5px; animation: isl-beam 5s ease-in-out infinite; }
.isl-light__lamp { fill: #f2cf3a; }
.isl-light__band { fill: var(--light-band, rgba(20, 24, 31, 0.55)); }
@keyframes isl-beam { 0%, 100% { opacity: 0.18; transform: scaleX(0.82); } 50% { opacity: 0.5; transform: scaleX(1); } }

.isl-family { position: relative; }
.isl-family__button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; border: 0; background: none; cursor: pointer;
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em; text-shadow: inherit;
}
.isl-family__button svg { width: 12px; height: 12px; transition: transform 0.25s ease; }
.isl-family__button[aria-expanded="true"] svg { transform: rotate(180deg); }
.isl-family__menu {
  position: absolute; right: 0; top: calc(100% + 6px); min-width: 220px; padding: 8px; border-radius: 14px;
  background: rgba(246, 241, 228, 0.97); color: #14181f; text-shadow: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15), 0 24px 48px -16px rgba(8, 12, 24, 0.55);
  transform-origin: top right; animation: isl-menu 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.isl-family__menu[hidden] { display: none; }
@keyframes isl-menu { from { opacity: 0; transform: translateY(-4px) scale(0.97); } }
.isl-family__menu ul { list-style: none; margin: 0; padding: 0; }
.isl-family__menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; padding: 0 12px; border-radius: 9px;
  font-size: 15px; font-weight: 650; text-decoration: none;
}
.isl-family__menu a:hover, .isl-family__menu a:focus-visible { background: rgba(20, 24, 31, 0.07); }
.isl-family__menu a[aria-current="page"] { background: #14181f; color: #f6f1e4; }
.isl-family__menu small { margin-left: auto; font-size: 12px; font-weight: 500; text-align: right; white-space: nowrap; opacity: 0.6; }
.isl-reach {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; margin: 8px 4px 2px; border-radius: 999px;
  background: #14181f; color: #f6f1e4; font-size: 15px; font-weight: 700; text-decoration: none; transition: background-color 0.2s ease;
}
.isl-reach svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.isl-reach:hover svg, .isl-reach:focus-visible svg { transform: translateX(3px); }
.isl-reach:hover { background: #2a3550; }
.isl-family__menu hr { height: 1px; margin: 6px 4px; border: 0; background: rgba(20, 24, 31, 0.12); }

.isl-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 28px clamp(16px, 3.6vw, 56px) 32px;
  font-size: 13px; color: var(--footer-ink, rgba(246, 241, 228, 0.7));
}
.isl-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.isl-footer a { text-decoration: none; }
.isl-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
