/* DAZY · site stylesheet (v5)
   Sections
   01 Tokens and base        06 Product cards and grids     11 Dialogs and drawers
   02 Typography             07 Home page                   12 Forms and inquiry
   03 Buttons and links      08 Catalogue pages             13 Content pages (company, private label, sources, guides)
   04 Header and navigation  09 Product page                14 Footer
   05 Layout primitives      10 Steps, notes, tables        15 Responsive · reduced motion · print
   Rules: animate transform/opacity only; entrance ≤ 0.6 s; every hover state also works on focus and touch;
   screen text stays at or above 11 px; print uses its own compact scale. */

/* 01 Tokens and base ------------------------------------------------------ */
:root {
  --paper: #f7f5f1; --linen: #eee8df; --ink: #493d35; --muted: #6f635a; --accent: #8b654f; --wine: #703f35; --line: #d8cec3;
  --photo-bg: #edece8;
  --serif: Baskerville, 'Times New Roman', 'Songti SC', 'Noto Serif CJK SC', serif;
  --sans: Avenir, 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  --gutter: clamp(20px, 3.3vw, 64px);
  --header-height: 126px; /* masthead + desktop nav; the service bar is not sticky */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; background: var(--paper); padding: 10px 14px; border: 1px solid var(--line); }
.skip-link:focus { top: 10px; }

/* 02 Typography ----------------------------------------------------------- */
h1, h2, h3, p, figure, dl { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(38px, 4vw, 60px); }
h2 { font-size: clamp(29px, 3vw, 44px); }
h3 { font-size: 24px; }
p { color: var(--muted); }
small { font-size: 12px; }
.eyebrow { font: 11px/1.5 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.small-note, .image-caption, .sidebar-note { font-size: 12px; line-height: 1.75; color: var(--muted); }
.lead { font-size: 15px; }

/* 03 Buttons and links ---------------------------------------------------- */
.text-link { display: inline-block; position: relative; padding: 3px 0; font-size: 13px; border-bottom: 1px solid var(--line); width: fit-content; }
.text-link:after, .nav-link:after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.text-link:hover:after, .text-link:focus-visible:after, .nav-link:hover:after, .nav-link:focus-visible:after, .nav-link.active:after { transform: scaleX(1); }
.button { background: var(--accent); color: #fffaf4; border: 1px solid var(--accent); display: inline-flex; min-height: 48px; padding: 12px 27px; align-items: center; justify-content: center; text-align: center; font-size: 13px; letter-spacing: .015em; position: relative; }
.button:after { content: ''; position: absolute; inset: 3px; border-block: 1px solid #ffffff50; pointer-events: none; opacity: .65; transition: opacity .2s; }
.button:hover:after, .button:focus-visible:after { opacity: 1; }
.button.full { width: 100%; }
.button[aria-pressed=true] { background: var(--ink); border-color: var(--ink); }
.button.light { color: var(--ink); background: var(--paper); }
.icon-button { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 8px; flex-shrink: 0; }
.link-row { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 8px; }

/* 04 Header and navigation ------------------------------------------------ */
.service-bar { min-height: 34px; padding: 6px var(--gutter); border-bottom: 3px double var(--accent); display: flex; align-items: center; justify-content: center; position: relative; font-family: var(--serif); font-size: 13px; background: #eeeae3; text-align: center; }
.service-bar > button { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); font: 12px var(--sans); padding: 6px 8px; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); }
.masthead { height: 82px; margin: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr); align-items: center; gap: 8px; }
.header-left { display: flex; gap: 10px; justify-self: start; min-width: 0; }
.wordmark { display: block; text-align: center; line-height: 1; }
.masthead > .wordmark { justify-self: center; }
.wordmark-art { display: block; width: 174px; height: 64px; object-fit: contain; margin: 0 auto; }
.wordmark span { display: block; font: 11px/1.5 var(--sans); letter-spacing: .04em; color: var(--muted); }
.inquiry-trigger { justify-self: end; display: flex; gap: 9px; align-items: center; font-size: 12px; padding: 8px 0; min-width: 0; max-width: 100%; white-space: nowrap; }
.inquiry-trigger > [data-count] { min-width: 15px; text-align: left; }
/* padding-top keeps focus outlines inside the scrollable nav */
.desktop-nav { display: flex; justify-content: center; align-items: flex-start; gap: clamp(20px, 2.8vw, 40px); height: 44px; border-bottom: 1px solid var(--line); font-size: 13px; overflow-x: auto; padding: 6px var(--gutter) 0; }
.nav-link { position: relative; display: inline-block; white-space: nowrap; }
.desktop-nav .nav-link { height: 31px; }
.nav-link.nav-emphasis { color: var(--accent); }

/* 05 Layout primitives ---------------------------------------------------- */
.section { padding: 55px var(--gutter); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 28px; }
.section-heading h2 { font-size: 32px; }
.narrow { max-width: 860px; margin: auto; }
.narrow > h2 { margin: 15px 0 25px; }
.narrow > p { margin: 20px 0; font-size: 15px; }
.narrow > .button { margin: 20px 0; }
.page-heading { text-align: center; padding: 62px 20px 44px; margin: auto; max-width: 860px; }
.page-heading h1 { font-size: 45px; }
.page-heading > p:not(.eyebrow) { max-width: 620px; font-size: 15px; margin: 20px auto 0; }
.page-heading .eyebrow { display: none; }
.closing { text-align: center; padding: 90px 24px; margin: 25px var(--gutter); border-top: 1px solid var(--line); }
.closing p { margin: 19px 0 28px; font-size: 15px; }
.closing-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.reveal.pending { opacity: 0; transform: translateY(18px); }
.reveal { transition: opacity .5s, transform .5s; }
.reveal.visible { opacity: 1; transform: none; }

/* 06 Product cards and grids ---------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 22px; }
.product-card { min-width: 0; }
.card-picture { position: relative; background: var(--photo-bg); overflow: hidden; }
.card-picture > a { display: block; aspect-ratio: 3 / 4; overflow: hidden; }
.card-picture img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .45s; }
.card-picture > a:hover img, .card-picture > a:focus-visible img { transform: scale(1.045); }
.save-style { position: absolute; right: 9px; top: 9px; width: 36px; height: 36px; color: var(--ink); background: #f7f5f1c8; }
.save-style svg { transition: transform .2s; }
.save-style[aria-pressed=true] { background: var(--ink); color: var(--paper); }
.save-style[aria-pressed=true] svg { transform: rotate(45deg); }
.quick-view { position: absolute; left: 0; right: 0; bottom: 0; background: #f7f5f1eb; padding: 10px; font-size: 12px; transform: translateY(100%); opacity: 0; transition: transform .25s, opacity .25s; }
.product-card:hover .quick-view, .product-card:focus-within .quick-view { transform: translateY(0); opacity: 1; }
.card-meta { padding-top: 14px; }
.card-meta h3 { font-size: 18px; line-height: 1.3; margin-bottom: 5px; }
.card-meta p { font-size: 12px; display: flex; justify-content: space-between; gap: 8px; }
.card-meta p > span:last-child { font-size: 11px; white-space: nowrap; color: var(--accent); letter-spacing: .04em; }
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state h2 { margin-bottom: 30px; }

/* 07 Home page ------------------------------------------------------------ */
.editorial-hero { padding: 20px var(--gutter) 0; }
.hero-frame { height: clamp(500px, 70vh, 850px); position: relative; overflow: hidden; background: var(--linen); }
.hero-frame > img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; animation: hero-enter .6s both; }
.hero-panel { position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%); width: 460px; max-width: 90%; background: #f7f5f1ed; padding: 24px 30px 22px; text-align: center; }
.hero-panel > p { font-size: 11px; letter-spacing: .15em; margin-bottom: 10px; }
.hero-panel h1 { font-size: 30px; line-height: 1.22; margin-bottom: 14px; }
.hero-actions { display: flex; justify-content: center; gap: 10px 28px; flex-wrap: wrap; }
.hero-actions .text-link { font-size: 12px; }
.editorial-credit { font-size: 11px; margin: 6px 0; text-align: right; color: var(--muted); }
.intro-note { text-align: center; max-width: 640px; margin: 80px auto 30px; padding: 0 24px; }
.intro-note h2 { white-space: pre-line; margin-bottom: 22px; }
.intro-note p:not(.eyebrow) { font-size: 15px; line-height: 1.85; margin-bottom: 22px; }
.how-it-works { padding-top: 30px; }
.how-it-works .small-note { margin-top: 26px; }
.category-index { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; text-align: center; }
.category-index > a { display: block; min-width: 0; }
.category-index > a > div { aspect-ratio: 3 / 4; overflow: hidden; background: var(--photo-bg); }
.category-index img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .45s; }
.category-index a:hover img, .category-index a:focus-visible img { transform: scale(1.035); }
.category-index h3 { font-size: 21px; margin: 16px 0 4px; }
.category-index > a > span { font-size: 12px; color: var(--muted); }
.editorial-split { display: grid; grid-template-columns: 1fr 1fr; margin: 65px var(--gutter); background: var(--linen); min-height: 520px; }
.detail-crop { display: block; overflow: hidden; position: relative; min-height: 520px; }
.detail-crop img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: 50% 25%; transform: scale(1.65); mix-blend-mode: multiply; }
.editorial-copy { align-self: center; max-width: 500px; padding: 50px 55px; }
.editorial-copy h2 { margin-bottom: 24px; }
.editorial-copy p { font-size: 15px; margin-bottom: 25px; line-height: 1.85; }
.editorial-copy .small-note { margin-top: 25px; font-size: 12px; }
.factory-story { margin: 60px var(--gutter); position: relative; overflow: hidden; }
.factory-story > img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.factory-story > div { position: absolute; bottom: 35px; left: 35px; background: #f7f5f1ef; padding: 30px 38px; max-width: 420px; }
.factory-story h2 { white-space: pre-line; font-size: 33px; margin: 12px 0 20px; }
.factory-story p { font-size: 11px; letter-spacing: .12em; }

/* 08 Catalogue pages ------------------------------------------------------ */
.category-nav { display: flex; justify-content: center; gap: 28px; border-bottom: 1px solid var(--line); padding: 6px var(--gutter) 22px; overflow-x: auto; font-size: 13px; white-space: nowrap; }
.category-nav a { position: relative; padding-bottom: 4px; border-bottom: 1px solid transparent; }
.category-nav a:hover, .category-nav a:focus-visible { border-bottom-color: var(--line); }
.category-nav .active { border-bottom-color: var(--accent); }
.category-nav small, .menu-layout small { font-size: 11px; color: var(--muted); margin-left: 6px; font-family: var(--sans); }
.catalogue-section { padding: 0 var(--gutter) 35px; }
.catalogue-toolbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 13px; }
.catalogue-toolbar .text-link, .catalogue-toolbar p { font-size: 13px; }
.sort-label { display: flex; align-items: center; gap: 12px; }
.sort-label select { border: 0; background: none; padding: 8px 16px 8px 4px; font-size: 13px; max-width: 170px; }
.catalogue-grid { row-gap: 45px; }
.catalogue-note { margin-top: 40px; }

/* 09 Product page --------------------------------------------------------- */
.breadcrumbs { display: flex; gap: 9px; flex-wrap: wrap; padding: 22px var(--gutter); font-size: 12px; color: var(--muted); }
.breadcrumbs a:hover, .breadcrumbs a:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: 48px; padding: 0 var(--gutter) 60px; }
.detail-gallery { min-width: 0; }
.gallery-main { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; overflow: hidden; }
.gallery-image { padding: 0; background: var(--photo-bg); overflow: hidden; position: relative; aspect-ratio: 3 / 4; width: 100%; cursor: zoom-in; }
.gallery-image img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .4s, opacity .25s; }
.gallery-detail img { transform: scale(2.05); object-position: 50% 18%; }
.detail-badge { position: absolute; bottom: 15px; left: 0; right: 0; text-align: center; font-size: 11px; background: #f7f5f1d1; padding: 5px; }
.zoom-indicator { position: absolute; bottom: 12px; right: 12px; padding: 5px; background: #f7f5f1b3; }
.image-switch { display: flex; gap: 24px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding: 17px 0; }
.image-switch button { font-size: 12px; padding: 0 0 4px; border-bottom: 1px solid transparent; }
.image-switch button[aria-pressed=true] { border-color: var(--accent); }
.image-caption { margin: 12px 0; font-size: 12px; }
.detail-copy { position: sticky; top: calc(var(--header-height) + 24px); align-self: start; max-width: 520px; }
.reference { font-size: 12px; color: var(--accent); margin-bottom: 14px; letter-spacing: .04em; }
.detail-copy h1 { font-size: 35px; line-height: 1.2; margin-bottom: 18px; }
.detail-description { font-size: 14px; margin-bottom: 22px; }
.detail-copy dl { font-size: 13px; margin: 0 0 26px; }
.detail-copy dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); }
dd { margin: 0; }
dt { color: var(--muted); }
.detail-copy dd { text-align: right; }
.detail-copy dd a { border-bottom: 1px solid var(--line); }
.detail-copy dd a:hover, .detail-copy dd a:focus-visible { border-bottom-color: currentColor; }
.detail-links { display: flex; justify-content: space-between; margin: 17px 0 26px; gap: 18px; }
.detail-links .text-link { font-size: 12px; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 14px; }
summary:after { content: '+'; font: 20px var(--serif); }
details[open] > summary:after { content: '−'; }
summary::-webkit-details-marker { display: none; }
details p { font-size: 13px; line-height: 1.8; margin-top: 16px; }
details .text-link { margin-top: 10px; }

/* 10 Steps, notes, lists and tables --------------------------------------- */
.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.step-list li { min-width: 0; }
.step-list h3 { font-size: 24px; margin-bottom: 12px; }
.step-list p { font-size: 14px; line-height: 1.8; margin-bottom: 14px; }
.step-list.stacked { grid-template-columns: 1fr; gap: 0; }
.step-list.stacked li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.step-list.stacked .step-number { border: 0; padding: 4px 0 0; margin: 0; grid-row: 1 / span 3; }
.step-list.stacked h3 { font-size: 26px; }
.step-number { display: block; font: 14px var(--serif); color: var(--accent); border-bottom: 1px solid var(--line); padding-bottom: 15px; margin-bottom: 20px; }
.spaced-list { padding-left: 20px; font-size: 15px; }
.spaced-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.resource-card { position: relative; padding: 45px 45px 60px; border: 1px solid var(--line); min-height: 220px; background: var(--linen); }
.resource-card h2 { font-size: 30px; }
.resource-card p { margin-top: 20px; font-size: 15px; }
.resource-arrow { position: absolute; bottom: 24px; right: 30px; transition: transform .25s; }
.resource-card:hover .resource-arrow, .resource-card:focus-visible .resource-arrow { transform: translateX(7px); }
.download-list { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 13px; }
th, td { padding: 15px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 500; }
.faq-list summary { font: 24px var(--serif); padding: 9px 0; }
.faq-list details p { padding: 0 25px 16px 0; }
.print-action { text-align: center; }
.line-sheet-group { padding-top: 30px; padding-bottom: 20px; }
.line-sheet .quick-view, .line-sheet .save-style { display: none; }

/* 11 Dialogs and drawers -------------------------------------------------- */
dialog { border: 0; background: var(--paper); color: var(--ink); padding: 30px; max-width: calc(100vw - 30px); max-height: 90svh; box-shadow: 0 15px 50px #241b1320; }
dialog::backdrop { background: #35291e55; backdrop-filter: blur(2px); }
dialog[open] { animation: modal-enter .28s both; }
dialog.closing-dialog { animation: modal-exit .18s both; }
dialog[open]::backdrop { animation: backdrop-enter .2s both; }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 22px; }
.dialog-top h2 { font-size: 29px; }
.drawer { position: fixed; inset: 0 auto 0 0; margin: 0; height: 100svh; max-height: 100svh; max-width: 100%; width: 520px; padding: 30px 36px; overflow-y: auto; }
.drawer[open] { animation: drawer-enter .32s both; }
.drawer.closing-dialog { animation: drawer-exit .2s both; }
.right-drawer { inset: 0 0 0 auto; --drawer-from: 100%; }
.drawer > p { font-size: 14px; }
.drawer-bottom { padding: 25px 0; margin-top: 25px; display: grid; gap: 15px; justify-items: center; border-top: 1px solid var(--line); }
.menu-drawer { width: 1000px; }
.menu-layout { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.menu-layout h3 { font: 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.menu-layout > div > a { display: block; margin: 14px 0; font-family: var(--serif); font-size: 23px; }
.menu-layout .menu-feature { color: var(--accent); margin-top: 26px; }
.menu-secondary .nav-link { font-size: 21px; }
.menu-secondary .nav-emphasis { margin-top: 26px; }
.menu-image { display: block; background: var(--linen); align-self: start; text-align: center; }
.menu-image img { aspect-ratio: 3 / 4; object-fit: cover; mix-blend-mode: multiply; }
.menu-image span { display: block; padding: 15px; font-family: var(--serif); font-size: 20px; }
.search-dialog { width: 750px; }
.search-input { display: flex; gap: 14px; align-items: center; border-bottom: 1px solid var(--accent); padding-bottom: 10px; }
.search-input input { border: 0; padding: 10px 0; background: none; width: 100%; font-size: 16px; }
.search-item { display: flex; gap: 20px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.search-item img { width: 60px; height: 80px; object-fit: cover; background: var(--photo-bg); mix-blend-mode: multiply; }
.search-item h3 { font-size: 19px; }
.search-item p { font-size: 12px; margin-top: 5px; }
#search-results > p { padding: 30px 0; }
#search-results > .text-link { margin-top: 20px; }
.selection-item { display: grid; grid-template-columns: 75px minmax(0, 1fr) auto; align-items: center; gap: 17px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.selection-item img { width: 75px; height: 100px; object-fit: cover; background: var(--photo-bg); mix-blend-mode: multiply; }
.selection-item h3 { font-size: 19px; }
.selection-item p { font-size: 12px; margin: 7px 0; }
.selection-item .remove-style { padding: 7px; font-size: 20px; line-height: 1; min-width: 32px; min-height: 32px; }
.selection-item input { width: 95px; padding: 6px 9px; font-size: 13px; }
.selection-item label { display: flex; align-items: center; gap: 12px; font-size: 12px; }
.empty-selection { padding: 40px 0; color: var(--muted); }
.empty-selection .text-link { margin-top: 20px; }
.quick-dialog { width: 820px; padding: 0; }
.modal-close { position: absolute; right: 12px; top: 10px; z-index: 1; background: #f7f5f1c9; }
.quick-layout { display: grid; grid-template-columns: 1fr 1fr; }
.quick-layout > img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; background: var(--photo-bg); mix-blend-mode: multiply; }
.quick-copy { padding: 60px 30px 30px; align-self: center; }
.quick-copy h2 { font-size: 30px; margin: 14px 0; }
.quick-copy p { font-size: 14px; margin-bottom: 20px; }
.quick-copy .text-link { margin-top: 18px; }
.zoom-dialog { width: 100vw; height: 100svh; max-width: 100vw; max-height: 100svh; padding: 0; margin: 0; }
.zoom-bar { display: flex; align-items: center; justify-content: space-between; height: 65px; padding: 10px 25px; border-bottom: 1px solid var(--line); font-size: 12px; }
.zoom-bar > div { display: flex; gap: 20px; align-items: center; }
.zoom-scroll { height: calc(100svh - 65px); overflow: auto; text-align: center; background: var(--photo-bg); }
.zoom-scroll img { height: 100%; width: auto; max-width: 100%; object-fit: contain; margin: auto; cursor: zoom-in; mix-blend-mode: multiply; }
.zoom-scroll.is-zoomed img { height: auto; width: 150%; max-width: none; cursor: zoom-out; }
#toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); padding: 12px 25px; color: var(--paper); background: var(--ink); z-index: 50; font-size: 13px; opacity: 0; pointer-events: none; transition: transform .2s, opacity .2s; max-width: 90vw; text-align: center; }
#toast.visible { transform: translate(-50%, 0); opacity: 1; }

/* 12 Forms and inquiry ---------------------------------------------------- */
input, select, textarea { border: 1px solid var(--line); background: #fbfaf7; border-radius: 0; padding: 12px; min-width: 0; }
textarea { resize: vertical; }
.filter-fields { display: grid; gap: 25px; }
.filter-fields label, .form-grid label { display: grid; gap: 9px; font-size: 13px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; }
.form-grid > label { min-width: 0; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; max-width: 100%; }
.span-two { grid-column: 1 / -1; }
.req { color: var(--wine); }
.form-legend { margin-bottom: 14px; }
.form-note { font-size: 12px; margin: 25px 0; }
#clear-draft { margin-top: 20px; }
.inquiry-layout { display: grid; width: calc(100% - var(--gutter) * 2); max-width: 1180px; margin: 0 auto 30px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.inquiry-layout > * { min-width: 0; }
.inquiry-layout .section-heading { flex-wrap: wrap; gap: 8px 20px; margin-bottom: 5px; }
.inquiry-layout .section-heading h2 { font-size: 25px; }
.inquiry-layout .small-note { margin-top: 25px; }
.inquiry-layout.is-empty { grid-template-columns: minmax(0, 1fr); max-width: 820px; gap: 30px; }
.inquiry-layout.is-empty .selection-summary { padding: 22px 26px; background: var(--linen); border: 1px solid var(--line); }
.inquiry-layout.is-empty .section-heading { margin: 0 0 10px; }
.inquiry-layout.is-empty .section-heading h2 { font-size: 22px; }
.inquiry-layout.is-empty .section-heading .text-link, .inquiry-layout.is-empty .quantity-note { display: none; }
.inquiry-layout.is-empty .empty-selection { display: flex; gap: 15px; justify-content: space-between; align-items: baseline; padding: 0; font-size: 13px; }
.inquiry-layout.is-empty .empty-selection .text-link { margin: 0; flex-shrink: 0; }
#project-form { scroll-margin-top: calc(var(--header-height) + 30px); }
#project-form input, #project-form textarea { scroll-margin-top: calc(var(--header-height) + 40px); scroll-margin-bottom: 30px; }
.next-steps { padding-top: 30px; }
.next-steps > h2 { font-size: 30px; margin-bottom: 6px; }
.brief-dialog { width: 760px; }
#brief-output { width: 100%; height: 50svh; font-size: 13px; line-height: 1.8; }
.brief-actions { display: flex; gap: 25px; align-items: center; margin-top: 20px; }
#copy-status { font-size: 13px; margin-top: 10px; }

/* 13 Content pages: company, private label, sources ----------------------- */
.campus-wide { margin: 0 var(--gutter); }
.campus-wide img { width: 100%; max-height: 660px; object-fit: cover; }
.campus-wide.entrance-photo img { max-height: none; height: auto; aspect-ratio: 16 / 9; }
.campus-wide figcaption { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; padding: 12px 0; color: var(--muted); }
.company-profile { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.company-profile h2 { font-size: 37px; }
.company-profile p { font-size: 15px; margin-bottom: 20px; }
.company-facts { font-size: 13px; }
.company-facts > div { padding: 15px 0; display: grid; grid-template-columns: 110px 1fr; border-bottom: 1px solid var(--line); gap: 20px; }
.life-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 30px; }
.life-grid img { width: 100%; height: 390px; object-fit: cover; }
.life-grid figcaption { display: flex; flex-direction: column; gap: 7px; font-size: 12px; padding-top: 15px; color: var(--muted); }
.life-grid figcaption > span:first-child { font-size: 11px; color: var(--accent); letter-spacing: .08em; }
.service-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding: 20px var(--gutter) 60px; }
.service-intro h2 { margin-bottom: 25px; }
.service-intro p { font-size: 15px; }
.service-list article { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.service-list article > span { display: none; }
.service-list h3 { font-size: 25px; margin-bottom: 12px; }
.label-workbench { display: grid; grid-template-columns: 1fr 1fr; background: var(--linen); margin: 30px var(--gutter); }
.label-controls { padding: 50px; }
.label-controls h2 { margin-bottom: 25px; }
.label-controls label { display: block; font-size: 13px; margin-bottom: 10px; }
.label-controls input { width: 100%; }
.label-controls .small-note { margin: 20px 0; }
.placement-controls { display: flex; gap: 20px; margin-top: 20px; }
.placement-controls button { font-size: 12px; padding: 6px 0; border-bottom: 1px solid transparent; }
.placement-controls [aria-pressed=true] { border-color: var(--accent); }
.fabric-sample { position: relative; min-height: 400px; display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(30deg, #35392e, #35392e 1px, #393d32 1px, #393d32 3px); }
.brand-patch { background: #e9e2d4; color: #3f362e; text-align: center; border: 2px dashed #bcb1a0; padding: 25px; box-shadow: 0 4px 15px #0002; transform: rotate(-3deg); transition: transform .3s; max-width: 85%; overflow-wrap: anywhere; }
.brand-patch strong { font: 25px var(--serif); letter-spacing: .08em; }
.brand-patch span { display: block; font-size: 11px; letter-spacing: .06em; margin-top: 8px; }
.fabric-sample[data-placement=chest] .brand-patch { background: none; border: 0; color: #e9e2d4; box-shadow: none; transform: translate(-25px, -45px) scale(.7); }
.fabric-sample[data-placement=tag] .brand-patch { transform: rotate(9deg); padding: 55px 20px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 35px; }
.process-grid h3 { font-size: 26px; margin-bottom: 15px; }
.process-grid p { font-size: 14px; }
.process-grid + .small-note { margin-top: 30px; }
.sources-content { max-width: 1050px; margin: auto; padding: 10px var(--gutter) 60px; }
.sources-content article { margin: 28px 0 40px; }
.sources-content h2 { font-size: 29px; margin-bottom: 20px; }
.sources-content p { font-size: 15px; margin-bottom: 15px; }
.source-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; margin-top: 25px; }
.source-links a { border-bottom: 1px solid var(--line); }
.sources-content .source-table-wrap { margin: 20px 0; }
.source-table-wrap { overflow: auto; }
.sources-content table td { overflow-wrap: anywhere; max-width: 350px; }

/* 14 Footer --------------------------------------------------------------- */
.footer-main { background: var(--linen); display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 45px; padding: 60px var(--gutter); }
.footer-main h3 { font: 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.footer-main a:not(.wordmark) { display: block; margin: 9px 0; font-size: 13px; width: fit-content; border-bottom: 1px solid transparent; }
.footer-main a:not(.wordmark):hover, .footer-main a:not(.wordmark):focus-visible { border-bottom-color: currentColor; }
.footer-main p { font-size: 13px; max-width: 260px; line-height: 1.8; margin: 9px 0; }
.footer-main .wordmark { margin-bottom: 22px; text-align: left; }
.footer-main .wordmark-art { width: 180px; height: 73px; margin: 0; }
.footer-bottom { padding: 18px var(--gutter); display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--muted); }

/* 15 Responsive ----------------------------------------------------------- */
@media (hover: none) {
  .quick-view { transform: none; opacity: 1; padding: 7px; background: #f7f5f1c9; }
  .card-meta { padding-top: 12px; }
}
@media (min-width: 1700px) {
  .product-detail { grid-template-columns: 1.75fr 1fr; gap: 70px; }
  .detail-copy { max-width: 520px; padding-top: 20px; }
}
@media (max-width: 1000px) {
  .desktop-nav { gap: 22px; font-size: 12px; justify-content: flex-start; }
  .product-grid { gap: 28px 14px; }
  .card-meta h3 { font-size: 17px; }
  .card-meta p { display: block; }
  .card-meta p > span:last-child { display: block; margin-top: 4px; }
  .step-list { gap: 26px; }
  .step-list h3 { font-size: 22px; }
  .category-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .editorial-copy { padding: 35px; }
  .detail-crop, .editorial-split { min-height: 420px; }
  .product-detail { grid-template-columns: 1.15fr 1fr; gap: 28px; }
  .gallery-main { grid-template-columns: 1fr; }
  .gallery-detail { display: none; }
  .detail-copy h1 { font-size: 32px; }
  .footer-main { gap: 25px; }
  .company-profile, .service-intro { gap: 40px; }
  .menu-drawer { width: 90vw; }
  .menu-layout { gap: 24px; }
  .label-controls { padding: 30px; }
}
@media (max-width: 900px) {
  .inquiry-layout, .inquiry-layout.is-empty { grid-template-columns: minmax(0, 1fr); max-width: 680px; gap: 35px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  body { font-size: 14px; }
  :root { --header-height: 76px; }
  .service-bar { min-height: 32px; font-size: 11px; padding: 5px 44px 5px 12px; }
  .service-bar > button { right: 8px; font-size: 11px; }
  .masthead { height: 76px; margin: 0 12px; gap: 0; }
  .header-left { gap: 0; }
  .icon-button { width: 40px; height: 40px; padding: 7px; }
  .wordmark-art { width: 144px; height: 57px; }
  .wordmark span { font-size: 11px; letter-spacing: .025em; }
  .inquiry-trigger { gap: 4px; }
  .inquiry-trigger .trigger-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .desktop-nav { display: none; }
  .editorial-hero { padding: 0 12px; }
  .hero-frame { height: 72svh; min-height: 480px; max-height: 750px; }
  .hero-frame > img { object-position: 65% center; }
  .hero-panel { bottom: 22px; max-width: calc(100% - 35px); width: 360px; padding: 20px; }
  .hero-panel h1 { font-size: 27px; }
  .hero-panel > p { font-size: 11px; }
  .editorial-credit { font-size: 11px; line-height: 1.5; text-align: center; margin-top: 9px; }
  .intro-note { margin: 60px auto 20px; padding: 0 26px; }
  .intro-note h2 { font-size: 33px; }
  .intro-note p:not(.eyebrow) { font-size: 14px; }
  .section { padding: 35px 18px; }
  .section-heading { gap: 15px; align-items: flex-end; margin-bottom: 20px; }
  .section-heading h2 { font-size: 28px; }
  .section-heading .text-link { font-size: 12px; flex-shrink: 0; }
  .step-list { grid-template-columns: 1fr; gap: 0; }
  .step-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
  .step-list .step-number { border: 0; padding: 0; margin-bottom: 8px; }
  .step-list.stacked li { grid-template-columns: 48px minmax(0, 1fr); }
  .step-list.stacked h3 { font-size: 23px; }
  .category-index { display: grid; grid-auto-flow: column; grid-auto-columns: 58%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 8px; }
  .category-index > a { scroll-snap-align: start; }
  .category-index h3 { font-size: 20px; margin-top: 12px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .card-meta h3 { font-size: 16px; }
  .card-meta p { font-size: 11px; }
  .save-style { top: 5px; right: 5px; width: 32px; height: 32px; }
  .quick-view { font-size: 11px; }
  .editorial-split { grid-template-columns: 1fr; margin: 40px 18px; }
  .detail-crop { min-height: 400px; }
  .editorial-copy { padding: 38px 28px; }
  .editorial-copy h2 { font-size: 32px; }
  .editorial-copy p { font-size: 14px; }
  .factory-story { margin: 45px 18px; }
  .factory-story > div { position: static; max-width: none; padding: 25px 23px; background: var(--linen); }
  .factory-story h2 { font-size: 28px; white-space: normal; }
  .factory-story p { font-size: 11px; }
  .closing { padding: 60px 10px; margin: 20px 18px; }
  .closing h2 { font-size: 31px; }
  .closing p { font-size: 14px; }
  .footer-main { padding: 45px 24px; gap: 35px 25px; }
  .footer-main h3 { margin-bottom: 15px; }
  .footer-main .wordmark { margin-bottom: 15px; }
  .footer-bottom { padding: 20px 24px; flex-direction: column; gap: 10px; font-size: 11px; }
  .page-heading { padding: 44px 24px 30px; }
  .page-heading h1 { font-size: 37px; }
  .page-heading > p:not(.eyebrow) { font-size: 14px; margin-top: 16px; }
  .category-nav { justify-content: flex-start; gap: 22px; padding: 0 20px 18px; font-size: 12px; }
  .catalogue-section { padding: 0 16px 30px; }
  .catalogue-toolbar { min-height: 66px; gap: 10px; }
  .sort-label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sort-label select { width: 118px; font-size: 12px; padding-right: 4px; }
  .catalogue-toolbar p, .catalogue-toolbar .text-link { font-size: 12px; }
  .catalogue-grid { row-gap: 30px; }
  .breadcrumbs { padding: 18px 18px; font-size: 11px; }
  .product-detail { display: block; padding: 0 18px 25px; }
  .gallery-main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; }
  .gallery-image { flex: 0 0 100%; scroll-snap-align: start; max-height: 65svh; aspect-ratio: 3 / 4; }
  .gallery-detail { display: block; }
  .gallery-image img { object-fit: contain; }
  .image-switch { gap: 22px; padding: 16px 0; }
  .image-caption { font-size: 11px; }
  .detail-copy { position: static; margin-top: 28px; max-width: none; }
  .detail-copy h1 { font-size: 32px; }
  .detail-copy dl { margin-top: 20px; }
  .detail-links { margin-bottom: 20px; }
  .drawer { padding: 23px; width: 100vw; max-width: 100vw; }
  .dialog-top { padding-bottom: 15px; margin-bottom: 22px; }
  .dialog-top h2 { font-size: 26px; }
  .menu-layout { grid-template-columns: 1fr 1fr; gap: 20px; }
  .menu-layout > div > a { font-size: 20px; margin: 15px 0; }
  .menu-secondary .nav-link { font-size: 18px; }
  .menu-image { display: none; }
  .menu-layout h3 { font-size: 11px; }
  .quick-dialog { max-height: 93svh; width: 90vw; overflow: auto; }
  .quick-layout { grid-template-columns: 1fr; }
  .quick-layout > img { height: 36svh; min-height: 230px; object-fit: contain; }
  .quick-copy { padding: 24px; }
  .quick-copy h2 { font-size: 27px; }
  .quick-copy p { margin-bottom: 15px; }
  .quick-copy .reference { margin: 0; }
  .search-dialog { padding: 23px; }
  .zoom-bar { padding: 10px 13px; }
  .zoom-bar > span { max-width: 50%; font-size: 11px; }
  .zoom-bar > div { gap: 12px; }
  .zoom-scroll img { height: auto; width: 100%; max-height: 100%; object-fit: contain; }
  .zoom-scroll.is-zoomed img { width: 200%; max-height: none; }
  .selection-item { grid-template-columns: 65px minmax(0, 1fr) 32px; gap: 14px; }
  .selection-item img { width: 65px; height: 86px; }
  .selection-item h3 { font-size: 18px; }
  .resource-grid { grid-template-columns: 1fr; gap: 16px; }
  .resource-card { padding: 32px 25px 50px; min-height: 190px; }
  .resource-card h2 { font-size: 28px; }
  .faq-list summary { font-size: 22px; }
  .inquiry-layout { margin: 0 20px 30px; width: auto; gap: 40px; }
  .form-grid { gap: 20px 12px; }
  .form-grid input { padding: 10px; }
  .brief-dialog { padding: 22px; }
  .brief-actions { gap: 20px; }
  .campus-wide { margin: 0 18px; }
  .campus-wide img { height: 340px; object-position: 60%; }
  .campus-wide figcaption { font-size: 11px; }
  .company-profile, .service-intro { grid-template-columns: 1fr; gap: 28px; padding: 35px 24px; }
  .company-profile h2 { font-size: 33px; }
  .company-gallery { padding: 15px 18px; grid-template-columns: 1fr; gap: 25px; }
  .life-grid { grid-template-columns: 1fr; gap: 30px; }
  .life-grid img { height: 300px; }
  .label-workbench { grid-template-columns: 1fr; margin: 25px 18px; }
  .label-controls { padding: 30px 24px; }
  .fabric-sample { min-height: 290px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .process-grid h3 { font-size: 24px; }
  .process-grid p { font-size: 13px; }
  .narrow { padding-inline: 24px; }
  .sources-content { padding-inline: 24px; }
  .sources-content h2 { font-size: 26px; }
  .source-table-wrap { margin: 20px 18px; }
  .table-wrap th, .table-wrap td { padding: 12px 8px; }
  .line-sheet .card-meta h3 { font-size: 15px; }
}
@media (max-width: 500px) {
  .inquiry-layout { margin: 0 16px 24px; }
  .inquiry-layout.is-empty .selection-summary { padding: 20px; }
  .inquiry-layout.is-empty .empty-selection { flex-direction: column; gap: 8px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid .span-two { grid-column: auto; }
  .category-index { grid-auto-columns: 70%; }
}

@media (max-width: 380px) {
  .masthead .wordmark-art { width: 124px; }
  .masthead .wordmark span { display: none; }
}

/* Motion baseline: static, complete content when the user prefers reduced motion. */
@keyframes hero-enter { from { opacity: .3; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
@keyframes modal-enter { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: none; } }
@keyframes modal-exit { to { opacity: 0; transform: translateY(10px); } }
@keyframes drawer-enter { from { opacity: .5; transform: translateX(var(--drawer-from, -100%)); } to { opacity: 1; transform: none; } }
@keyframes drawer-exit { to { opacity: 0; transform: translateX(var(--drawer-from, -100%)); } }
@keyframes backdrop-enter { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
  .reveal.pending { opacity: 1; transform: none; }
}

/* Print: the reference book and any page without chrome. */
@media print {
  .service-bar, .site-header, footer, .print-action, .quick-view, .save-style, .skip-link, .editorial-credit, .section-heading .text-link { display: none !important; }
  body { background: white; color: black; font-size: 10px; }
  .page-heading { padding: 20px; }
  .page-heading h1 { font-size: 30px; }
  .page-heading p { font-size: 11px; }
  .section { padding: 15px; }
  .line-sheet-group { break-inside: avoid; }
  .line-sheet { grid-template-columns: repeat(4, 1fr); gap: 20px 12px; }
  .product-card { break-inside: avoid; }
  .card-meta h3 { font-size: 13px; }
  .card-meta p { font-size: 8px; }
  .card-picture > a { aspect-ratio: 3 / 4; }
  .reveal.pending { opacity: 1; transform: none; }
  dialog { display: none !important; }
}
