@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-600-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #1b1412;
  --wine: #490515;
  --muted: #6e635f;
  --line: #e9e2dc;
}

* {
  box-sizing: border-box;
}

html {
  background: #fff;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "DM Sans", Arial, sans-serif;
}

.page {
  min-height: max(100svh, 900px);
  padding: 38px 24px 82px;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
}

.brand {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 5.4px;
  height: 98.2px;
  white-space: nowrap;
}

.brand__emblem {
  display: block;
  width: 32.4px;
  height: 32.4px;
}

.brand__name {
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 32.4px;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: 5.4px;
}

.brand__descriptor {
  color: var(--wine);
  font-size: 12.15px;
  font-weight: 600;
  line-height: 15px;
  letter-spacing: 3.375px;
}

.top-rule {
  width: min(1280px, 100%);
  height: 1px;
  flex: none;
  margin-top: 25.8px;
  background: var(--line);
}

.eyebrow {
  flex: none;
  margin: 21px 0 0;
  color: var(--wine);
  font-size: 24px;
  font-weight: 600;
  line-height: 29px;
  letter-spacing: 3.84px;
  text-transform: uppercase;
}

.illustration {
  position: relative;
  width: 690px;
  height: 390px;
  flex: none;
  margin: 7px 0 0;
}

.illustration__canvas {
  position: absolute;
  inset: 0;
}

.illustration img {
  position: absolute;
  display: block;
  max-width: none;
}

.illustration__crane-base {
  left: 203.4px;
  top: 96.4px;
  width: 62.2px;
  height: 216.6px;
}
.illustration__crane-jib {
  left: 164.4px;
  top: 62.4px;
  width: 334.3px;
  height: 55.2px;
}
.illustration__cellar-doorway {
  left: 389.45px;
  top: 166.4px;
  width: 137.1px;
  height: 142.2px;
}
.illustration__lifting-cable {
  left: 444.7px;
  top: 93.5px;
  width: 26.6261px;
  height: 53.0022px;
}
.illustration__final-arch-stone {
  left: 442.4px;
  top: 142.4px;
  width: 31.2002px;
  height: 21.2px;
}
.illustration__wine-bottle {
  left: 342.4px;
  top: 252.4px;
  width: 23.2px;
  height: 58.15px;
}
.illustration__vineyard-sprig {
  left: 519.5px;
  top: 248.45px;
  width: 53.0501px;
  height: 61.1px;
}
.illustration__ground-accents {
  left: 184.5px;
  top: 312.5px;
  width: 374px;
  height: 1px;
}

h1 {
  flex: none;
  margin: 18px 0 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 62px;
  font-weight: 600;
  line-height: 76px;
}

.mobile-break {
  display: none;
}

.message {
  max-width: 880px;
  flex: none;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
}

.bottom-rule {
  width: 76px;
  height: 2px;
  flex: none;
  margin-top: 51px;
  background: var(--wine);
}

@media (max-width: 760px) {
  .page {
    min-height: max(100svh, 844px);
    padding: 39px 28px 80px;
  }

  .brand {
    gap: 4.8px;
    height: 87.4px;
  }

  .brand__emblem {
    width: 28.8px;
    height: 28.8px;
  }

  .brand__name {
    font-size: 28.8px;
    line-height: 36px;
    letter-spacing: 4.8px;
  }

  .brand__descriptor {
    font-size: 10.8px;
    line-height: 13px;
    letter-spacing: 3px;
  }

  .top-rule {
    margin-top: 20.6px;
  }

  .eyebrow {
    margin-top: 25px;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 2.88px;
  }

  .illustration {
    width: 414px;
    height: 234px;
    margin-top: 29px;
  }

  .illustration__canvas {
    width: 690px;
    height: 390px;
    inset: auto;
    left: 0;
    top: 0;
    transform: scale(0.6);
    transform-origin: top left;
  }

  h1 {
    width: min(332px, 100%);
    margin-top: 53px;
    font-size: 44px;
    line-height: 47px;
  }

  .mobile-break {
    display: inline;
  }

  .desktop-space,
  .desktop-break {
    display: none;
  }

  .message {
    width: min(310px, 100%);
    margin-top: 15px;
    font-size: 16px;
    line-height: 22px;
  }

  .bottom-rule {
    width: 68px;
    margin-top: 72px;
  }
}

@media (max-width: 350px) {
  h1 {
    font-size: 40px;
  }
}
