:root {
  --ink: #161512;
  --paper: #f4f0e5;
  --stone: #d0c5b7;
  --soft: #e9e2d5;
  --mist: #d6dbd3;
  --moss: #334239;
  --black: #11110e;
  --white: #fbf6ea;
  --muted: #695f54;
  --line: rgba(22, 21, 18, 0.18);
  --max: 1480px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.line-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  min-height: 62px;
  padding: 0 24px;
  background: rgba(244, 240, 229, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.line-header nav,
.line-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-end;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

main {
  max-width: var(--max);
  margin: 0 auto;
}

.line-hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 650px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: grid;
  align-content: end;
  gap: 18px;
  padding: 54px 42px 68px;
  background: var(--stone);
}

.hero-copy span,
.section-heading span,
.summary-grid span {
  color: rgba(22, 21, 18, 0.58);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: 68px;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0.052em;
  text-transform: uppercase;
}

.hero-copy p,
.summary-grid p {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.hero-lockup {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 24px;
  padding: 42px;
  color: var(--white);
  background: var(--black);
  text-align: center;
  text-transform: uppercase;
}

.hero-lockup span {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.hero-lockup strong {
  font-size: 78px;
  line-height: 0.9;
  letter-spacing: 0.06em;
}

.hero-lockup small {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.36em;
}

.summary-section,
.marks-section,
.product-section,
.sample-section,
.attachment-section {
  padding: 72px 24px;
  border-bottom: 1px solid var(--line);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.summary-grid article {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 230px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: var(--paper);
}

.summary-grid article:nth-child(2) {
  background: var(--mist);
}

.summary-grid article:last-child {
  border-right: 0;
}

.summary-grid strong {
  font-size: 25px;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: 48px;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.052em;
  text-transform: uppercase;
}

.mark-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.mark-strip article {
  display: grid;
  grid-template-rows: 190px auto;
  min-height: 280px;
  border-right: 1px solid var(--line);
  background: var(--soft);
}

.mark-strip article:last-child {
  border-right: 0;
}

.mark-strip article.dark {
  color: var(--white);
  background: var(--black);
}

.mark-strip article.dark img {
  filter: invert(94%) sepia(9%) saturate(393%) hue-rotate(339deg) brightness(106%) contrast(96%);
}

.mark-strip img {
  width: 68%;
  align-self: center;
  justify-self: center;
}

.mark-strip p {
  margin: 0;
  padding: 18px;
  border-top: 1px solid currentColor;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.45;
}

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

.line-row {
  display: grid;
  grid-template-columns: 0.7fr 1.2fr 1.75fr 1.5fr 0.45fr;
  gap: 18px;
  align-items: center;
  min-height: 78px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.line-row:last-child {
  border-bottom: 0;
}

.line-row.priority {
  background: var(--soft);
}

.line-row.swim {
  background: var(--mist);
}

.line-head {
  min-height: 48px;
  color: rgba(22, 21, 18, 0.58);
  background: var(--soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.line-row span,
.line-row strong,
.line-row b {
  font-size: 13px;
  line-height: 1.45;
}

.line-row strong {
  font-size: 15px;
}

.line-row b {
  justify-self: start;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--white);
  background: var(--black);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.sample-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  list-style: none;
}

.sample-list li {
  display: grid;
  align-content: space-between;
  gap: 28px;
  min-height: 220px;
  padding: 20px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.sample-list li:last-child {
  border-right: 0;
}

.sample-list span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.attachment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.attachment-grid a {
  min-height: 150px;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.45;
  text-transform: uppercase;
}

.attachment-grid a:last-child {
  border-right: 0;
}

.line-footer {
  max-width: var(--max);
  margin: 0 auto;
  justify-content: space-between;
  padding: 26px 24px;
  color: var(--black);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.line-footer a {
  border-bottom: 1px solid currentColor;
}

@media (max-width: 1120px) {
  .line-hero,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .summary-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .summary-grid article:last-child {
    border-bottom: 0;
  }

  .mark-strip,
  .sample-list,
  .attachment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mark-strip article:nth-child(2n),
  .sample-list li:nth-child(2n),
  .attachment-grid a:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .line-header {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
  }

  .line-header nav,
  .line-footer {
    justify-content: flex-start;
  }

  .line-hero {
    min-height: auto;
  }

  .hero-copy,
  .hero-lockup,
  .summary-section,
  .marks-section,
  .product-section,
  .sample-section,
  .attachment-section {
    padding: 44px 18px;
  }

  h1,
  .section-heading h2 {
    font-size: 38px;
    line-height: 1.02;
  }

  .hero-lockup strong {
    font-size: 44px;
  }

  .mark-strip,
  .sample-list,
  .attachment-grid {
    grid-template-columns: 1fr;
  }

  .mark-strip article,
  .sample-list li,
  .attachment-grid a {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }

  .mark-strip article:last-child,
  .sample-list li:last-child,
  .attachment-grid a:last-child {
    border-bottom: 0;
  }

  .line-row {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
  }

  .line-head {
    display: none;
  }

  .line-footer {
    flex-direction: column;
  }
}
