@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1f2a1c;
  --paper: #e4e2e0;
  --accent: #7a5340;
  --field: #f4f2f0;
  --line: #c9c6c2;
  --muted: #5c584f;
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

a { color: inherit; }

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.mark {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.bar nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.bar nav a {
  text-decoration: none;
  font-size: 16px;
}

.tel {
  font-weight: 500;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  height: calc(100dvh - 52px);
  min-height: 640px;
}

.hero img { min-height: 0; }

.desk {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0 0 12px;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.sub { margin: 0 0 20px; max-width: 38em; }

form { display: grid; gap: 10px; }

label, legend {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field { display: grid; gap: 6px; }

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 8px;
}

.when {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.when label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--field);
  letter-spacing: 0;
  text-transform: none;
  font-size: 16px;
  font-weight: 400;
}

input[type="text"],
input[type="tel"] {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--field);
  color: var(--ink);
  font: inherit;
}

button {
  min-height: 48px;
  margin-top: 4px;
  border: 0;
  border-radius: 2px;
  background: var(--accent);
  color: var(--field);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.note { min-height: 1.45em; margin: 8px 0 0; }

.towns { margin: 16px 0 0; color: var(--muted); }

.crew-line {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  border-top: 1px solid var(--line);
}

.crew-line img { max-height: 560px; }

.crew-line p {
  margin: 0;
  padding: 32px;
  align-self: end;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
}

.jobs { border-top: 1px solid var(--line); }

.job {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 320px;
  border-bottom: 1px solid var(--line);
}

.job img { min-height: 240px; }

.job div { padding: 28px 32px; align-self: center; }

h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
}

.job p:last-child { margin: 0; max-width: 36em; }

.write-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: calc(100dvh - 52px);
}

.foot {
  padding: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.foot a { color: var(--ink); }

.foot p { margin: 0 0 6px; }

@media (max-width: 800px) {
  .bar { padding: 10px 14px; align-items: flex-start; }
  .bar nav { gap: 14px; }
  .hero, .write-hero, .crew-line, .job { grid-template-columns: 1fr; }
  .hero, .write-hero { height: auto; min-height: 0; }
  .hero img, .write-hero img { height: 240px; min-height: 240px; }
  .desk, .job div, .crew-line p { padding: 20px 16px 28px; }
  h1 { font-size: 32px; }
  .when { grid-template-columns: 1fr; }
  .crew-line p { font-size: 22px; }
}
