/* aws-cu.tech brand layer on top of the Taste kit's system.css.
   Colours and the grid-cell language come from the group's own Instagram artwork:
   navy ground, sky blue, bright green, 1px hairline cells, monospace headlines. */
:root {
  --p-bg: #161d26; --p-surface: #1f2833; --p-ink: #f3f5f3; --p-muted: #a3acb6;
  --p-accent: #00e585; --p-accent-ink: #101820; --p-action: #00e585; --p-action-ink: #101820;
  --p-inv-bg: #0e141b; --p-inv-surface: #161d26; --p-inv-ink: #f3f5f3; --p-inv-muted: #a3acb6;
  --p-inv-accent: #00e585; --p-inv-accent-ink: #101820; --p-inv-action: #00e585; --p-inv-action-ink: #101820;
  --font-display: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --font-text: "Hanken Grotesk", system-ui, sans-serif;
  --display-weight: 500; --display-tracking: -0.04em; --display-tracking-xl: -0.05em;
  --blue: #42b4ff; --blue-deep: #006ce0; --green: #00e585; --navy: #161d26; --navy-2: #1f2833; --paper: #f3f5f3;
  --hair: rgba(243, 245, 243, .14);
}
html { background: var(--navy); scroll-padding-top: 88px; }
body { background: var(--navy); color: var(--paper); font-family: var(--font-text); }
h1, h2, h3, .t-h1, .t-h2 { font-family: var(--font-display); font-weight: 500; }
h3 { letter-spacing: -0.03em; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -0.04em; color: var(--paper); text-decoration: none; }
.brand img { display: block; width: 40px; height: auto; }
.nav { background: var(--navy); }
.nav__link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.btn--primary { background: var(--green); color: #101820; font-weight: 500; }
.btn--primary:hover { background: #33f0a3; }
.btn--secondary { background: transparent; color: var(--paper); border-color: rgba(243, 245, 243, .35); }
.btn--secondary:hover { background: rgba(243, 245, 243, .08); border-color: var(--paper); }
.btn--lg { height: 52px; padding: 0 28px; font-size: 17px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.muted { color: var(--p-muted); }

/* ---- grounds. Each band sets the kit's tokens so every kit component inherits them */
.g-blue { --bg: var(--blue); --surface: #5bbfff; --ink: #0d1620; --muted: #1d3347; --line: rgba(13, 22, 32, .22); --line-strong: rgba(13, 22, 32, .4); --accent: #0d1620; --action: #0d1620; --action-ink: var(--blue); background: var(--blue); color: #0d1620; }
.g-light { --bg: var(--paper); --surface: #e6ebe7; --ink: #161d26; --muted: #4a525b; --line: rgba(22, 29, 38, .15); --line-strong: rgba(22, 29, 38, .35); --accent: #161d26; --action: #161d26; --action-ink: var(--paper); background: var(--paper); color: #161d26; }
.g-blue :is(h1, h2, h3, p, li, a), .g-light :is(h1, h2, h3, p, li, a) { color: inherit; }
.g-light .muted { color: #4a525b; }
.blk__s { padding: clamp(72px, 9vw, 128px) 0; }
.blk__s .section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.blk__s h2 { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.05; }
.section-head p { font-family: var(--font-text); }

/* ================================================================= hero: the group's own grid */
.gh {
  --c: min(calc(100vw / 12), calc(1280px / 12), calc((100svh - var(--nav)) / 7));
  position: relative; height: max(calc(var(--c) * 7), calc(100svh - var(--nav))); min-height: 520px; overflow: hidden; background: var(--navy);
}
.gh__cells { position: absolute; left: 50%; top: 0; width: calc(var(--c) * 12); height: calc(var(--c) * 7); transform: translateX(-50%); display: grid; grid-template: repeat(7, 1fr) / repeat(12, 1fr); }
.gh__cells i { display: block; transition: background-color .9s ease; }
.gh__cells i.hot { background: rgba(66, 180, 255, .28); transition-duration: .08s; }
.gh__grid { position: relative; width: 100%; height: 100%; align-content: start; display: grid; grid-template: repeat(7, var(--c)) / repeat(12, var(--c)); justify-content: center; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cpath d='M100 0V100H0' fill='none' stroke='%23f3f5f3' stroke-opacity='.2' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  background-size: var(--c) var(--c); background-position: calc(50% - 5.5 * var(--c)) 0; }
.gh__grid > * { pointer-events: auto; min-width: 0; min-height: 0; }
.gh__grid > .gh__h1, .gh__grid > .gh__lead, .gh__grid > .gh__kick, .gh__grid > .gh__b { pointer-events: none; }
.gh__kick { grid-area: 1 / 1 / 2 / 9; align-self: end; display: flex; align-items: center; gap: 10px; padding: 0 0 calc(var(--c) * .14) 0; font-size: 14px; color: var(--p-muted); }
.gh__kick .dot { width: 8px; height: 8px; background: var(--green); flex: none; }
.gh__logo { grid-area: 1 / 12 / 2 / 13; background: var(--navy); display: grid; place-items: center; }
.gh__logo img { width: 100%; height: 100%; display: block; }
.gh__h1 { grid-area: 2 / 1 / 5 / 9; align-self: start; font-family: var(--font-display); font-weight: 500; font-size: calc(var(--c) * .72); line-height: 1.04; letter-spacing: -0.055em; color: var(--paper); text-wrap: balance; padding: calc(var(--c) * .1) 0 0 0; margin: 0; }
.gh__lead { grid-area: 5 / 1 / 6 / 7; align-self: start; padding: calc(var(--c) * .12) 0 0 0; margin: 0; font-size: clamp(16px, calc(var(--c) * .17), 21px); line-height: 1.45; max-width: 44ch; color: var(--paper); }
.gh__cta { grid-area: 6 / 1 / 7 / 8; align-self: center; padding-left: 0; flex-wrap: wrap; }
.gh__b--g { grid-area: 6 / 8 / 7 / 9; background: var(--green); }
.gh__b--b { grid-area: 7 / 7 / 8 / 8; background: var(--blue); }
.gh__b--chip { grid-area: 7 / 1 / 8 / 2; background: var(--navy-2); color: var(--green); padding: calc(var(--c) * .26); }
.gh__ev { grid-area: 1 / 9 / 3 / 12; background: var(--green); color: #0d1620; padding: calc(var(--c) * .14) calc(var(--c) * .16); display: flex; flex-direction: column; gap: calc(var(--c) * .06); }
.gh__lab { display: flex; justify-content: space-between; margin: 0; font-size: 13px; font-weight: 500; font-family: var(--font-display); letter-spacing: -0.02em; }
.gh__evt { margin: auto 0 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(15px, calc(var(--c) * .2), 24px); line-height: 1.15; letter-spacing: -0.045em; }
.gh__evt a { color: inherit; text-decoration: none; background: none; border: 0; box-shadow: none; }
.gh__evt a:hover { text-decoration: underline; }
.gh__evt a:hover { text-decoration: underline; text-underline-offset: 4px; }
.gh__when { margin: 0; font-size: 14px; line-height: 1.3; }
.cd { display: grid; grid-template-columns: repeat(4, 1fr); }
.cd__c { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 calc(var(--c) * .14); background: var(--navy-2); border-left: 1px solid var(--hair); }
.cd__c b { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, calc(var(--c) * .46), 52px); line-height: 1; letter-spacing: -0.06em; color: var(--green); font-variant-numeric: tabular-nums; }
.cd__c span { font-size: 12px; color: var(--p-muted); margin-top: 6px; }
.gh__cd { grid-area: 3 / 9 / 4 / 13; }
.gh__feed { grid-area: 4 / 9 / 7 / 12; position: relative; background: var(--navy-2); overflow: hidden; }
.gh__slide { position: absolute; inset: 0; display: block; clip-path: inset(0 100% 0 0); transition: clip-path .7s cubic-bezier(.7, 0, .2, 1); }
.gh__slide.on { clip-path: inset(0 0 0 0); z-index: 1; }
.gh__slide.was { clip-path: inset(0 0 0 0); z-index: 0; }
.gh__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gh__count { position: absolute; right: 0; bottom: 0; z-index: 2; background: var(--navy); color: var(--p-muted); font: 500 13px var(--font-display); padding: 8px 12px; letter-spacing: -0.02em; }
.gh__count b { color: var(--green); font-weight: 500; }
.gh__more { grid-area: 7 / 9 / 8 / 13; align-self: center; display: inline-flex; align-items: center; gap: 8px; padding-left: calc(var(--c) * .14); color: var(--paper); font-weight: 500; font-size: 15px; text-decoration: none; justify-self: start; }
.gh__more svg { transition: transform .2s ease; }
.gh__more:hover { color: var(--green); }
.gh__more:hover svg { transform: translateX(3px); }
.gh__cell12 { display: none; }
/* hero enters once on load */
@media (prefers-reduced-motion: no-preference) {
  .gh [data-b] { animation: drop .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 70ms); }
  .gh .gh__h1 { animation: rise .9s cubic-bezier(.2, .8, .2, 1) .1s both; }
  .gh .gh__lead, .gh .gh__cta { animation: rise .9s cubic-bezier(.2, .8, .2, 1) .3s both; }
  .gh .gh__cd { animation: drop .7s cubic-bezier(.2, .8, .2, 1) .25s both; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-14px); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* phone and small tablet: the grid becomes six columns and stacks */
@media (max-width: 899px) {
  .gh { --c: calc(100vw / 6); height: auto; min-height: 0; padding-bottom: 0; }
  .gh__cells { display: none; }
  .gh__grid { height: auto; grid-template: none; grid-template-columns: repeat(6, 1fr); grid-auto-rows: var(--c); justify-content: normal; background-position: 0 0; }
  .gh__kick { grid-area: 1 / 1 / 2 / 6; padding-left: 16px; font-size: 12px; }
  .gh__logo { grid-area: 1 / 6 / 2 / 7; }
  .gh__h1 { grid-area: 2 / 1 / 5 / 7; font-size: clamp(28px, 8.4vw, 56px); padding: 14px 16px 0; align-self: start; }
  .gh__lead { grid-area: 5 / 1 / 7 / 7; padding: 0 16px; font-size: 16px; }
  .gh__cta { grid-area: 7 / 1 / 9 / 7; padding: 0 16px; align-self: center; row-gap: 12px; }
  .gh__cta .btn { flex: 1 1 100%; justify-content: center; }
  .gh__ev { grid-area: 10 / 1 / 12 / 7; padding: 14px 16px; }
  .gh__evt { font-size: 22px; }
  .gh__cd { grid-area: 12 / 1 / 13 / 7; }
  .cd__c b { font-size: 30px; }
  .gh__feed { grid-area: 13 / 1 / 19 / 7; }
  .gh__more { grid-area: 19 / 1 / 20 / 7; padding-left: 16px; }
  .gh__b--g { grid-area: 9 / 6 / 10 / 7; }
  .gh__b--b { grid-area: 9 / 5 / 10 / 6; }
  .gh__b--chip { grid-area: 9 / 1 / 10 / 2; }
}
@media (min-width: 640px) and (max-width: 899px) { .gh { --c: calc(100vw / 8); } .gh__grid { grid-template-columns: repeat(8, 1fr); } .gh__kick { grid-area: 1 / 1 / 2 / 8; } .gh__logo { grid-area: 1 / 8 / 2 / 9; } .gh__h1 { grid-area: 2 / 1 / 4 / 9; } .gh__lead { grid-area: 4 / 1 / 6 / 8; } .gh__cta { grid-area: 6 / 1 / 7 / 9; } .gh__cta .btn { flex: 0 1 auto; } .gh__b--g { grid-area: 7 / 8 / 8 / 9; } .gh__b--b { grid-area: 7 / 7 / 8 / 8; } .gh__b--chip { grid-area: 7 / 1 / 8 / 2; } .gh__ev { grid-area: 8 / 1 / 10 / 5; } .gh__cd { grid-area: 10 / 1 / 11 / 5; } .gh__feed { grid-area: 8 / 5 / 12 / 9; } .gh__more { grid-area: 11 / 1 / 12 / 5; } }

/* ================================================================= home sections */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; align-items: start; }
.tiles--home { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .tiles--home { grid-template-columns: repeat(2, 1fr); } }
.tile { position: relative; display: block; overflow: hidden; background: var(--navy-2); aspect-ratio: var(--r, 1 / 1); border-radius: 4px; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.tile:hover img { transform: scale(1.03); }
.tiles--home .tile { aspect-ratio: 1 / 1; }
.tile__play, .tile__n { position: absolute; top: 8px; right: 8px; min-width: 28px; height: 28px; display: grid; place-items: center; background: var(--navy); color: var(--green); font: 500 13px var(--font-display); padding: 0 8px; }
.tile[hidden] { display: none; }
.g-blue .section-head p { color: #0d1620; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.steps li { padding: 32px 24px 8px 0; border-right: 1px solid var(--line); }
.steps li + li { padding-left: 24px; }
.steps li:last-child { border-right: 0; }
.steps__n { display: block; width: 14px; height: 14px; background: var(--ink); }
.steps h3 { font-size: clamp(22px, 2vw, 28px); margin: 48px 0 12px; line-height: 1.1; }
.steps p { max-width: 34ch; margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps li, .steps li + li { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); } .steps h3 { margin-top: 20px; } }
#topics .card { display: flex; flex-direction: column; gap: 16px; padding: 24px; border: 1px solid var(--hair); border-radius: 4px; background: transparent; transition: transform .2s ease, border-color .2s ease; }
#topics .card:hover { transform: translateY(-2px); border-color: var(--green); }
#topics .card h3 { margin: 0; font-size: 22px; line-height: 1.15; }
#topics .card p { margin: 0; color: var(--p-muted); }
#topics .ic-tile { background: #fff; border-radius: 4px; }
@media (min-width: 640px) and (max-width: 1023px) { #topics .grid > .card { grid-column: auto / span 6; } }
.statement__text { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.05em; font-size: clamp(26px, 3.6vw, 54px); line-height: 1.14; max-width: 26em; margin: 24px 0 0; text-wrap: balance; }
.statement__text mark { background: var(--green); color: #0d1620; padding: 0 .12em; }
.faq .faq__item h3 { font-family: var(--font-display); }
#learn .rows a { position: relative; display: inline-flex; align-items: center; }
#learn .rows a::before { content: ""; position: absolute; inset: -11px 0; }
.g-light .rows, .g-light .faq__item { border-color: var(--line); }

/* footer */
.footer--dark, .footer--plain { background: #0e141b; color: var(--paper); }
footer.closing { height: auto; min-height: 0; padding-top: clamp(72px, 9vw, 128px); }
footer.closing > .wrap { height: auto; }
.closing__cta h2 { font-size: clamp(36px, 6vw, 96px); letter-spacing: -0.06em; line-height: .98; }
.footer--plain { padding-block: 64px 32px; border-top: 1px solid var(--hair); }
.footer__col h3 { font-family: var(--font-text); font-size: 13px; font-weight: 500; color: var(--p-muted); letter-spacing: 0; }
.footer__col ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.footer__col a { color: var(--paper); text-decoration: none; }
.footer__col a:hover { color: var(--green); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hair); font-size: 14px; color: var(--p-muted); }
.closing__links { margin-top: 64px; }
.footer--plain .grid { row-gap: 32px; }
.footer__lede { color: var(--p-muted); margin: 12px 0 0; max-width: 36ch; }
@media (max-width: 639px) { .footer--plain .grid > * { grid-column: 1 / -1; } }

/* ================================================================= inner pages */
.page { padding-top: calc(var(--nav) + clamp(40px, 6vw, 80px)); padding-bottom: clamp(64px, 8vw, 112px); min-height: 70svh; }
.page__h1 { font-size: clamp(40px, 6vw, 88px); line-height: 1; letter-spacing: -0.06em; margin: 0; }
.page__h2 { font-size: clamp(26px, 3vw, 40px); margin: clamp(56px, 7vw, 96px) 0 24px; letter-spacing: -0.05em; }
.page .section-head { margin-bottom: 32px; }
.crumb { margin: 0 0 24px; font-size: 14px; }
.crumb a { color: var(--p-muted); }
.prose { max-width: 760px; }
.prose .lead { font-size: 20px; color: var(--p-muted); margin: 16px 0 32px; }
.prose p { max-width: 62ch; line-height: 1.65; }
.empty { padding: 48px 0; }
.empty h1 { font-size: clamp(32px, 4vw, 56px); letter-spacing: -0.06em; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 28px; align-items: center; }
.chip { min-height: 44px; padding: 0 16px; border: 1px solid rgba(243, 245, 243, .3); background: transparent; color: var(--paper); border-radius: 999px; font: 500 15px var(--font-text); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background-color .15s ease, border-color .15s ease; }
.chip i { font-style: normal; font-size: 12px; color: var(--p-muted); }
.chip:hover { border-color: var(--paper); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #101820; }
.chip[aria-pressed="true"] i { color: #101820; }
.chips__sep { width: 1px; height: 24px; background: var(--hair); margin: 0 8px; }

/* event pages */
.evd { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 899px) { .evd { grid-template-columns: 1fr; } }
.evd h1 { font-size: clamp(34px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.06em; margin: 12px 0 16px; text-wrap: balance; }
.evd__lead { font-size: 20px; max-width: 40ch; margin: 0 0 32px; }
.evd__status { display: inline-block; margin: 0; padding: 6px 12px; background: var(--green); color: #101820; font: 500 13px var(--font-display); }
.evd__status[data-s="live"] { background: var(--blue); }
.evd__status[data-s="past"], .evd__status[data-s="cancelled"] { background: var(--navy-2); color: var(--p-muted); border: 1px solid var(--hair); }
.evd .cd { margin: 0 0 32px; border: 1px solid var(--hair); }
.evd .cd__c { padding: 20px; border-left: 1px solid var(--hair); }
.evd .cd__c:first-child { border-left: 0; }
.evd .cd__c b { font-size: clamp(32px, 5vw, 64px); }
.evd .cd[hidden] { display: none; }
.evd .rows { margin-bottom: 28px; }
.evd__side h2 { font-size: 28px; margin: 0 0 16px; letter-spacing: -0.05em; }
.evd__side h2:not(:first-child) { margin-top: 48px; }
.agenda { list-style: none; padding: 0; margin: 0; }
.agenda li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--hair); }
.agenda h3 { margin: 0; font-size: 18px; }
.agenda p { margin: 4px 0 0; color: var(--p-muted); }
.agenda__t { font: 500 14px var(--font-display); color: var(--green); }
.evs { display: grid; gap: 0; border-top: 1px solid var(--hair); }
.ev { display: grid; grid-template-columns: 112px 1fr auto; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--hair); }
.ev__date { display: flex; flex-direction: column; font-family: var(--font-display); }
.ev__date b { font-size: 48px; line-height: 1; font-weight: 500; letter-spacing: -0.06em; color: var(--green); }
.ev__date span { font-size: 13px; color: var(--p-muted); margin-top: 6px; }
.ev h3 { margin: 0 0 6px; font-size: 22px; }
.ev h3 a { color: inherit; text-decoration: none; }
.ev h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ev p { margin: 0 0 4px; }
@media (max-width: 700px) { .ev { grid-template-columns: 80px 1fr; } .ev .btn { grid-column: 1 / -1; } .ev__date b { font-size: 36px; } }

/* blog post */
.post { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.post > .crumb { grid-column: 1 / -1; }
.post__a { position: sticky; top: calc(var(--nav) + 32px); }
.post__a h1 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -0.06em; margin: 16px 0 24px; }
.post__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; font: 500 13px var(--font-display); color: var(--p-muted); }
.post__meta span:first-child { color: var(--green); }
.post__body p { font-size: 18px; line-height: 1.6; max-width: 56ch; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 24px 0 0; }
.tags li { font: 500 13px var(--font-display); color: var(--blue); }
.post__media { display: grid; gap: 16px; }
.post__media--many { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pm { margin: 0; background: var(--navy-2); }
.pm img, .pm video { width: 100%; height: auto; display: block; }
.post__nav { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--hair); padding-top: 24px; margin-top: 16px; }
.post__nav a { color: var(--paper); text-decoration: none; display: grid; gap: 4px; font-family: var(--font-display); font-size: 17px; letter-spacing: -0.04em; }
.post__nav a span { font: 500 13px var(--font-text); color: var(--p-muted); }
.post__nav a:hover { color: var(--green); }
.post__nav .r { text-align: right; }
.post__ig { grid-column: 1 / -1; margin: 0; }
@media (max-width: 899px) { .post { grid-template-columns: 1fr; } .post__a { position: static; } }
[dir="rtl"] .post__body p, [dir="rtl"] h1 { text-align: right; font-family: "Hanken Grotesk", system-ui, sans-serif; letter-spacing: 0; }
@media (max-width: 520px) { .post__media--many { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { .gh__slide { transition: none; } .tile img { transition: none; } }

main > .blk { padding-top: var(--nav); }
