/* Deep South — site styles */
:root {
  --pine: #12261E;
  --pine-2: #1C3A2E;
  --pine-3: #2B5141;
  --sand: #F3EEE4;
  --sand-2: #E8DFCF;
  --line: #CFC3AE;
  --rust: #A9481A;
  --rust-light: #F0A77A;
  --body: #34433C;
  --muted: #4D5C55;
  --mist: #D8E0D9;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--sand); color: var(--pine); font-family: var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--pine); text-decoration: none; }
a:hover { color: var(--rust); }
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; margin: 0; }

.container { max-width: 1320px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.section { padding-top: 88px; padding-bottom: 40px; }
.section-title { font-size: 40px; letter-spacing: 0.04em; margin-bottom: 32px; }
.section-title.center { text-align: center; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: #fff; padding: 10px 14px; }

/* Promo + header */
.promo { background: var(--rust); color: #fff; text-align: center; padding: 10px 16px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.site-header { background: var(--pine); color: var(--sand); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.logo { color: var(--sand); display: flex; align-items: center; gap: 12px; }
.logo span { font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: 0.06em; }
.logo:hover { color: var(--sand); }
.main-nav { display: flex; gap: 28px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.main-nav a { color: var(--sand); }
.main-nav a:hover { color: var(--rust-light); }
.main-nav a.sale { color: var(--rust-light); }
.utility { display: flex; gap: 4px; }
.icon-btn { width: 44px; height: 44px; background: none; border: 0; color: var(--sand); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; position: relative; border-radius: 4px; }
.icon-btn:hover { background: var(--pine-2); }
.cart-count { position: absolute; top: 4px; right: 2px; background: var(--rust); color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }
.menu-toggle { display: none; }

/* Buttons */
.btn { display: inline-block; padding: 16px 30px; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; border-radius: 4px; border: 0; cursor: pointer; font-family: var(--sans); text-align: center; }
.btn-accent { background: var(--rust); color: #fff; }
.btn-accent:hover { background: #8E3B13; color: #fff; }
.btn-outline { border: 2px solid var(--sand); color: var(--sand); padding: 14px 28px; }
.btn-outline:hover { background: var(--sand); color: var(--pine); }
.btn-dark { background: var(--pine); color: var(--sand); }
.btn-dark:hover { background: var(--pine-2); color: var(--sand); }
.btn-row, .link-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-row { gap: 20px; }
.text-link { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; border-bottom: 2px solid currentColor; padding-bottom: 2px; }

/* Photo placeholders — swap the background for a real image:
   .hero-photo { background: url(../images/hero.jpg) center/cover; } */
.photo { border-radius: 6px; display: flex; align-items: flex-end; padding: 24px; }
.photo span { font-size: 13px; }

/* Hero */
.hero { background: var(--pine-2); color: var(--sand); }
.hero-inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.hero-copy { flex: 1 1 520px; display: flex; flex-direction: column; gap: 24px; }
.eyebrow { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust-light); }
.hero h1 { font-size: clamp(48px, 7vw, 84px); line-height: 0.98; }
.lede { margin: 0; font-size: 19px; line-height: 1.55; max-width: 520px; color: var(--mist); }
.hero-photo { flex: 1 1 480px; height: 460px; background: var(--pine-3); color: var(--mist); }

/* Categories */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.cat-tile { display: flex; flex-direction: column; gap: 14px; }
.cat-tile .photo { height: 320px; transition: transform .2s ease; }
.cat-tile:hover .photo { transform: translateY(-4px); }
.cat-tile span { font-family: var(--display); font-size: 22px; text-transform: uppercase; }
.tile-a { background: #D9CDB8; } .tile-b { background: #B9C9C0; } .tile-c { background: #CFB9A6; } .tile-d { background: #C4C8B0; }

/* Products */
#best { padding-top: 56px; padding-bottom: 88px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 32px; }
.section-head .section-title { margin-bottom: 0; }
.product { display: flex; flex-direction: column; gap: 10px; }
.product-img { height: 300px; background: #fff; border: 1px solid #E2D9C8; border-radius: 6px; position: relative; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--rust); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 3px; text-transform: uppercase; }
.product-name { font-weight: 600; font-size: 16px; }
.product-rating { font-size: 13px; color: var(--muted); }
.product-price { font-weight: 700; font-size: 16px; }
.add-btn { height: 44px; background: var(--pine); color: var(--sand); border: 0; border-radius: 4px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; font-family: var(--sans); }
.add-btn:hover { background: var(--pine-2); }
.add-btn.added { background: var(--rust); }

/* Tagline strip */
.tagline { background: var(--pine); color: var(--sand); padding: 22px 16px; text-align: center; font-family: var(--display); font-size: 26px; letter-spacing: 0.12em; text-transform: uppercase; }

/* Big scrolling banner */
.marquee { background: #0E1D17; border-top: 6px solid #D4622E; border-bottom: 1px solid var(--pine-3); overflow: hidden; padding: 40px 0 46px; }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 0.35em; animation: marquee 75s linear infinite; font-family: "Anton", var(--display); font-size: clamp(52px, 7.5vw, 128px); line-height: 1; text-transform: uppercase; color: #D4622E; white-space: nowrap; padding-right: 0.35em; }
.marquee-track i { font-style: normal; font-size: 0.5em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Story */
.story { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.story-photo { flex: 1 1 480px; height: 420px; background: #D9CDB8; color: var(--muted); }
.story-copy { flex: 1 1 480px; display: flex; flex-direction: column; gap: 20px; }
.story-copy h2 { font-size: 48px; line-height: 1.05; }
.story-copy p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--body); }

/* Wholesale */
.wholesale { background: var(--sand-2); }
.wholesale-inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding-top: 72px; padding-bottom: 72px; }
.wholesale-inner > div { flex: 1 1 560px; display: flex; flex-direction: column; gap: 12px; }
.wholesale h2 { font-size: 40px; }
.wholesale p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--body); }

/* FAQ */
.faq { max-width: 880px; margin: 0 auto; padding: 96px 32px; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: var(--body); }

/* Signup */
.signup { background: var(--pine-2); color: var(--sand); }
.signup-inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; justify-content: space-between; padding-top: 80px; padding-bottom: 80px; }
.signup-inner > div { flex: 1 1 520px; display: flex; flex-direction: column; gap: 12px; }
.signup h2 { font-size: 44px; }
.signup p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--mist); }
.signup-form { flex: 1 1 440px; display: flex; flex-wrap: wrap; gap: 12px; }
.signup-form input { flex: 1 1 240px; height: 52px; padding: 0 16px; font-size: 16px; border: 0; border-radius: 4px; font-family: var(--sans); }
.signup-form .btn { height: 52px; padding: 0 28px; }
.form-msg { flex-basis: 100%; min-height: 1.4em; font-size: 15px; }

/* Footer */
.site-footer { background: var(--pine); color: var(--mist); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; padding-top: 64px; padding-bottom: 32px; }
.footer-col { flex: 1 1 180px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col:first-child { flex-basis: 280px; }
.footer-col h3 { font-family: var(--sans); font-size: 13px; letter-spacing: 0.1em; color: var(--sand); }
.footer-col a { color: var(--mist); }
.footer-col a:hover { color: var(--rust-light); }
.footer-logo { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: 0.06em; color: var(--sand); }
.copyright { padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--pine-3); font-size: 13px; }

/* Mobile */
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; order: -1; }
  .header-inner { flex-wrap: wrap; }
  .main-nav { display: none; flex-basis: 100%; flex-direction: column; gap: 0; order: 10; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-top: 1px solid var(--pine-3); }
  .container { padding-left: 20px; padding-right: 20px; }
  .hero-inner { padding-top: 56px; padding-bottom: 56px; }
  .hero-photo { height: 320px; }
  .section-title, .wholesale h2 { font-size: 32px; }
  .story-copy h2, .signup h2 { font-size: 36px; }
  .tagline { font-size: 18px; }
}

/* Registered trademark mark next to the DEEP SOUTH wordmark */
.reg { font-family: var(--sans); font-size: 0.4em; font-weight: 600; letter-spacing: 0; vertical-align: super; line-height: 0; margin-left: 2px; }

.cart-count[hidden] { display: none; }

/* Flag + cotton logo mark */
.logo-mark { display: block; height: 38px; width: auto; }
@media (max-width: 960px) {
  .header-inner { gap: 8px; }
  .logo { gap: 8px; margin-right: auto; }
  .logo span { font-size: 20px; }
  .logo-mark { height: 28px; }
  .utility .icon-btn[aria-label="Account"] { display: none; }
}
.faq-more { margin: 28px 0 0; text-align: center; }

/* Footer on tablets and phones: brand on top, link columns in an even grid */
@media (max-width: 960px) {
  .footer-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; padding-top: 48px; padding-bottom: 28px; }
  .footer-col { min-width: 0; }
  .footer-col:first-child { grid-column: 1 / -1; padding-bottom: 24px; border-bottom: 1px solid var(--pine-3); }
  .copyright { padding-top: 18px; padding-bottom: 28px; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Trust bar above the footer */
.trust-bar { background: #fff; border-top: 1px solid #E2D9C8; }
.trust-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 40px; padding-bottom: 40px; }
.trust-item { display: flex; align-items: flex-start; gap: 14px; padding: 4px 24px; color: var(--pine); }
.trust-item + .trust-item { border-left: 1px solid #E2D9C8; }
.trust-item:first-child { padding-left: 0; }
.trust-item svg { flex: none; color: var(--rust); margin-top: 1px; }
.trust-item h3 { font-family: var(--display); font-size: 18px; letter-spacing: 0.04em; margin: 0 0 4px; }
.trust-item p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
a.trust-item:hover h3 { color: var(--rust); }
@media (max-width: 960px) {
  .trust-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; padding-top: 32px; padding-bottom: 32px; }
  .trust-item { padding: 0 16px; }
  .trust-item:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 480px) {
  .trust-item { flex-direction: column; gap: 8px; }
  .trust-item h3 { font-size: 16px; }
  .trust-item p { font-size: 13px; }
}

/* Phones: menu button left, logo centered, icons right */
@media (max-width: 960px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0 8px; }
  .menu-toggle { grid-column: 1; grid-row: 1; justify-self: start; }
  .logo { grid-column: 2; grid-row: 1; justify-self: center; margin-right: 0; }
  .utility { grid-column: 3; grid-row: 1; justify-self: end; gap: 0; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 420px) {
  .logo span { font-size: 18px; }
  .logo-mark { height: 26px; }
  .icon-btn { width: 40px; }
}
@media (max-width: 380px) {
  .logo { gap: 6px; }
  .logo span { font-size: 15px; letter-spacing: 0.05em; }
  .logo-mark { height: 22px; }
  .icon-btn { width: 36px; }
}

/* ===== Full-page search overlay ===== */
html.search-open { overflow: hidden; }
.search-overlay { position: fixed; inset: 0; z-index: 200; background: var(--sand); overflow-y: auto; opacity: 0; transition: opacity .2s ease; }
.search-overlay.is-open { opacity: 1; }
.search-close { position: fixed; top: 20px; right: 24px; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--pine); color: var(--sand); cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 1; }
.search-close:hover { background: var(--rust); }
.search-panel { max-width: 960px; margin: 0 auto; padding: 72px 24px 96px; }
.search-title { font-family: "Anton", var(--display); font-weight: 400; font-size: clamp(72px, 12vw, 150px); line-height: 1; text-align: center; color: var(--pine); margin: 0 0 32px; letter-spacing: 0.01em; }
.search-form { position: relative; max-width: 800px; margin: 0 auto; }
.search-form-icon { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-form input { width: 100%; height: 68px; box-sizing: border-box; padding: 0 24px 0 60px; font: 500 19px var(--sans); color: var(--pine); background: #fff; border: 2px solid var(--line); border-radius: 8px; -webkit-appearance: none; appearance: none; }
.search-form input::placeholder { color: #8A8F8B; }
.search-form input:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px rgba(18,38,30,.15); }
.search-quick { max-width: 800px; margin: 18px auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.search-quick button { min-height: 40px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 20px; background: #fff; color: var(--pine); font: 600 13px var(--sans); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.search-quick button:hover { border-color: var(--pine); }
.search-count { max-width: 800px; margin: 28px auto 0; font-size: 14px; color: var(--muted); min-height: 1em; }
.search-results { max-width: 800px; margin: 8px auto 0; display: flex; flex-direction: column; gap: 32px; }
.sr-group h3 { font-family: var(--display); font-size: 18px; letter-spacing: .06em; color: var(--rust); margin: 0 0 12px; }
.sr-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.sr-product { display: flex; flex-direction: column; gap: 8px; color: var(--pine); }
.sr-thumb { display: block; aspect-ratio: 1 / 1; border-radius: 6px; background: #fff center / cover no-repeat; border: 1px solid #E2D9C8; }
.sr-name { font-weight: 600; font-size: 15px; line-height: 1.35; }
.sr-price { font-weight: 700; font-size: 15px; }
.sr-product:hover .sr-name { color: var(--rust); }
.sr-links { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.sr-link { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 500; color: var(--pine); }
.sr-link svg { flex: none; color: var(--muted); }
.sr-link:hover { color: var(--rust); }
.sr-link:hover svg { color: var(--rust); }
.search-empty { font-size: 17px; color: var(--body); text-align: center; }
.search-empty a { color: var(--rust); text-decoration: underline; }
@media (max-width: 600px) {
  .search-panel { padding-top: 84px; }
  .search-close { top: 14px; right: 14px; width: 46px; height: 46px; }
  .search-form input { height: 58px; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .search-overlay { transition: none; } }
.search-quick[hidden] { display: none; }
.search-form input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
@media (max-width: 600px) { .sr-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .sr-name { font-size: 14px; } }

/* ===== Cart drawer ===== */
html.cart-open { overflow: hidden; }
.cart-drawer { position: fixed; inset: 0; z-index: 210; }
.cart-scrim { position: absolute; inset: 0; background: rgba(10, 20, 15, .55); opacity: 0; transition: opacity .25s ease; }
.cart-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(440px, 100%); background: var(--sand); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; box-shadow: -8px 0 32px rgba(0,0,0,.18); }
.cart-drawer.is-open .cart-scrim { opacity: 1; }
.cart-drawer.is-open .cart-panel { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 18px 24px; background: var(--pine); color: var(--sand); }
.cart-head h2 { font-size: 24px; letter-spacing: .04em; }
.cart-head-count { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--mist); margin-left: 4px; }
.cart-x { width: 44px; height: 44px; border: 0; background: none; color: var(--sand); cursor: pointer; border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.cart-x:hover { background: var(--pine-2); }
.cart-ship { padding: 14px 24px; background: var(--sand-2); }
.cart-ship p { margin: 0 0 8px; font-size: 14px; color: var(--pine); }
.cart-ship-bar { height: 8px; border-radius: 4px; background: #fff; overflow: hidden; }
.cart-ship-bar span { display: block; height: 100%; width: 0; background: var(--rust); border-radius: 4px; transition: width .3s ease; }
.cart-ship.done .cart-ship-bar span { background: #2E7D4F; }
.cart-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-items { list-style: none; margin: 0; padding: 0; }
.cart-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { flex: none; width: 88px; height: 88px; border-radius: 6px; background: #fff center / cover no-repeat; border: 1px solid #E2D9C8; }
.cart-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cart-name { font-weight: 600; font-size: 15px; line-height: 1.35; color: var(--pine); }
.cart-name:hover { color: var(--rust); }
.cart-variant { font-size: 13px; color: var(--muted); }
.cart-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.cart-qty { display: flex; border: 1.5px solid var(--line); border-radius: 4px; background: #fff; height: 40px; }
.cart-qty button { width: 36px; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--pine); }
.cart-qty input { width: 38px; border: 0; text-align: center; font: 15px var(--sans); color: var(--pine); background: transparent; -moz-appearance: textfield; }
.cart-qty input::-webkit-outer-spin-button, .cart-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-line { font-weight: 700; font-size: 15px; }
.cart-remove { align-self: flex-start; margin-top: 4px; padding: 4px 0; min-height: 32px; border: 0; background: none; color: var(--muted); font: 13px var(--sans); text-decoration: underline; cursor: pointer; }
.cart-remove:hover { color: var(--rust); }
.cart-foot { padding: 18px 24px 22px; border-top: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 10px; }
.cart-sub { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; }
.cart-sub strong { font-size: 20px; }
.cart-note { margin: 0; font-size: 13px; color: var(--muted); }
.cart-checkout { width: 100%; height: 54px; }
.cart-checkout-msg { margin: 0; font-size: 14px; color: var(--body); min-height: 0; }
.cart-checkout-msg a { color: var(--rust); text-decoration: underline; }
.cart-continue { border: 0; background: none; font: 600 13px var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--pine); cursor: pointer; min-height: 40px; text-decoration: underline; text-underline-offset: 3px; }
.cart-empty { text-align: center; padding: 48px 8px; display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--muted); }
.cart-empty p { margin: 0; font-size: 17px; color: var(--pine); font-weight: 600; }
.cart-empty-links { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 260px; margin-top: 8px; }
.cart-foot[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .cart-panel, .cart-scrim { transition: none; } }

/* Home product card buttons: link style + "Coming Soon" */
a.add-btn { display: flex; align-items: center; justify-content: center; color: var(--sand); }
a.add-btn:hover { color: var(--sand); background: var(--pine-2); }
.add-btn.is-soon, .add-btn:disabled { background: #fff; color: var(--muted); border: 1.5px solid var(--line); cursor: not-allowed; }

/* Phones: products two per row (categories stay one per row) */
@media (max-width: 600px) {
  #product-grid, .related .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  #product-grid .product-img, .related .product-img { height: auto; aspect-ratio: 1 / 1; }
  #product-grid .product, .related .product { gap: 6px; }
  #product-grid .product-name, .related .product-name { font-size: 14px; line-height: 1.35; }
  #product-grid .product-price, .related .product-price { font-size: 14px; }
  #product-grid .add-btn { height: 40px; font-size: 11px; letter-spacing: .06em; }
  #product-grid .badge, .related .badge { top: 8px; left: 8px; font-size: 11px; padding: 4px 8px; }
}

/* Trademark notice under the copyright line */
.tm-notice { display: block; margin-top: 6px; font-size: 12px; line-height: 1.5; color: var(--mist); opacity: .85; }

/* ===== Full-page mobile menu ===== */
html.menu-open { overflow: hidden; }
.mobile-menu { position: fixed; inset: 0; z-index: 205; background: var(--pine); color: var(--sand); display: flex; flex-direction: column; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease; }
.mobile-menu.is-open { opacity: 1; transform: none; }
.mm-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--pine-3); }
.mm-logo { display: flex; align-items: center; gap: 8px; color: var(--sand); }
.mm-logo:hover { color: var(--sand); }
.mm-logo .logo-mark { height: 26px; }
.mm-logo span { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .06em; }
.mm-close { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px 0 12px; border: 0; background: none; color: var(--sand); font: 600 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.mm-search { display: flex; align-items: center; gap: 14px; padding: 0 20px; border-bottom: 1px solid var(--pine-3); color: var(--mist); }
.mm-search input { flex: 1; min-width: 0; height: 64px; border: 0; background: transparent; color: var(--sand); font: 500 22px var(--display); letter-spacing: .04em; text-transform: uppercase; outline: none; }
.mm-search input::placeholder { color: #8FA39A; }
.mm-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.mm-search:focus-within { background: var(--pine-2); }
.mm-nav { flex: 1; overflow-y: auto; padding: 4px 20px 24px; }
.mm-list { list-style: none; margin: 0; padding: 0; }
.mm-list > li { border-bottom: 1px solid var(--pine-3); }
.mm-link { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; padding: 0; border: 0; background: none; color: var(--sand); font-family: var(--display); font-weight: 700; font-size: clamp(28px, 8vw, 36px); letter-spacing: .02em; text-transform: uppercase; text-align: left; cursor: pointer; }
.mm-link:hover { color: var(--sand); }
.mm-link svg { flex: none; color: var(--rust-light); transition: transform .2s ease; }
.mm-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mm-sub { list-style: none; margin: 0; padding: 0 0 18px; display: flex; flex-direction: column; }
.mm-sub[hidden] { display: none; }
.mm-sub a { display: flex; align-items: center; min-height: 44px; padding-left: 4px; font-size: 17px; font-weight: 500; color: var(--mist); }
.mm-sub a:hover { color: var(--rust-light); }
.mm-sub li:first-child a { font-weight: 700; color: var(--sand); }
.mm-small { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.mm-small a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--mist); }
.mm-bottom { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--pine-3); background: var(--pine); }
.mm-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border: 1.5px solid var(--pine-3); border-radius: 6px; background: transparent; color: var(--sand); font: 700 14px var(--display); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.mm-btn:hover { border-color: var(--sand); color: var(--sand); }
.mm-cart { background: var(--rust); border-color: var(--rust); color: #fff; }
.mm-cart:hover { background: #8E3B13; border-color: #8E3B13; color: #fff; }
@media (min-width: 961px) { .mobile-menu { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .mobile-menu { transition: none; } }
.mobile-menu[hidden] { display: none; }

/* ===== Desktop mega menu ===== */
.main-nav a { position: relative; padding: 8px 0; }
.main-nav a.has-mega::after, .main-nav a.mega-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rust-light); transform: scaleX(0); transition: transform .18s ease; }
.main-nav a.mega-active { color: var(--rust-light); }
.main-nav a.mega-active::after { transform: scaleX(1); }
.mega-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--sand); color: var(--pine); border-top: 3px solid var(--rust); box-shadow: 0 18px 40px rgba(18, 38, 30, .18); opacity: 0; transform: translateY(-6px); transition: opacity .16s ease, transform .16s ease; }
.mega-panel.is-open { opacity: 1; transform: none; }
.mega-panel[hidden] { display: none; }
.mega-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(300px, 1.35fr); gap: 40px; padding-top: 40px; padding-bottom: 44px; }
.mega-col h3 { font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--rust); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.mega-col li a { display: inline-flex; align-items: center; min-height: 34px; font-size: 15px; font-weight: 500; color: var(--pine); }
.mega-col li a:hover, .mega-col li a:focus-visible { color: var(--rust); text-decoration: underline; text-underline-offset: 4px; }
.mega-col li:first-child a { font-weight: 700; }
.mega-soon { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; font-size: 15px; color: var(--muted); }
.mega-soon em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border-radius: 10px; background: var(--sand-2); color: var(--muted); }
.mega-feature-label { display: flex; align-items: center; gap: 10px; }
.mega-feature-label::before { content: ""; width: 22px; height: 2px; background: var(--rust); }
.mega-feature { display: block; color: var(--pine); }
.mega-feature-img { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; border-radius: 8px; border: 1px solid #E2D9C8; background: #fff center / cover no-repeat; overflow: hidden; }
.mega-feature:hover .mega-feature-img { border-color: var(--pine); }
.mega-feature-empty { font-family: var(--display); font-size: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mega-tag { position: absolute; top: 12px; left: 12px; background: var(--pine); color: var(--sand); font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 5px 9px; border-radius: 3px; }
.mega-feature-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 12px; }
.mega-feature-name { font-family: var(--display); font-size: 18px; font-weight: 700; text-transform: uppercase; line-height: 1.2; }
.mega-feature-price { font-weight: 700; font-size: 16px; white-space: nowrap; }
.mega-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rust); }
.mega-cta:hover { color: var(--pine); }
@media (max-width: 960px) { .mega-panel { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .mega-panel, .main-nav a::after { transition: none; } }

/* Mega menu: "Rooted in the South" flag strip along the bottom */
.mega-states { border-top: 1px solid var(--line); background: var(--sand-2); }
.mega-states-inner { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.mega-states-label { flex: none; font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--rust); }
.mega-states-label:hover { color: var(--pine); }
.mega-states-row { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mega-states-row li { display: flex; align-items: center; gap: 8px; }
.mega-states-row img { height: 20px; width: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(18,38,30,.12); }
.mega-states-row span { font-size: 12px; font-weight: 600; color: var(--pine); white-space: nowrap; }
@media (max-width: 1240px) { .mega-states-row span { display: none; } .mega-states-row { justify-content: flex-start; gap: 14px; } .mega-states-row img { height: 22px; } }

/* Mega menu flag strip — faded, quiet signature line (full color on hover) */
.mega-states { background: transparent; border-top: 1px solid rgba(18,38,30,.10); }
.mega-states-inner { padding-top: 12px; padding-bottom: 14px; opacity: .75; transition: opacity .2s ease; }
.mega-states-inner:hover { opacity: 1; }
.mega-states-label { color: var(--muted); font-size: 12px; letter-spacing: .18em; }
.mega-states-label:hover { color: var(--rust); }
.mega-states-row img { height: 16px; filter: grayscale(1) contrast(.85); opacity: .55; box-shadow: none; transition: filter .2s ease, opacity .2s ease; }
.mega-states-row li:hover img { filter: none; opacity: 1; }
.mega-states-row span { font-size: 11px; font-weight: 500; letter-spacing: .04em; color: var(--muted); }
.mega-states-row li:hover span { color: var(--pine); }
@media (max-width: 1240px) { .mega-states-row img { height: 18px; } }
@media (prefers-reduced-motion: reduce) { .mega-states-inner, .mega-states-row img { transition: none; } }

/* Mega menu flag strip — Option A: small, full-color flags, softened (replaces grayscale) */
.mega-states-inner { opacity: 1; }
.mega-states-row img { height: 16px; filter: none; opacity: .85; border-radius: 2px; box-shadow: 0 0 0 1px rgba(18,38,30,.10); }
.mega-states-row li:hover img { opacity: 1; }
.mega-states-row span { font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.mega-states-row li:hover span { color: var(--pine); }

/* Mega menu flag strip — Option D: dark green band with full-color flags */
.mega-states { background: var(--pine); border-top: 0; }
.mega-states-inner { opacity: 1; }
.mega-states-label { color: var(--rust-light); }
.mega-states-label:hover { color: var(--sand); }
.mega-states-row img { height: 16px; filter: none; opacity: 1; border-radius: 2px; box-shadow: none; }
.mega-states-row span { font-size: 12px; font-weight: 500; color: var(--mist); }
.mega-states-row li:hover span { color: #fff; }
.mega-panel { border-bottom: 3px solid var(--rust); }
.mega-states { background: #1B382C; }

/* Mega menu flag strip — back to Option A (small, full-color flags on the menu background) */
.mega-panel { border-bottom: 0; }
.mega-states { background: transparent; border-top: 1px solid rgba(18,38,30,.10); }
.mega-states-label { color: var(--muted); }
.mega-states-label:hover { color: var(--rust); }
.mega-states-row img { height: 16px; filter: none; opacity: .85; border-radius: 2px; box-shadow: 0 0 0 1px rgba(18,38,30,.10); }
.mega-states-row li:hover img { opacity: 1; }
.mega-states-row span { font-size: 12px; font-weight: 500; color: var(--muted); }
.mega-states-row li:hover span { color: var(--pine); }

/* Phone menu: "Our Southern Roots" flag row (compact version of the mega menu strip) */
.mm-states { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--pine-3); display: flex; flex-direction: column; gap: 12px; }
.mm-states-label { align-self: flex-start; font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mist); opacity: .8; }
.mm-states-label:hover { color: var(--rust-light); opacity: 1; }
.mm-states-row { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.mm-states-row li { flex: 1 1 0; display: flex; justify-content: center; }
.mm-states-row img { width: 100%; max-width: 34px; height: auto; border-radius: 2px; opacity: .9; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }

/* Uniform flag size in the mega menu strip and the phone menu row */
.mega-states-row img { width: 24px; height: 16px; object-fit: fill; }
.mm-states-row img { aspect-ratio: 3 / 2; object-fit: fill; }
@media (max-width: 1240px) { .mega-states-row img { width: 27px; height: 18px; } }

/* Scrolling state-flag banner (home page + product pages) — full width, moves like the word banner */
.flag-marquee { width: 100vw; margin-left: calc(50% - 50vw); background: var(--pine); display: flex; align-items: stretch; overflow: hidden; border-top: 4px solid var(--rust); }
.flag-marquee-label { flex: none; display: flex; align-items: center; padding: 0 28px 0 max(32px, calc((100vw - 1320px) / 2 + 32px)); background: var(--pine); color: var(--rust-light); font-family: var(--display); font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; position: relative; z-index: 1; box-shadow: 16px 0 18px -6px var(--pine); }
.flag-marquee-label:hover { color: var(--sand); }
.flag-marquee-viewport { flex: 1; min-width: 0; overflow: hidden; }
.flag-marquee-track { list-style: none; margin: 0; padding: 22px 0; display: flex; width: max-content; animation: marquee 45s linear infinite; }
.flag-marquee-track li { display: flex; align-items: center; gap: 14px; padding-right: 44px; }
.flag-marquee-track img { width: 54px; height: 36px; object-fit: fill; border-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.flag-marquee-track span { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sand); white-space: nowrap; }
@media (max-width: 600px) {
  .flag-marquee-label { padding: 0 14px 0 16px; font-size: 11px; letter-spacing: .12em; line-height: 1.25; max-width: 92px; box-shadow: 12px 0 14px -6px var(--pine); }
  .flag-marquee-track { padding: 16px 0; animation-duration: 35s; }
  .flag-marquee-track img { width: 42px; height: 28px; }
  .flag-marquee-track span { font-size: 16px; }
  .flag-marquee-track li { gap: 10px; padding-right: 32px; }
}
@media (prefers-reduced-motion: reduce) { .flag-marquee-track { animation: none; } }

/* Word banner: 15% smaller across the site */
.marquee { padding: 31px 0 35px; }
.marquee-track { font-size: clamp(40px, 5.76vw, 98px); }

/* ===== Work banner (home) ===== */
.work-banner { position: relative; background: #0B0B0A url('../images/banners/banner-grinder-electric.jpg') right center / cover no-repeat; color: var(--sand); min-height: 520px; display: flex; align-items: center; }
.work-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,7,.85) 0%, rgba(8,8,7,.55) 35%, rgba(8,8,7,0) 60%); pointer-events: none; }
.work-banner-inner { position: relative; width: 100%; padding-top: 80px; padding-bottom: 80px; }
.work-banner-copy { max-width: 480px; display: flex; flex-direction: column; gap: 20px; }
.work-banner .eyebrow { color: var(--rust-light); }
.work-banner h2 { font-family: var(--display, 'Oswald', sans-serif); text-transform: uppercase; font-size: clamp(40px, 5vw, 68px); line-height: 1; color: var(--sand); margin: 0; }
.work-banner-copy > p:not(.eyebrow) { font-size: 18px; line-height: 1.55; color: #E4DCCB; margin: 0; }
@media (max-width: 760px) {
  .work-banner { display: block; min-height: 0; background: #0B0B0A; }
  .work-banner::before { content: ""; position: relative; display: block; height: 300px; background: url('../images/banners/banner-grinder-electric.jpg') 78% center / cover no-repeat; }
  .work-banner::after { content: ""; position: absolute; left: 0; right: 0; top: 200px; height: 100px; background: linear-gradient(180deg, rgba(11,11,10,0), #0B0B0A); }
  .work-banner-inner { padding-top: 8px; padding-bottom: 56px; }
  .work-banner-copy { max-width: none; }
}

/* Dirty Hands Collection banner (black & white photo) */
.work-banner--dirty { background-color: #111; background-image: url('../images/banners/banner-dirty-hands.jpg'); background-position: 70% center; }
.work-banner--dirty::before { background: linear-gradient(90deg, rgba(10,10,10,.9) 0%, rgba(10,10,10,.7) 38%, rgba(10,10,10,0) 64%); }
@media (max-width: 760px) {
  .work-banner--dirty { background: #111; }
  .work-banner--dirty::before { background: url('../images/banners/banner-dirty-hands.jpg') 82% center / cover no-repeat; }
  .work-banner--dirty::after { background: linear-gradient(180deg, rgba(17,17,17,0), #111); }
}
.work-banner--dirty .work-banner-copy { max-width: 580px; }
@media (max-width: 760px) { .work-banner--dirty .work-banner-copy { max-width: none; } }

/* Wordmark logo (image) next to the cotton flag icon */
.logo-word { display: block; height: 22px; width: auto; }
.logo { gap: 14px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.footer-logo .logo-mark { height: 32px; }
.footer-logo .logo-word { height: 19px; }
.mm-logo .logo-word { height: 16px; }
@media (max-width: 960px) {
  .logo { gap: 9px; }
  .logo-word { height: 17px; }
}
@media (max-width: 760px) {
  .logo-word { height: 15px; }
}
@media (max-width: 420px) {
  .logo { gap: 7px; }
  .logo-word { height: 12px; }
}
/* Wordmark on its own (no cotton flag) */
.site-header .logo-word { height: 26px; }
.mm-logo .logo-word { height: 18px; }
@media (max-width: 960px) { .site-header .logo-word { height: 20px; } }
@media (max-width: 760px) { .site-header .logo-word { height: 17px; } }
@media (max-width: 420px) { .site-header .logo-word { height: 15px; } }
/* Wordmark a bit smaller */
.site-header .logo-word { height: 22px; }
.mm-logo .logo-word { height: 16px; }
@media (max-width: 960px) { .site-header .logo-word { height: 17px; } }
@media (max-width: 760px) { .site-header .logo-word { height: 15px; } }
@media (max-width: 420px) { .site-header .logo-word { height: 13px; } }
/* Header wordmark matches the footer (19px) on desktop; phones/tablets back to the earlier size */
.site-header .logo-word { height: 19px; }
.mm-logo .logo-word { height: 18px; }
@media (max-width: 960px) { .site-header .logo-word { height: 20px; } }
@media (max-width: 760px) { .site-header .logo-word { height: 17px; } }
@media (max-width: 420px) { .site-header .logo-word { height: 15px; } }
/* One wordmark size everywhere: header, footer and phone menu, on every screen */
.site-header .logo-word, .footer-logo .logo-word, .mm-logo .logo-word { height: 19px; }
@media (max-width: 960px) { .site-header .logo-word, .footer-logo .logo-word, .mm-logo .logo-word { height: 19px; } }
@media (max-width: 760px) { .site-header .logo-word, .footer-logo .logo-word, .mm-logo .logo-word { height: 19px; } }
@media (max-width: 420px) { .site-header .logo-word, .footer-logo .logo-word, .mm-logo .logo-word { height: 19px; } }

/* ===== Custom & Wholesale: DS Landworks case study (home) ===== */
.custom-case { background: var(--pine); color: var(--sand); overflow: hidden; }
.custom-case-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.custom-case-copy { display: flex; flex-direction: column; gap: 20px; max-width: 540px; }
.custom-case .eyebrow { color: var(--rust-light); }
.custom-case h2 { font-size: clamp(40px, 5vw, 64px); line-height: 1; color: var(--sand); }
.custom-case-copy > p:not(.eyebrow) { margin: 0; font-size: 18px; line-height: 1.6; color: var(--mist); }
.custom-case-facts { list-style: none; margin: 4px 0 8px; padding: 18px 0; display: flex; gap: 28px; border-top: 1px solid rgba(243,238,228,.15); border-bottom: 1px solid rgba(243,238,228,.15); }
.custom-case-facts li { display: flex; flex-direction: column; gap: 2px; }
.custom-case-facts strong { font-family: var(--display); text-transform: uppercase; font-size: 22px; letter-spacing: .03em; color: var(--sand); }
.custom-case-facts span { font-size: 14px; color: var(--mist); }
.custom-case-stack { position: relative; display: block; height: 520px; }
.custom-case-stack .poster { position: absolute; top: 50%; left: 50%; width: 46%; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: #111; box-shadow: 0 18px 40px rgba(0,0,0,.45); border: 6px solid #F7F3EA; transition: transform .35s ease, z-index 0s .1s; }
.custom-case-stack .poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.custom-case-stack .poster-1 { transform: translate(-112%, -46%) rotate(-8deg); z-index: 1; }
.custom-case-stack .poster-2 { transform: translate(-50%, -54%) rotate(1deg); z-index: 3; }
.custom-case-stack .poster-3 { transform: translate(10%, -46%) rotate(8deg); z-index: 2; }
.custom-case-stack .poster-2 img { object-fit: contain; background: #fff; }
.custom-case-stack .poster:hover { z-index: 5; }
.custom-case-stack .poster-1:hover { transform: translate(-112%, -50%) rotate(0deg) scale(1.04); }
.custom-case-stack .poster-2:hover { transform: translate(-50%, -58%) rotate(0deg) scale(1.04); }
.custom-case-stack .poster-3:hover { transform: translate(10%, -50%) rotate(0deg) scale(1.04); }
@media (max-width: 960px) {
  .custom-case-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 64px; padding-bottom: 64px; }
  .custom-case-stack { height: auto; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; margin: 0 -32px; padding-left: 32px; padding-right: 32px; -webkit-overflow-scrolling: touch; }
  .custom-case-stack .poster, .custom-case-stack .poster:hover { position: relative; top: auto; left: auto; transform: none; flex: 0 0 62%; max-width: 300px; scroll-snap-align: center; }
}
@media (max-width: 560px) {
  .custom-case-facts { gap: 18px; }
  .custom-case-facts strong { font-size: 18px; }
  .custom-case-stack { margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
  .custom-case-stack .poster, .custom-case-stack .poster:hover { flex-basis: 74%; }
}

/* ===== DS Landworks project page ===== */
.project-hero { background: var(--pine); color: var(--sand); }
.project-hero .container { padding-top: 72px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 18px; max-width: 900px; margin-left: auto; margin-right: auto; }
.project-hero .eyebrow { color: var(--rust-light); }
.project-hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1; color: var(--sand); }
.project-hero p:not(.eyebrow) { margin: 0; font-size: 19px; line-height: 1.6; color: var(--mist); max-width: 680px; }
.project-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-top: 72px; padding-bottom: 24px; }
.project-gallery figure { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.project-gallery .shot { aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: #111; box-shadow: 0 10px 28px rgba(18,38,30,.18); }
.project-gallery .shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-gallery .shot.light { background: #fff; }
.project-gallery .shot.light img { object-fit: contain; }
.project-gallery figcaption strong { display: block; font-family: var(--display); text-transform: uppercase; font-size: 22px; color: var(--pine); letter-spacing: .02em; }
.project-gallery figcaption span { font-size: 15px; line-height: 1.55; color: var(--body); }
.project-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; padding-top: 56px; padding-bottom: 80px; }
.project-notes h2 { font-size: 24px; margin-bottom: 10px; }
.project-notes p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--body); }
.project-cta { background: var(--sand-2); }
.project-cta .container { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.project-cta h2 { font-size: clamp(30px, 4vw, 44px); }
.project-cta p { margin: 8px 0 0; font-size: 17px; color: var(--body); }
@media (max-width: 960px) {
  .project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-notes { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .project-gallery { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; }
}
/* Show each design whole (no cropping) on a matching background */
.custom-case-stack .poster { background: #1C1C1C; }
.custom-case-stack .poster img, .project-gallery .shot img { object-fit: contain; }
.project-gallery .shot { background: #1C1C1C; }
.custom-case-stack .poster-2, .project-gallery .shot.light { background: #fff; }
