@font-face {
  font-family: "Paytone One";
  src: url("assets/fonts/paytone-one.ttf") format("truetype");
  font-display: swap;
}

:root {
  --gold: #fecf00;
  --olive: #494436;
  --ink: #1a1a1a;
  --paper: #fbfbfb;
  --cream: #fdeeb3;
  --line: rgba(73, 68, 54, 0.18);
  --content: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--olive);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--olive);
  color: white;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: min(calc(100% - 3rem), var(--content));
  min-height: 104px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  padding: 0.55rem 0.9rem;
  border-radius: 0.8rem;
  background: var(--gold);
}

.brand img {
  display: block;
  width: 190px;
  height: auto;
}

.header-link {
  padding: 0.72rem 1.2rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.header-link:hover,
.header-link:focus-visible {
  color: var(--olive);
  background: var(--cream);
  border-color: var(--olive);
  transform: translateY(-2px);
}

.hero {
  width: min(calc(100% - 3rem), var(--content));
  min-height: calc(100svh - 104px);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8.5rem) 0 clamp(5rem, 10vw, 9rem);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(330px, 0.6fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.section-number {
  margin: 0;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Paytone One", ui-sans-serif, sans-serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 900px;
  font-size: clamp(3.15rem, 4.15vw, 4.15rem);
  line-height: 0.98;
}

h1 span {
  white-space: nowrap;
}

.hero-intro {
  max-width: 560px;
  margin: 2rem 0 0;
  color: rgba(73, 68, 54, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}

.product-shot {
  position: relative;
  width: min(100%, 304px);
  margin: 0 3.5rem 0 0;
  justify-self: end;
  isolation: isolate;
}

.product-shot img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  border: 8px solid var(--olive);
  border-radius: 2rem;
  background: var(--olive);
  box-shadow: 0 28px 70px rgba(73, 68, 54, 0.2);
}

.status-section,
.contact-section {
  padding: clamp(5rem, 11vw, 10rem) max(1.5rem, calc((100vw - var(--content)) / 2));
  display: grid;
  grid-template-columns: minmax(110px, 0.35fr) minmax(0, 1fr) minmax(150px, 0.3fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.status-section {
  color: var(--paper);
  background: var(--olive);
}

.section-number {
  padding-top: 0.55rem;
  color: inherit;
  opacity: 0.58;
}

.section-copy h2,
.contact-copy h2 {
  font-size: clamp(2.8rem, 6.2vw, 6.2rem);
  line-height: 0.98;
}

.section-copy p,
.contact-copy p {
  max-width: 590px;
  margin: 2rem 0 0;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  opacity: 0.72;
}

.signal {
  min-height: 210px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.55rem;
}

.signal span {
  width: 0.65rem;
  border-radius: 999px;
  background: var(--gold);
}

.signal span:nth-child(1) { height: 22%; opacity: 0.35; }
.signal span:nth-child(2) { height: 38%; opacity: 0.5; }
.signal span:nth-child(3) { height: 57%; opacity: 0.68; }
.signal span:nth-child(4) { height: 78%; opacity: 0.84; }
.signal span:nth-child(5) { height: 100%; }

.contact-section {
  grid-template-columns: minmax(110px, 0.35fr) minmax(0, 1fr);
  color: var(--olive);
  background: var(--gold);
}

.contact-copy p {
  max-width: 480px;
}

.email-link {
  width: fit-content;
  margin-top: 2.5rem;
  padding-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 2px solid currentColor;
  font-size: clamp(1.1rem, 2.4vw, 2rem);
  font-weight: 780;
  text-decoration: none;
}

.email-link span {
  transition: transform 160ms ease;
}

.email-link:hover span,
.email-link:focus-visible span {
  transform: translate(3px, -3px);
}

.linkedin-link {
  width: fit-content;
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
}

.linkedin-link::before {
  content: "in";
  width: 1.65rem;
  height: 1.65rem;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 0.35rem;
  font-size: 0.76rem;
  font-weight: 850;
}

.linkedin-link span {
  transition: transform 160ms ease;
}

.linkedin-link:hover,
.linkedin-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.linkedin-link:hover span,
.linkedin-link:focus-visible span {
  transform: translate(2px, -2px);
}

.site-footer {
  padding: 2.2rem max(1.5rem, calc((100vw - var(--content)) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  color: var(--paper);
  background: var(--olive);
  font-size: 0.75rem;
}

.footer-brand {
  font-family: "Paytone One", sans-serif;
  font-size: 1.2rem;
  text-decoration: none;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.site-footer nav a {
  color: inherit;
  opacity: 0.72;
  text-decoration: none;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.site-footer p {
  margin: 0;
  text-align: right;
  opacity: 0.58;
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .product-shot {
    width: min(78vw, 304px);
    margin: 0 auto;
    justify-self: center;
  }

  .status-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .signal {
    min-height: 100px;
    justify-content: flex-start;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer p {
    text-align: center;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero {
    width: min(calc(100% - 2rem), var(--content));
  }

  .site-header {
    min-height: 84px;
  }

  .brand img {
    width: 154px;
  }

  .header-link {
    padding: 0.58rem 0.9rem;
  }

  .hero {
    padding-top: 3.8rem;
  }

  h1 {
    font-size: clamp(2.85rem, 13vw, 4rem);
  }

  h1 span {
    white-space: normal;
  }

  .product-shot img {
    border-width: 6px;
    border-radius: 1.6rem;
  }

  .site-footer nav {
    flex-direction: column;
    gap: 0.8rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
