:root {
  --cream: #fbf9f4;
  --linen: #f3eee5;
  --sage: #a9b09d;
  --sage-dark: #5e6959;
  --eucalyptus: #7f8b79;
  --stone: #d8d3ca;
  --terracotta: #bf765a;
  --gold: #d4ad5d;
  --ink: #2d332f;
  --muted: #666b65;
  --line: rgba(45, 51, 47, 0.15);
  --serif: Didot, "Bodoni 72", Baskerville, Georgia, serif;
  --sans: "Avenir Next", Avenir, Montserrat, Arial, sans-serif;
  --script: "Snell Roundhand", "Segoe Script", "Apple Chancery", cursive;
  --shell: 82rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  background: #fff;
  color: #111;
  transform: translateY(-160%);
}

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

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

.prototype-notice {
  padding: 0.48rem 1rem;
  background: var(--sage-dark);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(45, 51, 47, 0.07);
  background: rgba(251, 249, 244, 0.98);
}

.header-shell {
  display: grid;
  width: min(calc(100% - 2rem), var(--shell));
  min-height: 5.8rem;
  margin-inline: auto;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.wordmark {
  position: relative;
  display: inline-flex;
  width: fit-content;
  flex-direction: column;
  align-items: center;
  color: #53604f;
  text-decoration: none;
}

.wordmark-sprig {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  color: #7a886f;
  font-size: 1.35rem;
  transform: translateX(-50%) rotate(-22deg);
}

.wordmark-script {
  font-family: var(--script);
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1;
}

.wordmark-label {
  margin-top: 0.28rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.48em;
  text-transform: uppercase;
}

.nav-list {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  list-style: none;
}

.nav-list a {
  display: grid;
  min-height: 2.75rem;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-list a::after {
  width: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transition: width 180ms ease;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  width: 100%;
}

.utility-marks {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}

.search-mark,
.person-mark {
  position: relative;
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

.search-mark::before {
  position: absolute;
  top: 0.16rem;
  left: 0.12rem;
  width: 0.75rem;
  height: 0.75rem;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  content: "";
}

.search-mark::after {
  position: absolute;
  right: 0.18rem;
  bottom: 0.18rem;
  width: 0.58rem;
  height: 1.5px;
  background: var(--ink);
  content: "";
  transform: rotate(45deg);
  transform-origin: right center;
}

.person-mark::before {
  position: absolute;
  top: 0.05rem;
  left: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.person-mark::after {
  position: absolute;
  right: 0.14rem;
  bottom: 0;
  left: 0.14rem;
  height: 0.75rem;
  border: 1.5px solid var(--ink);
  border-bottom: 0;
  border-radius: 1rem 1rem 0 0;
  content: "";
}

a:focus-visible {
  outline: 3px solid #2f6fc1;
  outline-offset: 4px;
}

.hero {
  position: relative;
  min-height: clamp(30rem, 45vw, 40rem);
  overflow: hidden;
  background: #e8e3d9;
}

.hero-image,
.hero-wash {
  position: absolute;
  inset: 0;
}

.hero-image {
  background: url("assets/hero-young-family-three-dogs-v2.png") center 58% / cover no-repeat;
}

.hero-wash {
  background: linear-gradient(90deg, rgba(251, 249, 244, 0.98) 0%, rgba(251, 249, 244, 0.92) 18%, rgba(251, 249, 244, 0.52) 27%, rgba(251, 249, 244, 0.12) 36%, transparent 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--shell));
  margin-inline: auto;
  padding-top: clamp(3.5rem, 7vw, 6.5rem);
}

.hero h1 {
  max-width: 8.5ch;
  margin-bottom: 1.8rem;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 5.6vw, 6.2rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.hero h1 em {
  color: #65715e;
  font-weight: 400;
}

.hero-rule {
  display: block;
  width: 2.5rem;
  height: 1px;
  margin-bottom: 1.8rem;
  background: #788271;
}

.hero-content p {
  max-width: 18rem;
  margin-bottom: 0;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.9;
}

.values {
  padding-block: 0.9rem;
  background: #f8f5ef;
}

.values-grid {
  display: grid;
  width: min(calc(100% - 2rem), 78rem);
  margin-inline: auto;
  grid-template-columns: repeat(5, 1fr);
}

.values article {
  min-width: 0;
  padding: 0.2rem 1rem;
  border-right: 1px solid var(--line);
  text-align: center;
}

.values article:last-child {
  border-right: 0;
}

.value-icon {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  margin: 0 auto 0.4rem;
  place-items: center;
  border: 1px solid #8c9786;
  border-radius: 50%;
  color: #7e8a77;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.values h3,
.editorial-copy h3 {
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.values h3 {
  margin-bottom: 0.25rem;
  font-size: 0.64rem;
}

.values p {
  margin-bottom: 0;
  color: #4f554f;
  font-family: var(--serif);
  font-size: 0.8rem;
  line-height: 1.35;
}

.brand-section,
.editorial-section {
  padding: clamp(3rem, 5vw, 4.5rem) 1rem;
}

.section-heading {
  margin-bottom: clamp(1.6rem, 3vw, 2.5rem);
  text-align: center;
}

.section-heading p {
  margin-bottom: 0.8rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 3.8vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.brand-grid {
  display: grid;
  width: min(100%, var(--shell));
  margin-inline: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.2vw, 1.1rem);
}

.brand-card,
.editorial-grid article {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(45, 51, 47, 0.08);
  border-radius: 0.5rem;
  background: #f8f5ef;
}

.brand-card {
  display: flex;
  flex-direction: column;
}

.brand-photo {
  position: relative;
  height: clamp(11rem, 16vw, 16rem);
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.brand-photo-oaklight {
  background-image: url("assets/mockup-oaklight-woman-tshirt-back-v2.png");
}

.brand-photo-tater {
  background-image: url("assets/brand-tater-restored-v3.png");
  background-position: center;
}

.brand-photo-faithful {
  background-image: url("assets/mockup-faithful-man-hoodie-back-v2.png");
}

.brand-photo-bedbar {
  background-image: url("assets/brand-bedbar-v1.png");
  background-position: center 55%;
}

.garment-art {
  position: absolute;
  left: 50%;
  height: auto;
  pointer-events: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 0.08rem 0.08rem rgba(34, 31, 26, 0.2));
}

.garment-art-oaklight {
  top: 38%;
  width: 22%;
}

.garment-art-faithful {
  top: 28%;
  width: 27%;
}

.brand-copy {
  display: flex;
  min-height: 10.5rem;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 1.2rem 0.8rem;
  text-align: center;
}

.brand-copy h3 {
  margin-bottom: 0.65rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.8rem);
  font-weight: 400;
  line-height: 1.05;
}

.brand-copy h3.tater-name {
  color: #9a4c2f;
  font-family: "Arial Rounded MT Bold", var(--sans);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.brand-copy p {
  margin-bottom: 0.85rem;
  color: #5d625e;
  font-family: var(--serif);
  font-size: 0.88rem;
  line-height: 1.55;
}

.brand-copy a,
.editorial-copy a {
  display: inline-flex;
  min-height: 2.75rem;
  margin-top: auto;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-copy a:hover,
.editorial-copy a:hover {
  color: var(--terracotta);
}

.editorial-section {
  padding-block: clamp(2.75rem, 5vw, 4.25rem);
  border-top: 1px solid rgba(45, 51, 47, 0.04);
  background: #fbfaf7;
}

.editorial-grid {
  display: grid;
  width: min(100%, var(--shell));
  margin-inline: auto;
  grid-template-columns: minmax(11rem, 1.15fr) repeat(4, minmax(0, 1fr));
  gap: clamp(0.6rem, 1vw, 0.95rem);
}

.editorial-intro {
  display: flex;
  padding: 0.35rem clamp(0.7rem, 1.5vw, 1.4rem) 0.35rem 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.editorial-intro h2 {
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.2vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.editorial-intro p {
  max-width: 19rem;
  margin-bottom: 1.2rem;
  color: #555c56;
  font-size: 0.83rem;
  line-height: 1.55;
}

.editorial-intro a {
  display: inline-grid;
  min-height: 2.4rem;
  padding: 0.2rem 1rem;
  place-items: center;
  background: #7b876d;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.editorial-intro a:hover,
.editorial-intro a:focus-visible {
  background: #5f6c55;
}

.editorial-photo {
  height: clamp(7.5rem, 10vw, 10rem);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.editorial-garden {
  background-image: url("assets/editorial-garden-v1.png");
}

.editorial-recipes {
  background-image: url("assets/editorial-family-recipes-v1.png");
  background-position: center 48%;
}

.editorial-seasonal {
  background-image: url("assets/editorial-seasonal-living-v1.png");
  background-position: center 48%;
}

.editorial-journal {
  background-image: url("assets/editorial-journal-v1.png");
}

.editorial-copy {
  display: flex;
  min-height: 6.7rem;
  flex-direction: column;
  align-items: center;
  padding: 0.8rem 0.65rem;
  text-align: center;
}

.editorial-copy p {
  margin-bottom: 0;
  color: #5f645f;
  font-family: var(--serif);
  font-size: 0.76rem;
  line-height: 1.45;
}

.site-footer {
  position: relative;
  min-height: 17rem;
  overflow: hidden;
  background: #e8e9df;
}

.footer-image {
  position: absolute;
  inset: 0 0 0 66%;
  background: url("assets/footer-still-life-v1.png") 72% center / cover no-repeat;
}

.footer-shell {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(calc(66% - 2rem), 54rem);
  margin-right: auto;
  margin-left: max(1rem, calc((100vw - var(--shell)) / 2 + 1rem));
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
  grid-template-columns: minmax(13rem, 1.35fr) repeat(3, minmax(7rem, 0.72fr));
  gap: clamp(1.1rem, 2.2vw, 2.2rem);
}

.footer-intro {
  max-width: 19rem;
}

.footer-intro p {
  color: #515751;
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.65;
}

.social-marks {
  display: flex;
  margin-top: 1rem;
  gap: 1rem;
  color: #6c7668;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
}

.footer-shell h2 {
  margin: 0 0 1rem;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-shell ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-shell li + li {
  margin-top: 0.7rem;
}

.footer-shell a {
  font-family: var(--serif);
  font-size: 0.92rem;
  text-decoration: none;
}

.footer-shell a:hover {
  color: #53604f;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

@media (max-width: 68rem) {
  .header-shell {
    grid-template-columns: auto 1fr;
  }

  .header-shell nav {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: -1.4rem;
  }

  .nav-list {
    justify-content: center;
  }

  .utility-marks {
    grid-column: 2;
    grid-row: 1;
  }

}

@media (max-width: 48rem) {
  .prototype-notice {
    font-size: 0.6rem;
    letter-spacing: 0.09em;
  }

  .header-shell {
    min-height: 7.6rem;
    padding-top: 0.7rem;
  }

  .nav-list {
    width: calc(100vw - 2rem);
    justify-content: flex-start;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .nav-list a {
    white-space: nowrap;
  }

  .utility-marks {
    display: none;
  }

  .hero {
    min-height: 38rem;
  }

  .hero-image {
    background-position: 65% bottom;
  }

  .hero-wash {
    background:
      linear-gradient(180deg, rgba(251, 249, 244, 0.98) 0%, rgba(251, 249, 244, 0.86) 40%, rgba(251, 249, 244, 0.05) 67%, rgba(251, 249, 244, 0.2) 100%);
  }

  .hero-content {
    padding-top: 3rem;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 15vw, 5.2rem);
  }

  .hero-content p {
    max-width: 17rem;
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.2rem 0;
  }

  .values article:nth-child(2) {
    border-right: 0;
  }

  .values article:nth-child(4) {
    border-right: 0;
  }

  .values article:last-child {
    grid-column: 1 / -1;
  }

  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-photo {
    height: min(32vw, 14rem);
  }

  .brand-copy {
    min-height: 10rem;
  }

  .editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-intro {
    grid-column: 1 / -1;
    padding-right: 0;
    align-items: center;
    text-align: center;
  }

  .editorial-photo {
    height: min(28vw, 12rem);
  }

  .footer-image {
    inset: 0;
    background:
      linear-gradient(rgba(232, 233, 223, 0.84), rgba(232, 233, 223, 0.84)),
      url("assets/footer-still-life-v1.png") 70% center / cover no-repeat;
  }

  .footer-shell {
    width: min(calc(100% - 2rem), var(--shell));
    margin-inline: auto;
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 25rem) {
  .brand-grid,
  .editorial-grid,
  .values-grid,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .brand-photo,
  .editorial-photo {
    height: 12rem;
  }

  .editorial-intro {
    grid-column: auto;
  }

  .values article {
    border-right: 0;
  }

  .values article:last-child {
    grid-column: auto;
  }

  .footer-intro {
    grid-column: auto;
  }
}

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

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