/* i-Essence | indoor lighting trade catalogue */
:root {
  color-scheme: light;
  --ink: #19252c;
  --text: #354249;
  --muted: #526168;
  --paper: #fafbfa;
  --white: #ffffff;
  --wash: #e6eff2;
  --mist: #f0f4f4;
  --rule: #c6d0d3;
  --accent: #174e68;
  --deep: #10394c;
  --display: "Spectral", Georgia, "Times New Roman", serif;
  --body: "Work Sans", "Segoe UI", Arial, sans-serif;
  --measure: 1380px;
  --margin: clamp(18px, 4.2vw, 72px);
  --chapter: clamp(32px, 4.2vw, 66px);
  --corner: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--text); background: var(--paper); font: 400 17px/1.62 var(--body); overflow-wrap: anywhere; }
main, section, article, div, figure, li, form, nav { min-width: 0; }
.frame { max-width: var(--measure); margin-inline: auto; padding-inline: var(--margin); }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.45rem, 4.35vw, 4.25rem); }
h2 { font-size: clamp(1.8rem, 3.1vw, 3.15rem); }
h3, h4 { color: var(--ink); font-weight: 620; line-height: 1.28; letter-spacing: -.027em; }
h3 { font-size: clamp(1.22rem, 1.65vw, 1.55rem); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
button, input, textarea, select { font: inherit; color: inherit; border-radius: var(--corner); }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
.skip { position: absolute; top: 6px; left: 8px; z-index: 4; background: var(--white); padding: 7px 13px; transform: translateY(-160%); }
.skip:focus { transform: none; }
.mast { background: var(--paper); border-bottom: 1px solid var(--rule); position: relative; z-index: 2; }
.mast-inner, .menu { display: flex; align-items: center; }
.mast-inner { min-height: 74px; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; position: relative; gap: 11px; color: var(--ink); text-decoration: none;
  font: 600 1.76rem/1 var(--body); letter-spacing: -.07em; white-space: nowrap; }
.brand::before { content: ""; width: 26px; height: 14px; margin-bottom: 9px; background: var(--accent); border-radius: 18px 18px 0 0; }
.brand::after { content: ""; position: absolute; left: 11px; top: calc(50% + 4px); width: 4px; height: 7px; background: var(--accent); }
.menu, .product-list, .footer ul, .crumbs ol, .entries { padding: 0; list-style: none; }
.menu { gap: clamp(10px, 1.75vw, 30px); font-size: .93rem; font-weight: 550; }
.menu > li > a, .product-menu > summary { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); }
.menu a:hover, .menu a[aria-current], .menu summary:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.menu > .contact-link > a { min-height: 40px; border: 1px solid var(--accent); padding: 6px 17px; color: var(--accent); }
.product-menu { position: relative; }
.product-menu summary, .questions summary { list-style: none; }
.product-menu summary::-webkit-details-marker, .questions summary::-webkit-details-marker { display: none; }
.product-menu summary::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg); margin: -3px 0 0 8px; }
.product-list { position: absolute; top: 100%; left: -16px; width: 426px; max-width: 88vw; display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2px 12px; padding: 14px; background: var(--white); border: 1px solid var(--rule); }
.product-list a, .langswitch__menu a { display: block; padding: 9px 6px; line-height: 1.35; text-decoration: none; color: var(--ink); }
.product-list a:hover, .langswitch__menu a:hover { background: var(--mist); }
.lang { color: var(--muted); padding-left: 14px; border-left: 1px solid var(--rule); font-size: .83rem; }
.langswitch { position: relative; }
.langswitch__btn, .menu-button { background: transparent; border: 0; color: var(--ink); min-height: 44px; }
.langswitch__menu { display: none; position: absolute; top: 100%; right: 0; width: max-content; background: var(--white);
  list-style: none; border: 1px solid var(--rule); padding: 6px; }
.langswitch:hover .langswitch__menu, .langswitch:focus-within .langswitch__menu { display: block; }
.menu-button { display: none; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 10px; padding-top: 18px; color: var(--muted); font-size: .83rem; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--muted); }
.crumbs a { color: inherit; }
.crumbs li:has(h1) { flex-basis: 100%; margin-top: 16px; }
.crumbs li:has(h1)::before { display: none; }

.hero { padding-block: clamp(30px, 4.4vw, 72px); }
.hero-copy { max-width: 58rem; }
.hero.pictured { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .93fr); align-items: center; gap: clamp(26px, 6vw, 88px); }
.lead { max-width: 62ch; margin-top: 19px; font-size: clamp(1.04rem, 1.25vw, 1.18rem); line-height: 1.55; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 46px; max-width: 100%;
  padding: 12px 19px; border: 1px solid var(--accent); background: var(--accent); color: var(--white);
  font: 600 .96rem/1.35 var(--body); text-decoration: none; text-align: left; }
.button::after { content: ""; flex: none; width: 15px; height: 10px; background: currentColor;
  clip-path: polygon(0 42%,77% 42%,54% 8%,62% 0,100% 50%,62% 100%,54% 92%,77% 58%,0 58%); }
.button:hover, .button:focus-visible { background: var(--deep); border-color: var(--deep); color: var(--white); }
.button:active { background: var(--ink); }
.hero-action { margin-top: 23px; }
.photo img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--mist); }
.photo figcaption { margin-top: 8px; font-size: .86rem; line-height: 1.45; color: var(--muted); }
.page-home .hero.pictured { grid-template-columns: repeat(12,minmax(0,1fr)); align-items: end; gap: 0; padding-block: 22px 0; }
.page-home .hero > .photo { grid-column: 5 / -1; grid-row: 1; align-self: start; margin-bottom: 28px; }
.page-home .hero > .photo img { aspect-ratio: 1.7; object-position: 55% 53%; }
.page-home .hero-copy { grid-column: 1 / 7; grid-row: 1; z-index: 1; background: var(--wash);
  border-top: 3px solid var(--accent); padding: clamp(24px, 3vw, 46px); margin-top: 30px; }
.page-home h1 { font-size: clamp(2.45rem, 3.65vw, 3.65rem); }
.page-home .lead { font-size: 1.05rem; }
.page-category .hero.pictured { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
.page-category .hero > .photo img { aspect-ratio: 1.35; }
.page-blog .hero { border-bottom: 1px solid var(--rule); }
.page-blog .hero > .photo img { aspect-ratio: 1.4; }
.page-guides .hero { max-width: 58rem; }
.page-structure .hero > .photo img { aspect-ratio: 1.55; }
.page-contact .hero, .page-thanks .hero, .page-missing .hero { max-width: 860px; }
.page-missing .recovery { padding-block: var(--chapter); }

.chapters { padding-bottom: clamp(24px, 4vw, 60px); }
.chapter { padding-block: var(--chapter); border-top: 1px solid var(--rule); }
.chapter h2 { max-width: 33ch; margin-bottom: clamp(17px, 2.2vw, 30px); }
.chapter-body .block + .block { margin-top: 19px; }
.copy p, .copy ul:not(.entries), .copy ol, blockquote { max-width: 72ch; }
.copy ul:not(.entries), .copy ol { padding-left: 1.25em; }
.copy li + li { margin-top: .38em; }
.copy li::marker { color: var(--accent); }
.copy blockquote { padding-left: 18px; border-left: 3px solid var(--accent); }
.illustrated:not(.wide) .chapter-body { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr);
  gap: clamp(24px, 5vw, 70px); align-items: start; }
.chapter.wide .gallery { margin-top: 28px; max-width: 900px; }
.chapter.wide .gallery:has(> :only-child) { max-width: 540px; }
.chapter.wide .gallery:has(> :only-child) img { aspect-ratio: 1.4; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(220px,100%),1fr)); gap: clamp(12px, 2vw, 28px); }
.gallery img { aspect-ratio: 1.18; }
.chapters > .gallery { margin-block: 24px; }
.application-scenes img { aspect-ratio: 1; }
.page-home .chapter.catalog { border-top: none; padding-top: clamp(34px, 5vw, 74px); }
.entries { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px clamp(18px, 2.5vw, 40px); }
.copy .entries > li { margin: 0; }
.entry { position: relative; border-bottom: 1px solid var(--rule); padding-bottom: 17px; }
.entry-copy { padding-block: 13px 0; }
.entry-copy p { margin-top: 7px; font-size: .95rem; line-height: 1.5; color: var(--muted); }
.entry a { color: var(--ink); text-decoration: none; }
.entry a:hover, .entry:focus-within h3 a { color: var(--accent); text-decoration: underline; }
.entry h3 a::after { content: ""; position: absolute; inset: 0; }
.entry p a, .entry .specs a { position: relative; z-index: 1; text-decoration: underline; color: var(--accent); }
.entry .photo img { aspect-ratio: 1.65; }
.page-home .catalog-grid .entry:has(figure) { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1fr); gap: 18px; align-items: center; }
.page-home .entry-copy { padding: 0; }
.page-home .entry .photo img { aspect-ratio: 1.05; }
.page-home .catalog-grid > .entry:nth-child(-n+2):has(figure) { display: block; }
.page-home .catalog-grid > .entry:nth-child(-n+2) .photo img { aspect-ratio: 1.52; }
.page-home .catalog-grid > .entry:nth-child(-n+2) .entry-copy { padding-top: 15px; }
.page-guides .card-t { font: 400 clamp(1.5rem, 2.4vw, 2.3rem)/1.16 var(--display); }
.models { gap: 11px 30px; }
.models .entry { padding: 16px 0; }
.models .card-t, .specs dt, tbody th { font-variant-numeric: tabular-nums; }
.models .specs { margin-top: 13px; font-size: .92rem; }
.specs { display: grid; gap: 12px; }
.specs > div { display: grid; grid-template-columns: minmax(100px,.55fr) minmax(0,1.5fr); gap: 16px; }
.specs dt { color: var(--ink); font-weight: 650; }
.specs dd { margin: 0; }
.page-home .terms { background: var(--wash); border: 0; padding: clamp(22px, 3vw, 46px); margin-block: 8px var(--chapter); }
.terms-band, .stats, .terms .specs, .evidence { grid-template-columns: repeat(auto-fit,minmax(min(205px,100%),1fr)); gap: 24px; }
.terms-band > div, .terms .specs > div, .evidence > div { display: block; }
.copy ul.stats { display: grid; max-width: none; padding: 0; list-style: none; }
.copy .stats > li { margin: 0; }
.stats span { display: block; }
.terms-band dt, .terms .specs dt, .stats .num, .evidence dt { font-size: 1.18rem; color: var(--accent); }
.stats .num { font-weight: 650; font-variant-numeric: tabular-nums; }
.terms-band dd, .terms .specs dd, .stats .lbl, .evidence dd { margin-top: 5px; }
.evidence { padding: 20px 0; }
.table-wrap { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
table { width: 100%; min-width: 540px; border-collapse: collapse; text-align: left; font-size: .94rem; line-height: 1.45; }
caption { text-align: left; padding: 0 0 12px; color: var(--ink); font-weight: 600; }
thead { background: var(--wash); color: var(--deep); border-block: 1px solid var(--rule); }
td, th { padding: 12px 15px; vertical-align: top; }
tbody th { color: var(--ink); font-weight: 620; }
tbody tr:nth-child(even) { background: var(--mist); }
.questions { max-width: 78ch; }
.questions details { border-bottom: 1px solid var(--rule); }
.questions summary { position: relative; color: var(--ink); font-weight: 600; padding: 16px 32px 16px 0; }
.questions summary::before, .questions summary::after { content: ""; position: absolute; top: 27px; right: 5px;
  width: 12px; height: 2px; background: var(--accent); }
.questions summary::before { transform: rotate(90deg); }
.questions details[open] summary::before { display: none; }
.questions summary:hover { color: var(--accent); }
.questions details p { margin-bottom: 18px; }
.reading { display: grid; grid-template-columns: minmax(175px,.32fr) minmax(0,1fr); gap: clamp(26px, 5vw, 74px); align-items: start; }
.contents { padding-top: var(--chapter); position: sticky; top: 0; }
.contents ul, .contents ol { margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--accent); list-style: none; }
.contents a { display: inline-block; padding-block: 6px; font-size: .93rem; line-height: 1.4; }
.contents h2 { font-size: 1.6rem; margin-bottom: 13px; }
.reading .chapter:first-child { border-top: 0; }
.reading .illustrated:not(.wide) .chapter-body { display: block; }
.reading .gallery { margin-top: 22px; max-width: 560px; }
.reading .gallery img { aspect-ratio: 1.5; }
.page-structure .chapter:not(.illustrated):not(.wide), .page-contact .chapters, .page-missing .chapters,
.page-thanks .chapters { max-width: 830px; }

.inquiry { background: var(--mist); border-top: 2px solid var(--accent); padding-block: var(--chapter); }
.inquiry-inner { display: grid; grid-template-columns: minmax(0,.68fr) minmax(0,1.3fr); align-items: start; gap: clamp(26px,6vw,84px); }
.email { display: block; margin-top: 11px; width: fit-content; }
form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 22px; }
form label { display: grid; gap: 6px; align-content: start; font-size: .94rem; font-weight: 600; line-height: 1.45; color: var(--ink); }
form label:has(textarea), form button { grid-column: 1 / -1; }
form input:not([type="hidden"],[type="checkbox"]), form textarea, form select { width: 100%; min-width: 0; min-height: 46px;
  background: var(--white); border: 1px solid #788991; padding: 9px 12px; font-size: 1rem; font-weight: 400; }
form textarea { resize: vertical; }
form button { justify-self: start; }
.required { color: var(--accent); }
.page-contact main { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(24px,5vw,76px); padding-block: var(--chapter); }
.page-contact .hero { padding: 0; }
.page-contact .chapters { padding: 0; }
.page-contact .chapter { padding-block: 22px; }
.page-contact .chapter:first-child { border-top: 0; padding-top: 0; }
.page-contact .chapter h2 { font-size: 1.8rem; }
.footer { display: flex; justify-content: space-between; align-items: start; gap: 28px; padding-block: clamp(30px,4vw,64px); }
.footer nav ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px 32px; }
.footer nav a, .footer .email { font-size: .93rem; }
@media (prefers-reduced-motion: no-preference) {
  .button, nav a, .entry h3 a { transition: background-color .15s ease, color .15s ease; }
}
@media (max-width: 1000px) {
  .menu { gap: 13px; }
  .mast-inner { gap: 14px; }
  .page-home .hero-copy { grid-column-end: 8; }
  .page-home .hero > .photo img { aspect-ratio: 1.25; }
  .page-home .catalog-grid .entry:has(figure) { display: block; }
  .page-home .catalog-grid .entry-copy { padding-top: 13px; }
  .page-home .catalog-grid .entry .photo img { aspect-ratio: 1.45; }
}
@media (max-width: 850px) {
  .mast-inner { min-height: 62px; flex-wrap: wrap; }
  .mast nav:not(.ready) { width: 100%; }
  .mast nav:not(.ready) .menu { flex-wrap: wrap; padding-bottom: 8px; }
  .ready .menu-button { display: inline-block; padding: 6px 12px; border: 1px solid var(--rule); }
  .ready .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 8px var(--margin) 16px;
    max-height: 78vh; overflow-y: auto; background: var(--white); border-block: 1px solid var(--rule); }
  .ready .menu-button[aria-expanded="true"] + .menu { display: grid; gap: 2px; }
  .product-list { position: static; width: 100%; max-width: none; }
  .menu > li > a, .product-menu > summary { width: 100%; }
  .menu > .contact-link > a { width: fit-content; margin-block: 5px; }
  .lang { padding: 6px 0; border: 0; }
  .langswitch__menu { position: static; }
}
@media (max-width: 767px) {
  .hero.pictured, .page-category .hero.pictured, .page-home .hero.pictured, .entries, .reading,
  .illustrated:not(.wide) .chapter-body, .inquiry-inner, .page-contact main { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .page-home .hero.pictured { padding-top: 14px; gap: 0; }
  .page-home .hero-copy, .page-home .hero > .photo { grid-column: auto; grid-row: auto; margin: 0; }
  .page-home .hero-copy { padding: 21px 19px 24px; }
  .hero-copy .lead { font-size: 1.02rem; margin-top: 13px; }
  .hero-action { margin-top: 17px; }
  .page-home .hero > .photo img { aspect-ratio: 1.55; }
  .page-home .catalog-grid .entry .photo img, .entry .photo img { aspect-ratio: 1.4; }
  .gallery, .terms-band, .stats, .terms .specs, .evidence { grid-template-columns: minmax(0,1fr); }
  .contents { position: static; }
  .reading { gap: 0; }
  .hero.pictured > .photo { max-width: 600px; }
  .page-home .hero.pictured > .photo { max-width: none; }
  .chapter.wide .gallery { margin-top: 20px; }
  .page-contact .chapter:first-child { padding-top: 18px; border-top: 1px solid var(--rule); }
  .footer { flex-direction: column; }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  form, .specs > div, .product-list { grid-template-columns: minmax(0,1fr); }
  .specs > div { gap: 3px; }
  .footer nav ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .brand { font-size: 1.55rem; }
  td, th { padding: 10px 12px; }
}
