/* Armont Recruitment - preview site
   Tokens from _brief.md. Accent #cd2127 is sampled from their own logo artwork. */

:root {
  --ink:        #17191d;
  --ink-2:      #20242a;
  --body:       #4e555e;
  /* 5.1:1 on the --surface-2 slate band, which #6b727b missed at 4.29:1 */
  --body-soft:  #5f666f;
  --surface:    #ffffff;
  --surface-2:  #eef1f4;
  --line:       #d8dee4;
  --line-dark:  #353b43;
  --accent:     #cd2127;
  --accent-deep:#a3161b;

  --display: 'Sora', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --sans: 'IBM Plex Sans', 'Segoe UI', system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shell: 1180px;
  --gut: clamp(1.15rem, 4vw, 2.75rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--body);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-deep); }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #fff;
  padding: 0.7rem 1.1rem; z-index: 50; font-weight: 600;
}
.skip:focus { left: 0; color: #fff; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 1rem;
}
.eyebrow-light { color: #e8a0a3; }

/* ---------- header ---------- */

.site-head {
  background: var(--ink);
  position: sticky; top: 0; z-index: 30;
  border-bottom: 1px solid var(--line-dark);
}
.head-row {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 3vw, 2.25rem);
  min-height: 74px;
  flex-wrap: wrap;
  padding-block: 0.7rem;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; min-height: 44px; }
.brand img { width: clamp(132px, 17vw, 174px); height: auto; display: block; }

.nav {
  display: flex;
  gap: clamp(0.65rem, 2vw, 1.6rem);
  margin-inline-start: auto;
  flex-wrap: wrap;
}
.nav a {
  color: #d3d8de;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.55rem 0.15rem;
  border-bottom: 2px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}
.nav a:hover { color: #fff; border-bottom-color: var(--accent); }

.head-tel {
  display: none;
  text-decoration: none;
  text-align: right;
  padding: 0.35rem 0 0.35rem 1.25rem;
  border-left: 1px solid var(--line-dark);
}
.head-tel-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8e959e;
}
.head-tel-num { display: block; color: #fff; font-weight: 600; font-size: 0.975rem; }
.head-tel:hover .head-tel-num { color: #f0b9bb; }

/* ---------- hero ---------- */

.hero {
  background: var(--surface);
  padding-block: clamp(2.75rem, 7vw, 5.5rem) 0;
}
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.hero-copy { max-width: 36ch; }

.hero h1 {
  font-size: clamp(2.25rem, 1.35rem + 4.3vw, 4.1rem);
  margin-bottom: 1.3rem;
  /* measure, not hard <br>: the headline has to rewrap cleanly at every width */
  max-width: 16ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.lede {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
  max-width: 54ch;
  color: var(--body);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border-radius: 2px;
  border: 2px solid transparent;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 170ms ease, color 170ms ease, border-color 170ms ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); color: #fff; }
.btn-block { width: 100%; }

.trust {
  list-style: none;
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2rem) 0 clamp(2rem, 4vw, 2.75rem);
  display: grid;
  gap: 1.35rem;
}
.trust li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.trust-fig {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.65rem;
  color: var(--ink);
  min-width: 3.1rem;
  letter-spacing: -0.03em;
}
.trust-lab { font-size: 0.9375rem; color: var(--body-soft); max-width: 30ch; }

/* ---------- section heads ---------- */

.sec-head { max-width: 60ch; margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.sec-head h2 {
  font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.3rem);
  margin-bottom: 0.7rem;
}
.sec-head p { color: var(--body-soft); max-width: 58ch; }

/* ---------- roles board (signature) ---------- */

.roles {
  background: var(--surface-2);
  padding-block: clamp(2.5rem, 6vw, 4.25rem);
}
.role-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  background: #fff;
}
.role {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 1rem;
  align-items: center;
  padding: 0.95rem clamp(0.85rem, 2vw, 1.4rem);
  border-bottom: 1px solid var(--line);
  transition: background-color 150ms ease;
}
.role:hover { background: #fbfcfd; }
.role:focus-within { background: #fbfcfd; }

.role-ref {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent-deep);
  background: #fdeced;
  border-radius: 4px;
  padding: 0.3rem 0.5rem;
  white-space: nowrap;
  align-self: start;
}
.role-main { display: block; min-width: 0; }
.role-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.0125rem, 0.97rem + 0.25vw, 1.125rem);
  color: var(--ink);
  text-decoration: none;
  line-height: 1.3;
  display: inline-block;
  letter-spacing: -0.015em;
}
.role-title:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
/* The whole row is the hit area, so the 23px-tall title is not the only target on a phone. */
.role-title::after {
  content: '';
  position: absolute;
  inset: 0;
}
.role-meta {
  display: block;
  font-size: 0.875rem;
  color: var(--body-soft);
  margin-top: 0.2rem;
}
.dot { padding-inline: 0.3rem; }
.role-go {
  display: none;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--body-soft);
  white-space: nowrap;
}
.role:hover .role-go { color: var(--accent-deep); }

.roles-foot {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--body-soft);
  max-width: 62ch;
}

/* ---------- the fork ---------- */

.fork { padding-block: clamp(2.75rem, 6.5vw, 4.75rem); }
.fork-grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.col h2 {
  font-size: clamp(1.45rem, 1.2rem + 1.1vw, 1.95rem);
  margin-bottom: 1.5rem;
  max-width: 20ch;
}
.pillars { margin: 0 0 2rem; }
.pillars > div { padding: 0 0 1.15rem; margin-bottom: 1.15rem; border-bottom: 1px solid var(--line); }
.pillars > div:last-of-type { border-bottom: 0; margin-bottom: 1.5rem; }
.pillars dt {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
  letter-spacing: -0.012em;
}
.pillars dd { margin: 0; font-size: 0.96875rem; color: var(--body); max-width: 58ch; }

/* ---------- director band ---------- */

.director {
  background: var(--ink);
  color: #c8cdd4;
  padding-block: clamp(2.5rem, 5.5vw, 3.75rem);
}
.director-grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); }
.director h2 {
  color: #fff;
  font-size: clamp(1.45rem, 1.2rem + 1.1vw, 1.95rem);
  margin-bottom: 1rem;
}
.director p { max-width: 62ch; }
.director-note {
  margin-top: 1.25rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--accent);
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.45;
  letter-spacing: -0.012em;
}
.director-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; align-content: start; }
.director-contact li { border-top: 1px solid var(--line-dark); padding-top: 0.85rem; }
.dc-lab {
  display: block;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8e959e;
  margin-bottom: 0.2rem;
}
.director-contact a {
  color: #fff; text-decoration: none; font-weight: 500;
  border-bottom: 1px solid #5c636c;
  display: inline-flex; align-items: center; min-height: 44px;
}
.director-contact a:hover { color: #f0b9bb; border-bottom-color: var(--accent); }

/* ---------- insights ---------- */

.insights { padding-block: clamp(2.75rem, 6vw, 4.25rem); }
.insight-grid { display: grid; gap: 1.5rem; }
.insight {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(1.35rem, 3vw, 1.85rem);
  background: #fff;
  transition: border-color 170ms ease, box-shadow 170ms ease;
}
.insight:hover { border-color: #b9c2cb; box-shadow: 0 6px 22px rgba(23, 25, 29, 0.07); }
.insight-date {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--body-soft);
  margin-bottom: 0.65rem;
}
.insight h3 { font-size: 1.1875rem; margin-bottom: 0.65rem; line-height: 1.28; }
.insight h3 a { color: var(--ink); text-decoration: none; }
.insight h3 a:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.insight p { font-size: 0.9375rem; color: var(--body-soft); margin: 0; }

/* ---------- contact ---------- */

.contact { background: var(--surface-2); padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.25rem); align-items: start; }
.contact-details h2 {
  font-size: clamp(1.45rem, 1.2rem + 1.1vw, 1.95rem);
  margin-bottom: 1.25rem;
}
.contact address { font-style: normal; }
.addr { font-size: 1.0625rem; color: var(--ink); font-weight: 500; line-height: 1.55; }
.addr-lines a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid #c9d0d8;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.addr-lines a:hover { color: var(--accent-deep); border-bottom-color: var(--accent); }
.map-link { margin-top: 0.75rem; font-size: 0.9375rem; }
.map-link a { display: inline-flex; align-items: center; min-height: 44px; }

.cv-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 3px;
  padding: clamp(1.4rem, 3.5vw, 2.1rem);
}
.cv-panel h2 { font-size: 1.5rem; margin-bottom: 0.65rem; }
.cv-intro { font-size: 0.9375rem; color: var(--body-soft); margin-bottom: 1.5rem; max-width: 46ch; }

.field { margin-bottom: 1.05rem; }
.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.opt { font-weight: 400; color: var(--body-soft); }
.field input, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: #fcfdfe;
  border: 1px solid #c3ccd5;
  border-radius: 3px;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.field textarea { resize: vertical; line-height: 1.55; }
.field input:hover, .field textarea:hover { border-color: #9fabb7; }
.field input:focus, .field textarea:focus { background: #fff; border-color: var(--accent); }
.field ::placeholder { color: #98a2ad; }

.cv-note { margin-top: 1rem; font-size: 0.8125rem; color: var(--body-soft); line-height: 1.55; }
.cv-status {
  margin-top: 0.9rem;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.65rem 0.8rem;
  border-radius: 3px;
}
.cv-status.is-ok { background: #edf6ef; color: #1f5c32; border: 1px solid #bfdcc8; }
.cv-status.is-error { background: #fdeced; color: #8d1317; border: 1px solid #f0b9bb; }

/* ---------- footer ---------- */

.site-foot { background: var(--ink); color: #9ba2ab; padding-top: clamp(2.25rem, 5vw, 3.25rem); }
.foot-grid { display: grid; gap: 2rem; padding-bottom: 2.25rem; }
.foot-mark { width: 158px; height: auto; display: block; margin-bottom: 1rem; }
.foot-line { font-size: 0.9375rem; max-width: 34ch; }
.foot-links, .foot-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.1rem; font-size: 0.9375rem; }
.foot-contact li { display: flex; align-items: center; min-height: 44px; }
.foot-links a, .foot-contact a {
  color: #d3d8de; text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px;
}
.foot-links a:hover, .foot-contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-base {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.25rem;
  font-size: 0.8125rem;
  color: #7c838c;
}
.foot-base p { margin: 0; }

/* ---------- breakpoints ---------- */

@media (max-width: 599px) {
  /* Free wrapping strands "Contact" alone on a second row; a 3-column grid
     splits the five items evenly into 3 + 2. */
  .nav {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    column-gap: 1.1rem;
    row-gap: 0;
    width: 100%;
    margin-inline-start: 0;
  }
  .nav a { font-size: 0.875rem; }
}

@media (min-width: 600px) {
  .trust { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .trust li { display: block; padding-top: 1.1rem; }
  .trust-fig { display: block; font-size: 2rem; margin-bottom: 0.35rem; }
  .insight-grid { grid-template-columns: 1fr 1fr; }
  .role { grid-template-columns: auto 1fr auto; }
  .role-go { display: block; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 880px) {
  .head-tel { display: block; }
  .hero { padding-block: clamp(3.5rem, 7vw, 6rem) 0; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: end; }
  .hero-copy { max-width: none; }
  /* back to a stacked rail: three columns inside the narrow right-hand track
     wrapped every label onto four lines */
  .trust { grid-template-columns: 1fr; gap: 1.1rem; padding-bottom: clamp(2.25rem, 4vw, 3rem); }
  .trust li { display: flex; align-items: baseline; gap: 1.1rem; padding-top: 1rem; }
  .trust-fig { display: block; font-size: 1.75rem; margin-bottom: 0; min-width: 3.4rem; }
  .trust-lab { max-width: 34ch; }
  .fork-grid { grid-template-columns: 1fr 1fr; }
  .director-grid { grid-template-columns: 1.5fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1.05fr; }
  .role { padding-inline: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
