:root {
  --navy: #232f3e;          /* AWS Squid Ink */
  --navy-deep: #161e2d;     /* darker squid ink */
  --keystone: #ff9900;      /* AWS orange */
  --keystone-dark: #ec7211; /* AWS orange (hover) */
  --ink: #16191f;
  --muted: #545b64;
  --line: #e9ebed;
  --surface: #ffffff;
  --canvas: #f2f3f3;        /* AWS light gray */
  --accent: #0972d3;        /* Cloudscape blue */
  --accent-dark: #033160;
  --success: #037f51;
  --radius: 8px;
  --shadow: 0 1px 4px rgba(0, 7, 22, 0.12);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
}

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--keystone);
  color: var(--navy-deep);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  z-index: 100;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--keystone);
  outline-offset: 2px;
}

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

.site-header {
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
}
.brand .mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--keystone);
  color: var(--navy-deep);
  border-radius: 8px;
  font-weight: 800;
}
.brand small {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  color: #c4d3e5;
  letter-spacing: 0.02em;
}
.nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.nav a {
  color: #dce6f2;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
}
.nav a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.nav a[aria-current="page"] {
  background: rgba(242, 169, 0, 0.18);
  color: #fff;
}

.event-banner { background: var(--keystone); color: var(--navy-deep); }
.event-banner .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 20px;
}
.event-banner__tag {
  background: var(--navy-deep);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
}
.event-banner__text { font-weight: 600; }
.event-banner__link { margin-left: auto; color: var(--navy-deep); font-weight: 700; text-decoration: none; white-space: nowrap; }
.event-banner__link:hover { color: var(--navy-deep); text-decoration: underline; }

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 64px 0 72px;
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.15;
  margin: 0 0 14px;
}
.hero p { font-size: 1.12rem; color: #d3deec; max-width: 620px; margin: 0 0 26px; }
.hero .eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--keystone);
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.98rem;
}
.btn-primary { background: var(--keystone); color: var(--ink); }
.btn-primary:hover { background: var(--keystone-dark); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

.section { padding: 56px 0; }
.section-head { margin-bottom: 28px; max-width: 720px; }
.section-head h2 { font-size: 1.7rem; margin: 0 0 8px; color: var(--navy); }
.section-head p { color: var(--muted); margin: 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card h3 { margin: 0; font-size: 1.2rem; color: var(--navy); }
.card p { margin: 0; color: var(--muted); }
.card .card-link { margin-top: auto; font-weight: 700; text-decoration: none; }
.card .card-link::after { content: " \2192"; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: #eaf3f9;
  color: var(--accent-dark);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tag-soon { background: #fdf1d6; color: #8a6100; }
.tag-live { background: #e2f3ea; color: var(--success); }

.meta { font-size: 0.85rem; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }

.notice {
  background: #eef4fa;
  border: 1px solid #cfe0ee;
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 14px 18px;
  color: #244055;
  font-size: 0.95rem;
}

.article { background: var(--surface); }
.article .wrap { max-width: 780px; }
.article h1 { color: var(--navy); font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 0 0 8px; }
.article h2 { color: var(--navy); margin-top: 36px; }
.article h3 { color: var(--accent-dark); margin-top: 26px; margin-bottom: 4px; }
.article ul { padding-left: 22px; }
.article li { margin-bottom: 6px; }
.article .lead { font-size: 1.15rem; color: #33475a; }
.article .callout {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 24px 0;
}
.reference-list { word-break: break-word; }

.breadcrumb { font-size: 0.85rem; color: var(--muted); margin: 22px 0 0; }
.breadcrumb a { text-decoration: none; }

.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; align-items: start; }
.side-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 20px;
}
.side-panel h3 { margin-top: 0; color: var(--navy); }
.side-panel dl { margin: 0; }
.side-panel dt { font-weight: 700; color: var(--navy); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
.side-panel dd { margin: 2px 0 14px; color: var(--muted); }

.filter-bar { margin-bottom: 24px; }
.filter-bar label { font-weight: 700; color: var(--navy); display: block; margin-bottom: 6px; }
.filter-bar input {
  width: 100%;
  max-width: 420px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 1rem;
}
.empty-state { color: var(--muted); font-style: italic; }

.team-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  text-align: center;
}
.team-card img {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--keystone);
  margin-bottom: 14px;
  background: var(--canvas);
}
.team-card h3 { margin: 0; color: var(--navy); font-size: 1.15rem; }
.team-card .role { color: var(--accent-dark); font-weight: 700; font-size: 0.9rem; margin: 4px 0 0; }
.team-card .focus { color: var(--muted); font-size: 0.9rem; margin: 8px 0 0; }
.team-card .li-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--accent);
}
.team-card .li-link:hover { color: var(--accent-dark); text-decoration: underline; }
.team-card .li-link svg { width: 16px; height: 16px; fill: currentColor; }

.agenda { list-style: none; padding: 0; margin: 0; }
.agenda li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; }
.agenda li:last-child { border-bottom: none; }
.agenda .time { font-weight: 700; color: var(--accent-dark); min-width: 92px; }

.site-footer {
  background: var(--navy-deep);
  color: #c4d3e5;
  padding: 40px 0;
  margin-top: 40px;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.site-footer a { color: #e6eef8; }
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer .fine { width: 100%; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 16px; font-size: 0.82rem; color: #93a6bd; }

@media (max-width: 760px) {
  .detail-grid { grid-template-columns: 1fr; }
  .side-panel { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
