@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@600;700;800&family=Big+Shoulders+Text:wght@400;600;700&display=swap');

:root {
  --mtd-bg: #12100e;
  --mtd-bg-2: #1c1915;
  --mtd-field: #2f3d32;
  --mtd-copper: #c4783b;
  --mtd-brass: #d2b48c;
  --mtd-sand: #ebe3d6;
  --mtd-muted: #b7aea1;
  --mtd-line: rgba(210, 180, 140, 0.22);
  --mtd-max: 1120px;
  --mtd-font-brand: "Big Shoulders Display", sans-serif;
  --mtd-font-body: "Big Shoulders Text", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mtd-bg);
  color: var(--mtd-sand);
  font-family: var(--mtd-font-body);
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--mtd-brass);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--mtd-copper);
}

.mtd-wrap {
  color: var(--mtd-sand);
  font-family: var(--mtd-font-body);
}

/* —— Nav —— */
.mtd-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 3vw, 2rem);
  background: rgba(18, 16, 14, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mtd-line);
}

.mtd-nav-brand {
  font-family: var(--mtd-font-brand);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  color: var(--mtd-sand);
  text-decoration: none;
}

.mtd-nav-brand:hover {
  color: var(--mtd-copper);
}

.mtd-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  justify-content: flex-end;
}

.mtd-nav-links a {
  font-family: var(--mtd-font-brand);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mtd-muted);
}

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

/* —— Hero —— */
.mtd-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 3rem);
  background:
    linear-gradient(180deg, rgba(18, 16, 14, 0.2) 0%, rgba(18, 16, 14, 0.55) 45%, rgba(18, 16, 14, 0.96) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(196, 120, 59, 0.22), transparent 55%),
    var(--mtd-hero-image, linear-gradient(145deg, #2a3329, #1a1410 55%, #3a2a1c))
      center / cover no-repeat;
  overflow: hidden;
}

.mtd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(47, 61, 50, 0.28) 100%);
  pointer-events: none;
  animation: mtd-drift 14s ease-in-out infinite alternate;
}

@keyframes mtd-drift {
  from {
    transform: scale(1);
    opacity: 0.85;
  }
  to {
    transform: scale(1.04);
    opacity: 1;
  }
}

.mtd-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.mtd-hero-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 100%;
  margin: 0 0 1.25rem;
}

.mtd-hero-lockup .mtd-brand {
  margin: 0 0 0.85rem;
  width: 100%;
}

.mtd-hero-lockup .mtd-kicker {
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .mtd-hero-lockup {
    display: flex;
    width: 100%;
  }

  .mtd-hero-lockup .mtd-kicker {
    white-space: normal;
  }

  .mtd-brand-logo {
    width: 100%;
    min-width: 0;
  }
}

.mtd-brand {
  font-family: var(--mtd-font-brand);
  font-weight: 800;
  font-size: clamp(4.2rem, 14vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
  color: var(--mtd-sand);
  text-wrap: balance;
  animation: mtd-rise 0.9s ease both;
}

.mtd-brand:has(.mtd-brand-logo) {
  font-size: 0;
  line-height: 0;
}

.mtd-brand-logo {
  display: block;
  width: 0;
  min-width: 100%;
  height: auto;
  margin: 0;
}

.mtd-kicker {
  font-family: var(--mtd-font-brand);
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mtd-copper);
  margin: 0 0 1.25rem;
  animation: mtd-rise 0.9s ease 0.12s both;
}

.mtd-lede {
  max-width: 34rem;
  font-size: 1.12rem;
  color: var(--mtd-muted);
  margin: 0 0 1.75rem;
  animation: mtd-rise 0.9s ease 0.22s both;
}

@keyframes mtd-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mtd-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  animation: mtd-rise 0.9s ease 0.32s both;
}

.mtd-section .mtd-cta-row,
.mtd-page .mtd-cta-row {
  animation: none;
}

.mtd-btn {
  display: inline-block;
  padding: 0.95rem 1.35rem;
  border-radius: 2px;
  font-family: var(--mtd-font-brand);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mtd-btn:hover {
  transform: translateY(-2px);
}

.mtd-btn-primary {
  background: var(--mtd-copper);
  color: #1a120c !important;
}

.mtd-btn-primary:hover {
  background: #d4894a;
  color: #1a120c !important;
}

.mtd-btn-ghost {
  border: 1px solid var(--mtd-line);
  color: var(--mtd-sand) !important;
  background: rgba(18, 16, 14, 0.35);
}

.mtd-btn-ghost:hover {
  border-color: var(--mtd-brass);
  color: var(--mtd-brass) !important;
}

/* —— Sections —— */
.mtd-section {
  max-width: var(--mtd-max);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 4vw, 2rem);
}

.mtd-section-label {
  font-family: var(--mtd-font-brand);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mtd-copper);
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
}

.mtd-h2 {
  font-family: var(--mtd-font-brand);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 0.95;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.mtd-copy {
  max-width: 38rem;
  color: var(--mtd-muted);
  margin: 0 0 1.5rem;
}

.mtd-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

@media (max-width: 800px) {
  .mtd-split {
    grid-template-columns: 1fr;
  }

  .mtd-nav {
    flex-direction: column;
    align-items: flex-start;
  }
}

.mtd-media {
  min-height: 360px;
  background:
    linear-gradient(160deg, rgba(196, 120, 59, 0.2), rgba(18, 16, 14, 0.25)),
    var(--mtd-media-image, linear-gradient(160deg, #3d4a3a, #2a1e14))
      center / cover no-repeat;
  border: 1px solid var(--mtd-line);
}

.mtd-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--mtd-line);
}

.mtd-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--mtd-line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.mtd-list strong {
  font-family: var(--mtd-font-brand);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.mtd-list a {
  text-decoration: none;
  color: var(--mtd-sand);
}

.mtd-list a:hover {
  color: var(--mtd-copper);
}

.mtd-band {
  background: linear-gradient(135deg, #1a221c 0%, #12100e 55%, #24180f 100%);
  border-block: 1px solid var(--mtd-line);
}

/* —— Inner pages —— */
.mtd-page {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 4vw, 2rem);
}

.mtd-page-wide {
  max-width: var(--mtd-max);
}

.mtd-page h1 {
  font-family: var(--mtd-font-brand);
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  line-height: 0.95;
  margin: 0 0 0.75rem;
}

.mtd-page h2 {
  font-family: var(--mtd-font-brand);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 2.25rem 0 0.75rem;
  letter-spacing: 0.03em;
}

.mtd-page h3 {
  font-family: var(--mtd-font-brand);
  font-size: 1.25rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--mtd-brass);
}

.mtd-meta {
  color: var(--mtd-muted);
  margin-bottom: 2rem;
}

.mtd-page ul {
  padding-left: 1.2rem;
  color: var(--mtd-muted);
}

.mtd-page li {
  margin-bottom: 0.4rem;
}

.mtd-page p {
  color: var(--mtd-muted);
}

.mtd-footer-note {
  text-align: center;
  padding: 2.5rem 1rem 3.5rem;
  color: var(--mtd-muted);
  border-top: 1px solid var(--mtd-line);
  font-size: 0.95rem;
}

.mtd-footer-note a {
  text-decoration: none;
  margin: 0 0.25rem;
}

/* —— Journal preview cards (static demo) —— */
.mtd-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.mtd-post {
  border-top: 1px solid var(--mtd-line);
  padding-top: 1.25rem;
}

.mtd-post h3 {
  font-family: var(--mtd-font-brand);
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  color: var(--mtd-sand);
  letter-spacing: 0.03em;
}

.mtd-post p {
  margin: 0;
  color: var(--mtd-muted);
  font-size: 0.98rem;
}

.mtd-post-date {
  font-family: var(--mtd-font-brand);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--mtd-copper);
  margin-bottom: 0.4rem;
}

/* —— Shop preview —— */
.mtd-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.mtd-product {
  border: 1px solid var(--mtd-line);
  padding: 1rem;
  background: rgba(28, 25, 21, 0.55);
}

.mtd-product-swatch {
  height: 180px;
  margin-bottom: 1rem;
  background: linear-gradient(145deg, #3a4638, #2a1c12);
  border: 1px solid var(--mtd-line);
}

.mtd-product h3 {
  font-family: var(--mtd-font-brand);
  margin: 0 0 0.35rem;
  color: var(--mtd-sand);
  font-size: 1.35rem;
}

.mtd-product p {
  margin: 0;
  color: var(--mtd-muted);
  font-size: 0.95rem;
}

.mtd-note {
  margin-top: 2rem;
  padding: 1rem 1.15rem;
  border: 1px dashed var(--mtd-line);
  color: var(--mtd-muted);
  font-size: 0.95rem;
}

/* —— WordPress / Kadence overrides —— */
.entry-content .mtd-wrap {
  color: var(--mtd-sand);
}

.entry-content .mtd-brand,
.entry-content .mtd-h2,
.entry-content .mtd-card-title,
.entry-content .mtd-page-title,
.entry-content .mtd-app-name,
.entry-content .mtd-wrap h1,
.entry-content .mtd-wrap h2,
.entry-content .mtd-page h1,
.entry-content .mtd-page h2 {
  color: var(--mtd-sand) !important;
}

.entry-content .mtd-page h3 {
  color: var(--mtd-brass) !important;
}

.entry-content .mtd-page p,
.entry-content .mtd-page li,
.entry-content .mtd-meta {
  color: var(--mtd-muted) !important;
}

.entry-content .mtd-page strong {
  color: var(--mtd-sand) !important;
}

.entry-content .mtd-brand,
.entry-content .mtd-page h1 {
  margin-top: 0 !important;
}

/* Dark site chrome to match Field & Metal preview */
html,
body,
#wrapper,
#inner-wrap,
.site,
.content-bg,
.entry-content-wrap,
.entry-content,
main {
  background-color: #12100e !important;
  background: #12100e !important;
}

.entry-content .mtd-kicker,
.entry-content .mtd-section-label {
  color: var(--mtd-copper) !important;
}

.entry-content .mtd-lede,
.entry-content .mtd-copy {
  color: var(--mtd-muted) !important;
}

.entry-content .mtd-wrap a:not(.mtd-btn) {
  color: var(--mtd-brass) !important;
}

.entry-content .mtd-list a {
  color: var(--mtd-sand) !important;
}

.entry-content .mtd-list a:hover {
  color: var(--mtd-copper) !important;
}

.entry-content .mtd-btn-primary {
  color: #1a120c !important;
}

.entry-content .mtd-btn-ghost {
  color: var(--mtd-sand) !important;
}

.entry-content .mtd-section-label {
  margin: 0 0 0.75rem !important;
}

.entry-content .mtd-h2 {
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
}

.entry-content .mtd-copy,
.entry-content .mtd-lede {
  margin-left: 0 !important;
  padding-left: 0 !important;
  max-width: 38rem;
}

.entry-content ul.mtd-list {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.entry-content ul.mtd-list li {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* Keep CTA button spacing (App Store ↔ Privacy / Terms) */
.entry-content .mtd-cta-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1.1rem !important;
  align-items: center;
}

.entry-content .mtd-cta-row .mtd-btn {
  margin: 0 !important;
}

.entry-content .mtd-note {
  margin-top: 2rem !important;
}

/* WooCommerce gallery height fix */
.woocommerce-product-gallery {
  height: auto !important;
}