/* Ethiks Workforce. Ethiks wordmark and stone kept; Workforce has its own hi-vis orange accent and deep navy. */
:root {
  --navy: #0e1524; --navy-2: #18213a; --navy-3: #25304f;
  --orange: #ff6a13; --orange-dark: #d9530a; --stone: #b7a990; --stone-dark: #6f634e; --green: #1eb82c;
  --ink: #141a26; --text: #4b5361; --paper: #ffffff; --wash: #f4f2ee; --rule: #e2ddd3;
  --on-navy: #f6f7f9; --on-navy-2: #b9c0cf;
  --font: "Montserrat", Arial, Helvetica, sans-serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
.in { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { margin: 0; line-height: 1.08; text-wrap: balance; color: var(--ink); letter-spacing: -0.015em; }
p { margin: 0; }
a { color: var(--orange-dark); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; color: #000; padding: 10px 14px; z-index: 50; }

/* brand strip: one Ethiks, two arms */
.group { background: #080d18; color: var(--on-navy-2); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.group .in { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.group a { color: var(--on-navy-2); text-decoration: none; }
.group a:hover { color: #fff; }
.group .lead { color: var(--stone); font-weight: 700; }
.group .here { color: #fff; font-weight: 700; box-shadow: inset 0 -2px 0 var(--orange); padding-bottom: 2px; }

/* header */
.head { background: var(--navy); position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(255,255,255,0.08); }
.head .in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 128px; }
.brand span { color: #fff; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.22em; text-transform: uppercase; border-left: 2px solid var(--orange); padding: 4px 0 4px 14px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; font-size: 0.86rem; font-weight: 500; }
.nav a { color: var(--on-navy-2); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--orange); }
.nav .btn { color: #14100c; padding: 11px 20px; border-bottom: 0; }

.btn { display: inline-block; background: var(--orange); color: #14100c; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.02em; text-decoration: none; padding: 15px 28px; border: 0; border-radius: 4px; cursor: pointer; font-family: var(--font); transition: background 0.15s ease, transform 0.15s ease; }
.btn:hover { background: #ff8236; transform: translateY(-1px); }
.btn.line { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.55); }
.btn.line:hover { background: rgba(255,255,255,0.1); }
.btn.dark { background: var(--navy); color: #fff; }
.btn.dark:hover { background: var(--navy-3); }

/* hero */
.hero { position: relative; background: var(--navy); color: var(--on-navy); isolation: isolate; overflow: hidden; }
.hero > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,21,36,0.90) 0%, rgba(14,21,36,0.72) 28%, rgba(14,21,36,0.18) 52%, rgba(14,21,36,0) 70%); }
.hero .in { display: grid; grid-template-columns: minmax(0, 1fr) 296px; gap: 40px; align-items: end; padding-top: 72px; padding-bottom: 64px; }
.hero .pitch { align-self: center; }
.hero .pitch { max-width: 540px; }
.hero .pitch h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
.pitch { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.pitch h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); font-weight: 800; color: #fff; }
.pitch h1, .pitch .line, .pitch .sub, .ticks { text-shadow: 0 2px 18px rgba(8,13,24,0.75); }
.hero > img.bg { object-position: center 30%; }
.pitch .line { font-size: clamp(1.2rem, 2.3vw, 1.6rem); font-weight: 600; color: #fff; line-height: 1.3; }
.pitch .line b { color: var(--orange); font-weight: 700; }
.pitch .sub { color: var(--on-navy-2); max-width: 50ch; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 0.92rem; font-weight: 600; color: #fff; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 9px; height: 9px; background: var(--orange); border-radius: 50%; }

/* forms */
form.card { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px 14px; background: #fff; padding: 28px; min-width: 0; color: var(--ink); border-radius: 6px; box-shadow: 0 24px 60px rgba(4,8,18,0.45); border-top: 4px solid var(--orange); }
form.card.flat { box-shadow: none; border: 1px solid var(--rule); border-top: 4px solid var(--orange); }
form.card h2 { grid-column: 1 / -1; font-size: 1.35rem; font-weight: 800; }
form.card .lede { grid-column: 1 / -1; font-size: 0.9rem; color: var(--text); margin-top: -6px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 0.8rem; font-weight: 700; color: var(--ink); min-width: 0; }
input, select, textarea { font-family: var(--font); font-size: 1rem; padding: 12px 13px; border: 1.5px solid #c6c0b4; background: #fff; color: var(--ink); width: 100%; border-radius: 4px; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); }
textarea { min-height: 88px; resize: vertical; }
.full { grid-column: 1 / -1; }
form.card .btn { width: 100%; font-size: 1rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-size: 0.8rem; font-weight: 700; color: var(--ink); padding: 0; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { flex-direction: row; align-items: center; gap: 0; font-weight: 600; font-size: 0.86rem; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { border: 1.5px solid #c6c0b4; border-radius: 40px; padding: 8px 14px; }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.small { font-size: 0.78rem; color: var(--text); }
.msg { border-left: 3px solid var(--green); padding: 10px 14px; background: var(--wash); color: var(--ink); font-size: 0.9rem; }
.msg.err { border-left-color: #b3261e; }

/* the terms: the thing no one else prints */
.terms { background: var(--navy-2); color: var(--on-navy); }
.terms .in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.terms .t { padding: 34px 26px; border-left: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; gap: 6px; }
.terms .t:first-child { border-left: 0; padding-left: 0; }
.terms .big { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.02em; }
.terms .big em { font-style: normal; color: var(--orange); }
.terms b { color: #fff; font-size: 1rem; }
.terms span { font-size: 0.9rem; color: var(--on-navy-2); }

.sec { padding: 88px 0; }
.sec.tight { padding: 64px 0; }
.wash { background: var(--wash); }
.shead { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 40px; }
.shead h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; }
.shead p { font-size: 1.08rem; }

/* sectors */
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sector { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; padding: 28px; color: #fff; text-decoration: none; overflow: hidden; border-radius: 6px; isolation: isolate; background: var(--navy); }
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.5s ease; }
.sector::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,21,36,0.05) 30%, rgba(14,21,36,0.94) 82%); }
.sector:hover img { transform: scale(1.05); }
.sector h3 { color: #fff; font-size: 1.7rem; font-weight: 800; }
.sector p { color: #dfe3ea; font-size: 0.95rem; margin-top: 8px; }
.sector .go { margin-top: 16px; font-weight: 700; font-size: 0.9rem; color: var(--orange); }

/* split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split.rev > :first-child { order: 2; }
.split .copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.split h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; }
.photo { border-radius: 6px; overflow: hidden; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.shot { border-radius: 8px; overflow: hidden; box-shadow: 0 24px 60px rgba(14,21,36,0.22); border: 1px solid var(--rule); background: #fff; }
.cap { font-size: 0.8rem; color: var(--text); margin-top: 10px; }
ul.points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
ul.points li { position: relative; padding-left: 30px; color: var(--ink); font-weight: 500; }
ul.points li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 8px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg); }

/* roles */
.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.role { padding: 26px 24px 30px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 8px; }
.role:last-child { border-right: 0; }
.role h3 { font-size: 1.2rem; font-weight: 800; }
.role p { font-size: 0.94rem; }

/* steps */
.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.steps li { counter-increment: s; background: #fff; border-radius: 6px; padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--rule); }
.steps li::before { content: "0" counter(s); font-size: 0.95rem; font-weight: 800; color: var(--orange-dark); letter-spacing: 0.08em; }
.steps b { color: var(--ink); font-size: 1.25rem; font-weight: 800; line-height: 1.2; }

/* band for managers */
.band { background: var(--navy); color: var(--on-navy-2); }
.band h2 { color: #fff; }
.band .copy p { color: var(--on-navy-2); }
.band ul.points li { color: #fff; }

details { border-top: 1px solid var(--rule); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; font-weight: 700; color: var(--ink); font-size: 1.08rem; }
details p { padding-top: 10px; max-width: 72ch; }

.cta { background: var(--orange); color: #14100c; }
.cta .in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-top: 52px; padding-bottom: 52px; }
.cta h2 { color: #14100c; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }

.pagehead { background: var(--navy); color: var(--on-navy-2); }
.pagehead .in { padding-top: 60px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 16px; }
.pagehead h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; color: #fff; }
.pagehead p { max-width: 62ch; font-size: 1.08rem; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.two > div { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.two h2 { font-size: 1.5rem; font-weight: 800; margin-top: 8px; }
.prose { max-width: 74ch; display: flex; flex-direction: column; gap: 14px; }
.prose h2 { font-size: 1.3rem; font-weight: 800; margin-top: 16px; }

footer { background: #080d18; color: var(--on-navy-2); font-size: 0.86rem; padding: 56px 0 36px; }
footer .in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px 40px; }
footer b { color: #fff; display: block; margin-bottom: 10px; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
footer a { color: var(--on-navy-2); text-decoration: none; }
footer a:hover { color: #fff; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
footer img { width: 120px; margin-bottom: 14px; }
footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; display: flex; flex-direction: column; gap: 6px; font-size: 0.78rem; }

@media (max-width: 940px) {
  .hero .in, .split, .two { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .split.rev > :first-child { order: 0; }
  .sectors, .steps { grid-template-columns: minmax(0, 1fr); }
  .sector { min-height: 320px; }
  .terms .in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terms .t { padding: 24px 18px; }
  .terms .t:nth-child(odd) { border-left: 0; padding-left: 0; }
  .terms .t:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.1); }
  .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .role:nth-child(even) { border-right: 0; }
  footer .in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec { padding: 60px 0; }
  .hero .in { padding-top: 48px; padding-bottom: 56px; }
  .hero > img.bg { position: relative; inset: auto; height: 240px; z-index: 0; object-position: 75% center; }
  .hero::before { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .in { padding: 0 18px; }
  .nav a:not(.btn) { display: none; }
  .roles { grid-template-columns: minmax(0, 1fr); }
  .role { border-right: 0; }
  form.card { padding: 22px; }
  footer .in { grid-template-columns: minmax(0, 1fr); }
}

/* request form as one row under the headline, so the photo stays in view */
form.card.bar { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: end; padding: 22px 26px 20px; gap: 12px 14px; }
form.card.bar h2 { grid-column: auto / span 2; align-self: center; font-size: 1.25rem; }
form.card.bar .lede { grid-column: auto / span 3; align-self: center; margin: 0; text-align: right; }
form.card.bar .go .btn { width: auto; white-space: nowrap; padding: 14px 24px; }
form.card.bar .small { margin-top: -2px; }
@media (max-width: 940px) {
  form.card.bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  form.card.bar h2, form.card.bar .lede, form.card.bar .go { grid-column: 1 / -1; text-align: left; }
  form.card.bar .go .btn { width: 100%; }
}
@media (max-width: 560px) { form.card.bar { grid-template-columns: minmax(0, 1fr); } }

/* compact request card, bottom right of the hero, so the photo above and beside it stays in view */
form.card.mini { grid-template-columns: minmax(0, 1fr); padding: 20px 20px 18px; gap: 9px; }
form.card.mini input { padding: 9px 11px; }
form.card.mini h2 { font-size: 1.15rem; }
form.card.mini .lede { font-size: 0.84rem; margin-top: -4px; }
form.card.mini input { padding: 10px 11px; font-size: 0.95rem; }
form.card.mini label, form.card.mini legend { font-size: 0.76rem; }
form.card.mini .chips span { padding: 6px 11px; font-size: 0.8rem; }
form.card.mini .go { grid-column: 1 / -1; }
form.card.mini .go .btn { width: 100%; padding: 13px 20px; }
@media (max-width: 940px) { .hero .in { grid-template-columns: minmax(0, 1fr); } }

/* sector pages: the manager stands on the left, the words sit beside them, the card stays clear on the right */
.hero.sector > img.bg { transform: scaleX(-1); object-position: center 35%; }
.hero.sector::before { background: linear-gradient(90deg, rgba(14,21,36,0.10) 0%, rgba(14,21,36,0.10) 20%, rgba(14,21,36,0.86) 36%, rgba(14,21,36,0.86) 66%, rgba(14,21,36,0.40) 100%); }
.hero.sector .pitch { margin-left: 31%; }
@media (max-width: 1100px) { .hero.sector .pitch { margin-left: 26%; } }
@media (max-width: 940px) { .hero.sector .pitch { margin-left: 0; } }
.hero.sector .pitch h1 { font-size: clamp(2rem, 3.3vw, 2.9rem); overflow-wrap: normal; }
.hero.sector .pitch { gap: 16px; }
.hero.sector .pitch .line { font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
.hero.sector .in { align-items: center; padding-top: 56px; padding-bottom: 56px; }

/* half-height request card on the home and managers pages: placeholders in place of labels */
.hero:not(.sector) .in { grid-template-columns: minmax(0, 1fr) 280px; }
form.card.tiny { padding: 16px 16px 14px; gap: 7px; border-top-width: 3px; align-self: start; }
form.card.tiny h2 { font-size: 1.02rem; margin-bottom: 2px; }
form.card.tiny input { padding: 8px 10px; font-size: 0.9rem; }
form.card.tiny input::placeholder { color: #6b6f78; opacity: 1; }
form.card.tiny .go .btn { padding: 10px 16px; font-size: 0.92rem; }
form.card.tiny .small { font-size: 0.7rem; line-height: 1.35; }
@media (max-width: 940px) { .hero:not(.sector) .in { grid-template-columns: minmax(0, 1fr); } }
/* Home hero: form sits low and out to the right, below the chin */
@media (min-width: 941px) {
  .hero.home > img.bg { inset: 0 auto 0 -16%; width: 116%; max-width: none; object-position: center 24%; }
  .hero.home form.card.tiny { align-self: start; transform: translateX(clamp(0px, calc((100vw - 1240px) / 2), 40px)); }
}

/* ---------- phone menu: a button top right opens the page links ---------- */
.menu { display: none; }
@media (max-width: 760px) {
  .head .in { flex-wrap: wrap; }
  .head.has-menu .menu { display: inline-flex; margin-left: auto; width: 46px; height: 46px; align-items: center; justify-content: center; background: transparent; border: 1.5px solid rgba(255,255,255,0.45); border-radius: 4px; cursor: pointer; }
  .menu span, .menu span::before, .menu span::after { display: block; width: 20px; height: 2px; background: #fff; position: relative; transition: transform 0.2s ease, background 0.2s ease; }
  .menu span::before, .menu span::after { content: ""; position: absolute; left: 0; }
  .menu span::before { top: -6px; } .menu span::after { top: 6px; }
  .menu[aria-expanded="true"] span { background: transparent; }
  .menu[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .menu[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
  .head.has-menu .nav { display: none; width: 100%; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; padding: 4px 0 12px; overflow: visible; }
  .head.has-menu .nav.open { display: flex; }
  .head.has-menu .nav a:not(.btn) { display: block; white-space: normal; font-size: 1.02rem; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .head.has-menu .nav a[aria-current="page"] { border-bottom-color: rgba(255,255,255,0.12); color: #fff; font-weight: 700; }
  .head.has-menu .nav .btn { display: block; margin-top: 14px; text-align: center; }
}
@media (max-width: 560px) {
  .head .in { gap: 8px 12px; }
  .brand { gap: 10px; }
  .brand img { width: 104px; }
  .brand span { font-size: 0.72rem; letter-spacing: 0.16em; padding-left: 10px; }
}
