/* Vedetta website. Paper and ink, with brass for the PMO's work. */

:root {
  color-scheme: light;
  --paper: #F5F6F3;
  --surface: #FFFFFF;
  --surface-2: #F7F8F6;
  --ink: #0E1A20;
  --ink-2: #2B3940;
  --slate: #56636A;
  --faint: #626F76;
  --rule: #DFE3DE;
  --rule-2: #CBD1CC;
  --brass: #B98A36;
  --brass-2: #C99A45;
  --brass-ink: #82601D;
  --brass-wash: #F6EDDB;
  --docx: #2F5E9E;
  --xlsx: #2F7A52;
  --pptx: #BF5A34;
  --site: #2F5B66;
  --night: #0F1B21;
  --night-text: #EEF0EB;
  --night-muted: #93A1A6;
  --gutter: clamp(16px, 4vw, 44px);
  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shadow-sm: 0 1px 2px rgba(14, 26, 32, .06), 0 10px 22px -14px rgba(14, 26, 32, .26);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.3, 1.3, .5, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p, dd { text-wrap: pretty; }
a { color: inherit; }
svg { display: block; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* The hidden attribute always wins over a component's display. */
[hidden] { display: none !important; }

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--ink); color: var(--paper);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--brass-ink); outline-offset: 3px; border-radius: 4px; }
.stage :focus-visible, .contact :focus-visible, .site-footer :focus-visible { outline-color: var(--brass-2); }

/* Type */

h1 {
  font-weight: 400;
  font-size: clamp(40px, 6.3vw, 84px);
  line-height: 1;
  letter-spacing: -.045em;
}

h2 {
  font-weight: 400;
  font-size: clamp(32px, 3.9vw, 52px);
  line-height: 1.06;
  letter-spacing: -.034em;
}

.label {
  font: 600 12.5px/1.2 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brass-ink);
}

.lead { font-size: 20px; line-height: 1.55; color: var(--ink-2); letter-spacing: -.005em; }
.sec-intro { font-size: 18px; line-height: 1.6; color: var(--ink-2); }

/* Buttons and links */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px;
  border-radius: 12px;
  background: var(--ink); color: var(--paper);
  font: 600 15.5px/1 var(--sans);
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s, transform .2s;
}
.btn:hover { background: #24343C; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; }
.btn-brass { background: #D8B46A; color: var(--night); }
.btn-brass:hover { background: #E3C27D; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  height: 50px; padding: 0 6px;
  font-weight: 600; font-size: 15.5px;
  text-decoration: none;
  color: var(--ink);
}
.text-link svg { width: 16px; height: 16px; transform: rotate(90deg); transition: transform .25s var(--ease); }
.text-link:hover svg { transform: rotate(90deg) translateX(3px); }

/* Header */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(245, 246, 243, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 68px; }

.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font: 600 20px/1 var(--sans);
  letter-spacing: -.03em;
  color: var(--ink);
  text-decoration: none;
}
.brand svg { width: 26px; height: 26px; }

.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 500; color: var(--slate); text-decoration: none; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--brass-ink); text-underline-offset: 5px; }
.header-action { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-action:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 860px) {
  html { scroll-padding-top: 144px; }
  .header-inner { height: auto; min-height: 68px; flex-wrap: wrap; gap: 0 20px; padding-block: 8px; }
  .header-action { margin-left: auto; }
  .nav { order: 3; width: 100%; margin-left: 0; flex-wrap: wrap; gap: 0 18px; }
  .nav a { display: inline-flex; align-items: center; min-height: 36px; font-size: 14px; }
}

/* Hero: the headline across the page; under it, the lead on the left and the two actions on the right, sharing one baseline.
   The How it works panel below reaches a little past the margins, so its contents line up with these edges. */

.hero { padding-block: clamp(40px, 6vw, 88px) 0; }
.hero h1 {
  max-width: 15em;
  margin-left: -.04em; /* the C's side bearing: aligns the headline's ink with the text below */
  font-size: clamp(40px, 5.3vw, 76px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 640px) auto;
  justify-content: space-between;
  align-items: last baseline;
  gap: 24px 48px;
  margin-top: clamp(24px, 2.6vw, 36px);
}
.hero .lead { font-size: 19px; }
.hero .lead strong { font-weight: 600; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule-2); }
.btn-ghost:hover { background: var(--surface); box-shadow: inset 0 0 0 1px var(--slate); }
.btn-ghost svg { display: inline-block; margin-left: 10px; vertical-align: -2px; transition: transform .25s var(--ease); } /* inside the label's line, so the button keeps a text baseline */
.btn-ghost:hover svg { transform: translateX(3px); }

@media (max-width: 900px) {
  .hero-row { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero .lead { max-width: 36em; font-size: 18px; }
}
@media (max-width: 480px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

/* Icons, shared by How it works and Why it helps */

.i { flex: none; }
.i-folder { width: 18px; height: 14px; }
.i-doc { width: 13px; height: 16px; color: var(--docx); }
.t-docx { color: var(--docx); }
.i-chev { width: 11px; height: 11px; color: var(--faint); }
.i-link { width: 13px; height: 13px; }
.i-book { width: 14px; height: 14px; color: var(--slate); }

/* How it works: three moments, all inside SharePoint.
   1. The PMO sets up a methodology in Vedetta, a labelled part of its SharePoint page. 2. A project lead starts a project on that page.
   3. The project's own SharePoint site, whose folders mirror the methodology row for row.
   At rest, and with reduced motion, everything shows; while playing, the step in progress is lit and the others dim.
   Window type: 11.5px meta, 12.5px rows, 13.5px site names, 14px titles. Spacing: 4, 8, 12, 16, 24 and 32px. */

.stage {
  --bleed: clamp(0px, calc(var(--gutter) - 14px), 30px);
  --pad: max(var(--bleed), 18px);
  --gap: clamp(32px, 4.2vw, 56px);
  margin: clamp(40px, 5vw, 64px) calc(-1 * var(--bleed)) 0;
  padding: 0 var(--pad) clamp(28px, 3vw, 40px);
  border-radius: 28px;
  background: radial-gradient(130% 100% at 50% 0%, #1A2C33 0%, var(--night) 62%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
  color: var(--night-text);
}
.stage-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.stage-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.stage-title h2 { font: 600 17px/1.3 var(--sans); letter-spacing: -.01em; }
.stage-title span { font-size: 13px; color: var(--night-muted); }
.replay {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none;
  height: 40px; padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px;
  background: none; color: var(--night-text);
  font: 500 14px/1 var(--sans); cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.replay:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .28); }
.replay svg { width: 15px; height: 15px; }

/* Three equal columns. Text and windows sit on two shared rows (subgrid), so every title, description and window lines up. */
.moments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto;
  column-gap: var(--gap);
  row-gap: 24px;
  margin: 32px 0 0; padding: 0; list-style: none;
}
.step { display: grid; grid-row: 1 / span 2; grid-template-rows: subgrid; min-width: 0; transition: opacity .45s var(--ease); }
.step:nth-child(1) { grid-column: 1; }
.step:nth-child(2) { grid-column: 2; }
.step:nth-child(3) { grid-column: 3; }
/* An arrow in the middle of each gap, level with the windows' centres. */
.moments::before, .moments::after {
  content: ''; grid-row: 2; justify-self: end; align-self: center; z-index: 1;
  width: 30px; height: 30px; margin-right: calc(var(--gap) / -2 - 15px);
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%;
  background: var(--night) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' fill='none' stroke='%2393A1A6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.moments::before { grid-column: 1; }
.moments::after { grid-column: 2; }
.stage.is-playing .step:not(.is-on) { opacity: .4; }

.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%; background: var(--brass); color: var(--night);
  font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums;
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.stage.is-playing .step:not(.is-on) .step-num { background: transparent; color: var(--night-text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.step h3 { margin-top: 16px; font: 600 19px/1.3 var(--sans); letter-spacing: -.015em; }
.step-text p { margin-top: 8px; max-width: 46ch; font-size: 15px; line-height: 1.55; color: var(--night-muted); }

/* A SharePoint window: suite bar, site header, then the page. */
.win {
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  container: win / inline-size;
  border-radius: 14px; background: var(--surface); color: var(--ink);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 2px 6px rgba(0, 0, 0, .25), 0 32px 64px -32px rgba(0, 0, 0, .7);
  font-size: 12.5px; line-height: 1.4;
  transition: box-shadow .4s var(--ease);
}
.stage.is-playing .step.is-on .win { box-shadow: 0 0 0 1px rgba(201, 154, 69, .7), 0 2px 6px rgba(0, 0, 0, .25), 0 32px 64px -32px rgba(0, 0, 0, .7); }
.win-bar { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 14px; background: #1F3036; color: #E6EAE7; font-size: 12px; font-weight: 600; }
.waffle { width: 12px; height: 12px; background: radial-gradient(circle, #E6EAE7 1.1px, transparent 1.4px) 0 0 / 4px 4px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-left: auto; border-radius: 50%; background: #C9D3D0; color: var(--ink-2); font-size: 9.5px; font-weight: 600; }
.win-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--rule); }
.win-head b { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: -.005em; }
.win-head small { display: block; font-size: 11.5px; color: var(--slate); }
.win-logo { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; border-radius: 8px; background: var(--site); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.win-logo.is-pmo { background: #4C5B85; }
.win-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 16px; }

/* Vedetta, drawn as one labelled part of the SharePoint page */
.webpart { position: relative; flex: 1; padding: 20px 16px 16px; border: 1px solid rgba(185, 138, 54, .45); border-radius: 10px; background: linear-gradient(180deg, #FFFBF3, #FFFFFF 56px); }
.wp-tag { position: absolute; top: -10px; left: 12px; display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 8px 0 6px; border-radius: 6px; background: var(--brass-wash); color: var(--ink); font-size: 11px; font-weight: 600; }
.wp-tag svg { width: 11px; height: 11px; }
.wp-title { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.wp-meta { margin-top: 2px; font-size: 11.5px; color: var(--slate); }

/* 1. The methodology: stages, deliverables and their templates, in the order the project site will have them. */
.m-rows { margin: 12px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.m-rows li { display: flex; align-items: center; gap: 8px; height: 30px; border-bottom: 1px solid var(--rule); white-space: nowrap; transition: opacity .3s var(--ease), transform .35s var(--ease); }
.m-stage { font-weight: 600; }
.m-stage em { width: 18px; font-style: normal; font-weight: 600; color: var(--brass-ink); font-variant-numeric: tabular-nums; }
.m-stage small, .m-del .file { margin-left: auto; }
.m-stage small { font-size: 11.5px; font-weight: 400; color: var(--slate); }
.m-del { padding-left: 26px; color: var(--ink-2); }
.file { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px 0 5px; border: 1px solid var(--rule); border-radius: 6px; background: var(--surface-2); font-size: 11.5px; color: var(--ink-2); }
.file .i-doc { width: 10px; height: 12px; }
.m-foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 11.5px; color: var(--slate); transition: opacity .3s var(--ease); }

/* 2. Start a project */
.wp-field { margin-top: 12px; }
.wp-field > span { display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 600; }
.wp-input { display: flex; align-items: center; justify-content: space-between; height: 32px; padding: 0 10px; border: 1px solid var(--rule-2); border-radius: 6px; background: #fff; font-size: 12.5px; }
.caret { display: inline-block; width: 1px; height: 15px; margin-left: 1px; vertical-align: -3px; background: var(--ink); opacity: 0; }
.wp-name.is-typing { box-shadow: 0 0 0 2px rgba(47, 91, 102, .18); border-color: var(--site); }
.wp-name.is-typing .caret { opacity: 1; animation: caret .9s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.wp-create { display: inline-flex; align-items: center; gap: 6px; height: 32px; margin-top: 16px; padding: 0 14px; border-radius: 6px; background: var(--site); color: #fff; font-size: 12.5px; font-weight: 600; transition: transform .12s, background-color .2s; }
.wp-create svg { width: 13px; height: 13px; }
.wp-create.is-pressed { transform: scale(.95); background: #22444C; }
.cursor { position: absolute; left: 80%; top: 92%; width: 16px; height: 20px; opacity: 0; pointer-events: none; transition: left .55s var(--ease), top .55s var(--ease), opacity .3s; }
.cursor.is-on { opacity: 1; }

/* 3. The new project site: its navigation, and Project documents mirroring the methodology. */
.win-nav { display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 16px; border-bottom: 1px solid var(--rule); font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.win-nav span { display: inline-flex; align-items: center; gap: 4px; height: 100%; border-bottom: 2px solid transparent; }
.win-nav .is-current { border-bottom-color: var(--site); font-weight: 600; color: var(--ink); }
.win-nav .guide-link { margin-left: auto; padding: 0 8px; height: 24px; border: 0; border-radius: 6px; color: var(--brass-ink); font-weight: 600; transition: background-color .4s; }
.win-nav .guide-link.is-new { background: var(--brass-wash); }
.tree { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.tree li { display: flex; align-items: center; gap: 6px; height: 30px; padding-right: 6px; border-bottom: 1px solid var(--rule); white-space: nowrap; transition: opacity .3s var(--ease), transform .35s var(--ease), background-color .6s; }
.tree .i-chev { width: 10px; height: 10px; transform: rotate(-90deg); }
.tree .is-open .i-chev { transform: none; }
.tree .i-folder { width: 16px; height: 13px; }
.tree .i-doc { width: 11px; height: 14px; }
.tree .t1 { font-weight: 600; }
.tree .t2 { padding-left: 18px; }
.tree .t3 { padding-left: 52px; color: var(--ink-2); }
.tree li.is-new { background: var(--brass-wash); }
.creating { position: absolute; inset: 45% 0 auto; text-align: center; font-size: 12px; color: var(--slate); opacity: 0; transition: opacity .3s; }
.creating.is-on { opacity: 1; }

/* The windows adapt to their own width: a narrow window drops the site menu's Home link,
   and the narrowest show each template as its Word icon beside the deliverable's name. */
@container win (max-width: 359px) {
  .win-nav span:first-child { display: none; }
}
@container win (max-width: 320px) {
  .file { padding: 0 4px; }
  .file-name { display: none; }
  .win-nav { gap: 12px; padding: 0 12px; }
  .win-nav .guide-link { padding: 0 6px; }
}
@container win (max-width: 280px) {
  .win-nav { font-size: 11px; }
  .win-nav .guide-link .i-link { display: none; }
}

/* While playing, parts not yet made are hidden. */
.m-rows li.is-out, .m-foot.is-out, .tree li.is-out { opacity: 0; transform: translateY(4px); }

.stage-try { margin-top: 20px; text-align: center; font-size: 14.5px; color: var(--slate); }
.stage-try a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

/* Tablets: each moment becomes a row, its text beside its window; the arrows run down the windows' centre line.
   Phones: text above window, full width, the arrow centred between them. */
@media (max-width: 1059px) {
  .moments { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 0; }
  .moments::before, .moments::after { content: none; }
  .step, .step:nth-child(n) { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); grid-template-rows: none; grid-row: auto; grid-column: 1; align-items: center; gap: 24px var(--gap); }
  .step + .step { margin-top: 72px; }
  .step:not(:last-child)::after {
    content: ''; position: absolute; left: calc(100% - (100% - var(--gap)) * 5 / 18 - 15px); bottom: -51px;
    width: 30px; height: 30px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%;
    background: var(--night) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M4 9l4 4 4-4' fill='none' stroke='%2393A1A6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  }
}
@media (max-width: 699px) {
  .step, .step:nth-child(n) { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
  .step:not(:last-child)::after { left: calc(50% - 15px); }
  .step-text p { max-width: 52ch; }
  .win-project .win-body { min-height: 0; }
}
@media (max-width: 560px) {
  .stage { border-radius: 20px; }
  .stage-bar { min-height: 72px; }
  .replay span { display: none; }
  .replay { width: 40px; padding: 0; }
}

/* Sections */

.section { padding-block: clamp(80px, 9vw, 128px); }

.sec-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px; row-gap: 22px;
  align-items: end;
}
.sec-head .label { grid-column: 1 / -1; }
.sec-head h2 { grid-column: 1 / span 7; }
.sec-head .sec-intro { grid-column: 8 / -1; }

@media (max-width: 1000px) {
  .sec-head h2, .sec-head .sec-intro { grid-column: 1 / -1; max-width: 680px; }
}

/* Why it helps */

.compare {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: clamp(40px, 4.5vw, 60px);
  border-top: 1px solid var(--rule-2);
}
.compare-col { min-width: 0; padding-top: 30px; }
.compare-col.is-today { padding-right: clamp(20px, 3vw, 44px); border-right: 1px solid var(--rule-2); }
.compare-col.is-vedetta { padding-left: clamp(20px, 3vw, 44px); }
.compare-head { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 26px; }
.compare-head h3 { margin-top: 6px; font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: -.022em; }
.compare-head p { max-width: 46ch; font-size: 15px; color: var(--slate); }
.tag {
  padding: 6px 9px;
  border-radius: 6px;
  font: 600 11.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
}
.is-today .tag { background: #E3E6E1; color: var(--slate); }
.is-vedetta .tag { background: var(--brass-wash); color: var(--brass-ink); }

.minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.mini {
  min-width: 0;
  padding: 10px 10px 12px;
  background: var(--surface);
  border: 1px solid rgba(14, 26, 32, .06);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.is-today .mini:nth-child(1) { transform: rotate(-1.4deg) translateY(4px); }
.is-today .mini:nth-child(2) { transform: rotate(1deg) translateY(16px); }
.is-today .mini:nth-child(3) { transform: rotate(-.5deg) translateY(-2px); }
.mini header { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
.mini-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.mini ul { list-style: none; margin: 0; padding: 0; }
.mini li {
  display: flex; align-items: flex-start; gap: 6px;
  min-width: 0; padding-block: 3px;
  padding-left: calc(var(--d, 0) * 12px);
  font-size: 12px; line-height: 16px; color: var(--ink-2);
}
.mini li span { min-width: 0; overflow-wrap: anywhere; }
.mini li .i { margin-top: 2px; }
.mini .i-folder { width: 15px; height: 12px; }
.mini .i-doc { width: 11px; height: 14px; }
.mini-note {
  display: flex; align-items: center; gap: 7px;
  margin-top: 8px; padding-top: 8px;
  border-top: 1px dashed var(--rule-2);
  font-size: 11.5px; line-height: 1.3; color: var(--brass-ink);
}
.is-today .mini-note::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }
.is-vedetta .mini-note { color: var(--slate); }
.is-vedetta .minis { align-items: stretch; }

@media (max-width: 1100px) {
  .compare { grid-template-columns: minmax(0, 1fr); }
  .compare-col.is-today { padding-right: 0; padding-bottom: 44px; border-right: 0; border-bottom: 1px solid var(--rule-2); }
  .compare-col.is-vedetta { padding-left: 0; }
  .minis { max-width: 760px; }
}

@media (max-width: 560px) {
  .minis {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: -16px;
    padding: 6px 16px 22px;
    scrollbar-width: none;
  }
  .minis::-webkit-scrollbar { display: none; }
  .mini { scroll-snap-align: center; }
}

.gains {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 40px;
  margin-top: clamp(56px, 6vw, 88px);
}
.gains > div { padding-top: 20px; border-top: 1px solid var(--ink); }
.gains h3 { margin-bottom: 12px; font: 600 12.5px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brass-ink); }
.gains p { font-size: 21px; font-weight: 500; line-height: 1.35; letter-spacing: -.02em; color: var(--ink); }

@media (max-width: 860px) {
  .gains { grid-template-columns: minmax(0, 1fr); }
  .gains p { max-width: 30ch; }
}

/* What to expect */

.expect { background: var(--surface); border-block: 1px solid var(--rule); }
.expect-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.expect-head { grid-column: 1 / span 4; align-self: start; position: sticky; top: 112px; display: grid; gap: 18px; }
.qa { grid-column: 6 / -1; }
.qa > div { padding: 26px 0 28px; border-top: 1px solid var(--rule); }
.qa > div:last-child { border-bottom: 1px solid var(--rule); }
.qa dt { font-size: 19px; font-weight: 600; line-height: 1.35; letter-spacing: -.015em; }
.qa dd { max-width: 60ch; margin-top: 8px; font-size: 16.5px; color: var(--ink-2); }
.qa dd strong { font-weight: 600; color: var(--ink); }

@media (max-width: 960px) {
  .expect-head, .qa { grid-column: 1 / -1; }
  .expect-head { position: static; margin-bottom: 40px; max-width: 640px; }
}

/* Contact and footer */

.contact { background: var(--night); color: var(--night-text); }
.contact-inner {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px; row-gap: 30px;
  align-items: end;
  padding-block: clamp(80px, 9vw, 128px) clamp(64px, 7vw, 104px);
}
.contact h2 { grid-column: 1 / span 7; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.042em; }
.contact-aside { grid-column: 8 / -1; padding-bottom: 8px; }
.contact-aside p { margin-bottom: 28px; font-size: 18px; line-height: 1.55; color: var(--night-muted); }

@media (max-width: 960px) {
  .contact h2, .contact-aside { grid-column: 1 / -1; }
  .contact-aside { max-width: 560px; }
}

.site-footer { background: var(--night); color: var(--night-muted); font-size: 14px; }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 14px 36px;
  padding-block: 30px 40px;
  border-top: 1px solid rgba(238, 240, 235, .12);
}
.site-footer .brand { color: var(--night-text); font-size: 18px; }
.site-footer .brand svg { width: 22px; height: 22px; }
.footer-small { margin-left: auto; font-size: 12.5px; opacity: .8; }

@media (max-width: 760px) { .footer-small { margin-left: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
