:root {
  --ink: #171d21;
  --muted: #535e65;
  --orange: #ff752f;
  --rust: #9b360a;
  --line: #d9dedf;
  --wash: #f2f4f3;
  --white: #fff;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #c64e16; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p, dl { margin: 0; }
p { line-height: 1.58; }
.wrap { width: min(1200px, 100% - 100px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; left: 1rem; top: 1rem; transform: translateY(-200%); background: white; padding: .625rem; }
.skip-link:focus { transform: none; }
.header { background: #151a1d; color: white; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 890; font-size: 1.13rem; line-height: 1.05; letter-spacing: .025em; white-space: nowrap; }
.brand-sub { display: block; font-size: .65rem; letter-spacing: .16em; margin-top: .25rem; }
.brand-mark { width: 35px; height: 34px; display: flex; gap: 3px; align-items: end; border-bottom: 4px solid var(--orange); padding: 0 3px 3px; }
.brand-mark i { flex: 1; background: var(--orange); height: 14px; transform: skewY(-27deg); }
.brand-mark i:nth-child(2) { height: 20px; }
.brand-mark i:nth-child(3) { height: 26px; }
nav { display: flex; align-items: center; gap: clamp(.9rem, 2.65vw, 2.5rem); }
nav a { text-decoration: none; font-size: .94rem; font-weight: 600; color: #e0e5e7; }
nav a:hover, footer a:hover { color: var(--orange); }
.menu-toggle { display: none; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: .75rem 1.2rem; border: 1px solid transparent; border-radius: 4px; color: #1c1714; background: var(--orange); text-decoration: none; font-weight: 750; font-size: .95rem; text-align: center; }
.button:hover { background: #ff9a66; }
.button-small { min-height: 42px; padding: .45rem 1.05rem; }
.button-outline { background: #181f246b; color: white; border-color: #c9cece; }
.button-outline:hover { background: #384148; }
.hero { color: white; background-color: #131a1f; background-image: linear-gradient(90deg, #0e1418ed 0%, #0e1418a8 39%, #0e141820 74%), url("assets/verified/woodshop-workshop.jpg"); background-size: cover; background-position: center 55%; }
.hero-inner { min-height: 578px; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 5rem 6rem; }
.eyebrow { color: var(--rust); font-size: .82rem; font-weight: 800; letter-spacing: .135em; line-height: 1.35; }
.hero-label { display: inline-flex; align-items: center; gap: .6rem; color: #ff9a63; }
.hero-label span { display: inline-block; width: 16px; height: 2px; background: var(--orange); }
h1 { font-size: clamp(3rem, 6vw, 6rem); line-height: .99; letter-spacing: -.068em; margin-top: 1.25rem; font-weight: 850; }
.hero-copy { max-width: 36rem; margin-top: 1.4rem; font-size: clamp(1rem, 1.6vw, 1.2rem); color: #e8edee; }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.8rem; }
.image-note { position: absolute; bottom: 1.25rem; right: 0; padding: .25rem .5rem; background: #161b20df; color: #fff; font-size: .76rem; }
.section { padding-block: clamp(3.6rem, 7vw, 6.4rem); }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 2rem; margin-bottom: 2.35rem; }
.section-heading > p { max-width: 31rem; color: var(--muted); padding-bottom: .2rem; font-size: 1.07rem; }
h2 { font-size: clamp(2.35rem, 4.6vw, 4.3rem); font-weight: 820; letter-spacing: -.058em; line-height: 1.04; margin-top: .55rem; }
h3 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -.025em; }
.path-grid, .examples-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.path-card { padding: 1.7rem; border: 1px solid var(--line); background: #fafbfa; border-radius: 6px; display: grid; align-content: start; gap: .7rem; justify-items: start; }
.path-icon { width: 40px; height: 40px; background: #ffe6d9; border: 1px solid #f7c9b3; color: var(--rust); border-radius: 4px; display: grid; place-items: center; font-size: 1.44rem; }
.path-card p, .factory-content p { color: var(--muted); }
.text-link { color: var(--rust); text-decoration: none; font-weight: 750; border-bottom: 1px solid currentColor; padding-block: .1rem; }
.text-link:hover { color: #571f03; }
.workflow { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.75rem; }
.workflow ol { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; margin: 1.2rem 0 0; padding: 0; gap: .75rem; }
.workflow li { display: grid; align-content: start; gap: .5rem; border-top: 2px solid var(--orange); padding: .8rem .6rem 0 0; }
.workflow li span { color: var(--muted); font-size: .93rem; line-height: 1.45; }
.network { background: var(--wash); }
.category-head { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem; margin-bottom: 1rem; }
.category-head p { color: var(--muted); font-size: .88rem; }
.factory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.factory-card { background: white; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.factory-photo { height: 205px; background-color: #333b3d; background-position: center; background-size: cover; }
.tiles { background-image: url("assets/tiles.jpg"); }
.furniture { background-image: url("assets/furniture.jpg"); }
.metals { background-image: url("assets/metals.jpg"); }
.factory-content { display: grid; gap: .6rem; padding: 1.25rem; justify-items: start; }
.example-case, .example-brief { padding: clamp(1.3rem, 3vw, 2.1rem); border-radius: 6px; }
.example-case { background: #1b2429; color: white; }
.eyebrow.light { color: #ff9763; }
.example-case h3, .example-brief h3 { margin: .7rem 0 .8rem; font-size: clamp(1.4rem, 3vw, 2rem); }
.example-case > p:last-child { color: #dce3e6; }
.example-brief { background: var(--wash); border: 1px solid var(--line); }
.example-brief dl { margin-bottom: 1rem; }
.example-brief dl div { display: grid; grid-template-columns: 7rem 1fr; gap: .5rem; padding-block: .5rem; border-top: 1px solid var(--line); }
.example-brief dt { font-weight: 700; }
.example-brief dd { color: var(--muted); margin: 0; }
.contact { background: #f8eee8; }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.6rem, 5vw, 4.75rem); }
.contact-layout div > h2 + p { margin-top: 1rem; color: var(--muted); max-width: 24rem; }
form { background: white; border: 1px solid #e9d8ce; border-radius: 6px; padding: clamp(1.1rem, 3vw, 1.8rem); }
.route-field { border: 0; padding: 0; margin: 0 0 1rem; }
.route-field legend { font-weight: 750; padding: 0; margin-bottom: .6rem; }
.route-options { display: flex; flex-wrap: wrap; gap: .55rem; }
.route-options label { padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }
.route-options label:has(:checked) { background: #fff3ed; border-color: #b74b18; }
.route-options input { accent-color: var(--rust); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.form-grid label { font-size: .92rem; font-weight: 700; }
.form-grid label span { color: var(--rust); }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { display: block; width: 100%; padding: .6rem .7rem; margin-top: .3rem; min-height: 42px; border: 1px solid #9da6aa; border-radius: 4px; background: white; color: var(--ink); font-weight: 400; font-size: 1rem; }
.form-grid select { appearance: none; padding-right: 2rem; background: linear-gradient(45deg,transparent 50%,#59646b 50%) right 16px center / 5px 5px no-repeat, linear-gradient(135deg,#59646b 50%,transparent 50%) right 11px center / 5px 5px no-repeat; }
.form-grid textarea { resize: vertical; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem .75rem; margin-top: 1rem; }
.form-actions span, .form-status { color: var(--muted); font-size: .86rem; }
.form-status:not(:empty) { margin-top: .65rem; }
footer { color: white; background: #151a1d; }
.footer-inner { min-height: 110px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.3rem; }
.footer-inner p { color: #c6cdd1; }
@media (max-width: 880px) {
  .wrap { width: calc(100% - 48px); }
  .header-inner { flex-wrap: wrap; min-height: 65px; padding-block: .7rem; }
  .header-contact { display: none; }
  .menu-toggle { display: block; padding: .5rem .75rem; color: white; background: transparent; border: 1px solid #a0a8ac; border-radius: 4px; }
  nav { display: none; width: 100%; flex-wrap: wrap; padding-bottom: .5rem; }
  nav.open { display: flex; }
  .hero-inner { min-height: 500px; }
  .factory-photo { height: 155px; }
  .workflow ol { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 34px); }
  .hero { background-position: 62% center; background-image: linear-gradient(90deg, #0e1418ef, #0e141876), url("assets/verified/woodshop-workshop.jpg"); }
  .hero-inner { min-height: 510px; padding-block: 3.2rem 4rem; }
  .actions { gap: .55rem; }
  .section-heading, .path-grid, .factory-grid, .examples-grid, .contact-layout { grid-template-columns: 1fr; gap: 1rem; }
  .section-heading { margin-bottom: 1.5rem; }
  .workflow ol { grid-template-columns: repeat(2, 1fr); }
  .factory-photo { height: 210px; }
  .form-grid { grid-template-columns: 1fr; }
  .desktop { display: none; }
  .footer-inner { justify-content: flex-start; }
}

/* Shared navigation and inner pages */
.header-inner { gap: 1.15rem; }
.header-inner > nav { gap: clamp(.8rem, 2vw, 1.85rem); }
.header-inner > nav a, .header-contact { white-space: nowrap; }
.header-inner > nav a[aria-current="page"], .header-inner > nav a.current-section { color: #ff9763; }
.mobile-contact { display: none; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; }
.footer-nav a { font-size: .9rem; }
.section-link { display: inline-block; margin-top: 1rem; }
.example-case .text-link { color: #ff9763; }
.example-case .text-link:hover { color: white; }

.inner-hero { color: white; background: #192226; }
.breadcrumbs { display: block; font-size: .9rem; padding-top: 1.15rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; gap: .5rem; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; color: #b0babe; padding-inline-end: .5rem; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: .2em; }
.breadcrumbs li[aria-current] { color: #d1d9dc; }
.inner-hero-grid { padding-block: clamp(2.75rem, 6vw, 5.4rem); }
.inner-hero-grid.has-image { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 4vw, 4.4rem); align-items: center; }
.inner-hero h1 { font-size: clamp(2.65rem, 5.7vw, 5.4rem); max-width: 15ch; }
.inner-hero .hero-copy { margin-top: 1.15rem; max-width: 44rem; }
.inner-hero .actions { margin-top: 1.4rem; }
.inner-content { padding-block: clamp(2.6rem, 6vw, 5.4rem); }
.inner-content > * + * { margin-top: clamp(1.7rem, 4vw, 3.25rem); }
.inner-section > h2, .request-layout h2 { font-size: clamp(1.8rem, 3.5vw, 3.05rem); margin: 0 0 1rem; }
.inner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: 1.05rem; }
.inner-card { background: #fafbfa; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.inner-card-body { display: grid; align-content: start; gap: .6rem; justify-items: start; padding: clamp(1rem, 2vw, 1.55rem); }
.inner-card p, .prose-section p, .detail-steps p, .faq p, .request-layout p { color: var(--muted); }
.prose-section p { max-width: 72ch; }
.preview-note { padding: .85rem 1rem; background: #fff3ed; border-left: 3px solid var(--orange); color: #602c16; }
.detail-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); list-style: none; gap: 1.15rem; margin: 0; padding: 0; }
.detail-steps li { border-top: 2px solid var(--orange); padding-top: .9rem; }
.detail-steps h3 { margin-bottom: .4rem; }
.image-slot { margin-inline: 0; margin-bottom: 0; max-width: 660px; }
.image-space { display: grid; place-items: center; min-height: 125px; aspect-ratio: 3 / 2; border: 1px dashed #9ca8ab; border-radius: 6px; background: #e9eeee; color: #434f55; font-size: .9rem; }
.image-slot figcaption { margin-top: .5rem; font-size: .88rem; line-height: 1.45; color: var(--muted); }
.inner-hero .image-slot { margin: 0; }
.inner-hero .image-space { aspect-ratio: 4 / 3; background: #29363e; color: #e1e8ea; border-color: #829198; }
.inner-hero .image-slot figcaption { color: #cad4d8; }
.compact-slot { margin: 0; max-width: none; }
.compact-slot .image-space { border: 0; border-bottom: 1px dashed #9ca8ab; border-radius: 0; }
.compact-slot figcaption { padding-inline: 1rem; }
.faq details { max-width: 780px; padding: .95rem 0; border-top: 1px solid var(--line); }
.faq summary { font-weight: 750; cursor: pointer; }
.faq details p { padding: .55rem 0 0 1.05rem; }
.request-layout { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: clamp(1rem, 3vw, 2.6rem); }
.form-actions .button:disabled { opacity: .65; cursor: default; }

@media (max-width: 920px) {
  .header-inner { flex-wrap: wrap; min-height: 65px; padding-block: .7rem; }
  .header-contact { display: none; }
  .menu-toggle { display: block; padding: .5rem .75rem; color: white; background: transparent; border: 1px solid #a0a8ac; border-radius: 4px; }
  #navigation { display: none; width: 100%; flex-wrap: wrap; padding-bottom: .5rem; }
  #navigation.open { display: flex; }
  .mobile-contact { display: inline; }
}
@media (max-width: 620px) {
  .inner-hero-grid.has-image, .request-layout { grid-template-columns: 1fr; gap: 1.15rem; }
  .inner-hero-grid { padding-block: 2.35rem; }
  .inner-hero .image-space { aspect-ratio: 3 / 2; }
  .header-inner > nav a { padding-block: .3rem; }
}

.image-slot.has-photo img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #e9eeee; border-radius: 6px; }
.inner-hero .image-slot.has-photo img { aspect-ratio: 4 / 3; background: #29363e; }
.compact-slot.has-photo img { border-radius: 0; }
.image-slot.has-photo img.preserve-frame { object-fit: contain; }
.home-category-photo, .home-case figure { margin: 0; }
.home-category-photo img, .home-case img { display: block; width: 100%; background: #e9eeee; object-fit: cover; }
.home-category-photo img { aspect-ratio: 16 / 9; }
.home-category-photo.tiles img, .home-case img { object-fit: contain; }
.home-category-photo figcaption { color: var(--muted); padding: .4rem 1rem 0; font-size: .85rem; }
.home-case img { aspect-ratio: 16 / 9; background: #29363e; }
.home-case figcaption { font-size: .85rem; color: #dce3e6; margin: .35rem 0 .9rem; }
@media (max-width: 620px) {
  .inner-hero .image-slot.has-photo img { aspect-ratio: 3 / 2; }
}

/* ===== v2 additions on top of the page-by-page plan styles ===== */
html { scroll-behavior: smooth; }
body { background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }

/* Sticky dark header with a hairline */
.header { position: sticky; top: 0; z-index: 40; background: rgba(21,26,29,.96); backdrop-filter: blur(8px); border-bottom: 1px solid #ffffff14; }
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
.brand { color: #fff; }

/* Photos placed in the page plan's slots */
.page-figure { margin: 0; min-width: 0; }
.page-figure .g-link { display: block; overflow: hidden; border-radius: 6px; background: #e4e7e1; cursor: zoom-in; }
.page-figure .page-image { display: block; width: 100%; aspect-ratio: var(--slot-ratio, 4 / 3); object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.page-figure .page-image.preserve { object-fit: contain; background: #eef0ed; }
.page-figure .g-link:hover .page-image:not(.preserve) { transform: scale(1.035); }
.page-figure figcaption { font-size: .88rem; line-height: 1.5; margin-top: .6rem; color: #56636a; }
.inner-hero .page-figure figcaption { color: #cdd6da; }
.inner-hero .page-figure .g-link { box-shadow: 0 30px 60px -30px #000c; }
.compact.page-figure .g-link { border-radius: 0; }
.compact.page-figure figcaption { padding-inline: .9rem; }
.page-gallery { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.page-gallery .page-figure:only-child { max-width: 860px; }
.table-scroll { overflow-x: auto; }
.table-scroll table { width: min(100%, 860px); min-width: 360px; border-collapse: collapse; line-height: 1.5; }
.table-scroll th, .table-scroll td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid #d9dedf; vertical-align: top; }
.table-scroll thead th { color: #fff; background: #1b2429; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; border: 0; }
.table-scroll th[scope=row] { width: 31%; }
.table-scroll tbody tr:nth-child(even) { background: #f6f7f6; }
.prose-section > p { max-width: 75ch; }

/* Full-bleed photo hero for inner pages */
.inner-hero.photo-hero { position: relative; overflow: hidden; isolation: isolate; background: #0f1518; }
.photo-hero .hero-bg { position: absolute; inset: 0; margin: 0; z-index: -1; }
.photo-hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; animation: heroDrift 18s ease-out both; }
.photo-hero .hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #0b1013f2 0%, #0b1013c4 38%, #0b101359 72%, #0b101326 100%), linear-gradient(0deg, #0b1013b3 0%, transparent 35%); }
.photo-hero .hero-bg figcaption { position: absolute; right: max(24px, calc((100vw - 1200px) / 2)); bottom: 1.1rem; z-index: 1;
  font-size: .78rem; color: #e7ecee; background: #0b1013a8; padding: .3rem .6rem; border-radius: 3px; }
.photo-hero .inner-hero-grid { min-height: clamp(440px, 62vh, 620px); display: flex; flex-direction: column; justify-content: center; padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 8vw, 6.5rem); }
.photo-hero .inner-hero-copy { max-width: 760px; }
.photo-hero h1 { text-shadow: 0 2px 30px #0008; }
@keyframes heroDrift { from { transform: scale(1.07); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .photo-hero .hero-bg img { animation: none; } }

/* Plain (no-photo) inner hero gets a subtle texture so it does not look empty */
.inner-hero:not(.photo-hero) { background: radial-gradient(1200px 500px at 85% -10%, #ff752f26, transparent 60%), #192226; }

/* Full-width photo band */
.photo-band { background: #11171a; padding: 6px 0; }
.band-track { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.1fr; gap: 6px; }
.band-item { position: relative; margin: 0; overflow: hidden; }
.band-item .g-link { display: block; height: 100%; cursor: zoom-in; }
.band-item img { display: block; width: 100%; height: clamp(220px, 26vw, 360px); object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s; filter: saturate(.92); }
.band-item:hover img { transform: scale(1.05); filter: saturate(1.05); }
.band-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem .9rem .75rem; font-size: .78rem; font-weight: 600; color: #fff;
  background: linear-gradient(0deg, #0b1013d9, transparent); pointer-events: none; }
.inner-content-cont { padding-top: clamp(2.4rem, 5vw, 4.4rem); }
.home-band { margin: 0; }

/* Section rhythm and cards */
.inner-section > h2 { position: relative; padding-top: 1.1rem; }
.inner-section > h2::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 3px; background: var(--orange); }
.inner-card { background: #fff; border-color: #e1e5e6; transition: transform .25s, box-shadow .25s, border-color .25s; }
.inner-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px #1b242966; border-color: #cfd5d7; }
.detail-steps { counter-reset: step; }
.detail-steps li { counter-increment: step; position: relative; padding-top: 1.1rem; }
.detail-steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: .8rem; font-weight: 800; letter-spacing: .1em; color: var(--rust); margin-bottom: .35rem; }
.faq-section details { max-width: 820px; padding: 1.05rem 0; border-top: 1px solid var(--line); }
.faq-section details:last-child { border-bottom: 1px solid var(--line); }
.faq-section summary { font-weight: 750; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after { content: "+"; color: var(--rust); font-size: 1.3rem; line-height: 1; }
.faq-section details[open] summary::after { content: "–"; }
.faq-section details p { padding: .6rem 0 0; color: var(--muted); max-width: 70ch; }
.preview-note { border-radius: 0 4px 4px 0; }

/* Closing call to action */
.cta-band { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: #0f1518; }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0b1013f0 10%, #0b1013b8 55%, #0b101366); }
.cta-inner { padding-block: clamp(4rem, 9vw, 7rem); display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 2rem; align-items: end; }
.cta-inner h2 { margin: .6rem 0 0; font-size: clamp(2.2rem, 4.6vw, 4rem); max-width: 16ch; }
.cta-inner p { color: #dfe6e8; margin-top: 1rem; max-width: 40rem; font-size: 1.08rem; }
.cta-inner .actions { margin: 0; }

/* Footer */
footer { background: #0f1417; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 2rem; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-brand p { color: #aeb8bd; margin-top: 1rem; font-size: .92rem; max-width: 22rem; }
.footer-col { min-width: 0; }
footer .footer-col h2 { font-size: .78rem; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; color: #ff9763; margin: 0 0 .9rem; font-weight: 800; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-col a { text-decoration: none; color: #d6dde0; font-size: .92rem; }
.footer-bottom { border-top: 1px solid #ffffff17; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; padding-block: 1.3rem 1.6rem; color: #8f9aa0; font-size: .86rem; }
.footer-bottom a { color: #c3cbcf; }

/* Forms */
.request-layout .required-explanation, .request-privacy { font-size: .94rem; margin-bottom: .75rem; }
.request-privacy { margin-top: .75rem; }
.review-request { box-shadow: 0 24px 60px -36px #1b242955; }
.form-message { margin: 0 0 1rem; padding: .85rem 1rem; border-radius: 4px; font-weight: 600; border: 1px solid; }
.form-message.is-error { background: #fbeee8; color: #8a3c1b; border-color: #e6c0ae; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 4vh 4vw; background: rgba(9,12,14,.94); }
.lightbox img { max-width: 100%; max-height: 84vh; border-radius: 4px; }
.lightbox p { color: #e9e5de; font-size: .9rem; margin-top: 12px; text-align: center; }
.lightbox button { position: absolute; top: 14px; right: 16px; background: none; border: 0; color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; padding: 8px; }

@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .band-track { grid-template-columns: 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .photo-hero .inner-hero-grid { min-height: 480px; }
  .photo-hero .hero-bg::after { background: linear-gradient(0deg, #0b1013f5 15%, #0b1013a6 60%, #0b101366); }
  .photo-hero .hero-bg figcaption { right: 17px; left: auto; bottom: .6rem; font-size: .7rem; }
  .band-item img { height: 180px; }
  .band-item:nth-child(n+3) { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
}

/* ===== Factory network directory ===== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fd-lede { color: var(--muted, #56636a); max-width: 68ch; margin-top: .6rem; }
.fd-stats { background: #11171a; color: #fff; border-top: 1px solid #ffffff14; }
.fd-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fd-stats-grid > div { padding: 1.6rem 1.2rem; border-left: 1px solid #ffffff17; display: grid; gap: .2rem; }
.fd-stats-grid > div:first-child { border-left: 0; padding-left: 0; }
.fd-stats strong { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1; color: #ff9763; font-weight: 800; }
.fd-stats span { color: #c6cfd3; font-size: .92rem; }
.fd-tile-grid { display: grid; gap: 10px; grid-template-columns: repeat(4, 1fr); margin-top: 1.6rem; }
.fd-tile { position: relative; display: block; overflow: hidden; border-radius: 6px; min-height: 240px; color: #fff; text-decoration: none; background: #1b2429; isolation: isolate; }
.fd-tile:first-child { grid-column: span 2; grid-row: span 2; min-height: 490px; }
.fd-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.fd-tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, #0b1013f0 0%, #0b101380 45%, #0b101310 80%); }
.fd-tile:hover img { transform: scale(1.05); }
.fd-tile-text { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 1.1rem 1.1rem 1.15rem; display: grid; gap: .3rem; }
.fd-tile strong { font-size: 1.25rem; line-height: 1.2; }
.fd-tile:first-child strong { font-size: 1.9rem; }
.fd-tile-count { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #ffb48d; }
.fd-tile-blurb { font-size: .88rem; color: #d9e0e3; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fd-tile:first-child .fd-tile-blurb { -webkit-line-clamp: 3; font-size: 1rem; max-width: 34rem; }
.fd-directory { background: #f3f4f2; padding-block: clamp(3rem, 6vw, 5rem); scroll-margin-top: 70px; }
.fd-dir-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; }
.fd-dir-head h2 { margin: .4rem 0 0; font-size: clamp(2rem, 4vw, 3rem); }
.fd-search input { width: min(100%, 340px); padding: .85rem 1rem; border: 1px solid #cfd5d7; border-radius: 4px; font: inherit; background: #fff; }
.fd-chips { position: sticky; top: 64px; z-index: 5; display: flex; gap: .5rem; overflow-x: auto; padding: .9rem 0; margin: 1.4rem 0 .4rem; background: #f3f4f2; scrollbar-width: thin; }
.admin-bar .fd-chips { top: 96px; }
.fd-chip { flex: none; border: 1px solid #cfd5d7; background: #fff; color: #1b2429; border-radius: 999px; padding: .5rem .9rem; font: inherit; font-size: .9rem; font-weight: 650; cursor: pointer; }
.fd-chip span { color: #7a868c; font-weight: 600; margin-left: .2rem; }
.fd-chip[aria-pressed="true"] { background: #1b2429; border-color: #1b2429; color: #fff; }
.fd-chip[aria-pressed="true"] span { color: #ffb48d; }
.fd-group { padding-top: 2.2rem; scroll-margin-top: 130px; }
.fd-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1.2rem; border-bottom: 1px solid #d9dedf; padding-bottom: .8rem; margin-bottom: 1.2rem; }
.fd-group-head h3 { margin: 0; font-size: 1.55rem; }
.fd-group-head p { margin: 0; color: #56636a; font-size: .95rem; }
.fd-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.fd-card { background: #fff; border: 1px solid #e1e5e6; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.fd-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px #1b242966; }
.fd-thumb { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #e4e7e1; cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; }
.fd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.fd-card:hover .fd-thumb img { transform: scale(1.04); }
.fd-count { position: absolute; right: .6rem; bottom: .6rem; background: #0b1013c4; color: #fff; font-size: .74rem; font-weight: 700; padding: .25rem .5rem; border-radius: 3px; }
.fd-badge { position: absolute; left: .6rem; top: .6rem; background: var(--orange, #ff752f); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .28rem .5rem; border-radius: 3px; }
.fd-badge-site { background: #1b2429e6; }
.fd-body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.fd-meta { display: flex; justify-content: space-between; gap: .6rem; margin: 0; font-size: .78rem; color: #6b777d; }
.fd-code { font-weight: 800; letter-spacing: .08em; color: var(--rust, #b8501f); }
.fd-body h4 { margin: 0; font-size: 1.02rem; line-height: 1.35; }
.fd-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.fd-tags li { font-size: .74rem; background: #f1f3f2; color: #3c484e; padding: .2rem .45rem; border-radius: 3px; }
.fd-body .text-link { margin-top: auto; padding-top: .3rem; font-size: .9rem; }
.fd-empty { padding: 2rem 0; color: #56636a; }
.fd-steps { list-style: none; counter-reset: s; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.fd-steps li { counter-increment: s; border-top: 3px solid #1b2429; padding-top: 1rem; display: grid; gap: .35rem; }
.fd-steps li::before { content: counter(s, decimal-leading-zero); font-size: .8rem; font-weight: 800; color: var(--rust, #b8501f); letter-spacing: .1em; }
.fd-steps span { color: #56636a; }
.fd-lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(9,12,14,.95); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.fd-lightbox[hidden] { display: none; }
.fd-lightbox figure { margin: 0; grid-column: 2; text-align: center; }
.fd-lightbox img { max-width: 100%; max-height: 82vh; border-radius: 4px; }
.fd-lightbox figcaption { color: #e9e5de; font-size: .92rem; margin-top: .8rem; }
.fd-lightbox button { background: none; border: 0; color: #fff; cursor: pointer; font-size: 2.6rem; line-height: 1; padding: 10px; }
.fd-lb-close { position: absolute; top: 10px; right: 14px; font-size: 2.2rem !important; }
.fd-lb-prev { grid-column: 1; } .fd-lb-next { grid-column: 3; }
@media (max-width: 980px) {
  .fd-tile-grid { grid-template-columns: 1fr 1fr; }
  .fd-tile:first-child { min-height: 320px; grid-row: auto; }
  .fd-stats-grid { grid-template-columns: 1fr 1fr; }
  .fd-stats-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .fd-steps { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .fd-tile-grid { grid-template-columns: 1fr; }
  .fd-tile:first-child { grid-column: auto; }
  .fd-tile { min-height: 200px; }
  .fd-chips { top: 58px; }
  .fd-lightbox { grid-template-columns: 40px 1fr 40px; }
}

/* ===== Hand-drawn icons (generated by sketch.py) ===== */
.sk { display: block; width: 72px; height: 72px; flex: none; overflow: visible; }
.sk-a { fill: none; stroke: var(--sk-accent, #ff8250); stroke-width: 2.6; stroke-linecap: round; }
.sk-i { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sk-s { display: inline-block; width: 1.25em; height: 1.25em; vertical-align: -.25em; }
.sk-s .sk-i { stroke-width: 2.1; }

/* ===== Logo ===== */
.brand { gap: .72rem; color: #fff; }
.brand-logo { display: block; width: 40px; height: 40px; flex: none; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.05); }
.brand-text { display: block; font-size: 1.14rem; font-weight: 860; letter-spacing: .055em; line-height: 1; }
.brand-sub { margin-top: .34rem; font-size: .6rem; font-weight: 700; letter-spacing: .25em; color: #ffb48d; }

/* ===== Footer ===== */
.site-footer { position: relative; overflow: hidden; background: #0f1417; color: #fff; }
.site-footer { padding-top: clamp(1.6rem, 3.4vw, 3rem); }
.footer-scene { display: block; width: 100%; height: max(clamp(108px, 9.6vw, 156px), 7.75vw); object-fit: cover; object-position: center bottom; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); user-select: none; pointer-events: none; }
.site-footer .footer-top { grid-template-columns: 1.45fr repeat(4, 1fr); gap: clamp(1.4rem, 3vw, 2.6rem); padding-block: clamp(2.4rem, 5vw, 3.6rem) 2.4rem; }
.site-footer .brand-logo { width: 48px; height: 48px; }
.site-footer .brand-text { font-size: 1.3rem; }
.site-footer .footer-brand p { max-width: 24rem; line-height: 1.6; }
.footer-loc { display: flex; align-items: center; gap: .45rem; color: #dfe5e7 !important; font-weight: 600; }
.footer-loc .sk-s { color: #ff9763; }
.footer-cta { margin-top: 1.4rem; gap: .5rem; border-radius: 10px; }
.footer-cta .sk-s { transition: transform .25s; }
.footer-cta:hover .sk-s { transform: translateX(4px); }
.site-footer .footer-col h2 { display: flex; align-items: center; gap: .55rem; margin-bottom: 1.05rem; }
.site-footer .footer-col h2::before { content: ""; width: 14px; height: 2px; background: #ff9763; flex: none; }
.site-footer .footer-col ul { gap: .7rem; }
.site-footer .footer-col a { position: relative; transition: color .2s, padding-left .2s; }
.site-footer .footer-col a:hover { padding-left: .35rem; color: #ffb48d; }
.site-footer .footer-bottom { align-items: center; justify-content: flex-start; gap: .8rem 1.8rem; padding-block: 1.3rem; }
.footer-up { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border: 1px solid #ffffff2e; border-radius: 999px; text-decoration: none; font-weight: 650; }
.footer-up:hover { border-color: #ff9763; }
.footer-up .sk-s { transition: transform .25s; }
.footer-up:hover .sk-s { transform: translateY(-3px); }
.footer-word { margin: .4rem 0 0; font-size: min(7.5vw, 9.4rem); font-weight: 900; letter-spacing: -.035em; line-height: .8; white-space: nowrap; text-align: center; color: transparent; -webkit-text-stroke: 1px #ffffff2e; transform: translateY(17%); user-select: none; pointer-events: none; }
@media (max-width: 980px) {
  .site-footer .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .brand-logo { width: 36px; height: 36px; }
  .brand-text { font-size: 1.02rem; }
  .footer-up { margin-left: 0; }
}

/* ===== Inner pages, third pass: the homepage's cards, icons and buttons on every other page ===== */
:root { --orange: #ff8250; --rust: #8e350f; --ink: #1c211f; --muted: #525c55; --line: #d9dcd3;
  --paper: #f4f2eb; --dark: #1b221e; --r-card: 18px; --r-ctl: 10px; --shadow: 0 30px 60px -36px #1c211f73; }
body { background: #fcfcfa; }
main { overflow-x: clip; isolation: isolate; }

/* Buttons */
.button { border-radius: var(--r-ctl); min-height: 54px; padding: .7rem 1.25rem; gap: .5rem; font-size: .98rem; transition: background-color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.button:not(.button-outline):not(.button-small) { box-shadow: 0 14px 30px -14px #ff8250cc; }
.button:hover { background: #ffa273; transform: translateY(-2px); }
.button-small { min-height: 44px; padding: .45rem 1.05rem; font-size: .93rem; }
.button-outline { background: #242d25af; border-color: #c3cac0; color: #fff; }
.button-outline:hover { background: #424d42; }
.inner-content .button-outline { background: transparent; color: var(--ink); border-color: #777e74; }
.inner-content .button-outline:hover { background: #e8e8df; }
.button .sk-s { width: 1.3em; height: 1.3em; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.button:hover .sk-s { transform: translateX(5px); }

/* ---------- Page hero */
.inner-hero, .inner-hero:not(.photo-hero) { background: radial-gradient(1100px 480px at 86% -12%, #ff82502e, transparent 62%), var(--dark); }
.inner-hero.photo-hero { background: #0d1310; }
.photo-hero .hero-bg::after { background: linear-gradient(90deg, #0d1310f5 0%, #0d1310d9 30%, #0d131085 58%, #0d131040 100%), linear-gradient(0deg, #0d1310e6 0%, transparent 34%); }
.photo-hero .inner-hero-grid { min-height: clamp(460px, 64vh, 640px); }
.inner-hero h1 { font-size: clamp(2.7rem, 5.5vw, 5.3rem); line-height: .98; max-width: 16ch; text-wrap: balance; }
.inner-hero .hero-label { color: #ffb086; }
.hero-label::before { content: ""; width: 1.15rem; height: 2px; background: currentColor; flex: none; }
.inner-hero .hero-copy { color: #eef0e8; font-size: clamp(1.05rem, 1.45vw, 1.22rem); line-height: 1.55; max-width: 38rem; margin-top: 1.3rem; text-wrap: pretty; }
.inner-hero .actions { margin-top: 1.8rem; }
.breadcrumbs { font-size: .84rem; padding-top: 1.25rem; }
.breadcrumbs a { text-decoration: none; color: #d5dcd3; }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: .2em; }
.breadcrumbs li + li::before { content: "›"; color: #8d978e; }
.breadcrumbs li[aria-current] { color: #aab4ab; }
.photo-hero .hero-bg figcaption { padding: .3rem .7rem; border-radius: 999px; background: #121915c7; font-weight: 600; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.inner-hero-grid.i3-has-art { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.i3-hero-art { display: grid; place-items: center; width: clamp(190px, 23vw, 300px); aspect-ratio: 1; border-radius: 50%; background: #ffffff0a; border: 1px dashed #ffffff40; color: #f4f2e9; }
.i3-hero-art .sk { width: 62%; height: 62%; transform: rotate(-5deg); }
.inner-hero .page-figure .g-link { border-radius: var(--r-card); }

/* ---------- Section rhythm */
.inner-content { padding-block: clamp(2.8rem, 6vw, 5.2rem); }
.inner-content > * + * { margin-top: clamp(2.4rem, 5vw, 4.2rem); }
.inner-section > h2, .request-layout h2 { font-size: clamp(1.9rem, 3.3vw, 2.9rem); letter-spacing: -.05em; margin: 0 0 1.4rem; text-wrap: balance; }
.inner-content:has(+ .photo-band) { padding-bottom: 0; }
.photo-band + .inner-content { padding-top: 0; }

/* ---------- Steps: icon cards on a paper band */
.steps-section { position: relative; padding-block: clamp(2.4rem, 5vw, 4rem); }
.steps-section::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw); background: var(--paper); }
.inner-content > .steps-section:first-child { margin-top: calc(-1 * clamp(2.8rem, 6vw, 5.2rem)); }
.photo-band + .inner-content > .steps-section:first-child { margin-top: 0; }
.detail-steps { gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.detail-steps li { position: relative; padding: 1.35rem 1.4rem 1.5rem; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; }
.detail-steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #ff825099; }
.detail-steps li::before { position: absolute; top: 1.4rem; right: 1.4rem; margin: 0; font-size: .74rem; letter-spacing: .13em; color: var(--rust); }
.i3-step-icon { display: block; margin-bottom: .9rem; color: var(--ink); }
.i3-step-icon .sk { width: 84px; height: 84px; }
.detail-steps h3 { font-size: 1.24rem; margin-bottom: .45rem; }
.detail-steps p { font-size: .98rem; line-height: 1.5; }
.steps-section > .actions { margin-top: 1.8rem; }

/* ---------- Cards */
.inner-grid { gap: clamp(1rem, 2.2vw, 1.6rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.inner-grid.i3-single { grid-template-columns: minmax(0, 860px); }
.inner-card { position: relative; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; overflow: visible; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s, background-color .3s; }
.inner-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line); }
.inner-card h3 { font-size: 1.32rem; letter-spacing: -.03em; text-wrap: balance; }
.inner-card h3 a { color: inherit; text-decoration: none; }
.inner-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-card); }
.inner-card h3 a:focus-visible { outline: none; }
.inner-card h3 a:focus-visible::after { outline: 3px solid var(--orange); outline-offset: 3px; }
.i3-more { display: inline-flex; align-items: center; gap: .45rem; margin-top: .15rem; font-weight: 760; color: var(--rust); line-height: 1.4; }
.i3-more .sk-s { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.inner-card:hover .i3-more .sk-s { transform: translateX(5px); }
.i3-photo { display: flex; flex-direction: column; }
.i3-media { position: relative; margin: 0; aspect-ratio: 16 / 9.4; overflow: hidden; border-radius: var(--r-card) var(--r-card) 0 0; background: #e5e4dc; }
.i3-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.i3-media.i3-keep img { object-fit: contain; background: #eceee9; }
.i3-photo:hover .i3-media img { transform: scale(1.045); }
.i3-photo .inner-card-body { position: relative; flex: 1; gap: .65rem; padding: 3.5rem clamp(1.2rem, 2.2vw, 1.7rem) clamp(1.3rem, 2.2vw, 1.7rem); }
.i3-badge { position: absolute; top: -46px; left: clamp(1rem, 2vw, 1.5rem); display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: #fcfcfa; color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 18px 34px -20px #1c211f8c; }
.i3-badge .sk { width: 62px; height: 62px; }
.i3-icon { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.3rem; align-items: center; padding: clamp(1.2rem, 2.4vw, 1.8rem); background: var(--paper); border: 1px dashed #c3c7b9; }
.i3-icon:hover { background: #efece2; border-color: var(--orange); transform: none; box-shadow: none; }
.i3-icon-art { color: var(--ink); }
.i3-icon-art .sk { width: 88px; height: 88px; }
.i3-icon .inner-card-body { padding: 0; gap: .45rem; }
.i3-single .i3-photo { flex-direction: row; }
.i3-single .i3-media { flex: 0 0 44%; aspect-ratio: auto; min-height: 240px; border-radius: var(--r-card) 0 0 var(--r-card); }
.i3-single .i3-photo .inner-card-body { align-content: center; padding: clamp(1.4rem, 2.6vw, 2rem) clamp(1.4rem, 2.6vw, 2rem) clamp(1.4rem, 2.6vw, 2rem) 4.3rem; }
.i3-single .i3-badge { top: 50%; left: -46px; transform: translateY(-50%); }

/* ---------- Prose and FAQ: heading left, text right */
.prose-section, .faq-section { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 1rem clamp(1.5rem, 5vw, 5rem); align-items: start; padding-top: clamp(1.8rem, 3.4vw, 2.8rem); border-top: 1px solid var(--line); }
.inner-content > .prose-section:first-child { padding-top: 0; border-top: 0; }
.prose-section > h2, .faq-section > h2 { margin: 0; padding-top: 0; font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
.prose-section > h2::before, .faq-section > h2::before { content: none; }
.i3-body { display: grid; gap: .9rem; min-width: 0; }
.prose-section .i3-body > p { max-width: 62ch; font-size: 1.04rem; line-height: 1.65; }
.faq-section .i3-body { gap: .7rem; }
.faq-section details, .faq-section details:last-child { max-width: none; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .25s, box-shadow .25s; }
.faq-section details[open] { border-color: #c6cbbf; box-shadow: 0 22px 44px -32px #1c211f73; }
.faq-section summary { align-items: center; padding: 1.05rem 1.2rem; font-size: 1.05rem; }
.faq-section summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); color: var(--rust); font-size: 1.25rem; font-weight: 500; transition: background-color .25s, color .25s, transform .25s; }
.faq-section details[open] summary::after { content: "–"; background: var(--orange); color: #231811; transform: rotate(180deg); }
.faq-section details p { padding: 0 1.2rem 1.2rem; }

/* ---------- Photos */
.page-figure .g-link { border-radius: var(--r-card); }
.page-figure figcaption { margin-top: .7rem; font-size: .86rem; color: var(--muted); }
.page-gallery { gap: clamp(1rem, 2.2vw, 1.6rem); }
.page-gallery .page-figure:only-child { max-width: 980px; }
.i3-split { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(1.5rem, 4.5vw, 4.5rem); align-items: center; }
.i3-split.i3-flip > .page-gallery { order: 2; }
.i3-split .page-gallery { display: block; }
.i3-split .page-gallery .page-figure:only-child { max-width: none; }
.i3-split .page-figure .g-link { box-shadow: 16px 16px 0 var(--paper); }
.i3-split.i3-flip .page-figure .g-link { box-shadow: -16px 16px 0 var(--paper); }
.i3-split .prose-section { display: block; padding-top: 0; border-top: 0; }
.i3-split .prose-section > h2 { position: relative; margin-bottom: 1rem; padding-top: 1.1rem; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.i3-split .prose-section > h2::before { content: ""; }
.i3-split .inner-grid { grid-template-columns: 1fr; }
.inner .photo-band { background: none; padding: 0; margin-block: clamp(2.4rem, 5vw, 4rem); }
.inner .band-track { width: min(1480px, 100% - 48px); margin-inline: auto; gap: 12px; }
.inner .band-item { border-radius: var(--r-card); }
.inner .band-item figcaption { left: .8rem; right: auto; bottom: .8rem; max-width: calc(100% - 1.6rem); padding: .28rem .65rem; border-radius: 999px; background: #121915c7; font-size: .74rem; font-weight: 600; line-height: 1.3; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* ---------- Tables, notes, forms */
.table-scroll { border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
.table-scroll table { width: 100%; }
.table-scroll th, .table-scroll td { padding: .95rem 1.2rem; border-bottom-color: var(--line); }
.table-scroll thead th { background: var(--dark); padding-block: 1rem; }
.table-scroll tbody tr:nth-child(even) { background: #f8f7f2; }
.table-scroll tbody tr:last-child :is(th, td) { border-bottom: 0; }
.preview-note { display: flex; gap: .7rem; align-items: flex-start; padding: .95rem 1.15rem; border: 1px dashed #e0b8a1; border-radius: 14px; background: #fff5ee; color: #5a2a15; }
.preview-note .sk-s { flex: none; width: 1.3em; height: 1.3em; margin-top: .1em; color: var(--rust); }
.request-layout { gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.request-layout > div:first-child { position: sticky; top: 100px; display: grid; gap: .8rem; justify-items: start; }
.request-layout > div:first-child h2 { margin: 0; }
.i3-form-art { display: grid; place-items: center; width: 124px; height: 124px; margin-bottom: .5rem; border-radius: 50%; background: var(--paper); border: 1px dashed #c3c7b9; color: var(--ink); }
.i3-form-art .sk { width: 78px; height: 78px; }
.review-request { padding: clamp(1.2rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; box-shadow: var(--shadow); }
.form-grid { gap: 1rem; }
.form-grid input, .form-grid select, .form-grid textarea { min-height: 48px; padding: .7rem .85rem; border-color: #b9bfb4; border-radius: var(--r-ctl); transition: border-color .2s, box-shadow .2s; }
.form-grid :is(input, select, textarea):focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px #ff825040; }
.form-actions { margin-top: 1.4rem; }

/* ---------- Closing panel (all pages except home and contact) */
.cta-band { background: none; overflow: visible; padding-block: clamp(1rem, 3vw, 2.5rem) clamp(3rem, 6vw, 5.5rem); }
.cta-band::before { content: none; }
.cta-card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(1.2rem, 3vw, 2.6rem); align-items: center; padding: clamp(1.8rem, 4.2vw, 3.6rem); border-radius: 24px; background: var(--dark); color: #f7f8f4; }
.cta-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 380px at 88% -20%, #ff82503d, transparent 62%), linear-gradient(90deg, #141b17f7 25%, #141b17de 60%, #141b17b8); }
.cta-art { color: #f4f2e9; }
.cta-art .sk { width: clamp(96px, 11vw, 150px); height: clamp(96px, 11vw, 150px); transform: rotate(-6deg); }
.cta-card .hero-label { color: #ffa476; }
.cta-card h2 { margin: .5rem 0 0; font-size: clamp(2rem, 3.3vw, 3.3rem); }
.cta-copy > p:not(.eyebrow) { margin-top: .6rem; max-width: 40rem; color: #d3dad1; }
.cta-card .actions { margin: 0; flex-direction: column; align-items: stretch; }
.cta-card .button-outline { background: #ffffff0f; }
.cta-card .button-outline:hover { background: #ffffff24; }

/* ---------- Fact bar under a hero (factory network) */
.inner-hero:has(+ .i3-facts-wrap) .inner-hero-grid { padding-bottom: calc(clamp(4rem, 8vw, 6.5rem) + 70px); }
.i3-facts-wrap { position: relative; z-index: 3; margin-top: -70px; }
.i3-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fcfcfa; color: var(--ink); border-radius: var(--r-card); box-shadow: 0 34px 70px -34px #0b0f0c99, 0 0 0 1px #1c211f14; }
.i3-facts li { display: flex; align-items: center; gap: 1rem; min-width: 0; padding: 1.45rem 1.35rem; border-left: 1px solid var(--line); }
.i3-facts li:first-child { border-left: 0; }
.i3-facts li > .sk { width: 70px; height: 70px; flex: none; }
.i3-facts strong { display: block; font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 820; letter-spacing: -.04em; line-height: 1; color: var(--rust); }
.i3-facts div > span { display: block; margin-top: .35rem; color: var(--muted); font-size: .9rem; line-height: 1.4; }

/* ---------- Factory directory: same radii and controls */
.fd-tile { border-radius: var(--r-card); }
.fd-tile-grid { gap: 12px; }
.fd-card { border-radius: 14px; border-color: var(--line); }
.fd-card:hover { box-shadow: var(--shadow); }
.fd-directory { background: var(--paper); }
.fd-chips { background: var(--paper); }
.fd-chip[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); }
.fd-search input { border-radius: var(--r-ctl); min-height: 50px; }
.fd-search input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px #ff825040; }
.fd-count, .fd-badge { border-radius: 999px; padding-inline: .6rem; }
.fd-tags li { border-radius: 999px; padding-inline: .6rem; background: #f1f0e9; }

/* Tile arrow badge, shared by the homepage mosaic and the directory tiles */
.tile-go { position: absolute; z-index: 2; top: .9rem; right: .9rem; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #ffffff47; background: #12191599; color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .3s, border-color .3s, color .3s, transform .3s cubic-bezier(.2,.7,.2,1); }
.tile-go .sk-s { width: 21px; height: 21px; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.tile-go .sk-i { stroke-width: 2.3; }
a:hover > .tile-go, a:focus-visible > .tile-go { background: var(--orange); border-color: var(--orange); color: #231811; transform: scale(1.08); }
a:hover > .tile-go .sk-s { transform: translate(1.5px, -1.5px); }

/* ---------- Scroll reveal (added by script only when motion is allowed) */
.rv { opacity: 0; transform: translateY(22px); }
.rv.rv-in { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2,.7,.2,1) var(--rv-d, 0s), transform .7s cubic-bezier(.2,.7,.2,1) var(--rv-d, 0s); }

/* ---------- Responsive */
@media (max-width: 1100px) {
  .cta-card { grid-template-columns: auto minmax(0, 1fr); }
  .cta-card .actions { grid-column: 1 / -1; flex-direction: row; }
  .i3-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .i3-facts li:nth-child(3) { border-left: 0; }
  .i3-facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .prose-section, .faq-section, .i3-split { grid-template-columns: 1fr; }
  .i3-split.i3-flip > .page-gallery { order: 0; }
  .inner-hero-grid.i3-has-art { grid-template-columns: 1fr; }
  .i3-hero-art { display: none; }
  .request-layout > div:first-child { position: static; }
}
@media (max-width: 620px) {
  .photo-hero .inner-hero-grid { min-height: 440px; }
  .photo-hero .hero-bg::after { background: linear-gradient(180deg, #0d131059 0%, #0d1310b3 30%, #0d1310f2 70%, #0d1310); }
  .inner-hero .actions .button { flex: 1 1 100%; }
  .i3-single .i3-photo { flex-direction: column; }
  .i3-single .i3-media { flex: none; aspect-ratio: 16 / 9.4; min-height: 0; border-radius: var(--r-card) var(--r-card) 0 0; }
  .i3-single .i3-photo .inner-card-body { padding: 3.5rem 1.2rem 1.3rem; }
  .i3-single .i3-badge { top: -46px; left: 1rem; transform: none; }
  .i3-icon { grid-template-columns: 1fr; gap: .8rem; }
  .i3-icon-art .sk { width: 72px; height: 72px; }
  .i3-step-icon .sk { width: 66px; height: 66px; }
  .i3-split .page-figure .g-link, .i3-split.i3-flip .page-figure .g-link { box-shadow: 10px 10px 0 var(--paper); }
  .inner .band-track { width: calc(100% - 34px); gap: 8px; }
  .cta-card { grid-template-columns: 1fr; border-radius: 18px; }
  .cta-card .actions { flex-direction: column; }
  .cta-art .sk { width: 84px; height: 84px; }
  .i3-facts { grid-template-columns: 1fr; }
  .i3-facts li { border-left: 0; padding: 1.05rem 1.15rem; }
  .i3-facts li + li { border-top: 1px solid var(--line); }
  .i3-facts li > .sk { width: 58px; height: 58px; }
  .tile-go { width: 38px; height: 38px; top: .7rem; right: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .button, .inner-card, .detail-steps li, .i3-media img, .tile-go { transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
@media print { .rv { opacity: 1 !important; transform: none !important; } }

/* ===== Factory directory, third pass: tidy category tiles, framed photo cards, showroom → factory floor order ===== */

/* ---------- Category tiles: one large, one wide, two small, then two rows of three */
.fd-cats .fd-tile-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; margin-top: 1.8rem; }
.fd-tile, .fd-tile:first-child { grid-column: span 4; grid-row: auto; min-height: 264px; border-radius: var(--r-card); box-shadow: 0 0 0 1px #1c211f14; }
.fd-tile:first-child { grid-column: span 6; grid-row: span 2; min-height: 542px; }
.fd-tile:nth-child(2) { grid-column: span 6; }
.fd-tile:nth-child(3), .fd-tile:nth-child(4) { grid-column: span 3; }
@media (min-width: 981px) { .fd-tiles-11 .fd-tile:nth-child(n+5):nth-child(-n+8) { grid-column: span 3; } }
.fd-tile::after { background: linear-gradient(0deg, #0b1013f2 0%, #0b101399 34%, #0b101314 70%, #0b101300 100%); }
.fd-tile-text { padding: 1.25rem 1.3rem 1.3rem; gap: .32rem; }
.fd-tile strong { font-size: 1.32rem; letter-spacing: -.02em; }
.fd-tile:first-child strong { font-size: clamp(1.8rem, 2.6vw, 2.3rem); letter-spacing: -.04em; }
.fd-tile:nth-child(2) strong { font-size: 1.6rem; letter-spacing: -.03em; }
.fd-tile-count { display: inline-flex; align-items: center; gap: .45rem; }
.fd-tile-count::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--orange); }

/* ---------- Featured profiles: four across */
.fd-profiles .inner-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.fd-profiles .inner-card h3 { font-size: 1.14rem; }

/* ---------- Directory head, filter bar */
.fd-directory { padding-block: clamp(3.2rem, 6vw, 5.5rem); }
.fd-dir-head { align-items: end; }
.fd-dir-head h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); letter-spacing: -.05em; }
.fd-dir-head .fd-lede { max-width: 62ch; }
.fd-chips { gap: .45rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.fd-chips { scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent); }
.fd-chips::-webkit-scrollbar { display: none; }
.fd-chips::after { content: ""; flex: none; width: 2.5rem; }
.fd-chip { padding: .55rem 1rem; border-color: #cfd3c8; transition: background-color .2s, border-color .2s, color .2s; }
.fd-chip:hover { border-color: var(--ink); }

/* ---------- Category heading */
.fd-group { padding-top: clamp(2.4rem, 4.5vw, 3.6rem); }
.fd-group-head { justify-content: space-between; align-items: end; gap: .8rem 1.5rem; border-bottom: 2px solid var(--ink); padding-bottom: .95rem; margin-bottom: 1.4rem; }
.fd-group-head h3 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); letter-spacing: -.045em; line-height: 1.05; }
.fd-group-head p { margin-top: .4rem; color: var(--muted); font-size: 1rem; max-width: 60ch; }
.fd-group-head .fd-group-count { flex: none; margin: 0; display: grid; justify-items: end; gap: .15rem; text-align: right; }
.fd-group-count strong { padding: .36rem .85rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 750; white-space: nowrap; }
.fd-group-count span { color: var(--muted); font-size: .82rem; }

/* ---------- Factory cards: one cover each, four across, every row filled */
.fd-grid { --gap: 18px; --cols: 4; display: flex; flex-wrap: wrap; gap: var(--gap); }
.fd-card, .fd-fill { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
.fd-card { padding: 7px 7px 0; border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; }
.fd-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #ff825099; }
.fd-thumb { border-radius: 11px; aspect-ratio: 4 / 3; background: #e4e3da; }
.fd-thumb-static { cursor: default; }
.fd-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #0b10138c 0%, #0b101300 38%); pointer-events: none; transition: background-color .3s; }
button.fd-thumb:hover::after, button.fd-thumb:focus-visible::after { background-color: #0b101359; }
.fd-thumb:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.fd-badge, .fd-count { z-index: 1; font-size: .68rem; font-weight: 750; letter-spacing: .07em; }
.fd-badge { left: .6rem; top: .6rem; display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .66rem; background: #121915d9; color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.fd-badge::before { content: ""; width: .42rem; height: .42rem; border-radius: 50%; background: var(--orange); }
.fd-badge-pieces::before { background: #e3c07c; }
.fd-badge-floor::before { background: #b9c2b8; }
.fd-badge-catalogue, .fd-badge-product { background: #fffffff0; color: var(--ink); }
.fd-badge-catalogue::before, .fd-badge-product::before { background: none; width: .5rem; height: .5rem; border: 1.5px solid #6d766d; border-radius: 2px; }
.fd-count { right: .6rem; bottom: .6rem; display: inline-flex; align-items: center; gap: .3rem; padding: .28rem .58rem; background: #121915d9; letter-spacing: .02em; font-size: .78rem; }
.fd-count .sk-s { width: 15px; height: 15px; }
.fd-open { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -30%); padding: .5rem .95rem; border-radius: 999px; background: #fff; color: var(--ink); font-size: .84rem; font-weight: 750; white-space: nowrap; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; }
button.fd-thumb:hover .fd-open, button.fd-thumb:focus-visible .fd-open { opacity: 1; transform: translate(-50%, -50%); }
.fd-body { padding: .85rem .5rem 1rem; gap: .5rem; }
.fd-meta { align-items: center; font-size: .78rem; color: var(--muted); }
.fd-code { padding: .18rem .5rem; border-radius: 6px; background: #ff82501f; color: var(--rust); letter-spacing: .08em; white-space: nowrap; }
.fd-region { display: inline-flex; align-items: center; gap: .2rem; text-align: right; }
.fd-region .sk-s { width: 14px; height: 14px; flex: none; color: var(--rust); }
.fd-body h4 { font-size: 1.04rem; line-height: 1.28; letter-spacing: -.015em; text-wrap: balance; }
.fd-tags { gap: .3rem; }
.fd-tags li { font-size: .74rem; padding: .18rem .55rem; color: #3d463f; }
.fd-body .text-link { display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start; padding-top: .35rem; font-size: .88rem; font-weight: 700; text-decoration: none; }
.fd-body .text-link .sk-s { width: 1.15em; height: 1.15em; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.fd-body .text-link:hover { text-decoration: underline; text-underline-offset: .22em; }
.fd-body .text-link:hover .sk-s { transform: translateX(4px); }

/* the last cell of each category takes whatever is left of its row */
.fd-fill { flex-grow: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; padding: 1.3rem 1.4rem; border-radius: 16px; border: 1px dashed #b9bdb0; background: #fcfcfa80; }
.fd-fill p { margin: 0; flex: 1 1 15rem; color: var(--muted); font-size: .98rem; line-height: 1.5; }
.fd-fill strong { display: block; color: var(--ink); font-size: 1.12rem; letter-spacing: -.02em; margin-bottom: .15rem; }
.fd-fill .button { flex: none; }

/* big categories: first rows only, until "Show all" (a search or a category filter opens everything) */
.fd-group.has-more:not(.is-open) .fd-card:nth-of-type(n+13), .fd-group.has-more:not(.is-open) .fd-fill { display: none; }
.fd-more-row { margin: 1.5rem 0 0; display: flex; align-items: center; gap: 1.2rem; }
.fd-more-row::before, .fd-more-row::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.fd-show-all { min-height: 48px; padding: .6rem 1.4rem; border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: .95rem; font-weight: 750; cursor: pointer; transition: background-color .2s, color .2s; }
.fd-show-all:hover { background: var(--ink); color: #fff; }
.fd-directory.is-filtered .fd-more-row { display: none; }

/* ---------- Photo viewers: a close button that is always in view, and any click off the photo closes */
.fd-lightbox, .lightbox { z-index: 100000; background: #090c0ef5; cursor: zoom-out; }
.fd-lightbox { grid-template-columns: 76px minmax(0, 1fr) 76px; }
.fd-lightbox figure { display: grid; justify-items: center; padding: 72px 0 20px; }
.fd-lightbox img, .lightbox img { max-height: calc(100vh - 160px); border-radius: 10px; cursor: default; }
.fd-lightbox figcaption { font-weight: 600; cursor: default; }
.fd-lightbox button { display: grid; place-items: center; justify-self: center; width: 50px; height: 50px; padding: 0 0 .2rem; border: 1px solid #ffffff45; border-radius: 50%; background: #ffffff1c; font-size: 2rem; transition: background-color .2s, border-color .2s, color .2s; }
.fd-lightbox button:hover { background: var(--orange); border-color: var(--orange); color: #231811; }
.fd-lightbox .fd-lb-close, .lightbox button { position: fixed; top: 16px; right: 18px; display: inline-flex; align-items: center; gap: .45rem; width: auto; height: 46px; padding: 0 1.05rem 0 .85rem; border: 0; border-radius: 999px; background: #fff; color: #1c211f; font: inherit; font-size: .95rem !important; font-weight: 750; line-height: 1; cursor: pointer; box-shadow: 0 10px 30px -10px #000; }
.fd-lightbox .fd-lb-close span, .lightbox button span { font-size: 1.55rem; line-height: 1; margin-top: -.12em; }
.fd-lightbox .fd-lb-close:hover, .lightbox button:hover { background: var(--orange); color: #231811; }
.admin-bar .fd-lightbox .fd-lb-close, .admin-bar .lightbox button { top: 48px; }
@media (max-width: 600px) {
  .fd-lightbox { grid-template-columns: 48px minmax(0, 1fr) 48px; }
  .fd-lightbox button { width: 40px; height: 40px; font-size: 1.6rem; }
  .fd-lightbox .fd-lb-close, .lightbox button { top: 12px; right: 12px; height: 42px; }
}

@media (max-width: 1080px) {
  .fd-profiles .inner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fd-grid { --cols: 3; }
}
@media (max-width: 980px) {
  .fd-cats .fd-tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .fd-cats .fd-tile-grid .fd-tile { grid-column: auto; min-height: 220px; }
  .fd-cats .fd-tile-grid .fd-tile:first-child { grid-column: 1 / -1; grid-row: auto; min-height: 340px; }
}
@media (max-width: 760px) {
  .fd-grid { --cols: 2; --gap: 12px; }
  .fd-group.has-more:not(.is-open) .fd-card:nth-of-type(n+7) { display: none; }
  .fd-body h4 { font-size: .98rem; }
  .fd-tags li:nth-child(n+3) { display: none; }
  .fd-open { display: none; }
}
@media (max-width: 600px) {
  .fd-cats .fd-tile-grid { grid-template-columns: 1fr; }
  .fd-cats .fd-tile-grid .fd-tile { min-height: 200px; }
  .fd-cats .fd-tile-grid .fd-tile:first-child { min-height: 260px; }
  .fd-tile:first-child strong, .fd-tile:nth-child(2) strong { font-size: 1.5rem; }
  .fd-profiles .inner-grid { grid-template-columns: 1fr; }
  .fd-group-head { align-items: start; }
  .fd-group-head .fd-group-count { justify-items: start; text-align: left; order: -1; }
  .fd-meta { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .fd-grid { --cols: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .fd-card, .fd-chip, .fd-open { transition: none !important; }
}

/* ===== Projects: hub grid, project pages (room-by-room mosaics), category links ===== */

/* ---------- Project cards */
.pj-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin-top: 1.6rem; }
.pj-card { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; overflow: hidden; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; }
.pj-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #ff825099; }
.pj-card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e4e3da; }
.pj-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.pj-card:hover .pj-card-media img { transform: scale(1.04); }
.pj-card-count { position: absolute; right: .7rem; bottom: .7rem; display: inline-flex; align-items: center; gap: .32rem; padding: .3rem .65rem; border-radius: 999px; background: #121915d9; color: #fff; font-size: .78rem; font-weight: 700; }
.pj-card-count .sk-s { width: 15px; height: 15px; }
.pj-card-body { display: flex; flex-direction: column; flex: 1; gap: .5rem; padding: 1.1rem 1.25rem 1.3rem; }
.pj-card-meta { display: flex; align-items: center; gap: .6rem; margin: 0; font-size: .8rem; color: var(--muted); }
.pj-code { padding: .18rem .5rem; border-radius: 6px; background: #ff82501f; color: var(--rust); font-weight: 800; letter-spacing: .08em; }
.pj-card h3 { margin: 0; font-size: 1.26rem; line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; }
.pj-card h3 a { color: inherit; text-decoration: none; }
.pj-card h3 a::after { content: ""; position: absolute; inset: 0; }
.pj-card h3 a:focus-visible { outline: none; }
.pj-card:has(h3 a:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }
.pj-card-body > p:not(.pj-card-meta) { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.5; }
.pj-card .i3-more { margin-top: auto; padding-top: .45rem; font-size: .93rem; }
.pj-card:hover .i3-more .sk-s { transform: translateX(5px); }
.pj-card-featured { grid-column: span 2; grid-row: span 2; }
.pj-card-featured .pj-card-media { aspect-ratio: auto; flex: 1; min-height: 320px; }
.pj-card-featured .pj-card-body { flex: none; padding: 1.4rem 1.6rem 1.6rem; }
.pj-card-featured h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.04em; }
.pj-card-featured .pj-card-body > p:not(.pj-card-meta) { font-size: 1.05rem; max-width: 46ch; }
.pj-more-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .6rem 1.5rem; }
.pj-more-head h2 { margin: 0; }
.pj-more-head .text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; }
.pj-more-head .text-link .sk-s { width: 1.15em; height: 1.15em; }

/* ---------- Project page: room navigation */
.pj-nav { position: sticky; top: 64px; z-index: 5; display: flex; flex-flow: row nowrap; align-items: center; gap: .45rem; overflow-x: auto; margin-top: 1.6rem; padding: .8rem 0; background: #fcfcfa; border-bottom: 1px solid var(--line); scrollbar-width: none; scroll-margin-top: 90px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent); }
.pj-nav::-webkit-scrollbar { display: none; }
.pj-nav::after { content: ""; flex: none; width: 2.5rem; }
.admin-bar .pj-nav { top: 96px; }
.pj-nav a { flex: none; padding: .5rem .95rem; border: 1px solid #cfd3c8; border-radius: 999px; background: #fff; color: var(--ink); font-size: .9rem; font-weight: 650; text-decoration: none; transition: border-color .2s, background-color .2s, color .2s; }
.pj-nav a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

/* ---------- Project page: rooms */
.pj-page > .pj-room { margin-top: clamp(2.6rem, 5vw, 4.2rem); }
.pj-room { scroll-margin-top: 140px; }
.pj-room-head { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, auto); align-items: end; gap: .5rem 1.4rem; margin-bottom: 1.2rem; padding-bottom: 1rem; border-bottom: 2px solid var(--ink); }
.pj-room-no { margin: 0; font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 820; letter-spacing: -.05em; line-height: .86; color: var(--orange); }
.pj-room-head h2 { margin: 0; font-size: clamp(1.6rem, 2.9vw, 2.4rem); letter-spacing: -.045em; line-height: 1.05; text-wrap: balance; }
.pj-room-head h2 + p { margin: .45rem 0 0; color: var(--muted); max-width: 58ch; line-height: 1.5; }
.pj-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35rem; max-width: 23rem; }
.pj-chips li { padding: .24rem .68rem; border-radius: 999px; background: #f1f0e9; color: #3d463f; font-size: .78rem; white-space: nowrap; }

/* mosaic: four columns of 4:3 cells; the row height follows the width of the grid */
.pj-grid-wrap { container-type: inline-size; }
.pj-grid { --g: 10px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; grid-auto-rows: calc((100cqw - 3 * var(--g)) / 4 * .75); grid-auto-flow: dense; gap: var(--g); }
.pj-photo { position: relative; display: block; min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #e4e3da; cursor: zoom-in; }
.pj-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.pj-photo:hover img { transform: scale(1.04); }
.pj-photo:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.pj-big { grid-column: span 2; grid-row: span 2; border-radius: 16px; }
.pj-wide { grid-column: span 2; }
.pj-tall { grid-row: span 2; }
.pj-ref { position: absolute; left: .55rem; bottom: .55rem; padding: .2rem .5rem; border-radius: 6px; background: #121915cc; color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .06em; opacity: 0; transition: opacity .2s; }
.pj-photo:hover .pj-ref, .pj-photo:focus-visible .pj-ref { opacity: 1; }

/* ---------- Project page: directory categories */
.pj-cat-grid { --cols: 4; display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.4rem; }
.pj-cat { flex: 1 1 calc((100% - (var(--cols) - 1) * .9rem) / var(--cols)); min-width: min(100%, 200px); display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: .9rem; padding: .55rem 1rem .55rem .55rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s, transform .25s, box-shadow .25s; }
.pj-cat:hover { border-color: #ff825099; transform: translateY(-2px); box-shadow: var(--shadow); }
.pj-cat img { width: 64px; height: 48px; object-fit: cover; border-radius: 9px; }
.pj-cat strong { display: block; font-size: 1rem; line-height: 1.2; }
.pj-cat small { color: var(--muted); font-size: .82rem; }
.pj-cat .sk-s { width: 1.2em; height: 1.2em; color: var(--rust); transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.pj-cat:hover .sk-s { transform: translateX(4px); }

@media (max-width: 980px) {
  .pj-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .pj-card-featured { grid-row: auto; }
  .pj-card-featured .pj-card-media { aspect-ratio: 16 / 9; min-height: 0; flex: none; }
  .pj-card-grid-hub > :last-child, .pj-more .pj-card-grid > :last-child { grid-column: span 2; }
  .pj-room-head { grid-template-columns: auto minmax(0, 1fr); }
  .pj-chips { grid-column: 1 / -1; justify-content: flex-start; max-width: none; }
}
@media (max-width: 760px) {
  /* two-column masonry at natural proportions; the first photo of a room runs full width */
  .pj-grid { display: block; column-count: 2; column-gap: 8px; }
  .pj-photo { width: 100%; margin: 0 0 8px; aspect-ratio: var(--ar); break-inside: avoid; }
  .pj-big { column-span: all; aspect-ratio: 4 / 3; }
  .pj-ref { opacity: 1; font-size: .62rem; padding: .15rem .4rem; }
  .pj-nav { top: 58px; padding: .6rem 0; }
  .pj-nav a { padding: .42rem .8rem; font-size: .84rem; }
  .pj-room-head { grid-template-columns: auto minmax(0, 1fr); gap: .4rem .9rem; }
  .pj-room-no { font-size: 2.4rem; }
}
@media (max-width: 640px) {
  .pj-card-grid { grid-template-columns: 1fr; }
  .pj-card-featured, .pj-card-grid-hub > :last-child, .pj-more .pj-card-grid > :last-child { grid-column: auto; }
  .pj-card-featured .pj-card-media { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .pj-card, .pj-card-media img, .pj-photo img, .pj-cat, .pj-nav a { transition: none !important; }
}

/* ===== Factory visit diary (/factory-visits/): builds on the project page styles (pj.css) ===== */

/* one factory: code, region and photo count above the heading */
.vd-site .pj-room-head { grid-template-columns: auto minmax(0, 1fr); }
.vd-site .pj-room-head h2 + p { max-width: 70ch; }
.vd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .8rem; margin: 0 0 .45rem; font-size: .8rem; color: var(--muted); }
.vd-meta .fd-code, .vd-tag { padding: .18rem .5rem; border-radius: 6px; background: #ff82501f; color: var(--rust); font-weight: 800; letter-spacing: .08em; }
.vd-tag { background: #1219150f; color: #3d463f; letter-spacing: .02em; }
.vd-meta .fd-region, .vd-count { display: inline-flex; align-items: center; gap: .3rem; }
.vd-meta .sk-s { width: 15px; height: 15px; }

/* who it suits, and what we would still confirm */
.vd-notes { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1rem; margin-top: 1.2rem; }
.vd-note { padding: 1.1rem 1.3rem 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.vd-fit { border-color: #ff825066; background: linear-gradient(180deg, #fff6f1, #fff 70%); }
.vd-note h3 { margin: 0 0 .55rem; font-size: 1rem; letter-spacing: -.01em; }
.vd-note ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
.vd-note li { position: relative; padding-inline-start: 1.3rem; color: #2c342e; font-size: .95rem; line-height: 1.45; }
.vd-note li::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--orange); }
.vd-check li::before { background: transparent; border: 2px solid #8a948c; width: .5rem; height: .5rem; top: .48em; }
.vd-links { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.3rem; margin: 1rem 0 0; }
.vd-links .text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .92rem; text-decoration: none; }
.vd-links .text-link:hover { text-decoration: underline; text-underline-offset: .22em; }
.vd-links .sk-s { width: 1.15em; height: 1.15em; }

/* day cards: the kinds of factory visited */
.vd-kinds { list-style: none; margin: .1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.vd-kinds li { padding: .2rem .6rem; border-radius: 999px; background: #f1f0e9; color: #3d463f; font-size: .76rem; line-height: 1.35; }
.vd-card .pj-card-media img { object-position: center 55%; }

/* which factory suits you */
.vd-fit-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 255px), 1fr)); gap: 1rem; }
.vd-fit-list > li { padding: 1.1rem 1.25rem 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.vd-fit-list h3 { margin: 0 0 .6rem; font-size: 1.05rem; letter-spacing: -.015em; }
.vd-fit-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.vd-fit-list ul li { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; font-size: .94rem; }
.vd-fit-list ul a { color: var(--ink); font-weight: 650; text-decoration: underline; text-decoration-color: #ff825080; text-underline-offset: .2em; }
.vd-fit-list ul a:hover { text-decoration-color: var(--orange); }
.vd-fit-list ul span { flex: none; color: var(--rust); font-size: .76rem; font-weight: 800; letter-spacing: .08em; }

.vd-page .vd-why p { max-width: 70ch; }
.fd-body .fd-visit { padding-top: .1rem; color: var(--rust); }

@media (max-width: 760px) {
  .vd-notes { grid-template-columns: 1fr; }
}

/* ===== Products page: how each piece is inspected (method cards, inspection groups) ===== */

/* ---------- The checks */
.qc-steps { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; counter-reset: none; }
.qc-step { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; overflow: hidden; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; }
.qc-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #ff825099; }
.qc-step figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #e4e3da; }
.qc-step img { display: block; width: 100%; height: 100%; object-fit: cover; }
.qc-step-body { position: relative; padding: 1.15rem 1.3rem 1.4rem; }
.qc-step-no { position: absolute; top: -1.35rem; right: 1.1rem; display: grid; place-items: center; width: 2.7rem; height: 2.7rem; margin: 0; border-radius: 50%; background: var(--orange); color: #231811; font-size: .86rem; font-weight: 820; letter-spacing: .04em; box-shadow: 0 0 0 4px #fff; }
.qc-step h3 { margin: 0 0 .45rem; padding-right: 2.6rem; font-size: 1.22rem; letter-spacing: -.025em; line-height: 1.2; text-wrap: balance; }
.qc-step-body > p:last-child { margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.52; }

/* ---------- Inspections: product types */
.qc-nav { margin-top: 1.6rem; }
.qc-nav a { display: inline-flex; align-items: center; gap: .5rem; }
.qc-nav a small { display: grid; place-items: center; min-width: 1.45rem; height: 1.45rem; padding: 0 .3rem; border-radius: 999px; background: #f1f0e9; color: var(--rust); font-size: .74rem; font-weight: 800; }
.qc-nav a:hover small { background: #ffffff2e; color: #fff; }
.qc-type { margin-top: clamp(2.4rem, 4.6vw, 3.8rem); scroll-margin-top: 140px; }
.qc-type-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .3rem 1.5rem; padding-bottom: .95rem; border-bottom: 2px solid var(--ink); }
.qc-type-head h3 { margin: 0; font-size: clamp(1.55rem, 2.8vw, 2.3rem); letter-spacing: -.045em; line-height: 1.05; }
.qc-type-head p { grid-column: 1; margin: 0; color: var(--muted); max-width: 62ch; line-height: 1.5; }
.qc-type-count { grid-column: 2; grid-row: 1 / span 2; align-self: end; padding: .3rem .8rem; border-radius: 999px; background: #ff82501f; color: var(--rust); font-size: .82rem; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }

/* ---------- One inspection */
.qc-group { margin-top: 1.6rem; padding: clamp(1rem, 2vw, 1.5rem); border: 1px solid var(--line); border-radius: calc(var(--r-card) + 4px); background: #fff; scroll-margin-top: 140px; }
.qc-group + .qc-group { margin-top: 1.3rem; }
.qc-head { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 19rem); align-items: start; gap: .6rem 1.4rem; margin-bottom: 1.1rem; }
.qc-no { margin: .15rem 0 0; padding: .32rem .62rem; border-radius: 8px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .1em; white-space: nowrap; }
.qc-title h3 { margin: 0; font-size: clamp(1.3rem, 2.1vw, 1.7rem); letter-spacing: -.035em; line-height: 1.12; text-wrap: balance; }
.qc-meta { display: flex; flex-wrap: wrap; gap: .2rem .55rem; margin: .4rem 0 0; color: var(--muted); font-size: .84rem; }
.qc-meta span + span::before { content: "·"; margin-right: .55rem; color: #a3a99d; }
.qc-lead { margin: .6rem 0 0; max-width: 62ch; color: #333b36; line-height: 1.55; }
.qc-side { display: grid; gap: .8rem; justify-items: start; }
.qc-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .32rem; }
.qc-checks li { display: flex; align-items: flex-start; gap: .45rem; font-size: .9rem; line-height: 1.35; color: #333b36; }
.qc-checks .sk-s { flex: none; width: 1.05rem; height: 1.05rem; margin-top: .1rem; color: var(--rust); }
.qc-all { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border: 1px solid #777e74; border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: .88rem; font-weight: 720; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.qc-all:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.qc-all .sk-s { width: 1.05rem; height: 1.05rem; }

/* photos: six columns of square cells, the first photo large; photos past the ninth wait in the viewer */
.qc-grid { --g: 8px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--g); }
.qc-photo { position: relative; display: block; min-width: 0; aspect-ratio: 1; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #e4e3da; cursor: zoom-in; }
.qc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.qc-photo:hover img { transform: scale(1.05); }
.qc-photo:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.qc-big { grid-column: span 2; grid-row: span 2; border-radius: 14px; }
.qc-photo:nth-child(n+10) { display: none; }
.qc-label { position: absolute; inset: auto 0 0 0; padding: 1.5rem .6rem .5rem; background: linear-gradient(#12191500, #121915d6); color: #fff; font-size: .74rem; font-weight: 650; line-height: 1.25; text-align: left; text-wrap: balance; }
.qc-big .qc-label { padding: 2.4rem .9rem .8rem; font-size: .95rem; }

/* viewer caption: what the photo shows, then the reference */
.qc-lightbox figcaption { max-width: 46rem; text-align: center; text-wrap: balance; }
.qc-lightbox figcaption small { display: block; margin-top: .25rem; font-size: .82rem; font-weight: 600; opacity: .7; letter-spacing: .04em; }

@media (max-width: 1080px) {
  .qc-head { grid-template-columns: auto minmax(0, 1fr); }
  .qc-side { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; align-items: end; width: 100%; }
  .qc-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .32rem 1.2rem; }
}
@media (max-width: 980px) {
  .qc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
}
@media (max-width: 760px) {
  /* four columns: the large photo and four small ones */
  .qc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); --g: 6px; }
  .qc-photo:nth-child(n+6) { display: none; }
  .qc-label { font-size: .68rem; padding: 1.2rem .45rem .4rem; }
  .qc-big .qc-label { font-size: .84rem; padding: 2rem .7rem .6rem; }
  .qc-side { grid-template-columns: 1fr; }
  .qc-nav { top: 58px; padding: .6rem 0; }
  .qc-type-head { grid-template-columns: 1fr; }
  .qc-type-count { grid-column: 1; grid-row: auto; justify-self: start; }
}
@media (max-width: 560px) {
  .qc-steps { grid-template-columns: 1fr; }
  .qc-group { padding: .85rem; border-radius: 16px; }
  .qc-head { grid-template-columns: 1fr; gap: .5rem; }
  .qc-no { justify-self: start; }
  .qc-checks { grid-template-columns: 1fr; }
  /* two columns: the large photo across, then four */
  .qc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qc-big { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3.4; }
  .qc-label { font-size: .74rem; }
}
@media (prefers-reduced-motion: reduce) {
  .qc-step, .qc-photo img, .qc-all { transition: none !important; }
}

/* the plan's guide cards under a lede */
.qc-page .cards-section > .fd-lede { margin-bottom: 1.8rem; }
.qc-page .cards-section > h2 { margin-bottom: .2rem; }
.qc-method > h2, .qc-list > h2 { margin-bottom: .2rem; }

/* ===== Fees page: two fees, day rates, visit estimate, order support, payment stages ===== */

/* ---------- Day rates */
.fees-rates > h2 { margin-bottom: .2rem; }
.fees-rate-list { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
.fees-rate { display: flex; flex-direction: column; min-width: 0; padding: 1.5rem 1.5rem 1.6rem; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; }
.fees-rate:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #ff825099; }
.fees-rate-art { display: grid; place-items: center; width: 92px; height: 92px; margin-bottom: 1rem; border-radius: 50%; background: var(--paper); }
.fees-rate-art .sk { width: 70px; height: 70px; }
.fees-rate h3 { margin: 0; font-size: 1.22rem; letter-spacing: -.025em; }
.fees-price { display: flex; align-items: baseline; gap: .45rem; margin: .5rem 0 .7rem; }
.fees-price strong { color: var(--rust); font-size: clamp(2.3rem, 3.6vw, 3rem); font-weight: 820; letter-spacing: -.05em; line-height: 1; }
.fees-price span { color: var(--muted); font-size: .95rem; font-weight: 650; }
.fees-rate > p:not(.fees-price) { color: #333b36; line-height: 1.55; }
.fees-points { list-style: none; margin: .9rem 0 0; padding: .9rem 0 0; display: grid; gap: .4rem; border-top: 1px dashed var(--line); }
.fees-points li, .fees-notes li { display: flex; align-items: flex-start; gap: .5rem; font-size: .93rem; line-height: 1.4; color: #333b36; }
.fees-points .sk-s, .fees-notes .sk-s { flex: none; width: 1.05rem; height: 1.05rem; margin-top: .12rem; color: var(--rust); }

/* ---------- Estimate */
.fees-calc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; padding-top: clamp(1.8rem, 3.4vw, 2.8rem); border-top: 1px solid var(--line); scroll-margin-top: 120px; }
.fees-calc-copy h2 { margin: 0; font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
.fees-calc-copy h2::before { content: none; }
.fees-notes { list-style: none; margin: 1.2rem 0 1.5rem; padding: 0; display: grid; gap: .5rem; }
.fees-calc-box { padding: clamp(1.2rem, 2.6vw, 1.9rem); border-radius: calc(var(--r-card) + 4px); background: var(--paper); box-shadow: 0 0 0 1px #1c211f14, 0 34px 70px -40px #0b0f0c80; }
.fees-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid #1c211f1a; }
.fees-row-label { font-weight: 720; }
.fees-step { display: inline-flex; align-items: center; gap: .35rem; }
.fees-step button { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; padding: 0; border: 1px solid #777e74; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.25rem; line-height: 1; transition: background-color .2s, color .2s, border-color .2s; }
.fees-step button:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.fees-step button:disabled { opacity: .35; cursor: default; }
.fees-step output { min-width: 2.4rem; text-align: center; font-size: 1.3rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.fees-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #c6cbbf; }
.fees-seg button { padding: .5rem .95rem; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: .9rem; font-weight: 720; transition: background-color .2s, color .2s; }
.fees-seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.fees-lines { margin: 1.1rem 0 0; display: grid; gap: .55rem; }
.fees-lines > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.fees-lines dt { color: #333b36; }
.fees-lines dt small { display: block; margin-top: .1rem; color: var(--muted); font-size: .84rem; font-variant-numeric: tabular-nums; }
.fees-lines dd { margin: 0; font-weight: 760; font-variant-numeric: tabular-nums; }
.fees-lines > div[hidden] { display: none; }
.fees-total { margin-top: .4rem; padding-top: .9rem; border-top: 2px solid var(--ink); }
.fees-total dt { font-weight: 800; color: var(--ink); }
.fees-total dd { color: var(--rust); font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 820; letter-spacing: -.04em; line-height: 1; }
.fees-more { margin-top: .9rem; color: var(--muted); font-size: .9rem; }

/* ---------- How we are paid */
.fees-promise { padding: clamp(1.8rem, 4vw, 3rem); border-radius: calc(var(--r-card) + 6px); background: var(--dark); color: #f4f2e9; }
.fees-promise-head .eyebrow { color: #ff9763; }
.fees-promise-head h2 { margin: .4rem 0 0; color: #fff; font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.045em; }
.fees-promise-head h2::before { content: none; }
.fees-promise ul { list-style: none; margin: clamp(1.6rem, 3vw, 2.4rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem clamp(1.2rem, 3vw, 2.6rem); }
.fees-promise li { min-width: 0; padding-top: 1.1rem; border-top: 1px solid #ffffff2e; }
.fees-promise-art .sk { width: 66px; height: 66px; margin-bottom: .6rem; color: #f4f2e9; }
.fees-promise h3 { margin: 0 0 .35rem; color: #fff; font-size: 1.2rem; letter-spacing: -.02em; }
.fees-promise li p { color: #cfd6cd; line-height: 1.55; }

/* ---------- What we stand behind: warranty and free storage */
.fees-guar-list { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; }
.fees-guar-list li { position: relative; min-width: 0; padding: clamp(1.4rem, 3vw, 2.1rem); padding-inline-end: clamp(5.5rem, 10vw, 7rem); border-radius: calc(var(--r-card) + 4px); background: var(--paper); box-shadow: 0 0 0 1px #1c211f14; }
.fees-guar-art { position: absolute; top: clamp(1.2rem, 2.6vw, 1.8rem); inset-inline-end: clamp(1.2rem, 2.6vw, 1.8rem); }
.fees-guar-art .sk { width: 64px; height: 64px; }
.fees-guar-figure { margin: 0; }
.fees-guar-figure strong { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 820; letter-spacing: -.055em; line-height: 1; }
.fees-guar-list h3 { margin: .45rem 0 0; font-size: 1.3rem; letter-spacing: -.025em; }
.fees-guar-when { margin: .3rem 0 .6rem; color: var(--rust); font-weight: 700; line-height: 1.4; }
.fees-guar-list li > p:not([class]) { color: #333b36; line-height: 1.55; }

/* ---------- Two fees */
.fees-two > h2 { margin-bottom: .2rem; }
.fees-two-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; margin-top: 1.8rem; }
.fees-fee { display: flex; flex-direction: column; min-width: 0; padding: clamp(1.4rem, 3vw, 2.1rem); border-radius: calc(var(--r-card) + 4px); background: var(--paper); color: var(--ink); text-decoration: none; box-shadow: 0 0 0 1px #1c211f14; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.fees-fee:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #ff825099, var(--shadow); }
.fees-fee-tag { color: var(--rust); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fees-fee h3 { margin: .55rem 0 0; font-size: 1.35rem; letter-spacing: -.025em; }
.fees-fee-figure { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; margin: .5rem 0 .8rem; }
.fees-fee-figure strong { font-size: clamp(2.8rem, 5vw, 4rem); font-weight: 820; letter-spacing: -.055em; line-height: 1; }
.fees-fee-figure span { color: var(--muted); font-weight: 650; }
.fees-fee > p:not(.fees-fee-figure) { color: #333b36; line-height: 1.55; }
.fees-fee-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: 1rem; font-size: .92rem; font-weight: 720; }
.fees-fee-link .sk-s, .fees-step-link .sk-s { width: 1.1em; height: 1.1em; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.fees-fee:hover .fees-fee-link .sk-s, .fees-step-link:hover .sk-s { transform: translateX(4px); }

/* ---------- Day terms under the rate cards */
.fees-terms { list-style: none; margin: 1.3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-card); background: #fcfcfa; }
.fees-terms li { display: grid; gap: .25rem; min-width: 0; padding: 1.1rem 1.3rem; border-left: 1px solid var(--line); }
.fees-terms li:first-child { border-left: 0; }
.fees-terms strong { font-size: 1.2rem; letter-spacing: -.02em; }
.fees-terms span { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.fees-small { margin-top: .9rem; color: var(--muted); font-size: .86rem; line-height: 1.45; }

/* ---------- Where the day rate applies */
.fees-zones > h2 { margin-bottom: .2rem; }
.fees-zone-list { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
.fees-zone-list li { display: flex; flex-direction: column; gap: .9rem; min-width: 0; padding: 1.4rem 1.4rem 1.5rem; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
.fees-zone-list li:first-child { background: var(--paper); border-color: transparent; }
.fees-zone-art .sk { width: 58px; height: 58px; }
.fees-zone-tag { color: var(--rust); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fees-zone-list h3 { margin: .2rem 0 .35rem; font-size: 1.15rem; letter-spacing: -.02em; }
.fees-zone-list li p:not(.fees-zone-tag) { color: #333b36; font-size: .95rem; line-height: 1.5; }

/* ---------- Order support */
.fees-care { scroll-margin-top: 120px; }
.fees-care > h2 { margin-bottom: .2rem; }
.fees-care-steps { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem clamp(1.2rem, 3vw, 2.4rem); }
.fees-care-steps li { min-width: 0; padding-top: 1.1rem; border-top: 2px solid var(--ink); }
.fees-care-art .sk { width: 56px; height: 56px; margin-bottom: .5rem; }
.fees-care-n { color: var(--rust); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fees-care-steps h3 { margin: .2rem 0 .35rem; font-size: 1.15rem; letter-spacing: -.02em; }
.fees-care-steps li > p:not(.fees-care-n) { color: #333b36; font-size: .95rem; line-height: 1.5; }
.fees-step-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .55rem; font-size: .88rem; font-weight: 720; text-decoration: none; }
.fees-step-link:hover { text-decoration: underline; text-underline-offset: .22em; }
.fees-tiers { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; margin-top: clamp(2.2rem, 4vw, 3.2rem); padding-top: clamp(1.8rem, 3.4vw, 2.6rem); border-top: 1px solid var(--line); }
.fees-tiers-copy h3 { margin: 0 0 .5rem; font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -.035em; }
.fees-tiers-copy > p:first-of-type { color: #333b36; line-height: 1.55; }
.fees-tier-table { width: 100%; margin-top: 1.2rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.fees-tier-table th, .fees-tier-table td { padding: .7rem .6rem; border-bottom: 1px solid var(--line); text-align: left; font-size: .95rem; }
.fees-tier-table thead th { color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.fees-tier-table tbody th { color: var(--rust); font-size: 1.15rem; font-weight: 820; }
.fees-tier-table td:last-child { color: var(--muted); }
.fees-tier-table tr.is-on { background: var(--paper); }
.fees-tier-table tr.is-on th:first-child { box-shadow: inset 3px 0 0 var(--orange); }
.fees-care-calc { padding: clamp(1.2rem, 2.6vw, 1.9rem); border-radius: calc(var(--r-card) + 4px); background: var(--paper); box-shadow: 0 0 0 1px #1c211f14, 0 34px 70px -40px #0b0f0c80; }
.fees-care-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; margin: .5rem 0 .7rem; }
.fees-care-amount output { font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 820; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.fees-care-amount small { color: var(--muted); font-size: .95rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.fees-care-calc input[type="range"] { width: 100%; height: 2rem; margin: 0; accent-color: var(--rust); cursor: pointer; }
.fees-care-calc .fees-lines { margin-top: .9rem; }

/* ---------- When you pay */
.fees-pay > h2 { margin-bottom: .2rem; }
.fees-pay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; margin-top: 1.8rem; }
.fees-pay-col { min-width: 0; padding: clamp(1.3rem, 2.6vw, 1.8rem); border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
.fees-pay-col h3 { margin: 0; font-size: 1.25rem; letter-spacing: -.02em; }
.fees-pay-bar { display: flex; gap: 4px; margin: 1rem 0 1.1rem; }
.fees-pay-bar span { display: grid; gap: .1rem; min-width: 0; padding: .7rem .8rem; border-radius: 10px; background: var(--paper); color: var(--muted); font-size: .84rem; line-height: 1.2; }
.fees-pay-bar span:first-child { background: var(--dark); color: #cfd6cd; }
.fees-pay-bar strong { color: var(--ink); font-size: 1.35rem; letter-spacing: -.03em; }
.fees-pay-bar span:first-child strong { color: #fff; }
.fees-pay-col ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .45rem; color: #333b36; font-size: .95rem; line-height: 1.45; }
.fees-pay-col ol li::marker { color: var(--rust); font-weight: 800; }

/* ---------- What our fees don't cover */
.fees-out > h2 { margin-bottom: .2rem; }
.fees-out-list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.fees-out-list li { display: grid; align-content: start; gap: .3rem; min-width: 0; padding: 1.1rem 1.2rem 1.2rem 0; border-bottom: 1px solid var(--line); }
.fees-out-list strong { font-size: 1.02rem; letter-spacing: -.01em; }
.fees-out-list span { color: var(--muted); font-size: .92rem; line-height: 1.45; }

/* ---------- Note on the visit request form */
.fees-note { margin-top: .8rem; padding: .7rem .9rem; border-radius: 12px; background: var(--paper); font-size: .93rem; line-height: 1.45; }
.fees-note a { font-weight: 720; color: var(--rust); }

@media (max-width: 980px) {
  .fees-rate-list { grid-template-columns: 1fr; }
  .fees-rate { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.2rem; }
  .fees-rate > * { grid-column: 2; }
  .fees-rate-art { grid-column: 1; grid-row: 1 / span 4; margin: 0; }
  .fees-calc { grid-template-columns: 1fr; }
  .fees-promise ul { grid-template-columns: 1fr; }
  .fees-terms, .fees-zone-list, .fees-tiers { grid-template-columns: 1fr; }
  .fees-terms li { border-left: 0; border-top: 1px solid var(--line); }
  .fees-terms li:first-child { border-top: 0; }
  .fees-care-steps, .fees-out-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .fees-rate { display: flex; padding: 1.2rem; }
  .fees-rate-art { width: 76px; height: 76px; margin-bottom: .8rem; }
  .fees-rate-art .sk { width: 58px; height: 58px; }
  .fees-row { flex-wrap: wrap; }
  .fees-seg button { padding: .45rem .8rem; }
  .fees-two-grid, .fees-pay-grid, .fees-care-steps, .fees-out-list, .fees-guar-list { grid-template-columns: 1fr; }
  .fees-guar-list li { padding-inline-end: clamp(1.4rem, 3vw, 2.1rem); }
  .fees-guar-art .sk { width: 48px; height: 48px; }
  .fees-tier-table th, .fees-tier-table td { padding: .6rem .4rem; font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  .fees-rate, .fees-fee, .fees-step button, .fees-seg button, .fees-fee-link .sk-s, .fees-step-link .sk-s { transition: none !important; }
}

/* ===== Contact details: phone, WhatsApp, email, showroom (company.py) ===== */
.contact-call { margin-top: .8rem; padding: .7rem .9rem; border-radius: 12px; border: 1px solid var(--line); font-size: .93rem; line-height: 1.45; }
.contact-call a, .fd-body a[href^="tel:"], .fd-body a[href^="mailto:"], .fd-body a[href^="https://wa.me/"] { font-weight: 720; color: var(--rust); }
.contact-call a[href^="tel:"], .fd-body a[href^="tel:"] { white-space: nowrap; }
.contact-ways { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .45rem; }
.contact-ways li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .7rem; }
.contact-ways strong { min-width: 6.5rem; }
.contact-address { font-weight: 650; }

.footer-contact { list-style: none; margin: -.2rem 0 1.3rem; padding: 0; display: grid; gap: .5rem; }
.footer-contact li { display: flex; align-items: center; gap: .5rem; min-width: 0; color: #dfe5e7; font-size: .92rem; font-weight: 600; }
.footer-contact .sk-s { flex: none; width: 1.1rem; height: 1.1rem; color: #ff9763; }
.footer-contact li:first-child .sk-s { color: #4fd37f; }
.footer-contact .footer-yt .sk-s { color: #ff5a4f; }
.footer-contact .footer-yt a { white-space: normal; line-height: 1.35; }   /* the longest label here: may wrap in its column */
.footer-contact a { color: inherit; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.footer-contact a:hover { text-decoration: underline; text-underline-offset: .22em; }

.cta-wa { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; margin-top: .9rem; font-size: .95rem; }
.cta-wa .sk-s { width: 1.2rem; height: 1.2rem; color: #4fd37f; }
.cta-wa a { color: inherit; font-weight: 720; text-decoration: underline; text-underline-offset: .22em; }

/* ---------- WhatsApp button on every page. Owner (2026-11-27): "客户一眼看不见", so it is WhatsApp green with a white
   ring (stands out on dark and light sections), larger, shows the number on wide screens, keeps its label on phones,
   and pings three times after the page loads. */
.wa-float { position: fixed; inset-inline-end: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60;
  display: grid; grid-template-columns: auto auto; column-gap: .7rem; align-items: center; align-content: center;
  padding-block: .5rem; padding-inline: .5rem 1.35rem; border-radius: 999px; background: #25d366; color: #052a13; text-decoration: none;
  box-shadow: 0 0 0 3px #fff, 0 16px 36px -10px #06301899;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, background-color .2s;
  animation: wa-ping 1.8s ease-out 1.2s 3; }
.wa-badge { grid-row: 1 / span 2; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: #fff; color: #13a452; }
.wa-badge .sk-s { width: 1.75rem; height: 1.75rem; }
.wa-badge .sk-i { stroke-width: 2.3; }
.wa-t1 { align-self: end; font-size: 1.05rem; font-weight: 820; line-height: 1.15; white-space: nowrap; }
.wa-t2 { align-self: start; font-size: .8rem; font-weight: 700; line-height: 1.25; white-space: nowrap; font-variant-numeric: tabular-nums; color: #0a3d1d; }
.wa-float:hover { transform: translateY(-3px); background: #2fe274; box-shadow: 0 0 0 3px #fff, 0 22px 44px -12px #063018b3; }
.wa-float:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
@keyframes wa-ping {
  0% { box-shadow: 0 0 0 3px #fff, 0 0 0 3px #25d366b3, 0 16px 36px -10px #06301899; }
  100% { box-shadow: 0 0 0 3px #fff, 0 0 0 24px #25d36600, 0 16px 36px -10px #06301899; }
}
@media (max-width: 560px) {
  .wa-float { inset-inline-end: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); column-gap: .55rem; padding-block: .42rem; padding-inline: .42rem 1.1rem; }
  .wa-badge { grid-row: auto; width: 2.55rem; height: 2.55rem; }
  .wa-badge .sk-s { width: 1.55rem; height: 1.55rem; }
  .wa-t1 { align-self: center; font-size: 1rem; }
  .wa-t2 { display: none; }
  .site-footer { padding-bottom: 76px; }   /* room under the footer, so the button never covers the last links */
}
@media print { .wa-float { display: none; } }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; animation: none; } }

/* ---------- Black Friday coupon: homepage band and booking strip */
.bf { margin: clamp(2.2rem, 5vw, 3.6rem) 0 clamp(1rem, 3vw, 2rem); }
.bf-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.4rem, 4vw, 3rem); align-items: center; padding: clamp(1.6rem, 4vw, 2.8rem); border-radius: calc(var(--r-card) + 8px); background: #121614; color: #f4f2e9; overflow: clip; }
.bf-card::after { content: ""; position: absolute; bottom: -60%; inset-inline-end: -12%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #ff752f33, transparent 65%); pointer-events: none; }
.bf-eyebrow { margin: 0; color: var(--orange); font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.bf-text h2 { margin: .45rem 0 .7rem; color: #fff; font-size: clamp(2rem, 4.6vw, 3.3rem); letter-spacing: -.045em; line-height: 1.02; }
.bf-text h2::before { content: none; }
.bf-text p:last-child { margin: 0; max-width: 34rem; color: #cfd6cd; line-height: 1.55; }
.bf-ticket { position: relative; z-index: 1; display: flex; min-width: 0; border-radius: 16px; background: var(--orange); color: #1b1208; box-shadow: 0 30px 60px -28px #000; }
.bf-ticket-amt { position: relative; display: grid; place-content: center; padding: 1.2rem clamp(1rem, 2.4vw, 1.5rem); border-inline-end: 2px dashed #1b120866; text-align: center; }
.bf-ticket-amt::before, .bf-ticket-amt::after { content: ""; position: absolute; inset-inline-end: -12px; width: 22px; height: 22px; border-radius: 50%; background: #121614; }
.bf-ticket-amt::before { top: -11px; }
.bf-ticket-amt::after { bottom: -11px; }
.bf-ticket-amt strong { font-size: clamp(2.6rem, 5vw, 3.5rem); font-weight: 850; letter-spacing: -.05em; line-height: 1; }
.bf-ticket-amt span { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.bf-ticket-body { flex: 1; display: grid; gap: .6rem; align-content: center; min-width: 0; padding: 1.2rem clamp(1rem, 2.4vw, 1.4rem); }
.bf-ticket-body [hidden] { display: none !important; }
.bf-grab.button { justify-self: start; background: #121614; border-color: #121614; color: #fff; }
.bf-grab.button:hover { background: #000; border-color: #000; }
.bf-code { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; margin: 0; }
.bf-code span { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.bf-code strong { padding: .15rem .7rem; border: 2px dashed #1b1208; border-radius: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.45rem; letter-spacing: .08em; }
.bf-copybtn { padding: .35rem .8rem; border: 0; border-radius: 999px; background: #121614; color: #fff; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
.bf-book { justify-self: start; color: #1b1208; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.bf-small { margin: 0; color: #3b2516; font-size: .8rem; line-height: 1.4; }
.bf.is-grabbed .bf-ticket { animation: bf-pop .55s cubic-bezier(.2,.7,.2,1); }
@keyframes bf-pop { 0% { transform: scale(.96); } 55% { transform: scale(1.025); } 100% { transform: none; } }
.bf-strip { margin: 0 0 1.4rem; padding: .85rem 1.1rem; border-radius: 12px; background: #121614; color: #f4f2e9; line-height: 1.45; }
.bf-strip strong { color: var(--orange); }

/* ---------- Booking page */
.bk [hidden] { display: none !important; }
.bk-form, .inner-content .bk-form { display: block; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.bk-section { padding-top: 0; }
.bk-steps { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0 0 1.3rem; padding: 0; color: var(--muted); font-size: .92rem; font-weight: 700; }
.bk-steps li { display: flex; align-items: center; gap: .5rem; }
.bk-steps span { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border: 1.5px solid var(--line); border-radius: 50%; font-size: .82rem; }
.bk-steps li.is-on { color: var(--ink); }
.bk-steps li.is-on span { border-color: var(--rust); background: var(--rust); color: #fff; }
.bk-steps li.is-done span { border-color: var(--paper); background: var(--paper); color: var(--rust); }
.bk-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, 350px); gap: clamp(1.2rem, 3vw, 2rem); align-items: start; }
.bk-main { min-width: 0; padding: clamp(1.2rem, 3vw, 2rem); border-radius: calc(var(--r-card) + 4px); background: #fff; box-shadow: 0 0 0 1px #1c211f14, var(--shadow); }
.bk-main h2 { margin: 0 0 1rem; font-size: clamp(1.4rem, 2.4vw, 1.8rem); letter-spacing: -.035em; }
.bk-main h2::before { content: none; }
.bk-main h2:focus { outline: none; }
.bk-panel > h2 ~ h2 { margin-top: .4rem; }
.bk-packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.bk-pack { position: relative; display: flex; flex-direction: column; gap: .25rem; min-width: 0; padding: 1rem 1rem 1.05rem; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.bk-pack input { position: absolute; opacity: 0; pointer-events: none; }
.bk-pack:hover { border-color: #ff825099; }
.bk-pack.is-on { border-color: var(--rust); background: #fff7f2; box-shadow: 0 0 0 3px #9b360a1f; }
.bk-pack:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
.bk-pack-tick { position: absolute; top: .85rem; inset-inline-end: .85rem; width: 1.15rem; height: 1.15rem; border: 1.5px solid var(--line); border-radius: 50%; }
.bk-pack.is-on .bk-pack-tick { border-color: var(--rust); background: var(--rust); box-shadow: inset 0 0 0 3px #fff; }
.bk-pack-art .sk { width: 52px; height: 52px; }
.bk-pack strong { margin-top: .2rem; font-size: 1.05rem; }
.bk-pack-text { flex: 1; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.bk-pack-price { margin-top: .6rem; padding-top: .6rem; border-top: 1px solid var(--line); font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; }
.bk-pack-price small { color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: 0; }
.bk-incl { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; margin: 1rem 0 2rem; padding: 0; color: var(--muted); font-size: .9rem; }
.bk-incl li { display: flex; align-items: center; gap: .35rem; }
.bk-incl svg { width: 18px; height: 18px; color: var(--rust); }
.bk-hint { margin: -.4rem 0 1rem; color: var(--muted); line-height: 1.5; }
.bk-controls { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; margin-bottom: 1rem; }
.bk-stepper { display: grid; align-content: start; gap: .35rem; }
.bk-label { color: var(--muted); font-size: .82rem; font-weight: 700; }
.bk-note { margin: 0 0 1rem; padding: .6rem .85rem; border-radius: 10px; background: #fff7f2; color: var(--rust); font-size: .9rem; font-weight: 650; }
.bk-cal { padding: 1rem; border: 1px solid var(--line); border-radius: 14px; }
.bk-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.bk-cal-head strong { font-size: 1.05rem; }
.bk-cal-head button { width: 2.3rem; height: 2.3rem; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.25rem; line-height: 1; cursor: pointer; }
.bk-cal-head button:disabled { opacity: .35; cursor: default; }
.bk-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px 0; }
.bk-dow { padding: .3rem 0; color: var(--muted); font-size: .75rem; font-weight: 700; text-align: center; }
.bk-day { height: 2.7rem; border: 0; border-radius: 10px; background: none; color: var(--ink); font: inherit; font-weight: 650; cursor: pointer; }
.bk-day:hover:not(:disabled) { background: var(--paper); }
.bk-day.is-off { color: #b9c0c3; cursor: default; }
.bk-day.is-range { border-radius: 0; background: #ffe6d8; }
.bk-day.is-start { border-radius: 10px 0 0 10px; }
.bk-day.is-end { border-radius: 0 10px 10px 0; }
.bk-day.is-start.is-end { border-radius: 10px; }
.bk-day.is-start, .bk-day.is-end { background: var(--rust); color: #fff; }
.bk-day:focus-visible { outline: 3px solid var(--orange); outline-offset: -2px; }
.bk-cal-key { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1rem; margin: .8rem 0 0; color: var(--muted); font-size: .8rem; }
.bk-cal-key span { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.bk-cal-key i { display: inline-block; width: .8rem; height: .8rem; border-radius: 3px; }
.bk-cal-key .k-range { background: #ffe6d8; }
.bk-cal-key .k-off { background: #e7eaeb; }
.bk-date-fallback { display: grid; gap: .35rem; font-weight: 700; }
.bk-error { margin: .8rem 0 0; color: #b3261e; font-weight: 700; }
.bk-next, .bk-send { margin-top: 1.4rem; }
.bk-back { margin: 0 0 .8rem; }
.bk-back button { padding: 0; border: 0; background: none; color: var(--rust); font: inherit; font-weight: 700; cursor: pointer; }
.bk-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.bk-fields label { display: grid; gap: .35rem; min-width: 0; }
.bk-fields .full { grid-column: 1 / -1; }
.bk-l { font-size: .92rem; font-weight: 700; }
.bk-opt { color: var(--muted); font-size: .8rem; font-weight: 500; }
.bk-fields input, .bk-fields select, .bk-fields textarea, .bk-coupon input, .bk-date-fallback input { width: 100%; padding: .75rem .85rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }
.bk-fields input:focus, .bk-fields select:focus, .bk-fields textarea:focus, .bk-coupon input:focus { border-color: var(--rust); outline: none; box-shadow: 0 0 0 3px #9b360a22; }
.bk-chips { min-width: 0; margin: 1.3rem 0 0; padding: 0; border: 0; }
.bk-chips legend { margin-bottom: .55rem; padding: 0; }
.bk-chip-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.bk-chip { position: relative; cursor: pointer; }
.bk-chip input { position: absolute; opacity: 0; pointer-events: none; }
.bk-chip span { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .85rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: .9rem; font-weight: 650; transition: border-color .15s, background .15s, color .15s; }
.bk-chip span::before { content: "+"; color: var(--muted); font-weight: 700; }
.bk-chip:hover span { border-color: #ff825099; }
.bk-chip input:checked + span { border-color: var(--rust); background: #fff7f2; color: var(--rust); }
.bk-chip input:checked + span::before { content: "✓"; color: var(--rust); }
.bk-chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.bk-more { margin-top: 1.1rem; }
.bk-more summary { width: fit-content; color: var(--rust); font-weight: 700; cursor: pointer; }
.bk-more textarea { width: 100%; margin-top: .6rem; padding: .75rem .85rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }
.bk-more textarea:focus { border-color: var(--rust); outline: none; box-shadow: 0 0 0 3px #9b360a22; }
.bk-coupon { margin-top: 1.2rem; padding: 1rem; border-radius: 12px; background: var(--paper); }
.bk-coupon label { font-size: .92rem; font-weight: 700; }
.bk-coupon-row { display: flex; gap: .5rem; margin-top: .4rem; }
.bk-coupon-row input { flex: 1; min-width: 0; letter-spacing: .06em; text-transform: uppercase; }
.bk-coupon-row button { padding: 0 1.1rem; border: 0; border-radius: 10px; background: var(--dark); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.bk-coupon-msg { margin: .5rem 0 0; font-size: .88rem; }
.bk-coupon-msg:empty { display: none; }
.bk-coupon-msg.is-ok { color: #1d6b3a; font-weight: 700; }
.bk-coupon-msg.is-bad { color: #b3261e; }
.bk-terms { display: flex; align-items: flex-start; gap: .6rem; margin-top: 1.2rem; color: #333b36; font-size: .9rem; line-height: 1.45; }
.bk-terms input { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--rust); }
.bk-sum { position: sticky; top: 96px; padding: clamp(1.1rem, 2.6vw, 1.5rem); border-radius: calc(var(--r-card) + 4px); background: var(--paper); box-shadow: 0 0 0 1px #1c211f14; }
.bk-sum-label { display: flex; justify-content: space-between; margin: 0 0 .9rem; color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.bk-sum-head { display: flex; align-items: center; gap: .8rem; }
.bk-sum-art .sk { width: 48px; height: 48px; }
.bk-sum-head strong { display: block; font-size: 1.25rem; letter-spacing: -.02em; }
.bk-sum-head span { color: var(--muted); font-size: .9rem; }
.bk-sum-sub { margin: .6rem 0 0; color: var(--muted); font-size: .86rem; }
.bk-lines { display: grid; gap: .55rem; margin: 1rem 0 0; padding-top: .8rem; border-top: 1px solid #1c211f1f; }
.bk-lines > div { display: flex; justify-content: space-between; gap: 1rem; }
.bk-lines dt { font-size: .92rem; }
.bk-lines dt small { display: block; color: var(--muted); font-size: .8rem; }
.bk-lines dd { margin: 0; font-weight: 700; white-space: nowrap; }
.bk-lines .bk-total { align-items: baseline; padding-top: .6rem; border-top: 1px solid #1c211f1f; }
.bk-total dt { font-weight: 800; }
.bk-total dd { font-size: 1.7rem; font-weight: 850; letter-spacing: -.03em; }
.bk-pay { display: grid; gap: .45rem; margin-top: 1rem; }
.bk-pay > div { display: grid; grid-template-columns: 1fr auto; gap: 0 .6rem; padding: .6rem .75rem; border-radius: 10px; background: #fff; }
.bk-pay span { font-size: .85rem; font-weight: 700; }
.bk-pay strong { grid-row: span 2; align-self: center; font-size: 1.1rem; }
.bk-pay small { color: var(--muted); font-size: .78rem; }
.bk-pay .is-now { background: #fff7f2; box-shadow: inset 0 0 0 1.5px #9b360a55; }
.bk-pay .is-now strong { color: var(--rust); }
.bk-sum-btn { justify-content: center; width: 100%; margin-top: 1rem; }
.bk-sum-small { margin: .7rem 0 0; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.bk-covers-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; }
.bk-covers-tag { margin: 0 0 .6rem; color: var(--rust); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.bk-covers-list { list-style: none; display: grid; gap: .7rem; margin: 0; padding: 0; }
.bk-covers-list li { display: grid; gap: .1rem; padding: .8rem 1rem; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #1c211f14; }
.bk-covers-list.is-in li { background: var(--paper); box-shadow: none; }
.bk-covers-list span { color: var(--muted); font-size: .92rem; }

@media (max-width: 980px) {
  .bf-card { grid-template-columns: 1fr; }
  .bk-grid { grid-template-columns: 1fr; }
  .bk-sum { position: static; }
}
@media (max-width: 640px) {
  .bk-packs, .bk-fields, .bk-covers-grid { grid-template-columns: 1fr; }
  .bk-pack { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .8rem; align-items: center; }
  .bk-pack-art { grid-row: span 2; }
  .bk-pack-art .sk { width: 44px; height: 44px; }
  .bk-pack-price { grid-column: 1 / -1; display: flex; align-items: baseline; gap: .3rem; }
  .bk-day { height: 2.45rem; }
  .bk-cal { padding: .7rem; }
}
@media (max-width: 440px) {
  .bf-ticket { flex-direction: column; }
  .bf-ticket-amt { grid-auto-flow: column; align-items: baseline; justify-content: start; gap: .4rem; border-inline-end: 0; border-bottom: 2px dashed #1b120866; }
  .bf-ticket-amt::before, .bf-ticket-amt::after { content: none; }
}
@media print { .bf { display: none; } }
@media (prefers-reduced-motion: reduce) { .bf.is-grabbed .bf-ticket { animation: none; } }

/* ---------- Short request forms (/contact/visit/, /contact/sourcing/) */
#request-form { scroll-margin-top: 84px; }
.qf-form, .inner-content .qf-form { display: grid; gap: 0; min-width: 0; margin: 0; padding: clamp(1.2rem, 3vw, 2rem); border: 0; border-radius: calc(var(--r-card) + 4px); background: #fff; box-shadow: 0 0 0 1px #1c211f14, var(--shadow); }
.qf-form .bk-chips:first-of-type { margin-top: 1.2rem; }
.qf-radio span::before { content: ""; width: .7rem; height: .7rem; border: 1.5px solid var(--muted); border-radius: 50%; }
.qf-radio input:checked + span::before { content: ""; border-color: var(--rust); background: var(--rust); box-shadow: inset 0 0 0 2px #fff7f2; }
.qf-text { display: grid; gap: .35rem; margin-top: 1.2rem; }
.qf-text textarea { width: 100%; padding: .75rem .85rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }
.qf-text textarea:focus { border-color: var(--rust); outline: none; box-shadow: 0 0 0 3px #9b360a22; }
.qf-actions { margin-top: 1.4rem; }
.qf-form .form-message { margin: 0 0 1rem; }
.qf-hero .inner-hero-grid { padding-block: clamp(2rem, 4.5vw, 3.6rem); }
.qf-hero .i3-hero-art { width: clamp(150px, 17vw, 220px); }
@media (max-width: 900px) {
  /* on a phone the form comes first; the notes beside it follow */
  .qf-layout { display: flex; flex-direction: column; gap: 1rem; }
  .qf-layout > div:first-child { display: contents; }
  .qf-layout .i3-form-art { display: none; }
  .qf-layout > div:first-child > :not(h2):not(p:first-of-type) { order: 2; }
  .qf-layout > div:first-child > h2 { order: 0; font-size: 1.6rem; margin: 0; }
  .qf-layout > div:first-child > p:first-of-type { order: 0; margin: 0; }
  .qf-layout > form { order: 1; }
  .qf-hero .inner-hero-grid { padding-block: 1.6rem 1.8rem; }
  .qf-hero h1 { font-size: clamp(2rem, 8.5vw, 2.6rem); }
  .qf-hero .hero-copy { margin-bottom: 1rem; }
}

/* ---------- About (/about/) and Warranty and terms (/warranty/) */
.ab-facts { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; border-top: 1px solid var(--line); }
.ab-facts > div { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: .3rem 1.6rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.ab-facts dt { color: var(--rust); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding-top: .15rem; }
.ab-facts dd { margin: 0; color: #333b36; line-height: 1.55; }
.ab-list { list-style: none; display: grid; gap: .7rem; margin: 1rem 0 0; padding: 0; }
.ab-list li { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.55; }
.ab-list li > svg { flex: none; width: 20px; height: 20px; margin-top: .2rem; color: var(--rust); }
.ab-list-out li { padding: .8rem 1rem; border-radius: 12px; background: var(--paper); }
.ab-steps { display: grid; gap: .6rem; margin: .8rem 0 0; padding-inline-start: 1.3rem; line-height: 1.55; }
.ab-steps li::marker { color: var(--rust); font-weight: 800; }
.prose-section h3 { margin: 1.6rem 0 .2rem; font-size: 1.2rem; letter-spacing: -.02em; }
.ab-more { margin-top: 1.5rem; }
.seo-updated { margin: 2rem 0 0; color: var(--muted); font-size: .88rem; }
@media (max-width: 640px) {
  .ab-facts > div { grid-template-columns: 1fr; }
}

/* ---------- Language switcher (header) */
.lang-switch { position: relative; flex: none; }
.lang-switch summary { list-style: none; display: inline-flex; align-items: center; gap: .35rem; height: 2.35rem; padding: 0 .8rem; border: 1px solid #ffffff3d; border-radius: 999px; color: #f4f2e9; font-size: .8rem; font-weight: 800; letter-spacing: .06em; cursor: pointer; user-select: none; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::marker { content: ""; }
.lang-switch summary:hover, .lang-switch[open] summary { border-color: #ffffff8c; }
.lang-switch summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.lang-switch summary svg { width: 18px; height: 18px; }
.lang-menu { position: absolute; top: calc(100% + .55rem); inset-inline-end: 0; z-index: 90; min-width: 180px; margin: 0; padding: .4rem; list-style: none; border-radius: 14px; background: #fff; box-shadow: 0 24px 60px -24px #000a, 0 0 0 1px #1c211f14; }
.lang-menu a { display: block; padding: .55rem .85rem; border-radius: 9px; color: var(--ink); font-size: .95rem; font-weight: 650; text-decoration: none; }
.lang-menu a:hover { background: var(--paper); }
.lang-menu a[aria-current] { background: #fff7f2; color: var(--rust); }
/* Header on mid-size screens. Translated labels are longer, so the row is tightened below 1320px and each
   language switches to the menu button at the width where its labels stop fitting (measured, with a margin):
   Arabic and Hebrew 920px (the default), English 1040px, French 1100px, Spanish, Portuguese and Russian 1150px. */
@media (min-width: 921px) and (max-width: 1320px) {
  .header-inner.wrap { width: min(1200px, 100% - 48px); }
  .header-inner { gap: .9rem; }
  .header-inner > nav { gap: 1rem; }
  .header-inner > nav a { font-size: .88rem; }
  .header-contact { padding-inline: .85rem; font-size: .88rem; }
  .lang-switch summary { padding: 0 .6rem; }
}
@media (max-width: 1040px) {
  :is(html[lang="en"], html[lang="fr"], html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .header-inner { flex-wrap: wrap; min-height: 65px; padding-block: .7rem; }
  :is(html[lang="en"], html[lang="fr"], html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .header-contact { display: none; }
  :is(html[lang="en"], html[lang="fr"], html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .menu-toggle { display: block; padding: .5rem .75rem; color: white; background: transparent; border: 1px solid #a0a8ac; border-radius: 4px; }
  :is(html[lang="en"], html[lang="fr"], html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .homepage .menu-toggle { color: #f5f3eb; border-color: #8d978a; }
  :is(html[lang="en"], html[lang="fr"], html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) #navigation { display: none; width: 100%; flex-wrap: wrap; padding-bottom: .5rem; }
  :is(html[lang="en"], html[lang="fr"], html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) #navigation.open { display: flex; }
  :is(html[lang="en"], html[lang="fr"], html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .mobile-contact { display: inline; }
}
@media (max-width: 1100px) {
  :is(html[lang="fr"], html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .header-inner { flex-wrap: wrap; min-height: 65px; padding-block: .7rem; }
  :is(html[lang="fr"], html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .header-contact { display: none; }
  :is(html[lang="fr"], html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .menu-toggle { display: block; padding: .5rem .75rem; color: white; background: transparent; border: 1px solid #a0a8ac; border-radius: 4px; }
  :is(html[lang="fr"], html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .homepage .menu-toggle { color: #f5f3eb; border-color: #8d978a; }
  :is(html[lang="fr"], html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) #navigation { display: none; width: 100%; flex-wrap: wrap; padding-bottom: .5rem; }
  :is(html[lang="fr"], html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) #navigation.open { display: flex; }
  :is(html[lang="fr"], html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .mobile-contact { display: inline; }
}
@media (max-width: 1150px) {
  :is(html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .header-inner { flex-wrap: wrap; min-height: 65px; padding-block: .7rem; }
  :is(html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .header-contact { display: none; }
  :is(html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .menu-toggle { display: block; padding: .5rem .75rem; color: white; background: transparent; border: 1px solid #a0a8ac; border-radius: 4px; }
  :is(html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .homepage .menu-toggle { color: #f5f3eb; border-color: #8d978a; }
  :is(html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) #navigation { display: none; width: 100%; flex-wrap: wrap; padding-bottom: .5rem; }
  :is(html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) #navigation.open { display: flex; }
  :is(html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .mobile-contact { display: inline; }
}
/* Burger order: brand, language, menu button, then the opened nav on its own row. */
@media (max-width: 920px) {
   .header-inner .brand { order: 0; }
   .header-inner .lang-switch { order: 1; margin-inline-start: auto; }
   .header-inner .menu-toggle { order: 2; }
   .header-inner > nav { order: 3; }
}
@media (max-width: 1020px) {
  .homepage .header-inner .brand { order: 0; }
  .homepage .header-inner .lang-switch { order: 1; margin-inline-start: auto; }
  .homepage .header-inner .menu-toggle { order: 2; }
  .homepage .header-inner > nav { order: 3; }
}
@media (max-width: 1040px) {
  :is(html[lang="en"], html[lang="fr"], html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .header-inner .brand { order: 0; }
  :is(html[lang="en"], html[lang="fr"], html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .header-inner .lang-switch { order: 1; margin-inline-start: auto; }
  :is(html[lang="en"], html[lang="fr"], html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .header-inner .menu-toggle { order: 2; }
  :is(html[lang="en"], html[lang="fr"], html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .header-inner > nav { order: 3; }
}
@media (max-width: 1100px) {
  :is(html[lang="fr"], html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .header-inner .brand { order: 0; }
  :is(html[lang="fr"], html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .header-inner .lang-switch { order: 1; margin-inline-start: auto; }
  :is(html[lang="fr"], html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .header-inner .menu-toggle { order: 2; }
  :is(html[lang="fr"], html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .header-inner > nav { order: 3; }
}
@media (max-width: 1150px) {
  :is(html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .header-inner .brand { order: 0; }
  :is(html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .header-inner .lang-switch { order: 1; margin-inline-start: auto; }
  :is(html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .header-inner .menu-toggle { order: 2; }
  :is(html[lang="es"], html[lang="pt"], html[lang="ru"], html[lang="ms"]) .header-inner > nav { order: 3; }
}

/* ---------- Right-to-left pages (Arabic, Hebrew) */
[dir="rtl"] .i-arrow, [dir="rtl"] .i-arrow-ne { transform: scaleX(-1); }
[dir="rtl"] .breadcrumbs li + li::before { content: "‹"; }
/* joined scripts break apart with letter-spacing; Hebrew reads better without it too */
:lang(ar), :lang(ar) *, :lang(he), :lang(he) * { letter-spacing: 0 !important; }
:lang(ar) body, :lang(he) body { line-height: 1.6; }
[dir="rtl"] .bk-cal-head button, [dir="rtl"] .fd-lb-prev, [dir="rtl"] .fd-lb-next { transform: scaleX(-1); }

/* ---------- East Asian languages (added 2026-11-28): system CJK fonts after Inter (Latin and digits stay in Inter),
   no tight tracking (it is tuned for Latin headlines), and native line breaking. */
html[lang="ja"] body { font-family: Inter, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
html[lang="ko"] body { font-family: Inter, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
html[lang="zh-hans"] body { font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
html[lang="zh-hant"] body { font-family: Inter, "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
html:is([lang="ja"], [lang="ko"], [lang="zh-hans"], [lang="zh-hant"]) :is(h1, h2, h3, h4, h5, p, li, a, span, strong, em, summary, button, label, figcaption, dt, dd) { letter-spacing: normal !important; }
html:is([lang="ja"], [lang="zh-hans"], [lang="zh-hant"]) body { line-break: strict; overflow-wrap: anywhere; }
html[lang="ko"] body { word-break: keep-all; overflow-wrap: anywhere; }
html:is([lang="ja"], [lang="ko"], [lang="zh-hans"], [lang="zh-hant"]) :is(h1, h2, h3) { line-height: 1.25; }

/* Language menu items carry their own lang: give each its own script's fonts, so Русский is not drawn
   with Hiragino's wide Cyrillic on a Japanese page, and 简体中文 is not drawn with Japanese glyph forms */
body :is([lang="en"], [lang="fr"], [lang="es"], [lang="pt"], [lang="ru"], [lang="ar"], [lang="he"], [lang="ms"]) {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; letter-spacing: normal;
}
body [lang="ja"] { font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif; }
body [lang="ko"] { font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
body [lang="zh-hans"] { font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
body [lang="zh-hant"] { font-family: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif; }
