@font-face {
  font-family: "Archivo Black";
  src: url("fonts/archivo-black.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "WW Mono";
  src: url("fonts/mono.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #141414;
  --paper: #faf7f1;
  --teal: #00c2c2;
  --slash: var(--teal);   /* every WOLF/WINSTON slash is teal */
  --hairline: rgba(20, 20, 20, 0.16);
  --ink-soft: rgba(20, 20, 20, 0.72);
  --gutter: clamp(20px, 4.5vw, 48px);
  --font-display: "Archivo Black", "Archivo", sans-serif;
  --font-title: "Archivo", sans-serif;
  --font-mono: "WW Mono", ui-monospace, "DejaVu Sans Mono", monospace;
  --header-h: 72px;
  --lockup-size: min(17.4vw, 28vh);
  /* The mark parks fully on screen, so its width is capped by the height
     between the header and the bottom edge as well as by the viewport width. */
  --w-w: min(96vw, 1320px, calc((100vh - var(--header-h) - 36px) / 0.6));
  --w-h: calc(var(--w-w) * 0.6);
  --w-start: 71vh;   /* top edge at scroll 0, cropped by the fold */
  --w-rest: calc(var(--header-h) + 28px);   /* top edge once parked */
  --w-travel: 111vh;   /* scroll distance over which it rises */
}

* {
  box-sizing: border-box;
}

html {
  /* the mark bleeds wider than the screen on a phone; clip it rather than scroll */
  overflow-x: clip;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--teal);
  color: var(--ink);
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  background: rgba(20, 20, 20, 0.08);
}

.progress__fill {
  position: absolute;
  inset: 0;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
  padding: 0 var(--gutter);
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
}

.wordmark {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark__slash,
.footer-slash {
  color: var(--slash);
}

.lockup__slash,
.brand-slash {
  color: var(--slash);
}

.site-nav {
  display: flex;
  gap: clamp(16px, 3vw, 36px);
}

.site-nav a {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover {
  border-bottom-color: var(--teal);
}

.hero {
  /* Tall enough for the rise AND the full squash. The tail is the squash runway,
     sized so the letter has gone by the time the next section arrives. */
  position: relative;
  min-height: calc(100vh + var(--w-travel) + 45vh);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: calc(var(--header-h) + clamp(24px, 6vh, 72px)) 0 0;
}

.lockup {
  position: relative;
  z-index: 1;
  margin: 0;
  /* held back as the page scrolls, so the type lingers while the W rises, the way
     the wordmark does on mammothbrands.com (0.52px per px) */
  transform: translateY(var(--h-drop, 0px));
  font-family: var(--font-display);
  font-size: var(--lockup-size);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: -0.01em;
  text-align: center;
}

.lockup__line {
  display: block;
}

.w-mark {
  /* Fixed to the viewport at its parked position. app.js sets --w-drop, the
     distance still to rise: it starts at (--w-start - --w-rest), cropping the
     mark at the fold, and eases to 0, where it stays. Size never changes. */
  position: fixed;
  z-index: 0;
  top: var(--w-rest);
  left: 50%;
  width: var(--w-w);
  color: var(--ink);
  --w-drop: calc(var(--w-start) - var(--w-rest));
  /* --w-squash compresses the letter vertically once it has parked: the top edge
     stays put and the base rises, so it reads as a W being flattened rather than
     scaled down. Width is never touched. */
  --w-squash: 1;
  transform: translate(-50%, var(--w-drop)) scaleY(var(--w-squash));
  transform-origin: 50% 0;
  will-change: transform;
}

/* Everything after the hero paints over the parked mark. */
.section,
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--paper);
}

.w-mark__svg {
  display: block;
  width: 100%;
  height: auto;
  fill: currentColor;
  animation: w-resolve 0.42s ease-out 0.18s both;
}

/* Copied from mammothbrands.com: the mark resolves in place, from a faint grey
   to solid ink, once the wordmark has painted. */
@keyframes w-resolve {
  from {
    opacity: 0;
    fill: #9a9a9a;
  }
  to {
    opacity: 1;
    fill: var(--ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  /* No rise: the mark sits in the hero at its starting point and scrolls
     with the page. */
  .hero {
    min-height: calc(var(--w-start) + var(--w-h) + 24px);
  }

  .w-mark {
    position: absolute;
    top: var(--w-start);
    transform: translateX(-50%);
    will-change: auto;
  }

  .w-mark__svg {
    animation: none;
  }
}

.section {
  padding: clamp(88px, 13vh, 160px) max(var(--gutter), calc(50% - 590px));
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--teal);
}

.section-title {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.statement {
  margin: 28px 0 0;
  max-width: 21ch;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.lede {
  max-width: 56ch;
  margin: 40px 0 0;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--ink-soft);
}

.handled {
  margin: 48px 0 0;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: 0.01em;
}

.handled__dot {
  color: var(--teal);
}

.cta-link {
  display: inline-block;
  margin-top: 40px;
  padding: 14px 32px;
  border: 1px solid var(--ink);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.cta-link:hover {
  background: var(--ink);
  color: var(--paper);
}

.fixlist {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
}

.fixlist__item {
  display: grid;
  grid-template-columns: minmax(150px, 260px) 1fr;
  gap: 8px clamp(20px, 4vw, 56px);
  padding: clamp(22px, 3.4vh, 34px) 0;
  border-top: 1px solid var(--hairline);
}

.fixlist__item:last-child {
  border-bottom: 1px solid var(--hairline);
}

.fixlist__name {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.25;
}

.fixlist__line {
  margin: 0;
  max-width: 54ch;
  font-size: 15px;
  color: var(--ink-soft);
  align-self: center;
}




.request-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 32px;
  margin-top: 56px;
  max-width: 760px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input,
.field textarea {
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline);
  padding: 10px 2px;
  border-radius: 0;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
  box-shadow: 0 1px 0 var(--ink);
}

.btn {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-submit {
  justify-self: start;
  padding: 16px 36px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}

.btn-submit:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--ink);
}

.form-success {
  margin-top: 56px;
  max-width: 760px;
}

.form-success__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 92px);
  line-height: 1;
}

.form-success__body {
  margin: 20px 0 0;
  font-size: 16px;
  color: var(--ink-soft);
}

.btn-okay {
  margin-top: 40px;
  padding: 14px 32px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-okay:hover {
  background: var(--ink);
  color: var(--paper);
}

.site-footer {
  padding: clamp(56px, 9vh, 104px) max(var(--gutter), calc(50% - 590px)) 40px;
  border-top: 1px solid var(--hairline);
}

.footer-wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 56px);
  letter-spacing: -0.01em;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: clamp(40px, 7vh, 72px);
}

.footer-legal {
  margin: 0;
  font-size: 12px;
  color: var(--ink-soft);
}

.footer-mail {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-bottom: 1px solid var(--teal);
  padding-bottom: 2px;
}

.footer-mail:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

@media (max-width: 767px) {
  :root {
    --header-h: 60px;
    /* the letter is width-bound on a phone, so a bigger headline and a slightly
       wider mark close the dead band between the type and the top of the W */
    --lockup-size: min(18vw, 24vh);
    /* full width of the letter visible, edges close to the screen */
    --w-w: min(96vw, 700px);
    --w-start: 64svh;
    /* parked lower than on desktop: a short letter parked under the header leaves a
       void above the next section */
    --w-rest: 34svh;
  }

  /* the phone mark is short, so the hero does not need two screens of runway */
  .hero {
    min-height: calc(100vh + var(--w-travel) * 0.5 + 6vh);
  }

  /* close the dead band by moving the type down into the space above it */
  .lockup {
    margin-top: clamp(72px, 21vh, 190px);
  }

  .fixlist__item {
    grid-template-columns: 1fr;
    gap: 6px;
  }


  .fixlist__line {
    align-self: auto;
  }

  .request-form {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
