:root {
  --ink: #121826;
  --ink-soft: #4b5568;
  --chalk: #f2f4f7;
  --chalk-deep: #e5e9ef;
  --panel: #161f2e;
  --cobalt: #2957e8;
  --cobalt-deep: #1d3fb0;
  --sand: #d7c7a8;
  --white: #ffffff;
  --line: rgba(18, 24, 38, 0.12);
  --shadow: 0 24px 50px rgba(18, 24, 38, 0.12);
  --radius: 0;
  --font-display: "Syne", "Arial Narrow", sans-serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --max: 1240px;
  --header: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--chalk);
  line-height: 1.55;
  min-height: 100vh;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

h1,
h2,
h3,
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  margin: 0;
}

h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  margin: 0 0 0.55rem;
}

h3 {
  font-size: 1.15rem;
  margin: 0;
}

p {
  margin: 0;
}

.eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cobalt);
  font-weight: 700;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-announce {
  background: var(--panel);
  color: #dbe3f0;
  text-align: left;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 0;
}

.site-announce .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(242, 244, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: var(--header);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand span {
  color: var(--cobalt);
}

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

.nav a {
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--cobalt);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: end;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  height: 2.6rem;
  padding: 0 0.85rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.icon-btn:hover {
  background: var(--ink);
  color: var(--white);
}

.cart-count {
  position: absolute;
  top: -0.4rem;
  right: -0.4rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.2rem;
  background: var(--cobalt);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.nav-toggle {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.3rem;
  border: 1px solid transparent;
  background: var(--cobalt);
  color: #f5f7ff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover:not(:disabled) {
  background: #1f46c7;
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(18, 24, 38, 0.28);
}

.btn--ghost:hover:not(:disabled) {
  background: rgba(18, 24, 38, 0.04);
}

.btn--ghost-light {
  background: transparent;
  color: #eef2ff;
  border-color: rgba(238, 242, 255, 0.4);
}

.btn--ghost-light:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
}

.btn--light {
  background: var(--white);
  color: var(--panel);
}

.btn--light:hover:not(:disabled) {
  background: var(--chalk-deep);
}

.btn--small {
  min-height: 2.35rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.86rem;
}

.btn.is-added {
  background: var(--panel);
}

/* Split hero — unlike Hammermill full-bleed overlay */
.hero-split {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) 1.18fr;
  min-height: calc(100vh - 6rem);
  background: var(--panel);
  color: #eef2ff;
}

.hero-split__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 5vw, 4.5rem);
  gap: 1.1rem;
  animation: riseIn 0.8s ease both;
}

.hero-split__copy .brand-mark {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sand);
}

.hero-split__copy p {
  max-width: 28rem;
  color: rgba(238, 242, 255, 0.78);
}

.hero-split__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.hero-split__media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.hero-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 16s ease-out forwards;
}

.section {
  padding: 4.75rem 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-head p {
  max-width: 28rem;
  color: var(--ink-soft);
}

/* Numbered catalog rows instead of Hammermill collection tiles */
.catalog-rows {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.catalog-row {
  display: grid;
  grid-template-columns: 4rem 7.5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}

.catalog-row:hover {
  background: rgba(41, 87, 232, 0.04);
}

.catalog-row__index {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cobalt);
}

.catalog-row img {
  width: 7.5rem;
  height: 5.5rem;
  object-fit: cover;
}

.catalog-row h3 {
  margin-bottom: 0.2rem;
}

.catalog-row p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.catalog-row__go {
  font-weight: 700;
  color: var(--cobalt);
}

/* Stacked use cases — full width bands */
.use-stack {
  display: grid;
  gap: 0.85rem;
}

.use-band {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 16rem;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.use-band:nth-child(even) {
  grid-template-columns: 1fr 1.2fr;
}

.use-band:nth-child(even) .use-band__copy {
  order: 2;
}

.use-band:nth-child(even) .use-band__media {
  order: 1;
}

.use-band__media {
  position: relative;
  min-height: 14rem;
}

.use-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.use-band:hover .use-band__media img {
  transform: scale(1.04);
}

.use-band__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.6rem 1.8rem;
  gap: 0.55rem;
}

.use-band__copy p {
  color: var(--ink-soft);
}

/* Featured editorial layout */
.feature-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.feature-lead {
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 34rem;
}

.feature-lead__media {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  background: var(--chalk-deep);
}

.feature-lead__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-lead__body {
  padding: 1.25rem 1.35rem 1.4rem;
}

.feature-lead__body h3 {
  font-size: 1.6rem;
  margin: 0.25rem 0 0.45rem;
}

.feature-rail {
  display: grid;
  gap: 1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--chalk-deep);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.03);
}

.product-card__badge {
  position: absolute;
  left: 0;
  top: 0.85rem;
  background: var(--panel);
  color: white;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.35rem 0.6rem;
}

.product-card__body {
  padding: 0.95rem 1rem 1.1rem;
  display: grid;
  gap: 0.35rem;
}

.product-card__meta {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.product-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.price {
  font-weight: 700;
  font-size: 1.05rem;
}

.story-bleed {
  position: relative;
  min-height: 28rem;
  overflow: hidden;
  color: #eef2ff;
}

.story-bleed img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-bleed__panel {
  position: relative;
  z-index: 1;
  width: min(34rem, calc(100% - 2.5rem));
  margin: 4rem 0 4rem max(1.25rem, calc((100% - var(--max)) / 2 + 1.25rem));
  padding: 1.6rem 1.5rem;
  background: rgba(18, 24, 38, 0.82);
  backdrop-filter: blur(8px);
}

.story-bleed__panel p {
  color: rgba(238, 242, 255, 0.8);
  margin: 0.7rem 0 1.2rem;
}

.weight-rail {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}

.weight-chip {
  display: grid;
  place-items: center;
  min-height: 4.5rem;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.weight-chip:hover,
.weight-chip.is-active {
  background: var(--panel);
  border-color: var(--panel);
  color: white;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: center;
}

.split--reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split__media {
  min-height: 24rem;
  overflow: hidden;
  border: 1px solid var(--line);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__copy p {
  color: var(--ink-soft);
  margin: 0.85rem 0 1.3rem;
  max-width: 34rem;
}

.band {
  background: var(--chalk-deep);
  border-block: 1px solid var(--line);
}

.site-footer {
  background: var(--panel);
  color: #d5deee;
  padding: 3.5rem 0 1.75rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.2rem;
}

.site-footer a {
  color: #d5deee;
  opacity: 0.85;
}

.site-footer a:hover {
  opacity: 1;
}

.site-footer .brand {
  color: white;
  margin-bottom: 0.7rem;
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  color: #8ea0c2;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: rgba(213, 222, 238, 0.7);
}

.page-hero {
  padding: 3.2rem 0 1.4rem;
}

.page-hero p {
  max-width: 36rem;
  color: var(--ink-soft);
  margin-top: 0.7rem;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.4rem 0 1.8rem;
  align-items: end;
}

.field {
  display: grid;
  gap: 0.3rem;
}

.field label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft);
}

.field select,
.field input,
.qty-input,
.newsletter input {
  min-height: 2.7rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(18, 24, 38, 0.18);
  background: var(--white);
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  padding-bottom: 3.5rem;
}

.product-detail__media {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 30rem;
}

.product-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__copy h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin: 0.35rem 0 0.75rem;
}

.product-detail__copy .lede {
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin: 1.1rem 0 1.5rem;
}

.spec {
  padding: 0.8rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.spec strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 0.2rem;
}

.buy-box {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.qty-input {
  width: 5rem;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 1.25rem;
  padding-bottom: 3.5rem;
}

.cart-table {
  background: var(--white);
  border: 1px solid var(--line);
}

.cart-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.cart-row:last-child {
  border-bottom: 0;
}

.cart-row img {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: cover;
}

.cart-row h3 {
  margin-bottom: 0.2rem;
}

.cart-row__meta {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.cart-row__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.linkish {
  background: none;
  border: 0;
  padding: 0;
  color: var(--cobalt);
  cursor: pointer;
  font-weight: 700;
}

.summary {
  align-self: start;
  padding: 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  position: sticky;
  top: calc(var(--header) + 1rem);
}

.summary h2 {
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.summary-line--total {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-weight: 700;
  font-size: 1.05rem;
}

.summary .btn {
  width: 100%;
  margin-top: 0.9rem;
}

.empty {
  padding: 2.8rem 1.2rem;
  text-align: center;
  background: var(--white);
  border: 1px dashed rgba(18, 24, 38, 0.25);
}

.empty p {
  color: var(--ink-soft);
  margin: 0.55rem 0 1.15rem;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.about-points {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.about-points article {
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.about-points h3 {
  margin-bottom: 0.3rem;
}

.about-points p {
  color: var(--ink-soft);
}

.newsletter {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
  align-items: center;
}

.newsletter form {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.newsletter input {
  flex: 1;
  min-width: 14rem;
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .hero-split,
  .feature-layout,
  .use-band,
  .use-band:nth-child(even),
  .split,
  .split--reverse,
  .newsletter,
  .product-detail,
  .cart-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .use-band:nth-child(even) .use-band__copy,
  .use-band:nth-child(even) .use-band__media {
    order: initial;
  }

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

  .weight-rail {
    grid-template-columns: repeat(4, 1fr);
  }

  .catalog-row {
    grid-template-columns: 3rem 5.5rem 1fr;
  }

  .catalog-row__go {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: calc(var(--header) + 2.2rem) 1rem auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.7rem;
    background: var(--chalk);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 50;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.8rem 0.55rem;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .header-inner {
    grid-template-columns: auto auto 1fr;
  }
}

@media (max-width: 640px) {
  .product-grid,
  .spec-list,
  .weight-rail {
    grid-template-columns: 1fr 1fr;
  }

  .weight-rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .cart-row {
    grid-template-columns: 4.5rem 1fr;
  }

  .cart-row__price {
    grid-column: 2;
  }

  .story-bleed__panel {
    margin: 2rem 1.25rem;
  }
}
