:root {
  --paper: #f2efe6;
  --ink: #111111;
  --green: #0b5d3b;
  --green-dark: #07462d;
  --yellow: #f4c900;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 1px 1px, rgb(17 17 17 / 4%) 0.7px, transparent 0.8px)
      0 0 / 6px 6px,
    var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

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

.site-shell {
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
  padding: clamp(24px, 3.6vw, 58px) clamp(24px, 5vw, 80px) 30px;
  isolation: isolate;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  width: max-content;
}

.brand-mark {
  font-size: clamp(3.75rem, 5.6vw, 5.75rem);
  font-weight: 850;
  letter-spacing: -0.08em;
  line-height: 0.78;
}

.brand-rule {
  width: 3px;
  height: 66px;
  background: var(--green);
}

.brand-name {
  font-size: clamp(0.88rem, 1.2vw, 1.16rem);
  font-weight: 650;
  letter-spacing: 0.06em;
  line-height: 1.08;
  text-transform: uppercase;
}

.domain {
  font-size: clamp(1rem, 1.5vw, 1.4rem);
  font-weight: 720;
  letter-spacing: -0.03em;
}

.header-rule {
  position: relative;
  z-index: 5;
  height: 34px;
  margin-top: 17px;
  border-top: 2px solid var(--green);
}

.header-rule span {
  position: absolute;
  top: -2px;
  right: 14.5%;
  width: 180px;
  height: 34px;
  background: var(--green);
  clip-path: polygon(16% 0, 100% 0, 88% 100%, 0 100%);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr);
  min-height: 0;
  align-items: center;
  gap: clamp(30px, 4.2vw, 76px);
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 780px;
  padding: clamp(24px, 4vh, 58px) 0 22px;
  animation: rise-in 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow {
  margin: 0 0 clamp(22px, 3vh, 36px);
  color: var(--green);
  font-size: clamp(0.75rem, 1vw, 1rem);
  font-weight: 760;
  letter-spacing: 0.34em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1 {
  max-width: 770px;
  margin: 0;
  font-size: clamp(4.2rem, 7.2vw, 7.35rem);
  font-weight: 820;
  letter-spacing: -0.075em;
  line-height: 0.88;
  text-wrap: balance;
}

.accent-word {
  display: inline-block;
}

.intro {
  max-width: 650px;
  margin: clamp(24px, 3.2vh, 36px) 0 30px;
  font-size: clamp(1.06rem, 1.55vw, 1.55rem);
  font-weight: 430;
  letter-spacing: -0.025em;
  line-height: 1.42;
}

.contact-button {
  display: inline-flex;
  min-height: 64px;
  align-items: stretch;
  overflow: hidden;
  background: var(--green);
  color: var(--white);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  font-weight: 680;
  box-shadow: 0 14px 32px rgb(7 70 45 / 14%);
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.contact-button > span:first-child {
  display: grid;
  min-width: 226px;
  place-items: center;
  padding: 16px 28px;
}

.button-arrow {
  display: grid;
  width: 68px;
  place-items: center;
  background: var(--yellow);
  color: var(--ink);
  font-size: 2rem;
  font-weight: 400;
  transition: transform 180ms ease;
}

.contact-button:hover {
  background: var(--green-dark);
  box-shadow: 0 18px 38px rgb(7 70 45 / 20%);
  transform: translateY(-2px);
}

.contact-button:hover .button-arrow {
  transform: translateX(4px);
}

.contact-button:focus-visible,
.brand:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 5px;
}

.hero-visual {
  position: relative;
  z-index: 2;
  align-self: stretch;
  min-height: 510px;
  margin-right: calc(clamp(24px, 5vw, 80px) * -1);
  overflow: hidden;
  background: #d9d3c7;
  clip-path: polygon(23% 0, 100% 0, 100% 100%, 21% 100%, 0 67%);
  animation: reveal-visual 850ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(11 93 59 / 7%), transparent 35%);
  content: "";
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 510px;
  object-fit: cover;
  object-position: 56% center;
  filter: saturate(0.88) contrast(1.03);
}

.green-ribbon,
.yellow-ribbon {
  position: absolute;
  z-index: 3;
  display: block;
}

.ribbon-top {
  top: 0;
  left: 12%;
  width: 48%;
  height: 13%;
  background: var(--green);
  clip-path: polygon(17% 0, 100% 0, 82% 100%, 0 100%);
}

.yellow-ribbon {
  right: -3%;
  bottom: 8%;
  width: 53%;
  height: 24%;
  background: var(--yellow);
  clip-path: polygon(20% 0, 100% 0, 84% 100%, 0 100%);
}

.ribbon-bottom {
  right: -4%;
  bottom: 0;
  width: 36%;
  height: 14%;
  background: var(--green);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

.site-footer {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-top: 18px;
}

.site-footer p {
  margin: 0;
  color: rgb(17 17 17 / 64%);
  font-size: 0.8rem;
  font-weight: 580;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.progress-track {
  display: flex;
  width: min(100%, 610px);
  align-items: center;
}

.progress-dot {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1.5px solid var(--green);
  border-radius: 50%;
  background: var(--paper);
}

.progress-dot.active {
  border: 0;
  background: var(--green);
}

.progress-line {
  width: clamp(32px, 6vw, 110px);
  height: 1.5px;
  background: var(--green);
}

.progress-dashes {
  width: 160px;
  height: 3px;
  margin-left: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--green) 0 3px,
    transparent 3px 10px
  );
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-visual {
  from {
    opacity: 0;
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%, 100% 67%);
  }
  to {
    opacity: 1;
    clip-path: polygon(23% 0, 100% 0, 100% 100%, 21% 100%, 0 67%);
  }
}

@media (max-width: 1080px) {
  .site-shell {
    overflow: auto;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.72fr);
    gap: 24px;
  }

  h1 {
    font-size: clamp(3.8rem, 7vw, 5.7rem);
  }

  .hero-visual {
    min-height: 480px;
  }
}

@media (max-width: 760px) {
  .site-shell {
    display: block;
    min-height: 100svh;
    padding: 25px 22px 28px;
    overflow: hidden;
  }

  .brand {
    gap: 13px;
  }

  .brand-mark {
    font-size: 3.1rem;
  }

  .brand-rule {
    width: 2px;
    height: 44px;
  }

  .brand-name {
    font-size: 0.67rem;
  }

  .domain {
    font-size: 0.92rem;
  }

  .header-rule {
    height: 24px;
    margin-top: 16px;
  }

  .header-rule span {
    right: 4%;
    width: 92px;
    height: 24px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .hero-copy {
    width: 100%;
    padding: 26px 0 0;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 0.64rem;
    letter-spacing: 0.27em;
  }

  h1 {
    max-width: 620px;
    font-size: clamp(3.45rem, 16vw, 5.2rem);
    line-height: 0.9;
  }

  .intro {
    margin: 22px 0 25px;
    font-size: 1.04rem;
  }

  .contact-button {
    width: 100%;
    min-height: 58px;
  }

  .contact-button > span:first-child {
    min-width: 0;
    flex: 1;
  }

  .hero-visual {
    width: calc(100% + 44px);
    min-height: 310px;
    margin: 0 -22px;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%, 0 28%);
  }

  .hero-visual img {
    min-height: 310px;
    object-position: center;
  }

  .ribbon-top {
    left: 0;
  }

  .site-footer {
    display: block;
    padding-top: 28px;
  }

  .progress-track {
    width: 100%;
    margin-bottom: 20px;
  }
}

@media (max-width: 430px) {
  .domain {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 15.5vw, 4.2rem);
  }

  .site-footer p {
    line-height: 1.6;
  }
}

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