:root {
  --ink: #111111;
  --paper: #ffffff;
  --mist: #f3f3f1;
  --line: #ddddda;
  --muted: #676767;
  --accent: #cfef52;
  --shell: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; }
body.menu-is-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.section { padding: 100px 0; }
.eyebrow { margin: 0 0 16px; color: #fff; font-size: 12px; font-weight: 700; line-height: 1.2; text-transform: uppercase; letter-spacing: 0; }
.eyebrow--dark { color: var(--muted); }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.section-heading h2, .about-copy h2, .why-section h2, .cta-section h2 { margin: 0; font-size: clamp(34px, 4.2vw, 62px); line-height: 1.04; letter-spacing: 0; }
.section-heading p:not(.eyebrow) { margin: 20px 0 0; color: var(--muted); font-size: 18px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 28px; border: 1px solid var(--ink); font-size: 15px; font-weight: 700; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.button--dark { color: #fff; background: var(--ink); }
.button--dark:hover { color: var(--ink); background: var(--accent); border-color: var(--accent); }
.button--light { color: var(--ink); background: #fff; border-color: #fff; }
.button--light:hover { background: var(--accent); border-color: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: 10px; border-bottom: 1px solid currentColor; font-weight: 700; }
.text-link--light { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 100; height: 86px; background: rgba(255,255,255,.97); border-bottom: 1px solid transparent; transition: height .2s ease, box-shadow .2s ease; }
.site-header.is-scrolled { height: 72px; box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.site-header__inner { height: 100%; display: grid; grid-template-columns: minmax(180px,1fr) auto minmax(180px,1fr); align-items: center; }
.site-brand { display: inline-flex; width: max-content; align-items: center; gap: 12px; font-weight: 800; }
.site-brand .custom-logo { width: auto; max-width: 210px; max-height: 58px; }
.site-brand__mark { display: grid; width: 42px; height: 42px; place-items: center; color: #fff; background: var(--ink); font-size: 14px; }
.site-brand__text { font-size: 19px; }
.site-menu { display: flex; align-items: center; gap: 34px; padding: 0; margin: 0; list-style: none; }
.site-menu a { display: block; padding: 12px 0; font-size: 15px; font-weight: 600; }
.site-menu a:hover { opacity: .55; }
.header-actions { justify-self: end; display: inline-flex; align-items: center; gap: 18px; }
.header-search { display: grid; width: 42px; height: 42px; place-items: center; }
.header-search svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.language-switcher { position: relative; }
.language-switcher__current, .language-switcher__menu a { display: inline-flex; min-width: 70px; height: 44px; align-items: center; justify-content: center; gap: 8px; color: #fff; background: #111; border: 0; font-size: 14px; font-weight: 600; line-height: 1; cursor: pointer; }
.language-switcher__current { border-radius: 7px; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.language-switcher__menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 130; display: grid; min-width: 70px; padding: 6px; visibility: hidden; opacity: 0; pointer-events: none; background: #111; border-radius: 7px; box-shadow: 0 16px 34px rgba(0,0,0,.22); transform: translateY(-4px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.language-switcher__flag { width: 16px; height: 11px; flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.language-switcher__flag--en { background: linear-gradient(#b22234 0 7.69%,#fff 7.69% 15.38%,#b22234 15.38% 23.07%,#fff 23.07% 30.76%,#b22234 30.76% 38.45%,#fff 38.45% 46.14%,#b22234 46.14% 53.83%,#fff 53.83% 61.52%,#b22234 61.52% 69.21%,#fff 69.21% 76.9%,#b22234 76.9% 84.59%,#fff 84.59% 92.28%,#b22234 92.28% 100%); position: relative; }
.language-switcher__flag--en::before { content: ''; position: absolute; left: 0; top: 0; width: 7px; height: 6px; background: #3c3b6e; }
.language-switcher__flag--es { background: linear-gradient(#aa151b 0 25%,#f1bf00 25% 75%,#aa151b 75%); }
.language-switcher:hover .language-switcher__menu, .language-switcher:focus-within .language-switcher__menu { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
.language-switcher:hover .language-switcher__current, .language-switcher:focus-within .language-switcher__current { border-radius: 7px 7px 5px 5px; }
.language-switcher__menu a { min-width: 58px; height: 34px; border-radius: 5px; text-decoration: none; }
.language-switcher__menu a:hover, .language-switcher__menu a.is-active { background: #2b2b2b; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle span:not(.screen-reader-text) { display: block; height: 2px; margin: 5px 0; background: currentColor; }

.hero { position: relative; min-height: calc(100vh - 86px); display: flex; align-items: end; overflow: hidden; color: #fff; background: #313638; }
.hero__media, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media { object-fit: cover; }
.hero__shade { background: linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.25) 58%, rgba(0,0,0,.12) 100%); }
.hero__content { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 72px; }
.hero h1 { max-width: 980px; margin: 0; font-size: clamp(48px, 7vw, 104px); line-height: .94; letter-spacing: 0; }
.hero h2 { max-width: 900px; margin: 24px 0 0; font-size: clamp(24px, 3vw, 42px); line-height: 1.08; font-weight: 500; letter-spacing: 0; }
.hero__description { max-width: 680px; margin: 28px 0 0; color: rgba(255,255,255,.86); font-size: 18px; }
.hero__actions { display: flex; gap: 12px; margin-top: 34px; }

.product-types { background: #fff; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-tile { position: relative; aspect-ratio: 1 / 1.12; overflow: hidden; background: #e9e9e5; }
.category-tile::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.category-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.category-tile span { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; color: #fff; font-size: 20px; font-weight: 700; }
.category-tile:hover img { transform: scale(1.035); }

.options-section { background: var(--mist); }
.options-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #d8d8d4; border: 1px solid #d8d8d4; }
.option-card { position: relative; background: #fff; overflow: hidden; }
.option-card img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .35s ease; }
.option-card span { display: block; padding: 18px 20px; font-size: 17px; font-weight: 700; }
.option-card:hover img { transform: scale(1.035); }

.new-products { background: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 16px; }
.product-card__image { display: block; aspect-ratio: 1 / 1.08; overflow: hidden; background: var(--mist); }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-card__image img { transform: scale(1.03); }
.product-card__body { padding: 17px 2px 0; }
.product-card h3 { min-height: 48px; margin: 0 0 10px; font-size: 18px; line-height: 1.3; }
.product-card__inquiry { color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; }

.about-section { background: var(--mist); }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 7vw; }
.about-media { min-height: 650px; }
.about-media img { width: 100%; height: 100%; min-height: 650px; object-fit: cover; }
.about-copy p:not(.eyebrow) { margin: 28px 0; color: var(--muted); font-size: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 28px 0; margin: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats strong, .stats span { display: block; }
.stats strong { font-size: 35px; line-height: 1; }
.stats span { margin-top: 8px; color: var(--muted); font-size: 13px; }

.process-section { background: #fff; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 18px; }
.process-card__image { aspect-ratio: 1.28 / 1; overflow: hidden; background: var(--mist); }
.process-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.process-card:hover img { transform: scale(1.035); }
.process-card span { display: block; margin-top: 15px; color: var(--muted); font-size: 12px; font-weight: 700; }
.process-card h3 { margin: 5px 0 0; font-size: 18px; }

.why-section { color: #fff; background: var(--ink); }
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; }
.why-list > div { display: grid; grid-template-columns: 46px 1fr; column-gap: 20px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.2); }
.why-list > div:last-child { border-bottom: 1px solid rgba(255,255,255,.2); }
.why-list span { grid-row: 1 / 3; color: var(--accent); font-weight: 700; }
.why-list h3 { margin: 0; font-size: 22px; }
.why-list p { margin: 7px 0 0; color: rgba(255,255,255,.65); }

.audience-section { background: var(--mist); }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 430px; }
.audience-grid a { position: relative; display: flex; align-items: end; padding: 26px; overflow: hidden; color: #fff; background-image: var(--audience-image); background-position: center; background-size: cover; }
.audience-grid a::before { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(0,0,0,.78)); transition: background .2s ease; }
.audience-grid span { position: relative; z-index: 1; font-size: 23px; font-weight: 700; }
.audience-grid a:hover::before { background: rgba(0,0,0,.54); }

.insights-section { background: #fff; }
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.insight-card { border-bottom: 1px solid var(--ink); }
.insight-card > a { display: block; aspect-ratio: 1.45 / 1; overflow: hidden; background: var(--mist); }
.insight-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.insight-card:hover img { transform: scale(1.03); }
.insight-card > div { padding: 18px 0 24px; }
.insight-card time { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.insight-card h3 { margin: 9px 0 0; font-size: 21px; line-height: 1.3; }

.cta-section { position: relative; min-height: 560px; display: flex; align-items: center; color: #fff; background: #222; overflow: hidden; }
.cta-section__media { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.18)), var(--cta-image) center/cover; }
.cta-section__content { position: relative; z-index: 1; }
.cta-section h2 { max-width: 850px; margin-bottom: 34px; }

.site-footer { padding: 78px 0 25px; color: #fff; background: #0a0a0a; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 70px; }
.footer-brand { font-size: 24px; font-weight: 800; }
.site-footer p { max-width: 430px; color: rgba(255,255,255,.6); }
.site-footer h2 { margin: 0 0 16px; font-size: 14px; text-transform: uppercase; }
.footer-menu, .footer-menu .site-menu { display: grid; gap: 6px; padding: 0; margin: 0; list-style: none; }
.footer-menu a { color: rgba(255,255,255,.7); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; margin-top: 60px; color: rgba(255,255,255,.4); border-top: 1px solid rgba(255,255,255,.14); font-size: 12px; }
.whatsapp-float { position: fixed; right: 18px; bottom: 112px; z-index: 120; display: grid; width: 49px; height: 49px; place-items: center; color: #fff; background: #30d64f; border-radius: 8px; box-shadow: 0 12px 28px rgba(0,0,0,.18); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.whatsapp-float:hover { background: #23c844; box-shadow: 0 14px 32px rgba(0,0,0,.22); transform: translateY(-2px); }
.whatsapp-float__icon { width: 34px; height: 34px; fill: currentColor; }

.page-hero { padding: 95px 0 65px; color: #fff; background: #1e2527; }
.page-hero h1 { max-width: 900px; margin: 0; font-size: clamp(42px, 6vw, 78px); line-height: 1; }
.page-hero > .shell > p:not(.eyebrow) { max-width: 760px; margin: 24px 0 0; color: rgba(255,255,255,.72); font-size: 18px; }
.business-hero { position: relative; min-height: 680px; display: flex; align-items: end; color: #fff; background: #222 var(--business-hero) center/cover; }
.business-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.2)); }
.business-hero__content { position: relative; z-index: 1; padding-bottom: 70px; }
.business-hero h1 { max-width: 960px; margin: 0; font-size: clamp(50px, 7vw, 96px); line-height: .95; }
.business-hero__content > p:last-child { max-width: 680px; margin: 26px 0 0; color: rgba(255,255,255,.82); font-size: 19px; }
.factory-about { background: var(--mist); }
.factory-about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; }
.factory-about h2, .factory-team h2, .custom-choice-grid h2 { margin: 0; font-size: clamp(36px, 4.6vw, 62px); line-height: 1.03; }
.factory-about__grid > div:last-child > p { margin-top: 0; color: var(--muted); font-size: 19px; }
.factory-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; padding-top: 34px; margin-top: 34px; border-top: 1px solid var(--line); }
.factory-stats strong, .factory-stats span { display: block; }
.factory-stats strong { font-size: 30px; line-height: 1; }
.factory-stats span { margin-top: 8px; color: var(--muted); font-size: 12px; }
.factory-workshops { background: #fff; }
.factory-workshop-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.factory-workshop-grid article { grid-column: span 2; background: var(--mist); }
.factory-workshop-grid article:nth-child(1), .factory-workshop-grid article:nth-child(2) { grid-column: span 3; }
.factory-workshop-grid img { width: 100%; aspect-ratio: 1.4/1; object-fit: cover; }
.factory-workshop-grid article > div { padding: 22px; }
.factory-workshop-grid h3, .certificate-grid h3, .factory-material-grid h3, .custom-craft-grid h3 { margin: 0; font-size: 21px; }
.factory-workshop-grid p, .certificate-grid p, .factory-material-grid p, .custom-craft-grid p { margin: 8px 0 0; color: var(--muted); }
.factory-certificates { background: var(--mist); }
.certificate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.certificate-grid article { padding: 18px; background: #fff; }
.certificate-grid img { width: 100%; aspect-ratio: 1.25/1; object-fit: cover; margin-bottom: 20px; }
.factory-materials { background: #fff; }
.factory-material-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.factory-material-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 17px; }
.factory-team { background: var(--mist); }
.factory-team__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 7vw; align-items: center; }
.factory-team__grid > img { width: 100%; min-height: 570px; object-fit: cover; }
.factory-team__grid > div > p:not(.eyebrow) { margin: 25px 0 30px; color: var(--muted); font-size: 18px; }
.custom-crafts { background: #fff; }
.custom-craft-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.custom-craft-grid article { background: var(--mist); }
.custom-craft-grid img { width: 100%; aspect-ratio: 1.15/1; object-fit: cover; }
.custom-craft-grid article > div { padding: 20px; }
.custom-choice-section { background: var(--mist); }
.custom-choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8vw; }
.choice-list { margin-top: 35px; border-top: 1px solid #cfcfca; }
.choice-list article { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid #cfcfca; }
.choice-list h3, .choice-list p { margin: 0; }
.choice-list p { color: var(--muted); }
.moq-section { background: #fff; }
.moq-table { border-top: 1px solid var(--ink); }
.moq-table > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 18px 12px; border-bottom: 1px solid var(--line); }
.moq-table__head { color: var(--muted); background: var(--mist); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.custom-process { background: var(--ink); color: #fff; }
.custom-process .eyebrow--dark { color: rgba(255,255,255,.6); }
.custom-process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.2); }
.custom-process-grid article { min-height: 250px; padding: 28px; background: var(--ink); }
.custom-process-grid span { color: var(--accent); font-weight: 700; }
.custom-process-grid h3 { margin: 45px 0 8px; font-size: 24px; }
.custom-process-grid p { margin: 0; color: rgba(255,255,255,.6); }
.cases-section { background: #fff; }
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 55px 20px; }
.case-card > a { display: block; aspect-ratio: 1.45/1; overflow: hidden; background: var(--mist); }
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.case-card:hover img { transform: scale(1.03); }
.case-card > div { padding-top: 18px; }
.case-card p { margin: 0 0 8px; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.case-card h2 { margin: 0 0 14px; font-size: 28px; }
.case-detail-hero { padding: 100px 0 70px; color: #fff; background: var(--ink); }
.case-detail-hero h1 { max-width: 1000px; margin: 0; font-size: clamp(46px, 6vw, 82px); line-height: 1; }
.case-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 35px; margin-top: 45px; border-top: 1px solid rgba(255,255,255,.25); }
.case-facts span, .case-facts strong { display: block; }
.case-facts span { color: rgba(255,255,255,.55); font-size: 12px; text-transform: uppercase; }
.case-facts strong { margin-top: 7px; font-size: 18px; }
.case-detail { background: #fff; }
.case-detail__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 7vw; align-items: start; }
.case-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.case-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.case-gallery img:first-child { grid-column: 1/-1; aspect-ratio: 1.4/1; }
.case-copy { position: sticky; top: 110px; }
.case-copy h2 { margin: 0; font-size: 38px; }
.case-copy > p:not(.eyebrow) { color: var(--muted); }
.case-copy .eyebrow:not(:first-child) { margin-top: 35px; }
.case-copy .button { margin-top: 25px; }
.faq-section { background: var(--mist); }
.faq-layout { display: grid; grid-template-columns: 220px 1fr; gap: 7vw; align-items: start; }
.faq-layout > nav { position: sticky; top: 100px; display: grid; border-top: 1px solid #cfcfca; }
.faq-layout > nav a { padding: 13px 0; border-bottom: 1px solid #cfcfca; font-size: 13px; font-weight: 700; }
.faq-group { padding-bottom: 70px; scroll-margin-top: 100px; }
.faq-group h2 { margin: 0 0 26px; font-size: clamp(34px, 4vw, 52px); }
.faq-group details { border-top: 1px solid #cfcfca; }
.faq-group details:last-child { border-bottom: 1px solid #cfcfca; }
.faq-group summary { display: flex; justify-content: space-between; gap: 20px; padding: 21px 0; cursor: pointer; font-size: 18px; font-weight: 700; list-style: none; }
.faq-group summary::-webkit-details-marker { display: none; }
.faq-group details[open] summary span { transform: rotate(45deg); }
.faq-group summary span { transition: transform .2s ease; }
.faq-group details > div { max-width: 780px; padding: 0 0 22px; color: var(--muted); }
.content-shell { max-width: 900px; }
.content-shell > *:first-child { margin-top: 0; }
.content-shell img { height: auto; }
.shop-section { background: #fff; }
.product-library-hero p:not(.eyebrow) { max-width: 760px; margin: 24px 0 0; color: rgba(255,255,255,.72); font-size: 18px; }
.term-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 42px; }
.term-filter a { padding: 9px 14px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.term-filter a:hover, .term-filter a.is-active { color: #fff; background: var(--ink); border-color: var(--ink); }
.hat-library-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px 18px; }
.hat-library-card__image { display: block; aspect-ratio: 1 / 1.05; overflow: hidden; background: var(--mist); }
.hat-library-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.hat-library-card:hover .hat-library-card__image img { transform: scale(1.03); }
.hat-library-card__body { padding: 18px 2px 0; }
.hat-library-card__body > p { margin: 0 0 7px; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.hat-library-card h2 { margin: 0; font-size: 22px; line-height: 1.25; }
.hat-library-card__meta { display: flex; justify-content: space-between; gap: 14px; padding-top: 16px; margin-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 700; }
.hat-library-card__meta a { color: var(--ink); }
.empty-library { padding: 70px 0; text-align: center; }
.empty-library h2 { margin: 0 0 25px; font-size: 36px; }
.hat-detail { padding: 70px 0 100px; }
.hat-detail__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 7vw; align-items: start; }
.hat-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.hat-gallery figure { margin: 0; aspect-ratio: 1; overflow: hidden; background: var(--mist); }
.hat-gallery__main { grid-column: 1 / -1; aspect-ratio: 1.3 / 1 !important; }
.hat-gallery img { width: 100%; height: 100%; object-fit: cover; }
.hat-summary { position: sticky; top: 110px; }
.hat-summary h1 { margin: 0; font-size: clamp(42px, 5vw, 72px); line-height: .98; }
.hat-summary__intro { margin-top: 24px; color: var(--muted); font-size: 18px; }
.hat-summary__intro p { margin: 0; }
.hat-quick-specs { margin: 35px 0; border-top: 1px solid var(--line); }
.hat-quick-specs > div { display: grid; grid-template-columns: 140px 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.hat-quick-specs dt { color: var(--muted); font-size: 13px; }
.hat-quick-specs dd { margin: 0; font-weight: 700; }
.hat-summary__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hat-specification-section { background: var(--mist); }
.hat-specification-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; }
.hat-specification-grid h2, .hat-custom-grid h2 { margin: 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.04; }
.hat-spec-table { border-top: 1px solid #cfcfca; }
.hat-spec-table > div { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid #cfcfca; }
.hat-spec-table span { color: var(--muted); }
.hat-custom-section { background: #fff; }
.hat-custom-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9vw; }
.hat-custom-grid article { padding-top: 24px; border-top: 1px solid var(--ink); }
.hat-custom-grid article > p:last-child { color: var(--muted); font-size: 18px; }
.hat-description { background: var(--mist); }
.hat-inquiry-band { padding: 74px 0; color: #fff; background: var(--ink); }
.hat-inquiry-band .shell { display: flex; align-items: end; justify-content: space-between; gap: 35px; }
.hat-inquiry-band h2 { max-width: 800px; margin: 0; font-size: clamp(34px, 4vw, 56px); line-height: 1.05; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 18px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { float: none; width: auto; margin: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 18px; }
.woocommerce ul.products li.product .button, .woocommerce div.product form.cart .button { border-radius: 0; background: var(--ink); }
.woocommerce span.onsale { min-width: auto; min-height: auto; padding: 7px 10px; border-radius: 0; background: var(--ink); line-height: 1; }

@media (max-width: 980px) {
  .section { padding: 78px 0; }
  .site-header__inner { grid-template-columns: 1fr auto auto; gap: 8px; }
  .menu-toggle { display: block; order: 2; }
  .header-actions { order: 3; gap: 8px; }
  .language-switcher__current { min-width: 62px; height: 38px; }
  .language-switcher__menu { min-width: 62px; }
  .primary-navigation { position: fixed; inset: 72px 0 0; display: none; padding: 34px 24px; background: #fff; }
  .primary-navigation.is-open { display: block; }
  .site-menu { display: grid; gap: 0; }
  .site-menu a { padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 22px; }
  .category-grid, .options-grid, .product-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .why-grid { grid-template-columns: 1fr; }
  .about-media, .about-media img { min-height: 480px; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
  .hat-library-grid { grid-template-columns: repeat(2, 1fr); }
  .hat-detail__grid, .hat-specification-grid { grid-template-columns: 1fr; }
  .hat-summary { position: static; }
  .factory-about__grid, .factory-team__grid, .custom-choice-grid, .case-detail__grid { grid-template-columns: 1fr; }
  .factory-workshop-grid, .custom-craft-grid { grid-template-columns: repeat(2, 1fr); }
  .factory-workshop-grid article, .factory-workshop-grid article:nth-child(1), .factory-workshop-grid article:nth-child(2) { grid-column: auto; }
  .factory-material-grid { grid-template-columns: repeat(2, 1fr); }
  .case-copy { position: static; }
}

@media (max-width: 640px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .section { padding: 62px 0; }
  .site-header, .site-header.is-scrolled { height: 68px; }
  .site-brand__text { font-size: 16px; }
  .site-brand__mark { width: 36px; height: 36px; }
  .header-search { width: 36px; }
  .hero { min-height: calc(100svh - 68px); }
  .hero__content { padding-bottom: 38px; }
  .hero h1 { font-size: 48px; }
  .hero h2 { font-size: 24px; }
  .hero__description { font-size: 16px; }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .section-heading--row { align-items: start; flex-direction: column; }
  .category-grid { gap: 8px; }
  .category-tile span { left: 14px; bottom: 13px; font-size: 16px; }
  .options-grid { gap: 1px; }
  .option-card span { padding: 13px; font-size: 15px; }
  .product-grid, .process-grid { grid-template-columns: 1fr 1fr; gap: 28px 10px; }
  .product-card h3 { font-size: 15px; }
  .about-media, .about-media img { min-height: 390px; }
  .stats { gap: 8px; }
  .stats strong { font-size: 27px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-grid a { min-height: 260px; }
  .insights-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { align-items: start; flex-direction: column; }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 24px 10px; }
  .hat-library-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 10px; }
  .hat-library-card h2 { font-size: 17px; }
  .hat-library-card__meta { align-items: start; flex-direction: column; }
  .hat-detail { padding: 34px 0 60px; }
  .hat-detail__grid { gap: 40px; }
  .hat-summary h1 { font-size: 44px; }
  .hat-summary__actions { flex-direction: column; }
  .hat-spec-table > div { grid-template-columns: 1fr; gap: 7px; }
  .hat-custom-grid { grid-template-columns: 1fr; gap: 48px; }
  .hat-inquiry-band .shell { align-items: start; flex-direction: column; }
  .business-hero { min-height: 620px; }
  .business-hero h1 { font-size: 49px; }
  .factory-stats { grid-template-columns: repeat(2, 1fr); }
  .factory-workshop-grid, .certificate-grid, .factory-material-grid, .custom-craft-grid { grid-template-columns: 1fr; }
  .factory-team__grid > img { min-height: 380px; }
  .choice-list article { grid-template-columns: 1fr; gap: 5px; }
  .moq-table { overflow-x: auto; }
  .moq-table > div { min-width: 720px; }
  .custom-process-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .case-facts { grid-template-columns: 1fr; }
  .case-gallery { grid-template-columns: 1fr; }
  .case-gallery img:first-child { grid-column: auto; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-layout > nav { position: static; }
}
