/* Orka brand system (orka-brand skill) on a lighter palette for the
   recruitment pages: the AI & Automation pages' type, teal and components,
   with light content sections between a dark header, hero and footer. */
:root {
  --teal: #12A4A2;
  --teal-light: #14B8A6;
  --teal-glow: rgba(18, 164, 162, 0.15);
  --teal-glow-strong: rgba(18, 164, 162, 0.25);
  /* Teal for text and buttons on light backgrounds, and white text on
     buttons: a shade deeper than --teal so both pass WCAG AA. */
  --teal-ink: #0b7d7b;
  --navy: #0f1320;
  --charcoal: #1a1f2e;
  --charcoal-light: #232838;
  --charcoal-lighter: #2a3040;
  --white: #ffffff;
  --white-90: rgba(255, 255, 255, 0.9);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-05: rgba(255, 255, 255, 0.05);
  /* The light palette: ink on paper. */
  --paper: #ffffff;
  --mist: #f1f6f6;          /* teal-tinted, so light bands don't read cold */
  --tint: #e9f4f3;
  --ink: #0f1320;
  --ink-70: rgba(15, 19, 32, 0.76);
  --ink-50: rgba(15, 19, 32, 0.55);
  --ink-10: rgba(15, 19, 32, 0.1);
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink-70); font: 1rem/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 200; background: var(--white); color: var(--ink); padding: .5rem .75rem; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0; }
em { font-style: normal; color: var(--teal-ink); }

/* ---- Navigation ---- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(15, 19, 32, 0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--white-05); }
.nav .wrap { display: flex; align-items: center; gap: 2rem; min-height: 72px; }
.nav-logo svg { display: block; height: 30px; width: auto; }
.nav-links { display: flex; gap: 1.75rem; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links a, .menu a { color: var(--white-70); text-decoration: none; font-size: .925rem; font-weight: 500; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--white); }
.nav-cta { flex: 0 0 auto; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; color: var(--white-90); font: 500 .925rem var(--font-body); padding: .5rem .9rem; border: 1px solid var(--white-20); border-radius: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu ul { position: absolute; right: 0; top: calc(100% + .5rem); list-style: none; margin: 0; padding: .75rem; min-width: 220px; background: var(--charcoal); border: 1px solid var(--white-10); border-radius: 12px; }
.menu li a { display: block; padding: .6rem .75rem; border-radius: 8px; }
.menu li a:hover { background: var(--white-05); color: var(--white); }

/* ---- Buttons, labels, badges ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.6rem; border-radius: 10px; font: 500 .95rem var(--font-body); text-decoration: none; transition: transform .2s, background .2s, box-shadow .2s; }
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn-primary { background: var(--teal-ink); color: var(--white); box-shadow: 0 4px 20px rgba(18, 164, 162, 0.3); }
.btn-primary:hover, .btn-primary:focus-visible { background: #096664; box-shadow: 0 6px 30px rgba(18, 164, 162, 0.4); }
.btn-secondary { background: var(--white-10); color: var(--white-90); border: 1px solid var(--white-20); }
.btn-secondary:hover, .btn-secondary:focus-visible { background: var(--white-20); }
.btn-outline { color: var(--ink); border: 1px solid var(--ink-10); background: var(--paper); }
.btn-outline:hover, .btn-outline:focus-visible { border-color: var(--teal-ink); }
.btn-small { padding: .6rem 1.1rem; font-size: .875rem; }
.section-label { font: 600 .75rem var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink); margin: 0 0 .75rem; }
.section-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 1rem; }
.section-desc { max-width: 660px; margin: 0; font-size: 1.1rem; }
.badge { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem 1rem; background: var(--teal-glow); border: 1px solid rgba(18, 164, 162, 0.3); border-radius: 100px; font-size: .8rem; font-weight: 500; color: var(--teal-light); letter-spacing: .03em; text-transform: uppercase; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-light); }
.link-arrow { font-weight: 500; text-decoration: none; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { text-decoration: underline; }

/* ---- Sections ---- */
section { padding: 6rem 0; position: relative; }
.mist { background: radial-gradient(circle at 0% 100%, rgba(18, 164, 162, 0.08), transparent 45%), var(--mist); border-top: 1px solid rgba(18, 164, 162, 0.1); border-bottom: 1px solid rgba(18, 164, 162, 0.1); }
/* A soft teal band: white cards stand out on it. */
.tint { background: linear-gradient(180deg, var(--tint) 0%, #f5fbfa 100%); border-top: 1px solid rgba(18, 164, 162, 0.12); border-bottom: 1px solid rgba(18, 164, 162, 0.12); }
/* A faint dot grid fading out from the top-right corner (the old site's dots, in teal). */
.texture { overflow: hidden; }
.texture::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(18, 164, 162, 0.22) 1.2px, transparent 1.7px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, transparent 60%); mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, transparent 60%); }
section > .wrap { position: relative; z-index: 1; }
.dark { background: var(--navy); color: var(--white-70); overflow: hidden; }
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.dark em { color: var(--teal-light); }
.dark .section-label { color: var(--teal-light); }
.dark a:not(.btn) { color: var(--teal-light); }
.dark::before { content: ""; position: absolute; width: 760px; height: 760px; right: -260px; top: -300px; background: radial-gradient(circle, var(--teal-glow-strong) 0%, transparent 70%); pointer-events: none; }

/* ---- Hero ---- */
.hero { padding: 5.5rem 0 4rem; }
.hero .wrap { position: relative; }
.hero .hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; margin: 1.25rem 0 1.25rem; }
.hero .lede { font-size: 1.1rem; max-width: 34rem; margin: 0; }
.paths { display: grid; gap: 1rem; }
.path { background: var(--charcoal-lighter); border: 1px solid var(--white-10); border-radius: 16px; padding: 1.75rem; transition: transform .3s, border-color .3s; }
.path:hover { transform: translateY(-4px); border-color: var(--white-20); }
.path.featured { border-color: var(--teal); box-shadow: 0 0 40px var(--teal-glow); }
.path h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: .35rem; }
.path p { margin: 0 0 1.1rem; font-size: .95rem; }
.path .actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.proof { position: relative; margin-top: 3.5rem; padding-top: 1.75rem; border-top: 1px solid var(--white-10); display: flex; gap: 1rem 3rem; flex-wrap: wrap; font-size: .925rem; }
.proof strong { color: var(--white); font-weight: 600; }
.proof .stars { color: #f5b942; letter-spacing: 2px; margin-right: .4rem; }

/* ---- About ---- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about img { border-radius: 16px; width: 100%; }
.motto { margin: 1.75rem 0; padding: 1.25rem 1.5rem; border-left: 3px solid var(--teal); background: var(--mist); border-radius: 0 12px 12px 0; }
.motto strong { display: block; font: 600 1.25rem var(--font-display); color: var(--ink); margin-bottom: .25rem; }
.motto p { margin: 0; font-size: .95rem; }

/* ---- Cards on light ---- */
.grid { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--ink-10); border-radius: 16px; padding: 2rem; box-shadow: 0 1px 2px rgba(15, 19, 32, 0.04), 0 12px 32px -14px rgba(15, 19, 32, 0.14); transition: transform .3s, border-color .3s; }
.card:hover { transform: translateY(-4px); border-color: rgba(18, 164, 162, 0.45); }
/* Cards on a dark band: the brand's own dark card. */
.dark .card { background: var(--charcoal-lighter); border-color: var(--white-10); box-shadow: none; }
.dark .card:hover { border-color: var(--white-20); }
.dark .card h3 { color: var(--white); }
.dark .ticks li { color: var(--white-70); }
.dark .ticks li::before { color: var(--teal-light); }
.card.featured { border-color: var(--teal); box-shadow: 0 0 40px var(--teal-glow); }
.card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: .9rem; }
.ticks { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.ticks li { position: relative; padding-left: 1.5rem; margin: .4rem 0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-ink); font-weight: 700; }
.after-grid { margin-top: 2rem; }
.review { margin: 0; display: flex; flex-direction: column; }
.review .stars { color: #f5b942; letter-spacing: 2px; }
.review blockquote { margin: .9rem 0 1.25rem; color: var(--ink); font-size: 1rem; flex: 1; }
.review figcaption { font: 600 .925rem var(--font-display); color: var(--ink); }
.review figcaption span { font: 400 .85rem var(--font-body); color: var(--ink-50); }
.rating-line { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-top: .25rem; color: var(--ink); }
.rating-line .stars { color: #f5b942; font-size: 1.15rem; letter-spacing: 2px; }
.trust h3 { font-size: 1.3rem; line-height: 1.3; }
.trust p { font-size: .95rem; }
.trust .rec-logo { width: 200px; margin-top: 1.25rem; }
.trust .amount { font: 700 2.5rem var(--font-display); color: var(--teal-ink); letter-spacing: -0.03em; line-height: 1; margin: .25rem 0 1rem; }

/* ---- AI & Automation ---- */
.ai .wrap { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.ai .actions { display: flex; flex-direction: column; gap: .75rem; max-width: 300px; width: 100%; margin-left: auto; }

/* ---- Footer ---- */
footer { background: var(--charcoal); color: var(--white-50); border-top: 1px solid var(--white-05); padding: 4rem 0 2rem; font-size: .9rem; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
footer .foot-logo svg { height: 26px; width: auto; display: block; margin-bottom: 1rem; }
footer h2 { font: 600 .75rem var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--white-90); margin: 0 0 .9rem; }
footer address { font-style: normal; line-height: 1.7; }
footer a { color: var(--white-70); text-decoration: none; }
footer a:hover { color: var(--white); }
footer ul { list-style: none; margin: 0; padding: 0; line-height: 2; }
footer .legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--white-05); font-size: .825rem; }

/* ---- Reviews ---- */
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; flex-wrap: wrap; }
.reviews-head .section-title { margin-bottom: .5rem; }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; font-size: .85rem; color: var(--ink-50); }
.chip { padding: .35rem .85rem; border: 1px solid var(--ink-10); border-radius: 100px; background: var(--mist); color: var(--ink); font-weight: 500; }
.dark .chip { background: var(--white-05); border-color: var(--white-10); color: var(--white-90); }
.dark .chips { color: var(--white-50); }
.reviews-featured + .grid { margin-top: 1.25rem; }
.who { padding: .15rem .6rem; border-radius: 100px; background: var(--mist); border: 1px solid var(--ink-10); color: var(--ink); font: 500 .75rem var(--font-body); }
.mist .who { background: var(--paper); }
.path-quote { margin: -.35rem 0 1.15rem; padding-left: .8rem; border-left: 2px solid var(--teal); font-size: .875rem; font-style: italic; color: var(--white-70); }
.path-quote span { font-style: normal; color: var(--white-50); white-space: nowrap; }
.review blockquote p { margin: 0 0 .6rem; }
.review blockquote p:last-child { margin-bottom: 0; }
.review figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; }
.review .source { font: 400 .8rem var(--font-body); color: var(--ink-50); width: 100%; }
.worked-with { padding: .15rem .6rem; border-radius: 100px; background: var(--teal-glow); color: var(--teal-ink); font: 500 .75rem var(--font-body); }
.review-featured { padding: 2.5rem; border-color: var(--teal); box-shadow: 0 0 40px var(--teal-glow); }
.review-featured blockquote { font: 500 1.3rem/1.5 var(--font-display); letter-spacing: -0.01em; }
.quote-mark { display: block; height: 2.25rem; font: 700 4.5rem/1 var(--font-display); color: var(--teal); }
.links-row { display: flex; gap: .75rem 2rem; flex-wrap: wrap; }
.link-out { font-weight: 500; text-decoration: none; }
.link-out::after { content: " ↗"; }
.link-out:hover { text-decoration: underline; }
.rating-card { background: var(--charcoal-lighter); border: 1px solid var(--white-10); border-radius: 16px; padding: 2.25rem; text-align: center; }
.rating-card .score { font: 700 4.5rem/1 var(--font-display); color: var(--white); letter-spacing: -0.04em; }
.rating-card .stars { display: block; color: #f5b942; font-size: 1.4rem; letter-spacing: 3px; margin: .5rem 0; }
.rating-card p { margin: 0 0 1.5rem; }
.rating-card .btn { width: 100%; }
.rating-card .btn + .btn { margin-top: .75rem; }
.masonry { columns: 3 280px; column-gap: 1.25rem; margin-top: 2.5rem; }
.masonry .card { break-inside: avoid; margin: 0 0 1.25rem; }
.approach { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; margin-top: 1.5rem; }
.approach p { margin: 0; }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .menu { display: block; }
  .hero .hero-grid, .about, .ai .wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .approach { grid-template-columns: 1fr; }
  .reviews-head { align-items: flex-start; }
  .ai .actions { margin-left: 0; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 1rem; }
  section { padding: 4rem 0; }
  .hero { padding: 3rem 0 2.5rem; }
  .grid-4 { grid-template-columns: 1fr; }
  .path .actions .btn { flex: 1 1 100%; }
  footer .cols { grid-template-columns: 1fr; }
}

/* ======================================================================
   Below: components for the inner pages (About, jobs, contact, forms,
   terms, privacy). Same tokens as above.
   ====================================================================== */
.nav-logo img {display: block; height: 30px; width: auto; }
footer .foot-logo img { display: block; height: 26px; width: auto; margin-bottom: 1rem; }
.nav-links a[aria-current] { color: var(--white); }

/* ---- Inner-page openers ---- */
.hero.compact { padding: 4.5rem 0 4rem; }
.hero.compact .hero-grid { grid-template-columns: 1.4fr 1fr; }
.hero.compact.single .hero-grid { grid-template-columns: 1fr; max-width: 760px; }
.hero h1 + .lede { margin-top: 0; }
.info-card { background: var(--charcoal-lighter); border: 1px solid var(--white-10); border-radius: 16px; padding: 1.75rem; }
.info-card h2 { font: 600 .75rem var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-light); margin: 0 0 .75rem; }
.info-card p { margin: 0 0 .5rem; }
.info-card a { color: var(--white); text-decoration: none; font-weight: 500; }
.info-card a:hover { text-decoration: underline; }
.info-card .big { font: 600 1.2rem var(--font-display); }

/* ---- Roles and team (About) ---- */
.roles-block + .roles-block { margin-top: 3.5rem; }
.roles-block h3.block-title { font: 600 1.3rem var(--font-display); color: var(--ink); margin: 0 0 .25rem; }
.dark .roles-block h3.block-title { color: var(--white); }
.team { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
.team-directors { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.team-rest { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: calc(75% - .3rem); margin: 1.25rem auto 0; }
/* Split card: navy header with the photo, name and role; the bio on white. */
.person { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.person-head { position: relative; background: radial-gradient(circle at 100% 0%, var(--teal-glow-strong), transparent 60%), var(--navy); padding: 1.75rem 1.5rem 1.4rem; }
.person-head h3 { color: var(--white); }
/* .person .role (below) is teal-ink for white cards; on the navy header it needs the light teal. */
.person .person-head .role { color: var(--teal-light); margin-bottom: 0; }
.person-body { padding: 1.25rem 1.5rem 1.5rem; }
.person img { width: 96px; height: 96px; border-radius: 50%; margin-bottom: 1rem; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12); }
.person h3 { font-size: 1.1rem; margin-bottom: .15rem; }
.person .role { font-size: .85rem; color: var(--teal-ink); font-weight: 500; margin: 0 0 .75rem; }
.person p { font-size: .925rem; margin: 0 0 .5rem; }
/* A long unbroken word must not widen its card past the screen. */
.team > * { min-width: 0; }
/* Four across gets cramped below ~1,100px (cards ~200px wide): two across instead. */
@media (max-width: 1100px) { .team-directors, .team-rest { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }
.person p { overflow-wrap: break-word; }

/* ---- Embeds ---- */
.embed-card { padding: 0; overflow: hidden; }
.embed-card:hover { transform: none; }
/* Recruit So Simple's vacancy list, measured 22 Oct 2026: about 623px tall at
   desktop width, 1,088px at tablet width, 1,853px on a phone (it stacks). Sized
   to fit so there's no empty space below it, and no scroll-in-a-scroll on phones. */
.jobs-frame { display: block; width: 100%; height: 650px; border: 0; }
@media (max-width: 900px) { .jobs-frame { height: 1200px; } }
@media (max-width: 600px) { .jobs-frame { height: 1900px; } .cv-frame { height: 760px; } }
.office h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.office h3 small { font: 400 .85rem var(--font-body); color: var(--ink-50); }
.office address { font-style: normal; margin-bottom: .75rem; }
.map { display: block; width: 100%; height: 240px; border: 0; border-radius: 12px; margin-top: 1rem; }

/* ---- Forms (registration, contact) ---- */
.form-card { max-width: 880px; margin: 0 auto; padding: 2.5rem 2.75rem; }
.form-card:hover { transform: none; }
.intro { margin: 0 0 1.75rem; color: var(--ink-50); }
form h2 { font: 600 1.15rem var(--font-display); color: var(--ink); margin: 2.25rem 0 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--ink-10); }
form h2:first-of-type { margin-top: 0; }
.row { display: grid; grid-template-columns: 220px 1fr; gap: .4rem 1.5rem; align-items: start; margin: 0 0 1.1rem; }
.row > label { color: var(--ink); font-weight: 600; font-size: .95rem; padding-top: .6rem; }
fieldset.row { border: 0; padding: 0; min-width: 0; }
fieldset.row > legend { float: left; width: 220px; margin: 0 1.5rem 0 0; padding: .35rem 0 0; color: var(--ink); font-weight: 600; font-size: .95rem; }
fieldset.row > .choices { grid-column: 2; }
.req { color: var(--red); }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid rgba(15, 19, 32, 0.18); border-radius: 10px; padding: .7rem .9rem;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--teal-glow-strong); border-color: var(--teal-ink); }
::placeholder { color: var(--ink-50); }
.choices label { display: flex; gap: .65rem; align-items: flex-start; padding: .3rem 0; cursor: pointer; color: var(--ink); }
.choices input { margin: .3rem 0 0; width: 18px; height: 18px; accent-color: var(--teal-ink); flex: 0 0 auto; }
.hint { grid-column: 2; margin: 0; color: var(--ink-50); font-size: .85rem; }
/* Grid items default to their content's width; a file input's is wider than a phone. */
.row > * { min-width: 0; }
input[type=file] { font: inherit; padding: .5rem 0; width: 100%; max-width: 100%; }
.declaration { background: var(--mist); border-left: 3px solid var(--teal); border-radius: 0 12px 12px 0; padding: 1.1rem 1.4rem; margin: 0 0 1.1rem; font-size: .95rem; }
.declaration p { margin: 0 0 .6rem; }
.declaration p:last-child { margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.submit { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--ink-10); }
.captcha { margin-bottom: 1rem; min-height: 65px; }
.privacy { margin: 0 0 1.1rem; font-size: .95rem; }
button[type=submit] { font: 500 1rem var(--font-body); color: var(--white); background: var(--teal-ink); border: 0; border-radius: 10px; padding: .9rem 2.2rem; cursor: pointer; box-shadow: 0 4px 20px rgba(18, 164, 162, 0.3); transition: transform .2s, background .2s; }
button[type=submit]:hover, button[type=submit]:focus-visible { background: #096664; transform: translateY(-2px); }
button[type=submit]:disabled { opacity: .7; cursor: progress; transform: none; }

/* ---- Long-form text (terms, privacy notice) ---- */
.prose { max-width: 820px; margin: 0 auto; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font: 700 1.5rem var(--font-display); color: var(--ink); letter-spacing: -0.02em; margin: 2.5rem 0 .75rem; scroll-margin-top: 90px; }
.prose h3 { font: 600 1.15rem var(--font-display); color: var(--ink); margin: 1.75rem 0 .5rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35rem 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 2rem; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .65rem .9rem; border-bottom: 1px solid var(--ink-10); vertical-align: top; }
.prose th { color: var(--ink); width: 38%; font-weight: 600; }
.prose .small { color: var(--ink-50); font-size: .85rem; margin-top: 2.5rem; }

/* ---- Short notices (thanks pages, redirects) ---- */
.notice { max-width: 640px; margin: 0 auto; text-align: center; }
.notice .actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

@media (max-width: 900px) {
  .hero.compact .hero-grid { grid-template-columns: 1fr; }
  .team-directors, .team-rest { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .row { grid-template-columns: 1fr; }
  .row > label { padding-top: 0; }
  fieldset.row > legend { float: none; width: auto; margin: 0 0 .35rem; padding: 0; }
  fieldset.row > .choices, .hint { grid-column: 1; }
  .form-card { padding: 1.75rem 1.25rem; }
}
@media (max-width: 600px) {
  .team-directors, .team-rest { grid-template-columns: 1fr; }
}

/* ---- Registration (link-only) and the CV page ---- */
.callout { margin: 0 0 1.75rem; padding: 1rem 1.25rem; background: var(--teal-glow); border-left: 3px solid var(--teal); border-radius: 0 12px 12px 0; color: var(--ink); font-size: .95rem; }
.steps { margin: 0; padding-left: 1.2em; }
.steps li { margin: .5rem 0; color: var(--white-70); }
/* Recruit So Simple's form page switches to a cramped two-column layout below
   about 800px wide and wants at least 610px of height, so give it both. */
.cv-frame { display: block; width: 100%; height: 660px; border: 0; }
.center-note { text-align: center; font-size: .9rem; color: var(--ink-50); }

/* ---- Home: photo frame and facts strip ---- */
.photo-frame { position: relative; }
.photo-frame::before { content: ""; position: absolute; inset: 20px -20px -20px 20px; border: 2px solid var(--teal); border-radius: 18px; opacity: .45; }
.photo-frame img { position: relative; border-radius: 16px; box-shadow: 0 24px 50px -24px rgba(15, 19, 32, 0.45); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin-top: 4rem; padding-top: 2.25rem; border-top: 1px solid var(--ink-10); }
.stat strong { display: block; font: 700 2.25rem/1 var(--font-display); color: var(--teal-ink); letter-spacing: -0.03em; margin-bottom: .4rem; }
.stat span { font-size: .9rem; color: var(--ink-50); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .photo-frame::before { inset: 12px -12px -12px 12px; } }
