@font-face {
  font-family: "Barlow Condensed";
  src: url("/tipos/barlow-condensed-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/tipos/space-grotesk.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #eff5fa;
  --milk: #f9fbfd;
  --ink: #102d50;
  --blue: #183fa6;
  --deep: #102a6b;
  --muted: #43596e;
  --rule: #92aabc;
  --brass: #f3da92;
  --sans: "Space Grotesk", system-ui, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--milk); font: 1rem/1.55 var(--sans); }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
button, input { color: inherit; font: inherit; }
button, input[type="range"] { cursor: pointer; }
button { border-radius: 0; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.site-width { width: min(100% - clamp(2rem, 8vw, 8.5rem), 92rem); margin-inline: auto; }
.skip { position: absolute; z-index: 3; top: .5rem; left: .5rem; padding: .65rem 1rem; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }

.masthead { background: var(--milk); border-bottom: 1px solid #8ca1b7; }
.masthead-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 4.55rem; }
.identity { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); font: 700 1.85rem/.92 var(--display); text-decoration: none; text-transform: uppercase; }
.insignia { width: auto; height: 2.65rem; }
.identity span { display: inline-flex; gap: .22em; }
.identity b { font-weight: inherit; }
.navigation { display: flex; align-items: center; gap: 1.7rem; margin-left: auto; }
.navigation a, .head-quote { display: inline-flex; align-items: center; min-height: 44px; font-size: .97rem; font-weight: 600; text-decoration: none; }
.navigation a:hover, .head-quote:hover { text-decoration: underline; }
.head-quote { color: var(--blue); padding-left: 1.5rem; border-left: 1px solid #a6b7c6; }

.drawing-board {
  position: relative;
  isolation: isolate;
  background-color: var(--paper);
  background-image: linear-gradient(90deg,#52779c0d 1px,transparent 1px), linear-gradient(#52779c0d 1px,transparent 1px);
  background-size: 3rem 3rem;
  border-bottom: 1px solid var(--rule);
}
.drawing-layout {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.35fr);
  grid-template-rows: 1fr auto auto;
  grid-template-areas: "type art" "action art" ". controls";
  column-gap: clamp(.5rem, 2.7vw, 3.2rem);
  padding-block: clamp(1rem, 2.3vw, 2.4rem) clamp(1.2rem, 3.1vw, 3.1rem);
}
.cover-type { grid-area: type; align-self: end; container-type: inline-size; }
.type-line { display: block; white-space: nowrap; }
.place { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .94rem; font-weight: 500; }
.place::before { content: ""; width: .7rem; height: .7rem; border: 1.5px solid var(--blue); border-radius: 50% 50% 50% 0; rotate: -45deg; }
h1, .works h2, .visit h2 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.018em;
}
h1 { margin: 1.1rem 0 0 -.035em; color: var(--deep); font-size: clamp(3.6rem, 28cqi, 10.25rem); line-height: .84; }
h1 .stop { color: #3868c6; }
.cover-action { grid-area: action; align-self: start; padding: clamp(1.2rem, 2.15vw, 2.2rem) 0 clamp(2.5rem, 4.8vw, 5.1rem); }
.cover-action p { max-width: 28rem; font-size: clamp(1.05rem, 1.48vw, 1.35rem); line-height: 1.48; text-wrap: pretty; }
.primary { display: inline-flex; align-items: center; min-height: 3.1rem; margin-top: 1.3rem; padding: .65rem 1.2rem; color: white; background: var(--blue); font-weight: 600; text-decoration: none; }
.primary:hover { background: var(--deep); }
.primary:focus-visible { outline-color: var(--deep); }
.mechanism { position: relative; align-self: end; grid-area: art; min-width: 0; }
.mechanism figcaption { display: flex; align-items: center; justify-content: end; gap: .7rem; color: #3c5878; font-size: .9rem; }
.mechanism figcaption > span:first-child { font-weight: 700; }
.sheet-rule { width: clamp(1.25rem, 5vw, 5rem); height: 1px; background: var(--rule); }
.mechanism video { display: block; width: 100%; height: auto; aspect-ratio: 108 / 82; mix-blend-mode: multiply; }
.transport { grid-area: controls; display: flex; align-items: center; gap: .65rem; padding: .35rem 0; border-block: 1px solid var(--rule); color: var(--deep); }
.transport button { min-height: 44px; border: 0; background: transparent; }
.play { display: grid; flex: 0 0 2.75rem; width: 2.75rem; place-items: center; }
.transport .play { color: white; background: var(--blue); }
.transport .play:hover { background: var(--deep); }
.transport .play:focus-visible { outline-color: var(--deep); }
.play-icon { width: 0; height: 0; border-block: .39rem solid transparent; border-left: .64rem solid currentColor; }
.play[data-playing="true"] .play-icon { width: .66rem; height: .82rem; border: 0; border-inline: .22rem solid currentColor; }
.chapters { display: flex; align-items: center; gap: .16rem; }
.chapters button { position: relative; min-width: 44px; padding: .35rem .45rem; color: #425871; font-size: .91rem; }
.chapters button[aria-pressed="true"] { color: var(--blue); font-weight: 700; }
.chapters button[aria-pressed="true"]::after { position: absolute; inset: auto .45rem .21rem; height: 2px; background: currentColor; content: ""; }
.chapters button:hover { background: #e0eaf3; }
.scrub { flex: 1 1 7rem; display: flex; align-items: center; gap: .75rem; min-width: 0; }
.scrub input {
  --ruler: linear-gradient(var(--rule), var(--rule)) left 50% / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px calc(100% / 12)) left 70% / 100% 6px no-repeat;
  flex: 1 1 auto; min-width: 2rem; width: 100%; height: 44px; margin: 0; appearance: none; background: transparent;
}
.scrub input::-webkit-slider-runnable-track { height: 1.25rem; background: var(--ruler); }
.scrub input::-moz-range-track { height: 1.25rem; background: var(--ruler); }
.scrub input::-webkit-slider-thumb { width: .72rem; height: 1.05rem; margin-top: .1rem; appearance: none; background: var(--blue); clip-path: polygon(0 0,100% 0,100% 68%,50% 100%,0 68%); }
.scrub input::-moz-range-thumb { width: .72rem; height: 1.05rem; border: 0; border-radius: 0; background: var(--blue); clip-path: polygon(0 0,100% 0,100% 68%,50% 100%,0 68%); }
.clock { flex: none; font-size: .84rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.film-fallback { grid-area: controls; text-align: right; }

.works { padding-block: clamp(3.5rem, 7.3vw, 7.5rem); color: var(--milk); background: var(--blue); }
.work-layout { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: clamp(1.5rem, 5vw, 6.5rem); align-items: start; }
.works h2, .visit h2 { font-size: clamp(3.7rem, 7.3vw, 7.2rem); line-height: .89; }
.works-index { container-type: inline-size; }
.works-index h2 { margin-left: -.035em; font-size: clamp(2.85rem, 23cqi, 7.2rem); }
.work-types { display: grid; margin-top: clamp(1.5rem, 3vw, 3rem); border-bottom: 1px solid #879fdb; }
.work-types a { display: flex; align-items: center; justify-content: space-between; gap: .55rem; min-height: 3.4rem; padding: .65rem .62rem; border-top: 1px solid #879fdb; font-weight: 600; text-decoration: none; }
.work-types small { font-size: .88rem; font-weight: 400; }
.work-types a[aria-selected="true"] { color: var(--deep); background: #edf4ff; box-shadow: inset .23rem 0 var(--brass); }
.work-types a:not([aria-selected="true"]):hover { background: #214bb7; }
.works :focus-visible { outline-color: #ffde79; }
.work-sheets { min-width: 0; }
.folio + .folio { margin-top: 2.8rem; }
.work-sheets.enhanced .folio { margin: 0; }
.folio-heading { margin-bottom: .8rem; }
.folio-heading h3 { font-size: clamp(1.15rem, 1.6vw, 1.55rem); line-height: 1.25; font-weight: 500; }
.prints {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(5.4rem, 21%);
  grid-auto-flow: column;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: .55rem;
  height: clamp(19rem, 36vw, 35rem);
}
.prints[data-count="3"] { grid-template-rows: repeat(2, minmax(0, 1fr)); }
.prints[data-count="2"] { grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); grid-template-rows: minmax(0,1fr); }
.print { position: relative; display: block; overflow: hidden; min-width: 0; min-height: 0; padding: .27rem; background: #e5edfa; text-decoration: none; cursor: zoom-in; }
.print-main { grid-row: 1 / -1; }
.print img { width: 100%; height: 100%; object-fit: cover; }
.print-main img { object-position: 53% 50%; }
.print:not(.print-main) img { object-position: center 42%; }
.print-caption { position: absolute; inset: auto auto .7rem .65rem; padding: .17rem .5rem; color: var(--ink); background: var(--milk); font-size: .89rem; line-height: 1.4; }
.print:not(.print-main) .print-caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.print::after { content: "+"; position: absolute; top: .6rem; right: .6rem; display: grid; width: 1.7rem; height: 1.7rem; place-content: center; color: var(--ink); background: #f4f8ffeb; font: 500 1.35rem/1 var(--sans); }
.print:hover::after, .print:focus-visible::after { background: var(--brass); }
.quote-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: .45rem; color: white; font-weight: 500; }
.quote-link:hover, .map-link:hover, .colophon a:hover { text-decoration-thickness: 2px; }

.visit { background: var(--milk); }
.visit-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0,.88fr); align-items: center; gap: clamp(2.2rem, 7vw, 7rem); padding-block: clamp(3.3rem, 7vw, 7rem); }
.visit-image { position: relative; }
.visit-image img { width: 100%; height: auto; }
.visit-copy h2 { font-size: clamp(3.2rem, 6.5vw, 6.15rem); color: var(--deep); }
.visit-copy address { margin-top: 1.2rem; font-style: normal; font-size: clamp(1.08rem, 1.65vw, 1.4rem); line-height: 1.45; }
.map-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-weight: 600; }
.telephone { margin-top: 1.1rem; padding-top: 1.05rem; border-top: 1px solid var(--rule); }
.telephone p { color: var(--muted); font-size: .96rem; }
.telephone a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font: 700 clamp(2.25rem, 3.9vw, 4rem)/1.08 var(--display); text-decoration: none; }
.telephone a:hover { text-decoration: underline; }
.colophon { border-top: 1px solid var(--rule); color: var(--ink); background: var(--paper); }
.colophon .site-width { display: flex; align-items: center; justify-content: space-between; min-height: 4.3rem; gap: 1rem; }
.colophon a { display: inline-flex; align-items: center; min-height: 44px; font-size: .94rem; }
.colophon .footer-links { width: auto; border: 0; gap: .35rem 1.25rem; flex-wrap: wrap; }

.lightbox { width: min(64rem, calc(100% - 1.25rem)); max-height: calc(100dvh - 1.25rem); margin: auto; padding: 0; border: 0; color: #f4f7fb; background: #111d32; }
.lightbox::backdrop { background: #0a1425e8; }
.lightbox-inner { display: grid; grid-template-rows: auto minmax(0,1fr) auto; max-height: calc(100dvh - 1.25rem); }
.lightbox-heading, .lightbox-nav { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .45rem .85rem; }
.lightbox-heading h2 { font: 700 clamp(1.55rem, 3vw, 2.15rem)/1 var(--display); }
.lightbox button { min-width: 44px; min-height: 44px; padding-inline: .65rem; color: inherit; background: transparent; border: 1px solid #6d7d97; }
.lightbox button:hover { background: #283954; }
.lightbox-image { min-height: 0; background: #0c1423; }
.lightbox-image img { width: 100%; height: min(66dvh, 46rem); max-height: 100%; object-fit: contain; }
.lightbox-nav output { font-size: .95rem; font-variant-numeric: tabular-nums; }
html:has(.lightbox[open]) { overflow: hidden; }

@media (max-width: 62rem) {
  .site-width { width: calc(100% - 2.4rem); }
  .drawing-layout { grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); grid-template-areas: "type art" "action art" "controls controls"; }
  .cover-action { padding-bottom: 1.7rem; }
  .transport { justify-self: end; width: min(100%, 40rem); }
  .work-layout { grid-template-columns: minmax(12rem, .55fr) minmax(0, 1fr); gap: 1.8rem; }
}
@media (max-width: 44rem) {
  .site-width { width: calc(100% - 2rem); }
  .masthead-inner { min-height: 3.75rem; gap: .9rem; }
  .identity { gap: .42rem; font-size: 1.35rem; }
  .identity span { display: grid; gap: 0; }
  .insignia { height: 2.25rem; }
  .navigation { gap: .85rem; }
  .navigation a, .head-quote { font-size: .9rem; }
  .head-quote { padding-left: .8rem; }
  .drawing-layout { grid-template-columns: minmax(0,1fr); grid-template-rows: auto; grid-template-areas: "type" "art" "controls" "action"; padding-block: 1.35rem 1.9rem; }
  .cover-type { display: flex; flex-direction: column; }
  h1 { font-size: clamp(3.8rem, 12vw, 6.2rem); line-height: .95; margin-top: .2rem; }
  .place { font-size: .875rem; }
  .mechanism { margin: 1.15rem 0 0; }
  .mechanism figcaption { justify-content: start; font-size: .86rem; }
  .mechanism video { max-height: 50vh; object-fit: contain; }
  .transport { width: 100%; }
  .cover-action { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.2rem; padding: 1.2rem 0 0; }
  .cover-action p { flex: 1 1 15rem; font-size: 1.06rem; }
  .primary { margin: 0; }
  .work-layout { grid-template-columns: minmax(0,1fr); gap: 1.2rem; }
  .works h2, .visit h2 { font-size: clamp(3.2rem, 11vw, 5.2rem); }
  .works-index h2 { font-size: clamp(2.9rem, 10vw, 4.7rem); }
  .works-index .type-line { display: inline-block; }
  .work-types { grid-template-columns: 1fr 1fr 1.28fr; margin-top: 1.1rem; }
  .work-types a { justify-content: center; flex-direction: column; align-items: start; gap: 0; padding: .4rem .65rem; line-height: 1.2; }
  .work-types small { margin-top: .25rem; font-size: .82rem; }
  .work-types a[aria-selected="true"] { box-shadow: inset 0 -.18rem var(--brass); }
  .prints { height: clamp(17rem, 65vw, 25rem); }
  .visit-layout { grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
  .visit-image { order: 1; max-width: 31rem; }
}
@media (max-width: 30rem) {
  .site-width { width: calc(100% - 1.65rem); }
  .transport { flex-wrap: wrap; gap: 0 .55rem; }
  .chapters { flex: 1; justify-content: space-between; }
  .scrub { flex-basis: 100%; border-top: 1px dotted var(--rule); }
  .scrub input { height: 44px; }
  .prints { column-gap: .35rem; }
  .print { padding: .16rem; }
  .print-caption { font-size: .82rem; left: .32rem; bottom: .4rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .primary, .work-types a, .chapters button { transition: background-color 130ms ease-out, color 130ms ease-out; }
  .primary:active, .play:active { transform: scale(.97); }
}

.request-section { background: #e8f1f9; border-block: 1px solid var(--rule); scroll-margin-top: 1rem; }
.request-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.15fr); gap: clamp(1.5rem,7vw,7rem); align-items: start; padding-block: clamp(2rem,6vw,6rem); }
.request-copy { display: grid; gap: 1rem; }
.request-copy h2 { color: var(--deep); font: 700 clamp(3.1rem,7.2vw,7rem)/.92 var(--display); letter-spacing: -.02em; text-transform: uppercase; max-width: 10ch; }
.request-copy p { max-width: 37ch; }
.request-card { background: var(--milk); border: 1px solid var(--rule); padding: clamp(1rem,3vw,2.25rem); }
.request-card form, .request-card fieldset { display: grid; grid-template-columns: minmax(0,1fr); gap: .55rem; }
.request-card fieldset { border: 0; margin: .55rem 0 0; padding: .4rem 0 0; min-width: 0; }
.request-card legend, .request-card label { font-weight: 600; }
.request-card legend { margin-bottom: .2rem; }
.request-card label small { font-weight: 400; color: var(--muted); }
.request-card input, .request-card select, .request-card textarea { min-height: 44px; width: 100%; border: 1px solid var(--rule); padding: .48rem .65rem; background: white; border-radius: 0; color: var(--ink); font: inherit; margin-bottom: .35rem; }
.request-card textarea { resize: vertical; }
.request-card .primary { justify-self: start; margin-top: .55rem; border: 0; }
.request-card .primary:disabled { opacity: .65; cursor: wait; }
.request-card .request-consent { display: flex; align-items: center; gap: .65rem; min-height: 44px; font-weight: 500; }
.request-card .request-consent input { min-height: auto; width: 1.2rem; height: 1.2rem; margin: 0; flex: 0 0 auto; accent-color: var(--blue); }
.request-estimate { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .7rem; padding: .85rem 1rem; background: #dce9fa; border-left: 3px solid var(--blue); }
.request-estimate strong { display: block; color: var(--deep); font-size: clamp(1.25rem,4vw,1.75rem); line-height: 1.2; }
.request-estimate span { display: block; }
.request-status { margin-top: .75rem; font-weight: 600; }
.request-status:empty { margin-top: 0; }
.request-status[data-error="true"] { color: #88213c; }
.request-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .45rem; margin-top: 1rem; font-size: .88rem; }
.maps-credit { font-family: Roboto, Arial, sans-serif; color: #5e5e5e; font-weight: 500; white-space: nowrap; }
.cover-action .map-link { display: inline-block; margin-left: .6rem; }
.policy { max-width: 74ch; padding-block: 3rem; }
.policy h1 { font-size: clamp(2.75rem,7vw,5.5rem); line-height: .95; margin: .9rem 0 1.5rem; }
.policy h2 { margin-top: 1.25rem; }
.policy p + p { margin-top: .65rem; }
@media (max-width: 49rem) {
  .request-layout { grid-template-columns: minmax(0,1fr); }
  .request-copy h2 { max-width: none; }
}
@media (max-width: 29rem) {
  .cover-action .map-link { display: block; margin-left: 0; }
}
.request-match { font-size: .93rem; color: var(--muted); }

.prints[data-count="6"] { grid-template-rows: repeat(5,minmax(0,1fr)); }
@media (max-width: 34rem) {
  .masthead-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .15rem .8rem; padding-top: .4rem; }
  .navigation { grid-area: 2 / 1 / 3 / -1; margin-left: 0; justify-content: space-between; border-top: 1px solid #a6b7c6; }
  .head-quote { grid-area: 1 / 2 / 2 / 3; }
}
