/* Athel Search: a fictional talent search firm. Swiss panel grid, charcoal, grey and mint, dithered pictures. A Raijen Studio demo. */
@font-face { font-family: "Inter"; src: url(assets/fonts/inter-450.woff2) format("woff2"); font-weight: 450; font-display: swap; }
@font-face { font-family: "Inter"; src: url(assets/fonts/inter-550.woff2) format("woff2"); font-weight: 550; font-display: swap; }
@font-face { font-family: "Mono"; src: url(assets/fonts/plexmono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
:root { --ink: #232323; --mint: #a1ffcb; --g1: #e0e0e0; --g2: #d9d9d9; --line: rgba(35, 35, 35, .14); --ease: cubic-bezier(.2, .7, .1, 1); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #fff; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: #fff; color: var(--ink); font: 450 14px/1 "Inter", "Helvetica Neue", sans-serif; letter-spacing: -.04em; overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: currentColor; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; background: var(--mint); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.huge { font-size: clamp(54px, 9.2vw, 132px); font-weight: 450; line-height: 1; letter-spacing: -.05em; }
.caps { text-transform: uppercase; line-height: .9; }
.t24 { font-size: clamp(18px, 1.67vw, 24px); line-height: 1.1; letter-spacing: -.02em; }
.t16 { font-size: 16px; line-height: 1.3; letter-spacing: -.03em; }
.mono { font-family: "Mono", ui-monospace, monospace; letter-spacing: -.02em; }
.tiny { font-size: 12px; line-height: 1.1; }
.soft { color: rgba(35, 35, 35, .55); }
.label { text-transform: uppercase; }
.dark { background: var(--ink); color: #fff; }
.gray { background: var(--g2); }
.mint { background: var(--mint); color: var(--ink); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 100; display: grid; grid-template-columns: 44px 1fr auto auto; align-items: stretch; height: 44px; background: #fff; border-bottom: 1px solid var(--line); }
.top-mark { display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 22px; }
.clock { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; font-size: 12px; }
.clock .digits { display: inline-flex; align-items: flex-start; overflow: hidden; height: 1.2em; }
.clock .col { display: inline-flex; flex-direction: column; flex: none; transition: transform .6s var(--ease); }
.clock .col span { height: 1.2em; line-height: 1.2em; }
.top-nav { display: flex; align-items: center; gap: 18px; padding: 0 18px; font-size: 14px; }
.top-nav a:hover { text-decoration: underline; }
.top-cta { display: inline-flex; align-items: center; gap: 22px; padding: 0 16px; background: var(--ink); color: #fff; font-size: 14px; }

/* ---------- 1. hero grid ---------- */
.hero { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 46vh 34vh 30vh; border-bottom: 1px solid var(--line); }
.p { position: relative; overflow: hidden; padding: 18px; }
.p canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.p-a { grid-column: 1 / 3; display: flex; align-items: flex-end; }
.p-b { grid-column: 3 / 5; grid-row: 1 / 3; }
.p-c { grid-column: 1 / 2; grid-row: 2 / 4; }
.p-d { grid-column: 2 / 3; display: flex; flex-direction: column; justify-content: space-between; }
.p-e { grid-column: 3 / 4; grid-row: 3; display: flex; flex-direction: column; gap: 12px; z-index: 1; }
.p-f { grid-column: 2 / 3; grid-row: 3; display: flex; align-items: flex-end; }
.p-g { grid-column: 4 / 5; grid-row: 3; display: flex; align-items: flex-end; }
.p-g .huge { font-size: clamp(34px, 4.2vw, 62px); }
.p-f .huge { font-size: clamp(44px, 6vw, 92px); }
.logos { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: auto; }
.cta-line { display: inline-flex; align-items: center; gap: 12px; }

/* ---------- 2. about ---------- */
.about { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.about .label { padding: 18px; }
.about-text { grid-column: 2 / 4; display: grid; gap: 1em; padding: 18px 18px 14vh; }
.stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); min-height: 52vh; }
.stat { display: flex; flex-direction: column; justify-content: space-between; padding: 18px; }
.stat.big { grid-column: span 2; }
.stat:first-child { grid-column: 3; grid-row: 1; }
.stat.big { grid-column: 1 / 3; grid-row: 1; }
.stat:last-child { grid-column: 4; }

/* ---------- 3. services ---------- */
.services { border-bottom: 1px solid var(--line); }
.svc-head { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); padding: 18px; gap: 18px; min-height: 60vh; }
.stagger { display: grid; }
.stagger span:nth-child(2) { padding-left: 1.6em; }
.svc-intro { grid-column: 3; align-self: end; display: grid; gap: 16px; justify-items: start; }
.cta-box { display: inline-flex; align-items: center; gap: 18px; height: 30px; padding: 0 10px; background: var(--ink); color: #fff; }
.svc { display: grid; grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: center; padding: 22px 18px; border-top: 1px solid rgba(255, 255, 255, .12); background: var(--ink); color: #fff; min-height: 34vh; }
.svc h3 { font-size: clamp(22px, 2.15vw, 31px); font-weight: 450; letter-spacing: -.03em; line-height: 1.05; }
.svc-icon { width: 120px; height: 120px; justify-self: center; color: rgba(255, 255, 255, .7); }
.svc-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: .6; }
.svc-copy { display: grid; gap: 14px; }
.svc-copy p { font-size: 14px; line-height: 1.35; color: rgba(255, 255, 255, .78); max-width: 40ch; }
.svc-copy ul { display: grid; gap: 4px; }
.svc-copy li::before { content: "■ "; color: var(--mint); }

/* ---------- 4. clients ---------- */
.clients { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto 1fr; border-bottom: 1px solid var(--line); min-height: 100vh; }
.cl-left { grid-column: 1 / 2; grid-row: 1 / 3; display: grid; align-content: start; gap: 22px; padding: 18px; }
.cl-list { grid-column: 3 / 5; grid-row: 1; }
.cl-list li { border-bottom: 1px solid var(--line); }
.cl-list button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border: 0; background: none; cursor: pointer; text-align: left; }
.cl-list button b { font-weight: 450; font-size: clamp(20px, 2.15vw, 31px); letter-spacing: -.03em; }
.cl-list button.on { background: var(--ink); color: #fff; }
.cl-card { grid-column: 2 / 3; grid-row: 1 / 3; display: grid; align-content: start; gap: 12px; padding: 18px; background: #0b2a5e; color: #fff; transition: background-color .5s var(--ease); }
.cl-logo { font-size: 28px; letter-spacing: -.04em; margin-bottom: 26vh; }
.cl-dither { grid-column: 3 / 5; grid-row: 2; position: relative; min-height: 46vh; }
.cl-dither canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- 5. voices ---------- */
.voices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 18px; gap: 18px; border-bottom: 1px solid var(--line); min-height: 80vh; }
.voices .label { grid-column: 1; }
.vc { grid-column: 2 / 5; position: relative; }
.v { display: none; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 18px; }
.v.on { display: grid; animation: vin .7s var(--ease); }
@keyframes vin { from { opacity: 0; transform: translateY(14px); } }
.v img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.v blockquote { margin: 0; display: grid; gap: 22px; align-content: start; }
.v blockquote p { font-size: clamp(20px, 2.1vw, 30px); line-height: 1.12; letter-spacing: -.03em; }
.vc-nav { grid-column: 2 / 5; display: flex; align-items: center; gap: 14px; }
.vc-nav button { width: 40px; height: 40px; border: 1px solid var(--line); background: none; cursor: pointer; display: grid; place-items: center; font-size: 16px; }
.vc-nav button:first-child svg { transform: scaleX(-1); }

/* ---------- 6. team ---------- */
.team { border-bottom: 1px solid var(--line); }
.team-head { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 18px; min-height: 54vh; }
.team-head .huge { grid-column: 1 / 3; }
.team-head .label { grid-column: 1 / 3; align-self: end; }
.team-head > div { grid-column: 3 / 5; grid-row: 1 / 3; align-self: end; display: grid; gap: 16px; max-width: 520px; }
.team-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.member { position: relative; display: grid; grid-template-rows: 1fr auto; border-left: 1px solid var(--line); }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); }
.member .role { position: absolute; top: 12px; right: 12px; padding: 4px 6px; background: #fff; }
.member footer { display: flex; justify-content: space-between; align-items: center; padding: 14px; background: var(--mint); font-size: 16px; letter-spacing: -.03em; }

/* ---------- 7. talk ---------- */
.talk { position: relative; height: 100vh; overflow: hidden; background: #ececec; }
.talk-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.talk-words { position: absolute; left: 0; right: 0; bottom: 6vh; display: flex; flex-wrap: wrap; gap: .1em .25em; padding: 0 18px; font-size: clamp(48px, 9vw, 132px); }
.talk-words .w { padding: 0 .08em; line-height: .95; }
.talk-words .wide { flex-basis: auto; }
.talk-go { position: absolute; right: 18px; bottom: calc(6vh + .15em); display: grid; place-items: center; width: clamp(60px, 7vw, 100px); aspect-ratio: 1; font-size: 40px; transition: transform .4s var(--ease); }
.talk-go:hover { transform: translateX(6px); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; padding: 18px; min-height: 40vh; }
.foot-nav { display: grid; gap: 6px; align-content: start; }
.foot-clocks { display: grid; gap: 10px; align-content: start; }
.foot-clocks .clock { padding: 0; }
.ic { margin-left: 6px; }
.foot-bottom { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); min-height: 50vh; }
.foot-brand { grid-column: 1 / 3; display: grid; place-content: center; justify-items: center; gap: 8px; }
.foot-brand svg { width: clamp(60px, 7vw, 100px); height: auto; aspect-ratio: 1; }
.foot-brand span { font-size: clamp(60px, 8vw, 120px); letter-spacing: -.06em; line-height: .8; }
.foot-cta { grid-column: 3 / 5; display: flex; justify-content: space-between; padding: 18px; }
.foot-cta svg { align-self: flex-end; width: clamp(80px, 12vw, 180px); height: auto; aspect-ratio: 1; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; padding: 12px 18px; background: var(--ink); color: #fff; }
.foot-legal a { text-decoration: underline; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .top { grid-template-columns: 44px 1fr auto; } .top-nav { display: none; }
  .hero { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .hero .p { grid-column: auto !important; grid-row: auto !important; min-height: 34vh; }
  .p-a, .p-g { grid-column: 1 / -1 !important; }
  .about, .clients, .voices, .team-head, .team-row, .foot-top, .foot-bottom { grid-template-columns: 1fr; }
  .about > *, .clients > *, .voices > *, .team-head > *, .foot-bottom > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .stats { grid-template-columns: 1fr; } .stat { min-height: 30vh; grid-column: auto !important; grid-row: auto !important; }
  .svc-head { grid-template-columns: 1fr; } .svc-intro { grid-column: 1; }
  .svc { grid-template-columns: 40px 1fr; } .svc-icon { display: none; } .svc-copy { grid-column: 1 / -1; }
  .v { grid-template-columns: 1fr; }
  .cl-logo { margin-bottom: 4vh; }
  .team-row { grid-template-columns: 1fr 1fr; }
  .talk-go { position: relative; right: auto; bottom: auto; margin: 0 18px; }
}
@media (prefers-reduced-motion: reduce) { .clock .col { transition: none; } }
