/* ojuu contact: pick a topic, the email writes itself; what happens next; where job seekers go. */

/* ============ 1. talk to us ============ */
.ct-hero { position: relative; overflow: hidden; background: var(--white); padding: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) 0 clamp(3.5rem, 2rem + 4vw, 6rem); }
.ct-hero.ticks::before { inset: 0 0 0 52%; }
.ct-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: stretch; }
.ct-hero__copy { display: flex; flex-direction: column; }
.ct-hero__title { font-size: clamp(2.5rem, 1.1rem + 3.4vw, 4.4rem); font-weight: 700; letter-spacing: -0.055em; line-height: .96; margin: 0 0 18px; text-wrap: balance; }
.ct-hero__lead { font-size: var(--t-lg); line-height: 1.55; color: var(--ink-2); max-width: 34em; margin: 0 0 var(--s-6); }
.ct-mail { color: var(--ink); font-weight: 600; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* topics: real mailto links; with JS they become a radio group that fills the email on the right */
.ct-topics__label { margin: 0 0 10px; font: 600 .75rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ct-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: auto; }
.ct-topics__label { margin-top: auto; }
.ct-topics { margin-top: 0; }
.ct-topic { position: relative; display: flex; align-items: center; gap: 10px; height: 100%; min-height: 62px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px 12px 20px 20px;
  background: var(--white); color: var(--ink); text-decoration: none; overflow: hidden;
  transition: border-color var(--fast), box-shadow var(--med) var(--ease), transform var(--med) var(--ease), background var(--fast); }
.ct-topic:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); transform: translateY(-1px); }
.ct-topic__t { display: grid; gap: 3px; min-width: 0; }
.ct-topic__t b { font: 600 .9rem/1.2 var(--sans); letter-spacing: -0.005em; }
.ct-topic__t em { font-style: normal; font-size: .75rem; line-height: 1.25; color: var(--ink-3); }
.ct-topic__u { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--porcelain-2); }
.ct-topic__u::before { content: ""; width: 12px; height: 12px; background: var(--ink); -webkit-mask: var(--u-glyph) center/contain no-repeat; mask: var(--u-glyph) center/contain no-repeat; }
/* chosen: ink outline and a coral U-curve along the base, like the bottom of a cup filling */
.ct-topic::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--coral); transform: scaleX(0); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.ct-topic[aria-checked="true"] { border-color: var(--ink); box-shadow: var(--shadow-2); background: var(--white); }
.ct-topic[aria-checked="true"]::after { transform: scaleX(1); }
.ct-topic[aria-checked="true"] .ct-topic__u { background: var(--ink); }
.ct-topic[aria-checked="true"] .ct-topic__u::before { background: var(--coral); }

/* the email, in ojuu's neutral chrome */
.ct-mailer { position: relative; margin: 0; display: flex; flex-direction: column; }
.ct-win { position: relative; flex: 1; display: flex; flex-direction: column; border-radius: 18px 18px 40px 40px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-3); overflow: hidden; }
.ct-win__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--porcelain); border-bottom: 1px solid var(--line); }
.ct-win__bar b { font: 600 .85rem/1 var(--sans); color: var(--ink); }
.ct-win__dots { display: flex; gap: 6px; }
.ct-win__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.ct-win__mark { width: 30px; margin-left: auto; color: var(--coral); }
.ct-win__mark svg { width: 100%; height: auto; }
.ct-win__fields { margin: 0; }
.ct-field { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 50px; padding: 8px 20px; border-bottom: 1px solid var(--line); }
.ct-field dt { font-size: .8rem; color: var(--ink-3); }
.ct-field dd { margin: 0; min-width: 0; }
.ct-to { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 8px; border-radius: 999px; background: var(--porcelain); font: 500 .86rem/1 var(--sans); color: var(--ink); }
.ct-to__u { width: 11px; height: 11px; background: var(--coral); -webkit-mask: var(--u-glyph) center/contain no-repeat; mask: var(--u-glyph) center/contain no-repeat; }
.ct-subj { font: 600 1rem/1.3 var(--display); letter-spacing: -0.015em; color: var(--ink); }
.ct-win__body { flex: 1; display: grid; align-content: space-evenly; gap: 16px; padding: 24px 20px 28px; font-size: .92rem; }
.ct-line { margin: 0; }
.ct-line--hi { color: var(--ink); }
.ct-line--q { display: flex; align-items: baseline; gap: 10px; color: var(--ink-2); }
.ct-line--q::after { content: ""; flex: 1; min-width: 40px; border-bottom: 1.5px dashed var(--line-2); transform: translateY(-3px); }
.ct-win__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px 20px 22px; border-top: 1px solid var(--line); background: linear-gradient(var(--white), var(--porcelain)); }
.ct-win__foot .btn { min-height: 48px; }
.ct-copied { font-size: .8rem; color: var(--ink-2); }
.ct-mailer__cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 16px; }
.ct-privacy { margin: 12px 0 0; font-size: .82rem; line-height: 1.5; color: var(--ink-2); }
.ct-privacy .ug { width: .75em; height: .75em; margin-right: 2px; }
.ct-privacy a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

/* swap: subject and questions arrive in order when the topic changes */
.ct-win.is-swap .ct-subj, .ct-win.is-swap .ct-line { animation: ctIn .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes ctIn { from { opacity: 0; transform: translateX(16px); } }

@media (max-width: 1000px) {
  .ct-hero__grid { grid-template-columns: 1fr; }
  .ct-hero.ticks::before { inset: 55% 0 0 0; }
  .ct-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ct-seekline { margin-bottom: var(--s-6); }
}
@media (max-width: 720px) { .ct-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ct-topics li:last-child { grid-column: 1 / -1; } }
@media (max-width: 420px) {
  .ct-topic { gap: 8px; padding: 10px; min-height: 58px; }
  .ct-topic__t b { font-size: .84rem; } .ct-topic__t em { font-size: .75rem; }
  .ct-field { grid-template-columns: 58px minmax(0, 1fr); padding: 8px 14px; }
  .ct-win__body { padding: 18px 14px 20px; font-size: .86rem; }
  .ct-win__foot { padding: 14px; } .ct-win__foot .btn { flex: 1 1 100%; }
}

/* ============ 2. what happens next ============ */
/* one composition: a tall cup photo on the left, the three steps across the top right, the job-seeker strip under them */
.ct-next { padding: var(--section) 0; background: var(--porcelain); border-block: 1px solid var(--line); }
.ct-next__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: var(--s-5); align-items: stretch; }
.ct-next__main { display: grid; grid-template-rows: auto 1fr; gap: var(--s-5); min-width: 0; }

.ct-cup { position: relative; min-height: 460px; border-radius: 0 0 9999px 9999px; }
.ct-cup .cup__img { position: absolute; inset: 0; border-radius: 0 0 9999px 9999px; overflow: hidden; }
.ct-cup .cup__img img { object-position: 52% 30%; }
.ct-cup::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 4px; background: var(--ink); z-index: 1; }
.ct-chip { position: absolute; z-index: 2; top: 22px; left: 14px; right: 14px; display: flex; align-items: center; gap: 9px; padding: 8px 12px 8px 9px; border-radius: 12px;
  background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow-3); }
.ct-chip > span:last-child { display: grid; gap: 2px; min-width: 0; }
.ct-chip b { font: 600 .78rem/1.2 var(--sans); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-chip em { font-style: normal; font-size: .75rem; color: var(--ink-3); }
.ct-chip__u { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--ink); }
.ct-chip__u::before { content: ""; width: 12px; height: 12px; background: var(--coral); -webkit-mask: var(--u-glyph) center/contain no-repeat; mask: var(--u-glyph) center/contain no-repeat; }
.js .ct-cup:not(.is-in) .ct-chip { opacity: 0; transform: translateY(10px); }
.ct-chip { transition: opacity .6s .4s, transform .8s .4s cubic-bezier(.2,.8,.2,1); }

/* the steps run left to right, joined by a coral bridge that draws once */
.ct-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); margin: 0; padding: var(--s-6); list-style: none;
  border-radius: 18px 18px 40px 40px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.ct-step { position: relative; min-width: 0; }
.ct-step__n { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--ink); border-top-width: 0; border-radius: 4px 4px 20px 20px;
  background: var(--white); font: 700 .95rem/1 var(--display); color: var(--ink); }
.ct-step__n::before { content: ""; position: absolute; left: -2px; right: -2px; top: 0; height: 2px; background: var(--coral); }
.ct-step:not(:last-child)::after { content: ""; position: absolute; left: 52px; right: calc(var(--s-5) * -1 + 12px); top: 19px; height: 2px; border-radius: 2px; background: var(--coral); transform-origin: left; }
.js .ct-steps:not(.is-in) .ct-step::after { transform: scaleX(0); }
.ct-step::after { transition: transform .8s cubic-bezier(.65,0,.35,1); }
.ct-step:nth-child(2)::after { transition-delay: .5s; }
.ct-step__t { font-size: clamp(1.1rem, .95rem + .4vw, 1.3rem); letter-spacing: -0.025em; line-height: 1.2; margin: 18px 0 0; text-wrap: balance; }
.ct-step p { margin: 6px 0 0; font-size: .92rem; line-height: 1.55; color: var(--ink-2); }

/* job seekers: who we are not, then the two boards in their own colours, side by side */
.ct-seek { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-4); align-items: stretch; padding: var(--s-5);
  border-radius: 18px 18px 40px 40px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.ct-seek__copy { align-self: center; padding: 4px 8px 4px 4px; }
.ct-seek .eyebrow { margin-bottom: 12px; }
.ct-seek__h { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.55rem); letter-spacing: -0.035em; line-height: 1.1; margin: 0; }
.ct-seek__p { margin: 10px 0 0; font-size: .88rem; line-height: 1.55; color: var(--ink-2); }
.ct-board { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 20px; border-radius: 14px 14px 28px 28px; text-decoration: none; font-family: Inter, sans-serif;
  transition: transform var(--med) var(--ease), box-shadow var(--med) var(--ease); }
.ct-board:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.ct-board__logo { display: flex; align-items: center; gap: 9px; }
.ct-board__logo img { width: 26px; height: 26px; }
.ct-board__logo span { font-size: 1.02rem; letter-spacing: -0.01em; }
.ct-board__what { font-size: .82rem; line-height: 1.45; }
.ct-board__go { display: inline-flex; align-items: center; gap: .45em; margin-top: auto; font-size: .84rem; font-weight: 600; }
.ct-board__go svg { width: .8em; height: .95em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
/* each board in its own colours */
.ct-board--ynj { background: #FBFAF8; border: 1px solid #ECE9F5; color: #211E2E; }
.ct-board--ynj .ct-board__logo span { font-weight: 500; }
.ct-board--ynj .ct-board__logo b { color: #5A45E8; font-weight: 700; }
.ct-board--ynj .ct-board__what { color: #605C6B; } .ct-board--ynj .ct-board__what b { color: #211E2E; }
.ct-board--ynj .ct-board__go { color: #4E37D6; }
.ct-board--hgv { background: #12171D; border-top: 4px solid #FFD21F; color: #EEF2F6; }
.ct-board--hgv .ct-board__logo span { font-family: Barlow, Inter, sans-serif; font-weight: 700; font-size: .95rem; letter-spacing: .02em; }
.ct-board--hgv .ct-board__logo b { color: #FFD21F; }
.ct-board--hgv .ct-board__what { color: #9FABB7; } .ct-board--hgv .ct-board__what b { color: #EEF2F6; }
.ct-board--hgv .ct-board__go { color: #FFD21F; }
.ct-board--hgv:focus-visible { outline-color: var(--coral); }

@media (max-width: 1180px) {
  .ct-next__grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr); }
  .ct-steps { grid-template-columns: 1fr; gap: 0; }
  .ct-step { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 18px; padding-bottom: 28px; }
  .ct-step:last-child { padding-bottom: 0; }
  .ct-step__n { grid-row: 1 / span 2; }
  .ct-step__t { margin-top: 9px; }
  .ct-step p { grid-column: 2; }
  .ct-step:not(:last-child)::after { left: 19px; right: auto; top: 46px; bottom: 6px; width: 2px; height: auto; transform-origin: top; }
  .js .ct-steps:not(.is-in) .ct-step::after { transform: scaleY(0); }
  .ct-seek { grid-template-columns: 1fr 1fr; }
  .ct-seek__copy { grid-column: 1 / -1; padding: 0; }
}
@media (max-width: 760px) {
  .ct-next__grid { grid-template-columns: 1fr; }
  .ct-cup { min-height: 0; aspect-ratio: 4 / 4.4; max-width: 420px; width: 100%; margin: 0 auto; }
  .ct-steps { padding: var(--s-5); }
  .ct-seek { grid-template-columns: 1fr; padding: var(--s-5); }
}

/* the outcome words sit on their own line in each head */
.ct-hero__title .split-c, .ct-next .h2 .split-c { display: block; }
.ct-seekline { margin: 14px 0 0; font-size: .86rem; color: var(--ink-2); }
.ct-seekline .ug { width: .7em; height: .7em; }
.ct-seekline .hook { margin-left: 4px; }
@media (max-width: 860px) { .ct-next .section-head--split { grid-template-columns: 1fr; } }
