/*
Theme Name: MGo Lighting
Description: B2B website for MGo Lighting commercial and custom luminaires.
Version: 1.6.7
Requires at least: 5.6
Requires PHP: 7.4
Text Domain: mgo-lighting
*/

:root {
  color-scheme: light;
  --ink: #1b1b18;
  --black: #171715;
  --warm-black: #20201d;
  --paper: #f6f4ef;
  --white: #fdfbf7;
  --muted: #58574e;
  --gold: #d7bd88;
  --ochre: #796032;
  --line: #dcd8cf;
  --page-pad: clamp(22px, 5vw, 80px);
  --header: 74px;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
body { margin: 0; font: 16px/1.55 var(--sans); color: var(--ink); background: var(--paper); }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.045em; line-height: 1.08; }
h2 { font-size: clamp(34px, 4.1vw, 58px); }
h3 { font-size: 24px; }
:focus-visible { outline: 2px solid #8b6725; outline-offset: 4px; }
.site-header :focus-visible, .hero :focus-visible, .custom :focus-visible, .about :focus-visible, footer :focus-visible { outline-color: #f3d495; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; display: inline-block; vertical-align: middle; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: fixed; z-index: 20; inset: 10px auto auto 10px; padding: 12px; background: var(--gold); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.wrap { width: min(100%, 1536px); margin-inline: auto; padding-inline: var(--page-pad); }
.section { padding-block: clamp(66px, 8vw, 120px); }

.site-header { position: sticky; top: 0; z-index: 5; min-height: var(--header); background: var(--black); color: var(--white); border-bottom: 1px solid #ffffff20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: var(--header); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; flex: none; line-height: 1; }
.wordmark b { display: block; font-size: 23px; font-weight: 700; letter-spacing: -.06em; }
.wordmark small { display: block; font-size: 8px; margin-top: 4px; font-weight: 700; letter-spacing: .22em; color: var(--gold); }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); font-size: 14px; color: #dedbd4; }
.nav > a, .nav-group-label > a { padding-block: 12px; white-space: nowrap; }
.nav-group-label { display: flex; align-items: center; }
.nav a:hover, .nav a:focus-visible, .nav-toggle:hover, .nav-toggle:focus-visible, .nav-toggle[aria-expanded="true"] { color: var(--gold); }
.nav a[aria-current="page"]:not([href="#top"]) { color: var(--gold); }
#custom-menu .category-links a:focus { color: var(--gold); text-decoration: underline; text-underline-offset: .25em; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; min-height: 38px; border: 0; background: transparent; color: inherit; }
.product-menu-toggle { gap: 6px; padding-inline: 0; }
.product-menu-toggle.is-current { color: var(--gold); }
.nav-toggle .icon { width: 13px; height: 13px; }
.nav-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.category-nav { position: absolute; inset: 100% 0 auto; color: #dedbd4; background: var(--warm-black); border-bottom: 1px solid #ffffff30; box-shadow: 0 8px 16px #0003; }
.category-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; align-items: baseline; padding-block: 8px; }
.category-label { display: block; padding-block: 9px; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.category-label:hover { text-decoration: underline; }
.category-links { display: flex; flex-wrap: wrap; gap: 0 clamp(14px, 1.6vw, 27px); list-style: none; padding: 0; margin: 0; }
.category-links a { display: block; padding-block: 9px; font-size: 13px; line-height: 1.4; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; padding: 13px 18px; min-height: 48px; border: 1px solid transparent; border-radius: 3px; font-size: 14px; font-weight: 700; line-height: 1.35; text-align: left; transition: background .18s, border-color .18s, color .18s; }
.button .icon { width: 17px; height: 17px; }
.button-header { border-color: #a99163; color: #f2d49e; min-height: 42px; padding: 10px 14px; white-space: nowrap; }
.button-header:hover, .button-outline:hover { background: #e0c491; border-color: #e0c491; color: var(--ink); }
.button-gold { color: #201a11; background: var(--gold); }
.button-gold:hover { background: #ebd3a0; }
.button-outline { color: #f6e0b4; background: #18171440; border-color: #c4a775; }
.button-neutral { color: var(--ink); border-color: #b4ada0; background: transparent; }
.button-neutral:hover { background: #efebe3; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.page-intro { padding-block: clamp(32px, 6vw, 84px); background: var(--black); color: var(--white); border-top: 1px solid #ffffff26; }
.page-intro .eyebrow { color: var(--gold); }
.page-intro h1 { margin: 12px 0 0; font-size: clamp(38px, 7vw, 86px); line-height: 1; letter-spacing: -.055em; }
.catalog-intro { max-width: 66ch; margin: 16px 0 0; color: #d9d3c7; }
.page-copy { padding-block: clamp(24px, 4vw, 54px); }
.page-copy > p { max-width: 65ch; margin-block: 0 16px; color: var(--muted); font-size: clamp(16px, 2vw, 20px); }
.page-copy > :last-child { margin-bottom: 0; }
.project-enquiry { padding-bottom: clamp(36px, 6vw, 72px); }

.hero { position: relative; isolation: isolate; color: var(--white); background: var(--black); }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: 56% 56%; z-index: -2; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(90deg, #151412f5 0%, #171612d9 26%, #1a1812a0 48%, #15140e2b 78%), linear-gradient(0deg,#171613a8,transparent 38%); }
.hero-inner { position: relative; min-height: clamp(560px, 46vw, 720px); display: flex; align-items: center; padding-block: 70px 92px; }
.hero-content { max-width: 820px; }
.eyebrow, .micro { display: flex; align-items: center; gap: 10px; color: var(--ochre); font-weight: 700; font-size: 11px; letter-spacing: .15em; line-height: 1.4; text-transform: uppercase; }
.eyebrow > span { display: inline-block; flex: 0 0 25px; height: 1px; background: currentColor; }
.hero .eyebrow, .custom .eyebrow, .about .eyebrow { color: #e1c491; }
.hero h1 { margin: 23px 0 20px; font-size: clamp(43px, 5.25vw, 82px); letter-spacing: -.061em; line-height: 1.01; text-wrap: balance; }
.hero h1 em { display: block; color: #e8ce9c; font-style: normal; }
.hero-subtitle { font-size: clamp(16px, 1.48vw, 21px); font-weight: 600; color: #f9f6f0; margin-bottom: 9px; }
.hero-description { color: #ddd9cf; max-width: 520px; line-height: 1.55; }
.hero .actions { margin-top: 30px; }
.hero-caption { position: absolute; right: var(--page-pad); bottom: 26px; display: flex; align-items: center; gap: 12px; color: #f0e7d9; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.hero-caption span:first-child { color: var(--gold); }
.hero-caption .icon { width: 15px; height: 15px; }
.strengths { background: #23231f; color: #f4f0e6; border-top: 1px solid #fff2; }
.strength-list { display: grid; grid-template-columns: repeat(3, 1fr); }
.strength-list > div { display: flex; gap: 15px; align-items: center; padding: 25px 0; }
.strength-list > div + div { padding-left: clamp(16px, 3vw, 48px); border-left: 1px solid #ffffff21; }
.strength-list .icon { width: 23px; height: 23px; color: var(--gold); }
.strength-list strong, .strength-list span { display: block; }
.strength-list strong { font-size: 14px; }
.strength-list span { color: #c1bbad; font-size: 12px; margin-top: 3px; }

.manufacturing { background: var(--black); color: var(--white); border-top: 1px solid #ffffff21; }
.metric-list, .manufacturing-docs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; }
.metric-list { padding-block: clamp(25px, 4vw, 48px); }
.metric-list > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; }
.metric-list dt, .manufacturing-docs li { font-size: 12px; font-weight: 600; letter-spacing: .11em; line-height: 1.45; text-transform: uppercase; }
.metric-list dt { color: #c1bbad; }
.metric-list dd { margin: 0; font-size: clamp(22px, 3.2vw, 43px); font-weight: 600; line-height: 1.1; letter-spacing: -.04em; }
.manufacturing-docs { list-style: none; border-top: 1px solid #ffffff21; padding: 15px 0 18px; color: var(--gold); }

.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, 335px); align-items: end; gap: 30px; margin-bottom: 34px; }
.section-heading h2, .custom h2, .contact h2, .about h2 { margin-top: 14px; }
.section-heading > p { color: var(--muted); padding-bottom: 3px; }
.filter-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filters button { color: var(--muted); background: transparent; padding: 8px 14px; min-height: 39px; border: 1px solid #ccc6ba; border-radius: 3px; font-size: 13px; font-weight: 600; }
.filters button:hover { border-color: #8c7753; color: var(--ink); }
.filters button[aria-pressed="true"] { color: var(--white); background: var(--black); border-color: var(--black); }
.product-count, .image-note { color: var(--muted); font-size: 12px; }
.product-count { white-space: nowrap; }
.image-note { margin-top: 16px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product { min-width: 0; }
.product-button { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 1px solid var(--line); border-radius: 4px; background: var(--white); color: var(--ink); text-align: left; overflow: hidden; transition: border-color .2s; }
.product-button:hover, .product:target .product-button { border-color: #a78e62; }
.product:target .product-button { outline: 2px solid #a78e62; outline-offset: 2px; }
.product-visual { width: 100%; aspect-ratio: 1.4; background: #dfdcd4; overflow: hidden; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-button:hover img { transform: scale(1.04); }
.product-info { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 19px 18px 22px; }
.product-type { display: block; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ochre); }
.product-info h3 { margin-top: 7px; font-size: clamp(20px, 1.8vw, 27px); }
.product-info p { margin-top: 6px; color: var(--muted); font-size: 13px; }
.circle-arrow { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border: 1px solid #c5b99f; border-radius: 50%; color: #775d30; }
.circle-arrow .icon { width: 16px; height: 16px; }
.page-intro a:hover { text-decoration: underline; }
.family-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(24px, 6vw, 80px); }
.family-image { margin: 0; }
.family-image img { width: 100%; height: auto; border-radius: 4px; }
.family-info h2 { font-size: clamp(24px, 3vw, 38px); }
.family-description { margin-bottom: 24px; color: var(--muted); font-size: clamp(16px, 2vw, 21px); }
.family-info ul { margin-block: 14px 24px; padding-inline-start: 21px; color: var(--muted); }
.family-info li + li { margin-top: 8px; }
.family-catalog { padding-block: clamp(28px, 4.5vw, 72px); border-bottom: 1px solid var(--line); }
.family-catalog-title { margin-bottom: 20px; font-size: clamp(24px, 3vw, 36px); }
.family-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.family-catalog-empty { grid-column: 1 / -1; color: var(--muted); }
@media (min-width: 1200px) {
  .family-catalog-custom .family-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1060px) {
  .family-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .family-product-grid { grid-template-columns: minmax(0, 1fr); }
}
.catalog-items { background: var(--warm-black); color: var(--white); }
.catalog-items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: 24px; }
.catalog-preview-grid { max-width: 520px; }
.catalog-item { display: flex; flex-direction: column; min-width: 0; background: #141517; color: var(--white); border: 1px solid #887149; border-radius: 3px; overflow: hidden; }
.catalog-item-image { background: #1c1d20; }
.catalog-item-image img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; }
.catalog-item-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(17px, 2vw, 30px); }
.catalog-item h3 { font-size: clamp(17px, 1.6vw, 23px); letter-spacing: -.015em; overflow-wrap: anywhere; }
.catalog-item-description { color: #d1c9bc; margin-block: 12px 0; overflow-wrap: anywhere; }
.catalog-item-specs { width: 100%; margin: 18px 0; padding-top: 12px; border-top: 1px solid #ffffff26; font-family: ui-monospace, monospace; font-size: 13px; }
.catalog-item-specs > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding-block: 5px; }
.catalog-item-specs dt { color: #d1c9bc; letter-spacing: .05em; text-transform: uppercase; overflow-wrap: anywhere; }
.catalog-item-specs dd { margin: 0; color: #f1cb81; text-align: right; overflow-wrap: anywhere; }
.catalog-item-action { margin-top: auto; max-width: 100%; }
.catalog-item-description + .catalog-item-action, .catalog-item h3 + .catalog-item-action { margin-top: 18px; }
.catalog-item :focus-visible { outline-color: #f3d495; }
.catalog-item-card .catalog-item-image img { aspect-ratio: 16 / 9; }
.catalog-item-card .catalog-item-content { padding: clamp(14px, 1.4vw, 21px); }
.catalog-item-card .catalog-item-description { margin-top: 8px; font-size: 14px; line-height: 1.45; }
.catalog-item-card .catalog-item-specs { margin: 12px 0; padding-top: 6px; font-size: 12px; line-height: 1.4; }
.catalog-item-card .catalog-item-specs > div { padding-block: 3px; }
.catalog-item-card .catalog-item-action { min-height: 44px; padding: 8px 12px; gap: 8px; font-size: 13px; }
.catalog-item-card .catalog-item-action .icon { width: 15px; height: 15px; }
.catalog-item-card :is(h3, .catalog-item-description) + .catalog-item-action { margin-top: 12px; }
.catalog-product-page { padding-block: clamp(24px, 5vw, 64px); }
.catalog-item-detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); align-items: start; }
.catalog-item-detail .catalog-item-description { margin-top: 0; font-size: 17px; }
.catalog-item-detail .catalog-item-action { margin-top: 8px; }

.custom { display: grid; grid-template-columns: 1fr 1fr; background: var(--warm-black); color: var(--white); }
.custom-text-only { grid-template-columns: minmax(0, 1fr); }
.custom-visual { position: relative; min-width: 0; min-height: 370px; background: #3b352a; }
.custom-visual img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.custom-visual span { position: absolute; bottom: 20px; left: 20px; padding: 6px 8px; font-size: 10px; letter-spacing: .11em; text-transform: uppercase; background: #171614df; color: #f1e3cb; }
.custom-content { width: min(100%, 768px); padding: clamp(48px, 6vw, 92px) var(--page-pad); }
.custom-text-only .custom-content { width: min(100%, 1180px); margin-inline: auto; }
.custom-content > p:not(.eyebrow), .about-inner > div > p:not(.eyebrow) { margin-top: 18px; color: #d9d3c7; }
.custom-text-only .custom-content > p:not(.eyebrow) { max-width: 72ch; }
.custom-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 208px), 1fr)); gap: 22px 18px; margin: 26px 0 30px; list-style: none; padding: 0; }
.custom-text-only .custom-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.custom-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: start; }
.custom-list .icon { width: 34px; height: 34px; padding: 7px; border: 1px solid #d7bd8860; color: var(--gold); }
.custom-list h3 { margin: 2px 0 7px; font-size: 16px; letter-spacing: -.02em; line-height: 1.25; }
.custom-list p { color: #d9d3c7; font-size: 14px; line-height: 1.5; }
.custom-project-details { display: grid; gap: 22px; margin-bottom: 20px; padding-top: 22px; border-top: 1px solid #ffffff26; color: #d9d3c7; font-size: 14px; }
.custom-project-guide { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 22px; }
.custom-project-details h3 { margin-bottom: 9px; color: var(--white); font-size: 18px; letter-spacing: -.025em; line-height: 1.25; }
.custom-project-details :is(ol, ul) { margin: 8px 0; padding-inline-start: 22px; }
.custom-project-details li + li, .custom-project-start p + p { margin-top: 4px; }
.custom-project-details li::marker { color: var(--gold); }
.custom-project-start { padding-top: 18px; border-top: 1px solid #ffffff26; }
.custom-categories { background: var(--warm-black); color: var(--white); border-top: 1px solid #ffffff21; padding-block: 30px 38px; }
.custom-categories .eyebrow { color: var(--gold); }
.custom-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 16px; margin-top: 16px; }
.custom-category-grid article { border: 1px solid #ffffff21; padding: 16px; }
.custom-category-grid article:target { border-color: var(--gold); }
.custom-category-image { width: 100%; height: auto; margin-bottom: 16px; border-radius: 2px; }
.custom-category-grid h3 { font-size: 19px; letter-spacing: -.025em; }
.custom-category-grid p { color: #d9d3c7; font-size: 14px; margin-top: 8px; }
.custom-learn-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 7px 10px; border: 1px solid #a99163; color: var(--gold); font-size: 14px; font-weight: 600; }
.custom-learn-more:hover, .custom-learn-more:focus-visible { background: #ffffff0d; }
.custom-learn-more .icon { width: 15px; height: 15px; }
.custom-category-grid .custom-enquiry { display: flex; flex-direction: column; align-items: flex-start; align-self: stretch; justify-content: center; padding: clamp(16px, 2vw, 28px); border-color: #a99163; }
.custom-enquiry h3 { font-size: clamp(22px, 2.4vw, 32px); }
.custom-enquiry .button { margin-top: 18px; max-width: 100%; }

@media (max-width: 1100px) {
  .custom-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 530px) {
  .custom-category-grid { grid-template-columns: 1fr; }
}

.applications { background: #eeebe3; }
.application-tabs { display: flex; flex-wrap: wrap; gap: 8px 28px; border-bottom: 1px solid #d1c9ba; }
.application-tabs button { padding: 10px 1px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; }
.application-tabs button[aria-selected="true"] { color: var(--ink); border-color: #977842; }
.application-panel { display: grid; grid-template-columns: 1.45fr 1fr; min-height: 330px; margin-top: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.application-media { position: relative; min-height: 245px; background: #e0dbd1; }
.application-media img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.application-copy { display: flex; flex-direction: column; align-items: start; justify-content: center; padding: clamp(24px, 4vw, 52px); }
.application-copy h3 { font-size: clamp(26px, 3vw, 42px); margin-top: 12px; }
.application-copy p { color: var(--muted); margin: 13px 0 20px; }
.text-button { display: inline-flex; gap: 8px; align-items: center; background: transparent; padding: 4px 0; border: 0; border-bottom: 1px solid #a68c60; color: #634a21; font-weight: 700; font-size: 14px; text-align: left; }
.text-button .icon { width: 16px; height: 16px; }
.text-button:hover { color: var(--ink); border-color: var(--ink); }

.process-list { list-style: none; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; margin: 0; padding: 0; }
.process-list li { padding-top: 19px; border-top: 1px solid #bca67e; }
.process-list span { color: var(--ochre); font: 600 13px/1 var(--sans); letter-spacing: .1em; }
.process-list h3 { margin-top: 21px; }
.process-list p { margin-top: 9px; font-size: 14px; color: var(--muted); }
.about { padding-block: clamp(56px, 7vw, 94px); background: var(--black); color: var(--white); }
.about-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(25px, 5.5vw, 88px); }
.about-inner > div > p:first-child { margin-top: 0; }
.about-capabilities { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; color: #d9d3c7; }
.about-capabilities li { display: flex; gap: 10px; align-items: baseline; }
.about-capabilities .icon { align-self: flex-start; width: 17px; height: 17px; margin-top: 4px; color: var(--gold); }
.about-metrics { margin-top: clamp(28px, 5vw, 56px); padding-block: 23px 0; border-top: 1px solid #ffffff21; }
.about-metrics dd { font-size: clamp(22px, 2.5vw, 32px); }
.about .text-button { color: var(--gold); margin-top: 20px; }
.about .text-button:hover { color: var(--white); border-color: var(--white); }
.about-page { background: var(--black); color: var(--white); }
.about-page-intro .wrap, .about-page .page-copy { max-width: 1120px; }
.about-page .page-copy { padding-block: 0 clamp(52px, 7vw, 96px); }
.about-page .page-copy > h2 { max-width: 34ch; margin-bottom: 18px; font-size: clamp(27px, 3.2vw, 42px); }
.about-page .page-copy > h2:not(:first-child) { margin-top: clamp(30px, 4vw, 50px); padding-top: clamp(22px, 3vw, 34px); border-top: 1px solid #ffffff26; }
.about-page .page-copy > h3 { margin: 22px 0 8px; font-size: clamp(18px, 2vw, 24px); }
.about-page .page-copy > :is(p, ul) { color: #d9d3c7; font-size: clamp(16px, 1.4vw, 19px); }
.about-page .page-copy > ul { margin: 0; padding-inline-start: 22px; }
.about-page .page-copy li + li { margin-top: 4px; }
.about-page .page-copy li::marker, .about-page .page-copy > p > strong { color: var(--gold); }

.contact { background: #eeeae1; }
.contact-inner { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(30px, 6vw, 98px); }
.contact-intro > p:not(.eyebrow) { margin-top: 18px; color: var(--muted); }
.direct-contact { border-top: 1px solid #cfc5b2; margin-top: 30px; padding-top: 18px; }
.direct-contact a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; margin-top: 7px; overflow-wrap: anywhere; }
.direct-contact a:hover { text-decoration: underline; }
.direct-contact .icon { width: 15px; height: 15px; color: var(--ochre); }
.contact-qr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 148px), 1fr)); gap: 12px; max-width: 430px; margin-top: 18px; }
.contact-qr { display: block; max-width: 215px; padding: 7px; border: 1px solid #cfc5b2; background: #fff; text-align: center; }
.contact-qr img { width: 100%; height: auto; aspect-ratio: 197 / 274; object-fit: contain; }
.contact-qr span { display: block; padding: 4px 0; font-size: 14px; font-weight: 600; }
.contact-qr:hover { border-color: var(--ochre); text-decoration: underline; }
.factory-location { border-top: 1px solid var(--line); }
.factory-location-inner { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(24px, 5vw, 70px); align-items: center; }
.factory-location h2 { margin-top: 12px; }
.factory-location address { margin-block: 18px 22px; font-style: normal; }
.factory-map { display: block; width: 100%; height: clamp(290px, 38vw, 420px); border: 1px solid var(--line); border-radius: 3px; background: #eeeae1; }
.rfq { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: clamp(18px, 3vw, 38px); }
.form-heading { margin-bottom: 20px; }
.form-heading h3 { font-size: 29px; }
.form-heading p, .form-note { color: var(--muted); font-size: 12px; margin-top: 6px; }
.form-note { margin-top: 12px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-bottom: 20px; }
.fields label, .draft-label { display: block; font-size: 13px; font-weight: 700; }
.fields label span { color: var(--ochre); }
.wide { grid-column: 1 / -1; }
input, select, textarea { display: block; width: 100%; margin-top: 5px; padding: 10px 12px; border: 1px solid #c5beb0; border-radius: 3px; background: #fffefa; color: var(--ink); font-size: 16px; font-weight: 400; }
input::placeholder, textarea::placeholder { color: #67635a; opacity: 1; }
textarea { resize: vertical; }
.selected-product { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding: 5px 9px; font-size: 13px; border: 1px solid #e2d1ae; background: #f5ecd9; }
.selected-product button { margin-left: auto; color: #624b25; border: 0; background: transparent; padding: 4px; }
.selected-product .icon { width: 16px; height: 16px; }

footer { background: var(--black); color: var(--white); }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 64px); padding-block: clamp(36px, 5vw, 64px); }
.footer-brand p { max-width: 38ch; margin-top: 18px; color: #d9d3c7; font-size: 14px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.footer-heading { color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .15em; line-height: 1.45; text-transform: uppercase; }
.footer-nav ul, .footer-contact ul { display: grid; gap: 8px; list-style: none; margin: 13px 0 0; padding: 0; }
.footer-nav li, .footer-contact { color: #d9d3c7; font-size: 14px; }
.footer-nav a:hover, .footer-contact a:hover, .back-top:hover { text-decoration: underline; }
.footer-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px clamp(24px, 5vw, 70px); padding-block: 28px 34px; border-block: 1px solid #ffffff21; }
.footer-contact address, .footer-contact p { margin-top: 13px; }
.footer-contact address { font-style: normal; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-contact .footer-phone { color: var(--white); font-size: 18px; font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px; color: #c2baaa; font-size: 12px; }
.back-top { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-size: 13px; }
.back-top .icon { width: 15px; height: 15px; }

@media (max-width: 780px) {
  .footer-main { grid-template-columns: 1fr; }
}
@media (max-width: 530px) {
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .footer-contact { grid-template-columns: 1fr; gap: 24px; }
}

.dialog { width: min(calc(100% - 28px), 810px); padding: 0; max-height: calc(100dvh - 28px); border: 1px solid #b5ac99; border-radius: 5px; background: var(--white); color: var(--ink); overscroll-behavior: contain; }
.dialog::backdrop { background: #141311b8; }
.product-dialog[open] { display: grid; grid-template-columns: .9fr 1.1fr; }
.dialog-close { position: absolute; z-index: 1; top: 11px; right: 11px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #b9b1a2; border-radius: 50%; color: var(--ink); background: var(--white); }
.dialog-close:hover { background: #f0e7d6; }
.detail-visual { min-height: 280px; background: #dfdcd4; }
.detail-visual img { width: 100%; height: 100%; object-fit: cover; }
.detail-body { padding: clamp(22px, 4vw, 43px); }
.detail-body h2 { font-size: clamp(29px, 4vw, 44px); margin: 11px 0 13px; }
.detail-body p:not(.eyebrow) { color: var(--muted); }
.detail-body h3 { margin-top: 21px; font-size: 17px; letter-spacing: -.01em; }
.detail-body ul { color: var(--muted); margin: 7px 0 22px; padding-left: 19px; font-size: 14px; }
.rfq-dialog { width: min(calc(100% - 28px), 650px); }
.rfq-dialog .draft-label { margin-top: 16px; }
.rfq-dialog .actions { margin-top: 16px; }
.rfq-dialog strong { overflow-wrap: anywhere; }
#email-draft { font-size: 14px; }

@media (max-width: 930px) {
  .header-inner { gap: 15px; }
  .nav { gap: 15px; font-size: 13px; }
  .hero::after { background: linear-gradient(90deg,#151412ed,#171612bd 45%,#17161240 100%),linear-gradient(0deg,#17161398,transparent 32%); }
  .custom-content { padding-inline: clamp(25px, 4.5vw, 45px); }
}
@media (max-width: 860px) {
  html { scroll-padding-top: 16px; }
  .site-header { position: relative; min-height: 0; }
  .header-inner { flex-wrap: wrap; gap: 4px 12px; min-height: 0; padding-block: 10px 4px; }
  .nav { order: 1; flex-basis: 100%; flex-wrap: wrap; gap: 0 15px; }
  .nav > a, .nav-group-label > a { padding-block: 7px; }
  .nav-toggle { min-height: 32px; }
  .nav-group { display: contents; }
  .button-header { min-height: 37px; font-size: 12px; padding: 7px 9px; gap: 6px; }
  .button-header .icon { width: 13px; height: 13px; }
  .category-nav { position: static; order: 1; flex-basis: 100%; border-top: 1px solid #ffffff30; border-bottom: 0; background: transparent; box-shadow: none; }
  .category-nav .wrap { padding-inline: 0; }
  .category-row { grid-template-columns: 1fr; gap: 2px; padding-block: 9px 4px; }
  .category-label { padding-block: 5px; }
  .category-links a { padding-block: 7px; }
}
@media (max-width: 730px) {
  .hero-inner { min-height: 590px; padding-block: 54px 68px; }
  .hero h1 { text-wrap: wrap; }
  .hero-image { object-position: 68% center; }
  .hero::after { background: linear-gradient(90deg,#151412e6,#1716129f 60%,#1716126e),linear-gradient(0deg,#171613d9,transparent 58%); }
  .hero-caption { bottom: 17px; }
  .strength-list { grid-template-columns: 1fr; }
  .strength-list > div { padding: 12px 0; gap: 12px; }
  .strength-list > div + div { padding-left: 0; border-left: 0; border-top: 1px solid #ffffff21; }
  .strength-list span { margin-top: 0; }
  .metric-list, .manufacturing-docs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
  .manufacturing-docs { row-gap: 9px; }
  .section-heading, .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 13px; }
  .factory-location-inner { grid-template-columns: minmax(0, 1fr); }
  .family-inner { grid-template-columns: minmax(0, 1fr); }
  .contact-inner { gap: 25px; }
  .section-heading { margin-bottom: 22px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .filter-row { align-items: start; flex-direction: column; gap: 7px; margin-bottom: 12px; }
  .custom { grid-template-columns: 1fr; }
  .custom-visual { min-height: 0; aspect-ratio: 1.45; }
  .custom-content { padding: 40px var(--page-pad) 52px; }
  .application-panel { grid-template-columns: 1fr; min-height: auto; }
  .application-media { min-height: 0; aspect-ratio: 1.55; }
  .application-tabs { gap: 2px 15px; }
  .application-tabs button { font-size: 13px; }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .process-list h3 { margin-top: 12px; font-size: 22px; }
}
@media (max-width: 430px) {
  .header-inner { padding-inline: 16px; }
  .header-inner .wordmark { gap: 7px; }
  .header-inner .wordmark img { width: 32px; height: 32px; }
  .header-inner .wordmark b { font-size: 21px; }
  .hero h1 { font-size: clamp(30px, 9vw, 38px); }
  .hero h1 em { font-size: .92em; }
  .hero .eyebrow { letter-spacing: .12em; }
  .hero-inner { padding-block: 47px 66px; }
  .hero .actions { display: grid; justify-content: start; }
  .hero .button { justify-content: space-between; }
  .product-grid { grid-template-columns: 1fr; }
  .product-visual { aspect-ratio: 1.55; }
  .fields { grid-template-columns: 1fr; }
}
@media (max-width: 350px) {
  .button-header .icon { display: none; }
}
@media (max-width: 610px) {
  .product-dialog[open] { grid-template-columns: 1fr; }
  .detail-visual { min-height: 0; height: clamp(130px, 29vh, 220px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
@media (min-width: 1110px) {
  .hero h1 em { font-size: .86em; text-wrap: wrap; }
}

/* Keep the legacy floating translation widget off the new site's navigation. */
body[data-mgo-asset-base] .gtranslate_wrapper .gt_switcher_wrapper { display: none; }


/* Homepage minimum order information. */
.metric-list .metric-moq dd { font-size: clamp(18px, 1.7vw, 26px); white-space: nowrap; letter-spacing: -.03em; }
@media (min-width: 1100px) {
  .metric-list--with-moq { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(132px, .7fr); }
}
@media (min-width: 731px) and (max-width: 1099px) {
  .metric-list--with-moq { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
