/* ============================================================
   NAMELESS CPG — warm editorial redesign
   Cream paper · espresso ink · terracotta accent
   Fraunces (display) + Instrument Sans (body)
   ============================================================ */

:root {
  --paper: #f6f1e7;
  --paper-deep: #efe7d8;
  --ink: #221a12;
  --ink-soft: #52483c;
  --terra: #e4572e;
  --terra-deep: #c74722;
  --butter: #f2c94c;
  --sage: #7d9b76;
  --blush: #f3dcd4;
  --sky: #cfdedd;
  --sand: #f5e6c8;
  --ok: #3e7a4e;
  --grow: #b06e12;
  --scale: #305f8a;
  --radius: 22px;
  --display: "Fraunces", Georgia, serif;
  --body: "Instrument Sans", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* paper grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--terra); color: var(--paper); }

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

/* ─────────── reveal animations ─────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.12s; }
.d2 { transition-delay: 0.24s; }
.d3 { transition-delay: 0.36s; }
.d4 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track { animation: none !important; }
  .float { animation: none !important; }
}

/* ─────────── nav ─────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
}

.nav__mark {
  display: flex;
  align-items: baseline;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.nav__n {
  display: grid;
  place-items: center;
  width: 2.1rem; height: 2.1rem;
  margin-right: 0.4rem;
  background: var(--terra);
  color: var(--paper);
  border-radius: 8px;
  font-size: 1.3rem;
  transform: rotate(-4deg);
  transition: transform 0.3s var(--ease);
}
.nav__mark:hover .nav__n { transform: rotate(4deg) scale(1.06); }
.nav__word em { font-style: normal; color: var(--terra); }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav__links a {
  text-decoration: none;
  position: relative;
}
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
  padding: 0.55rem 1.15rem;
  background: var(--ink);
  color: var(--paper) !important;
  border-radius: 999px;
  transition: background 0.25s, transform 0.25s var(--ease);
}
.nav__cta:hover { background: var(--terra); transform: translateY(-2px); }

.nav__burger { display: none; }

/* ─────────── hero ─────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7.5rem clamp(1.25rem, 5vw, 4.5rem) 4rem;
}

.hero__eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--terra);
  margin-bottom: 1.4rem;
}

.hero__title {
  font-family: var(--display);
  font-weight: 640;
  font-variation-settings: "SOFT" 60, "WONK" 1;
  font-size: clamp(3rem, 10.5vw, 8.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 12ch;
}
.hero__title .line { display: block; }
.hero__title em {
  font-style: italic;
  color: var(--terra);
}

.hero__sub {
  margin-top: 2rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}

.btn {
  display: inline-block;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.3s var(--ease), background 0.25s, color 0.25s, box-shadow 0.3s;
}
.btn--fill {
  background: var(--terra);
  color: var(--paper);
  box-shadow: 0 10px 26px -10px color-mix(in srgb, var(--terra) 70%, transparent);
}
.btn--fill:hover { background: var(--terra-deep); transform: translateY(-3px); }
.btn--line {
  border: 2px solid var(--ink);
  color: var(--ink);
}
.btn--line:hover { background: var(--ink); color: var(--paper); transform: translateY(-3px); }
.btn--sm { padding: 0.6rem 1.3rem; font-size: 0.9rem; }

/* floating product stage */
.hero__stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.float {
  position: absolute;
  border-radius: 18px;
  animation: bob 7s ease-in-out infinite;
  will-change: transform;
  filter: drop-shadow(0 24px 30px rgba(34, 26, 18, 0.18));
}
.float img { width: 100%; height: 100%; object-fit: contain; }
.float--2 img, .feature__img { border-radius: 18px; }

.float--1 { width: clamp(130px, 17vw, 250px); top: 12%; right: 6%; transform: rotate(8deg); animation-delay: 0s; }
.float--2 { width: clamp(110px, 14vw, 210px); top: 44%; right: 22%; transform: rotate(-7deg); animation-delay: 1.4s; }
.float--3 { width: clamp(100px, 13vw, 190px); top: 66%; right: 5%; transform: rotate(5deg); animation-delay: 2.8s; }
.float--4 { width: clamp(90px, 11vw, 160px); top: 8%; right: 30%; transform: rotate(-10deg); animation-delay: 2.1s; }
.float--5 { width: clamp(110px, 14vw, 200px); top: 72%; right: 32%; transform: rotate(-4deg); animation-delay: 0.7s; }

@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -16px; }
}

/* ─────────── ticker ─────────── */
.ticker {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 0.9rem 0;
  transform: rotate(-1.2deg) scale(1.02);
  border-top: 3px solid var(--terra);
  border-bottom: 3px solid var(--terra);
}
.ticker__track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--display);
  font-size: 1.35rem;
  font-style: italic;
  letter-spacing: 0.02em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─────────── sections & headings ─────────── */
section { padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 5vw, 4.5rem); }

.eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--terra);
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--sand); }

.section-head { max-width: 52rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head h2 {
  font-family: var(--display);
  font-weight: 620;
  font-variation-settings: "SOFT" 50, "WONK" 1;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.section-head h2 em { font-style: italic; color: var(--terra); }
.section-head__sub {
  margin-top: 1.3rem;
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 40rem;
}
.section-head--light h2, .section-head--light .section-head__sub { color: var(--paper); }
.section-head--light .section-head__sub { opacity: 0.75; }
.section-head--light h2 em { color: var(--butter); }

/* ─────────── chips ─────────── */
.chip {
  display: inline-block;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  color: var(--ink-soft);
}
.chip--ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.chip--grow { background: color-mix(in srgb, var(--grow) 16%, transparent); color: var(--grow); }
.chip--scale { background: color-mix(in srgb, var(--scale) 14%, transparent); color: var(--scale); }
.chip--ghost { background: transparent; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 22%, transparent); }

/* ─────────── featured brands ─────────── */
.feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 3.5rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.feature--flip { grid-template-columns: 1fr 1.15fr; }
.feature--flip .feature__media { order: 2; }
.feature--flip .feature__body { order: 1; }

.feature--wander { background: var(--blush); }
.feature--awkward { background: var(--sand); }
.feature--taos { background: var(--sky); }

.feature__media {
  position: relative;
  min-height: clamp(260px, 34vw, 430px);
}
.feature__img {
  position: absolute;
  object-fit: cover;
  box-shadow: 0 24px 48px -18px rgba(34, 26, 18, 0.35);
  transition: transform 0.5s var(--ease);
}
.feature__img--a { width: 58%; aspect-ratio: 1; top: 4%; left: 2%; transform: rotate(-4deg); z-index: 2; }
.feature__img--b { width: 44%; aspect-ratio: 1; top: 28%; right: 4%; transform: rotate(5deg); z-index: 3; }
.feature__img--c { width: 38%; aspect-ratio: 1; bottom: 0; left: 22%; transform: rotate(-8deg); z-index: 1; }
.feature:hover .feature__img--a { transform: rotate(-1deg) translateY(-8px); }
.feature:hover .feature__img--b { transform: rotate(2deg) translateY(-10px); }
.feature:hover .feature__img--c { transform: rotate(-5deg) translateY(-6px); }

.feature__meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.1rem; }
.feature__name {
  font-family: var(--display);
  font-weight: 640;
  font-variation-settings: "SOFT" 40, "WONK" 1;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: 1rem;
}
.feature__desc { font-size: 1.08rem; color: var(--ink-soft); max-width: 30rem; }
.feature__link {
  display: inline-block;
  margin-top: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--terra);
  padding-bottom: 2px;
  transition: color 0.25s;
}
.feature__link span { display: inline-block; transition: transform 0.3s var(--ease); }
.feature__link:hover { color: var(--terra); }
.feature__link:hover span { transform: translate(3px, -3px); }

/* ─────────── portfolio grid ─────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.card {
  background: #fffdf8;
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  box-shadow: 0 28px 48px -22px rgba(34, 26, 18, 0.3);
}
.card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-deep); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 1.4rem 1.5rem 1.7rem; }
.card__meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.8rem; }
.card h4 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 640;
  margin-bottom: 0.45rem;
}
.card p { font-size: 0.95rem; color: var(--ink-soft); }
.card--cta {
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--ink);
  border: none;
}
.card--cta h4, .card--cta p { color: var(--paper); }
.card--cta p { opacity: 0.7; margin-bottom: 1.2rem; }
.card--cta .btn--line { border-color: var(--paper); color: var(--paper); }
.card--cta .btn--line:hover { background: var(--terra); border-color: var(--terra); }

/* ─────────── verticals ─────────── */
.verticals { background: var(--paper-deep); }
.vlist { list-style: none; max-width: 62rem; }
.vlist__item {
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.8rem);
  align-items: baseline;
  padding: clamp(1.5rem, 3vw, 2.2rem) 0;
  border-bottom: 1.5px solid color-mix(in srgb, var(--ink) 14%, transparent);
  transition: padding-left 0.35s var(--ease);
}
.vlist__item:hover { padding-left: 1rem; }
.vlist__num {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--terra);
  min-width: 2.2ch;
}
.vlist__item h3 {
  font-family: var(--display);
  font-weight: 620;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}
.vlist__item p { color: var(--ink-soft); max-width: 44rem; }

/* ─────────── approach ─────────── */
.approach {
  background: var(--ink);
  color: var(--paper);
  border-radius: clamp(24px, 4vw, 48px);
  margin: 0 clamp(0.6rem, 1.5vw, 1.5rem);
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.step {
  background: color-mix(in srgb, var(--paper) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--paper) 14%, transparent);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: transform 0.35s var(--ease), background 0.35s;
}
.step:hover { transform: translateY(-6px); background: color-mix(in srgb, var(--paper) 10%, transparent); }
.step__num {
  font-family: var(--display);
  font-style: italic;
  font-size: 2.2rem;
  color: var(--butter);
  display: block;
  margin-bottom: 0.7rem;
}
.step h3 { font-family: var(--display); font-size: 1.35rem; font-weight: 620; margin-bottom: 0.4rem; }
.step p { font-size: 0.96rem; opacity: 0.75; }

.approach__values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid color-mix(in srgb, var(--paper) 16%, transparent);
  padding-top: clamp(1.8rem, 3vw, 2.8rem);
}
.approach__values h4 {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 640;
  color: var(--butter);
  margin-bottom: 0.35rem;
}
.approach__values p { font-size: 0.92rem; opacity: 0.72; }

/* ─────────── team ─────────── */
.team__hero {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  box-shadow: 0 30px 60px -30px rgba(34, 26, 18, 0.4);
}
.team__hero img { width: 100%; max-height: 30rem; object-fit: cover; object-position: center 22%; }

.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(1.4rem, 3vw, 2.4rem);
  text-align: center;
}
.member img {
  width: clamp(120px, 12vw, 160px);
  height: clamp(120px, 12vw, 160px);
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid #fffdf8;
  box-shadow: 0 14px 30px -12px rgba(34, 26, 18, 0.35);
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.member:hover img { transform: rotate(-3deg) scale(1.05); border-color: var(--terra); }
.member h3 { font-family: var(--display); font-size: 1.25rem; font-weight: 640; }
.member p { font-size: 0.9rem; color: var(--terra); font-weight: 600; margin-bottom: 0.5rem; }
.member__links { display: flex; justify-content: center; gap: 0.6rem; }
.member__links a {
  display: grid;
  place-items: center;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.member__links a:hover { background: var(--terra); color: var(--paper); transform: translateY(-3px); }

/* ─────────── contact ─────────── */
.contact {
  background: var(--terra);
  color: var(--paper);
  text-align: center;
  border-radius: clamp(24px, 4vw, 48px);
  margin: 0 clamp(0.6rem, 1.5vw, 1.5rem) clamp(1rem, 2vw, 2rem);
}
.contact__title {
  font-family: var(--display);
  font-weight: 640;
  font-variation-settings: "SOFT" 70, "WONK" 1;
  font-size: clamp(3rem, 9vw, 7rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.contact__title em { font-style: italic; color: var(--butter); }
.contact__sub {
  max-width: 34rem;
  margin: 1.4rem auto 2.2rem;
  font-size: 1.1rem;
  opacity: 0.9;
}
.contact__mail {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(1.3rem, 3.4vw, 2.4rem);
  font-weight: 620;
  text-decoration: none;
  background: var(--ink);
  padding: 1rem 2.2rem;
  border-radius: 999px;
  transition: transform 0.35s var(--ease), background 0.3s;
}
.contact__mail:hover { transform: translateY(-4px) rotate(-1deg); background: #000; }
.contact__loc {
  margin-top: 2rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.8;
}

/* ─────────── footer ─────────── */
.footer {
  padding: 3rem clamp(1.25rem, 5vw, 4.5rem) 0;
  overflow: hidden;
}
.footer__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding-bottom: 1.5rem;
}
.footer__row nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer__row a { text-decoration: none; }
.footer__row a:hover { color: var(--terra); }
.footer__mark {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(4rem, 16vw, 15rem);
  letter-spacing: -0.04em;
  line-height: 0.72;
  text-align: center;
  color: color-mix(in srgb, var(--ink) 9%, transparent);
  user-select: none;
  transform: translateY(18%);
}

/* ─────────── responsive ─────────── */
@media (max-width: 900px) {
  .feature, .feature--flip { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .feature__media { min-height: clamp(240px, 60vw, 380px); }
  .hero__stage { opacity: 0.4; }
}

@media (max-width: 680px) {
  .nav__links {
    position: fixed;
    inset: 0;
    top: 0;
    flex-direction: column;
    justify-content: center;
    background: var(--paper);
    font-size: 1.4rem;
    gap: 2rem;
    transform: translateY(-100%);
    transition: transform 0.45s var(--ease);
    z-index: -1;
  }
  .nav.is-open .nav__links { transform: none; }
  .nav__burger {
    display: grid;
    gap: 6px;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
  }
  .nav__burger span {
    width: 26px; height: 2.5px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.35s var(--ease);
  }
  .nav.is-open .nav__burger span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .hero { padding-top: 6.5rem; }
  .hero__stage { position: relative; inset: auto; height: 300px; margin-top: 2.5rem; opacity: 1; }
  .float--1 { top: 6%; right: 4%; }
  .float--2 { top: 30%; right: 38%; }
  .float--3 { top: 52%; right: 8%; }
  .float--4 { top: 4%; right: 62%; }
  .float--5 { top: 48%; right: 64%; }
}
