:root {
  color-scheme: light;
  --ink: #20261f;
  --forest: #202820;
  --forest-dark: #181f19;
  --paper: #f8f5ee;
  --sand: #eee7d9;
  --gold: #dfc69b;
  --olive: #5f5d50;
  --line: #d7cebe;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.6; }
.inner-page { display: flex; flex-direction: column; min-height: 100vh; }
.inner-page main { display: flex; flex: 1; flex-direction: column; }
.inner-page main > section { flex: 1; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid #a66a2e; outline-offset: 4px; }
img { display: block; width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 96px, 1240px); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip:focus { position: absolute; z-index: 4; top: 10px; left: 10px; padding: 10px 18px; background: var(--paper); }
.top { background: var(--forest-dark); color: var(--paper); border-bottom: 1px solid #40463a; }
.top-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #f5eee2; line-height: 1.04; font-family: var(--serif); font-size: 17px; letter-spacing: .065em; }
.brand img { width: 42px; height: 42px; }
.brand > span > span { font-family: var(--sans); font-size: 9px; letter-spacing: .25em; }
.top nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); font-size: 13px; color: #eee6d7; }
.top nav a:hover, .top nav a[aria-current="page"], .text-link:hover, .footer a:hover { color: var(--gold); }
.top nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.top-actions { display: flex; gap: 20px; align-items: center; }
.languages { display: flex; gap: 5px; align-items: center; color: #aba590; font-size: 11px; }
.languages button { background: none; border: none; color: #c7c4b5; font-size: 11px; cursor: pointer; padding: 7px 5px; }
.languages button[aria-pressed="true"] { color: #fff4dc; text-decoration: underline; text-underline-offset: 4px; }
.top-cta { border: 1px solid #ab9471; color: #f4e1bd; padding: 9px 13px; font-size: 12px; white-space: nowrap; }
.top-cta:hover { background: #3a4032; }
.hero { background: var(--forest); color: var(--paper); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); min-height: 620px; }
.hero-copy { padding: 104px 32px 90px 0; align-self: center; }
.eyebrow { font-size: 10px; font-weight: 700; line-height: 1.45; letter-spacing: .19em; }
.eyebrow > span:first-child { margin-right: 6px; color: #82704e; }
.hero-eyebrow { color: var(--gold); margin-bottom: 23px; }
.hero h1 { font-family: var(--serif); font-size: clamp(68px, 8.25vw, 119px); line-height: .94; font-weight: normal; letter-spacing: -.065em; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: var(--gold); font-weight: normal; padding-right: .1em; }
html[lang="es"] .hero h1 { font-size: clamp(54px, 6.9vw, 99px); }
.hero-description { color: #e2dccf; font-size: 16px; max-width: 405px; margin-top: 30px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 21px; margin-top: 33px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 49px; padding: 10px 17px; cursor: pointer; font-size: 13px; font-weight: 700; line-height: 1.3; }
.button span:last-child { font-size: 17px; font-weight: 400; }
.primary { background: #e1c79a; border: 1px solid #e1c79a; color: #23251d; }
.primary:hover { background: #f0d8ac; }
.text-link { text-decoration: underline; text-underline-offset: 5px; color: #f0eadd; font-size: 13px; }
.hero-photo { align-self: center; min-width: 0; margin: 28px 0; }
.hero-image { display: block; overflow: hidden; aspect-ratio: 1.38; background: var(--sand); }
.hero-image img { height: 100%; object-fit: cover; }
.hero-gallery-caption { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 77px; padding: 10px 0; }
.hero-gallery-caption .eyebrow { color: var(--gold); text-transform: uppercase; }
#hero-gallery-title { margin-top: 4px; font: clamp(17px, 2vw, 23px)/1.14 var(--serif); }
.hero-gallery-controls { display: flex; align-items: center; gap: 8px; }
.hero-gallery-controls button { width: 42px; height: 42px; background: transparent; border: 1px solid #87795d; color: var(--paper); cursor: pointer; }
.hero-gallery-controls button:hover { background: #3a4032; }
#hero-gallery-count { min-width: 39px; text-align: center; color: #eadbc0; font-size: 11px; white-space: nowrap; }
.hero-gallery-previews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hero-gallery-previews button { padding: 0; min-width: 0; border: 1px solid #87795d; background: var(--sand); cursor: pointer; }
.hero-gallery-previews img { aspect-ratio: 1.38; object-fit: cover; }
.hero-gallery-previews button:hover { border-color: var(--paper); }
.sector-line { background: var(--sand); border-bottom: 1px solid var(--line); }
.sector-inner { min-height: 83px; display: grid; grid-template-columns: .83fr 1fr .85fr 1.42fr; align-items: center; gap: 20px; }
.sector-inner > span:not(:first-child) { padding-left: 24px; border-left: 1px solid #c8beac; font-family: var(--serif); font-size: clamp(16px, 1.65vw, 22px); line-height: 1.2; }
.sector-inner .sector-lead { color: #62573f; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.section { padding-block: 93px; }
.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: end; margin-bottom: 35px; }
.section-heading .eyebrow { color: #61543c; margin-bottom: 12px; }
.section h1, .contact h1 { font-family: var(--serif); font-weight: normal; font-size: clamp(43px, 5.6vw, 76px); line-height: 1; letter-spacing: -.055em; }
.section-heading > p { color: var(--olive); max-width: 390px; line-height: 1.65; }
.portfolio-index { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; scroll-margin-top: 20px; }
.portfolio-index a { display: inline-flex; align-items: center; color: #3c3c30; border: 1px solid #bdb3a1; padding: 8px 14px; font-size: 12px; min-height: 38px; }
.portfolio-index a:hover { background: var(--sand); }
.gallery-note { color: var(--olive); font-size: 13px; margin-bottom: 30px; }
.portfolio-group { border-top: 1px solid var(--line); padding-top: 24px; scroll-margin-top: 20px; }
.portfolio-group + .portfolio-group { margin-top: clamp(36px, 6vw, 68px); }
.portfolio-group-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 20px; }
.portfolio-group h2 { font: clamp(26px, 3.5vw, 46px)/1.1 var(--serif); letter-spacing: -.04em; }
.portfolio-back { color: var(--olive); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; }
.card { min-width: 0; }
.card button { display: block; width: 100%; text-align: left; border: 0; padding: 0; background: transparent; color: inherit; cursor: zoom-in; }
.card-photo { position: relative; display: block; overflow: hidden; background: #e6dfd2; aspect-ratio: 1.38; }
.card-photo img, .card > img { height: 100%; object-fit: cover; }
.card-photo img { transition: transform .32s ease; }
.card:hover img { transform: scale(1.035); }
.zoom { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 31px; height: 31px; background: #242820; color: #f8f5ee; font-size: 18px; }
.card-caption, .card > figcaption { display: block; padding: 9px 0 10px; border-bottom: 1px solid var(--line); }

.card-caption strong { font: 21px/1.25 var(--serif); }



.projects { background: #eee7d9; }
.projects h1 { text-wrap: balance; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-grid article { border-top: 1px solid #c9beaa; padding: 22px 28px 25px 0; }
.project-grid article:nth-child(even) { border-left: 1px solid #c9beaa; padding-inline: 28px 0; }
.project-grid h2, .market-references h2 { font: clamp(27px, 3vw, 37px)/1.12 var(--serif); letter-spacing: -.045em; margin-bottom: 10px; }
.project-grid p { color: var(--olive); max-width: 52ch; }
.market-references { margin-top: 20px; padding: clamp(20px, 3vw, 34px); background: var(--paper); border: 1px solid #c9beaa; }
.market-references > p { color: var(--olive); }
.market-references dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 28px; margin: 22px 0 0; }
.market-references dt { font-weight: 700; }
.market-references dd { margin: 5px 0 0; color: var(--olive); }
.capacity-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 37px; margin: 37px 0 47px; }
.capacity-feature { background: var(--forest); color: var(--paper); padding: 29px; }
.capacity-feature .eyebrow, .contact .eyebrow, .contact .eyebrow > span:first-child { color: var(--gold); }
.capacity-feature strong { display: block; color: var(--gold); font: normal clamp(70px, 8vw, 110px)/.98 var(--serif); letter-spacing: -.06em; margin: 15px 0 9px; }
.capacity-feature h2 { font-size: 17px; }
.capacity-feature > p:last-child { color: #ded7c8; margin-top: 9px; font-size: 14px; }
.scope-list { display: grid; align-content: center; }
.scope-list article { border-bottom: 1px solid var(--line); padding: 13px 0; }
.scope-list h2, .process h2 { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.18; margin-bottom: 5px; }
.scope-list p, .process p { color: var(--olive); font-size: 14px; }
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.process li { border-top: 1px solid var(--line); padding-top: 11px; }
.process li > span { display: block; color: #78684e; font-size: 10px; font-weight: 700; letter-spacing: .14em; margin-bottom: 13px; }
.contact { background: var(--forest); color: var(--paper); padding: 84px 0; }
.contact-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 45px; align-items: end; }
.contact .eyebrow { margin-bottom: 13px; }
.contact h1 { max-width: 680px; }
.contact-inner > div > p:not(.eyebrow) { margin: 17px 0 23px; max-width: 460px; color: #e3ddce; }
.contact address { display: grid; gap: 6px; font-style: normal; border-top: 1px solid #686c5c; padding-top: 17px; align-self: end; min-width: 0; }
.contact address p { font: 24px var(--serif); }
.contact address a { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; width: fit-content; }
.contact address span { color: #d2c8b5; font-size: 13px; }
.footer { background: var(--forest-dark); color: #e4dece; font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; gap: 15px; padding-block: 17px; }
.viewer { background: var(--forest-dark); color: var(--paper); border: 1px solid #87795d; width: min(92vw, 780px); padding: 12px; max-height: 94vh; max-height: 94dvh; overflow: auto; }
.viewer::backdrop { background: #141610cf; }
.viewer-top, .viewer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 4px; }
.viewer-top p { padding-left: 6px; color: #eadbc0; font-size: 12px; }
.viewer button { background: transparent; color: var(--paper); border: 1px solid #82795e; min-width: 42px; min-height: 42px; font-size: 22px; cursor: pointer; line-height: 1; }
.viewer button:hover { background: #434638; }
.viewer h2 { font: 21px/1.18 var(--serif); text-align: center; }
.viewer img { height: min(68vh, 680px); height: min(68dvh, 680px); object-fit: contain; margin-block: 7px; }
@media (max-width: 930px) {
  .wrap { width: min(100% - 56px, 1240px); }
  .hero-inner { min-height: 540px; }
  .hero-copy { padding-block: 73px; }
  .top-actions { gap: 10px; }
  .top nav { gap: 17px; }
}
@media (max-width: 800px) {
  .top-inner { flex-wrap: wrap; gap: 0 12px; min-height: auto; padding-top: 12px; }
  .top nav { order: 3; width: 100%; padding: 10px 0; margin-top: 10px; border-top: 1px solid #41473b; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; font-size: 12px; }
  .top-cta { display: none; }
}
@media (max-width: 700px) {
  .wrap { width: min(100% - 36px, 1240px); }
  .hero-inner { display: block; min-height: auto; padding-bottom: 20px; }
  .hero-copy { padding: 52px 0 25px; }
  .hero h1 { font-size: clamp(56px, 13vw, 86px); }
  html[lang="es"] .hero h1 { font-size: clamp(47px, 11.5vw, 79px); }
  .hero-eyebrow { margin-bottom: 15px; }
  .hero-description, .hero-actions { margin-top: 20px; }
  .hero-photo { margin: 0; }
  .sector-inner { grid-template-columns: 1fr 1fr; gap: 13px; padding-block: 17px; }
  .sector-inner > span:not(:first-child) { font-size: 16px; padding-left: 9px; }
  .sector-inner > span:nth-child(3) { padding-left: 0; border: 0; }
  .section, .contact { padding-block: 61px; }
  .section-heading { grid-template-columns: 1fr; gap: 13px; margin-bottom: 24px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 10px; }
  .card-caption strong { font-size: 17px; }

  .project-grid, .market-references dl { grid-template-columns: 1fr; }
  .project-grid article, .project-grid article:nth-child(even) { border-left: 0; padding-inline: 0; }
  .capacity-grid, .contact-inner { grid-template-columns: 1fr; gap: 20px; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
.chair-quote { background: var(--sand); border-top: 1px solid var(--line); }
.chair-quote-form { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.quote-details, .chair-quote-form .chair-model-picker { background: var(--paper); border: 1px solid var(--line); padding: clamp(14px, 2.5vw, 26px); }
.quote-details { display: grid; gap: 16px; scroll-margin-top: 16px; }
.quote-details h2 { font: 25px/1.1 var(--serif); }
.quote-selection { border-left: 2px solid #ab9471; padding-left: 11px; }
.quote-selection .eyebrow { color: var(--olive); text-transform: uppercase; }
.quote-selection p { margin-top: 2px; font-size: 14px; line-height: 1.45; }
.quote-details-link { display: none; }
.chair-quote-tip { margin-bottom: 10px; color: var(--olive); font-size: 12px; }
.chair-quote-form label { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 3px 8px; min-width: 0; font-size: 13px; font-weight: 700; }
.chair-quote-form label small { color: var(--olive); font-size: 11px; font-weight: 400; }
.chair-quote-form input:not([type="hidden"]):not([type="radio"]), .chair-quote-form select, .chair-quote-form textarea { grid-column: 1 / -1; width: 100%; min-width: 0; min-height: 42px; padding: 7px 9px; border: 1px solid #bdb3a1; border-radius: 0; background: #fffdf8; color: var(--ink); font: 16px var(--sans); }
.chair-quote-form textarea { resize: vertical; }
.chair-quote-form [aria-invalid="true"] { border-color: #952f25; }
.chair-quote-options, .chair-quote-measurements { display: grid; gap: 12px; }
.chair-quote-options { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); }
.chair-quote-measurements { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chair-quote-form fieldset { min-width: 0; margin: 0; padding: 11px 0 0; border: 0; border-top: 1px solid var(--line); }
.chair-quote-form legend { padding: 0 7px 0 0; font: 22px/1.1 var(--serif); }
.chair-quote-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 15px; }
.chair-quote-actions p { color: var(--olive); font-size: 12px; }
.chair-quote-error { color: #82291f; font-size: 13px; }
@media (max-width: 800px) {
  .chair-quote-form { grid-template-columns: 1fr; }
  .quote-details-link { display: inline-block; margin-bottom: 8px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }
}
.quote-category { border-top: 1px solid var(--line); }
.quote-category:last-child { border-bottom: 1px solid var(--line); }
.quote-category summary { display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; align-items: center; gap: 10px; min-height: 44px; padding: 8px 2px; list-style: none; cursor: pointer; font-size: 14px; }
.quote-category summary::-webkit-details-marker { display: none; }
.quote-category summary::after { content: '+'; color: var(--olive); text-align: center; font-size: 18px; }
.quote-category[open] summary::after { content: '−'; }
.quote-category summary:hover { color: #685b42; }
.quote-category summary:focus-visible { outline: 2px solid #6d552e; outline-offset: -2px; }
.quote-category[open] summary, .quote-category:has(input:checked) summary { font-weight: 700; }
.quote-category summary small { min-width: 26px; padding: 1px 5px; border-radius: 20px; background: var(--sand); color: var(--olive); text-align: center; font-size: 11px; font-weight: 400; }
.chair-models { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 8px; padding: 0 0 13px; }
.chair-quote-form .chair-model-card { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 5px; padding: 5px 5px 7px; border: 1px solid var(--line); background: #fffdf8; cursor: pointer; }
.chair-model-card input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.chair-model-card img { width: 100%; height: clamp(72px, 7vw, 100px); object-fit: contain; background: var(--sand); }
.chair-model-card span { padding-inline: 2px; color: var(--ink); font-size: 12px; font-weight: 400; line-height: 1.3; }
.chair-quote-form .chair-model-card:hover { border-color: #ab9471; }
.chair-quote-form .chair-model-card:has(input:checked) { border-color: #685b42; background: #eee4d1; box-shadow: inset 0 0 0 1px #685b42; }
.chair-model-card:has(input:checked) span { font-weight: 700; }
.chair-model-card:has(input:focus-visible) { outline: 2px solid #6d552e; outline-offset: 2px; }
.chair-quote-form .chair-model-other { display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; width: fit-content; font-size: 12px; font-weight: 400; }
.chair-model-other input { margin: 0; accent-color: var(--ink); }
@media (max-width: 520px) {
  .chair-models { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 400px) {
  .chair-models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
