:root {
  --background: #ffffff;
  --foreground: #141313;
  --smoke: #f2f0ed;
  --charcoal: #1c1a18;
  --ash: #5b5650;
  --ember: #e85d24;
  --ember-dark: #b63d17;
  --line: #e8e1d9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 8%, rgba(232, 93, 36, 0.1), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, #ffffff 62%, #f8f7f5 100%);
}

.topbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(28, 26, 24, 0.08);
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto 1fr;
  left: 0;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.brand-lockup {
  align-items: center;
  display: inline-flex;
  gap: 0.75rem;
  justify-self: start;
  min-width: 0;
}

.brand-lockup strong,
.brand-lockup small {
  display: block;
  line-height: 1.05;
}

.brand-lockup strong {
  color: var(--charcoal);
  font-size: 0.98rem;
  font-weight: 820;
}

.brand-lockup small {
  color: var(--ash);
  font-size: 0.75rem;
  margin-top: 0.14rem;
  text-transform: uppercase;
}

.brand-mark {
  align-items: center;
  aspect-ratio: 1;
  background: var(--charcoal);
  border: 2px solid var(--ember);
  color: #fff;
  display: inline-flex;
  flex: 0 0 2.7rem;
  font-size: 0.8rem;
  font-weight: 900;
  justify-content: center;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  justify-content: center;
}

.nav-links a {
  color: #393632;
  font-size: 0.88rem;
  font-weight: 720;
}

.nav-cta,
.primary-button,
.secondary-button,
.quote-form button {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-weight: 840;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.1rem;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.nav-cta {
  background: var(--charcoal);
  color: #fff;
  font-size: 0.88rem;
  justify-self: end;
}

.nav-cta::after,
.primary-button::after {
  content: "↗";
  font-size: 0.95em;
  margin-left: 0.55rem;
}

.nav-cta:hover,
.primary-button:hover,
.secondary-button:hover,
.quote-form button:hover {
  transform: translateY(-1px);
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.86fr) minmax(21rem, 1fr);
  min-height: calc(100vh - 150px);
  padding: clamp(1.6rem, 4vw, 3.25rem) clamp(1rem, 4vw, 4rem) 2rem;
}

.hero-copy,
.section-intro,
.section-heading,
.quote-copy,
.process-copy {
  max-width: 42rem;
}

.eyebrow {
  color: var(--ember-dark);
  font-size: 0.78rem;
  font-weight: 900;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

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

h1 {
  color: var(--charcoal);
  font-size: clamp(3.6rem, 8vw, 7rem);
  font-weight: 950;
  line-height: 0.88;
  margin-bottom: 1.4rem;
  max-width: 9ch;
}

h2 {
  color: var(--charcoal);
  font-size: clamp(2rem, 4.2vw, 4.6rem);
  font-weight: 920;
  line-height: 0.98;
  margin-bottom: 1.1rem;
}

h3 {
  color: var(--charcoal);
  font-size: 1.14rem;
  font-weight: 880;
  line-height: 1.1;
  margin-bottom: 0.85rem;
}

.hero-lede,
.section-intro p,
.quote-copy p,
.service-card p,
.material-list,
.process-list p {
  color: var(--ash);
  font-size: 1rem;
  line-height: 1.75;
}

.hero-lede {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  max-width: 42rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2rem 0;
}

.primary-button {
  background: var(--ember);
  color: #fff;
}

.secondary-button {
  background: #fff;
  border-color: var(--line);
  color: var(--charcoal);
}

.proof-grid {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 44rem;
  padding-top: 1rem;
}

.proof-grid span {
  border-right: 1px solid var(--line);
  color: var(--ash);
  display: block;
  font-size: 0.88rem;
  line-height: 1.35;
  padding-right: 1rem;
}

.proof-grid span:last-child {
  border-right: 0;
}

.proof-grid strong {
  color: var(--charcoal);
  display: block;
  font-size: 1.2rem;
  font-weight: 900;
}

.hero-media {
  align-self: stretch;
  min-height: 28rem;
  position: relative;
}

.hero-media::before {
  background: var(--charcoal);
  bottom: 1rem;
  content: "";
  left: 1rem;
  position: absolute;
  right: -0.65rem;
  top: -0.65rem;
  z-index: 0;
}

.hero-media img {
  border: 1px solid rgba(28, 26, 24, 0.08);
  box-shadow: 0 2rem 5rem rgba(28, 26, 24, 0.14);
  display: block;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  position: relative;
  width: 100%;
  z-index: 1;
}

.capability-strip {
  align-items: center;
  background: var(--charcoal);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 1.25rem clamp(1rem, 4vw, 4rem);
}

.capability-strip p {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  font-size: clamp(1.1rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1;
  margin: 0;
  text-align: center;
}

.capability-strip p:last-child {
  border-right: 0;
}

.section,
.process-band,
.quote-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 4rem);
}

.grid-section {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(19rem, 1fr);
}

.product-cloud {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-cloud span {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--charcoal);
  display: flex;
  font-size: clamp(1.08rem, 2.1vw, 2rem);
  font-weight: 880;
  justify-content: space-between;
  min-height: 5.2rem;
  padding: 1rem;
}

.product-cloud span::after {
  color: var(--ember);
  content: "+";
  font-weight: 900;
}

.service-section {
  background: var(--smoke);
}

.service-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.5rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  min-height: 15rem;
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.process-band {
  background:
    linear-gradient(90deg, rgba(232, 93, 36, 0.12), transparent 44%),
    var(--charcoal);
  color: #fff;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: 0.88fr 1fr;
}

.process-band h2,
.process-band .eyebrow {
  color: #fff;
}

.process-list {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-list li {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 1rem;
  grid-template-columns: 4rem 1fr;
  min-height: 5.4rem;
  padding: 1rem;
}

.process-list span {
  color: var(--ember);
  font-size: 1.1rem;
  font-weight: 940;
}

.process-list p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.material-section {
  align-items: start;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: 1fr 1fr;
}

.material-list {
  border-left: 3px solid var(--ember);
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.5rem;
}

.material-list li {
  border-bottom: 1px solid var(--line);
  color: var(--charcoal);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 780;
  padding: 1rem 0;
}

.material-list li:first-child {
  padding-top: 0;
}

.quote-section {
  align-items: start;
  background: #faf8f5;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: 0.82fr 1fr;
}

.quote-form {
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2.4vw, 2rem);
}

.quote-form label {
  color: var(--charcoal);
  display: grid;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 0.45rem;
  text-transform: uppercase;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  background: #fff;
  border: 1px solid #d8d0c8;
  color: var(--charcoal);
  min-height: 3.15rem;
  outline: none;
  padding: 0.85rem;
  width: 100%;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(232, 93, 36, 0.14);
}

.quote-form button {
  background: var(--ember);
  color: #fff;
  cursor: pointer;
}

.site-footer {
  align-items: center;
  background: var(--charcoal);
  color: #fff;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.2rem clamp(1rem, 4vw, 4rem);
}

.site-footer p {
  font-weight: 900;
  margin: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

/* Product catalog page */
.catalog-shell {
  min-height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 60%, #faf8f5 100%);
}

.announcement-bar {
  background: var(--charcoal);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.7rem clamp(1rem, 4vw, 4rem);
  text-transform: uppercase;
}

.catalog-header {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto 1fr;
  padding: 1rem clamp(1rem, 4vw, 4rem);
}

.catalog-nav {
  align-items: center;
  display: flex;
  gap: 1.4rem;
  justify-content: center;
}

.catalog-nav a,
.account-links a,
.account-links span {
  color: #2c2926;
  font-size: 0.9rem;
  font-weight: 750;
}

.account-links {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: end;
}

.catalog-page {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: 16rem minmax(0, 1fr);
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 4vw, 4rem) 3rem;
}

.catalog-aside {
  position: relative;
}

.catalog-sidebar {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1rem;
  position: sticky;
  top: 6.5rem;
}

.catalog-search {
  display: block;
  margin-bottom: 1rem;
}

.catalog-search input {
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.92rem;
  min-height: 2.7rem;
  outline: none;
  padding: 0.75rem 0.9rem;
  width: 100%;
}

.catalog-search input:focus {
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(232, 93, 36, 0.12);
}

.catalog-filters h2 {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.filter-list {
  display: grid;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.filter-list a {
  border-bottom: 1px solid transparent;
  color: #22201d;
  display: block;
  font-size: 0.98rem;
  padding: 0.45rem 0;
}

.filter-list a[aria-current="page"] {
  color: var(--ember-dark);
  font-weight: 900;
}

.social-rail {
  display: grid;
  gap: 0.2rem;
  left: 0;
  position: fixed;
  top: 10.4rem;
  z-index: 18;
}

.social-rail a {
  align-items: center;
  color: #fff;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 900;
  height: 3rem;
  justify-content: center;
  width: 3rem;
}

.social-rail a:nth-child(1) { background: #3b5998; }
.social-rail a:nth-child(2) { background: #111111; }
.social-rail a:nth-child(3) { background: #666666; }
.social-rail a:nth-child(4) { background: #ef5b4d; }

.catalog-main {
  min-width: 0;
}

.catalog-toolbar {
  align-items: end;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 1.35rem;
}

.catalog-kicker {
  color: var(--ember-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  margin: 0 0 0.65rem;
  text-transform: uppercase;
}

.catalog-toolbar h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  margin-bottom: 0.55rem;
  max-width: none;
}

.catalog-toolbar p {
  color: var(--ash);
  margin: 0;
}

.sort-control {
  align-items: center;
  border: 1px solid var(--line);
  color: #22201d;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 750;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.6rem 0.85rem;
}

.sort-control::after {
  content: "▾";
  font-size: 0.9em;
}

.catalog-banner {
  align-items: stretch;
  background: linear-gradient(135deg, #f4f1ec 0%, #fff 54%, #efe7df 100%);
  border: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.15fr 0.85fr;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.catalog-banner-copy {
  padding: clamp(1.2rem, 2.6vw, 2rem);
}

.catalog-banner-copy h2 {
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  margin-bottom: 0.85rem;
}

.catalog-banner-copy p {
  color: var(--ash);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.banner-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.banner-links a {
  border: 1px solid var(--line);
  color: var(--charcoal);
  font-size: 0.85rem;
  font-weight: 760;
  padding: 0.65rem 0.8rem;
}

.catalog-banner-media {
  min-height: 14rem;
}

.catalog-banner-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.products-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1rem;
}

.product-art {
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.8), transparent 34%),
    linear-gradient(180deg, #f6f4f0, #ece7df);
  border: 1px solid rgba(28, 26, 24, 0.07);
  margin-bottom: 0.75rem;
  position: relative;
  overflow: hidden;
}

.product-art::before,
.product-art::after {
  content: "";
  position: absolute;
}

.product-art--tote::before {
  background: #111;
  bottom: 18%;
  left: 25%;
  right: 25%;
  top: 24%;
}

.product-art--tote::after {
  border: 0.3rem solid #111;
  border-bottom: 0;
  border-left: 0.3rem solid transparent;
  border-right: 0.3rem solid transparent;
  height: 34%;
  left: 33%;
  top: 10%;
  width: 34%;
}

.product-art--zip::before {
  background: linear-gradient(180deg, #e8e0d4 0%, #cbc3b6 100%);
  bottom: 16%;
  left: 16%;
  right: 16%;
  top: 30%;
}

.product-art--zip::after {
  background: #1d1d1d;
  bottom: 16%;
  left: 35%;
  right: 35%;
  top: 12%;
  border-radius: 999px;
}

.product-art--tee::before {
  background: #d9d8d6;
  clip-path: polygon(22% 18%, 34% 8%, 66% 8%, 78% 18%, 88% 30%, 70% 36%, 70% 82%, 30% 82%, 30% 36%, 12% 30%);
  inset: 10% 8%;
}

.product-art--hoodie::before {
  background: #232321;
  clip-path: polygon(32% 14%, 44% 8%, 56% 8%, 68% 14%, 76% 28%, 76% 86%, 24% 86%, 24% 28%);
  inset: 8% 12%;
}

.product-art--cap::before {
  background: #232321;
  clip-path: polygon(28% 34%, 70% 34%, 76% 44%, 70% 52%, 32% 52%, 22% 44%);
  inset: 18% 10%;
}

.product-art--polo::before {
  background: #d7d5d2;
  clip-path: polygon(28% 18%, 40% 8%, 60% 8%, 72% 18%, 78% 28%, 76% 84%, 24% 84%, 22% 28%);
  inset: 10% 10%;
}

.product-art--decal::before {
  background:
    linear-gradient(90deg, #e85d24 0 22%, transparent 22% 28%, #1c1a18 28% 53%, transparent 53% 60%, #f3ae3b 60% 100%);
  inset: 20% 15%;
  opacity: 0.92;
}

.product-art--bottle::before {
  background: linear-gradient(180deg, #f0f0ee, #d4d0ca);
  border-radius: 1.8rem 1.8rem 2rem 2rem;
  inset: 16% 37% 14% 37%;
}

.product-art--bottle::after {
  background: #232321;
  border-radius: 999px;
  inset: 12% 43% auto;
  height: 12%;
}

.swatches {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.swatches span {
  aspect-ratio: 1;
  border: 1px solid rgba(28, 26, 24, 0.12);
  display: inline-block;
  width: 1rem;
}

.product-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}

.vendor-line {
  color: #66615b;
  font-size: 0.78rem;
  margin-bottom: 0.75rem;
}

.price-line {
  color: var(--charcoal);
  font-size: 0.96rem;
  font-weight: 850;
}

.pagination {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.pagination a,
.pagination span {
  color: var(--charcoal);
  font-size: 0.92rem;
  font-weight: 750;
}

.pagination a {
  border: 1px solid var(--line);
  display: inline-flex;
  height: 2.5rem;
  justify-content: center;
  width: 2.5rem;
}

@media (max-width: 1080px) {
  .catalog-page {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    position: static;
  }

  .social-rail {
    display: none;
  }
}

@media (max-width: 980px) {
  .catalog-header {
    grid-template-columns: 1fr auto;
  }

  .catalog-nav {
    display: none;
  }

  .catalog-banner,
  .catalog-toolbar,
  .products-grid,
  .catalog-page {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    gap: 0.75rem;
  }

  .catalog-banner-media {
    min-height: 12rem;
  }
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .grid-section,
  .process-band,
  .material-section,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 24rem;
  }

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

@media (min-width: 981px) and (max-height: 760px) {
  .proof-grid {
    display: none;
  }

  .hero-actions {
    margin-bottom: 0;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 0.8rem 1rem;
  }

  .brand-mark {
    flex-basis: 2.35rem;
  }

  .nav-cta {
    min-height: 2.5rem;
    padding: 0.65rem 0.75rem;
  }

  h1 {
    font-size: clamp(3.3rem, 16vw, 4.8rem);
  }

  .hero {
    background:
      linear-gradient(180deg, #ffffff 0%, #ffffff 58%, rgba(255, 255, 255, 0.74) 100%),
      url("./smoky-ember-hero.png") center bottom / cover no-repeat;
    padding-top: 2rem;
  }

  .hero-media,
  .proof-grid {
    display: none;
  }

  .hero-actions,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .capability-strip,
  .product-cloud {
    grid-template-columns: 1fr;
  }

  .capability-strip p {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    border-right: 0;
    padding: 0.75rem 0;
    text-align: left;
  }

  .capability-strip p:last-child {
    border-bottom: 0;
  }

  .process-list li {
    grid-template-columns: 3rem 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
