@font-face {
  font-family: "Anton";
  src: url("../assets/fonts/anton-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

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

:root {
  --cement: #cbc9c0;
  --cement-light: #dfddd4;
  --graphite: #262b2b;
  --blue: #2445d8;
  --line: rgba(38, 43, 43, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  background: var(--cement);
}

body {
  color: var(--graphite);
  font-family: "Archivo", sans-serif;
}

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

.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  overflow-x: clip;
  isolation: isolate;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.22) 0 1px, transparent 2px) 0 0 / 7px 7px,
    linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 40%),
    var(--cement);
}

.hero::before {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 26px;
  height: 100%;
  content: "";
  background: var(--blue);
}

.site-header {
  position: relative;
  z-index: 7;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 104px;
  margin: 0 4.1vw;
  border-bottom: 1px solid rgba(38, 43, 43, 0.55);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  line-height: 1.06;
}

.brand-block {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  color: var(--cement-light);
  background: var(--graphite);
  font-size: 11px;
  letter-spacing: -0.02em;
  transition: color 250ms ease, background-color 250ms ease, transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.brand:hover .brand-block {
  color: #f4f2ea;
  background: var(--blue);
  transform: translateY(-2px) rotate(3deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.2vw, 54px);
}

.site-nav a,
.header-action {
  position: relative;
  padding: 9px 0;
}

.site-nav a::after,
.header-action::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-nav a:hover::after,
.header-action:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-action {
  justify-self: end;
}

.header-action span {
  margin-left: 6px;
  color: var(--blue);
  font-size: 14px;
}

.pour-number {
  position: absolute;
  z-index: 2;
  top: clamp(105px, 11vh, 132px);
  left: -0.09em;
  color: var(--blue);
  font-family: "Anton", sans-serif;
  font-size: clamp(430px, 43vw, 640px);
  font-weight: 400;
  letter-spacing: -0.085em;
  line-height: 0.79;
  white-space: nowrap;
  user-select: none;
}

.pour-image {
  position: absolute;
  z-index: 3;
  top: 145px;
  right: 4.1vw;
  width: min(54vw, 775px);
  height: min(62vh, 620px);
  margin: 0;
  overflow: hidden;
  background: var(--graphite);
}

.pour-image::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 10px solid rgba(38, 43, 43, 0.16);
  box-shadow: inset 0 0 0 1px rgba(223, 221, 212, 0.38);
  pointer-events: none;
}

.pour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
  filter: grayscale(0.38) saturate(0.82) contrast(1.12);
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1), filter 450ms ease;
}

.pour-image:hover img {
  filter: grayscale(0.12) saturate(0.92) contrast(1.06);
  transform: scale(1.02);
}

.image-code {
  position: absolute;
  z-index: 2;
  padding: 7px 9px;
  color: var(--cement-light);
  background: var(--graphite);
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.18em;
}

.code-top {
  top: 10px;
  right: 10px;
}

.code-bottom {
  bottom: 10px;
  left: 10px;
  color: #fff;
  background: var(--blue);
}

.pour-image figcaption {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 28px;
  max-width: 220px;
  color: #f4f2ea;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-align: right;
  text-transform: uppercase;
}

.headline-panel {
  position: absolute;
  z-index: 5;
  bottom: 56px;
  left: 5.1vw;
  width: min(55vw, 760px);
  padding: 28px 31px 30px;
  color: #f1efe7;
  background: var(--graphite);
  box-shadow: 14px 14px 0 rgba(36, 69, 216, 0.98);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 13px;
  color: rgba(241, 239, 231, 0.64);
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow span {
  padding: 5px 7px;
  color: #fff;
  background: var(--blue);
}

h1 {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-size: clamp(66px, 6.7vw, 98px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.86;
  text-transform: uppercase;
}

.panel-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 28px;
  margin-top: 23px;
  padding-top: 17px;
  border-top: 1px solid rgba(241, 239, 231, 0.24);
}

.panel-footer p {
  max-width: 345px;
  margin: 0;
  color: rgba(241, 239, 231, 0.7);
  font-size: 10px;
  line-height: 1.55;
}

.primary-action {
  display: inline-grid;
  grid-template-columns: 1fr 40px;
  align-items: center;
  min-width: 182px;
  color: var(--graphite);
  background: var(--cement-light);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 250ms ease, background-color 250ms ease, transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.primary-action span {
  padding-left: 14px;
}

.primary-action i {
  display: grid;
  height: 40px;
  place-items: center;
  border-left: 1px solid rgba(38, 43, 43, 0.2);
  font-style: normal;
  font-size: 14px;
  transition: transform 250ms ease;
}

.primary-action:hover {
  color: #fff;
  background: var(--blue);
  transform: translateY(-3px);
}

.primary-action:hover i {
  transform: translateX(3px);
}

.primary-action:active {
  transform: translateY(1px) scale(0.985);
}

.mix-note {
  position: absolute;
  z-index: 5;
  right: 5.5vw;
  bottom: 65px;
  width: min(23vw, 300px);
  padding-top: 10px;
  border-top: 3px solid var(--graphite);
}

.mix-note .note-index {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.mix-note p {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.55;
}

.technical-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.grid-lines,
.dimension-lines,
.tie-marks {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.grid-lines {
  stroke: rgba(38, 43, 43, 0.11);
  stroke-width: 1;
}

.dimension-lines {
  stroke: rgba(36, 69, 216, 0.58);
  stroke-width: 1;
}

.tie-marks {
  stroke: rgba(38, 43, 43, 0.35);
  stroke-width: 1;
}

.measure {
  position: absolute;
  z-index: 4;
  color: var(--blue);
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.measure-horizontal {
  top: 126px;
  right: 7vw;
}

.measure-vertical {
  top: 50%;
  right: 11px;
  color: #fff;
  transform: translateY(-50%) rotate(90deg);
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .pour-image {
    width: 58vw;
  }

  .mix-note {
    display: none;
  }
}

@media (max-width: 650px) {
  .hero::before {
    width: 10px;
  }

  .site-header {
    height: 72px;
    margin: 0 20px;
  }

  .brand {
    gap: 7px;
    font-size: 8px;
  }

  .brand-block {
    width: 30px;
    height: 30px;
    font-size: 9px;
  }

  .header-action {
    font-size: 7px;
  }

  .pour-number {
    top: 100px;
    left: -16px;
    font-size: 260px;
    line-height: 0.8;
  }

  .pour-image {
    top: 166px;
    right: 19px;
    width: calc(100% - 68px);
    height: 38dvh;
    min-height: 295px;
    max-height: 340px;
  }

  .pour-image img {
    object-position: 47% center;
  }

  .pour-image::after {
    border-width: 6px;
  }

  .image-code {
    font-size: 6px;
  }

  .code-top {
    top: 6px;
    right: 6px;
  }

  .code-bottom {
    bottom: 6px;
    left: 6px;
  }

  .pour-image figcaption {
    right: 17px;
    bottom: 17px;
    max-width: 135px;
    font-size: 7px;
  }

  .headline-panel {
    right: 29px;
    bottom: 28px;
    left: 20px;
    width: auto;
    padding: 18px 18px 19px;
    box-shadow: 8px 8px 0 var(--blue);
  }

  .eyebrow {
    margin-bottom: 9px;
    font-size: 6px;
  }

  h1 {
    font-size: clamp(51px, 15vw, 60px);
    line-height: 0.87;
  }

  .panel-footer {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 14px;
    padding-top: 12px;
  }

  .panel-footer p {
    max-width: 280px;
    font-size: 8px;
    line-height: 1.45;
  }

  .primary-action {
    width: 176px;
  }

  .measure-horizontal {
    display: none;
  }

  .technical-layer {
    width: 160%;
    transform: translateX(-28%);
  }
}

@media (max-height: 700px) and (max-width: 650px) {
  .pour-number {
    top: 82px;
    font-size: 230px;
  }

  .pour-image {
    top: 139px;
    min-height: 260px;
  }

  .headline-panel {
    bottom: 23px;
  }

  h1 {
    font-size: 48px;
  }

  .panel-footer p {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
