/* SOMEONE · someonehire.com
   Brand tokens come from the SOMEONE Brand Identity guide. */

:root {
  --aubergine: #24123a;
  --coral: #ff5a3c;
  --coral-dark: #e8462a;
  --plum: #5b3f86;
  --lilac: #e7dff3;
  --paper: #faf7f2;
  --graphite: #1a1820;
  --white: #ffffff;
  --muted: #5d5868;
  --line: #e6e0d6;

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 10vw, 128px);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--aubergine); margin: 0; }
h1 { font-weight: 800; font-size: clamp(2.5rem, 6.2vw, 4.25rem); line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-weight: 700; font-size: clamp(1.85rem, 3.8vw, 2.6rem); line-height: 1.12; letter-spacing: -0.02em; }
h3 { font-weight: 600; font-size: 1.375rem; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--white { background: var(--white); }
.section--lilac { background: var(--lilac); }
.section--dark { background: var(--aubergine); color: rgba(255, 255, 255, 0.82); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.label {
  display: inline-block;
  font: 500 0.8125rem/1.4 var(--font-body);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 20px;
}
.section--dark .label, .hero .label { color: #c9b8e6; }
.lead { font-size: clamp(1.15rem, 1.8vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 640px; }
.section--dark .lead { color: rgba(255, 255, 255, 0.78); }
.measure { max-width: 680px; }
.accent { color: var(--coral); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--aubergine); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--coral); color: var(--white); }
.btn--primary:hover { background: var(--coral-dark); }
.btn--ghost { border-color: currentColor; color: var(--aubergine); }
.btn--ghost:hover { background: var(--aubergine); color: var(--white); border-color: var(--aubergine); }
.section--dark .btn--ghost, .hero .btn--ghost { color: var(--white); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover { background: var(--white); color: var(--aubergine); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--aubergine); text-decoration: none;
  border-bottom: 2px solid var(--coral); padding-bottom: 2px;
}
.arrow-link:hover { color: var(--coral); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: block; flex-shrink: 0; }
.brand img { width: 168px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 0.975rem; font-weight: 500; text-decoration: none; color: var(--graphite);
  padding: 8px 12px; border-radius: 8px;
}
.nav a:hover { color: var(--plum); }
.nav a[aria-current="page"] { color: var(--aubergine); font-weight: 700; }
.nav .btn { margin-left: 12px; min-height: 44px; padding: 0 20px; color: var(--white); }
.nav .btn:hover { color: var(--white); }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer;
  border-radius: 10px; color: var(--aubergine);
}
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: currentColor; margin: 5px auto; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 28px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 20px 0 0; min-height: 52px; border-bottom: 0; border-radius: 999px; }
}

/* Home hero */
.hero { background: var(--aubergine); color: rgba(255, 255, 255, 0.8); overflow: hidden; position: relative; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center; gap: 48px;
  padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(72px, 10vw, 132px);
}
.hero h1 { color: var(--white); }
.hero h1 .accent { color: var(--coral); }
.hero .sub {
  font-family: var(--font-display); font-weight: 600; color: var(--white);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.3; margin: 22px 0 18px;
}
.hero p.body { max-width: 540px; font-size: 1.15rem; }
.hero-visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 460px; justify-self: end; }
.hero-visual svg { width: 100%; height: 100%; }
.hero-visual .dot { fill: #4a3370; }
.hero-visual .dot--soft { fill: #3a2659; }
.hero-visual .ring-pulse { transform-origin: 240px 240px; animation: pulse 4.5s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .5; transform: scale(1); } 50% { opacity: .12; transform: scale(1.08); } }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { max-width: 300px; justify-self: start; order: -1; margin-bottom: -8px; }
}
@media (max-width: 520px) { .hero-visual { max-width: 220px; } }

/* Inner page hero */
.page-hero { padding: clamp(64px, 9vw, 112px) 0 clamp(48px, 6vw, 72px); }
.page-hero h1 { max-width: 860px; }
.page-hero .lead { margin-top: 24px; }

/* Promise list (home) */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 36px; }
.promises li h3 { margin: 18px 0 10px; font-size: 1.2rem; }
.promises li p { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 600px) { .promises { grid-template-columns: 1fr; gap: 32px; } }

/* Icons */
.icon { width: 48px; height: 48px; fill: none; stroke: var(--aubergine); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.icon .c { stroke: var(--coral); }
.icon .cf { fill: var(--coral); stroke: none; }
.icon-tile { width: 64px; height: 64px; border-radius: 16px; background: var(--aubergine); display: grid; place-items: center; flex-shrink: 0; }
.icon-tile .icon { width: 36px; height: 36px; stroke: var(--white); }
.section--dark .icon { stroke: var(--white); }

/* Service rows */
.rows { border-top: 1px solid var(--line); margin-top: 48px; }
.row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 32px; align-items: start; padding: 36px 0; border-bottom: 1px solid var(--line);
}
.row h3 { padding-top: 14px; }
.row p { color: var(--muted); padding-top: 12px; }
@media (max-width: 760px) {
  .row { grid-template-columns: 1fr; gap: 16px; }
  .row h3, .row p { padding-top: 0; }
}

/* Process steps */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px; background: rgba(255, 255, 255, 0.18); }
.steps li { position: relative; counter-increment: step; }
.steps li::before {
  content: counter(step); position: relative; z-index: 1;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--aubergine); border: 2px solid rgba(255, 255, 255, 0.4);
  font: 700 1.05rem/1 var(--font-display); color: var(--white); margin-bottom: 20px;
}
.steps li:last-child::before { background: var(--coral); border-color: var(--coral); }
.steps h3 { font-size: 1.1rem; margin-bottom: 8px; }
.steps p { font-size: 0.98rem; color: rgba(255, 255, 255, 0.7); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; }
  .steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 22px; padding-bottom: 30px; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .steps li:last-child { padding-bottom: 0; }
}

/* Detailed process (How We Work page) */
.process { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.process li {
  counter-increment: p; display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 32px; padding: 44px 0; border-top: 1px solid var(--line);
}
.process li:last-child { border-bottom: 1px solid var(--line); }
.process li::before { content: "0" counter(p); font: 800 3rem/1 var(--font-display); color: var(--lilac); -webkit-text-stroke: 1.5px var(--plum); }
.process li:nth-child(4)::before { color: var(--coral); -webkit-text-stroke: 0; }
.process h3 { padding-top: 6px; }
.process p { color: var(--muted); }
@media (max-width: 860px) {
  .process li { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
  .process li::before { font-size: 2.25rem; }
}

/* Callout / note */
.note {
  background: var(--white); border-left: 4px solid var(--coral); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px; margin-top: 56px; max-width: 820px;
}
.note h3 { font-size: 1.1rem; margin-bottom: 8px; }
.note p { color: var(--muted); font-size: 1.05rem; }

/* Include list */
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.6 2.6L14 7.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
@media (max-width: 640px) { .checklist { grid-template-columns: 1fr; } }

/* Mission / vision / philosophy */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 56px; border-top: 2px solid var(--aubergine); }
.trio div { padding: 28px 28px 0 0; }
.trio div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.trio h3 { font-size: 0.8125rem; font-family: var(--font-body); font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--plum); margin-bottom: 14px; }
.trio p { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.45; color: var(--aubergine); }
@media (max-width: 760px) {
  .trio { grid-template-columns: 1fr; }
  .trio div, .trio div + div { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Reasons (Why SOMEONE) */
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.reason { background: var(--white); border-radius: var(--radius); padding: 32px; display: flex; gap: 22px; align-items: flex-start; }
.reason h3 { font-size: 1.15rem; margin-bottom: 8px; }
.reason p { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 760px) { .reasons { grid-template-columns: 1fr; } .reason { padding: 26px; } }

.statement {
  font-family: var(--font-display); font-weight: 700; color: var(--white);
  font-size: clamp(1.8rem, 4.4vw, 3rem); line-height: 1.15; letter-spacing: -0.02em; max-width: 900px; margin: 0;
}

/* CTA band */
.cta-band { background: var(--aubergine); color: rgba(255, 255, 255, 0.8); position: relative; overflow: hidden; }
.cta-band .wrap { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); max-width: 700px; }
.cta-band p { max-width: 560px; margin-top: 16px; font-size: 1.15rem; }
.cta-band .mark-bg { position: absolute; right: -80px; top: 50%; width: 420px; transform: translateY(-50%); opacity: .14; pointer-events: none; }
@media (max-width: 760px) { .cta-band .mark-bg { width: 260px; right: -90px; top: 22%; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info dl { margin: 0; }
.contact-info dt { font: 500 0.8125rem/1.4 var(--font-body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--plum); margin-top: 32px; }
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { margin: 8px 0 0; font-size: 1.15rem; }
.contact-info a { color: var(--aubergine); font-weight: 600; text-decoration-color: var(--coral); text-underline-offset: 4px; }
.form-card { background: var(--white); border-radius: 24px; padding: clamp(28px, 4vw, 48px); box-shadow: 0 1px 2px rgba(36, 18, 58, .04), 0 18px 48px -24px rgba(36, 18, 58, .18); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--aubergine); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; font: 400 1rem/1.5 var(--font-body); color: var(--graphite);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px rgba(91, 63, 134, .15); background: var(--white); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #c0392b; }
.field .err { color: #b3261e; font-size: 0.875rem; min-height: 1px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--coral); flex-shrink: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: 12px; font-weight: 500; display: none; }
.form-status.is-ok { display: block; background: #e9f6ee; color: #1e5b36; }
.form-status.is-err { display: block; background: #fdecea; color: #8a1c14; }
.form-card .btn { margin-top: 26px; width: 100%; }
.form-card .btn[disabled] { opacity: .65; cursor: progress; transform: none; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* Legal / prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin: 48px 0 14px; }
.prose p, .prose li { color: #3c3846; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 8px; }

/* Footer */
.site-footer { background: var(--graphite); color: rgba(255, 255, 255, 0.7); font-size: 1rem; }
.site-footer .wrap { padding-top: 72px; padding-bottom: 36px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.footer-brand img { width: 220px; height: auto; }
.footer-brand .tag { font-family: var(--font-display); font-weight: 600; color: var(--white); margin: 20px 0 6px; font-size: 1.05rem; }
.footer-brand .services-line { font-size: 0.95rem; }
.site-footer h4 { font: 500 0.75rem/1.4 var(--font-body); letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: var(--coral); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.9rem; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
