/* ------------------------------------------------------------------
   Local Launch, company site
   Strictly monochrome. Paper #F5F5F2, ink #141413, no accent hue.
   Display and UI in a grotesque sans, editorial copy in a serif.
   ------------------------------------------------------------------ */

:root {
  --paper: #F5F5F2;
  --ink: #141413;
  --ink-hover: #2A2A28;
  --ink-soft: rgba(20,20,19,.78);
  --muted: rgba(20,20,19,.62);
  --line: rgba(20,20,19,.20);
  --line-strong: rgba(20,20,19,.40);
  --fill: #E4E4E0;

  --on-dark: #FAFAF7;
  --on-dark-muted: rgba(250,250,247,.67);
  --on-dark-line: rgba(250,250,247,.18);

  --display: Archivo, Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --sans: Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;

  --wrap: 1360px;
  --header-h: 68px;
  --radius-panel: 20px;
  --radius-card: 6px;
  --radius: 8px;
  --radius-sm: 6px;
}

/* ---------------------------- reset ------------------------------- */

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }

a { color: inherit; text-decoration: none; }

::selection { background: #141413; color: #FFFFFF; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* --------------------------- utilities ---------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 40px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0 auto;
  max-width: calc(min(var(--wrap), 100%) - 80px);
}

/* hand drawn feeling underline under a key word */
.uline {
  text-decoration: underline;
  text-decoration-thickness: 6px;
  text-underline-offset: 4px;
}

.arrow { font-size: .9em; }

.arrow-link {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
}
.arrow-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ----------------------------- buttons ---------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.btn-filled {
  background: var(--ink);
  color: var(--on-dark);
  border-color: var(--ink);
}
.btn-filled:hover { background: var(--ink-hover); border-color: var(--ink-hover); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(20,20,19,.22);
}
.btn-outline:hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }

/* the solid light button that sits on the black panel */
.btn-light {
  background: var(--on-dark);
  color: var(--ink);
  border-color: var(--on-dark);
}
.btn-light:hover { background: #FFFFFF; border-color: #FFFFFF; }

.btn-sm { padding: 13px 18px; font-size: 14px; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* ----------------------------- header ----------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

/* the tile art carries a colored flame, hold it to the monochrome rule */
.brand-word {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  padding: 8px 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius-sm);
}
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-cta { flex: none; }

/* ---------------------------- sections ---------------------------- */

.section {
  padding: clamp(56px, 6.5vw, 88px) 0;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.section-head { max-width: 62ch; margin-bottom: 22px; }

.section-head h2 {
  font-family: var(--sans);
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  max-width: 48ch;
}

.section-sub {
  margin-top: 16px;
  max-width: 62ch;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ------------------------------ hero ------------------------------ */

.hero { padding: clamp(64px, 10vw, 140px) 0 clamp(56px, 8vw, 104px); }

.hero-grid,
.page-head-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.15rem);
  max-width: 15ch;
}

.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); }
.page-head h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  max-width: 18ch;
}

.lede {
  margin-top: 26px;
  max-width: 46ch;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--ink);
}

/* the lede hangs below the first line of the headline next to it */
.hero-lede { margin-top: 72px; }
.page-head-grid > .lede { margin-top: 60px; }

/* -------------------------- black panel --------------------------- */

.panel-section { padding: 0 0 clamp(32px, 5vw, 64px); }

.panel-black {
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--radius-panel);
  padding: clamp(64px, 13.5vw, 194px) clamp(24px, 6vw, 72px);
  text-align: center;
}

.panel-black h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  font-size: clamp(2.1rem, 4.4vw, 3.85rem);
  max-width: 24ch;
  margin-inline: auto;
}

.panel-sub {
  margin: 22px auto 0;
  max-width: 56ch;
  font-size: 1rem;
  color: var(--on-dark);
}

.panel-black .cta-row { justify-content: center; margin-top: 32px; }

/* ------------------------------ cards ----------------------------- */

.card {
  background: var(--fill);
  border: 1px solid transparent;
  border-radius: var(--radius-card);
  padding: 28px;
  transition: border-color .2s ease;
}
.card:hover { border-color: var(--line); }

/* metadata rows, hairline separated, label left and value right */
.meta { margin-top: 28px; }
.meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.meta-row dt {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink);
}
.meta-row dd {
  font-family: var(--sans);
  font-size: 13.5px;
  text-align: right;
  color: var(--ink);
}

/* --------------------------- split list --------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 2.3fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.split-statement h2 {
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  line-height: 1.2;
  max-width: 18ch;
}
.split-note { margin-top: 18px; color: var(--muted); font-size: .95rem; max-width: 42ch; }

.rows { border-bottom: 1px solid var(--line); }
.rows li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.row-title {
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: 0;
}
.row-meta { font-size: 13.5px; color: var(--muted); text-align: right; }

/* --------------------------- work cards --------------------------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.work-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
}
.work-card:hover { border-color: var(--line-strong); }

.work-shot {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.work-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter .3s ease;
}
.work-card:hover .work-shot img { filter: grayscale(0); }
.work-card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }

.work-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 26px 28px;
}
.work-body h3 { font-size: 1.55rem; margin-bottom: 10px; }
.work-body > p {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink);
}
.work-body .arrow-link { margin-top: 18px; align-self: flex-start; }
.work-body .meta { margin-top: auto; padding-top: 22px; }
.work-body .btn { margin-top: 22px; align-self: flex-start; }

.work-more { margin-top: 24px; }

#how.section { padding-top: clamp(24px, 3vw, 40px); }

/* -------------------------- work entries -------------------------- */

.entries { display: grid; gap: 0; }

.entry {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(32px, 4vw, 48px) 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  border-top: 1px solid var(--line);
}
.entry:first-child { border-top: 0; padding-top: 0; }
.entry { scroll-margin-top: calc(var(--header-h) + 16px); }
.entry:nth-child(even) .entry-shot { order: 2; }

.entry-ask { margin-top: 16px; margin-left: 18px; }

.entry-shot {
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.entry-shot img,
.entry-shot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  filter: grayscale(1);
  transition: filter .3s ease;
}
.entry:hover .entry-shot img,
.entry:hover .entry-shot video {
  filter: grayscale(0);
}

.entry-body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.entry-body > p {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink);
}
.entry-body .btn { margin-top: 24px; }

/* ----------------------------- about ------------------------------ */

.about-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.prose p {
  margin-top: 22px;
  max-width: 54ch;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink);
}
.prose p:first-child { margin-top: 0; }

.founders { display: grid; gap: 20px; }

.founder { display: flex; align-items: flex-start; gap: 18px; }

.founder h3 { font-size: 1.15rem; }
.founder-inner { flex: 1; }
.founder .meta { margin: 12px 0 14px; }
.founder a { font-size: .95rem; font-weight: 600; word-break: break-word; }
.founder a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------- contact ----------------------------- */

.contact-emails {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 48px;
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.contact-emails li { display: grid; gap: 6px; }
.contact-name {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--muted);
}
.contact-emails a { font-size: 1.02rem; font-weight: 600; word-break: break-word; }
.contact-emails a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------- careers ----------------------------- */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s ease;
}
.back-link:hover { color: var(--ink); }

.careers-head { padding: clamp(48px, 7vw, 88px) 0 68px; }
.careers-head .back-link { margin-bottom: 26px; }
.careers-head h1 { font-size: clamp(2.1rem, 3.6vw, 3.15rem); }

.careers-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 24px;
}

.careers-filters { display: flex; flex-wrap: wrap; gap: 25px; }
.careers-filters select,
.careers-filters input {
  appearance: none;
  -webkit-appearance: none;
  width: 263px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  background-repeat: no-repeat;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--muted);
}
.careers-filters select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23141413' stroke-opacity='.62' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position: right 14px center;
  padding-right: 34px;
}
.careers-filters input {
  padding-left: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 15 15'%3E%3Ccircle cx='6.5' cy='6.5' r='5' fill='none' stroke='%23141413' stroke-opacity='.62' stroke-width='1.5'/%3E%3Cpath d='M10.5 10.5 14 14' stroke='%23141413' stroke-opacity='.62' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position: 13px center;
}

.jobs { padding-bottom: clamp(64px, 11vw, 156px); }

/* the team column, the role column, the location column */
.jobs-head,
.role {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px 24px;
}

.jobs-head {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.jobs-head span {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink);
}

.team { border-bottom: 1px solid var(--line); }

.team > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 0;
  cursor: pointer;
  list-style: none;
}
.team > summary::-webkit-details-marker { display: none; }
.team > summary::marker { content: ""; }
.team > summary:hover .team-name { text-decoration: underline; text-underline-offset: 4px; }

.team-name {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0;
}

.team-open {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex: none;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
}

/* plus that becomes a minus when the row is open, no script needed */
.plus {
  position: relative;
  width: 14px;
  height: 14px;
  flex: none;
}
.plus::before,
.plus::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 1.5px;
  margin-top: -0.75px;
  background: var(--ink);
  transition: transform .2s ease;
}
.plus::after { transform: rotate(90deg); }
.team[open] .plus::after { transform: rotate(0deg); }

.role { padding: 2px 0 32px; }
.role-title {
  grid-column: 2;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0;
}
.role-loc {
  grid-column: 3;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
}
.role-body {
  grid-column: 2 / -1;
  margin-top: 12px;
  max-width: 58ch;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink);
}
/* -------------------------- apply page ---------------------------- */

.apply-page { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 112px); }
.apply-wrap { max-width: 720px; margin-inline: auto; }
.apply-page h1 { margin-top: 26px; font-size: clamp(2rem, 3.6vw, 2.8rem); }
.apply-lede { margin-top: 18px; max-width: 56ch; }

.apply-form { margin-top: 40px; display: grid; gap: 20px; }

.apply-block {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #FFFFFF;
  padding: 24px 28px 28px;
  display: grid;
  gap: 16px;
}
.apply-block legend {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  padding: 0 6px;
  margin-left: -6px;
}
.apply-form .btn { justify-self: start; margin-top: 8px; }
.apply-note { font-size: 14px; color: var(--muted); margin-top: 2px; }

.field select {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23141413' stroke-opacity='.62' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 34px;
}
.field select:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.field input[type="file"] {
  padding: 9px 10px;
  font-size: 14px;
  color: var(--muted);
}

/* application form inside a role row */
.app-form {
  grid-column: 2 / -1;
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  max-width: 640px;
}
.field { display: grid; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field span {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.field input,
.field textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.app-form .btn { grid-column: 1; justify-self: start; margin-top: 4px; }

.contact-form { grid-column: auto; grid-template-columns: 1fr; max-width: none; margin-top: 0; }
.contact-form .apply-block { gap: 14px; }
.contact-form .btn { justify-self: start; margin-top: 4px; }

.role .btn {
  grid-column: 2 / -1;
  justify-self: start;
  margin-top: 22px;
}

/* --------------------------- closing band -------------------------- */

.band { padding: clamp(48px, 5.5vw, 72px) 0 clamp(56px, 7vw, 88px); }
.band .wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px clamp(32px, 5vw, 72px);
  align-items: center;
}
.band h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); max-width: 18ch; grid-column: 1; }
.band p {
  margin-top: 0;
  max-width: 56ch;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--ink);
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}
.band .cta-row { grid-column: 1; margin-top: 28px; }

/* ----------------------------- footer ----------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--on-dark);
  padding: 48px 0 32px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-mark a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--on-dark);
}
.footer-mark img {
  height: 40px;
  width: 40px;
  border-radius: 9px;
  filter: invert(1);
}
.footer-mark span {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.footer-col h2 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--on-dark);
  margin-bottom: 17px;
}
.footer-col li + li { margin-top: 10px; }
.footer-col a { color: var(--on-dark-muted); word-break: break-word; }
.footer-col a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }

.footer-bottom {
  margin-top: 28px;
  color: var(--on-dark-muted);
}

.site-footer :focus-visible { outline-color: var(--on-dark); }

/* ---------------------------------------------------------------- */
/*  Responsive                                                       */
/* ---------------------------------------------------------------- */

@media (max-width: 980px) {
  .hero-grid, .page-head-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
  .hero-lede, .page-head-grid > .lede { margin-top: 26px; max-width: 60ch; }
  .split { grid-template-columns: 1fr; }
  .split-note { max-width: 60ch; }
  .work-grid { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; }
  .entry { grid-template-columns: 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Header stacks to two rows: brand plus the call button, nav underneath. */
@media (max-width: 820px) {
  :root { --header-h: 104px; }

  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand cta"
      "nav   nav";
    gap: 6px 12px;
    padding-block: 12px 8px;
  }
  .brand { grid-area: brand; }
  .header-cta { grid-area: cta; }
  .nav {
    grid-area: nav;
    margin-left: -12px;
    gap: 0;
    flex-wrap: wrap;
  }
  .nav a { padding: 7px 12px; font-size: 14.5px; }
}

@media (max-width: 620px) {
  .wrap { padding-inline: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-emails { gap: 20px; }
  .rows li { grid-template-columns: 1fr; }
  .row-meta { text-align: left; }

  .jobs-head, .role { grid-template-columns: 1fr; }
  .jobs-head span:not(:first-child) { display: none; }
  .role-title, .role-loc, .role-body, .role .btn, .app-form { grid-column: 1 / -1; }
  .app-form { grid-template-columns: 1fr; }
  .role-loc { margin-top: 2px; }
  .team-open { gap: 14px; }
}

@media (max-width: 460px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .brand-word { font-size: 16px; }
  .nav a { padding: 7px 10px; font-size: 14px; }
  .panel-black { border-radius: 16px; }
  .work-body { padding: 22px 20px 24px; }
  .entry { padding: 20px; }
  .btn { width: 100%; }
  .btn-sm.header-cta { width: auto; }
  .careers-filters input { width: 100%; }
  .uline { text-decoration-thickness: 3px; text-underline-offset: 4px; }
}
