:root {
  --coffee: #3a2925;
  --caramel: #b97855;
  --terracotta: #c96f55;
  --rose: #d8a09a;
  --cream: #f7f0e7;
  --butter: #f1d88a;
  --graphite: #292626;
  --paper: #fffaf3;
  --border: rgba(58, 41, 37, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--coffee);
  background:
    radial-gradient(circle at 15% 8%, rgba(241, 216, 138, 0.22), transparent 24rem),
    var(--cream);
  font-family: "DM Sans", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.08;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.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: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px clamp(24px, 6vw, 88px);
}

.brand img {
  display: block;
  width: 154px;
  height: 62px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.9rem;
  font-weight: 600;
}

.main-nav > a:not(.nav-cta) {
  transition: color 180ms ease;
}

.main-nav > a:not(.nav-cta):hover {
  color: var(--terracotta);
}

.nav-cta {
  padding: 11px 18px;
  color: var(--cream);
  background: var(--coffee);
  border-radius: 999px;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.8fr);
  align-items: center;
  min-height: 100vh;
  padding: 130px clamp(24px, 8vw, 118px) 80px;
  border-bottom: 1px solid var(--border);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(3.7rem, 7.3vw, 7.6rem);
  line-height: 0.91;
  letter-spacing: -0.07em;
}

h1 em {
  display: block;
  color: var(--terracotta);
  font-family: "Lora", serif;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.hero-copy > p {
  max-width: 580px;
  margin-bottom: 34px;
  color: rgba(58, 41, 37, 0.74);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  padding: 0 24px;
  font-weight: 700;
  border-radius: 3px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(58, 41, 37, 0.15);
}

.button-primary {
  color: var(--paper);
  background: var(--terracotta);
}

.button-dark {
  color: var(--cream);
  background: var(--coffee);
}

.text-link {
  font-size: 0.9rem;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
}

.sun-shape {
  position: absolute;
  width: min(38vw, 490px);
  aspect-ratio: 1;
  background: var(--butter);
  border-radius: 50%;
}

.hero-card {
  position: relative;
  z-index: 1;
  width: min(78%, 390px);
  padding: 54px 38px 48px;
  background: rgba(255, 250, 243, 0.94);
  border: 1px solid rgba(58, 41, 37, 0.1);
  box-shadow: 18px 22px 0 var(--rose);
  transform: rotate(2.5deg);
}

.hero-profile {
  position: absolute;
  top: -52px;
  right: -42px;
  width: 112px;
  height: 112px;
  object-fit: cover;
  border: 7px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(58, 41, 37, 0.18);
  transform: rotate(-5deg);
}

.hero-card::before,
.hero-card::after {
  position: absolute;
  width: 72px;
  height: 20px;
  content: "";
  background: rgba(185, 120, 85, 0.32);
}

.hero-card::before {
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
}

.hero-card::after {
  right: -32px;
  bottom: 46px;
  transform: rotate(82deg);
}

.card-label {
  display: block;
  margin-bottom: 26px;
  color: var(--caramel);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  font-size: clamp(2.6rem, 4.2vw, 4.4rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.hero-card em {
  display: block;
  margin-top: 12px;
  color: var(--terracotta);
  font-family: "Lora", serif;
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
}

.coffee-note {
  position: absolute;
  right: 0;
  bottom: 38px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  color: var(--cream);
  background: var(--coffee);
  font-family: "Lora", serif;
  font-size: 0.9rem;
  font-style: italic;
  transform: rotate(-4deg);
}

.scroll-note {
  position: absolute;
  bottom: 28px;
  left: clamp(24px, 8vw, 118px);
  display: flex;
  gap: 9px;
  color: rgba(58, 41, 37, 0.52);
  font-size: 0.72rem;
  font-weight: 600;
}

.section {
  position: relative;
  padding: clamp(88px, 11vw, 160px) clamp(24px, 8vw, 118px);
}

.section-number {
  position: absolute;
  top: 42px;
  left: clamp(24px, 3vw, 46px);
  color: var(--caramel);
  font-size: 0.72rem;
  font-weight: 700;
}

.manifesto {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(50px, 10vw, 160px);
  background: var(--paper);
}

.manifesto h2,
.section-heading h2,
.partnerships h2 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.manifesto-copy {
  align-self: end;
  max-width: 580px;
  padding-top: 70px;
  color: rgba(58, 41, 37, 0.76);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.signature {
  margin-top: 30px;
  color: var(--terracotta);
  font-family: "Lora", serif;
  font-size: 2rem;
  font-style: italic;
}

.content-section {
  background: var(--cream);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 58px;
}

.section-heading h2 {
  max-width: 720px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.content-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 26px;
  overflow: hidden;
  transition: transform 220ms ease;
}

.content-card:hover {
  transform: translateY(-8px);
}

.content-card h3 {
  margin: auto 0 12px;
  font-size: 1.55rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.content-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
  opacity: 0.78;
}

.card-number {
  align-self: flex-end;
  font-size: 0.7rem;
  font-weight: 700;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin-top: 48px;
  font-size: 2.1rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  transform: rotate(-8deg);
}

.card-terracotta {
  color: var(--paper);
  background: var(--terracotta);
}

.card-butter {
  background: var(--butter);
}

.card-rose {
  background: var(--rose);
}

.card-coffee {
  color: var(--paper);
  background: var(--coffee);
}

.instagram-section {
  background: var(--paper);
}

.instagram-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

.instagram-heading h2 {
  max-width: 750px;
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.instagram-heading .text-link {
  flex: 0 0 auto;
  margin-bottom: 10px;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.instagram-post {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--coffee);
  aspect-ratio: 0.7;
}

.instagram-post::after {
  position: absolute;
  inset: 45% 0 0;
  content: "";
  background: linear-gradient(transparent, rgba(41, 38, 38, 0.78));
}

.instagram-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, filter 500ms ease;
}

.instagram-post:hover img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.instagram-post span {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  color: var(--paper);
  font-size: 0.88rem;
  font-weight: 700;
}

.instagram-post b {
  font-weight: 500;
}

.quote-band {
  padding: clamp(60px, 8vw, 110px) 8vw;
  color: var(--cream);
  text-align: center;
  background: var(--terracotta);
}

.quote-band p {
  max-width: 1050px;
  margin: 0 auto;
  font-family: "Lora", serif;
  font-size: clamp(2rem, 4vw, 4.4rem);
  font-style: italic;
  line-height: 1.16;
}

.partnerships {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(54px, 10vw, 150px);
  background: var(--paper);
}

.partnership-copy > p {
  max-width: 650px;
  margin: 28px 0 32px;
  color: rgba(58, 41, 37, 0.72);
  font-size: 1.08rem;
}

.partnership-list {
  align-self: center;
  border-top: 1px solid var(--border);
}

.partnership-list div {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.partnership-list span {
  color: var(--terracotta);
  font-size: 0.7rem;
  font-weight: 700;
}

.partnership-list strong {
  font-size: 1.05rem;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 50px;
  padding: 55px clamp(24px, 8vw, 118px);
  color: var(--cream);
  background: var(--coffee);
}

.footer-brand img {
  width: 150px;
  height: 62px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 380px;
  margin: 16px 0 0;
  color: rgba(247, 240, 231, 0.62);
  font-size: 0.82rem;
}

footer > a {
  font-weight: 700;
}

footer > span {
  color: rgba(247, 240, 231, 0.55);
  font-size: 0.78rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 150px;
  }

  .hero-art {
    min-height: 500px;
  }

  .sun-shape {
    width: min(72vw, 480px);
  }

  .coffee-note {
    right: 10%;
  }

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

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

  .manifesto,
  .partnerships {
    grid-template-columns: 1fr;
  }

  .manifesto-copy {
    padding-top: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 18px 22px;
  }

  .brand img {
    width: 130px;
    height: 52px;
  }

  .menu-button {
    position: relative;
    z-index: 12;
    display: grid;
    gap: 6px;
    width: 42px;
    height: 42px;
    padding: 12px 9px;
    color: var(--coffee);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50%;
  }

  .menu-button span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 11;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 22px;
    padding: 80px 36px;
    visibility: hidden;
    opacity: 0;
    background: var(--cream);
    font-size: 1.8rem;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
  }

  .nav-cta {
    margin-top: 16px;
    font-size: 1rem;
  }

  .hero {
    min-height: auto;
    padding: 128px 22px 70px;
  }

  h1 {
    font-size: clamp(3.25rem, 16vw, 5rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-art {
    min-height: 430px;
    margin-top: 18px;
  }

  .hero-card {
    width: 78%;
    padding: 46px 28px 40px;
    box-shadow: 12px 15px 0 var(--rose);
  }

  .hero-profile {
    top: -40px;
    right: -26px;
    width: 88px;
    height: 88px;
    border-width: 5px;
  }

  .coffee-note {
    right: 2%;
    bottom: 22px;
  }

  .scroll-note {
    display: none;
  }

  .section {
    padding: 88px 22px;
  }

  .section-number {
    top: 28px;
    left: 22px;
  }

  .manifesto h2,
  .section-heading h2,
  .partnerships h2 {
    font-size: clamp(2.7rem, 12vw, 4.2rem);
  }

  .section-heading {
    display: block;
    margin-bottom: 36px;
  }

  .instagram-heading {
    display: block;
    margin-bottom: 34px;
  }

  .instagram-heading .text-link {
    display: inline-block;
    margin-top: 22px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-card {
    min-height: 340px;
  }

  .instagram-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .instagram-post span {
    right: 12px;
    bottom: 12px;
    left: 12px;
    font-size: 0.72rem;
  }

  .partnerships {
    gap: 65px;
  }

  footer {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 26px;
    padding: 48px 22px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
