/* Materiales, fotografía y tipografía de la cuarta edición. */
:root {
  --ink:#192a31;
  --muted:#4d5b5e;
  --paper:#faf9f6;
  --panel:#f1eee7;
  --navy:#142f40;
  --hairline:#d4d6cd;
  --accent-warm:#ffb06a;
}
body {background:var(--paper)}
.site-header {background:var(--paper);border-color:var(--hairline)}
.header-inner {height:68px;gap:clamp(1rem,3.2vw,3.4rem)}
.brand b {font-weight:860}
#main-nav {gap:clamp(1rem,2vw,2rem)}
#main-nav a {font-size:.84rem;color:#27383f}
.wa-header {border-radius:8px;background:var(--navy)}
.wa-header:hover {background:#204b65}

.hero {
  background:var(--navy);
  width:min(calc(100% - clamp(1.5rem,3.3vw,3.75rem)),1570px);
  margin:clamp(.65rem,1.3vw,1.35rem) auto 0;
  border-radius:clamp(14px,1.5vw,25px);
  color:#fffdf5;
}
.hero-inner {
  display:grid; grid-template-columns:minmax(0,.89fr) minmax(0,1.11fr);
  align-items:stretch; min-height:clamp(420px,33vw,535px); padding:0;
}
.hero-copy {
  display:flex; flex-direction:column; align-items:flex-start; justify-content:center;
  padding:clamp(1.9rem,4.2vw,4.8rem) clamp(1.6rem,4.5vw,5.4rem); max-width:none;
}
.hero .hero-kicker {font-size:.67rem; font-weight:670;letter-spacing:.16em;color:#e5edf0}
.hero .sample-lines {width:34px;height:2px;background:var(--accent-warm)}
.hero h1 {
  font-size:clamp(3.1rem,4.75vw,5rem); font-weight:570; line-height:1.01;
  letter-spacing:-.079em; margin:1.15rem 0 1.15rem; color:#fffbf5;
}
.hero h1 em,.intro h2 span,.library-heading h2 em {
  font-family:Georgia,'Times New Roman',serif; font-style:italic; font-weight:400; letter-spacing:-.06em;
}
.hero h1 em {color:#ffd3aa}
.hero-copy>p {color:#e4ebed; font-size:clamp(.94rem,1.04vw,1.08rem); font-weight:450; max-width:40ch; line-height:1.6}
.hero-actions {gap:.55rem 1.1rem; margin-top:1.7rem}
.hero-actions a {min-height:46px; font-size:.83rem; border-radius:7px}
.hero-actions .hero-primary {background:#ffdbb7; color:#192e39; padding:.66rem 1rem}
.hero-actions .hero-primary:hover {background:#ffe9d2}
.hero-actions .hero-secondary {
  border:0;background:transparent;backdrop-filter:none;color:#f5f7f7;
  padding:.45rem 0; text-decoration:underline; text-decoration-color:#a0b3b9;text-underline-offset:.28rem;
}
.hero-actions .hero-secondary:hover {text-decoration-color:#fff}
.hero-scene {
  position:relative; isolation:isolate; overflow:hidden; margin:0; min-width:0;
  background:#584c39;
}
.hero-scene .hero-photo {object-position:64% 57%;z-index:-2}
.hero[data-slide="1"] .hero-photo {object-position:65% 57%}
.hero[data-slide="2"] .hero-photo {object-position:67% 61%}
.hero-scene .hero-shade {
  z-index:-1;pointer-events:none;
  background:linear-gradient(0deg,rgb(11 18 20 / .72),rgb(11 18 20 / .12) 21%,transparent 40%);
}
.hero-scene .hero-caption {
  position:absolute;left:clamp(.9rem,2.4vw,2.6rem);bottom:clamp(.8rem,1.8vw,1.8rem);right:auto;
  max-width:55%;background:none;backdrop-filter:none;border:0;padding:0;display:grid;gap:.1rem;text-align:left;
}
.scene-name {font-size:clamp(1.1rem,1.85vw,1.75rem);color:#fff;font-weight:610;letter-spacing:-.055em;line-height:1.14}
.scene-note {font-size:.69rem;letter-spacing:.035em;color:#fafafa}
.hero-foot {inset:auto clamp(.8rem,1.9vw,2rem) clamp(.8rem,1.8vw,1.8rem) auto}
.slide-nav {background:rgb(17 31 34 / .8);border-color:#ffffff65; padding:1px 3px}
.slide-nav .slide-markers {padding:.1rem .4rem}
.slide-nav>button {width:35px}
.slide-markers button {width:18px}
.slide-markers button[aria-pressed=true]:after {width:14px}
.slide-nav button {min-height:38px}
.family-nav {display:flex;align-items:center;gap:2.1rem;padding:1.1rem 0 1.28rem;border-bottom:1px solid var(--hairline)}
.family-heading {font-size:.78rem;font-weight:650;color:#34484e;white-space:nowrap}
.family-links {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));flex:1;gap:.8rem}
.family-links a {
  display:flex;align-items:center;gap:.7rem;padding:.5rem .8rem .5rem .46rem;border:1px solid var(--hairline);
  border-radius:9px;background:#fffefa;font-size:.88rem;font-weight:620;color:var(--ink);line-height:1.2;
  transition:border-color .18s,background .18s;
}
.family-links img {width:38px;height:38px;object-fit:cover;border-radius:5px;flex:none}
.family-links a::after {
  content:'';width:6px;height:6px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;
  transform:rotate(45deg);margin-left:auto;margin-right:.12rem;
}
.family-links a:hover {background:#f4f4ee;border-color:#7c8d89}
.studio {padding-block:clamp(2.6rem,4.3vw,4.55rem) clamp(2.8rem,4.5vw,4.8rem)}
.intro {align-items:end;gap:1.5rem;margin-bottom:1.4rem}
#studio-title,.library-heading h2,.legal-intro h2 {
  color:var(--ink);font-weight:560;font-size:clamp(2.25rem,3.65vw,3.75rem);
  letter-spacing:-.075em;line-height:1.06;margin:0;
}
#studio-title span,.library-heading h2 em {color:#345863}
.intro p {font-size:.9rem;line-height:1.5;max-width:42ch}
.workbench {border-radius:13px;background:#fbfbf8;box-shadow:0 5px 18px #20342f0b;border-color:#c8cfc7}
.workbench .settings {background:#fffefa;border-color:#ccd3cb}
.settings-heading {color:#244954}
.rooms button[aria-pressed=true],.light-actions button[aria-pressed=true] {background:#eaf1ee;border-color:#42706d;color:#254e50}
.rooms button[aria-pressed=false]:hover,.light-actions button[aria-pressed=false]:hover {background:#f1f3ee}
.selection-actions .primary,.view-options button,.selection img {border-radius:6px}
.selection-actions .primary {background:#153b4b}
.selection-actions .primary:hover {background:#214e61}
.stage-caption {background:#122b32d9}
.tone-note {margin:.7rem 0 0}

.library {background:#eeece5;border-block:1px solid #dedfd5;padding-block:clamp(2.7rem,5.0vw,5.2rem)}
.library-heading {align-items:end;margin-bottom:1.6rem}
.catalog-note {font-size:.85rem}
.catalog-layout {display:grid;grid-template-columns:minmax(185px,.63fr) minmax(0,2.8fr);gap:clamp(1.15rem,3vw,3rem)}
.catalog-tools {display:flex;align-items:stretch;justify-content:flex-start;flex-direction:column;gap:1.2rem;margin:0}
.catalog-results {min-width:0}
.search-box {min-height:44px;background:#fafaf5;border-radius:6px}
.search-box input {font-size:.81rem;width:100%;min-width:0;max-width:none}
.catalog-category h3 {font-size:.78rem;font-weight:670;margin-bottom:.5rem}
.filter {display:grid;gap:.1rem}
.filter button {display:flex;align-items:center;justify-content:space-between;background:transparent;border:0;border-radius:5px;text-align:left;min-height:40px;font-size:.85rem}
.filter button[aria-pressed=true] {background:#d7e2df;color:#193e45}
.filter button[aria-pressed=true]::after {content:'';width:7px;height:7px;background:#40686b;border-radius:50%}
.filter button[aria-pressed=false]:hover {background:#e3e6de}
.card-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.8rem,1.5vw,1.4rem)}
.card-grid:has(.product:nth-child(5)) {grid-template-columns:repeat(3,minmax(0,1fr))}
.product {border:1px solid #cdd1c7;border-radius:10px;background:#fffefa}
.product .photo {aspect-ratio:2.5}
.product h3 {font-size:1.15rem;letter-spacing:-.04em}
.product .type {text-transform:uppercase;letter-spacing:.065em}
.product .card-actions {gap:.18rem .8rem}
.card-actions button:first-child {border-radius:5px}
.more .secondary {background:#fafaf5;border-radius:6px}
.project-tools {background:var(--paper);display:flow-root}
#quote-tools {gap:clamp(1.8rem,5vw,5rem);margin-block:clamp(2.6rem,5vw,5.4rem)}
#quote-tools h2 {font-weight:560;letter-spacing:-.06em}
#quote-tools .qt-intro {font-size:.9rem}
.legal-section {padding:clamp(2.6rem,4.5vw,4.6rem) 0;background:#f0f1eb;border-block:1px solid #d4d9d0}
.legal-layout {display:grid;grid-template-columns:minmax(0,.68fr) minmax(0,1.32fr);gap:clamp(1rem,5vw,5rem);align-items:start}
.legal-intro h2 {font-size:clamp(2.05rem,3vw,3rem)}
#legal-content {min-width:0}
#legal-content details {border-block-start:1px solid #b6c3b9;scroll-margin-top:1rem}
#legal-content details:last-child {border-block-end:1px solid #b6c3b9}
#legal-content summary {padding:.84rem .25rem;cursor:pointer;font-weight:640}
#legal-content p,#legal-content li {color:#37484b;font-size:.9rem;line-height:1.65;overflow-wrap:anywhere}
#legal-content details p {margin:.55rem 0}
#legal-content details[open] {padding-bottom:.8rem}
#legal-content a {text-decoration:underline;text-underline-offset:.18rem}
.site-footer {background:#142d38;color:#eff4f4;border:0}
.site-footer .foot-inner {display:grid;grid-template-columns:1.7fr 1fr 1.1fr;align-items:start;gap:2rem;padding-block:clamp(2rem,4vw,4rem)}
.site-footer .brand,.site-footer .brand span {color:#f7f5ed}
.site-footer .brand b:after {background:var(--accent-warm)}
.site-footer .foot-inner p {color:#d8e5e5;margin:.9rem 0}
.site-footer nav {display:grid;gap:.35rem;justify-items:start}
.site-footer nav strong {font-size:.87rem;margin-bottom:.2rem}
.site-footer nav a {font-size:.81rem;color:#d9e5e5;padding-block:.14rem}
.site-footer nav a:hover {text-decoration:underline}
.site-footer a:focus-visible {outline-color:#ffbd82}
@media(max-width:1030px) {
  .hero-copy {padding-inline:clamp(1.65rem,3.4vw,2.6rem)}
  .hero-actions {margin-top:1.2rem;gap:.2rem .85rem}
  .family-nav {gap:1rem}
  .family-links {gap:.5rem}
  .family-links a {gap:.48rem}
  .family-links img {width:31px;height:31px}
  .card-grid:has(.product:nth-child(5)) {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:761px) and (max-width:900px) {
  .hero h1 {font-size:clamp(2.35rem,4.75vw,2.72rem)}
  .hero-inner {grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);min-height:375px}
}
@media(max-width:760px) {
  .header-inner {height:60px;gap:.4rem}
  #main-nav.open {border-radius:0 0 9px 9px;gap:0}
  #main-nav.open a {min-height:44px}
  .hero {margin-top:.52rem;border-radius:12px}
  .hero-inner {grid-template-columns:minmax(0,1fr);min-height:0;padding:0}
  .hero-copy {padding:clamp(1.3rem,4.6vw,2.2rem);min-height:236px}
  .hero h1 {font-size:clamp(2.8rem,7.5vw,4.4rem);margin:.65rem 0 .7rem}
  .hero h1 br {display:none}
  .hero h1 em::before {content:' '}
  .hero-copy>p {font-size:.91rem;line-height:1.47;max-width:48ch}
  .hero-actions {margin-top:.85rem}
  .hero-actions a {font-size:.78rem}
  .hero-scene {aspect-ratio:2.25;min-height:150px}
  .hero-scene .hero-photo {object-position:62% 62%}
  .hero-scene .hero-caption {bottom:.72rem;left:.93rem}
  .hero-foot {inset:auto .75rem .62rem auto}
  .slide-nav>button {width:32px}
  .slide-nav button {min-height:34px}
  .family-nav {display:block;padding:.9rem 0}
  .family-heading {display:block;margin-bottom:.5rem;font-size:.72rem}
  .family-links {gap:.45rem}
  .family-links a {font-size:.77rem;padding:.35rem .4rem;gap:.35rem}
  .family-links img {height:29px;width:29px}
  .family-links a::after {display:none}
  .intro {display:block}
  .intro p {margin-top:.6rem;max-width:57ch}
  #studio-title,.library-heading h2 {font-size:clamp(2rem,5.6vw,2.6rem)}
  .catalog-layout,.legal-layout {grid-template-columns:1fr}
  .catalog-tools {gap:.75rem}
  .search-box {max-width:none}
  .catalog-category h3 {display:none}
  .filter {display:flex;flex-wrap:wrap;gap:.35rem}
  .filter button {min-height:38px;padding:.4rem .75rem;border:1px solid #c7cec5}
  .filter button[aria-pressed=true]::after {display:none}
  .legal-layout {gap:1.2rem}
  .library-heading {margin-bottom:1rem}
  .site-footer .foot-inner {grid-template-columns:1fr 1fr;gap:1.3rem}
  .footer-brand {grid-column:1/-1}
  .site-footer .foot-inner p {width:auto;order:initial;margin-bottom:0}
}
@media(max-width:480px) {
  .hero h1 {font-size:clamp(2.7rem,10.1vw,3.3rem)}
  .hero h1 br {display:block}
  .hero h1 em::before {content:none}
  .hero-actions {gap:.1rem .65rem}
  .hero-actions a {min-height:42px}
  .hero-actions .hero-primary {padding:.5rem .68rem}
  .hero-scene {aspect-ratio:1.92}
  .hero-kicker .sample-lines {width:23px}
  .family-links {grid-template-columns:repeat(2,minmax(0,1fr))}
  .family-links a {padding:.28rem .55rem;min-height:42px}
  .family-links a::after {display:block}
  .studio {padding-block:1.9rem 2.25rem}
  .card-grid,.card-grid:has(.product:nth-child(5)) {gap:.55rem}
  .product .photo {aspect-ratio:1.62}
  .product .product-body {padding:.6rem}
  .product h3 {font-size:.98rem}
  .product .card-actions {gap:.12rem .55rem}
  .card-actions button {line-height:1.2}
  .card-actions button:first-child {padding:.25rem .42rem}
}
@media(max-width:355px) {
  .hero h1 {font-size:2.35rem}
  .hero-actions {gap:.05rem .55rem}
  .hero-actions a {font-size:.72rem}
  .hero-copy {padding:1.15rem .85rem}
  .wa-header span {font-size:.65rem}
  .site-footer .foot-inner {gap:.85rem}
}
