/* AzureBrasil Week page. Loaded after aks-automatic.css: the AKS page's system (type, sections, cards, carousel, motion)
   with the AKS purples swapped for AzureBrasil's Azure blue and a teal second hue. Only page-specific parts live here:
   the week panel in the hero, the agenda rows and the speaker grid sized for fourteen people. */
:root{
  --bg:#f3f7fd;
  --bg-2:#e2ecfa;
  --chrome:#0a1838;
  --panel:#fff;
  --panel-strong:#eaf2fd;
  --line:rgba(10,40,96,.13);
  --text:#0b1c3a;
  --text-strong:#06122a;
  --text-soft:#1f3560;
  --muted:#4d5f80;
  --heading-soft:#0a58a8;
  --accent:#0067c0;
  --accent-2:#0b7d70;
  --glow:#0078d4;
  --accent-on-dark:#6cc4ff;
  --accent-2-on-dark:#4fe0bd;
  --cta:linear-gradient(95deg,#0067c0,#0b7d70);
  --tag-text:#075a50;
  --shadow:#0a2a5e;
  --input-bg:#f8fbff;
  --input-border:#c5d6ee;
  --placeholder:#66789a;
  --backdrop:rgba(10,24,56,.45);
  --page-bg:radial-gradient(1000px 600px at 85% -10%,rgba(108,196,255,.3),transparent 60%),radial-gradient(800px 520px at 0% 30%,rgba(11,125,112,.1),transparent 65%),linear-gradient(180deg,#f3f7fd 0%,#eef4fd 50%,#f3f7fd 100%);
  --final-bg:radial-gradient(700px 400px at 50% 0%,rgba(108,196,255,.4),transparent 70%),linear-gradient(160deg,#0b2d63,#071433);
}
.final-cta{--cta:linear-gradient(95deg,#8fd3ff,#4fe0bd);--cta-text:#04122a}

/* Hero: a second, quieter action next to the main one */
.hero-actions{gap:12px;align-items:center}
.btn-ghost{background:transparent;color:var(--text-strong);box-shadow:inset 0 0 0 1px var(--line)}
.btn-ghost:hover{background:var(--panel)}

/* Sponsor band under the hero: the TD SYNNEX mark as supplied (black), never recolored or cropped */
.sponsor{border-block:1px solid var(--line);background:color-mix(in srgb,var(--panel) 70%,transparent)}
.sponsor-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 28px;padding:24px 0}
.sponsor-label{font-size:14px;font-weight:650;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.sponsor-logo{height:28px;width:auto}

/* Agenda: one row per day, the date on the left from tablet up */
.agenda{display:grid;gap:16px}
.day{display:grid;gap:18px;padding:22px;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel)}
.day-date{display:flex;align-items:baseline;gap:10px;color:var(--accent)}
.weekday,.month{font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.num{font-size:clamp(52px,8vw,76px);font-weight:700;line-height:.9;letter-spacing:-.04em;color:var(--text-strong);font-variant-numeric:tabular-nums}
.day-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-bottom:12px;font-size:14px;font-weight:600}
.time{padding:3px 12px;border-radius:999px;background:var(--cta);color:var(--cta-text)}
.track{letter-spacing:.04em;text-transform:uppercase;color:var(--heading-soft)}
.day h3{font-size:clamp(21px,2.6vw,26px);line-height:1.22}
.day-desc{margin-top:12px;max-width:66ch}
.day .tags{margin-top:16px}
/* Two names per row on phones, so the roundtable's eleven people do not become a long column */
.people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}
.people-label{margin-top:22px;font-size:14px;font-weight:650;color:var(--text-soft)}
.people-label + .people{margin-top:10px;padding-top:0;border-top:0}
.person{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600;line-height:1.3;color:var(--text-strong)}
.person img,.person .avatar-initials{width:40px;height:40px;border-radius:50%;object-fit:cover;flex:none;border:2px solid var(--panel);box-shadow:0 0 0 1px var(--line)}
.person a{text-decoration:none}
.person a:hover span:first-child{text-decoration:underline;text-underline-offset:3px}
.avatar-initials{display:grid;place-items:center;background:var(--panel-strong);font-weight:700;color:var(--accent)}
.day-roundtable{border-color:color-mix(in srgb,var(--accent-2) 45%,transparent);background:linear-gradient(135deg,color-mix(in srgb,var(--accent-2) 7%,var(--panel)),var(--panel) 60%)}
.day-roundtable .time{background:var(--accent-2)}
.day-roundtable .day-date,.day-roundtable .track{color:var(--accent-2)}
.motion-flow .day{transition:border-color .3s ease}
.motion-flow .day:hover{border-color:color-mix(in srgb,var(--accent) 45%,transparent)}
.motion-flow .day-roundtable:hover{border-color:color-mix(in srgb,var(--accent-2) 70%,transparent)}

/* Speakers: the AKS cards, groups stacked; the team label is filled, the guests label outlined */
.week-speakers{display:block}
/* Flex instead of the AKS grid, so a short last row sits centered under the full ones */
.week-speakers .speakers{display:flex;flex-wrap:wrap;justify-content:center;gap:16px}
.week-speakers .speaker{flex:0 0 calc((100% - 16px) / 2)}
/* height:auto lets the ratio win over the img height attribute; 4:5 keeps the portraits large without towering on phones */
.week-speakers .speaker img{height:auto;aspect-ratio:4/5;object-position:center 30%}
.week-speakers .speaker-group + .speaker-group{margin-top:48px}
.group-azbr .group-label{border:0;background:var(--cta);color:var(--cta-text)}
.group-guests .group-label{border:1px solid var(--line)}
/* Profile link under the role: the LinkedIn mark in its brand blue says the card leads somewhere */
.speaker-linkedin{display:inline-flex;align-items:center;gap:8px;min-height:32px;margin-top:10px;padding:4px 12px 4px 8px;border:1px solid var(--line);border-radius:999px;font-size:14px;font-weight:600;color:var(--text-strong);text-decoration:none;transition:border-color .2s ease,background-color .2s ease}
.speaker-linkedin svg{flex:none;fill:#0a66c2}
.speaker-linkedin:hover{border-color:#0a66c2;background:color-mix(in srgb,#0a66c2 8%,var(--panel))}
.speaker-info .speaker-linkedin span{display:inline;margin:0}
.speaker .avatar-initials{width:100%;aspect-ratio:1/1;font-size:40px}
.speaker-sessions{display:grid;gap:2px;margin-top:10px}
.speaker-sessions li{font-size:13px;font-weight:600;line-height:1.45;color:var(--accent);font-variant-numeric:tabular-nums}
.group-guests .speaker-sessions li{color:var(--accent-2)}

/* Registration not open yet: a status badge, not a button, in the header and hero */

/* Week panel: an event pass with a stub, so the hero does not echo the AKS cluster panel. The main part and the stub are
   two pieces, each masked with its half of the notches, so the stub can tear away on hover.
   Phones put the stub at the bottom, wider screens at the side. */
.motion-flow .week-ticket{animation:flow-rise .8s var(--ease-out) .1s backwards}
.week-ticket{--stub:76px;width:100%;filter:drop-shadow(0 30px 48px color-mix(in srgb,var(--shadow) 30%,transparent)) drop-shadow(0 6px 14px color-mix(in srgb,var(--shadow) 14%,transparent))}
/* Hover: the pass lifts, its shadow deepens, the stub tears off along the perforation and the AzureBrasil mark drifts up */
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  .week-ticket{transition:transform .5s var(--ease-out),filter .5s var(--ease-out)}
  .week-ticket:hover{transform:translateY(-8px) rotate(-.6deg);filter:drop-shadow(0 44px 60px color-mix(in srgb,var(--shadow) 38%,transparent)) drop-shadow(0 10px 18px color-mix(in srgb,var(--shadow) 16%,transparent))}
  .wtk-stub{transform-origin:100% 0;transition:transform .6s var(--ease-out)}
  .week-ticket:hover .wtk-stub{transform:translateY(10px) rotate(-3deg)}
  .wtk-main::before{transition:transform .7s var(--ease-out),opacity .5s ease}
  .week-ticket:hover .wtk-main::before{transform:translate(-10px,-12px) scale(1.06);opacity:.22}
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) and (min-width:720px){
  .wtk-stub{transform-origin:0 100%}
  .week-ticket:hover .wtk-stub{transform:translateX(10px) rotate(5deg)}
}
.wtk{display:grid;grid-template-rows:auto var(--stub)}
.wtk-main{border-radius:var(--radius) var(--radius) 0 0;
  -webkit-mask:var(--notches-main);mask:var(--notches-main);
  --notches-main:radial-gradient(circle 13px at 0 100%,#0000 98%,#000) left/51% 100% no-repeat,radial-gradient(circle 13px at 100% 100%,#0000 98%,#000) right/51% 100% no-repeat}
.wtk-stub{border-radius:0 0 var(--radius) var(--radius);
  -webkit-mask:var(--notches-stub);mask:var(--notches-stub);
  --notches-stub:radial-gradient(circle 13px at 0 0,#0000 98%,#000) left/51% 100% no-repeat,radial-gradient(circle 13px at 100% 0,#0000 98%,#000) right/51% 100% no-repeat}
.wtk-kicker{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--accent)}
.wtk-title{display:block;margin-top:6px;font-size:clamp(26px,4vw,32px);font-weight:700;letter-spacing:-.03em;line-height:1.05;color:var(--text-strong)}
.wtk-list{display:grid;margin-top:18px;border-top:1px dashed var(--line)}
.wtk-list li{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:10px;align-items:baseline;padding:9px 0;border-bottom:1px dashed var(--line);font-size:15px;animation:rise-in .6s var(--ease-out) calc(.35s + var(--i) * .1s) backwards}
.wtk-date{font-size:13px;font-weight:700;color:var(--accent);font-variant-numeric:tabular-nums}
.wtk-name{font-weight:650;color:var(--text-strong)}
.wtk-time{font-size:13px;color:var(--muted)}
.wtk-list .is-roundtable .wtk-date{color:var(--accent-2)}
.wtk-stub{display:flex;align-items:center;justify-content:space-around;gap:12px;padding:10px 20px;border-top:2px dashed color-mix(in srgb,#fff 55%,transparent);background:var(--cta);color:var(--cta-text);text-align:center}
.wtk-free{display:grid;justify-items:center;gap:6px;font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.wtk-free small{padding:2px 10px;border:1px solid color-mix(in srgb,#fff 65%,transparent);border-radius:999px;font-size:11px;letter-spacing:.24em}
.wtk-count{display:grid;justify-items:center;font-size:12px;font-weight:600;line-height:1.2}
.wtk-count strong{font-size:24px;line-height:1.1;font-weight:700;letter-spacing:-.03em}
.wtk-stub .teams-logo{width:26px;height:26px}
/* A faint blue-to-teal wash with the AzureBrasil mark (arrows and cloud) in the corner, kept faint so the list stays readable */
.wtk-main{position:relative;isolation:isolate;overflow:hidden;padding:24px 20px 22px 24px;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 14%,var(--panel)),var(--panel) 50%,color-mix(in srgb,var(--accent-2) 16%,var(--panel)))}
.wtk-main::before{content:"";position:absolute;z-index:-1;right:-18px;bottom:-34px;width:280px;aspect-ratio:1/1;background:url(../images/favicon-180.png) center/contain no-repeat;opacity:.16}

@media (min-width:720px){
  .hero-actions{display:flex;max-width:none}
  .week-ticket{--stub:132px}
  .wtk{grid-template-rows:none;grid-template-columns:minmax(0,1fr) var(--stub)}
  .wtk-main{border-radius:var(--radius) 0 0 var(--radius);
    --notches-main:radial-gradient(circle 13px at 100% 0,#0000 98%,#000) top/100% 51% no-repeat,radial-gradient(circle 13px at 100% 100%,#0000 98%,#000) bottom/100% 51% no-repeat}
  .wtk-stub{border-radius:0 var(--radius) var(--radius) 0;
    --notches-stub:radial-gradient(circle 13px at 0 0,#0000 98%,#000) top/100% 51% no-repeat,radial-gradient(circle 13px at 0 100%,#0000 98%,#000) bottom/100% 51% no-repeat}
  .wtk-stub{flex-direction:column;justify-content:center;gap:16px;padding:20px 10px;border-top:0;border-left:2px dashed color-mix(in srgb,#fff 55%,transparent)}
  .wtk-count strong{font-size:30px}
  .sponsor-inner{padding:28px 0}
  .sponsor-logo{height:34px}
  .day{grid-template-columns:132px minmax(0,1fr);gap:32px;padding:30px 32px}
  .day-date{flex-direction:column;align-items:flex-start;gap:6px;padding-top:4px}
  .people{display:flex;flex-wrap:wrap;gap:14px 22px}
  .person{font-size:16px;gap:12px}
  .person img,.person .avatar-initials{width:44px;height:44px}
  .week-speakers .speaker{flex-basis:calc((100% - 32px) / 3)}
  .footer-inner{grid-template-columns:auto 1fr auto}
}
@media (min-width:1024px){
  .week-speakers .speakers{gap:20px}
  .week-speakers .speaker{flex-basis:calc((100% - 60px) / 4)}
}

/* Registration dialog: the event choice sits between the text fields and the terms. */
.result-card p a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
.event-hint{font-size:13px;color:var(--muted)}

/* Confirmation: the same pass as the hero, its stub tearing off along the perforation in a loop (6s).
   One continuous motion per phase, each with its own easing, so nothing stops between keyframes:
   rest → tension (the stub leans, the pass tugs back) → release and fall (gravity: ease-in, fading out) → a fresh stub settles in.
   Only transform and opacity animate, on their own layers; the pass keeps its static drop shadow.
   --dx/--dy/--dr point the tear: down on phones (stub below the pass), right and clockwise on wider screens (stub at the side). */
.ticket-tear{width:100%;max-width:560px;margin:6px 0 10px;--dx:0;--dy:1;--dr:-1;text-align:left}
@media (min-width:720px){.ticket-tear{--dx:1;--dy:0;--dr:1}}
@media (prefers-reduced-motion:no-preference){
  .ticket-tear .week-ticket{will-change:transform}
  .ticket-tear .week-ticket:hover{transform:none}
  .ticket-tear .wtk-stub{transform-origin:100% 0;will-change:transform,opacity;animation:stub-tear 6s linear .8s infinite both}
  .ticket-tear .wtk-main{will-change:transform;animation:main-tug 6s linear .8s infinite both}
  @media (min-width:720px){.ticket-tear .wtk-stub{transform-origin:0 100%}}
}
@keyframes stub-tear{
  0%{transform:none;opacity:1}
  28%{transform:none;opacity:1;animation-timing-function:cubic-bezier(.45,0,.55,1)}
  44%{transform:translate(calc(var(--dx) * 7px),calc(var(--dy) * 7px)) rotate(calc(var(--dr) * 3deg));opacity:1;animation-timing-function:cubic-bezier(.4,0,.9,.6)}
  74%{transform:translate(calc(var(--dx) * 90px),calc(var(--dy) * 110px + 30px)) rotate(calc(var(--dr) * 24deg));opacity:0}
  84%{transform:translate(calc(var(--dx) * -6px),calc(var(--dy) * -6px));opacity:0;animation-timing-function:cubic-bezier(.22,1,.36,1)}
  100%{transform:none;opacity:1}
}
@keyframes main-tug{
  0%,28%{transform:none;animation-timing-function:cubic-bezier(.45,0,.55,1)}
  44%{transform:translate(calc(var(--dx) * -3px),calc(var(--dy) * -3px));animation-timing-function:cubic-bezier(.34,1.4,.64,1)}
  62%,100%{transform:none}
}
