/* Office hours — the recurring collective format at /ressources/office-hours/
   and on each office-hours product page.

   Built on the same atomic-design primitives the rest of /ressources/* uses:
   the pulse-line top edge (.accent-top), the offer hero and blueprint from
   offer.css, and the tier ladder proportions from programme.css. Nothing here
   redefines a token — every colour, radius and shadow comes from tokens.css so
   light and dark mode stay driven by the same variables.

   The session listing classes (.office-hours-grid, .office-hours-card,
   .office-hours-capacity, .session-brief*) live in extras.css, which is loaded
   globally; this file only adds what the offer page introduced. */

.office-hours-page [id]{scroll-margin-top:96px}
.office-hours-hero .offer-name{color:var(--cyan)}

/* --------------------------------------------------------------- Audience */
.office-hours-questions{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px;
  margin:32px 0 0;
  padding:0;
  list-style:none;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--line);
  overflow:hidden;
}
.office-hours-questions li{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:14px;
  align-items:start;
  padding:22px 20px;
  background:var(--surface);
}
.office-hours-question-index{
  color:var(--cyan);
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.08em;
}
.office-hours-questions p{margin:0;color:var(--paper);font-size:.92rem;line-height:1.6;text-wrap:pretty}

.office-hours-audience-split{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  gap:18px;
  margin-top:18px;
}
.office-hours-decision-unit,.office-hours-notfor{
  padding:24px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--surface);
}
.office-hours-decision-unit p{margin:12px 0 0;color:var(--silver);line-height:1.7}
.office-hours-notfor{background:color-mix(in srgb,var(--surface) 92%,var(--danger) 8%)}
.office-hours-notfor-head{
  display:block;
  margin-bottom:12px;
  color:var(--paper);
  font-size:.78rem;
  font-weight:780;
  letter-spacing:.02em;
}
.office-hours-notfor ul{margin:0;padding:0;list-style:none}
.office-hours-notfor li{
  position:relative;
  padding:8px 0 8px 22px;
  color:var(--silver);
  font-size:.87rem;
  line-height:1.6;
}
.office-hours-notfor li:before{
  content:"";
  position:absolute;
  left:2px;
  top:1.05rem;
  width:9px;
  height:1px;
  background:color-mix(in srgb,var(--danger) 70%,transparent);
}

/* ----------------------------------------------------- The ninety minutes */
.office-hours-agenda{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1px;
  margin:32px 0 0;
  padding:0;
  list-style:none;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--line);
  overflow:hidden;
  counter-reset:none;
}
.office-hours-agenda li{padding:24px 20px;background:var(--surface)}
.office-hours-agenda-range{
  display:block;
  margin-bottom:2px;
  color:var(--paper);
  font-family:var(--font-display);
  font-size:1.7rem;
  font-weight:700;
  font-variant-numeric:tabular-nums;
  letter-spacing:-.02em;
}
.office-hours-agenda-unit{
  display:block;
  margin-bottom:12px;
  color:var(--cyan);
  font-size:.62rem;
  font-weight:780;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.office-hours-agenda p{margin:0;color:var(--silver);font-size:.87rem;line-height:1.62}
.office-hours-agenda-note{
  margin:18px 0 0;
  padding-left:16px;
  border-left:2px solid var(--cyan);
  color:var(--paper);
  font-size:.92rem;
  line-height:1.65;
}

/* Webinar vs office hours — the objection the format exists to answer. */
.office-hours-contrast{
  margin-top:34px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}
.office-hours-contrast-head,.office-hours-contrast-row{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1px;
  background:var(--line);
}
.office-hours-contrast-head{border-bottom:1px solid var(--line)}
.office-hours-contrast-label{
  padding:14px 20px;
  background:var(--surface-2);
  font-size:.66rem;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.office-hours-contrast-label--before{color:var(--silver)}
.office-hours-contrast-label--after{color:var(--cyan)}
.office-hours-contrast-row+.office-hours-contrast-row{border-top:1px solid var(--line)}
.office-hours-contrast-row p{
  margin:0;
  padding:18px 20px;
  background:var(--surface);
  font-size:.88rem;
  line-height:1.6;
}
.office-hours-contrast-before{color:var(--silver)}
.office-hours-contrast-after{color:var(--paper);font-weight:640}

/* ---------------------------------------------------------------- Cadence */
.office-hours-timeline{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:14px;
  margin:32px 0 0;
  padding:0;
  list-style:none;
}
.office-hours-timeline li{
  position:relative;
  padding:20px 16px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--surface);
}
.office-hours-timeline li:before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:2px;
  border-radius:14px 14px 0 0;
  background:linear-gradient(90deg,var(--violet),var(--cyan));
  opacity:.8;
}
.office-hours-timeline-label{
  display:block;
  margin-bottom:10px;
  color:var(--cyan);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.06em;
  font-variant-numeric:tabular-nums;
}
.office-hours-timeline p{margin:0;color:var(--silver);font-size:.82rem;line-height:1.58}

.office-hours-confidentiality{
  margin-top:28px;
  padding:26px;
  border:1px solid var(--line-strong);
  border-radius:var(--radius);
  background:linear-gradient(155deg,var(--surface),var(--surface-2));
  box-shadow:var(--shadow);
}
.office-hours-confidentiality p{
  margin:12px 0 0;
  max-width:88ch;
  color:var(--paper);
  line-height:1.72;
}

/* ------------------------------------------------------- Access and price */
.office-hours-tiers{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:32px;
  align-items:stretch;
}
.office-hours-tier{
  display:flex;
  flex-direction:column;
  padding:28px 24px 24px;
  border:1px solid var(--line-strong);
  border-radius:18px;
  background:linear-gradient(155deg,color-mix(in srgb,var(--surface) 96%,var(--violet) 4%),var(--surface-2));
  box-shadow:0 22px 64px rgba(6,8,32,.28);
}
.office-hours-tier--recommended{
  border-color:color-mix(in srgb,var(--cyan) 46%,var(--line));
  box-shadow:0 30px 86px rgba(6,8,32,.42),0 0 0 1px color-mix(in srgb,var(--cyan) 14%,transparent);
}
.office-hours-tier-flag{
  align-self:flex-start;
  margin-bottom:14px;
  padding:5px 11px;
  border:1px solid color-mix(in srgb,var(--cyan) 42%,transparent);
  border-radius:999px;
  color:var(--cyan);
  font-size:.63rem;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.office-hours-tier h3{margin:0 0 12px;font-size:1.32rem;line-height:1.2;text-wrap:balance}
.office-hours-tier-body{margin:0 0 20px;color:var(--silver);font-size:.88rem;line-height:1.65;flex:1 1 auto}
.office-hours-tier .button{margin-top:20px;width:100%}
.office-hours-empty{color:var(--silver)}

/* The price card itself lives in css/components/price.css: it is included from
   this page and from every product detail page, so it cannot be styled here. */

.office-hours-entitlements{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:32px;
}
.office-hours-entitlements--detail{margin:0 0 28px}
.office-hours-entitlement{
  padding:26px 24px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--surface);
}
.office-hours-entitlement .check-list{margin-top:16px}
.office-hours-entitlement .check-list li{font-size:.87rem}
.office-hours-limits{margin:16px 0 0;padding:0;list-style:none}
.office-hours-limits li{
  position:relative;
  padding:9px 0 9px 22px;
  border-bottom:1px solid var(--line);
  color:var(--silver);
  font-size:.87rem;
  line-height:1.55;
}
.office-hours-limits li:last-child{border-bottom:0}
.office-hours-limits li:before{
  content:"";
  position:absolute;
  left:2px;
  top:1.1rem;
  width:9px;
  height:1px;
  background:var(--silver);
  opacity:.6;
}
.office-hours-entitlement-note{
  margin:16px 0 0;
  padding-top:14px;
  border-top:1px solid var(--line);
  color:var(--paper);
  font-size:.85rem;
  line-height:1.62;
}

.office-hours-commitments{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1px;
  margin:32px 0 0;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--line);
  overflow:hidden;
}
.office-hours-commitments>div{padding:22px 20px;background:var(--surface)}
.office-hours-commitments dt{
  margin:0 0 9px;
  color:var(--cyan);
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.office-hours-commitments dd{margin:0;color:var(--silver);font-size:.85rem;line-height:1.6}

/* ------------------------------------------------------ Session calendar */
.office-hours-no-session{
  grid-column:1/-1;
  padding:34px 30px;
  border:1px solid var(--line-strong);
  border-radius:var(--radius);
  background:linear-gradient(155deg,var(--surface),var(--surface-2));
}
.office-hours-no-session p{margin:12px 0 20px;max-width:70ch;color:var(--silver);line-height:1.7}

/* ------------------------------------------------------------ What follows */
.office-hours-path{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:32px;
}
.office-hours-path-step{
  padding:26px 24px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--surface);
}
.office-hours-path-index{
  display:block;
  margin-bottom:14px;
  color:var(--cyan);
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.08em;
}
.office-hours-path-step h3{margin:0 0 10px;font-size:1.1rem;line-height:1.25}
.office-hours-path-step p{margin:0;color:var(--silver);font-size:.87rem;line-height:1.65}

.office-hours-cohorts,.office-hours-session-access{
  margin-top:28px;
  padding:24px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--surface);
}
.office-hours-session-access{margin-top:36px}
.office-hours-session-access>p{margin:12px 0 0;color:var(--silver);line-height:1.65}
.office-hours-cohort-list{margin:14px 0 0;padding:0;list-style:none}
.office-hours-cohort-list li{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:18px;
  padding:12px 0;
  border-bottom:1px solid var(--line);
}
.office-hours-cohort-list li:last-child{border-bottom:0}
.office-hours-cohort-list a{color:var(--paper);font-weight:700;font-size:.92rem}
.office-hours-cohort-price{
  flex:0 0 auto;
  color:var(--cyan);
  font-size:.85rem;
  font-weight:730;
  font-variant-numeric:tabular-nums;
}
.office-hours-session-access .text-link{margin-top:16px;display:inline-block}
.office-hours-detail-back{display:inline-block;margin-bottom:36px}
.office-hours-terms-note{color:var(--silver);font-size:.8rem}

@media(max-width:1060px){
  .office-hours-questions{grid-template-columns:repeat(2,minmax(0,1fr))}
  .office-hours-agenda{grid-template-columns:repeat(2,minmax(0,1fr))}
  .office-hours-timeline{grid-template-columns:repeat(3,minmax(0,1fr))}
  .office-hours-tiers{grid-template-columns:repeat(2,minmax(0,1fr))}
  .office-hours-commitments{grid-template-columns:repeat(2,minmax(0,1fr))}
  .office-hours-path{grid-template-columns:1fr}
}
@media(max-width:760px){
  .office-hours-questions,.office-hours-agenda,.office-hours-timeline,
  .office-hours-tiers,.office-hours-commitments,
  .office-hours-audience-split,.office-hours-entitlements{grid-template-columns:1fr}
  .office-hours-contrast-head,.office-hours-contrast-row{grid-template-columns:1fr}
  .office-hours-contrast-head{display:none}
  .office-hours-contrast-before:before{content:"— ";color:var(--silver)}
}
@media print{
  .office-hours-tiers,.office-hours-questions,.office-hours-agenda{grid-template-columns:repeat(2,minmax(0,1fr))}
  .office-hours-tier{box-shadow:none;background:#fff;break-inside:avoid}
}

/* The confidentiality panel carries the page's only photograph: a hand writing
   notes, which is literally what the rule promises — nothing recorded. 4/3 is
   the source ratio, so the frame crops nothing. */
.office-hours-confidentiality--portrait{
  display:grid;
  grid-template-columns:minmax(0,220px) minmax(0,1fr);
  gap:26px;
  align-items:center;
}
.office-hours-confidentiality-photo{aspect-ratio:4/3}
@media(max-width:760px){
  .office-hours-confidentiality--portrait{grid-template-columns:1fr}
  .office-hours-confidentiality-photo{aspect-ratio:16/9}
}
