/* ==========================================================================
   06-workbench — shared stylesheet
   Bright, warm, plain-spoken. One copy, linked from every page.
   ========================================================================== */

:root {
  --paper:      #fffaf2;
  --paper-2:    #f6eee1;
  --paper-3:    #efe4d2;
  --card:       #ffffff;
  --ink:        #221d17;
  --ink-2:      #6b6055;
  --ink-3:      #8d8275;
  --line:       #e6d9c5;
  --line-2:     #d6c5aa;
  --accent:     #b4471f;   /* terracotta */
  --accent-dk:  #8f3616;
  --accent-sf:  #fcece3;
  --green:      #2f6b46;
  --green-sf:   #e6f1e9;
  --blue:       #2b5578;
  --blue-sf:    #e7eef5;
  --display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(60, 40, 20, .06), 0 10px 24px -14px rgba(60, 40, 20, .28);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dk); }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- layout helpers ---------------------------------------------- */

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 34px);
}
.wrap--narrow { max-width: 780px; }

.section { padding: clamp(42px, 7vw, 78px) 0; }
.section--tint { background: var(--paper-2); }
.section--line { border-top: 1px solid var(--line); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

.h-lg { font-size: clamp(30px, 4.6vw, 46px); }
.h-md { font-size: clamp(24px, 3.2vw, 32px); }
.h-sm { font-size: clamp(19px, 2.2vw, 22px); }

.lede {
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
}
.prose { max-width: 66ch; }
.prose p + p { margin-top: 0; }
.muted { color: var(--ink-2); }
.small { font-size: 14.5px; }
.tiny { font-size: 13px; color: var(--ink-3); }

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

.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.masthead__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.brand span {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  display: block;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
}
.nav a:hover { background: var(--paper-3); color: var(--ink); }
.nav a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}

.nav-cta a {
  display: inline-block;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.nav-cta a:hover { background: var(--accent-dk); color: #fff; }

@media (max-width: 720px) {
  .masthead { position: static; }
  .brand { width: 100%; margin-right: 0; }
}

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

.hero { padding: clamp(34px, 6vw, 70px) 0 clamp(30px, 5vw, 56px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}
@media (max-width: 860px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }

.hero h1 {
  font-size: clamp(34px, 6.4vw, 62px);
  line-height: 1.04;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.portrait {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-3);
  box-shadow: var(--shadow);
}
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 11px;
  border-radius: 999px;
  background: var(--green-sf);
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}
.status::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}

/* ---------- buttons ----------------------------------------------------- */

.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid var(--accent);
}
.btn:hover { background: var(--accent-dk); border-color: var(--accent-dk); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--paper-2); color: var(--ink); border-color: var(--ink-3); }

/* ---------- cards ------------------------------------------------------- */

.grid { display: grid; gap: clamp(16px, 2.4vw, 24px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 880px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .grid--2, .grid--3 { grid-template-columns: minmax(0, 1fr); }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 2.6vw, 28px);
}
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card--tint { background: var(--accent-sf); border-color: #f0d8cb; }
.card--flat { background: transparent; }

.card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 14px;
}

/* ---------- lists ------------------------------------------------------- */

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px; top: .62em;
  width: 9px; height: 9px;
  border-radius: 2px;
  background: var(--accent);
}

.plain { list-style: none; margin: 0; padding: 0; }
.plain li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.plain li:last-child { border-bottom: 0; }

.tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.tags li {
  font-size: 13px;
  font-weight: 500;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
}

/* ---------- key/value rows --------------------------------------------- */

.kv { margin: 0; }
.kv > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 6px 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.kv > div:last-child { border-bottom: 0; }
.kv dt { color: var(--ink-3); font-size: 13.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding-top: 3px; }
.kv dd { margin: 0; }
@media (max-width: 620px) { .kv > div { grid-template-columns: minmax(0, 1fr); } }

/* ---------- script / work items ---------------------------------------- */

.script {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: clamp(22px, 3vw, 32px);
  margin-bottom: clamp(16px, 2.4vw, 22px);
}
.script__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin-bottom: 4px;
}
.script h2 { font-size: clamp(24px, 3.4vw, 32px); }
.script__fmt {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-sf);
  padding: 4px 11px;
  border-radius: 999px;
}
.script__log {
  font-family: var(--display);
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.42;
  margin: 14px 0 16px;
  font-weight: 500;
}
.comps {
  display: inline-block;
  font-size: 14px;
  color: var(--ink-2);
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  margin-bottom: 16px;
}

/* ---------- figures ----------------------------------------------------- */

figure { margin: 0; }
.fig img {
  width: 100%;
  border-radius: var(--radius);
  background: var(--paper-3);
  box-shadow: var(--shadow);
}
.fig figcaption {
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 10px;
}
.fig--wide img { aspect-ratio: 16 / 10; object-fit: cover; }
.fig--tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.fig--square img { aspect-ratio: 1 / 1; object-fit: cover; }

.strip { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 720px) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- pull quote / callout --------------------------------------- */

.pull {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(21px, 3vw, 29px);
  line-height: 1.3;
  margin: 0;
  padding: clamp(20px, 3vw, 28px) 0 clamp(20px, 3vw, 28px) clamp(18px, 3vw, 28px);
  border-left: 4px solid var(--accent);
  max-width: 24ch;
}
.pull--wide { max-width: 34ch; }

.note {
  background: var(--blue-sf);
  border: 1px solid #cfdeeb;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 15px;
  color: var(--blue);
}
.note strong { color: var(--blue); }

.placeholder {
  display: inline-block;
  background: #fff3c4;
  border: 1px dashed #c9a227;
  border-radius: 6px;
  padding: 1px 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #6b5200;
}

/* ---------- steps ------------------------------------------------------- */

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding: 0 0 26px 58px;
  border-left: 2px solid var(--line-2);
  margin-left: 17px;
}
.steps > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: -18px; top: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps h3 { font-size: 19px; margin-bottom: 6px; padding-top: 4px; }

/* ---------- table ------------------------------------------------------- */

.table-scroll { overflow-x: auto; }
table.rates {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 16px;
}
table.rates th, table.rates td {
  text-align: left;
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.rates th { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
table.rates td.price { font-family: var(--display); font-weight: 700; font-size: 18px; white-space: nowrap; }

/* ---------- breadcrumb -------------------------------------------------- */

.crumbs { font-size: 14px; color: var(--ink-3); padding-top: 22px; }
.crumbs a { color: var(--ink-2); }

/* ---------- next / prev ------------------------------------------------- */

.next-up {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: clamp(34px, 5vw, 54px);
}

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

.footer {
  background: var(--ink);
  color: #d9cfc2;
  padding: clamp(36px, 5vw, 56px) 0 34px;
  margin-top: clamp(40px, 6vw, 72px);
  font-size: 15.5px;
}
.footer a { color: #fff; }
.footer h2 { color: #fff; font-size: clamp(22px, 3vw, 28px); margin-bottom: 10px; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
@media (max-width: 760px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }
.footer h3 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #a2968a;
  margin-bottom: 10px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { padding: 3px 0; }
.footer__base {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid #3a322a;
  font-size: 13.5px;
  color: #9a8e81;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
