/* Agency Shortlist. Liquid glass surface language, translated to the web:
   translucent panels that blur and pick up the colour behind them, a bright
   top edge, soft depth, capsule controls. Glass is kept for navigation,
   cards and controls. Running text sits straight on the page. */

:root {
  --ink: #111822;
  --ink-2: #414c5a;
  --hot: #dd4a22;
  --page: #edf1f6;
  --blob-a: rgba(255, 138, 92, .55);
  --blob-b: rgba(255, 209, 102, .55);
  --blob-c: rgba(110, 205, 228, .50);
  --blob-d: rgba(126, 224, 184, .45);
  --glass: rgba(255, 255, 255, .46);
  --glass-strong: rgba(255, 255, 255, .66);
  --glass-edge: rgba(255, 255, 255, .78);
  --glass-shade: rgba(17, 24, 34, .10);
  --hair: rgba(17, 24, 34, .11);
  --tint-sun: rgba(255, 205, 96, .42);
  --tint-ink: rgba(17, 24, 34, .80);
  --on-ink: #f3f6fa;
  --blur: blur(26px) saturate(185%);
  --r-lg: 30px;
  --r-md: 22px;
  --display: "Gloock", "Georgia", serif;
  --body: "Hanken Grotesk", "Segoe UI", sans-serif;
  --mono: "DM Mono", "Consolas", monospace;
  --max: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef2f7;
    --ink-2: #b4bfcc;
    --hot: #ff8558;
    --page: #0c1118;
    --blob-a: rgba(221, 74, 34, .42);
    --blob-b: rgba(214, 160, 40, .30);
    --blob-c: rgba(36, 132, 168, .42);
    --blob-d: rgba(34, 140, 104, .34);
    --glass: rgba(255, 255, 255, .075);
    --glass-strong: rgba(255, 255, 255, .13);
    --glass-edge: rgba(255, 255, 255, .22);
    --glass-shade: rgba(0, 0, 0, .40);
    --hair: rgba(255, 255, 255, .13);
    --tint-sun: rgba(240, 180, 60, .20);
    --tint-ink: rgba(255, 255, 255, .10);
    --on-ink: #eef2f7;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--page); }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}
/* the colour field the glass sits on */
body::before {
  content: "";
  position: fixed;
  inset: -10vmax;
  z-index: -1;
  background:
    radial-gradient(38vmax 38vmax at 12% 8%, var(--blob-a), transparent 62%),
    radial-gradient(34vmax 34vmax at 88% 14%, var(--blob-c), transparent 62%),
    radial-gradient(40vmax 40vmax at 78% 82%, var(--blob-b), transparent 62%),
    radial-gradient(36vmax 36vmax at 14% 88%, var(--blob-d), transparent 62%),
    var(--page);
  animation: drift 38s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(3vmax, -2vmax, 0) scale(1.06) rotate(4deg); } }

a { color: inherit; text-decoration-color: var(--hot); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--hot); }
:focus-visible { outline: 3px solid var(--hot); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.06; margin: 0; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: normal; color: var(--hot); }
p { margin: 0 0 1em; }
.label { font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 14px; }
.label a { text-decoration: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--page); padding: 10px 16px; z-index: 50; border-radius: 12px; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- the glass material */
.top, .card, .index, .short, .table-wrap, .firm, .faq, .next, .stamp span, .btn, .honest, .foot {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-edge);
  box-shadow:
    inset 0 1px 0 var(--glass-edge),
    inset 0 -1px 0 rgba(255, 255, 255, .10),
    0 14px 44px -12px var(--glass-shade),
    0 2px 6px -2px var(--glass-shade);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .top, .card, .index, .short, .table-wrap, .firm, .faq, .next, .stamp span, .btn, .honest, .foot { background: var(--glass-strong); }
}

/* ---------- header: a floating capsule */
.top { position: sticky; top: 12px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: var(--max); margin: 12px auto 0; padding: 11px 14px 11px 22px; border-radius: 999px; width: calc(100% - 32px); }
.brand { font-family: var(--display); font-size: 22px; text-decoration: none; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.mark { width: 20px; height: 20px; border-radius: 50%; margin-right: 10px; background: radial-gradient(circle at 32% 28%, #fff 0 12%, var(--hot) 46%); box-shadow: 10px 0 0 -1px rgba(255, 205, 96, .9), inset 0 -2px 3px rgba(0, 0, 0, .18); }
.nav { display: flex; gap: 4px; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; padding: 9px 16px; border-radius: 999px; transition: background .25s, transform .25s; }
.nav a:hover { background: var(--glass-strong); color: var(--ink); }
.nav a[aria-current] { background: var(--glass-strong); box-shadow: inset 0 1px 0 var(--glass-edge), 0 2px 8px -3px var(--glass-shade); color: var(--ink); }
.nav-toggle, .burger { display: none; }

/* ---------- motion */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .18s; } .d3 { animation-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .rise, body::before { animation: none; } html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- hero */
.hero { max-width: var(--max); margin: 0 auto; padding: 84px 28px 76px; position: relative; }
.hero h1 { font-size: clamp(46px, 8.2vw, 116px); max-width: 12ch; margin-bottom: 30px; }
.hero h1 em { display: block; }
.lede { font-size: clamp(19px, 1.9vw, 23px); max-width: 56ch; color: var(--ink-2); line-height: 1.5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* buttons: interactive glass, so they react to the pointer */
.btn { display: inline-block; color: var(--ink); font-weight: 700; font-size: 16px; padding: 15px 26px; text-decoration: none; border-radius: 999px; position: relative; overflow: hidden; transition: transform .28s cubic-bezier(.2,.9,.3,1.4), box-shadow .28s, background .28s; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s ease; pointer-events: none; }
.btn:hover { color: var(--ink); transform: scale(1.04); background: var(--glass-strong); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: scale(.97); }
.btn:not(.ghost) { background: linear-gradient(180deg, rgba(240, 100, 60, .92), rgba(214, 66, 28, .92)); color: #fff; border-color: rgba(255, 190, 165, .75); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 14px 32px -10px rgba(221, 74, 34, .6); }
.btn:not(.ghost):hover { color: #fff; background: linear-gradient(180deg, rgba(246, 112, 72, .96), rgba(221, 74, 34, .96)); }
.btn.ghost.light { color: var(--on-ink); background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); margin-top: 8px; }
.btn.ghost.light:hover { background: rgba(255, 255, 255, .22); color: #fff; }

.stamp { position: absolute; right: 28px; top: 104px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.stamp span { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; padding: 10px 18px; border-radius: 999px; }
.stamp span:nth-child(2) { margin-right: 26px; }
.stamp span:nth-child(3) { margin-right: -6px; }

/* ---------- bands */
.band, .wrap { max-width: var(--max); margin: 0 auto; padding: 64px 28px; }
.band-head { max-width: 780px; margin-bottom: 36px; }
.band-head h2 { font-size: clamp(30px, 4vw, 50px); margin-bottom: 16px; }
.band-head p:not(.label) { color: var(--ink-2); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 30px 28px 26px; text-decoration: none; display: flex; flex-direction: column; border-radius: var(--r-lg); transition: transform .3s cubic-bezier(.2,.9,.3,1.3), background .3s; }
.card h3 { font-size: 27px; margin-bottom: 14px; }
.card p:not(.label) { font-size: 16px; color: var(--ink-2); flex: 1; }
.card .go { font-weight: 700; font-size: 15px; color: var(--hot); }
.card:hover { transform: translateY(-5px) scale(1.012); background: var(--glass-strong); color: var(--ink); }

/* ---------- industry index: one sheet of glass, rows inside it */
.index { border-radius: var(--r-lg); padding: 8px; }
.row { display: grid; grid-template-columns: minmax(240px, 1.1fr) 2fr 40px; align-items: baseline; gap: 20px; padding: 20px 22px; text-decoration: none; border-radius: var(--r-md); position: relative; transition: background .25s, transform .25s; }
.row + .row::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 1px; background: var(--hair); }
.row-name { font-family: var(--display); font-size: clamp(25px, 3vw, 37px); line-height: 1.06; }
.row-blurb { color: var(--ink-2); font-size: 16.5px; }
.row-go { font-size: 22px; text-align: right; color: var(--hot); transition: transform .25s; }
.row:hover { background: var(--glass-strong); color: var(--ink); box-shadow: inset 0 1px 0 var(--glass-edge), 0 8px 22px -12px var(--glass-shade); }
.row:hover::before, .row:hover + .row::before { opacity: 0; }
.row:hover .row-go { transform: translateX(6px); }
.note { margin-top: 26px; color: var(--ink-2); }
.doc .row { grid-template-columns: minmax(220px, 1fr) 1.5fr 30px; padding: 16px 20px; }
.doc .row-name { font-size: clamp(22px, 2.3vw, 27px); }

/* ---------- dark tinted panel */
.honest { background: var(--tint-ink); color: var(--on-ink); border-color: rgba(255, 255, 255, .16); display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 60px 56px; border-radius: 40px; width: calc(100% - 56px); margin: 30px auto 70px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 30px 70px -24px rgba(17, 24, 34, .5); }
.honest h2 { font-size: clamp(30px, 4vw, 50px); }
.honest .label { color: #ffd27a; }
.honest p { color: #d5dce5; }

/* ---------- documents */
.doc { max-width: 900px; margin: 0 auto; padding: 0 28px 40px; }
.doc-head { padding: 72px 0 38px; }
.doc-head.wide { max-width: var(--max); margin: 0 auto; padding: 72px 28px 10px; }
.doc-head h1 { font-size: clamp(40px, 6.2vw, 80px); max-width: 17ch; }
.doc-head .lede { margin-top: 24px; }
.meta { font-family: var(--mono); font-size: 13px; color: var(--ink-2); margin-top: 22px; letter-spacing: .03em; }
.short { background: linear-gradient(var(--tint-sun), var(--tint-sun)), var(--glass); border-radius: var(--r-lg); padding: 28px 32px 14px; margin: 0 0 30px; }
.short .label { color: var(--ink); }
.short p:last-child { font-size: 20px; line-height: 1.5; font-weight: 500; }
.block { padding: 40px 0 8px; }
.block > div { min-width: 0; }
.block h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 20px; }
.ticks, .steps { padding: 0; margin: 0 0 1.2em; list-style: none; }
.ticks li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--hair); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff 0 14%, var(--hot) 52%); box-shadow: 0 2px 5px -1px rgba(221, 74, 34, .55); }
.steps { counter-reset: s; }
.steps li { counter-increment: s; padding: 12px 0 12px 40px; border-bottom: 1px solid var(--hair); position: relative; }
.steps li::before { content: counter(s) "."; position: absolute; left: 0; top: 12px; font-weight: 700; color: var(--hot); }
.table-wrap { overflow-x: auto; margin: 6px 0 22px; border-radius: var(--r-md); }
table { border-collapse: collapse; width: 100%; font-size: 16px; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--hair); }
thead th { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); background: var(--glass-strong); }
tbody th { font-weight: 700; width: 24%; }
tr:last-child td, tr:last-child th { border-bottom: 0; }

/* ---------- firms */
.firms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 22px; }
.firm { border-radius: var(--r-lg); padding: 26px 26px 20px; display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.2,.9,.3,1.3), background .3s; }
.firm:hover { transform: translateY(-4px); background: var(--glass-strong); }
.firm header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; margin-bottom: 12px; }
.firm h3 { font-size: 28px; }
.where { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-left: auto; }
.firm p { font-size: 16px; }
.firm .fit { flex: 1; color: var(--ink-2); }
.firm .fit .label { display: block; margin-bottom: 4px; font-size: 11.5px; }
.out { font-family: var(--mono); font-size: 14px; text-decoration: none; border-top: 1px solid var(--hair); padding-top: 14px; color: var(--hot); }

/* ---------- faq and next */
.faq { border-radius: var(--r-lg); padding: 34px 32px 14px; margin-top: 44px; }
.faq h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 12px; }
details { border-bottom: 1px solid var(--hair); }
details:last-child { border-bottom: 0; }
summary { cursor: pointer; padding: 18px 40px 18px 0; font-weight: 700; font-size: 19px; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-family: var(--display); font-size: 30px; color: var(--hot); transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { max-width: 68ch; color: var(--ink-2); }
.next { margin: 22px 0 50px; padding: 28px 32px; border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 10px; }
.next a { font-family: var(--display); font-size: 24px; text-decoration: none; }
.next .label { margin-bottom: 4px; }

/* ---------- footer */
.foot { max-width: var(--max); width: calc(100% - 32px); margin: 40px auto 16px; padding: 44px 44px 28px; border-radius: 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1.4fr 1fr; gap: 40px; }
.foot-brand { font-family: var(--display); font-size: 30px; margin-bottom: 8px; color: var(--ink); }
.foot a { display: block; text-decoration: none; padding: 5px 0; font-size: 16px; }
.foot p { color: var(--ink-2); font-size: 16px; }
.disclose { margin: 34px 0 0; padding-top: 20px; border-top: 1px solid var(--hair); font-size: 14px !important; line-height: 1.55; }

/* ---------- small screens */
@media (max-width: 900px) {
  body { font-size: 17px; }
  .stamp { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; margin-top: 34px; gap: 8px; }
  .stamp span, .stamp span:nth-child(2), .stamp span:nth-child(3) { margin: 0; padding: 8px 14px; }
  .cards { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr 28px; gap: 4px 12px; padding: 16px 16px; }
  .row-blurb { grid-column: 1; grid-row: 2; font-size: 15.5px; }
  .row-go { grid-column: 2; grid-row: 1; }
  .row + .row::before { left: 16px; right: 16px; }
  .honest { grid-template-columns: 1fr; gap: 20px; padding: 40px 26px; width: calc(100% - 32px); border-radius: 30px; margin-bottom: 50px; }
  .block { padding: 30px 0 4px; }
  .firms { grid-template-columns: 1fr; }
  .faq { padding: 26px 22px 8px; }
  .foot { padding: 32px 24px 22px; border-radius: 28px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero { padding: 50px 20px 50px; }
  .band, .wrap { padding: 46px 16px; }
  .doc { padding: 0 20px 30px; }
  .doc-head { padding: 44px 0 28px; }
  .doc-head.wide { padding: 44px 20px 0; }
  .top { padding: 9px 12px 9px 18px; border-radius: 28px; flex-wrap: wrap; row-gap: 0; }
  .burger { display: flex; flex-direction: column; gap: 6px; cursor: pointer; padding: 10px 8px; }
  .burger span { width: 24px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s; }
  .nav-toggle { display: block; position: absolute; right: 10px; top: 6px; width: 48px; height: 44px; opacity: 0; z-index: 3; cursor: pointer; margin: 0; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; gap: 2px; padding: 8px 0 6px; }
  .nav a { padding: 13px 14px; font-size: 17px; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav-toggle:checked + .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle:checked + .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
}
