.design-bar { background: var(--canvas); color: var(--muted); border-block-end: 1px solid var(--line); font-size: .82rem; }
.design-bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 7px; }
.design-bar a { color: var(--rust); text-decoration: underline; text-underline-offset: 4px; }

.theme-toggle {
  display: grid; place-items: center; flex-shrink: 0;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 9px;
  color: var(--ink); background: var(--paper);
}
html[data-design="flat"] .theme-toggle { border-radius: 0; }
.theme-toggle span { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 5px -4px currentColor; transform: rotate(-17deg); }
[data-theme="dark"] .theme-toggle span {
  width: 10px; height: 10px; background: currentColor; transform: none;
  box-shadow: 0 -8px 0 -3px, 0 8px 0 -3px, 8px 0 0 -3px, -8px 0 0 -3px,
    6px 6px 0 -3px, 6px -6px 0 -3px, -6px 6px 0 -3px, -6px -6px 0 -3px;
}
@media (max-width: 720px) {
  .header-cta { display: none; }
  .search-tools { position: static; }
  .search-tools .search-form { inset-inline: 0; top: calc(100% + 6px); width: 100%; }
}
@media (max-width: 380px) {
  .brand { gap: 7px; font-size: .86rem; }
  .brand img { width: 35px; height: 35px; }
  .nav-row, .header-actions { gap: 6px; }
}

:root:where(:not([data-design="flat"], [data-design="neumorphism"], [data-design="interactive"])) {
  color-scheme: light;
  --wash: #ebebe6;
  --block-ink: #fffdf9;
  --hero-accent: var(--rust);
  --accent-fill: #e4a886;
}
:root:where([data-theme="dark"]):where(:not([data-design="flat"], [data-design="neumorphism"], [data-design="interactive"])) {
  color-scheme: dark;
  --canvas: #191b1e; --paper: #23262a; --ink: #f5f4ed; --muted: #c5c8cc; --line: #494e54;
  --wash: #212428; --rust: #ffd5ba; --night: #252b32;
}
:where([data-design="minimal"],[data-design="glass"],[data-design="editorial"],[data-design="bento"],[data-design="brutalist"],[data-design="typography"],[data-design="motion"]) .hero-copy p { color: var(--muted); }
:where([data-design="minimal"],[data-design="glass"],[data-design="editorial"],[data-design="bento"],[data-design="brutalist"],[data-design="typography"],[data-design="motion"]) .hero-copy em { color: var(--hero-accent); }
:where([data-design="minimal"],[data-design="glass"],[data-design="editorial"],[data-design="bento"],[data-design="brutalist"],[data-design="typography"],[data-design="motion"]) .button-outline {
  color: var(--ink); border-color: var(--line); background: var(--paper);
}
:where([data-design="minimal"],[data-design="glass"],[data-design="editorial"],[data-design="bento"],[data-design="brutalist"],[data-design="typography"],[data-design="motion"]) .company { background: var(--wash); }
:where([data-design="minimal"],[data-design="glass"],[data-design="editorial"],[data-design="bento"],[data-design="brutalist"],[data-design="typography"],[data-design="motion"]) .interior-title {
  color: var(--ink); background: var(--wash); border-block-end: 1px solid var(--line);
}
:where([data-design="minimal"],[data-design="glass"],[data-design="editorial"],[data-design="bento"],[data-design="brutalist"],[data-design="typography"],[data-design="motion"]) .interior-title p { color: var(--muted); }
:where([data-design="minimal"],[data-design="glass"],[data-design="editorial"],[data-design="bento"],[data-design="brutalist"],[data-design="typography"],[data-design="motion"]) .button:not(.button-dark,.button-outline,.button-light) {
  background: var(--accent-fill); color: #201714;
}
.concept-photo { position: relative; margin: 0; overflow: hidden; min-width: 0; }
.concept-photo img { width: 100%; height: 100%; object-fit: cover; }
.concept-photo figcaption {
  position: absolute; inset-inline-start: 0; bottom: 0;
  padding: 5px 11px; color: #fff; background: #17181be8; font-size: .8rem;
}

/* Minimalism */
[data-design="minimal"] { --radius: 4px; --accent-fill: #e7b398; }
.concept-minimal { padding-block-start: clamp(35px, 6vw, 76px); }
.concept-minimal .hero-copy { text-align: center; }
.concept-minimal .hero-actions { justify-content: center; }
.concept-minimal .concept-photo { height: clamp(190px, 29vw, 390px); margin-block-start: clamp(24px, 4vw, 48px); }
.concept-minimal img { object-position: center 49%; }
[data-design="minimal"] .product-card { box-shadow: none; transition: border-color .2s; }

/* Neumorphism */
[data-design="neumorphism"][data-theme="dark"] {
  color-scheme: dark;
  --canvas: #242a34; --surface: #282f39; --paper: #313946; --ink: #f4f5f6; --muted: #c4ced7;
  --line: #566575; --rust: #ffc29f; --night: #191f26;
  --raised: 7px 7px 16px #151b24, -6px -6px 14px #35404d;
  --raised-small: 4px 4px 8px #171c25, -4px -4px 9px #343e4b;
  --inset: inset 4px 4px 9px #1a2029, inset -4px -4px 9px #364150;
  --edge: 1px solid #3b4858;
}
[data-design="neumorphism"][data-theme="dark"] :is(.hero-inner,.hero-photo,.interior-title .wrap,.site-footer) { background: var(--surface); }
[data-design="neumorphism"] .theme-toggle { box-shadow: var(--raised-small); }

/* Glassmorphism */
[data-design="glass"] { --radius: 22px; --accent-fill: #f4d69a; --wash: #e8efeb; --rust: #14584f; }
[data-design="glass"][data-theme="dark"] { --canvas: #102322; --paper: #1b3330; --wash: #18302f; --rust: #b7ebd8; }
.concept-glass {
  position: relative; isolation: isolate; overflow: hidden; min-height: clamp(420px, 42vw, 560px);
  display: grid; align-items: center; margin-block-start: 24px; padding: clamp(18px, 5vw, 60px);
  border-radius: 27px; background: #173c38;
}
.concept-glass .concept-photo { position: absolute; inset: 0; z-index: -2; }
.concept-glass .concept-photo img { object-position: 48% 56%; }
.concept-glass .concept-photo figcaption { inset-inline-start: auto; inset-inline-end: 0; }
.concept-glass::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#133b3633,#133b36d9); z-index: -1; }
.concept-glass .hero-copy {
  width: min(100%, 535px); padding: clamp(20px, 4vw, 43px); color: white; border-radius: 22px;
  border: 1px solid #d5f8ea85; background: #103f3ad9; box-shadow: 0 15px 40px #061e1e66;
}
@supports (backdrop-filter: blur(12px)) {
  .concept-glass .hero-copy { backdrop-filter: blur(14px); background: #113c36b8; }
}
.concept-glass .hero-copy h1 { font-size: clamp(2.25rem, 5.2vw, 4.1rem); }
.concept-glass .hero-copy :is(p,em) { color: #e4f3e8; }
.concept-glass .button-outline { background: #17403b99; color: #fff; border-color: #b9d7cf; }

/* Editorial */
[data-design="editorial"] { --canvas: #f3efe5; --paper: #fcf8ef; --wash: #e9e1d1; --line: #bfb5a6; --rust: #803c47; --accent-fill: #e9bbc1; --radius: 0; }
[data-design="editorial"][data-theme="dark"] { --canvas: #241d20; --paper: #302528; --wash: #2b2226; --rust: #f5b9c2; }
.concept-editorial {
  display: grid; grid-template-columns: .27fr 1fr .77fr; align-items: stretch; gap: 26px;
  padding-block-start: clamp(24px, 5vw, 58px);
}
.editorial-rail { display: grid; align-content: start; gap: 12px; padding-block: 16px; border-block: 2px solid var(--ink); font-size: .87rem; }
.editorial-rail a { text-decoration: underline; text-underline-offset: 4px; }
.concept-editorial .hero-copy { align-self: center; padding-block: 24px; }
.concept-editorial .hero-copy h1 { line-height: 1.1; }
.concept-editorial .concept-photo { min-height: 380px; border: 1px solid var(--line); }
.concept-editorial .concept-photo img { position: absolute; inset: 0; object-position: 64% center; }
[data-design="editorial"] .section-heading { border-block: 2px solid var(--ink); padding-block: 13px; }

/* Bento */
[data-design="bento"] { --canvas: #f2f4f1; --paper: #fff; --wash: #e3eae5; --radius: 20px; --rust: #315c4f; --accent-fill: #f3bc9a; }
[data-design="bento"][data-theme="dark"] { --canvas: #141e23; --paper: #1c2a30; --wash: #25373b; --rust: #a9dfc5; }
.concept-bento {
  display: grid; grid-template-columns: 1.5fr repeat(2,minmax(0,.85fr)); grid-template-rows: minmax(270px,auto) auto;
  grid-template-areas: "copy copy product" "silver inquiry about";
  gap: 13px; padding-block-start: 26px;
}
.concept-bento > * { border-radius: 22px; overflow: hidden; }
.concept-bento .hero-copy { grid-area: copy; padding: clamp(20px, 4vw, 44px); align-content: center; display: grid; color: white; background: #202f43; }
.concept-bento .hero-copy p { color: #e3ebef; }
.concept-bento .hero-copy em { color: #f3bc9a; }
.concept-bento a { display: grid; }
.concept-bento .bento-product { grid-area: product; }
.concept-bento .concept-photo img { position: absolute; inset: 0; }
.concept-bento .bento-silver { grid-area: silver; background: #d4ebdf; color: #183d33; }
.concept-bento .bento-inquiry { grid-area: inquiry; background: #efb894; color: #412719; }
.concept-bento .bento-about { grid-area: about; background: #dee6f2; color: #203b55; }
.concept-bento > a:not(.bento-product) { align-content: center; min-height: 120px; padding: 18px 20px; }
.concept-bento a strong { font-size: clamp(1.15rem, 2.4vw, 1.8rem); }
.concept-bento a > span { font-size: .9rem; }
.concept-bento > a:hover { outline: 2px solid var(--ink); outline-offset: -3px; }

/* Neobrutalism */
[data-design="brutalist"] { --canvas: #f7f3e7; --paper: #fffdf4; --ink: #161221; --line: #211a2b; --rust: #452496; --accent-fill: #d9c7ff; --radius: 0; --wash: #ebe0ff; }
[data-design="brutalist"][data-theme="dark"] { --canvas: #201b2c; --paper: #2b2339; --line: #b7a6d0; --wash: #302840; --rust: #e2ceff; }
.concept-brutalist { display: grid; grid-template-columns: 1fr .88fr; gap: 15px; padding-block-start: 30px; }
.concept-brutalist .hero-copy, .concept-brutalist .concept-photo { border: 3px solid #18151f; box-shadow: 7px 7px #18151f; }
.concept-brutalist .hero-copy { padding: clamp(20px,5vw,58px); background: #ffdb57; color: #191322; }
.concept-brutalist .hero-copy p { color: #242030; }
.concept-brutalist .hero-copy em { color: #40248b; }
.concept-brutalist .hero-copy h1 { font-size: clamp(3rem, 6vw, 5.7rem); line-height: 1.12; }
.concept-brutalist .concept-photo { background: #2c2628; }
.concept-brutalist .concept-photo img { position: absolute; inset: 0; }
.concept-brutalist .concept-photo figcaption { color: #1a1230; background: #d9c7ff; border: 2px solid #18151f; }
[data-design="brutalist"] .button { border: 2px solid #18151f; border-radius: 0; box-shadow: 3px 3px #18151f; }
[data-design="brutalist"] .hero-copy .button-outline { color: #18151f; background: #fff9e7; }
[data-design="brutalist"] .product-card { border: 2px solid var(--line); }

/* Typography-first */
[data-design="typography"] { --accent-fill: #e8d8bf; --radius: 0; --rust: #695843; }
[data-design="typography"][data-theme="dark"] { --rust: #e8d8bf; }
.concept-type { padding-block-start: 22px; }
.concept-type .hero-copy { background: #242528; color: #fffaf0; text-align: center; padding: clamp(22px,5vw,58px) 12px; }
.concept-type .hero-copy h1 { font-size: clamp(2.7rem, 10vw, 9rem); line-height: 1.1; }
.concept-type .hero-copy em { color: #ded2c2; }
.concept-type .hero-copy p { color: #ede5da; margin-block: 13px 19px; }
.concept-type .hero-actions { justify-content: center; }
.concept-type .hero-copy .button-outline { background: transparent; color: white; border-color: #c9c0b4; }
.type-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 3px; margin-top: 3px; }
.type-strip .concept-photo { aspect-ratio: 1.8; }
.type-strip a:hover img { filter: brightness(1.12); }
[data-design="typography"] .section-heading { align-items: start; border-block-end: 1px solid var(--ink); padding-bottom: 14px; }

/* Motion-led */
[data-design="motion"] { --accent-fill: #e8ae87; --radius: 14px; }
.concept-motion { color: #fff; background: #182334; }
.motion-layout { display: grid; align-items: center; grid-template-columns: .85fr 1.15fr; gap: clamp(18px,4vw,55px); padding-block: clamp(23px,5vw,62px); }
.concept-motion .hero-copy p { color: #e2ebf2; }
.concept-motion .hero-copy em { color: #efb794; }
.concept-motion .hero-copy .button-outline { color: white; background: transparent; border-color: #74849a; }
.motion-stage { display: grid; overflow: hidden; border: 1px solid #8594a76b; border-radius: 17px; aspect-ratio: 1.7; background: #29272b; }
.motion-slide, .motion-slide .concept-photo { min-height: 0; height: 100%; }
.motion-slide img { object-position: center 49%; }
.motion-selectors { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; margin-top: 10px; }
.motion-selectors button {
  text-align: start; color: white; background: #24334a; border: 1px solid #5d708a;
  border-radius: 7px; padding: 6px 9px; min-height: 41px; font-size: .8rem;
}
.motion-selectors [aria-pressed="true"] { color: #241b14; background: #e8ae87; border-color: #e8ae87; }
.reading-progress { height: 4px; position: fixed; inset: 0 0 auto 0; z-index: 5; background: #e8ae87; transform: scaleX(0); transform-origin: right; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .motion-slide:not([hidden]) img { animation: motion-panel .48s cubic-bezier(.25,.65,.2,1) both; }
  @keyframes motion-panel { from { opacity: .46; translate: 13px 0; } }
}

@media (max-width: 850px) {
  .concept-editorial { grid-template-columns: 1fr .9fr; gap: 15px; }
  .editorial-rail { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 15px; padding-block: 7px; }
}
@media (max-width: 640px) {
  .concept-editorial, .concept-brutalist, .motion-layout { grid-template-columns: minmax(0,1fr); }
  .concept-editorial .concept-photo, .concept-brutalist .concept-photo { min-height: 210px; }
  .concept-glass { min-height: 360px; }
  .concept-glass .hero-copy p, .concept-brutalist .hero-copy p { margin-block: 12px 16px; }
  .concept-bento { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto; grid-template-areas: "copy copy" "product product" "silver inquiry" "about about"; gap: 9px; }
  .concept-bento .concept-photo { height: 215px; }
  .concept-bento > a:not(.bento-product) { min-height: 91px; padding: 11px; }
  .type-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .type-strip .concept-photo figcaption { font-size: .66rem; padding-inline: 5px; }
}

[data-preview="true"] { scrollbar-width: none; }
[data-preview="true"] .design-bar { display: none; }
[data-preview="true"] *, [data-preview="true"] *::after { animation: none !important; }

.brand-wordmark img {
  width: 80px;
  height: 32px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.brand-wordmark .logo-light-ink,
[data-theme="dark"] .brand-wordmark .logo-dark-ink,
.site-footer .brand-wordmark .logo-dark-ink { display: none; }
[data-theme="dark"] .brand-wordmark .logo-light-ink,
.site-footer .brand-wordmark .logo-light-ink { display: block; }
:where([data-design="flat"], [data-design="interactive"], [data-design="neumorphism"]):not([data-theme="dark"]) .site-footer .brand-wordmark .logo-dark-ink { display: block; }
:where([data-design="flat"], [data-design="interactive"], [data-design="neumorphism"]):not([data-theme="dark"]) .site-footer .brand-wordmark .logo-light-ink { display: none; }
