/*
Theme Name: Ochiai Works
Theme URI: https://ochiai-works.com/
Author: AIM / Promotion LAB.
Description: 有限会社 落合製作所の製品情報サイト専用テーマ
Version: 1.3.8
Text Domain: ochiai-works
*/

:root {
  --ink: #172327;
  --paper: #f4f4f0;
  --white: #fff;
  --line: #d8dad5;
  --suction: #006978;
  --chuck: #c8641d;
  --buffer: #6e8c3e;
  --attachment: #7f4c7f;
  --variety: #4d5d66;
  --sans: "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.site-header { height: 92px; padding: 0 4.5vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(244,244,240,.94); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.brand { display: inline-flex; flex-direction: column; line-height: 1; letter-spacing: .03em; }
.brand img { display: block; width: 218px; height: auto; }
.brand > small { margin-top: 6px; margin-left: 5px; display: block; font-weight: 600; line-height: 1; }
.company-name { font-size: 7px; letter-spacing: .18em; white-space: nowrap; }
.footer-brand img { width: 238px; }
.global-nav { display: flex; align-items: center; gap: 32px; }
.nav-products { display: flex; }
.global-nav a { display: flex; flex-direction: column; gap: 4px; font-weight: 700; line-height: 1; transition: opacity .2s; }
.global-nav a span { font-size: 12px; letter-spacing: .08em; }
.global-nav a small { color: #7d8582; font-size: 8px; letter-spacing: .13em; }
.global-nav a:hover { opacity: .55; }
.global-nav a.is-current span { color: var(--chuck); }
.nav-contact { min-width: 126px; align-items: center; border: 1px solid var(--ink); padding: 12px 18px; }
.nav-category-menu { display: none; }
.menu-button { display: none; align-items: center; gap: 12px; padding: 8px 0 8px 10px; background: none; border: 0; font-size: 11px; letter-spacing: .12em; cursor: pointer; }
.menu-button small { margin-left: 5px; color: #7d8582; font-size: 8px; }
.menu-button-close { display: none; }
.menu-button-icon { position: relative; width: 20px; height: 14px; display: block; }
.menu-button-icon i { position: absolute; left: 0; width: 20px; height: 1.5px; background: currentColor; transition: top .25s, transform .25s; }
.menu-button-icon i:first-child { top: 3px; }
.menu-button-icon i:last-child { top: 10px; }
.menu-button[aria-expanded="true"] .menu-button-open { display: none; }
.menu-button[aria-expanded="true"] .menu-button-close { display: inline; }
.menu-button[aria-expanded="true"] .menu-button-icon i:first-child { top: 7px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-button-icon i:last-child { top: 7px; transform: rotate(-45deg); }

.hero { min-height: calc(100vh - 92px); position: relative; display: grid; grid-template-columns: 48% 52%; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-copy { position: relative; z-index: 2; padding: 11vh 2vw 10vh 8vw; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { margin: 0 0 22px; font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.hero h1 { margin: 0; max-width: 100%; font-size: clamp(58px, 5.2vw, 95px); line-height: .98; letter-spacing: -.075em; font-weight: 800; word-break: normal; overflow-wrap: normal; }
.hero h1 span { white-space: nowrap; }
.hero h1 em { color: var(--chuck); font-style: normal; }
.lead { margin: 42px 0 0; font-size: clamp(15px, 1.25vw, 20px); line-height: 2; font-weight: 600; }
.hero-actions { margin-top: 42px; display: flex; align-items: center; gap: 28px; }
.button { min-height: 58px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.button.primary { background: var(--ink); color: var(--white); padding: 0 30px; }
.button.text-link { border-bottom: 1px solid var(--ink); }
.hero-visual { position: relative; background-color: #252a2b; background-image: linear-gradient(180deg, rgba(15,24,27,.02), rgba(15,24,27,.2)), var(--hero-image); background-position: 52% center; background-size: cover; overflow: hidden; }
.hero-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,20,23,.12), transparent 32%, transparent 72%, rgba(12,20,23,.12)); pointer-events: none; }
.hero-photo-frame { position: absolute; inset: 4.2vw 3.4vw; border: 1px solid rgba(255,255,255,.5); border-left-color: transparent; border-bottom-color: transparent; }
.hero-photo-frame::before, .hero-photo-frame::after { content: ""; position: absolute; background: rgba(255,255,255,.72); }
.hero-photo-frame::before { width: 42px; height: 1px; top: -1px; left: -20px; }
.hero-photo-frame::after { width: 1px; height: 42px; top: -20px; right: -1px; }
.hero-photo-label { position: absolute; left: 3.4vw; bottom: 3vw; color: var(--white); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.hero-photo-label small { display: block; margin-top: 7px; font-size: 8px; letter-spacing: .18em; opacity: .72; }
.hero-number { position: absolute; right: 4vw; bottom: 2.5vw; color: var(--white); font-size: 12px; font-weight: 800; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.category-stripes { position: absolute; z-index: 3; left: 0; bottom: 0; width: 210px; height: 10px; display: grid; grid-template-columns: repeat(5, 1fr); }
.category-stripes span { display: block; }
.suction { --accent: var(--suction); }.chuck { --accent: var(--chuck); }.buffer { --accent: var(--buffer); }.attachment { --accent: var(--attachment); }.variety { --accent: var(--variety); }
.category-stripes .suction { background: var(--suction); }.category-stripes .chuck { background: var(--chuck); }.category-stripes .buffer { background: var(--buffer); }.category-stripes .attachment { background: var(--attachment); }.category-stripes .variety { background: var(--variety); }

.section { padding: 130px 8vw; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; margin-bottom: 72px; }
.section-heading h2, .catalog-copy h2, .contact-section h2 { margin: 0; font-size: clamp(42px, 4.5vw, 72px); line-height: 1.08; letter-spacing: -.055em; word-break: keep-all; }
.nowrap-title { white-space: nowrap; }
.section-heading > p { margin: 0 0 7px auto; max-width: 460px; font-size: 15px; line-height: 2; }

.products-section { position: relative; background: var(--white); }
.section-stripes { position: absolute; z-index: 2; width: 230px; height: 8px; background: linear-gradient(90deg, var(--suction) 0 20%, var(--chuck) 20% 40%, var(--buffer) 40% 60%, var(--attachment) 60% 80%, var(--variety) 80% 100%); }
.section-stripes.top-right { top: 110px; right: 8vw; }
.section-stripes.bottom-left { left: 8vw; bottom: 0; }
.category-list { border-top: 1px solid var(--line); }
.category-row { width: 100%; padding: 22px 12px 22px 20px; display: grid; grid-template-columns: 70px 1fr auto 36px; align-items: center; gap: 22px; background: transparent; border-left: 6px solid var(--accent); border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; transition: color .25s, background .25s, padding-left .25s; }
.category-row:hover { padding-left: 27px; color: var(--accent); background: #f7f7f3; }
.category-index { font-size: 12px; font-weight: 700; }
.category-name { display: flex; align-items: baseline; gap: 22px; }
.category-name b { font-size: clamp(22px, 2.5vw, 40px); letter-spacing: -.04em; }
.category-name small, .category-count { font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.category-count { color: #8a908e; }
.arrow { width: 15px; height: 15px; position: relative; display: inline-block; flex: 0 0 auto; }
.arrow::before { content: ""; position: absolute; top: 1px; right: 1px; width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; }
.arrow::after { content: ""; position: absolute; left: 2px; bottom: 3px; width: 13px; height: 1.5px; background: currentColor; transform: rotate(-45deg); transform-origin: left center; }

.movie-section { position: relative; background: var(--ink); color: var(--white); }
.section-heading.light > p { color: #bac2c1; }
.movie-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: #506064; border: 1px solid #506064; }
.movie-card { min-height: 300px; position: relative; padding: 28px; border: 0; background: #243338; color: var(--white); text-align: left; cursor: pointer; overflow: hidden; }
.movie-card:nth-child(2), .movie-card:nth-child(3) { background: #202d31; }
.movie-card::before { content: ""; position: absolute; width: 260px; height: 260px; border: 1px solid #536064; border-radius: 50%; right: -40px; top: -50px; }
.movie-no, .movie-card small { font-size: 10px; font-weight: 700; letter-spacing: .14em; color: #aab3b3; }
.movie-card b { position: absolute; left: 28px; bottom: 48px; font-size: 18px; }
.movie-card small { position: absolute; left: 28px; bottom: 28px; }
.play { position: absolute; right: 40px; top: 50%; width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid #788184; border-radius: 50%; }

.catalog-section { display: grid; grid-template-columns: 1.1fr .9fr; gap: 9vw; align-items: center; background: #e8e7e1; }
.catalog-visual { aspect-ratio: 4/3; padding: 44px; display: flex; flex-direction: column; justify-content: space-between; color: var(--white); background: var(--chuck); transform: rotate(-3deg); box-shadow: 24px 24px 0 #d2d1ca; }
.catalog-visual span { font-size: clamp(44px, 6vw, 92px); line-height: .84; font-weight: 900; letter-spacing: -.075em; }
.catalog-visual i { align-self: end; font-style: normal; font-size: 14px; font-weight: 700; }
.catalog-copy > p:not(.eyebrow) { margin: 34px 0; line-height: 2; }

.about-section { position: relative; background: var(--white); }
.about-overview { display: grid; grid-template-columns: 1.15fr .85fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.about-message, .ip-summary { padding: clamp(30px, 4vw, 64px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-message > p { max-width: 720px; margin: 0 0 46px; font-size: 16px; line-height: 2.1; }
.company-profile { margin: 0; border-top: 1px solid var(--line); }
.company-profile > div { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.company-profile dt { color: #7d8582; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.company-profile dd { margin: 0; font-size: 13px; line-height: 1.65; }
.ip-summary { color: var(--white); background: var(--ink); }
.ip-summary .eyebrow { color: #aeb9b8; }
.ip-summary h3 { margin: 0; font-size: clamp(28px, 3vw, 44px); line-height: 1.35; letter-spacing: -.04em; }
.ip-counts { margin-top: 70px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #516064; }
.ip-counts span { padding: 18px 0 0; display: flex; flex-direction: column; }
.ip-counts b { font-size: 38px; font-weight: 500; }
.ip-counts small { color: #aeb9b8; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.ip-list { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); }
.ip-list article { min-height: 205px; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ip-list article > span { color: var(--chuck); font-size: 10px; font-weight: 700; }
.ip-list h3 { margin: 58px 0 10px; font-size: 17px; line-height: 1.45; }
.ip-list p { margin: 0; color: #747d7a; font-size: 10px; line-height: 1.7; }

/* Shared lower-page hero */
.subpage-hero { min-height: 225px; position: relative; padding: 54px 8vw 42px; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 50px; overflow: hidden; color: var(--white); background: #273236; }
.subpage-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(13,24,28,.9), rgba(13,24,28,.65) 52%, rgba(13,24,28,.28)), var(--page-hero-image); background-position: center; background-size: cover; filter: saturate(.55); }
.subpage-hero::after { content: ""; position: absolute; left: 8vw; right: 8vw; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--suction) 0 20%, var(--chuck) 20% 40%, var(--buffer) 40% 60%, var(--attachment) 60% 80%, var(--variety) 80% 100%); }
.subpage-hero > * { position: relative; z-index: 1; }
.subpage-hero .eyebrow { margin-bottom: 12px; color: rgba(255,255,255,.68); }
.subpage-hero h1 { margin: 0; font-size: clamp(38px, 4.4vw, 62px); line-height: 1; letter-spacing: -.055em; }
.subpage-hero > p { max-width: 420px; margin: 0 0 4px auto; font-size: 14px; line-height: 1.9; }

/* Product index */
.product-index { padding: 54px 8vw 130px; background: var(--white); }
.product-index-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.product-index-head .eyebrow { margin-bottom: 12px; }
.product-index-head h2 { margin: 0; font-size: clamp(30px, 3.2vw, 46px); line-height: 1; letter-spacing: -.045em; }
.product-index-head > p { margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.product-filters { display: grid; grid-template-columns: repeat(6, 1fr); margin-bottom: 20px; border-left: 1px solid var(--line); }
.filter-button { --accent: var(--ink); min-width: 0; min-height: 88px; position: relative; padding: 22px 14px 14px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 4px; border: 0; border-top: 4px solid var(--accent); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f7f7f3; text-align: left; cursor: pointer; transition: border-top-width .2s, padding-top .2s, background .2s, color .2s, border-bottom-color .2s; }
.filter-button:first-child { --accent: var(--ink); }
.filter-button.suction, .index-card.suction { --accent: var(--suction); }
.filter-button.chuck, .index-card.chuck { --accent: var(--chuck); }
.filter-button.buffer, .index-card.buffer { --accent: var(--buffer); }
.filter-button.attachment, .index-card.attachment { --accent: var(--attachment); }
.filter-button.variety, .index-card.variety { --accent: var(--variety); }
.filter-button span { font-size: 12px; font-weight: 700; line-height: 1.35; }
.filter-button small { color: #858d8a; font-size: 7px; font-weight: 700; letter-spacing: .1em; }
.filter-button b { position: absolute; top: 11px; right: 12px; color: #9ba19f; font-size: 9px; }
.filter-button:hover { color: var(--accent); background: #f0f1ec; }
.filter-button.is-active { padding-top: 17px; color: var(--accent); border-top-width: 9px; border-bottom-color: transparent; background: var(--white); }
.detail-policy-note { margin: 0 0 44px; color: #707976; font-size: 11px; line-height: 1.7; }
.detail-policy-note b { margin: 0 4px; color: var(--ink); font-size: 9px; letter-spacing: .08em; }
.product-index-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 52px 20px; }
.index-card { min-width: 0; }
.index-card-art { aspect-ratio: 4 / 3; position: relative; display: grid; place-items: center; overflow: hidden; border: 1px solid #e4e6e1; background: #f0f1ed; }
.index-card-art.has-image img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: contain; }
.index-card-art::before, .index-card-art::after { content: ""; position: absolute; background: #e0e2dd; }
.index-card-art::before { width: 1px; height: 66%; left: 50%; top: 17%; }
.index-card-art::after { width: 66%; height: 1px; left: 17%; top: 50%; }
.index-card-art.has-image::before, .index-card-art.has-image::after { display: none; }
.category-label { position: absolute; z-index: 6; left: 0; top: 0; padding: 7px 10px; color: var(--white); background: var(--accent); font-size: 8px; font-weight: 700; letter-spacing: .05em; }
.product-card-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 4px solid var(--accent); border-left: 1px solid var(--line); }
.product-card-actions.is-single { grid-template-columns: 1fr; }
.product-card-actions button { min-width: 0; min-height: 48px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); background: var(--white); cursor: zoom-in; transition: color .2s, background .2s; }
.product-card-actions button:hover, .product-card-actions button:focus-visible { color: var(--accent); background: #f3f4ef; }
.product-card-actions button span { overflow: hidden; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-overflow: ellipsis; white-space: nowrap; }
.product-card-actions .arrow { width: 12px; height: 12px; }
.index-card-no { position: absolute; left: 12px; bottom: 10px; z-index: 2; color: #9a9f9c; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.index-card-body { padding-top: 14px; }
.index-card-body > p { margin: 0 0 6px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.index-card-body h3 { min-height: 2.8em; margin: 0; font-size: 16px; line-height: 1.4; letter-spacing: -.02em; }
.part-symbol { width: 46%; aspect-ratio: 1; position: relative; z-index: 1; color: var(--accent); transform: rotate(-8deg); }
.part-symbol::before, .part-symbol::after, .part-symbol i { content: ""; position: absolute; display: block; border: 2px solid currentColor; }
.part-symbol::before { inset: 13%; border-radius: 50%; }
.part-symbol::after { width: 88%; height: 22%; left: 6%; top: 39%; border-radius: 5px; }
.part-symbol i:nth-child(1) { width: 28%; height: 28%; left: 36%; top: 36%; border-radius: 50%; }
.part-symbol i:nth-child(2), .part-symbol i:nth-child(3) { width: 20%; height: 20%; top: 40%; border-radius: 50%; }
.part-symbol i:nth-child(2) { left: -4%; }.part-symbol i:nth-child(3) { right: -4%; }
.symbol-2 { transform: rotate(12deg) scale(.8); }.symbol-2::before { inset: 2% 32%; border-radius: 18px; }.symbol-2::after { width: 62%; height: 20%; left: 19%; }
.symbol-3 { transform: rotate(45deg) scale(.82); }.symbol-3::before { inset: 8%; border-radius: 6px; }.symbol-3::after { width: 50%; height: 50%; left: 25%; top: 25%; border-radius: 4px; }
.symbol-4::before { inset: 5% 22%; border-radius: 8px; }.symbol-4::after { width: 94%; height: 14%; left: 3%; top: 43%; }
.symbol-5 { transform: rotate(-4deg) scale(1.05); }.symbol-5::before { inset: 20% 2%; border-radius: 4px; }.symbol-5::after { width: 38%; height: 88%; left: 31%; top: 6%; border-radius: 4px; }
.symbol-6 { transform: rotate(8deg) scale(.9); }.symbol-6::before { inset: 15%; border-radius: 4px; }.symbol-6::after { width: 110%; height: 18%; left: -5%; top: 41%; border-radius: 9px; }

.example-modal { width: min(760px, calc(100vw - 32px)); padding: 0; border: 0; color: var(--ink); background: var(--white); box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.example-modal::backdrop { background: rgba(10,18,21,.72); backdrop-filter: blur(4px); }
.example-modal-close { width: 48px; height: 48px; position: absolute; z-index: 2; top: 0; right: 0; border: 0; color: var(--white); background: var(--ink); font-size: 22px; cursor: pointer; }
.example-modal-visual { min-height: 360px; position: relative; display: flex; align-items: center; justify-content: center; color: #8a918e; background: #eceee9; }
.example-modal-visual::before, .example-modal-visual::after { content: ""; position: absolute; background: #d9ddd7; }
.example-modal-visual::before { width: 1px; height: 74%; }
.example-modal-visual::after { width: 74%; height: 1px; }
.example-modal-visual span { position: relative; z-index: 1; padding: 10px 14px; border: 1px solid #cfd4cd; background: rgba(255,255,255,.75); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.example-modal-visual.has-image { background-position: center; background-size: contain; background-repeat: no-repeat; }
.example-modal-visual.has-image::before, .example-modal-visual.has-image::after, .example-modal-visual.has-image span { display: none; }
.example-modal-gallery { padding: 12px 18px; display: flex; gap: 9px; overflow-x: auto; border-top: 1px solid var(--line); background: #f4f5f1; }
.example-modal-gallery[hidden] { display: none; }
.example-modal-gallery button { width: 92px; min-width: 92px; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; border: 2px solid transparent; background: var(--white); cursor: pointer; opacity: .68; transition: border-color .2s, opacity .2s; }
.example-modal-gallery button:hover, .example-modal-gallery button.is-active { border-color: var(--modal-accent, var(--ink)); opacity: 1; }
.example-modal-gallery img { width: 100%; height: 100%; display: block; object-fit: cover; }
.example-modal-copy { padding: 28px 32px 34px; }
.example-modal-copy small { color: var(--modal-accent, var(--ink)); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.example-modal-copy h2 { margin: 8px 0 12px; font-size: clamp(24px, 3vw, 38px); letter-spacing: -.04em; }
.example-modal-copy p { margin: 0; color: #68716e; font-size: 12px; line-height: 1.8; white-space: pre-line; }

/* Contact page */
.contact-form-section { padding: 90px 8vw 130px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; background: var(--white); }
.contact-intro h2 { margin: 0; font-size: clamp(34px, 4vw, 58px); line-height: 1.1; letter-spacing: -.05em; }
.contact-intro h2 { white-space: nowrap; }
.contact-intro > p:last-child { margin: 30px 0 0; font-size: 13px; line-height: 2; }
.prototype-form { border-top: 1px solid var(--line); }
.prototype-form label { padding: 18px 0; display: grid; grid-template-columns: 150px 1fr; align-items: start; gap: 25px; border-bottom: 1px solid var(--line); }
.prototype-form label > span { padding-top: 12px; font-size: 11px; font-weight: 700; }
.prototype-form label > span b { color: var(--chuck); font-size: 8px; }
.prototype-form input, .prototype-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #d6d9d4; border-radius: 0; background: #fafaf7; color: var(--ink); font: inherit; font-size: 14px; }
.prototype-form .button { margin-top: 28px; border: 0; cursor: pointer; }
.wpcf7 form .wpcf7-response-output { margin: 24px 0 0; padding: 14px 16px; border: 1px solid var(--line); font-size: 12px; line-height: 1.7; }
.wpcf7-not-valid-tip { margin-top: 7px; color: #a63a31; font-size: 11px; }
.wpcf7-spinner { margin-top: 28px; }
.contact-honeypot { position: absolute !important; left: -9999px !important; }
.form-status { margin: 0 0 24px; padding: 16px 18px; font-size: 12px; line-height: 1.7; }
.form-status.success { color: #31521d; background: #edf4e7; }
.form-status.error { color: #7d241f; background: #f8e9e7; }
.generic-page { min-height: 60vh; background: var(--white); }
.generic-page h1 { font-size: clamp(38px, 5vw, 72px); }
.compact-contact { border-top: 1px solid rgba(255,255,255,.18); }

.contact-section { padding: 110px 8vw; display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; color: var(--white); background: var(--chuck); }
.contact-section .eyebrow { color: #ffe5d5; }
.contact-section h2 { max-width: 10em; word-break: normal; }
.contact-link { min-height: 110px; margin-left: auto; padding: 0 36px; width: min(100%, 460px); display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.75); border-bottom: 1px solid rgba(255,255,255,.75); font-size: 15px; font-weight: 700; }
.contact-link span { white-space: nowrap; }
.contact-link b { font-size: 30px; }

.site-footer { padding: 64px 8vw 32px; display: grid; grid-template-columns: 1fr auto; gap: 70px; background: var(--paper); }
.site-footer > div { display: flex; gap: 28px; font-size: 12px; font-weight: 700; }
.site-footer > p { grid-column: 1/-1; margin: 30px 0 0; padding-top: 26px; border-top: 1px solid var(--line); color: #89908e; font-size: 10px; letter-spacing: .1em; }

@media (max-width: 900px) {
  .site-header { height: 72px; }
  body.menu-open { overflow: hidden; }
  .global-nav { display: none; position: fixed; z-index: 19; top: 72px; left: 0; right: 0; bottom: 0; height: calc(100vh - 72px); height: calc(100dvh - 72px); padding: 18px 6vw 74px; flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); border-bottom: 0; }
  .global-nav::after { content: ""; position: fixed; z-index: 2; left: 0; right: 0; bottom: 0; height: 7px; background: linear-gradient(90deg, var(--suction) 0 20%, var(--chuck) 20% 40%, var(--buffer) 40% 60%, var(--attachment) 60% 80%, var(--variety) 80% 100%); }
  .global-nav.open { display: flex; }
  .global-nav > a, .nav-products > a { min-height: 64px; padding: 14px 0; justify-content: center; gap: 5px; border-bottom: 1px solid var(--line); }
  .global-nav a span { font-size: 15px; }
  .global-nav a small { font-size: 8px; }
  .nav-products { display: block; }
  .nav-category-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
  .nav-category-link { position: relative; min-height: 66px; padding: 13px 12px 11px 17px; justify-content: center; gap: 5px !important; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .nav-category-link:nth-child(even) { border-right: 0; }
  .nav-category-link:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
  .nav-category-link i { position: absolute; top: 0; left: 0; bottom: 0; width: 5px; background: var(--accent); }
  .nav-category-link span { font-size: 12px !important; white-space: nowrap; }
  .nav-category-link small { font-size: 7px !important; }
  .nav-contact { min-width: 0; align-items: flex-start; border: 0; border-bottom: 1px solid var(--line); padding: 14px 0; }
  .menu-button { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 90px 7vw 70px; }
  .hero-visual { min-height: 68vw; background-position: 53% center; }
  .hero-photo-frame { inset: 6vw; }
  .hero-photo-label { left: 6vw; bottom: 5vw; }
  .section { padding: 88px 6vw; }
  .section-heading, .catalog-section, .contact-section { grid-template-columns: 1fr; }
  .section-heading > p { margin: 0; }
  .category-row { grid-template-columns: 38px 1fr 24px; }
  .category-name { display: block; }
  .category-name small { display: block; margin-top: 6px; }
  .category-count { display: none; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .about-overview { grid-template-columns: 1fr; }
  .ip-list { grid-template-columns: 1fr 1fr; }
  .subpage-hero { grid-template-columns: 1fr; min-height: 210px; padding: 44px 6vw 34px; gap: 18px; }
  .subpage-hero > p { margin: 0; }
  .subpage-hero::after { left: 6vw; right: 6vw; }
  .product-index { padding: 48px 6vw 100px; }
  .product-filters { grid-template-columns: repeat(3, 1fr); }
  .product-index-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-form-section { grid-template-columns: 1fr; padding: 76px 6vw 100px; }
  .catalog-copy { padding-top: 38px; }
  .contact-link { margin: 30px 0 0; }
}

@media (max-width: 560px) {
  .brand img { width: 188px; }
  .brand > small { margin-left: 4px; }
  .hero h1 { font-size: clamp(44px, 12vw, 58px); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .section-heading { margin-bottom: 44px; }
  .section-heading h2, .catalog-copy h2, .contact-section h2 { font-size: 43px; }
  .nowrap-title { white-space: nowrap; font-size: clamp(30px, 8.5vw, 43px) !important; }
  .section-stripes { width: 160px; height: 6px; }
  .section-stripes.top-right { top: 82px; right: 6vw; }
  .category-row { grid-template-columns: 30px minmax(0, 1fr) 20px; gap: 12px; padding: 18px 2px; }
  .category-name b { display: block; white-space: nowrap; font-size: clamp(19px, 5.4vw, 22px); }
  .movie-grid { grid-template-columns: 1fr; }
  .company-profile > div { grid-template-columns: 90px 1fr; }
  .ip-counts { margin-top: 45px; }
  .ip-list { grid-template-columns: 1fr; }
  .ip-list article { min-height: 165px; }
  .ip-list h3 { margin-top: 38px; }
  .subpage-hero { min-height: 190px; padding-top: 38px; }
  .subpage-hero h1 { font-size: 40px; }
  .product-index { padding-top: 42px; }
  .product-index-head { margin-bottom: 24px; }
  .product-filters { grid-template-columns: repeat(2, 1fr); }
  .filter-button { min-height: 82px; }
  .product-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 12px; }
  .contact-intro h2 { white-space: normal; font-size: 36px; }
  .index-card-body h3 { font-size: 14px; }
  .prototype-form label { grid-template-columns: 1fr; gap: 7px; }
  .prototype-form label > span { padding-top: 0; }
  .movie-card { min-height: 240px; }
  .site-footer { grid-template-columns: 1fr; gap: 36px; }
  .site-footer > div { flex-wrap: wrap; }
}

