/* Expert Guide World — dense executive atlas UI */
:root {
  --egw-ink: #07111a;
  --egw-ink-soft: #122033;
  --egw-paper: #edf1f4;
  --egw-panel: #ffffff;
  --egw-teal: #0d5a50;
  --egw-teal-deep: #08443c;
  --egw-teal-mid: #148072;
  --egw-teal-glow: #1fa392;
  --egw-platinum: #c5d0da;
  --egw-mist: #d5dee6;
  --egw-slate: #243447;
  --egw-focus: #0b5cab;
  --egw-ok-bg: #e4f2ef;
  --egw-space-xs: 0.45rem;
  --egw-space-sm: 0.75rem;
  --egw-space-md: 1.15rem;
  --egw-space-lg: 1.75rem;
  --egw-space-xl: 2.75rem;
  --egw-rail: minmax(0.75rem, 1fr) minmax(0, 74rem) minmax(0.75rem, 1fr);
  --egw-type-body: 1.125rem;
  --egw-type-lead: 1.2rem;
  --egw-type-h3: 1.85rem;
  --egw-type-h2: 2.35rem;
  --egw-type-h1: 3.1rem;
  --egw-type-display: 3.55rem;
  --egw-shadow: 0 14px 36px rgba(7, 17, 26, 0.13);
  --egw-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: var(--egw-type-body);
  line-height: 1.62;
  color: var(--egw-ink);
  background-color: var(--egw-paper);
  background-image:
    linear-gradient(rgba(7, 17, 26, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 17, 26, 0.035) 1px, transparent 1px),
    radial-gradient(ellipse 70% 40% at 0% 0%, rgba(13, 90, 80, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 8%, rgba(18, 32, 51, 0.1), transparent 50%),
    linear-gradient(165deg, #e4ebf0 0%, var(--egw-paper) 40%, #e8eef2 100%);
  background-size: 28px 28px, 28px 28px, auto, auto, auto;
  overflow-x: hidden;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--egw-teal-deep);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--egw-teal-mid); }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--egw-focus);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: "Syne", "Sora", sans-serif;
  line-height: 1.12;
  margin: 0 0 0.7rem;
  color: var(--egw-ink);
  font-weight: 750;
  letter-spacing: -0.02em;
  overflow-wrap: normal;
  word-break: normal;
}

h1 { font-size: clamp(2rem, 4.8vw, var(--egw-type-display)); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, var(--egw-type-h2)); font-weight: 750; }
h3 { font-size: clamp(1.35rem, 2.3vw, var(--egw-type-h3)); }
h4 { font-size: 1.2rem; letter-spacing: -0.01em; }

p { margin: 0 0 0.85rem; }

.egw-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--egw-ink); color: #fff; padding: 0.7rem 1rem; z-index: 10000;
}
.egw-skip:focus { left: 0.75rem; top: 0.75rem; }

/* Mast */
.egw-mast[data-shell] {
  display: grid;
  grid-template-columns: var(--egw-rail);
  position: sticky; top: 0; z-index: 900;
  background: rgba(237, 241, 244, 0.92);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--egw-ink);
  box-shadow: 0 8px 24px rgba(7, 17, 26, 0.06);
  max-width: 100%;
}

.egw-mast__inner {
  grid-column: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.65rem; padding: 0.65rem 0; min-width: 0; width: 100%;
}

.egw-brand {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: var(--egw-ink); min-width: 0; flex: 1 1 auto;
}
.egw-brand img {
  width: 46px; height: 46px; flex-shrink: 0;
  border: 1px solid var(--egw-ink); background: var(--egw-ink-soft);
}
.egw-brand__word {
  font-family: "Syne", sans-serif;
  font-size: clamp(0.98rem, 2.1vw, 1.35rem);
  font-weight: 800; line-height: 1.15; min-width: 0; letter-spacing: -0.03em;
}
.egw-brand__word span {
  display: block; font-family: "Sora", sans-serif;
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--egw-teal-deep);
}

.egw-nav-toggle {
  display: none; border: 1px solid var(--egw-ink);
  background: var(--egw-ink); color: #fff;
  font: 700 0.9rem/1 "Sora", sans-serif;
  padding: 0.75rem 0.95rem; cursor: pointer; min-height: 46px; flex-shrink: 0;
}

.egw-nav {
  display: flex; flex-wrap: wrap; gap: 0.15rem 0.85rem;
  align-items: center; justify-content: flex-end;
}
.egw-nav a {
  font-weight: 600; font-size: 0.88rem; text-decoration: none;
  color: var(--egw-ink); padding: 0.35rem 0.1rem;
  border-bottom: 2px solid transparent;
}
.egw-nav a[aria-current="page"],
.egw-nav a:hover {
  border-bottom-color: var(--egw-teal-glow);
  color: var(--egw-teal-deep);
}

.egw-shell {
  display: grid;
  grid-template-columns: var(--egw-rail);
  max-width: 100%;
}
.egw-shell > * {
  grid-column: 2; min-width: 0; max-width: 100%;
}

/* Hero denser */
.egw-hero {
  position: relative;
  min-height: min(78vh, 680px);
  display: grid; align-items: end;
  margin: 0; overflow: hidden; max-width: 100%;
}
.egw-hero__media { position: absolute; inset: 0; z-index: 0; }
.egw-hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 32%;
  transform: scale(1.04);
  animation: egw-ken 18s ease-in-out infinite alternate;
}
.egw-hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(105deg, rgba(7, 17, 26, 0.94) 0%, rgba(7, 17, 26, 0.72) 46%, rgba(7, 17, 26, 0.45) 100%),
    linear-gradient(0deg, rgba(7, 17, 26, 0.55) 0%, transparent 42%);
}
.egw-hero__copy {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: var(--egw-rail);
  width: 100%; max-width: 100%;
  padding: 2.4rem 0 2.1rem; color: #fff;
}
.egw-hero__copy > * {
  grid-column: 2; max-width: min(42rem, 100%); min-width: 0;
}
.egw-hero__copy h1 { color: #fff; margin-bottom: 0.55rem; animation: egw-rise 0.8s var(--egw-ease) both; }
.egw-hero__copy p {
  font-size: var(--egw-type-lead); color: #e8eef2;
  animation: egw-rise 0.9s var(--egw-ease) 0.08s both; margin-bottom: 0.9rem;
}
.egw-hero__brand {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  font-weight: 800; color: #9fd4cb; margin: 0 0 0.25rem;
  letter-spacing: -0.035em;
  animation: egw-rise 0.7s var(--egw-ease) both;
}
.egw-hero__meta {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  margin: 0 0 0.9rem;
  animation: egw-rise 0.85s var(--egw-ease) 0.05s both;
}
.egw-hero__meta span {
  border: 1px solid rgba(255,255,255,0.35);
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,0.06);
}

.egw-cta-row {
  display: flex; flex-wrap: wrap; gap: 0.65rem;
  margin-top: 0.35rem; max-width: 100%;
  animation: egw-rise 0.95s var(--egw-ease) 0.14s both;
}

@keyframes egw-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes egw-ken {
  from { transform: scale(1.02) translate3d(0,0,0); }
  to { transform: scale(1.08) translate3d(-1.2%, -0.6%, 0); }
}

/* Buttons */
.egw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 52px; padding: 0.8rem 1.25rem;
  border: 1px solid var(--egw-ink);
  font: 700 0.98rem/1.2 "Sora", sans-serif;
  cursor: pointer; text-decoration: none; max-width: 100%; text-align: center;
  transition: transform 0.2s var(--egw-ease), background 0.2s, color 0.2s, box-shadow 0.2s;
}
.egw-btn--primary {
  background: var(--egw-teal); color: #fff; border-color: var(--egw-ink);
  box-shadow: 0 10px 0 rgba(7, 17, 26, 0.18);
}
.egw-btn--primary:hover {
  background: var(--egw-teal-deep); color: #fff; transform: translateY(-2px);
  box-shadow: 0 12px 0 rgba(7, 17, 26, 0.2);
}
.egw-btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.egw-btn--ghost:hover { background: #fff; color: var(--egw-ink); }
.egw-btn--solid { background: var(--egw-ink); color: #fff; border-color: var(--egw-ink); }
.egw-btn--solid:hover { background: var(--egw-ink-soft); color: #fff; }
.egw-btn--line {
  background: var(--egw-panel); color: var(--egw-ink); border-color: var(--egw-ink);
}
.egw-btn--line:hover { background: var(--egw-mist); color: var(--egw-ink); }

/* Bands denser */
.egw-band {
  padding: var(--egw-space-xl) 0;
  max-width: 100%;
  border-bottom: 1px solid rgba(7, 17, 26, 0.08);
}
.egw-band:last-of-type { border-bottom: 0; }

.egw-band--ink {
  background:
    linear-gradient(145deg, #0a1622 0%, #0d1c2a 55%, #0a1f24 100%);
  color: #fff;
  padding: var(--egw-space-xl) clamp(0.85rem, 2.5vw, 1.5rem);
  border: 1px solid #1c3348;
  box-shadow: var(--egw-shadow);
  max-width: 100%;
}
.egw-band--ink h2, .egw-band--ink h3, .egw-band--ink p,
.egw-band--ink dt, .egw-band--ink dd, .egw-band--ink li { color: #fff; }
.egw-band--ink a { color: #9fd4cb; }
.egw-band--ink a:hover { color: #fff; }

.egw-band--panel {
  background: var(--egw-panel);
  border: 1px solid var(--egw-ink);
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
  box-shadow: var(--egw-shadow);
}

.egw-band--tint {
  background: linear-gradient(180deg, rgba(13, 90, 80, 0.08), rgba(255,255,255,0.55));
  border: 1px solid rgba(13, 90, 80, 0.25);
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
}

.egw-head-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1rem 1.5rem;
  align-items: end;
  margin-bottom: 1.15rem;
}
.egw-head-row p { margin: 0; }

/* Layout modules */
.egw-skew-frame {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.25rem;
  align-items: stretch;
  max-width: 100%;
}
.egw-skew-frame--flip { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.egw-skew-frame__visual { position: relative; min-width: 0; max-width: 100%; }
.egw-skew-frame__visual img {
  width: 100%; height: 100%; min-height: 220px; object-fit: cover;
  border: 1px solid var(--egw-ink); box-shadow: var(--egw-shadow);
}

.egw-float-panel {
  background: var(--egw-panel);
  border: 1px solid var(--egw-ink);
  padding: clamp(1rem, 2.4vw, 1.5rem);
  box-shadow: var(--egw-shadow);
  max-width: 100%; min-width: 0;
}
.egw-float-panel--offset { margin: 0; max-width: 100%; }
.egw-float-panel--teal {
  background: linear-gradient(160deg, var(--egw-teal-deep), #0c5a55);
  color: #fff; border-color: var(--egw-ink);
}
.egw-float-panel--teal h2, .egw-float-panel--teal h3,
.egw-float-panel--teal p, .egw-float-panel--teal a { color: #fff; }
.egw-float-panel--teal a:hover { color: var(--egw-platinum); }

.egw-diag::before { content: none; display: none; }

/* Bento denser */
.egw-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 100%;
}
.egw-bento__cell {
  background: var(--egw-panel);
  border: 1px solid var(--egw-ink);
  padding: 1rem 1.05rem;
  min-width: 0;
  box-shadow: 0 8px 20px rgba(7, 17, 26, 0.06);
}
.egw-bento__cell--wide { grid-column: span 7; }
.egw-bento__cell--mid { grid-column: span 5; }
.egw-bento__cell--third { grid-column: span 4; }
.egw-bento__cell--ink {
  background: var(--egw-ink); color: #fff; border-color: #1c3348;
}
.egw-bento__cell--ink h3, .egw-bento__cell--ink p, .egw-bento__cell--ink li { color: #fff; }
.egw-bento__cell--teal {
  background: var(--egw-teal-deep); color: #fff; border-color: var(--egw-ink);
}
.egw-bento__cell--teal h3, .egw-bento__cell--teal p { color: #fff; }
.egw-bento__cell h3 { margin-bottom: 0.45rem; font-size: 1.25rem; }
.egw-bento__cell p:last-child { margin-bottom: 0; }
.egw-bento__num {
  font-family: "Syne", sans-serif;
  font-size: 2rem; font-weight: 800; letter-spacing: -0.04em;
  color: var(--egw-teal-mid); line-height: 1; margin-bottom: 0.35rem;
}
.egw-bento__cell--ink .egw-bento__num,
.egw-bento__cell--teal .egw-bento__num { color: #9fd4cb; }

/* Path */
.egw-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 100%;
  counter-reset: egwpath;
}
.egw-path__step {
  background: var(--egw-panel);
  border: 1px solid var(--egw-ink);
  padding: 0.95rem;
  min-width: 0;
  position: relative;
}
.egw-path__step::before {
  counter-increment: egwpath;
  content: counter(egwpath, decimal-leading-zero);
  font-family: "Syne", sans-serif;
  font-weight: 800; font-size: 1.5rem;
  color: var(--egw-teal-mid); display: block; margin-bottom: 0.35rem;
}
.egw-path__step h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.egw-path__step p { margin: 0; font-size: 0.98rem; }

/* Atlas cities */
.egw-atlas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 100%;
}
.egw-atlas article {
  background: var(--egw-panel);
  border: 1px solid var(--egw-ink);
  padding: 1rem;
  min-width: 0;
  display: flex; flex-direction: column; gap: 0.45rem;
}
.egw-atlas h3 {
  font-size: 1.35rem; margin: 0;
  display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem;
}
.egw-atlas h3 span {
  font-family: "Sora", sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--egw-teal-deep);
}
.egw-atlas p { margin: 0; font-size: 0.98rem; }
.egw-atlas ul { margin: 0.2rem 0 0; padding-left: 1.05rem; }
.egw-atlas li { margin-bottom: 0.3rem; font-size: 0.95rem; }

/* Tabs */
.egw-tabs { max-width: 100%; }
.egw-tabs__list {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.85rem; padding: 0; list-style: none;
}
.egw-tabs__list button {
  min-height: 46px; padding: 0.55rem 0.9rem;
  border: 1px solid var(--egw-ink); background: var(--egw-panel);
  font: 700 0.9rem/1.2 "Sora", sans-serif; cursor: pointer; color: var(--egw-ink);
}
.egw-tabs__list button[aria-selected="true"] {
  background: var(--egw-ink); color: #fff;
}
.egw-tabs__panel {
  border: 1px solid var(--egw-ink);
  background: var(--egw-panel);
  padding: 1.05rem 1.1rem;
  box-shadow: var(--egw-shadow);
}
.egw-tabs__panel[hidden] { display: none !important; }

/* Media mosaic denser */
.egw-stagger {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 100%;
}
.egw-stagger__item {
  min-width: 0; max-width: 100%; margin: 0; position: relative;
  background: var(--egw-ink);
}
.egw-stagger__item:nth-child(1) { grid-column: 1 / 8; }
.egw-stagger__item:nth-child(2) { grid-column: 8 / 13; }
.egw-stagger__item:nth-child(3) { grid-column: 1 / 6; }
.egw-stagger__item:nth-child(4) { grid-column: 6 / 13; }
.egw-stagger__item img {
  width: 100%; height: 100%; min-height: 180px; object-fit: cover;
  border: 1px solid var(--egw-ink); opacity: 0.96;
}
.egw-stagger__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  margin: 0; padding: 0.65rem 0.75rem;
  background: linear-gradient(transparent, rgba(7,17,26,0.88));
  color: #fff; font-weight: 600; font-size: 0.9rem;
}

/* Tables */
.egw-table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--egw-ink); background: var(--egw-panel);
  max-width: 100%; width: 100%;
}
.egw-table {
  width: 100%; border-collapse: collapse; min-width: 0; font-size: 0.98rem;
}
.egw-table th, .egw-table td {
  padding: 0.7rem 0.75rem; text-align: left;
  border-bottom: 1px solid var(--egw-mist); vertical-align: top;
}
.egw-table th {
  background: var(--egw-ink); color: #fff; font-weight: 700;
  font-size: 0.86rem; letter-spacing: 0.03em; text-transform: uppercase;
}
.egw-table tr:nth-child(even) td { background: #f2f6f8; }
.egw-table tr:hover td { background: #e5f0ed; }
.egw-table caption {
  caption-side: top; text-align: left;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.1rem, 2.3vw, 1.3rem); font-weight: 750;
  padding: 0 0 0.55rem; color: var(--egw-ink); letter-spacing: -0.02em;
}

.egw-list { margin: 0 0 0.85rem; padding-left: 1.1rem; }
.egw-list li { margin-bottom: 0.4rem; }

.egw-dl { display: grid; gap: 0.25rem 1rem; margin: 0 0 0.85rem; }
.egw-dl dt { font-weight: 700; font-size: 1rem; color: var(--egw-teal-deep); }
.egw-dl dd { margin: 0 0 0.65rem; padding: 0; }
.egw-dl--split { grid-template-columns: minmax(6.5rem, 10.5rem) minmax(0, 1fr); }
.egw-dl--split dt { grid-column: 1; }
.egw-dl--split dd { grid-column: 2; margin: 0; }
.egw-band--ink .egw-dl dt { color: #9fd4cb; }

.egw-dl--dense {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
}
.egw-dl--dense dt {
  margin: 0; padding: 0.55rem 0.65rem 0;
  background: var(--egw-panel); border: 1px solid var(--egw-ink); border-bottom: 0;
}
.egw-dl--dense dd {
  margin: 0; padding: 0 0.65rem 0.65rem;
  background: var(--egw-panel); border: 1px solid var(--egw-ink); border-top: 0;
}

/* Accordion */
.egw-acc details {
  border: 1px solid var(--egw-ink); background: var(--egw-panel);
  margin-bottom: 0.5rem; max-width: 100%;
}
.egw-acc summary {
  cursor: pointer; list-style: none; padding: 0.9rem 1rem;
  font-weight: 700; font-size: 1.02rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: 0.75rem; min-height: 52px;
}
.egw-acc summary::-webkit-details-marker { display: none; }
.egw-acc summary::after {
  content: "+"; font-size: 1.4rem; font-weight: 700;
  color: var(--egw-teal); flex-shrink: 0;
}
.egw-acc details[open] summary::after { content: "–"; }
.egw-acc details[open] summary { background: #eef5f3; }
.egw-acc__body { padding: 0 1rem 1rem; border-top: 1px solid var(--egw-mist); }

.egw-contact-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 0.85rem; max-width: 100%;
}
.egw-hours {
  background: var(--egw-ink); color: #fff;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  border: 1px solid var(--egw-teal-mid); min-width: 0; max-width: 100%;
}
.egw-hours h3 { color: #9fd4cb; }
.egw-hours .egw-table th { background: var(--egw-teal-deep); }
.egw-hours .egw-table td { color: var(--egw-ink); background: #fff; }
.egw-hours .egw-table tr:nth-child(even) td { background: #eef3f6; }
.egw-hours .egw-table-wrap { border-color: var(--egw-teal-mid); }

/* Modal / form / cookie */
.egw-modal[hidden] { display: none !important; }
.egw-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: grid; place-items: center; padding: 0.75rem; max-width: 100vw;
}
.egw-modal__backdrop {
  position: absolute; inset: 0; background: rgba(7, 17, 26, 0.8);
  border: 0; padding: 0; margin: 0; cursor: pointer; width: 100%; height: 100%; display: block;
}
.egw-modal__dialog {
  position: relative; z-index: 1; width: min(100%, 34rem);
  max-height: calc(100vh - 1.5rem); overflow: auto;
  background: var(--egw-panel); border: 1px solid var(--egw-ink);
  padding: 3.1rem clamp(1rem, 3.5vw, 1.5rem) 1.25rem;
  box-shadow: var(--egw-shadow); min-width: 0;
}
.egw-modal__close {
  position: absolute; top: 0.55rem; right: 0.55rem;
  border: 1px solid var(--egw-ink); background: var(--egw-ink); color: #fff;
  width: 44px; height: 44px; font-size: 1.3rem; font-weight: 700; cursor: pointer; line-height: 1;
}

.egw-form { display: grid; gap: 0.7rem; max-width: 100%; }
.egw-form label { font-weight: 700; display: grid; gap: 0.3rem; min-width: 0; }
.egw-form input, .egw-form textarea, .egw-form select {
  font: 400 1.02rem/1.4 "Sora", sans-serif;
  padding: 0.75rem 0.85rem; border: 1px solid var(--egw-ink);
  background: #fff; color: var(--egw-ink); width: 100%; max-width: 100%;
  min-height: 48px; border-radius: 0; appearance: none; -webkit-appearance: none;
}
.egw-form textarea { min-height: 110px; resize: vertical; }
.egw-form__note { font-size: 0.92rem; margin: 0; }
.egw-form__ok {
  border: 1px solid var(--egw-teal); background: var(--egw-ok-bg);
  padding: 0.75rem; font-weight: 600; color: var(--egw-ink);
}

.egw-cookie[hidden] { display: none !important; }
.egw-cookie {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1800;
  background: var(--egw-ink); color: #fff;
  border-top: 2px solid var(--egw-teal-mid); padding: 0.9rem; max-width: 100%;
}
.egw-cookie__inner {
  max-width: 74rem; margin: 0 auto; display: flex; flex-wrap: wrap;
  gap: 0.75rem; align-items: center; justify-content: space-between;
}
.egw-cookie p { margin: 0; flex: 1 1 14rem; color: #fff; min-width: 0; }
.egw-cookie a { color: #9fd4cb; }
.egw-cookie .egw-btn--ghost { color: #fff; border-color: #fff; background: transparent; }
.egw-cookie .egw-btn--ghost:hover { background: #fff; color: var(--egw-ink); }
.egw-cookie__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: 100%; }

.egw-page-head {
  padding: 2rem 0 1.25rem;
  border-bottom: 1px solid var(--egw-ink);
  margin-bottom: 1.25rem;
}
.egw-page-head p { font-size: var(--egw-type-lead); max-width: 46rem; margin: 0; }
.egw-legal h2 { margin-top: 1.5rem; }
.egw-legal h3 { margin-top: 1rem; }

.egw-foot {
  display: grid; grid-template-columns: var(--egw-rail);
  background: #07111a; color: #fff;
  padding: 2.2rem 0 1.4rem; margin-top: 1.5rem;
  border-top: 2px solid var(--egw-teal-mid); max-width: 100%;
}
.egw-foot__inner {
  grid-column: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 1.1rem; min-width: 0;
}
.egw-foot h2, .egw-foot h3 { color: #9fd4cb; font-size: 1.15rem; }
.egw-foot p, .egw-foot li, .egw-foot a { color: #fff; }
.egw-foot a:hover { color: #9fd4cb; }
.egw-foot__links { list-style: none; margin: 0; padding: 0; }
.egw-foot__links li { margin-bottom: 0.35rem; }
.egw-foot__meta {
  grid-column: 2; margin-top: 1.25rem; padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.18); font-size: 0.88rem; min-width: 0;
}

.egw-lead { font-size: var(--egw-type-lead); }
.egw-kicker {
  display: inline-block; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; font-size: 0.72rem;
  color: var(--egw-teal-deep); margin-bottom: 0.35rem;
}
.egw-band--ink .egw-kicker { color: #9fd4cb; }

.egw-pill-nav {
  display: flex; flex-wrap: wrap; gap: 0.55rem;
  margin: 0.85rem 0 0; max-width: 100%;
}
.is-nav-open { overflow: hidden; }

.egw-stack { display: grid; gap: 0.85rem; }
.egw-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 100%;
}

.egw-note {
  border-left: 3px solid var(--egw-teal-mid);
  padding: 0.65rem 0.85rem;
  background: rgba(13, 90, 80, 0.08);
  margin: 0.65rem 0;
}
.egw-band--ink .egw-note {
  background: rgba(255,255,255,0.06);
  border-left-color: #9fd4cb;
}

@media (min-width: 721px) {
  .egw-table { min-width: 520px; }
}

@media (max-width: 1100px) {
  .egw-bento__cell--wide,
  .egw-bento__cell--mid,
  .egw-bento__cell--third { grid-column: span 6; }
  .egw-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .egw-foot__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --egw-rail: minmax(0.7rem, 1fr) minmax(0, 74rem) minmax(0.7rem, 1fr); }
  .egw-nav-toggle { display: inline-flex; }
  .egw-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    width: 100%; max-width: 100vw; background: var(--egw-paper);
    border-bottom: 1px solid var(--egw-ink); flex-direction: column;
    align-items: stretch; padding: 0.55rem 0.75rem 1rem; gap: 0.05rem;
  }
  .egw-mast[data-shell].is-open .egw-nav { display: flex; }
  .egw-nav a {
    padding: 0.85rem 0.35rem; border-bottom: 1px solid var(--egw-mist); font-size: 1rem;
  }
  .egw-skew-frame, .egw-skew-frame--flip,
  .egw-contact-mosaic, .egw-head-row, .egw-two, .egw-atlas {
    grid-template-columns: 1fr;
  }
  .egw-stagger__item:nth-child(n) { grid-column: 1 / -1; }
  .egw-stagger__item img { min-height: 200px; }
  .egw-hero { min-height: min(68vh, 560px); }
  .egw-dl--split, .egw-dl--dense { grid-template-columns: 1fr; }
  .egw-dl--split dt, .egw-dl--split dd { grid-column: 1; }
  .egw-bento__cell--wide,
  .egw-bento__cell--mid,
  .egw-bento__cell--third { grid-column: 1 / -1; }
  .egw-hero__media img { animation: none; transform: none; }
}

@media (max-width: 720px) {
  :root {
    --egw-space-xl: 1.85rem;
    --egw-space-lg: 1.2rem;
    --egw-rail: 0.65rem minmax(0, 1fr) 0.65rem;
  }
  .egw-brand__word { font-size: 0.95rem; }
  .egw-brand img { width: 40px; height: 40px; }
  .egw-btn, .egw-cta-row .egw-btn, .egw-pill-nav .egw-btn,
  .egw-cookie__actions .egw-btn, .egw-tabs__list button { width: 100%; }
  .egw-cta-row, .egw-pill-nav { flex-direction: column; }
  .egw-path { grid-template-columns: 1fr; }
  .egw-table { min-width: 32rem; }
  .egw-table th, .egw-table td { padding: 0.55rem 0.5rem; font-size: 0.92rem; }
  .egw-cookie__inner { flex-direction: column; align-items: stretch; }
  .egw-foot__inner { grid-template-columns: 1fr; }
  .egw-hero__meta span { font-size: 0.7rem; }
}

@media (max-width: 400px) {
  :root { --egw-rail: 0.5rem minmax(0, 1fr) 0.5rem; }
  .egw-table { min-width: 28rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .egw-hero__media img { transform: none; }
}
