@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/montserrat-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/montserrat-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/montserrat-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/montserrat-latin-700-italic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/montserrat-latin-800-italic.woff2') format('woff2');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/montserrat-latin-900-italic.woff2') format('woff2');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --red: #ea3338;
  --red-bright: #ec3237;
  --red-deep: #a8121f;
  --red-dark: #7c0d16;
  --ink: #101010;
  --ink-soft: #3a3a3a;
  --paper: #ffffff;
  --paper-soft: #f5f5f5;
  --line: #d9d9d9;
  --shell: min(1440px, 100% - 2 * var(--gutter));
  --gutter: clamp(1.25rem, 4vw, 5rem);
  --block: clamp(4rem, 9vw, 8.5rem);
  --skew: 14px;
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  line-height: 1.6;
  overflow-x: clip;
}

img,
svg,
picture,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-style: italic;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 60;
  padding: 0.75rem 1.25rem;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-120%);
}

.skip-link:focus {
  transform: translateY(0);
}

.display {
  font-size: min(clamp(2.1rem, 1.1rem + 4.4vw, 4.6rem), var(--display-fit, 13.5cqi));
}

.display--hero {
  font-size: min(clamp(2.3rem, 0.9rem + 5.6vw, 5.4rem), var(--display-fit, 13.5cqi));
}

.display--small {
  font-size: min(clamp(1.8rem, 1.1rem + 3vw, 3.4rem), var(--display-fit, 15cqi));
}

.hero__content,
.clients__heading,
.services-intro__title,
.about__layout > div,
.reasons__intro,
.coverage > div,
.contact__information,
.location-map__heading > div,
.page-intro > div,
.section-head > div,
.sheet__copy,
.detail-block,
.closing {
  container-type: inline-size;
}

.detail-block {
  --display-fit: 9.5cqi;
}

.page-intro > div,
.section-head > div {
  --display-fit: 9.5cqi;
}

.sheet__copy {
  --display-fit: 7.5cqi;
}

.services-intro__title {
  --display-fit: 14cqi;
}

.clients__heading,
.contact__information {
  --display-fit: 15cqi;
}

.coverage > div,
.closing {
  --display-fit: 17cqi;
}

.location-map__heading > div {
  --display-fit: 20cqi;
}

.accent {
  color: var(--red);
}

.kicker {
  margin-bottom: 0.4rem;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.1rem, 0.9rem + 1vw, 1.9rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.kicker--rule {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.kicker--rule::after {
  content: '';
  flex: 0 0 clamp(3rem, 6vw, 6.5rem);
  height: 6px;
  background: var(--red);
}

.lede {
  max-width: 46ch;
  font-weight: 600;
  color: var(--ink-soft);
}

.button {
  --arrow: 15px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem calc(1.6rem + var(--arrow)) 0.85rem 1.4rem;
  border: 0;
  background: var(--red);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - var(--arrow)) 0, 100% 50%, calc(100% - var(--arrow)) 100%, 0 100%);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--ink);
  color: #fff;
}

.button--ghost {
  background: #fff;
  color: var(--red);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: var(--red);
  color: #fff;
}

.button--block {
  width: 100%;
  justify-content: center;
  padding: 1.1rem 1.4rem;
  font-size: 1rem;
  clip-path: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--red);
  border-bottom: 3px solid currentColor;
  padding-bottom: 0.15rem;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--ink);
}

.icon {
  display: block;
  width: 1em;
  height: 1em;
  flex: none;
  color: inherit;
  overflow: visible;
}

.double-chevron {
  width: 0.85em;
  height: 0.8em;
}

.arrow-button .double-chevron {
  width: clamp(1.4rem, 2.4vw, 2.1rem);
  height: clamp(1.3rem, 2.2vw, 2rem);
}

.arrow-button {
  display: inline-grid;
  place-items: center;
  width: clamp(2.5rem, 4vw, 3.4rem);
  height: clamp(2.5rem, 4vw, 3.4rem);
  border: 0;
  background: none;
  color: var(--red);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.arrow-button:hover,
.arrow-button:focus-visible {
  color: var(--red-deep);
  transform: scale(1.12);
}

.arrow-button[hidden] {
  display: none;
}

.diamonds {
  position: absolute;
  z-index: 1;
  width: clamp(9rem, 18vw, 17rem);
  aspect-ratio: 1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 calc(var(--cell) - 2px), rgba(255, 255, 255, 0.85) calc(var(--cell) - 2px) var(--cell)),
    repeating-linear-gradient(-45deg, transparent 0 calc(var(--cell) - 2px), rgba(255, 255, 255, 0.85) calc(var(--cell) - 2px) var(--cell)),
    linear-gradient(var(--diamond-color, var(--red)), var(--diamond-color, var(--red)));
  --cell: 2.1rem;
}

.diamonds--corner-bl {
  bottom: 0;
  left: 0;
  clip-path: polygon(0 0, 0 100%, 100% 100%);
}

.diamonds--corner-br {
  right: 0;
  bottom: 0;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.diamonds--corner-tl {
  top: 0;
  left: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.diamonds--corner-tr {
  top: 0;
  right: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.diamonds--soft {
  --diamond-color: #f0666b;
}

.diamonds--pale {
  --diamond-color: rgba(234, 51, 56, 0.22);
}

.slashes {
  display: flex;
  gap: 0.4rem;
  pointer-events: none;
}

.slashes span {
  width: clamp(0.8rem, 1.4vw, 1.3rem);
  height: clamp(2.2rem, 4vw, 3.4rem);
  background: var(--red);
  transform: skewX(-20deg);
}

.slashes span:first-child {
  background: var(--red-dark);
}

.slashes span:nth-child(2) {
  background: var(--red-deep);
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem var(--gutter);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: grid;
  gap: 0.05rem;
  text-decoration: none;
  line-height: 1;
}

.brand__logo {
  display: block;
  width: clamp(11.5rem, 7.5rem + 10vw, 19rem);
  height: auto;
  aspect-ratio: 2342 / 388;
  color: #1d1d1b;
}

.brand__dot {
  color: var(--red);
}

.brand--light .brand__logo {
  color: #fff;
}

.navigation {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.4vw, 1.6rem);
}

.navigation__link {
  position: relative;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  font-style: italic;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.2s ease;
}

.navigation__link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--red);
  clip-path: polygon(var(--skew) 0, 100% 0, calc(100% - var(--skew)) 100%, 0 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.navigation__link:hover,
.navigation__link:focus-visible,
.navigation__link--active {
  color: #fff;
}

.navigation__link:hover::before,
.navigation__link:focus-visible::before,
.navigation__link--active::before {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border: 2px solid var(--ink);
  background: none;
  font-weight: 800;
  font-style: italic;
  font-size: 0.8rem;
  text-transform: uppercase;
  cursor: pointer;
}

.footer {
  background: var(--ink);
  color: #fff;
}

.footer__top {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr));
  align-items: start;
  width: var(--shell);
  margin-inline: auto;
  padding: var(--block) 0 3rem;
}

.footer__nav {
  display: grid;
  gap: 0.6rem;
  font-weight: 700;
  font-style: italic;
}

.footer__nav a {
  text-decoration: none;
  width: fit-content;
  border-bottom: 2px solid transparent;
}

.footer__nav a:hover,
.footer__nav a:focus-visible {
  border-color: var(--red);
}

.footer__statement {
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.4rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  text-transform: uppercase;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  width: var(--shell);
  margin-inline: auto;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: var(--shell);
  margin-inline: auto;
  padding: 1.5rem 0 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--red);
}

.breadcrumbs [aria-current] {
  color: var(--red);
}

.reference {
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .navigation--open {
    display: flex;
  }

  .navigation__link {
    padding: 0.9rem 1rem;
    font-size: 1.05rem;
  }
}
