/* Base reset (Tailwind v4 preflight, pre-compiled so no build tool is needed) */
@layer theme, base;
@layer theme{:root,:host{--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-xs:20rem;--container-sm:24rem;--container-lg:32rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--tracking-tight:-.025em;--tracking-widest:.1em;--leading-tight:1.25;--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:Arial, Helvetica, sans-serif;--default-mono-font-family:var(--font-mono);--color-border:var(--border)}}
@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}

/* ===== Eco Resources site styles ===== */
:root {
  --ink: #1b1c1a;
  --deep: #181b19;
  --paper: #f3f0e9;
  --white: #faf9f5;
  --copper: #a8662b;
  --line: #cbc7bd;
  --background: #f3f0e9;
  --foreground: #1b1c1a;
  --primary: #a8662b;
  --primary-foreground: #fff;
  --card: #faf9f5;
  --card-foreground: #1b1c1a;
  --popover: #faf9f5;
  --popover-foreground: #1b1c1a;
  --secondary: #ded9ce;
  --secondary-foreground: #1b1c1a;
  --muted: #e9e4d9;
  --muted-foreground: #555a55;
  --accent: #e0c3a0;
  --accent-foreground: #1b1c1a;
  --destructive: #ba3626;
  --border: #cbc7bd;
  --input: #cbc7bd;
  --ring: #a8662b;
  --radius: 0;
}

 
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; }
::selection { background: #a8662b; color: white; }
section[id] { scroll-margin-top: 90px; }

.site-header { position: relative; z-index: 30; background: var(--paper); border-bottom: 1px solid #d5d0c6; }
.header-inner { width: min(100% - 64px, 1520px); height: 94px; margin: auto; display: grid; grid-template-columns: 250px 1fr auto; align-items: center; gap: 24px; }
.brand { display: inline-flex; width: 208px; align-items: center; }
.brand img { width: 208px; height: auto; }
.desktop-nav { display: flex; justify-content: center; align-items: center; gap: clamp(18px, 2.5vw, 42px); }
.desktop-nav a { font-size: .86rem; font-weight: 700; transition: color .2s; }
.desktop-nav a:hover { color: var(--copper); }
.header-cta { background: var(--ink); color: #fff; min-height: 48px; display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; padding: 0 20px; font-size: .875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; transition: background .2s; }
.header-cta:hover { background: var(--copper); }
.header-cta span { font-size: 1.25rem; line-height: 1; }
.mobile-menu { display: none; }

.hero { display: grid; grid-template-columns: 56% 44%; min-height: min(820px, calc(100svh - 94px)); position: relative; background: var(--deep); color: var(--white); overflow: hidden; }
.hero-content { padding: clamp(70px, 7vw, 116px) 3vw 116px max(32px, calc((100vw - 1520px)/2 + 32px)); position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; }
.hero-eyebrow, .eyebrow { font-size: .75rem; font-weight: 800; letter-spacing: .17em; line-height: 1.5; }
.hero-eyebrow { color: #e5b887; display: flex; align-items: center; gap: 12px; }
.hero-eyebrow .rule { width: 34px; height: 1px; background: #ca8d50; }
.hero-eyebrow .slash { color: #766d61; padding: 0 4px; }
.hero h1 { font-size: clamp(5rem, 8vw, 9.4rem); font-weight: 800; letter-spacing: -.082em; line-height: .89; margin: clamp(42px, 6vw, 90px) 0 32px; }
h1 em, h2 em { color: #b87a40; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.07em; }
.hero h1 em { display: inline-block; padding-right: .07em; }
.hero-content > p { font-size: clamp(1rem, 1.25vw, 1.22rem); line-height: 1.55; color: #d0d0c9; max-width: 540px; margin: 0 0 36px; }
.hero-actions { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 38px; min-height: 56px; padding: 0 23px; font-size: .875rem; text-transform: uppercase; font-weight: 800; letter-spacing: .04em; transition: background .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button span { font-size: 1.32rem; line-height: 1; font-weight: 400; }
.button-copper { background: #9a5a24; color: #fff; }
.button-copper:hover { background: #7f4a1d; }
.text-link { display: inline-flex; align-items: center; gap: 24px; border-bottom: 1px solid currentColor; padding-bottom: 8px; font-weight: 700; font-size: .9rem; }
.text-link span { font-size: 1.2rem; font-weight: 400; }
.hero-link { color: var(--white); }
.hero-visual { position: relative; min-height: 100%; overflow: hidden; }
.hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,27,25,.3), transparent 32%), linear-gradient(0deg, rgba(9,13,11,.58), transparent 34%); pointer-events: none; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; filter: contrast(1.07) saturate(.76); }
.hero-photo-label { position: absolute; z-index: 1; left: 34px; right: 34px; bottom: 58px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; color: white; font-size: .78rem; font-weight: 700; }
.hero-photo-label span:first-child { letter-spacing: .13em; font-size: .71rem; }
.hero-bottom-line { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 44px; background: #131715; border-top: 1px solid #ffffff2a; padding: 0 max(32px, calc((100vw - 1520px)/2 + 32px)); display: flex; align-items: center; justify-content: space-between; color: #a8aaa2; font-size: .69rem; letter-spacing: .16em; font-weight: 700; }
.hero-bottom-line span span { color: #c38c55; font-size: 1rem; margin-left: 8px; }
.material-band { background: #9a5a24; color: #fff; display: flex; align-items: center; justify-content: center; gap: clamp(20px, 5vw, 85px); padding: 21px 24px; text-transform: uppercase; font-size: .74rem; letter-spacing: .12em; font-weight: 800; }
.material-band i { width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: #e4bb93; }

.section { padding: clamp(84px, 10vw, 160px) 0; }
.section-shell { width: min(100% - 64px, 1400px); margin: auto; }
.eyebrow.dark { color: #74502f; }
.eyebrow.light { color: #c98d55; }
.section-intro { display: grid; grid-template-columns: 27% 1fr; gap: 24px; align-items: start; margin-bottom: 62px; }
.section-intro .eyebrow { padding-top: 16px; }
.section-intro > div { display: grid; grid-template-columns: 1fr minmax(210px, 310px); gap: 50px; align-items: end; }
h2 { font-size: clamp(3.4rem, 5.7vw, 6.35rem); font-weight: 750; letter-spacing: -.075em; line-height: .98; margin: 0; }
.section-intro p { margin: 0 0 8px; max-width: 320px; font-size: 1.02rem; line-height: 1.58; color: #555951; }
.products-section { background: var(--paper); }
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.product-card { min-width: 0; background: #e9e5dc; border: 1px solid #d5d0c7; display: flex; flex-direction: column; }
.product-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 53% 47%; min-height: 490px; }
.product-image { position: relative; overflow: hidden; min-height: 330px; background: #9a9992; }
.product-image img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; filter: saturate(.76); transition: transform .55s ease, filter .55s ease; }
.product-card:hover .product-image img { transform: scale(1.045); filter: saturate(.95); }
.product-card.featured .product-image img { object-position: center 52%; }
.product-copy { padding: clamp(28px, 3.1vw, 50px); display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.product-card.featured .product-copy { justify-content: center; }
.product-copy h3 { font-size: clamp(2.05rem, 3vw, 3.3rem); line-height: 1.03; letter-spacing: -.06em; margin: 22px 0 20px; max-width: 520px; }
.product-copy p { color: #50554f; max-width: 490px; line-height: 1.58; font-size: 1.02rem; margin: 0 0 25px; }
.product-meta { padding-top: 14px; border-top: 1px solid #bdb9b0; width: 100%; color: #5e554b; font-size: .86rem; font-weight: 700; min-height: 58px; }
.product-action { width: 100%; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #a7a59d; margin-top: auto; padding-top: 18px; min-height: 54px; text-transform: uppercase; font-size: .875rem; letter-spacing: .04em; font-weight: 800; transition: color .2s; }
.product-action:hover { color: var(--copper); }
.product-action span { font-size: 1.35rem; font-weight: 400; line-height: 1; }

.process-section { background: #242724; color: #f1eee8; }
.process-top { display: grid; grid-template-columns: 27% 1fr; gap: 24px; margin-bottom: 82px; }
.process-top .eyebrow { padding-top: 18px; }
.process-top h2 { max-width: 900px; }
.process-top p { color: #bec0b9; max-width: 510px; font-size: 1.05rem; line-height: 1.6; margin: 32px 0 0; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #747970; }
.process-step { border-right: 1px solid #555b54; padding: 27px 40px 0 0; min-height: 250px; display: flex; flex-direction: column; justify-content: space-between; }
.process-step + .process-step { padding-left: 40px; }
.process-step:last-child { border-right: none; }
.process-number { font-size: .82rem; color: #d7a069; letter-spacing: .12em; font-weight: 800; }
.process-step h3 { font-size: clamp(1.75rem, 2.3vw, 2.7rem); line-height: 1.08; margin: 0 0 13px; letter-spacing: -.05em; }
.process-step p { color: #b8bbb5; max-width: 330px; margin: 0; font-size: .96rem; line-height: 1.52; }

.yard-section { background: #e4e0d6; }
.yard-intro { margin-bottom: 55px; }
.yard-grid { display: grid; grid-template-columns: 55% 1fr; gap: 20px; align-items: start; }
.yard-grid figure { margin: 0; min-width: 0; }
.yard-main img { width: 100%; height: 620px; object-fit: cover; object-position: center 40%; }
.yard-secondary { padding-top: 100px; }
.yard-secondary img { width: 100%; height: 440px; object-fit: cover; }
.yard-grid figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 15px; font-size: .75rem; font-weight: 800; letter-spacing: .07em; }
.yard-grid figcaption span:last-child { font-weight: 500; letter-spacing: 0; color: #555750; }
.about-section { background: #f5f2eb; border-top: 1px solid #d0ccc2; }
.about-grid { display: grid; grid-template-columns: 27% 1fr; gap: 24px; }
.about-grid .eyebrow { padding-top: 16px; }
.about-grid h2 { margin-bottom: 42px; }
.about-grid p { max-width: 680px; margin: 0 0 20px; color: #535850; font-size: clamp(1.05rem, 1.55vw, 1.35rem); line-height: 1.55; }

.contact-section { background: #8a5224; color: #fffaf2; padding: clamp(86px, 10vw, 150px) 0 62px; }
.contact-head { display: grid; grid-template-columns: 27% 1fr; gap: 24px; }
.contact-head .eyebrow { color: #f6dcc0; padding-top: 15px; }
.contact-head h2 { font-size: clamp(3.65rem, 6.9vw, 7.6rem); }
.contact-head h2 em { color: #e7c9a9; }
.contact-grid { margin: 76px 0 62px; border-top: 1px solid #ffffff7a; padding-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }
.contact-primary p { max-width: 380px; font-size: 1.1rem; line-height: 1.58; margin: 0 0 32px; }
.contact-email { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: clamp(1.35rem, 2.5vw, 2.65rem); line-height: 1.2; border-bottom: 1px solid #ffffff99; padding-bottom: 13px; letter-spacing: -.045em; overflow-wrap: anywhere; }
.contact-email span { font-size: 1.7rem; font-weight: 400; }
.contact-direct { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 24px; font-size: 1rem; font-weight: 700; }
.contact-direct a, .contact-paths a { text-decoration: underline; text-underline-offset: 4px; }
.contact-paths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.contact-paths > div > span, .locations span { font-size: .7rem; font-weight: 800; letter-spacing: .17em; color: #f3d6b8; }
.contact-paths h3 { font-size: 1.5rem; margin: 15px 0 12px; letter-spacing: -.04em; line-height: 1.15; }
.contact-paths p { margin: 0 0 18px; line-height: 1.5; color: #f7e7d6; }
.contact-paths > div > a { font-size: .86rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.locations { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; border-top: 1px solid #ffffff6b; padding-top: 22px; }
.locations p { max-width: 460px; margin: 10px 0 0; font-size: .86rem; line-height: 1.5; }
.site-footer { background: #efebe3; }
.footer-inner { width: min(100% - 64px, 1400px); margin: auto; min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.footer-wordmark { font-weight: 900; font-size: 1.05rem; letter-spacing: -.03em; }
.footer-inner > div { display: flex; gap: 42px; color: #65645f; font-size: .78rem; }
.footer-inner > div a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* Grinding media detail */
.detail-hero { background: #252925; color: #f8f5ee; overflow: hidden; }
.detail-shell { width: min(100% - 64px, 1400px); margin: auto; }
.breadcrumb { display: inline-flex; gap: 10px; padding: 25px 0; color: #ddd6cc; font-size: .81rem; font-weight: 700; }
.breadcrumb:hover { color: #d3985e; }
.detail-hero-grid { display: grid; grid-template-columns: 50% 50%; align-items: stretch; min-height: 680px; }
.detail-hero-copy { padding: 68px 55px 80px 0; display: flex; flex-direction: column; align-items: flex-start; }
.detail-hero-copy h1 { font-size: clamp(4.2rem, 6.6vw, 7.7rem); line-height: .91; letter-spacing: -.08em; margin: 43px 0 35px; }
.detail-hero-copy h1 em { display: block; }
.detail-hero-copy > p { max-width: 530px; color: #cbd0c9; font-size: 1.17rem; line-height: 1.56; margin: 0 0 38px; }
.detail-buttons { display: flex; flex-wrap: wrap; gap: 13px; }
.button-outline { border: 1px solid #b7b9b1; color: #faf9f5; }
.button-outline:hover { background: #fff; color: var(--ink); }
.detail-hero-photo { margin: 0; position: relative; overflow: hidden; }
.detail-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; position: absolute; inset: 0; filter: saturate(.76); }
.detail-hero-photo figcaption { position: absolute; bottom: 22px; left: 24px; background: #1b1c1ad9; padding: 10px 13px; font-size: .7rem; font-weight: 800; letter-spacing: .11em; }
.detail-section { padding: 105px 0; background: var(--paper); }
.detail-section.alt { background: #e6e0d5; }
.detail-title-row { display: grid; grid-template-columns: 1fr minmax(270px, 380px); gap: 50px; align-items: end; margin-bottom: 58px; }
.detail-title-row h2 { font-size: clamp(3.1rem, 5vw, 5.8rem); margin-top: 19px; }
.detail-title-row p { color: #555b53; font-size: 1.04rem; line-height: 1.55; margin: 0 0 6px; }
.spec-list { margin: 0; border-top: 1px solid #b8b8ad; }
.spec-list > div { display: grid; grid-template-columns: 27% 1fr; gap: 20px; padding: 27px 0; border-bottom: 1px solid #b8b8ad; }
.spec-list dt { color: #82532b; font-size: .81rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.spec-list dd { margin: 0; font-size: clamp(1.15rem, 1.65vw, 1.6rem); letter-spacing: -.025em; max-width: 820px; line-height: 1.35; }
.spec-note { max-width: 630px; margin: 24px 0 0 auto; color: #676b64; font-size: .88rem; }
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.offer-card { background: #f4f0e7; padding: 26px; min-height: 255px; display: flex; flex-direction: column; }
.offer-card span { font-size: .73rem; letter-spacing: .12em; font-weight: 800; color: #946136; }
.offer-card h3 { font-size: 1.65rem; letter-spacing: -.05em; line-height: 1.1; margin: auto 0 15px; }
.offer-card p { margin: 0; color: #555c54; font-size: .95rem; line-height: 1.48; }
.detail-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.detail-gallery figure { margin: 0; }
.detail-gallery img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.detail-gallery figcaption { border-top: 1px solid #aeb0a7; margin-top: 12px; padding-top: 12px; font-size: .77rem; font-weight: 700; }
.detail-cta { background: #8a5224; color: #fffaf2; padding: 110px 0; }
.detail-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: end; }
.detail-cta h2 { font-size: clamp(3.5rem, 6vw, 7rem); }
.detail-cta p { font-size: 1.13rem; line-height: 1.55; max-width: 510px; }
.button-white { background: #f8f5ee; color: #262723; margin-top: 15px; }
.button-white:hover { background: #e8cfb4; }
.detail-cta .note { font-size: .83rem; color: #f3dfc9; }
.detail-contact-links { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 26px; font-weight: 700; }
.detail-contact-links a { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1100px) {
  .header-inner { grid-template-columns: 215px 1fr auto; }
  .brand, .brand img { width: 190px; }
  .desktop-nav { gap: 17px; }
  .hero { grid-template-columns: 55% 45%; }
  .hero h1 { font-size: clamp(4.3rem, 7.6vw, 6.9rem); }
  .hero-content { padding-right: 28px; }
  .section-intro > div { gap: 26px; }
  .product-card.featured { grid-template-columns: 50% 50%; }
}

@media (max-width: 850px) {
  .header-inner { width: min(100% - 36px, 1400px); height: 78px; grid-template-columns: 1fr auto; }
  .brand, .brand img { width: 175px; }
  .desktop-nav, .header-cta { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu button { appearance: none; border: 0; background: transparent; color: var(--ink); cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0; text-transform: uppercase; font: inherit; font-size: .875rem; font-weight: 800; letter-spacing: .08em; }
  .menu-lines { display: grid; gap: 5px; }
  .menu-lines i { display: block; width: 20px; height: 2px; background: var(--ink); }
  .mobile-menu nav { position: absolute; right: -18px; top: 39px; width: min(310px, calc(100vw - 36px)); background: #f3f0e9; border: 1px solid #d1cabe; box-shadow: 0 18px 30px #0002; padding: 16px 22px; display: grid; }
  .mobile-menu nav[hidden] { display: none; }
  .mobile-menu nav a { padding: 13px 0; min-height: 48px; border-bottom: 1px solid #d4cfc5; font-weight: 700; font-size: 1rem; }
  .mobile-menu nav a:last-child { color: #985e2d; border: none; }
  .hero { min-height: 0; grid-template-columns: 1fr; }
  .hero-content { padding: 76px 32px 58px; }
  .hero h1 { font-size: clamp(5.2rem, 12vw, 8rem); margin: 55px 0 30px; }
  .hero-visual { height: 480px; min-height: 0; }
  .hero-photo-label { bottom: 24px; }
  .hero-bottom-line { position: relative; padding: 0 32px; }
  .material-band { flex-wrap: wrap; gap: 14px 22px; }
  .section-shell, .detail-shell { width: min(100% - 48px, 1400px); }
  .section-intro, .process-top, .about-grid, .contact-head { grid-template-columns: 1fr; gap: 26px; }
  .section-intro > div { grid-template-columns: 1fr; gap: 20px; }
  .section-intro .eyebrow, .process-top .eyebrow, .about-grid .eyebrow, .contact-head .eyebrow { padding-top: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { min-height: 0; flex-direction: column; align-items: flex-start; padding: 30px 0; gap: 18px; }
  .footer-inner > div { width: 100%; justify-content: space-between; }
  .process-top { margin-bottom: 58px; }
  .detail-hero-grid { grid-template-columns: 1fr; }
  .detail-hero-copy { padding: 45px 28px 56px 0; }
  .detail-hero-copy h1 { font-size: clamp(3.4rem, 6.5vw, 5rem); }
  .detail-hero-photo { height: 480px; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .hero-content { padding: 62px 24px 55px; }
  .hero-eyebrow { gap: 8px; font-size: .75rem; }
  .hero-eyebrow .rule { width: 22px; }
  .hero h1 { font-size: clamp(4.4rem, 16vw, 6.7rem); margin: 50px 0 28px; }
  .hero-content > p { font-size: 1rem; }
  .hero-visual { height: 350px; }
  .hero-photo-label { left: 18px; right: 18px; display: grid; gap: 3px; font-size: .75rem; }
  .hero-photo-label span:first-child { font-size: .75rem; }
  .hero-bottom-line { padding: 0 24px; font-size: .75rem; letter-spacing: .04em; }
  .material-band { display: grid; grid-template-columns: 1fr; justify-content: stretch; padding: 8px 24px; font-size: .75rem; gap: 0; }
  .material-band span { padding: 10px 0; border-bottom: 1px solid #ffffff57; }
  .material-band span:last-child { border-bottom: 0; }
  .material-band i { display: none; }
  .section { padding: 78px 0; }
  .section-shell, .detail-shell { width: min(100% - 36px, 1400px); }
  .section-intro { margin-bottom: 40px; }
  .section-intro > div { display: block; }
  h2 { font-size: clamp(2.75rem, 10.5vw, 5.1rem); }
  .section-intro p { margin-top: 24px; max-width: 480px; }
  .products-grid, .product-card.featured { display: grid; grid-template-columns: 1fr; }
  .product-card.featured { grid-column: auto; }
  .product-image, .product-card.featured .product-image { min-height: 300px; height: 320px; }
  .product-copy { padding: 28px 24px; }
  .product-copy h3 { font-size: 2.35rem; }
  .process-grid { display: block; }
  .process-step, .process-step + .process-step { min-height: 0; padding: 25px 0 28px; border-right: 0; border-bottom: 1px solid #555b54; display: grid; grid-template-columns: 58px 1fr; gap: 20px; }
  .process-step h3 { margin-bottom: 10px; }
  .yard-grid { grid-template-columns: 1fr; gap: 32px; }
  .yard-main img { height: 450px; }
  .yard-secondary { padding-top: 0; }
  .yard-secondary img { height: 320px; }
  .yard-grid figcaption { font-size: .75rem; }
  .about-grid h2 { margin-bottom: 28px; }
  .about-grid p { font-size: 1.08rem; }
  .contact-section { padding: 80px 0 48px; }
  .contact-head h2 { font-size: clamp(3.7rem, 13vw, 5.5rem); }
  .contact-grid { grid-template-columns: 1fr; gap: 54px; margin: 50px 0; }
  .contact-paths { grid-template-columns: 1fr; gap: 32px; }
  .contact-paths h3 { font-size: 1.32rem; }
  .locations { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { width: min(100% - 36px, 1400px); padding: 28px 0; }
  .footer-inner > div { display: grid; gap: 12px; text-align: left; }
  .detail-hero-grid { grid-template-columns: 1fr; }
  .detail-hero-copy { padding: 36px 0 54px; }
  .detail-hero-copy h1 { font-size: clamp(3.1rem, 12vw, 5rem); margin: 32px 0 25px; }
  .detail-hero-photo { height: 470px; }
  .detail-section { padding: 75px 0; }
  .detail-title-row { grid-template-columns: 1fr; gap: 22px; margin-bottom: 38px; }
  .detail-title-row h2 { font-size: clamp(3rem, 11vw, 4.7rem); }
  .spec-list > div { grid-template-columns: 1fr; gap: 9px; padding: 20px 0; }
  .spec-list dd { font-size: 1.2rem; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card { min-height: 190px; }
  .detail-gallery { grid-template-columns: 1fr; gap: 34px; }
  .detail-gallery img { aspect-ratio: 4/3; }
  .detail-cta { padding: 80px 0; }
  .detail-cta-grid { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 380px) {
  .brand, .brand img { width: 150px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .contact-paths { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-inner > div { text-align: left; }
}

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

/* ===== Photo viewer (shared behaviour with EcoNexus) ===== */
.gallery-item { display: block; position: relative; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.gallery-item img { transition: transform .5s ease; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.03); }
.gallery-zoom { position: absolute; left: 0; bottom: 0; background: var(--ink); color: #fff; padding: 9px 13px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.photo-dialog { border: 0; padding: 12px; background: var(--white); max-width: min(92vw, 1050px); max-height: 92vh; box-shadow: 0 25px 70px rgba(0,0,0,.35); margin: auto; }
.photo-dialog::backdrop { background: rgba(24,27,25,.86); }
.photo-dialog img { max-width: 100%; max-height: 75vh; width: auto; height: auto; object-fit: contain; margin: auto; }
.photo-dialog p { color: #555a55; font-size: .85rem; margin: 10px 4px 0; }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; background: var(--ink); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.dialog-close:hover { background: var(--copper); }
@media (max-width: 700px) { .photo-dialog { padding: 8px; max-width: 96vw; } .photo-dialog img { max-height: 78vh; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .gallery-item img { transition: none; } }

/* ===== Accessibility fixes (contrast, screen-reader text) ===== */
/* Copper accent words on light backgrounds: slightly deeper copper so they pass contrast */
.products-section h2 em, .yard-section h2 em, .about-section h2 em, .detail-section h1 em, .detail-section h2 em { color: #9c612d; }
/* Accent word on the copper call-to-action band was copper-on-copper (nearly invisible) */
.detail-cta h2 em { color: #f3dcc2; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Copy-email button (email links can fail in some browsers/apps) */
.copy-email{display:inline-flex;align-items:center;margin-top:14px;min-height:40px;padding:0 16px;border:1px solid currentColor;background:transparent;color:inherit;font:inherit;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.copy-email:hover{background:rgba(255,255,255,.14)}
