/*
Theme Name: The Hound Standard Clean Build
Theme URI: https://thehoundstandard.com/
Author: Lomas Pollard Brands LLC
Description: Clean editorial commerce foundation for The Hound Standard.
Version: 0.3.5
Text Domain: hound-standard-clean
*/

:root {
  --hound-ink: #101920;
  --hound-copper: #ad5f33;
  --hound-paper: #f5f1e9;
  --hound-white: #ffffff;
  --hound-stone: #d8d0c3;
  --hound-muted: #5a625f;
  --hound-max: 1440px;
  --hound-gutter: clamp(1.25rem, 4vw, 4.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--hound-ink);
  background: var(--hound-white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
img { display: block; max-width: 100%; height: auto; }

.hound-coming-soon {
  min-height: clamp(28rem, 58vh, 44rem);
  display: grid;
  place-content: center;
  gap: 1.25rem;
  padding: clamp(4rem, 10vw, 8rem) var(--hound-gutter);
  text-align: center;
  background: var(--hound-paper);
}
.hound-coming-soon > * { margin: 0 auto; max-width: 46rem; }
.hound-coming-soon .eyebrow { color: var(--hound-copper); }
.hound-coming-soon h1 { font-size: clamp(2.75rem, 7vw, 6rem); line-height: .94; }
.hound-coming-soon p { color: var(--hound-muted); font-size: clamp(1rem, 2vw, 1.2rem); }
.hound-coming-soon .button { margin-top: .75rem; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--hound-copper); outline-offset: 4px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.site-shell { width: min(100%, var(--hound-max)); margin-inline: auto; padding-inline: var(--hound-gutter); }

.utility-bar {
  padding: .55rem var(--hound-gutter);
  color: var(--hound-white);
  background: var(--hound-ink);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}
.site-header { position: relative; z-index: 20; background: var(--hound-white); border-bottom: 1px solid #e8e2d8; }
.header-grid { min-height: 112px; display: grid; grid-template-columns: minmax(250px, 430px) 1fr auto; gap: 2rem; align-items: center; }
.site-logo img { width: min(100%, 410px); max-height: 86px; object-fit: contain; object-position: left center; }
.primary-nav ul { display: flex; justify-content: center; gap: clamp(1rem, 2.4vw, 2.5rem); margin: 0; padding: 0; list-style: none; }
.primary-nav a, .header-actions a { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.primary-nav .shop-all a { color: var(--hound-copper); }
.header-actions { display: flex; gap: 1.1rem; white-space: nowrap; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { cursor: pointer; list-style: none; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; right: 0; top: calc(100% + 1rem); width: min(82vw, 330px); padding: 1.25rem; background: var(--hound-white); border: 1px solid #ddd5c9; box-shadow: 0 18px 45px rgba(16,25,32,.18); }
.mobile-menu nav a { display: block; padding: .8rem 0; border-bottom: 1px solid #eee8df; font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.mobile-menu nav a:last-child { border-bottom: 0; }
.mobile-menu .mobile-shop-all { color: var(--hound-copper); }

.hero { min-height: min(790px, calc(100vh - 150px)); display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); background: var(--hound-paper); }
.hero-copy { padding: clamp(4rem, 9vw, 9rem) var(--hound-gutter); align-self: center; }
.eyebrow { margin: 0 0 1.5rem; color: var(--hound-copper); font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3.5rem, 7vw, 7.7rem); font-weight: 700; letter-spacing: -.055em; line-height: .88; }
.hero-intro { max-width: 38rem; margin: 2rem 0 0; color: #39423f; font-size: clamp(1rem, 1.4vw, 1.25rem); }
.button-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.5rem; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: .8rem 1.35rem; border: 1px solid var(--hound-ink); background: var(--hound-ink); color: var(--hound-white); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.button.secondary { background: transparent; color: var(--hound-ink); }
.hero-media { min-height: 520px; overflow: hidden; background: #a99d8d; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.route-section { padding-block: clamp(4.5rem, 8vw, 8rem); }
.section-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.section-heading h2 { max-width: 800px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.5rem, 5vw, 5.2rem); letter-spacing: -.04em; line-height: .95; }
.section-heading a { color: var(--hound-copper); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.route-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 1rem; }
.route-card { min-height: 360px; display: flex; flex-direction: column; justify-content: end; padding: 1.5rem; background: var(--hound-paper); border-bottom: 4px solid var(--hound-copper); text-decoration: none; }
.route-card:first-child { color: var(--hound-white); background: var(--hound-ink); }
.route-card small { font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.route-card strong { margin-top: .5rem; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1; }

.field-note { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 650px; background: var(--hound-ink); color: var(--hound-white); }
.field-note-media img { width: 100%; height: 100%; object-fit: cover; }
.field-note-copy { align-self: center; padding: clamp(3rem, 7vw, 7rem); }
.field-note h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.8rem, 5vw, 5.5rem); letter-spacing: -.045em; line-height: .95; }
.field-note p:not(.eyebrow) { max-width: 34rem; color: #d8dedc; }

.site-footer { padding-block: 4rem; color: var(--hound-white); background: #0b1217; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; }
.site-footer h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 2.4rem; }
.site-footer h3 { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: .55rem; }

/* WooCommerce storefront foundation */
.woocommerce main.site-main,
.woocommerce-page main.site-main,
.woocommerce .site-main,
.woocommerce-page .site-main { width: min(100%, var(--hound-max)); margin-inline: auto; padding: clamp(3rem, 6vw, 6rem) var(--hound-gutter); }
.woocommerce .woocommerce-breadcrumb { margin-bottom: 2rem; color: var(--hound-muted); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.woocommerce h1.page-title,
.woocommerce div.product .product_title { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.6rem, 5vw, 5rem); letter-spacing: -.04em; line-height: .95; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2.5rem); }
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { float: none; width: auto; margin: 0; }
.woocommerce ul.products li.product a img { aspect-ratio: 1 / 1; object-fit: cover; background: var(--hound-paper); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: Georgia, 'Times New Roman', serif; font-size: 1.3rem; line-height: 1.15; }
.woocommerce ul.products li.product .price { color: var(--hound-ink); font-weight: 700; }
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button { border-radius: 0; background: var(--hound-ink); color: var(--hound-white); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.woocommerce-message,
.woocommerce-info { border-top-color: var(--hound-copper); background: var(--hound-paper); }
.woocommerce-message::before,
.woocommerce-info::before { color: var(--hound-copper); }
.content-shell { width: min(1180px, calc(100% - 3rem)); margin: 0 auto; padding: clamp(4rem, 8vw, 8rem) 0; }
.content-shell.narrow { width: min(760px, calc(100% - 3rem)); }
.content-shell h1 { max-width: 16ch; margin: 0 0 1.5rem; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: .96; }
.content-shell article + article { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid #ddd5c9; }
.search-form { display: flex; gap: .75rem; max-width: 640px; margin-top: 2rem; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 50px; padding: .8rem 1rem; border: 1px solid #b9b1a5; background: #fff; color: var(--hound-ink); font: inherit; }
.search-submit { min-height: 50px; padding: .8rem 1.2rem; border: 1px solid var(--hound-ink); background: var(--hound-ink); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }

@media (max-width: 1080px) {
  .header-grid { grid-template-columns: 1fr auto; }
  .primary-nav { grid-column: 1 / -1; padding-bottom: 1rem; overflow-x: auto; }
  .primary-nav ul { justify-content: flex-start; }
  .hero { grid-template-columns: 1fr; }
  .hero-media { order: -1; min-height: 58vw; max-height: 680px; }
  .route-grid { grid-template-columns: repeat(2, 1fr); }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .header-grid { min-height: 88px; gap: 1rem; }
  .site-logo img { max-width: 235px; max-height: 68px; }
  .header-actions a:not(:last-child) { display: none; }
  .primary-nav { display: none; }
  .mobile-menu { display: block; position: static; }
  .mobile-menu nav { left: var(--hound-gutter); right: var(--hound-gutter); top: 100%; width: auto; }
  .hero-copy { padding-block: 4.5rem; }
  .hero h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .route-grid { grid-template-columns: 1fr; }
  .route-card { min-height: 230px; }
  .field-note { grid-template-columns: 1fr; }
  .field-note-media { min-height: 440px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .woocommerce ul.products { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
