:root {
  color-scheme: dark;
  --bg: #0e0d0c;
  --panel: #181716;
  --panel-2: #211e1a;
  --line: #3c352c;
  --text: #f5efe6;
  --muted: #cbbfad;
  --soft: #9f927e;
  --accent: #d8a84f;
  --accent-strong: #f0c66b;
  --input: #0f0f0e;
  --red: #8d3329;
  --blue: #1f3441;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

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

a {
  color: var(--accent-strong);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding: 12px clamp(18px, 5vw, 56px);
  background: rgba(14, 13, 12, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 1px solid var(--line);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.6vw, 26px);
  font-size: 0.92rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover {
  color: var(--accent-strong);
}

.cart-toggle {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  gap: 8px;
}

.cart-toggle span {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #15110c;
  font-size: 0.82rem;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  padding: clamp(28px, 8vw, 72px);
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.94) 0%, rgba(8, 8, 7, 0.78) 45%, rgba(8, 8, 7, 0.35) 100%),
    url("assets/forgemark-banner.png") center / cover no-repeat;
}

.hero-content {
  max-width: 760px;
  padding-bottom: 7vh;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.6rem, 8vw, 6.6rem);
  line-height: 0.94;
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  line-height: 1.08;
}

.hero p,
.section-band p,
.intro {
  color: var(--muted);
  line-height: 1.62;
}

.hero p {
  max-width: 660px;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  padding: 0 22px;
  cursor: pointer;
}

.button {
  border: 0;
}

.button.primary,
button {
  border: 0;
  background: var(--accent);
  color: #15110c;
}

.button.primary:hover,
button:hover {
  background: var(--accent-strong);
}

.button.secondary {
  border: 1px solid var(--accent);
  color: var(--accent-strong);
  background: rgba(15, 15, 14, 0.64);
}

.cart-toggle {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.cart-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.section-band {
  padding: clamp(48px, 7vw, 96px) clamp(18px, 5vw, 56px);
  border-top: 1px solid var(--line);
}

.intro-band {
  background: #131211;
  padding-top: 30px;
  padding-bottom: 30px;
}

.feature-strip,
.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-strip p,
.process-list p {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.feature-strip strong,
.process-list strong {
  display: block;
  color: var(--text);
  margin-bottom: 7px;
}

.feature-strip span,
.process-list span {
  display: block;
  color: var(--muted);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 32px;
}

.showcase-feature {
  margin-bottom: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  overflow: hidden;
}

.showcase-hero {
  position: relative;
  min-height: clamp(420px, 54vw, 620px);
  display: grid;
  align-items: center;
  padding: clamp(24px, 6vw, 60px);
  isolation: isolate;
}

.showcase-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 8, 7, 0.92) 0%, rgba(8, 8, 7, 0.72) 42%, rgba(8, 8, 7, 0.2) 100%);
}

.showcase-hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-copy {
  max-width: 520px;
}

.showcase-copy h3 {
  font-size: clamp(2.2rem, 6vw, 5rem);
}

.showcase-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.62;
}

.showcase-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.showcase-thumbs figure {
  margin: 0;
  background: #0b0a09;
}

.showcase-thumbs img {
  width: 100%;
  height: clamp(320px, 48vw, 560px);
  object-fit: cover;
  object-position: center top;
}

.showcase-thumbs figcaption {
  padding: 12px 16px 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.variant-feature {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(31, 52, 65, 0.34), rgba(24, 23, 22, 0.94)),
    var(--panel);
  border-radius: 8px;
}

.amendment-feature {
  background:
    linear-gradient(135deg, rgba(16, 42, 51, 0.46), rgba(24, 23, 22, 0.94)),
    var(--panel);
}

.variant-copy {
  align-self: center;
}

.variant-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.62;
}

.variant-copy .button {
  margin-top: 14px;
}

.variant-gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: repeat(2, minmax(180px, 1fr));
  gap: 10px;
}

.variant-gallery img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #0b0a09;
}

.variant-gallery .variant-main {
  grid-row: span 2;
  object-position: center top;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  align-content: space-between;
  gap: 22px;
  min-height: 290px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.featured-product {
  grid-column: span 2;
  grid-template-columns: minmax(180px, 0.85fr) 1fr;
  align-items: end;
}

.product-card p {
  margin: 12px 0 0;
}

.product-card a {
  font-weight: 800;
  text-decoration: none;
}

.text-cart-button {
  justify-self: start;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent-strong);
  font-weight: 800;
  text-align: left;
}

.text-cart-button:hover {
  background: transparent;
  color: var(--text);
}

.product-art,
.product-photo {
  min-height: 260px;
}

.product-art {
  display: grid;
  align-content: end;
  padding: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(31, 52, 65, 0.82), rgba(141, 51, 41, 0.52)),
    url("assets/forgemark-logo.png") center / cover no-repeat;
}

.product-art span {
  color: var(--accent-strong);
  font-size: 3.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
}

.product-art strong {
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.product-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b0a09;
}

.product-photo img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center top;
}

.compact-photo {
  min-height: 210px;
}

.compact-photo img {
  min-height: 210px;
}

.split-band,
.about-band,
.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.split-band {
  background:
    linear-gradient(90deg, rgba(15, 15, 14, 0.96), rgba(33, 30, 26, 0.82)),
    linear-gradient(135deg, var(--blue), var(--red));
}

.about-copy p,
.contact-band p {
  max-width: 720px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 5vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--soft);
  background: #0b0a09;
}

.site-footer p {
  margin: 0;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(0, 0, 0, 0.62);
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  width: min(440px, 100vw);
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #12110f;
  border-left: 1px solid var(--line);
  box-shadow: -22px 0 70px rgba(0, 0, 0, 0.45);
  transform: translateX(100%);
  transition: transform 180ms ease;
}

.cart-panel[aria-hidden="false"] {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  font-size: 2rem;
}

.icon-button {
  width: 42px;
  min-height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-transform: uppercase;
}

.cart-items {
  overflow-y: auto;
  padding: 10px 22px;
}

.empty-cart {
  color: var(--muted);
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item h3 {
  font-size: 1.05rem;
}

.cart-item p {
  margin: 6px 0;
  color: var(--soft);
  font-size: 0.86rem;
}

.cart-item strong {
  color: var(--accent-strong);
}

.quantity-control {
  display: grid;
  grid-template-columns: 32px 32px 32px;
  align-items: center;
  justify-items: center;
  align-self: center;
  border: 1px solid var(--line);
}

.quantity-control button {
  width: 32px;
  min-height: 32px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
}

.quantity-control span {
  color: var(--text);
  font-weight: 800;
}

.cart-summary {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-top: 1px solid var(--line);
}

.cart-summary p {
  margin: 0;
}

.cart-summary p:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.cart-summary strong {
  color: var(--text);
}

.cart-note {
  color: var(--soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.cart-clear {
  width: 100%;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 168, 79, 0.18), transparent 34rem),
    linear-gradient(135deg, #0b0b0a, var(--bg));
}

.order-panel {
  width: min(860px, 100%);
  padding: clamp(24px, 5vw, 48px);
  background: rgba(24, 23, 22, 0.95);
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.brand-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent-strong);
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.request-form {
  display: grid;
  gap: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--input);
  color: var(--text);
  font: inherit;
  font-weight: 400;
  padding: 13px 14px;
  border-radius: 6px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(216, 168, 79, 0.15);
}

.privacy-note,
.fallback {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.fallback {
  margin-top: 24px;
  font-size: 0.94rem;
}

@media (max-width: 980px) {
  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-product {
    grid-column: span 2;
  }

  .split-band,
  .about-band,
  .contact-band,
  .variant-feature {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .cart-toggle {
    width: 100%;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .hero {
    min-height: 76vh;
    background:
      linear-gradient(180deg, rgba(8, 8, 7, 0.92), rgba(8, 8, 7, 0.72)),
      url("assets/forgemark-banner.png") center / cover no-repeat;
  }

  .feature-strip,
  .process-list,
  .collection-grid,
  .showcase-thumbs,
  .variant-gallery,
  .featured-product,
  .field-row {
    grid-template-columns: 1fr;
  }

  .variant-gallery {
    grid-template-rows: none;
  }

  .variant-gallery .variant-main {
    grid-row: auto;
  }

  .featured-product {
    grid-column: auto;
  }

  .site-footer,
  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button,
  button {
    width: 100%;
  }
}
