:root {
  --ink: #171714;
  --ink-soft: #262521;
  --warm-white: #f5f1e9;
  --paper: #fbf9f5;
  --stone: #948e84;
  --gold: #c59a4a;
  --gold-bright: #deb668;
  --wood: #68412c;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.5rem, 5vw, 6rem);
  --content: 86rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { display: block; width: 100%; }
a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  color: var(--ink);
  background: var(--warm-white);
  transform: translateY(-160%);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem var(--gutter);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  transition: padding .35s var(--ease), background .35s ease, backdrop-filter .35s ease;
}

.site-header.is-scrolled {
  padding-top: .8rem;
  padding-bottom: .8rem;
  background: rgba(18, 18, 16, .9);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand__mark,
.signup__mark {
  width: 3.75rem;
  color: #eee9df;
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.logo-arc,
.logo-horizon { fill: none; stroke-width: 1.5; }
.logo-horizon { stroke: currentColor; }
.logo-bowl { fill: currentColor; stroke: none; }

.brand__name {
  color: #fff;
  font-family: var(--sans);
  font-size: clamp(.9rem, 1.4vw, 1.25rem);
  font-weight: 400;
  letter-spacing: .27em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand__name b { color: var(--gold-bright); font-weight: 400; }

.header-link {
  padding: .7rem 1rem;
  border: 1px solid rgba(222, 182, 104, .8);
  font-size: .73rem;
  letter-spacing: .05em;
  text-decoration: none;
  transition: color .25s ease, background .25s ease;
}

.header-link:hover,
.header-link:focus-visible { color: var(--ink); background: var(--gold-bright); }

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center start;
  overflow: hidden;
  color: #fff;
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media {
  background: url("assets/hero-outdoor-living.jpg") 60% center / cover no-repeat;
  transform: scale(1.015);
  animation: hero-in 1.8s var(--ease) both;
}

.hero__shade {
  background: linear-gradient(90deg, rgba(10, 10, 9, .82) 0%, rgba(10, 10, 9, .48) 31%, rgba(10, 10, 9, .05) 66%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(46rem, calc(100% - 2 * var(--gutter)));
  margin: 7rem var(--gutter) 3rem;
  animation: content-in 1.15s .2s var(--ease) both;
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.3rem, 7.3vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .92;
  text-wrap: balance;
}

.hero h1 span {
  position: relative;
  top: -1.6em;
  margin-left: .2em;
  font-family: var(--sans);
  font-size: .12em;
  letter-spacing: 0;
}

.hero__content > p {
  max-width: 32rem;
  margin: 1.8rem 0 2.15rem;
  font-size: clamp(1rem, 1.4vw, 1.28rem);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.35rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .045em;
  text-decoration: none;
}

.button--outline {
  color: var(--gold-bright);
  border: 1px solid var(--gold-bright);
  transition: color .25s ease, background .25s ease;
}

.button--outline:hover,
.button--outline:focus-visible { color: var(--ink); background: var(--gold-bright); }

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .65rem;
  letter-spacing: .18em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue i {
  display: block;
  width: 3.5rem;
  height: 1px;
  background: var(--gold-bright);
}

.section {
  width: min(100%, calc(var(--content) + 2 * var(--gutter)));
  margin: 0 auto;
  padding-right: var(--gutter);
  padding-left: var(--gutter);
}

.story {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
  padding-top: clamp(5.5rem, 10vw, 10rem);
  padding-bottom: clamp(5rem, 9vw, 9rem);
}

.story__copy { max-width: 35rem; }

.story h2,
.feature h2,
.signup h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.025em;
}

.story h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: 1;
}

.gold-rule {
  display: block;
  width: 2.7rem;
  height: 2px;
  margin: 1.75rem 0;
  background: var(--gold);
}

.story__copy > p {
  max-width: 34rem;
  margin: 0 0 1.25rem;
  color: #54514c;
  font-size: 1.04rem;
}

.material-note {
  position: relative;
  min-height: 32rem;
  overflow: hidden;
  background: var(--wood);
}

.material-note__image {
  position: absolute;
  inset: 0;
  opacity: .94;
  background:
    linear-gradient(0deg, rgba(24, 21, 18, .62), rgba(24, 21, 18, .05) 70%),
    url("assets/outdoor-living-v2.jpg") 58% center / cover no-repeat;
}

.material-note > div {
  position: absolute;
  z-index: 1;
  right: 2.25rem;
  bottom: 2rem;
  left: 2.25rem;
  color: #fff;
}

.material-note p {
  margin: 0 0 .45rem;
  color: var(--gold-bright);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.material-note strong {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1.1;
}

.collection {
  display: grid;
  grid-template-columns: 1.18fr .92fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  padding-bottom: clamp(6rem, 11vw, 11rem);
}

.feature-stack { display: grid; gap: clamp(3rem, 6vw, 6rem); }
.feature__media { overflow: hidden; background: #ddd7ce; }

.feature__media img {
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.feature:hover .feature__media img { transform: scale(1.025); }
.feature--primary .feature__media { aspect-ratio: 4 / 5; }
.feature--landscape .feature__media { aspect-ratio: 3 / 2; }
.feature__copy { position: relative; padding: 1.3rem .7rem 0; }

.feature__number {
  position: absolute;
  top: 1.7rem;
  right: .6rem;
  margin: 0;
  color: var(--stone);
  font-family: var(--serif);
  font-size: .8rem;
  letter-spacing: .14em;
}

.feature h2 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
}

.feature .gold-rule { width: 1.8rem; margin: .9rem 0 1rem; }
.feature__copy > p:last-child { max-width: 38rem; margin: 0; color: #57534d; line-height: 1.55; }

.signup {
  position: relative;
  padding: clamp(5.5rem, 9vw, 8rem) var(--gutter) clamp(5rem, 8vw, 7rem);
  overflow: hidden;
  color: #fff;
  background-color: var(--ink);
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .025), transparent 28%),
    repeating-linear-gradient(105deg, rgba(255, 255, 255, .016) 0 1px, transparent 1px 6px);
  text-align: center;
}

.signup::before,
.signup::after {
  position: absolute;
  top: 50%;
  width: min(18vw, 14rem);
  height: 1px;
  background: rgba(197, 154, 74, .5);
  content: "";
}

.signup::before { left: 0; }
.signup::after { right: 0; }
.signup__mark { width: 4.5rem; }

.signup h2 {
  margin: .7rem 0 0;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.05;
}

.signup .gold-rule { margin: 1.4rem auto; }
.signup > p { max-width: 46rem; margin: 0 auto; color: #c9c6bf; }

.signup-form {
  display: grid;
  grid-template-columns: minmax(15rem, 30rem) auto;
  width: fit-content;
  max-width: 100%;
  margin: 2.3rem auto 0;
}

.signup-form input,
.signup-form button {
  min-height: 3.5rem;
  border-radius: 0;
  font: 500 .82rem/1 var(--sans);
}

.signup-form input {
  width: 100%;
  padding: 0 1.2rem;
  color: #fff;
  border: 1px solid var(--gold);
  border-right: 0;
  outline: 0;
  background: transparent;
}

.signup-form input::placeholder { color: #aaa79f; }
.signup-form input:focus { box-shadow: inset 0 0 0 1px var(--gold-bright); }

.signup-form button {
  min-width: 9.6rem;
  padding: 0 1.3rem;
  color: var(--ink);
  border: 1px solid var(--gold-bright);
  background: var(--gold-bright);
  cursor: pointer;
  transition: background .2s ease;
}

.signup-form button:hover { background: #edc87e; }

.form-status {
  grid-column: 1 / -1;
  min-height: 1.5rem;
  margin: .7rem 0 0;
  color: var(--gold-bright);
  font-size: .78rem;
}

.site-footer {
  padding: 3.7rem var(--gutter) 2rem;
  color: #fff;
  border-top: 1px solid rgba(197, 154, 74, .65);
  background: #11110f;
  text-align: center;
}

.brand--footer { justify-content: center; }
.brand--footer .brand__name { font-size: clamp(1rem, 2vw, 1.5rem); }

.site-footer > p:not(.footer-credit) {
  margin: .55rem 0 2.5rem;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
}

.site-footer > p:not(.footer-credit) span { font-size: .5em; vertical-align: super; }

.site-footer .footer-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  margin: -1.15rem 0 1.65rem;
  color: #aaa69e;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-footer .footer-credit img {
  width: clamp(7.8rem, 12vw, 10rem);
  height: auto;
  filter: invert(90%) sepia(8%) saturate(205%) hue-rotate(346deg) brightness(96%);
}

.site-footer small { color: #77746f; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }

.js .reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes hero-in { from { opacity: 0; transform: scale(1.08); } }
@keyframes content-in { from { opacity: 0; transform: translateY(1.5rem); } }

@media (max-width: 800px) {
  .site-header { padding-top: 1rem; }
  .brand { gap: .65rem; }
  .brand__mark { width: 2.6rem; }
  .header-link { display: none; }

  .hero { min-height: 48rem; }
  .hero__media { background-position: 67% center; }
  .hero__shade { background: linear-gradient(90deg, rgba(10, 10, 9, .78) 0%, rgba(10, 10, 9, .42) 70%, rgba(10, 10, 9, .08)); }
  .hero__content { align-self: end; margin-bottom: 6.5rem; }
  .scroll-cue { right: auto; left: var(--gutter); }

  .story,
  .collection { grid-template-columns: 1fr; }

  .story { gap: 3.5rem; }
  .story__copy { max-width: 40rem; }
  .material-note { min-height: 26rem; }
  .collection { gap: 4rem; }
  .feature-stack { gap: 4rem; }
  .feature--primary .feature__media { aspect-ratio: 5 / 6; }
}

@media (max-width: 540px) {
  .brand__name { font-size: .73rem; letter-spacing: .18em; }
  .hero { min-height: 44rem; }
  .hero__content { width: calc(100% - 2 * var(--gutter)); }
  .hero h1 { font-size: clamp(3rem, 16vw, 4.4rem); }
  .hero__content > p { max-width: 24rem; font-size: .95rem; }
  .material-note { min-height: 22rem; }
  .material-note__image { background-position: 58% center; background-size: cover; }
  .material-note > div { right: 1.4rem; bottom: 1.35rem; left: 1.4rem; }
  .feature__copy { padding-right: 0; padding-left: 0; }
  .feature__number { top: 1.5rem; right: 0; }
  .signup::before,
  .signup::after { display: none; }
  .signup-form { grid-template-columns: 1fr; width: 100%; }
  .signup-form input { border-right: 1px solid var(--gold); }
  .signup-form button { min-width: 100%; }
  .site-footer .footer-credit { flex-direction: column; gap: .55rem; }
  .site-footer .footer-credit img { width: 8.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
