/*
 * Forge: a strong, practical theme for builders and renovation firms, roofers, electricians, plumbers and heating
 * engineers, car repair and tyre shops, cleaning companies, movers, metal and wood workshops, manufacturers and
 * equipment hire. Everything is square and solid: bold condensed capitals for headings, chunky buttons with clipped
 * corners, strips of hazard tape and measuring tape as accents, big numerals, heavy accent bars on photos and dark
 * steel bands with angled edges. The phone number is always close at hand, because these businesses want calls.
 *
 * This file draws Forge's own frame (header, phone menu, footer, breadcrumbs, the 404 page, the split hero, the article
 * body and the divider). Every other block comes from the Theme Kit, styled by kit-theme.css. Colours come from the
 * palette (palettes/*.css): --background, --surface, --surface-alt, --primary (always a dark steel), --primary-alt,
 * --accent, --accent-ink, --on-accent, --on-primary, --text-primary, --text-secondary and --border. Plain CSS, no build
 * step. Starts at 320px wide.
 */

/* ------------------------------------------------------------------ Tokens */

:root {
  --forge-ink: var(--text-primary, #1d2023);
  --forge-gutter: clamp(1.25rem, 4vw, 3rem);
  --forge-width: 74rem;
  /* The frame (header, footer) spans the width the Theme Kit gives its widest sections, so it lines up with a hero. */
  --forge-width-wide: 90rem;
  --forge-header-height: 4.75rem;
  --forge-tape-height: 6px;
  /* How much a button's corners are clipped, and the big clipped corner of the hero's picture. */
  --forge-cut: 0.7rem;
  --forge-cut-large: clamp(1.75rem, 4vw, 3.25rem);
  --forge-line: var(--border, color-mix(in srgb, var(--forge-ink) 16%, transparent));
  --forge-speed: 180ms;
  --forge-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  /* The layout sets --forge-face-scale: 1 for the condensed heading faces, less for a wider face (Archivo Black, or one
     the website chose), which draws the largest headings, the menu and the footer's name smaller. --forge-face-fit turns
     it into a gentler factor for headings. */
  --forge-face-fit: calc(0.45 + 0.55 * var(--forge-face-scale, 0.7));
  /* Hazard tape: diagonal stripes in the accent colour and the text drawn on it, which always read against each other. */
  --forge-hazard: repeating-linear-gradient(-45deg, var(--accent, #ffc20e) 0 0.55rem, var(--on-accent, #1d2023) 0.55rem 1.1rem);
  /* Measuring tape: the accent colour with fine and long tick marks hanging from its top edge. */
  --forge-tape:
    repeating-linear-gradient(90deg, var(--on-accent, #1d2023) 0 2px, transparent 2px 2.5rem) 0 0 / 100% 72% no-repeat,
    repeating-linear-gradient(90deg, var(--on-accent, #1d2023) 0 1px, transparent 1px 0.5rem) 0 0 / 100% 38% no-repeat,
    var(--accent, #ffc20e);
}

/* ------------------------------------------------------------------ Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Whatever is scrolled into view (an anchor, a field reached with the keyboard) stops clear of the sticky header and of
   the bottom edge instead of sitting under or against them. */
html {
  scroll-padding-top: calc(var(--forge-header-height) + var(--forge-tape-height) + 1.5rem);
  scroll-padding-bottom: 1.5rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background, #f3f2ee);
  color: var(--text-primary, #1d2023);
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

::selection {
  background: var(--accent, #ffc20e);
  color: var(--on-accent, #1d2023);
}

:focus-visible {
  outline: 3px solid var(--accent-ink, currentColor);
  outline-offset: 3px;
}

.forge-main {
  display: block;
  min-height: 40vh;
}

.forge-main > :where(h1, h2, h3) {
  font-family: var(--font-heading, sans-serif);
  font-weight: var(--forge-heading-weight, 700);
  text-transform: uppercase;
}

/* A heavy accent bar under a word of a heading. */
.forge-mark {
  padding-bottom: 0.05em;
  background: linear-gradient(var(--accent, #ffc20e) 0 0) 0 100% / 100% 0.14em no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.forge-skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1.4rem;
  background: var(--accent, #ffc20e);
  color: var(--on-accent, #1d2023);
  font-family: var(--font-heading, sans-serif);
  font-size: 0.95rem;
  font-weight: var(--forge-heading-weight-light, 600);
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: top 160ms var(--forge-ease);
}

.forge-skip-link:focus {
  top: 1rem;
  outline-color: var(--on-accent, #1d2023);
  outline-offset: -6px;
}

/* A short block of hazard tape. */
.forge-swatch {
  display: inline-block;
  flex: none;
  width: 2.25rem;
  height: 0.7rem;
  background: var(--forge-hazard);
}

/* Measuring tape as a short rule under a heading. */
.forge-ruler {
  display: block;
  width: 6.5rem;
  height: 0.85rem;
  margin: 1.4rem 0;
  background: var(--forge-tape);
}

.forge-phone-icon {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ------------------------------------------------------------------ Buttons */

/* A chunky solid button with two clipped corners, in capitals. On hover the cut bites deeper and a darker kick plate
   shows along its bottom; it presses down on a click. The clip hides an outline drawn outside, so focus is drawn
   inside the button. */
.forge-button {
  --forge-button-cut: var(--forge-cut);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  max-width: 100%;
  padding: 0.8rem 1.75rem;
  border: 0;
  border-radius: 0;
  background: var(--accent, #ffc20e);
  color: var(--on-accent, #1d2023);
  font-family: var(--font-heading, sans-serif);
  font-size: 1.05rem;
  font-weight: var(--forge-heading-weight-light, 600);
  letter-spacing: calc(0.06em * var(--forge-face-scale, 0.7));
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: normal;
  clip-path: polygon(0 0, calc(100% - var(--forge-button-cut)) 0, 100% var(--forge-button-cut), 100% 100%, var(--forge-button-cut) 100%, 0 calc(100% - var(--forge-button-cut)));
  transition: background-color var(--forge-speed) ease, color var(--forge-speed) ease, box-shadow var(--forge-speed) ease, clip-path var(--forge-speed) var(--forge-ease), transform var(--forge-speed) var(--forge-ease);
}

.forge-button:hover {
  --forge-button-cut: calc(var(--forge-cut) * 1.6);
  box-shadow: inset 0 -0.3rem 0 color-mix(in srgb, var(--on-accent, #1d2023) 28%, transparent);
}

.forge-button:active {
  transform: translateY(2px);
}

.forge-button:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: -7px;
}

/* The outline button: a frame in the text colour with the same clipped corners, drawn with gradients so the cut edges
   carry the line too; it fills with a light tint on hover. */
.forge-button--outline {
  background:
    linear-gradient(currentColor 0 0) 0 0 / calc(100% - var(--forge-cut)) 2px no-repeat,
    linear-gradient(currentColor 0 0) 100% 100% / 2px calc(100% - var(--forge-cut)) no-repeat,
    linear-gradient(currentColor 0 0) 100% 100% / calc(100% - var(--forge-cut)) 2px no-repeat,
    linear-gradient(currentColor 0 0) 0 0 / 2px calc(100% - var(--forge-cut)) no-repeat,
    linear-gradient(to bottom left, transparent calc(50% - 0.5px), currentColor calc(50% - 0.5px) calc(50% + 2px), transparent calc(50% + 2px)) 100% 0 / var(--forge-cut) var(--forge-cut) no-repeat,
    linear-gradient(to top right, transparent calc(50% - 0.5px), currentColor calc(50% - 0.5px) calc(50% + 2px), transparent calc(50% + 2px)) 0 100% / var(--forge-cut) var(--forge-cut) no-repeat;
  background-color: transparent;
  color: var(--text-primary, #1d2023);
}

.forge-button--outline:hover {
  --forge-button-cut: var(--forge-cut);
  background-color: color-mix(in srgb, currentColor 10%, transparent);
  box-shadow: none;
}

.forge-button--light {
  background-color: var(--surface, #fff);
  color: var(--text-primary, #1d2023);
}

.forge-button--small {
  min-height: 2.75rem;
  padding: 0.55rem 1.25rem;
  font-size: 0.95rem;
}

.forge-button--block {
  width: 100%;
}

/* ------------------------------------------------------------------ Announcement and contact line */

.forge-announcement {
  background: var(--accent, #ffc20e);
  color: var(--on-accent, #1d2023);
  font-size: 0.9rem;
  font-weight: var(--forge-body-weight-strong, 600);
}

.forge-announcement[hidden] {
  display: none;
}

.forge-announcement__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1.1rem;
  max-width: calc(var(--forge-width-wide) + 2 * var(--forge-gutter));
  margin-inline: auto;
  padding: 0.55rem var(--forge-gutter);
  text-align: center;
}

.forge-announcement p {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}

.forge-announcement .forge-swatch {
  width: 1.5rem;
  height: 0.55rem;
}

@media (max-width: 639.98px) {
  .forge-announcement .forge-swatch {
    display: none;
  }
}

.forge-announcement a {
  font-family: var(--font-heading, sans-serif);
  font-weight: var(--forge-heading-weight-light, 600);
  letter-spacing: 0.05em;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-transform: uppercase;
  text-underline-offset: 0.3em;
}

.forge-announcement .announcement-dismiss {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.forge-announcement svg {
  width: 0.7rem;
  height: 0.7rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* The contact line above the topbar header: a dark steel strip with the phone number first. */
.forge-topbar {
  background: var(--primary, #1d2023);
  color: var(--on-primary, #f3f2ee);
  font-size: 0.88rem;
  font-weight: 500;
}

.forge-topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  max-width: calc(var(--forge-width-wide) + 2 * var(--forge-gutter));
  min-height: 2.5rem;
  margin-inline: auto;
  padding: 0.4rem var(--forge-gutter);
}

.forge-topbar__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.75rem;
}

.forge-topbar a {
  text-decoration: none;
  text-underline-offset: 0.3em;
}

.forge-topbar a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent, #ffc20e);
  text-decoration-thickness: 2px;
}

.forge-topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading, sans-serif);
  font-size: 1rem;
  font-weight: var(--forge-heading-weight-light, 600);
  letter-spacing: 0.04em;
}

.forge-topbar__phone .forge-phone-icon {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--accent, #ffc20e);
}

.forge-topbar__social,
.forge-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.forge-topbar__social a {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
}

.forge-topbar__social svg {
  display: block;
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

/* ------------------------------------------------------------------ Header */

/* A solid bar across the window that stays at the top, ending on a strip of hazard tape. Once the page scrolls it
   tightens a little and casts a shadow. */
.forge-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface, #fff);
  color: var(--text-primary, #1d2023);
  transition: box-shadow var(--forge-speed) ease;
}

.forge-header::after {
  content: "";
  display: block;
  height: var(--forge-tape-height);
  background: var(--forge-hazard);
}

.forge-header.is-scrolled {
  box-shadow: 0 14px 30px -18px color-mix(in srgb, #000 55%, transparent);
}

.forge-header__bar {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--forge-header-height);
  max-width: calc(var(--forge-width-wide) + 2 * var(--forge-gutter));
  margin-inline: auto;
  padding: 0.5rem var(--forge-gutter);
  transition: min-height var(--forge-speed) var(--forge-ease);
}

.forge-header.is-scrolled .forge-header__bar:not(.forge-header__bar--centered) {
  min-height: calc(var(--forge-header-height) - 0.6rem);
}

.forge-header__bar--centered {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  min-height: 5.5rem;
}

.forge-header__aside {
  display: flex;
  align-items: center;
  min-width: 0;
}

.forge-header__brand {
  display: inline-flex;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.forge-header__bar--centered .forge-header__brand {
  justify-self: center;
}

.forge-header__bar--centered .forge-brand__name {
  font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem);
}

/* The centred header's menu sits on a dark steel rail under the name. */
.forge-header__rail {
  background: var(--primary, #1d2023);
  color: var(--on-primary, #f3f2ee);
}

.forge-header__rail .forge-nav--desktop {
  justify-content: center;
  max-width: calc(var(--forge-width-wide) + 2 * var(--forge-gutter));
  margin-inline: auto;
  padding: 0 var(--forge-gutter);
}

.forge-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  min-width: 0;
}

.forge-header__slot {
  display: flex;
  align-items: center;
}

/* The phone number, large, beside a square accent tile with the handset. */
.forge-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  color: var(--text-primary, #1d2023);
  text-decoration: none;
}

.forge-phone__tile {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--accent, #ffc20e);
  color: var(--on-accent, #1d2023);
  clip-path: polygon(0 0, calc(100% - 0.55rem) 0, 100% 0.55rem, 100% 100%, 0 100%);
  transition: transform var(--forge-speed) var(--forge-ease);
}

.forge-phone__text {
  display: grid;
  min-width: 0;
  line-height: 1.1;
}

.forge-phone__label {
  color: var(--text-secondary, #4f545a);
  font-size: 0.72rem;
  font-weight: var(--forge-body-weight-strong, 600);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.forge-phone__number {
  font-family: var(--font-heading, sans-serif);
  font-size: 1.3rem;
  font-weight: var(--forge-heading-weight, 700);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.forge-phone:hover .forge-phone__tile {
  transform: rotate(-8deg);
}

.forge-phone:hover .forge-phone__number {
  text-decoration: underline;
  text-decoration-color: var(--accent, #ffc20e);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.2em;
}

/* The wordmark: the website's name in capitals in the heading face. A logo recoloured to the theme takes the colour of
   the text around it, so it reads on the light header and on the dark footer alike. */
.forge-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: var(--text-primary, #1d2023);
}

.forge-brand .logo-mask {
  background-color: currentColor !important;
}

.forge-brand__name {
  display: block;
  min-width: 0;
  max-width: min(22rem, 56vw);
  overflow: hidden;
  font-family: var(--font-heading, sans-serif);
  font-size: 1.55rem;
  font-weight: var(--forge-heading-weight, 700);
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.forge-brand--light {
  color: var(--on-primary, #f3f2ee);
}

/* ------------------------------------------------------------------ Navigation */

.forge-nav--desktop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 0.35rem;
  min-width: 0;
}

.forge-nav__item {
  position: relative;
}

/* Each link is in capitals; a heavy accent bar slides in under it on hover. */
.forge-nav--desktop .forge-nav__item > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 0.7rem;
  color: inherit;
  font-family: var(--font-heading, sans-serif);
  font-size: calc(1.02rem * var(--forge-face-fit));
  font-weight: var(--forge-heading-weight-light, 600);
  letter-spacing: calc(0.06em * var(--forge-face-scale, 0.7));
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
}

.forge-nav--desktop .forge-nav__item > a::after {
  content: "";
  position: absolute;
  right: 0.7rem;
  bottom: 0.35rem;
  left: 0.7rem;
  height: 4px;
  background: var(--accent, #ffc20e);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--forge-speed) var(--forge-ease);
}

.forge-nav--desktop .forge-nav__item > a:is(:hover, :focus-visible)::after,
.forge-nav__item--parent:is(:hover, :focus-within) > a::after {
  transform: scaleX(1);
}

.forge-nav__caret {
  width: 0.65rem;
  height: 0.4rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: square;
  transition: transform var(--forge-speed) var(--forge-ease);
}

.forge-nav__item--parent:is(:hover, :focus-within) .forge-nav__caret {
  transform: rotate(180deg);
}

/* A parent's pages hang under it on a square panel with an accent bar along its top. The padding on top belongs to the
   list, so the pointer never crosses a gap. */
.forge-nav__children {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  padding-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.35rem);
  transition: opacity var(--forge-speed) ease, transform var(--forge-speed) var(--forge-ease), visibility var(--forge-speed);
}

.forge-nav__item--parent:is(:hover, :focus-within) > .forge-nav__children {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.forge-nav__panel {
  display: grid;
  min-width: 15rem;
  max-width: calc(100vw - 2rem);
  padding: 0.4rem 0;
  border-top: 4px solid var(--accent, #ffc20e);
  background: var(--surface, #fff);
  box-shadow: 0 18px 36px -16px color-mix(in srgb, #000 45%, transparent), 0 0 0 1px var(--forge-line);
}

.forge-nav__panel a {
  display: block;
  padding: 0.6rem 1.1rem;
  border-left: 4px solid transparent;
  color: var(--text-primary, #1d2023);
  font-size: 0.97rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color var(--forge-speed) ease, border-color var(--forge-speed) ease;
}

.forge-nav__panel a:is(:hover, :focus-visible) {
  border-left-color: var(--accent, #ffc20e);
  background: var(--surface-alt, #e7e5df);
}

/* The call and menu buttons, shown on phones and tablets: two square tiles, the call one in the accent colour. */
.forge-header__call,
.forge-menu-button {
  display: none;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.forge-header__call {
  background: var(--accent, #ffc20e);
  color: var(--on-accent, #1d2023);
  clip-path: polygon(0 0, calc(100% - 0.6rem) 0, 100% 0.6rem, 100% 100%, 0 100%);
}

.forge-header__call .forge-phone-icon {
  width: 1.3rem;
  height: 1.3rem;
}

.forge-header__call:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: -7px;
}

.forge-menu-button {
  background: var(--primary, #1d2023);
  color: var(--on-primary, #f3f2ee);
}

.forge-menu-button__lines {
  position: relative;
  display: block;
  width: 1.3rem;
  height: 0.9rem;
}

.forge-menu-button__lines i {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: currentColor;
  transition: transform var(--forge-speed) var(--forge-ease), top var(--forge-speed) var(--forge-ease), opacity var(--forge-speed) ease;
}

.forge-menu-button__lines i:nth-child(1) {
  top: 0;
}

.forge-menu-button__lines i:nth-child(2) {
  top: calc(50% - 1.5px);
  right: 0.35rem;
}

.forge-menu-button__lines i:nth-child(3) {
  top: calc(100% - 3px);
}

.forge-menu-button[aria-expanded="true"] .forge-menu-button__lines i:nth-child(1) {
  top: calc(50% - 1.5px);
  transform: rotate(45deg);
}

.forge-menu-button[aria-expanded="true"] .forge-menu-button__lines i:nth-child(2) {
  opacity: 0;
}

.forge-menu-button[aria-expanded="true"] .forge-menu-button__lines i:nth-child(3) {
  top: calc(50% - 1.5px);
  transform: rotate(-45deg);
}

.forge-menu-button:focus-visible {
  outline-offset: 2px;
}

/* ------------------------------------------------------------------ Phone menu */

/* A panel under the header's hazard tape across the whole screen (at the right on a tablet), with large numbered
   links in capitals, then a wide call button. */
.forge-drawer {
  position: fixed;
  top: var(--forge-drawer-top, calc(var(--forge-header-height) + var(--forge-tape-height)));
  right: 0;
  left: 0;
  z-index: 49;
  max-height: calc(100dvh - var(--forge-drawer-top, calc(var(--forge-header-height) + var(--forge-tape-height))));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--surface, #fff);
  box-shadow: 0 24px 40px -20px color-mix(in srgb, #000 55%, transparent);
  opacity: 1;
  transform: none;
  transition: opacity var(--forge-speed) ease, transform var(--forge-speed) var(--forge-ease);
}

.forge-drawer[hidden] {
  display: none;
}

@starting-style {
  .forge-drawer:not([hidden]) {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
}

@media (min-width: 640px) {
  .forge-drawer {
    left: auto;
    width: min(27rem, 100vw);
    border-left: 1px solid var(--forge-line);
  }
}

.forge-drawer__inner {
  display: flex;
  flex-direction: column;
  padding: 0.75rem clamp(1.25rem, 5vw, 2rem) 1.75rem;
}

.forge-drawer__slot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.5rem 0 1rem;
}

.forge-nav--drawer {
  display: block;
  counter-reset: forge-link;
}

.forge-drawer__item + .forge-drawer__item {
  border-top: 1px solid var(--forge-line);
}

.forge-drawer__link {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.8rem 0;
  color: var(--text-primary, #1d2023);
  font-family: var(--font-heading, sans-serif);
  font-size: clamp(1.45rem, 6vw, 1.85rem);
  font-weight: var(--forge-heading-weight, 700);
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--forge-speed) ease, transform var(--forge-speed) var(--forge-ease);
}

/* Each top link carries its number, 01, 02, 03, in the accent ink. */
.forge-drawer__link::before {
  content: counter(forge-link, decimal-leading-zero);
  counter-increment: forge-link;
  flex: none;
  min-width: 1.6rem;
  color: var(--accent-ink, #7d5c00);
  font-family: var(--font-body, sans-serif);
  font-size: 0.8rem;
  font-weight: var(--forge-body-weight-strong, 600);
  letter-spacing: 0.08em;
}

.forge-drawer__link:hover {
  color: var(--accent-ink, #7d5c00);
  transform: translateX(4px);
}

.forge-drawer__children {
  display: grid;
  gap: 0.1rem;
  padding: 0 0 0.9rem 2.5rem;
}

.forge-drawer__children a {
  padding: 0.3rem 0;
  color: var(--text-secondary, #4f545a);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.forge-drawer__footer {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1.25rem;
  border-top: var(--forge-tape-height) solid transparent;
  border-image: var(--forge-hazard) 1;
}

/* The wide call button: dark steel with the number in large figures and the handset in the accent colour. */
.forge-drawer__call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--primary, #1d2023);
  color: var(--on-primary, #f3f2ee);
  font-family: var(--font-heading, sans-serif);
  font-size: 1.35rem;
  font-weight: var(--forge-heading-weight, 700);
  letter-spacing: 0.04em;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - var(--forge-cut)) 0, 100% var(--forge-cut), 100% 100%, var(--forge-cut) 100%, 0 calc(100% - var(--forge-cut)));
}

.forge-drawer__call .forge-phone-icon {
  width: 1.3rem;
  height: 1.3rem;
  color: var(--accent, #ffc20e);
}

.forge-drawer__call:focus-visible {
  outline: 3px solid var(--accent, #ffc20e);
  outline-offset: -7px;
}

.forge-drawer__contact {
  justify-self: center;
  color: var(--text-primary, #1d2023);
  font-size: 1rem;
  font-weight: var(--forge-body-weight-strong, 600);
  text-decoration: none;
}

html.forge-menu-open {
  overflow: hidden;
}

/* Below the desktop width the menu moves into the phone menu, and the call button takes the phone number's place. */
@media (max-width: 1023.98px) {
  :root {
    --forge-header-height: 4.25rem;
  }

  .forge-nav--desktop,
  .forge-header__rail,
  .forge-header__cta,
  .forge-header__phone,
  .forge-header__slot {
    display: none;
  }

  .forge-menu-button,
  .forge-header__call {
    display: inline-flex;
  }

  .forge-header__bar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
  }

  .forge-header__actions {
    gap: 0.5rem;
  }

  .forge-header__bar--centered {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: var(--forge-header-height);
  }

  .forge-header__bar--centered .forge-header__aside {
    display: none;
  }

  .forge-header__bar--centered .forge-header__brand {
    justify-self: start;
  }

  .forge-header__bar--centered .forge-brand__name {
    font-size: 1.55rem;
  }

  .forge-header.is-scrolled .forge-header__bar:not(.forge-header__bar--centered) {
    min-height: var(--forge-header-height);
  }
}

@media (max-width: 380px) {
  .forge-brand__name {
    font-size: 1.3rem;
  }
}

@media (min-width: 1024px) {
  .forge-drawer:not(#site-header.theme-nav-compact .forge-drawer) {
    display: none;
  }
}

/* Between tablet and wide desktop the simple header keeps the phone tile and drops the number beside it. */
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .forge-header--simple .forge-phone__text {
    display: none;
  }
}

/* A crowded desktop menu moves into the phone menu (the shared resilience script marks the header). */
#site-header.theme-nav-compact .forge-header__rail,
#site-header.theme-nav-compact .forge-header__cta {
  display: none;
}

#site-header.theme-nav-compact .forge-menu-button,
#site-header.theme-nav-compact .forge-header__call {
  display: inline-flex;
}

#site-header.theme-nav-compact .forge-header__bar:not(.forge-header__bar--centered) {
  grid-template-columns: minmax(0, 1fr) auto;
}

#site-header.theme-nav-compact .forge-header__phone {
  display: none;
}

/* The shared repair stylesheet hides phone links in a crowded header; Forge keeps its call button and the phone menu's
   call button, which are made for exactly that case. */
#site-header.theme-nav-compact .forge-header__actions a.forge-header__call {
  display: inline-flex !important;
}

#site-header.theme-nav-compact .forge-drawer a.forge-drawer__call {
  display: flex !important;
}

/* ------------------------------------------------------------------ Breadcrumbs */

.forge-breadcrumbs {
  max-width: calc(var(--forge-width) + 2 * var(--forge-gutter));
  margin-inline: auto;
  padding: 1.5rem var(--forge-gutter) 0;
}

.forge-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  margin: 0;
  padding: 0;
  color: var(--text-secondary, #4f545a);
  font-family: var(--font-heading, sans-serif);
  font-size: 0.9rem;
  font-weight: var(--forge-heading-weight-light, 600);
  letter-spacing: 0.06em;
  list-style: none;
  text-transform: uppercase;
}

.forge-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.forge-breadcrumbs li + li::before {
  content: "/";
  color: var(--accent-ink, #7d5c00);
}

.forge-breadcrumbs a {
  text-decoration: none;
  text-underline-offset: 0.25em;
}

.forge-breadcrumbs a:hover {
  color: var(--text-primary, #1d2023);
  text-decoration: underline;
  text-decoration-color: var(--accent, #ffc20e);
  text-decoration-thickness: 3px;
}

.forge-breadcrumbs [aria-current="page"] {
  color: var(--text-primary, #1d2023);
}

/* ------------------------------------------------------------------ Footer */

/* A dark steel block under a strip of hazard tape, with headings in capitals, closing with the name in large outlined
   capitals stamped along the bottom. */
.forge-footer {
  position: relative;
  overflow: hidden;
  background: var(--primary, #1d2023);
  color: var(--on-primary, #f3f2ee);
}

.forge-footer::before {
  content: "";
  display: block;
  height: 0.6rem;
  background: var(--forge-hazard);
}

.forge-footer__inner {
  max-width: calc(var(--forge-width-wide) + 2 * var(--forge-gutter));
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 4.5rem) var(--forge-gutter) 1.75rem;
}

.forge-footer--minimal::before {
  height: var(--forge-tape-height);
}

.forge-footer--minimal .forge-footer__inner {
  padding-block: 1.75rem;
}

.forge-footer .forge-brand {
  color: inherit;
}

.forge-footer__brand {
  display: inline-flex;
  color: inherit;
  text-decoration: none;
}

.forge-footer__closing {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid color-mix(in srgb, var(--on-primary, #f3f2ee) 22%, transparent);
}

.forge-footer__closing h2 {
  max-width: 18ch;
  margin: 0;
  font-family: var(--font-heading, sans-serif);
  font-size: calc(clamp(2.2rem, 5vw, 4rem) * var(--forge-face-fit));
  font-weight: var(--forge-heading-weight, 700);
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: uppercase;
}

.forge-footer__closing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}

.forge-footer__call {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  font-family: var(--font-heading, sans-serif);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  font-weight: var(--forge-heading-weight, 700);
  letter-spacing: 0.03em;
  text-decoration: none;
  text-underline-offset: 0.2em;
}

.forge-footer__call .forge-phone-icon {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--accent, #ffc20e);
}

.forge-footer__call:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent, #ffc20e);
  text-decoration-thickness: 3px;
}

.forge-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 2.5rem 3rem;
}

.forge-footer__about {
  display: grid;
  align-content: start;
  gap: 1.1rem;
}

.forge-footer__about p {
  max-width: 24rem;
  margin: 0;
  color: color-mix(in srgb, var(--on-primary, #f3f2ee) 85%, transparent);
  font-size: 0.97rem;
}

.forge-footer__social a {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background: color-mix(in srgb, var(--on-primary, #f3f2ee) 12%, transparent);
  color: var(--on-primary, #f3f2ee);
  transition: background-color var(--forge-speed) ease, color var(--forge-speed) ease;
}

.forge-footer__social a:hover {
  background: var(--accent, #ffc20e);
  color: var(--on-accent, #1d2023);
}

.forge-footer__social svg {
  display: block;
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

/* Column titles in capitals over a short accent bar. */
.forge-footer__title {
  margin: 0 0 1.1rem;
  font-family: var(--font-heading, sans-serif);
  font-size: 1.15rem;
  font-weight: var(--forge-heading-weight, 700);
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.forge-footer__title::after {
  content: "";
  display: block;
  width: 2rem;
  height: 4px;
  margin-top: 0.55rem;
  background: var(--accent, #ffc20e);
}

.forge-footer__links {
  display: grid;
  gap: 0.55rem;
}

.forge-footer__links a,
.forge-footer__contact a {
  width: fit-content;
  color: inherit;
  font-size: 0.97rem;
  text-decoration: none;
  text-underline-offset: 0.3em;
}

.forge-footer__links a:hover,
.forge-footer__contact a:hover,
.forge-footer__legal a:hover,
.forge-footer__inline a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent, #ffc20e);
  text-decoration-thickness: 2px;
}

.forge-footer__contact {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  font-style: normal;
}

.forge-footer__contact p:not(.forge-footer__title) {
  margin: 0 0 0.35rem;
  font-size: 0.97rem;
}

.forge-footer__contact .forge-footer__phone {
  font-family: var(--font-heading, sans-serif);
  font-size: 1.35rem;
  font-weight: var(--forge-heading-weight, 700);
  letter-spacing: 0.03em;
}

.forge-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--on-primary, #f3f2ee) 22%, transparent);
}

.forge-footer__copyright {
  margin: 0;
  font-size: 0.88rem;
}

.forge-footer__legal,
.forge-footer__inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.forge-footer__legal a {
  color: inherit;
  font-size: 0.88rem;
  text-decoration: none;
  text-underline-offset: 0.3em;
}

.forge-footer__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2.5rem;
}

.forge-footer__inline a {
  font-family: var(--font-heading, sans-serif);
  font-size: 0.97rem;
  font-weight: var(--forge-heading-weight-light, 600);
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  text-underline-offset: 0.3em;
}

.forge-footer--minimal .forge-footer__legal {
  margin-top: 1rem;
}

/* The name in large outlined capitals along the bottom of the footer, like letters stamped into a steel plate. Its size
   follows its length (the layout puts it in one of five classes) and the width of the heading face (--forge-face-scale),
   so it stays on one line without breaking a word. */
.forge-footer__wordmark {
  --forge-wordmark-size: min(13rem, 20vw);
  margin: clamp(1.75rem, 4vw, 3rem) 0 -0.12em;
  overflow: hidden;
  color: transparent;
  font-family: var(--font-heading, sans-serif);
  font-size: calc(var(--forge-wordmark-size) * var(--forge-face-scale, 0.7));
  font-weight: var(--forge-heading-weight, 700);
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--on-primary, #f3f2ee) 42%, transparent);
}

.forge-footer__wordmark--m { --forge-wordmark-size: min(9.5rem, 11.5vw); }
.forge-footer__wordmark--l { --forge-wordmark-size: min(8.5rem, 10vw); }
.forge-footer__wordmark--xl { --forge-wordmark-size: min(6.5rem, 8vw); }
.forge-footer__wordmark--xxl { --forge-wordmark-size: min(4.75rem, 5.8vw); }

/* ------------------------------------------------------------------ 404 */

.forge-not-found {
  max-width: 46rem;
  margin-inline: auto;
  padding: clamp(4rem, 10vw, 7.5rem) var(--forge-gutter);
  text-align: center;
}

/* The number in huge outlined capitals, crossed by a strip of hazard tape like a closed-off work site. */
.forge-not-found__sign {
  position: relative;
  display: inline-block;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.forge-not-found__number {
  margin: 0;
  color: transparent;
  font-family: var(--font-heading, sans-serif);
  font-size: clamp(7rem, 26vw, 13rem);
  font-weight: var(--forge-heading-weight, 700);
  letter-spacing: 0.02em;
  line-height: 1;
  -webkit-text-stroke: 3px var(--forge-ink);
}

.forge-not-found__tape {
  position: absolute;
  top: 50%;
  left: -12%;
  right: -12%;
  height: clamp(1.4rem, 4vw, 2.1rem);
  border-block: 2px solid var(--forge-ink);
  background: var(--forge-hazard);
  transform: translateY(-50%) rotate(-7deg);
}

.forge-not-found h1 {
  margin: 0;
  font-family: var(--font-heading, sans-serif);
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: var(--forge-heading-weight, 700);
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-transform: uppercase;
}

.forge-not-found .forge-ruler {
  margin: 1.4rem auto;
}

.forge-not-found p:not(.forge-not-found__number) {
  margin: 0 auto 2.25rem;
  max-width: 32rem;
  color: var(--text-secondary, #4f545a);
}

/* ------------------------------------------------------------------ Divider block */

.forge-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: calc(var(--forge-width) + 2 * var(--forge-gutter));
  min-height: clamp(3.5rem, 8vw, 6rem);
  margin-inline: auto;
  padding-inline: var(--forge-gutter);
}

/* line: hazard tape between two steel rules. */
.forge-divider__rule {
  display: block;
  flex: 1 1 0;
  height: 2px;
  background: var(--forge-ink);
}

.forge-divider__hazard {
  display: block;
  flex: none;
  width: min(9rem, 34vw);
  height: 0.85rem;
  background: var(--forge-hazard);
}

/* dashed: a measuring tape across the content width. */
.forge-divider__tape {
  display: block;
  width: 100%;
  height: 1.15rem;
  background: var(--forge-tape);
}

/* dotted: a steel strap held by a row of rivets. */
.forge-divider__rivets {
  display: block;
  width: 100%;
  height: 0.9rem;
  border-block: 1px solid var(--forge-line);
  background:
    radial-gradient(circle at 50% 50%, var(--text-secondary, #4f545a) 0 0.17rem, transparent 0.21rem) 0.6rem 50% / 2.25rem 100% repeat-x,
    var(--surface-alt, #e7e5df);
}

/* ------------------------------------------------------------------ Split hero */

/* The heading beside a picture with a clipped corner and a block of hazard tape peeking out behind it, on a dark steel
   panel with an angled edge; a measuring tape runs along the bottom. Without a picture, words alone, centred under a
   strip of hazard tape. */
.forge-hero {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  padding: clamp(2.75rem, 6vw, 5rem) var(--forge-gutter) calc(clamp(3.5rem, 7vw, 6rem) + 1.15rem);
}

.forge-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  max-width: var(--forge-width-wide);
  margin-inline: auto;
}

.forge-hero--words .forge-hero__inner {
  grid-template-columns: minmax(0, 1fr);
  max-width: 56rem;
  text-align: center;
}

.forge-hero__copy {
  display: grid;
  justify-items: start;
  gap: 1.5rem;
  min-width: 0;
}

.forge-hero--words .forge-hero__copy {
  justify-items: center;
}

.forge-hero__swatch {
  width: 5rem;
  height: 0.9rem;
}

.forge-hero__title {
  margin: 0;
  font-family: var(--font-heading, sans-serif);
  font-size: calc(clamp(2.6rem, 1.3rem + 4.2vw, 5.4rem) * var(--forge-face-fit));
  font-weight: var(--forge-heading-weight, 700);
  letter-spacing: 0.005em;
  line-height: 1;
  overflow-wrap: anywhere;
  text-transform: uppercase;
  text-wrap: balance;
  hyphens: auto;
}

.forge-hero__lead {
  max-width: 36rem;
  margin: 0;
  color: var(--text-secondary, #4f545a);
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.6;
}

/* Selling points: a check in a square accent tile beside each, two to a row where there is room. */
.forge-hero__points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 0.7rem 1.5rem;
  width: 100%;
  max-width: 40rem;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.forge-hero--words .forge-hero__points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: auto;
}

.forge-hero__points li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: var(--forge-body-weight-strong, 600);
  line-height: 1.35;
}

.forge-hero__tile {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  background: var(--accent, #ffc20e);
  color: var(--on-accent, #1d2023);
}

.forge-hero__tile .forge-icon {
  width: 1.05rem;
  height: 1.05rem;
  stroke-width: 2.6;
}

.forge-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.4rem;
}

.forge-hero--words .forge-hero__actions {
  justify-content: center;
}

.forge-hero__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  color: var(--text-secondary, #4f545a);
  font-size: 0.93rem;
  font-weight: 500;
}

.forge-hero__badges strong {
  color: var(--text-primary, #1d2023);
  font-weight: var(--forge-body-weight-strong, 600);
}

.forge-hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.forge-stars {
  display: inline-flex;
  gap: 0.12rem;
}

.forge-stars svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: var(--forge-ink);
  stroke-width: 1.6;
  stroke-linejoin: miter;
}

.forge-stars svg.is-full {
  fill: var(--accent, #ffc20e);
}

.forge-hero__trustpilot {
  color: var(--text-primary, #1d2023);
  font-weight: var(--forge-body-weight-strong, 600);
  text-decoration: underline;
  text-decoration-color: var(--accent, #ffc20e);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.3em;
}

.forge-hero__media {
  position: relative;
  isolation: isolate;
  justify-self: center;
  width: min(100%, 34rem);
  margin: 0 1.25rem 1.25rem 0;
  min-width: 0;
}

/* The block of hazard tape behind the picture, offset down and to the right. */
.forge-hero__media::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  z-index: -1;
  background: var(--forge-hazard);
}

.forge-hero__frame {
  display: block;
  overflow: hidden;
  background: var(--surface-alt, #e7e5df);
  clip-path: polygon(var(--forge-cut-large) 0, 100% 0, 100% 100%, 0 100%, 0 var(--forge-cut-large));
}

.forge-hero__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  max-height: min(78vh, 42rem);
  object-fit: cover;
}

/* The nameplate: the website's name in capitals on a dark steel plate, with an accent edge and four rivets. */
.forge-hero__plate {
  position: absolute;
  bottom: 1.75rem;
  left: -1rem;
  display: block;
  max-width: calc(100% - 1rem);
  padding: 0.85rem 1.4rem 0.85rem 1.25rem;
  border-left: 6px solid var(--accent, #ffc20e);
  background:
    radial-gradient(circle, color-mix(in srgb, var(--on-primary, #f3f2ee) 55%, transparent) 0 2px, transparent 2.5px) 0.45rem 0.4rem / 6px 6px no-repeat,
    radial-gradient(circle, color-mix(in srgb, var(--on-primary, #f3f2ee) 55%, transparent) 0 2px, transparent 2.5px) calc(100% - 0.4rem) 0.4rem / 6px 6px no-repeat,
    radial-gradient(circle, color-mix(in srgb, var(--on-primary, #f3f2ee) 55%, transparent) 0 2px, transparent 2.5px) 0.45rem calc(100% - 0.4rem) / 6px 6px no-repeat,
    radial-gradient(circle, color-mix(in srgb, var(--on-primary, #f3f2ee) 55%, transparent) 0 2px, transparent 2.5px) calc(100% - 0.4rem) calc(100% - 0.4rem) / 6px 6px no-repeat,
    var(--primary, #1d2023);
  box-shadow: 0 16px 28px -16px color-mix(in srgb, #000 60%, transparent);
  color: var(--on-primary, #f3f2ee);
  font-family: var(--font-heading, sans-serif);
  font-size: 1rem;
  font-weight: var(--forge-heading-weight, 700);
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.forge-hero__plate span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* The measuring tape along the bottom of the hero. */
.forge-hero__tape {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1.15rem;
  background: var(--forge-tape);
}

/* On a wide screen a dark steel panel with an angled edge fills the right of the hero, behind the picture. */
@media (min-width: 861px) {
  .forge-hero--split::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    width: 36%;
    background: var(--primary, #1d2023);
    clip-path: polygon(clamp(3rem, 8vw, 8rem) 0, 100% 0, 100% 100%, 0 100%);
  }
}

@media (max-width: 860px) {
  .forge-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .forge-hero--split .forge-hero__media {
    order: -1;
    width: min(calc(100% - 1.25rem), 26rem);
    justify-self: start;
  }

  .forge-hero__image {
    aspect-ratio: 5 / 4;
  }

  .forge-hero__plate {
    bottom: 1rem;
    left: -0.5rem;
    font-size: 0.85rem;
  }
}

/* ------------------------------------------------------------------ Article body */

.forge-article {
  padding: clamp(3.5rem, 7vw, 6rem) var(--forge-gutter);
}

.forge-article--post {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
}

.forge-article__inner {
  max-width: 44rem;
  margin-inline: auto;
}

.forge-article__header {
  margin-bottom: clamp(2.25rem, 5vw, 3.25rem);
}

/* The date and author in small capitals behind a strip of hazard tape. */
.forge-article__byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  margin: 0 0 1.1rem;
  color: var(--text-secondary, #4f545a);
  font-family: var(--font-heading, sans-serif);
  font-size: 0.95rem;
  font-weight: var(--forge-heading-weight-light, 600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.forge-article__byline .forge-swatch {
  margin-right: 0.25rem;
}

.forge-article__header h1 {
  margin: 0;
  font-family: var(--font-heading, sans-serif);
  font-size: calc(clamp(2.3rem, 1.4rem + 3.2vw, 4rem) * var(--forge-face-fit));
  font-weight: var(--forge-heading-weight, 700);
  letter-spacing: 0.005em;
  line-height: 1.02;
  overflow-wrap: anywhere;
  text-transform: uppercase;
  text-wrap: balance;
}

.forge-article__header .forge-ruler {
  margin: 1.6rem 0 0;
}

.forge-prose {
  color: var(--text-primary, #1d2023);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.forge-prose > :first-child {
  margin-top: 0;
}

.forge-prose > :last-child {
  margin-bottom: 0;
}

.forge-prose :where(p, ul, ol, figure, table, blockquote, pre) {
  margin: 0 0 1.5em;
}

.forge-prose :where(h2, h3, h4) {
  margin: 2em 0 0.6em;
  font-family: var(--font-heading, sans-serif);
  font-weight: var(--forge-heading-weight, 700);
  letter-spacing: 0.01em;
  line-height: 1.12;
  text-transform: uppercase;
}

.forge-prose h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.35rem);
}

.forge-prose h3 {
  font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.65rem);
}

.forge-prose h4 {
  font-size: 1.2rem;
}

.forge-prose a {
  color: var(--accent-ink, #7d5c00);
  font-weight: var(--forge-body-weight-strong, 600);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

.forge-prose a:hover {
  color: var(--text-primary, #1d2023);
  text-decoration-color: var(--accent, #ffc20e);
  text-decoration-thickness: 4px;
}

.forge-prose :where(ul, ol) {
  padding-left: 1.25em;
}

.forge-prose li + li {
  margin-top: 0.4em;
}

.forge-prose ul {
  list-style: square;
}

.forge-prose ul > li::marker {
  color: var(--accent-ink, #7d5c00);
}

.forge-prose ol > li::marker {
  color: var(--accent-ink, #7d5c00);
  font-family: var(--font-heading, sans-serif);
  font-weight: var(--forge-heading-weight, 700);
}

/* A quote stands on a heavy accent bar. */
.forge-prose blockquote {
  margin-inline: 0;
  margin-bottom: 2em;
  padding: 1.3rem 1.5rem;
  border-left: 6px solid var(--accent, #ffc20e);
  background: var(--surface-alt, #e7e5df);
  font-size: 1.15em;
  font-weight: 500;
  line-height: 1.55;
}

.forge-prose blockquote > :last-child {
  margin-bottom: 0;
}

.forge-prose img {
  display: block;
  max-width: 100%;
  height: auto;
  border-bottom: 6px solid var(--accent, #ffc20e);
}

.forge-prose figcaption {
  margin-top: 0.75rem;
  color: var(--text-secondary, #4f545a);
  font-size: 0.9rem;
}

/* A rule is a strip of hazard tape. */
.forge-prose hr {
  width: 7rem;
  height: 0.6rem;
  margin: 3em 0;
  border: 0;
  background: var(--forge-hazard);
}

.forge-prose table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.forge-prose :where(th, td) {
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: 1px solid var(--forge-line);
  text-align: left;
  vertical-align: top;
}

.forge-prose th {
  border-bottom: 3px solid var(--forge-ink);
  font-family: var(--font-heading, sans-serif);
  font-size: 0.92rem;
  font-weight: var(--forge-heading-weight-light, 600);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.forge-prose :where(code, pre) {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.forge-prose pre {
  overflow-x: auto;
  padding: 1.25rem;
  border-left: 4px solid var(--forge-ink);
  background: var(--surface-alt, #e7e5df);
}

/* ------------------------------------------------------------------ Form thanks */

.forge-form-success {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
  padding: 2rem 0;
}

.forge-form-success h3 {
  margin: 0;
  font-family: var(--font-heading, sans-serif);
  font-size: 2rem;
  font-weight: var(--forge-heading-weight, 700);
  line-height: 1.05;
  text-transform: uppercase;
}

.forge-form-success p {
  margin: 0;
  color: var(--text-secondary, #4f545a);
}

.forge-form-success .forge-ruler {
  margin: 0 0 0.5rem;
}

/* ------------------------------------------------------------------ Without JavaScript, and calm motion */

@media (scripting: none) {
  .forge-menu-button {
    display: none !important;
  }

  .forge-drawer[hidden] {
    display: block;
    position: static;
    width: auto;
    max-height: none;
    border-left: 0;
    box-shadow: none;
  }
}

/* Without JavaScript the phone menu is open under the bar, so the header scrolls away with the page instead of
   staying over it. */
@media (scripting: none) and (max-width: 1023.98px) {
  .forge-header {
    position: relative;
  }
}

@media (scripting: none) and (min-width: 1024px) {
  .forge-drawer[hidden] {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }

  .forge-button:hover,
  .forge-button:active,
  .forge-drawer__link:hover,
  .forge-phone:hover .forge-phone__tile {
    transform: none;
  }
}

/* The icon a site may set on its announcement. */
.forge-announcement__icon { display: inline-block; flex: none; width: 1em; height: 1em; vertical-align: -0.125em; margin-inline-end: 0.4em; }
