/* Whiteboard theme in the resume's palette: charcoal #222 marker, grey #595959, white boards, resume link-blue #4f81bd as the one accent. Font: Carlito (metric-compatible with the resume's Calibri). Caveat is the "marker handwriting" for small annotations only. */
:root {
  --wall: #e8e8e8;
  --board: #ffffff;
  --soft: #f2f2f2;
  --soft-2: #e9e9e9;
  --ink: #222222;
  --ink-2: #404040;
  --muted: #595959;
  --line: #d0d0d0;
  --line-2: #e3e3e3;
  --panel: #222222;
  --panel-2: #333333;
  --panel-line: #4a4a4a;
  --on-panel: #ffffff;
  --on-panel-muted: #c6c6c6;
  --blue: #4f81bd;
  --blue-ink: #2f5f98;
  --blue-light: #93bbeb;
  --blue-soft: #e9f0f9;
  --font: "Carlito", Calibri, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-marker: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --radius: 12px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --nav-h: 64px;
  --dots: radial-gradient(circle, #dedede 1px, transparent 1.3px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-anchor: none; /* the receipts fold back on their own; main.js corrects the scroll position itself */ }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.55; color: var(--ink); background: var(--wall); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 7.2vw, 5rem); font-weight: 700; line-height: .98; letter-spacing: -.015em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--blue); color: #fff; padding: 8px 12px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 880px; }
section, footer { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* Boards: each section is a whiteboard with a frame and a marker tray */
.board { position: relative; margin: 26px clamp(10px, 2.4vw, 34px); padding-block: clamp(48px, 7vw, 86px); background: var(--board); background-image: var(--dots); background-size: 26px 26px; border: 1px solid #cfcfcf; border-radius: 10px; box-shadow: inset 0 1px 0 #fff, 0 12px 30px rgba(0, 0, 0, .07); }
.board::after { content: ""; position: absolute; left: 7%; right: 7%; bottom: -10px; height: 10px; background: linear-gradient(#d2d2d2, #b7b7b7); border-radius: 0 0 8px 8px; box-shadow: 0 3px 6px rgba(0, 0, 0, .14); }
.board:first-of-type { margin-top: 18px; }
.band { padding-block: clamp(56px, 8vw, 104px); }
.band--dark { background: var(--panel); color: var(--on-panel); }
.band--dark h2 { color: #fff; }

/* Type helpers */
.eyebrow { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.marker { font-family: var(--font-marker); font-weight: 600; color: var(--blue-ink); }
.marker--eyebrow { font-size: 1.45rem; line-height: 1.2; margin-bottom: 8px; }
.marker--light { color: var(--blue-light); }
.marker--note { font-size: 1.4rem; line-height: 1.25; color: var(--ink-2); margin-top: 18px; }
.marker--note a { color: var(--blue-ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.marker--annot { display: inline-block; font-size: 1.35rem; margin-top: 10px; transform: rotate(-1.2deg); }
.h-mark { display: inline-block; position: relative; padding-bottom: 12px; }
.h-mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 11px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 60 3, 120 10, 180 6 S 260 4, 298 7' fill='none' stroke='%234f81bd' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left bottom / 100% 11px; }
.ring { position: relative; display: inline-block; padding: .04em .16em; }
.ring::before { content: ""; position: absolute; inset: -14% -8%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100' preserveAspectRatio='none'%3E%3Cpath d='M22 52 C 14 16, 186 8, 186 48 C 188 86, 22 94, 14 56 C 10 36, 62 20, 118 15' fill='none' stroke='%2393bbeb' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; pointer-events: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.brand__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--panel); color: #fff; font-weight: 700; font-size: .9rem; letter-spacing: .02em; }
.nav__menu { display: flex; align-items: center; gap: 22px; }
.nav__menu a:not(.btn), .nav__subbtn { text-decoration: none; font-weight: 500; font-size: 1rem; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; background: none; border-top: 0; border-left: 0; border-right: 0; font-family: inherit; cursor: pointer; }
.nav__menu a:not(.btn):hover, .nav__menu a.is-active, .nav__subbtn:hover, .nav__subbtn.is-active { color: var(--ink); border-bottom-color: var(--blue); }
.nav__sub { position: relative; }
.nav__subbtn { display: inline-flex; align-items: center; gap: 7px; }
.nav__caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav__subpanel { position: absolute; top: calc(100% + 2px); left: -10px; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 34px rgba(0, 0, 0, .12); padding: 8px; display: none; z-index: 60; }
.nav__sub:hover .nav__subpanel, .nav__sub:focus-within .nav__subpanel, .nav__sub.is-open .nav__subpanel { display: block; }
.nav__subpanel a { display: grid !important; gap: 1px; padding: 10px 12px !important; border-radius: 8px; border-bottom: 0 !important; }
.nav__subpanel a strong { font-weight: 700; color: var(--ink); }
.nav__subpanel a span { font-size: .88rem; color: var(--muted); }
.nav__subpanel a:hover { background: var(--soft); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; position: relative; }
.nav__bars, .nav__bars::before, .nav__bars::after { content: ""; position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav__bars { top: 21px; }
.nav__bars::before { top: -6px; left: 0; }
.nav__bars::after { top: 6px; left: 0; }
@media (max-width: 920px) {
  .nav__toggle { display: block; }
  .nav__menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; max-height: calc(100vh - var(--nav-h)); overflow: auto; }
  .nav__menu.is-open { display: flex; }
  .nav__menu a:not(.btn), .nav__subbtn { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; width: 100%; }
  .nav__subbtn { pointer-events: none; }
  .nav__caret { display: none; }
  .nav__subpanel { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0; }
  .nav__subpanel a { padding: 10px 0 !important; border-bottom: 1px solid var(--line-2) !important; border-radius: 0; }
  .nav__menu .btn { margin-top: 12px; justify-content: center; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 8px; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: background-color .15s ease, border-color .15s ease, transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--panel); color: #fff; }
.btn--primary:hover { background: var(--panel-2); }
.btn--light { background: var(--blue); color: #fff; }
.btn--light:hover { background: var(--blue-ink); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn--ghost:hover { background: var(--soft); }
.btn--ghost-light { border-color: var(--on-panel-muted); color: var(--on-panel); background: transparent; }
.btn--ghost-light:hover { background: var(--panel-2); }
.btn--link { padding-inline: 4px; text-decoration: underline; text-underline-offset: 3px; color: var(--blue-ink); }
.btn--link-light { color: var(--on-panel); }
.btn--sm { padding: 8px 14px; font-size: .92rem; }

/* Hero */
.hero { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(32px, 4vw, 52px); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 56px); align-items: end; }
.hero__copy { min-width: 0; padding-bottom: 8px; }
.headline { margin-top: 14px; font-weight: 700; font-size: 1.35rem; color: var(--ink-2); line-height: 1.3; }
.lede { margin-top: 16px; font-size: 1.15rem; max-width: 58ch; color: var(--ink-2); }
.ticks { list-style: none; margin-top: 18px; display: grid; gap: 10px; max-width: 60ch; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li strong { display: block; font-size: 1.15rem; line-height: 1.25; }
.ticks__m { display: block; margin-top: 3px; color: var(--ink-2); font-size: 1rem; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .12em; width: 24px; height: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 13 l6 6 L21 5' fill='none' stroke='%234f81bd' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pills li { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px 6px 10px; font-size: .95rem; font-weight: 700; }
.pills li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.hero__photo { position: relative; min-width: 0; align-self: end; }
.hero__backdrop { position: absolute; inset: 16% 5% 0 5%; background: var(--soft); border: 1px solid var(--line-2); border-radius: 30px 30px 10px 10px; }
.hero__photo img { position: relative; display: block; width: 100%; max-width: 520px; margin-inline: auto; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .18)); }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { order: -1; max-width: 400px; margin-inline: auto; }
}

/* Popover */
.popover-wrap { position: relative; }
.popover { position: absolute; top: calc(100% + 8px); left: 0; z-index: 20; width: min(380px, calc(100vw - 2 * var(--gutter))); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .16); padding: 16px; }
.popover__title { font-weight: 700; margin-bottom: 4px; }
.popover a { display: block; margin-top: 8px; padding: 10px 12px; border-radius: 8px; background: var(--soft); font-weight: 700; text-decoration: none; }
.popover a:hover { background: var(--soft-2); }
.popover__note { font-size: .88rem; color: var(--muted); margin-top: 10px; }

/* Overview cards (What I've been up to in 2026) */
.overview__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
.ocard { position: relative; display: flex; flex-direction: column; background: var(--panel); color: var(--on-panel); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, border-color .15s ease; }
.ocard:hover, .ocard.is-active { transform: translateY(-2px); border-color: var(--blue-light); }
.ocard__head { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; }
.ocard__logo { width: 40px; height: 40px; border-radius: 8px; object-fit: contain; background: #fff; padding: 3px; }
.ocard__logo--wide { width: 96px; height: 36px; padding: 4px 6px; }
.ocard__logo--plain { background: #fff; padding: 5px 8px; width: 110px; height: auto; }
.ocard__company { font-weight: 700; font-size: 1.55rem; line-height: 1.1; color: #fff; }
.ocard__role { display: inline-block; margin-top: 7px; background: #fff; color: var(--ink); font-weight: 700; font-size: .92rem; padding: 3px 10px; border-radius: 4px; }
.ocard__dates { font-size: .88rem; font-weight: 700; color: var(--on-panel-muted); white-space: nowrap; }
.ocard__tag { margin-top: 14px; font-size: .95rem; color: var(--on-panel-muted); }
.ocard__claim { margin-top: 12px; font-weight: 700; font-size: 1.22rem; line-height: 1.25; color: var(--blue-light); }
.ocard__big { margin-top: 20px; }
.ocard__big .num { font-size: clamp(3rem, 6.5vw, 4.4rem); font-weight: 700; color: #fff; line-height: 1; letter-spacing: -.02em; }
.ocard__label { margin-top: 10px; max-width: 42ch; }
.ocard__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ocard__facts li { font-size: .86rem; font-weight: 700; border: 1px solid var(--panel-line); border-radius: 6px; padding: 4px 9px; color: var(--on-panel); }
.ocard__cta { margin-top: auto; padding-top: 20px; font-weight: 700; color: var(--blue-light); }
.ocard--mini { grid-column: 1 / -1; background: #fff; color: var(--ink); border: 1px solid var(--line); padding: clamp(18px, 2.4vw, 24px); }
.ocard--mini::before { content: "Side hustle"; position: absolute; top: -12px; left: 22px; font-family: var(--font-marker); font-weight: 600; font-size: 1.25rem; color: var(--blue-ink); background: #fff; padding: 0 8px; }
.ocard--mini:hover { border-color: var(--blue); }
.ocard--mini .ocard__company { color: var(--ink); font-size: 1.3rem; }
.ocard--mini .ocard__role { background: var(--panel); color: #fff; }
.ocard--mini .ocard__dates { color: var(--muted); }
.ocard--mini .ocard__text { margin-top: 12px; font-size: 1rem; color: var(--ink-2); max-width: 90ch; }
.ocard__k { margin-top: 14px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ocard--mini .ocard__cta { color: var(--blue-ink); padding-top: 16px; }
@media (max-width: 820px) {
  .overview__cards { grid-template-columns: 1fr; }
  .ocard__head { grid-template-columns: auto 1fr; }
  .ocard__dates { grid-column: 2; }
}
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .92rem; background: #fff; }
.chips--sm li { font-size: .82rem; padding: 3px 9px; background: var(--soft); border-color: var(--line-2); }

/* Quote (William Ray) */
.quote { margin: 26px clamp(10px, 2.4vw, 34px); padding-block: clamp(56px, 8vw, 104px); background: var(--soft); border: 1px solid var(--line-2); border-radius: 10px; color: var(--ink); }
.quote__text { margin: 10px 0 0; font-weight: 700; font-size: clamp(1.55rem, 3.8vw, 2.9rem); line-height: 1.2; letter-spacing: -.01em; max-width: 1040px; }
.quote__text .word { display: inline-block; }
.quote__who { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 36px; }
.quote__who > img:first-child { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.quote__name { font-weight: 700; }
.quote__title { font-size: .95rem; color: var(--muted); }
.quote__divider { width: 1px; height: 44px; background: var(--ink); opacity: .25; }
.quote__logo { height: 24px; width: auto; }

/* Career highlights: two hand-drawn frames */
.hl { display: grid; gap: 34px; margin-top: 34px; }
.hl-group { position: relative; padding: 30px 22px 22px; border: 2.5px solid var(--ink); border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; background: rgba(255, 255, 255, .8); }
.hl-group--closer { border-color: var(--blue); }
.hl-group__label { position: absolute; top: -20px; left: 24px; background: #fff; padding: 0 10px; font-size: 1.6rem; line-height: 1.1; color: var(--ink); }
.hl-group--closer .hl-group__label { color: var(--blue-ink); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tiles--two { grid-template-columns: repeat(2, 1fr); }
.tiles--three { grid-template-columns: repeat(3, 1fr); }
.tile { position: relative; display: grid; gap: 10px; align-content: start; background: var(--soft); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px 22px 20px; color: var(--ink); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.tile::before { content: ""; position: absolute; top: 10px; right: 10px; width: 11px; height: 11px; border-radius: 50%; background: var(--panel); box-shadow: inset 0 0 0 2px #5a5a5a; }
.tile:hover { border-color: var(--blue); transform: translateY(-2px); }
.tile__num { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; color: var(--blue-ink); line-height: 1; letter-spacing: -.02em; }
.tile__small { font-size: .45em; font-weight: 700; letter-spacing: 0; }
.tile__slash { color: var(--muted); font-weight: 400; }
.tile__text { font-size: .98rem; color: var(--ink-2); }
.tile__meta { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 4px; }
@media (max-width: 1000px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1000px) { .tiles--three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiles, .tiles--two, .tiles--three { grid-template-columns: 1fr; } }

/* Role sections */
.role__head { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; margin-top: 8px; }
.role__logo { width: 56px; height: 56px; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--line-2); padding: 4px; }
.role__logo--wide { width: 120px; height: auto; margin-top: 8px; border-radius: 0; border: 0; padding: 0; background: transparent; }
.role__logo--boxed { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; }
.role__company { font-size: clamp(1.9rem, 3.8vw, 2.6rem); }
.role__title { display: inline-block; margin-top: 10px; background: var(--panel); color: #fff; font-weight: 700; font-size: 1.05rem; padding: 4px 12px; border-radius: 4px; }
.role__sub { color: var(--muted); font-size: 1.05rem; margin-top: 8px; }
.role__why { margin-top: 10px; font-size: .98rem; color: var(--ink-2); max-width: 80ch; border-left: 3px solid var(--line); padding-left: 12px; }
.role__why strong { color: var(--ink); }
.role__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 48px); margin-top: 28px; align-items: start; }
.role__main, .role__aside { min-width: 0; }
.role__main h3 { margin-top: 32px; }
.scope { font-size: 1.12rem; color: var(--ink-2); border-left: 3px solid var(--blue); padding-left: 16px; }
.bullets { list-style: none; margin-top: 14px; }
.bullets li { position: relative; padding-left: 22px; margin: 10px 0; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.bullets--tight li { margin: 6px 0; }
.steps { list-style: none; counter-reset: step; margin-top: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr; gap: 14px; margin: 14px 0; align-items: start; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--panel); color: #fff; font-weight: 700; }
.note { position: relative; background: var(--soft); border: 1px solid var(--line-2); border-radius: 10px; padding: 20px; }
.note--pinned::before { content: ""; position: absolute; top: -9px; left: 50%; width: 46px; height: 15px; margin-left: -23px; background: rgba(79, 129, 189, .32); transform: rotate(-2deg); border-radius: 2px; }
.note__title { font-weight: 700; margin-bottom: 6px; }
.cta-stack { display: grid; gap: 10px; margin-top: 18px; }
.cta-stack .btn { justify-content: center; }
.cta-stack__note { font-size: .88rem; color: var(--muted); }
.callout { background: var(--panel); color: var(--on-panel); border-radius: var(--radius); padding: 24px; }
.callout__num { font-size: 3.4rem; font-weight: 700; color: var(--blue-light); line-height: 1; letter-spacing: -.02em; }
.callout__text { margin-top: 10px; }
.feature-img { margin: 28px 0 0; }
.feature-img img { display: block; width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.feature-img figcaption, .receipt figcaption { font-size: .92rem; color: var(--muted); margin-top: 10px; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 22px; }
.cols-2 .bullets { margin-top: 6px; }
@media (max-width: 800px) { .cols-2 { grid-template-columns: 1fr; } }

/* Receipts and the show-more block */
.receipts { margin-top: 48px; }
.receipts__title { margin: 0; }
.receipts__intro { color: var(--muted); margin-top: 6px; }
.receipts__grid { columns: 3; column-gap: 18px; margin-top: 18px; }
.receipts__grid > .receipt { break-inside: avoid; margin-bottom: 18px; }
.receipts__grid--two { columns: 2; }
.receipts__more .receipts__grid { margin-top: 0; }
.receipts__grid--tight { margin-top: 24px; }
.receipts__more { margin-top: 0; }
.receipts__more:not([hidden]) { animation: unfold .35s ease; }
@keyframes unfold { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.receipts__toggle { margin-top: 20px; }
.receipt { margin: 0; min-width: 0; }
.receipt__btn { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; cursor: zoom-in; }
.receipt__btn img { display: block; width: 100%; height: auto; }
.receipt--inline { max-width: 560px; margin-top: 14px; }
.receipt--wide { max-width: 1000px; margin-top: 26px; }
@media (max-width: 900px) { .role__grid { grid-template-columns: 1fr; } }
@media (max-width: 1000px) { .receipts__grid { columns: 2; } }
@media (max-width: 700px) { .receipts__grid, .receipts__grid--two { columns: 1; } }

/* Why ANZ */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.why__col { min-width: 0; }
.why__col h3 { font-size: 1.2rem; }
.why__col p { margin-top: 10px; color: var(--ink-2); }
.why__col .bullets { margin-top: 8px; }
.why .note--pinned:nth-child(2) { transform: rotate(.4deg); }
.why .note--pinned:nth-child(3) { transform: rotate(-.4deg); }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } .why .note--pinned { transform: none; } }
.proof { margin-top: 44px; padding-top: 30px; border-top: 2px dashed var(--line); }
.proof__title { font-size: 1.35rem; max-width: 34ch; }
.proof__intro { margin-top: 8px; color: var(--ink-2); max-width: 70ch; }
.proof__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0 0; }
.proof__grid div { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.proof__grid dt { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--blue-ink); }
.proof__grid dd { margin: 6px 0 0; color: var(--ink-2); }
@media (max-width: 860px) { .proof__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .proof__grid { grid-template-columns: 1fr; } }

/* Origin story timeline */
.origin__intro { margin-top: 14px; font-size: 1.12rem; color: var(--ink-2); max-width: 70ch; }
.timeline { margin-top: 28px; }
.tl { display: grid; grid-template-columns: 210px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.tl:last-child { border-bottom: 1px solid var(--line); }
.tl__when { font-size: .95rem; color: var(--muted); padding-top: 4px; }
.tl__year { display: block; font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.tl__body { min-width: 0; }
.tl__body p + p { margin-top: 10px; }
.tl__logo { display: block; height: 26px; width: auto; margin-bottom: 10px; }
.tl__logo--armani { height: 14px; }
.tl__logo--hypermax { height: 32px; }
.tl__role { display: inline-block; font-weight: 400; color: var(--muted); font-size: 1rem; margin-left: 8px; }
.tl h3 { margin-bottom: 8px; }
.tl--pivot .tl__body { background: var(--blue-soft); border-left: 4px solid var(--blue); padding: 18px 20px; border-radius: 8px; }
.tl--pivot .tl__year { color: var(--blue-ink); }
.tl--next .tl__body p { color: var(--ink-2); }
@media (max-width: 700px) { .tl { grid-template-columns: 1fr; gap: 8px; } }
.strip { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 14px; }
.strip a { display: grid; gap: 2px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; min-width: 0; transition: border-color .15s ease; }
.strip a:hover { border-color: var(--blue); }
.strip strong { font-weight: 700; }
.strip span { font-size: .88rem; color: var(--muted); }
.strip em { font-style: normal; font-size: .88rem; color: var(--blue-ink); font-weight: 700; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 44px; padding-top: 32px; border-top: 2px dashed var(--line); }
.facts h3 { margin-bottom: 12px; }
.plain { list-style: none; }
.plain li { margin: 6px 0; }
.facts__note { color: var(--muted); margin-top: 14px; }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr; } }

/* Carousel (dark band) */
.carousel { margin-top: 28px; }
.carousel__viewport { overflow: hidden; touch-action: pan-y; transition: height .4s ease; }
.carousel__track { list-style: none; display: flex; align-items: flex-start; transition: transform .7s ease; }
.slide { flex: 0 0 100%; min-width: 0; padding: 4px 2px; }
.slide blockquote { margin: 0; font-weight: 400; font-size: clamp(1.2rem, 2.3vw, 1.7rem); line-height: 1.35; max-width: 900px; }
.slide__who { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; }
.slide__who > img:first-child { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.slide__name { font-weight: 700; }
.slide__title { font-size: .92rem; color: var(--on-panel-muted); }
.slide__logo { height: 28px; width: auto; margin-left: 6px; padding-left: 18px; border-left: 1px solid var(--panel-line); }
.slide__logo--invert { filter: brightness(0) invert(1); }
.slide__logo--light { background: #fff; padding: 4px 6px; border-radius: 6px; border-left: 0; margin-left: 12px; }
.carousel__controls { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.carousel__arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--panel-line); background: transparent; color: var(--on-panel); font-size: 1.1rem; cursor: pointer; }
.carousel__arrow:hover { background: var(--panel-2); }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dots button { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; transition: width .2s ease; }
.carousel__dots button::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 10px; height: 10px; border-radius: 999px; background: var(--panel-line); transition: width .2s ease, background-color .2s ease; }
.carousel__dots button[aria-selected="true"] { width: 40px; }
.carousel__dots button[aria-selected="true"]::before { width: 26px; background: var(--blue-light); }

/* FAQ */
.faq { margin-top: 24px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 1.12rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; font-size: 1.6rem; line-height: 1; color: var(--blue-ink); }
.faq details[open] summary::after { content: "\2212"; }
.faq__a { padding: 0 0 20px; max-width: 70ch; color: var(--ink-2); }
.faq__a p + p, .faq__a .faq__list + p { margin-top: 12px; }
.faq__list { margin-top: 10px; }

/* Footer */
.footer { background: var(--panel); color: var(--on-panel); padding-block: 64px 28px; margin-top: 26px; }
.footer h2 { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.footer__lede { margin-top: 12px; color: var(--on-panel-muted); max-width: 52ch; }
.contact { list-style: none; margin-top: 20px; }
.contact li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--panel-line); align-items: baseline; }
.contact__k { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--on-panel-muted); }
.contact__v { min-width: 0; overflow-wrap: anywhere; }
.contact a { color: var(--on-panel); }
.copy { margin-left: 8px; padding: 2px 8px; border: 1px solid var(--panel-line); border-radius: 6px; background: transparent; color: var(--on-panel-muted); font: inherit; font-size: .8rem; cursor: pointer; }
.footer__actions { display: grid; gap: 12px; align-content: start; }
.footer__actions .btn { justify-content: center; }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--panel-line); font-size: .88rem; color: var(--on-panel-muted); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .contact li { grid-template-columns: 1fr; gap: 2px; } }

/* Lightbox */
.lightbox { border: 0; background: transparent; padding: 0; max-width: min(1100px, 94vw); max-height: 94vh; }
.lightbox::backdrop { background: rgba(20, 20, 20, .9); }
.lightbox figure { margin: 0; }
.lightbox img { display: block; max-width: 100%; max-height: 78vh; width: auto; margin-inline: auto; border-radius: 10px; background: #fff; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 12px; font-size: 1rem; }
.lightbox__close { position: fixed; top: 14px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; }

/* Reveal (transform only; content is visible at rest) */
.reveal { transform: translateY(14px); transition: transform .6s ease; }
.reveal.is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; transition: none; }
  .carousel__track { transition: none; }
  .btn, .ocard, .tile { transition: none; }
  .receipts__more:not([hidden]) { animation: none; }
}

@media print {
  body { background: #fff; }
  .nav, .actions, .popover, .carousel__controls, .cta-stack, .footer__actions, .skip, .lightbox, .receipts__toggle { display: none !important; }
  .board { margin: 0 0 18px; box-shadow: none; background-image: none; border-color: #999; }
  .board::after { display: none; }
  .band--dark, .footer, .ocard, .callout { background: #fff !important; color: #000 !important; border: 1px solid #999; }
  .band--dark h2, .footer h2, .ocard__company, .ocard__big .num, .callout__num { color: #000 !important; }
  .ocard__role { background: #000 !important; color: #fff !important; }
  .receipts__more[hidden] { display: block !important; }
  .slide { display: block; padding: 12px 0; }
  .carousel__track { display: block; transform: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
