/* Studio identity. The working demos retain the type and colours of each project. */
:root {
  --studio-ink: #191b1a;
  --studio-page: #fafbf9;
  --studio-rule: #c8cdc8;
  --studio-accent: #a4381c;
  --studio-edge: clamp(20px, 5vw, 88px);
  --studio-section: clamp(52px, 7vw, 110px);
}
.home-studio, .studio-archive, .ssi-reading {
  color: var(--studio-ink);
  background: var(--studio-page);
}
.home-studio .skip:focus, .studio-archive .skip:focus { z-index: 20; }
.home-studio > header, .assembling .home-studio > header, .studio-archive > header,
.ssi-reading > .ssi-head {
  position: relative;
  inset: auto;
  z-index: 6;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: var(--studio-edge);
  min-height: 64px;
  height: clamp(64px, 6vw, 84px);
  border: 0;
  border-bottom: 1px solid var(--studio-rule);
  background: var(--studio-page);
  color: var(--studio-ink);
}
.home-studio > header .brand, .studio-archive > header .brand { width: clamp(88px, 8vw, 122px); }
.home-studio > header a, .studio-archive > header a, .ssi-head nav > a {
  display: inline-flex; align-items: center; min-height: 44px;
}
.home-studio > header .contact-link, .studio-archive > header .contact-link {
  border: 0; text-decoration: underline; text-underline-offset: .3em;
}
.selection-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .75rem 1.6rem; }
.selection-heading a, .workshop-collection summary { display: inline-flex; align-items: center; min-height: 48px; font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: .3em; }
.studio-selection { padding: var(--studio-section) var(--studio-edge) clamp(32px, 4vw, 64px); }
.selection-heading { justify-content: space-between; border-top: 1px solid var(--studio-ink); padding-top: 1.25rem; margin-bottom: clamp(24px, 3.3vw, 50px); }
.selection-heading h2 { font-size: clamp(38px, 4.5vw, 80px); line-height: 1; }
.selection-projects { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; gap: clamp(24px, 4vw, 80px); }
.selection-projects article:nth-child(2) { margin-top: clamp(22px, 4vw, 70px); }
.selection-projects img { width: 100%; height: auto; aspect-ratio: 1.7; object-fit: contain; background: #ebeeeb; }
.selection-projects h3 { font-size: clamp(27px, 2.6vw, 48px); line-height: 1.12; letter-spacing: -.05em; margin: .55em 0 .25em; }
.selection-projects a:hover h3 { text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .14em; }
.selection-projects p { max-width: 52ch; color: #424943; }
.workshop-collection { background: #1b1e1c; color: #fff; }
.workshop-collection summary { width: 100%; justify-content: space-between; padding: 1.35rem var(--studio-edge); cursor: pointer; font-size: clamp(18px, 1.8vw, 30px); text-decoration: none; }
.workshop-collection summary:after { content: '+'; font-size: 1.4em; font-weight: 400; }
.workshop-collection[open] > summary:after { content: '−'; }
.workshop-collection summary::-webkit-details-marker { display:none; }
.workshop-collection .opening h2 { font: 700 clamp(46px,6vw,100px)/1 DM,sans-serif; letter-spacing: -.06em; }
.home-studio .intent, .home-studio .sector-shelf, .ssi-reading .ssi-offers,
.ssi-reading .ssi-sheet, .recorrido-indice { background: var(--studio-page); color: var(--studio-ink); }
.home-studio .intent-options { grid-template-columns: 1fr; gap: 0; }
.home-studio .goal-tile span { min-height: 52px; border: 0; border-top: 1px solid var(--studio-rule); background: transparent; padding: .8rem 2rem .8rem .7rem; }
.home-studio .goal-tile span:after { content: ''; border: 1px solid #6c756f; border-radius: 50%; width: 13px; height: 13px; top: 50%; transform: translateY(-50%); }
.home-studio .goal-tile:hover span { transform: none; background: #edf0ed; }
.home-studio .goal-tile input:checked + span { background: #e6eae5; color: var(--studio-ink); }
.home-studio .goal-tile input:checked + span:after { background: var(--studio-ink); border-color: var(--studio-ink); }
.home-studio .goal-tile input:checked + span small { color: #414841; }
.home-studio .project-reference, .home-studio .request-room, .home-studio .studio-sign,
.ssi-reading .ssi-contact { background: #202422; color: #fafbf9; }
.home-studio .project-reference h3 { font: 700 clamp(32px, 4vw, 66px)/1 DM,sans-serif; letter-spacing: -.055em; }
.home-studio .project-reference img { object-position: center; }
.home-studio .commission h2, .home-studio .sector-shelf h2 { font-size: clamp(40px, 5.2vw, 88px); line-height: 1.02; }
.home-studio .request-intro p { font-family: DM,sans-serif; }
.home-studio .request-fields { max-width: 46rem; width: 100%; }
.home-studio .submit-request { background: var(--studio-ink); color: #fff; border: 1px solid #fff; }
.home-studio .studio-sign { padding: 2rem var(--studio-edge); }
.studio-archive .mast { padding: var(--studio-section) var(--studio-edge) clamp(30px, 4vw, 64px); align-items: end; }
.studio-archive .mast p { max-width: 29ch; line-height: 1.4; }
.studio-archive .archive { padding-inline: var(--studio-edge); }
.studio-archive .project-group { border-color: var(--studio-rule); }
.studio-archive .entry h3 { letter-spacing: -.045em; }
.ssi-reading .ssi-intro { align-items: center; padding-block: var(--studio-section); }
.ssi-reading .ssi-intro h1 { line-height: 1.03; }
.ssi-reading .ssi-crumb { color: #47504a; }
.ssi-reading .ssi-copy { max-width: 56rem; line-height: 1.68; }
.ssi-reading .ssi-copy > p:first-child { font-family: StudioDM,Arial,sans-serif; }
.ssi-reading :is(.ssi-offers,.ssi-sheet) { border: 0; border-block: 1px solid var(--studio-rule); padding-inline: 0; }
.ssi-reading .ssi-contact { margin-block-start: 2rem; }
.ssi-reading .ssi-contact h2 { font-style: normal; }
.ssi-reading .ssi-contact a { background: white; color: var(--studio-ink); border-radius: 0; }
.ssi-related { background: #eef0ed; color: var(--studio-ink); }
.ssi-pair { background: #f0f2ef; color: var(--studio-ink); }
.ssi-menu > div { background: white; color: var(--studio-ink); }
body:has(.site-header) { --mist: #eff1ef; --muted: #505851; --ink: var(--studio-ink); --line: var(--studio-rule); }
.site-header .nav-list li:last-child a, .site-footer .button, #contenido .button { border-radius: 2px; }
#contenido .eyebrow, .site-footer .eyebrow { font-weight: 400; text-transform: none; letter-spacing: normal; }
#contenido .eyebrow:before, .site-footer .eyebrow:before { display:none; }
#contenido :is(.product-card,.video-card,.service-card) { box-shadow: none; border-radius: 0; }
#contenido .article-body { line-height: 1.7; }
.folio .folio-cap { font-weight: 400; letter-spacing: normal; text-transform: none; }
.folio .folio-heading h2 { text-wrap: balance; }
body main select:not([multiple]) { border-inline-start-width: 1px; min-height: 44px; }
.ssi-reading :focus-visible, .studio-archive :focus-visible, .home-studio :focus-visible { outline: 3px solid #2271cb; outline-offset: 3px; }
@media (max-width: 760px) {
  .selection-projects { grid-template-columns: 1fr; gap: 2.25rem; }
  .selection-projects article:nth-child(2) { margin: 0; }
  .selection-heading { gap: .25rem; }
  .studio-archive .mast { align-items: start; flex-direction: column; gap: 1.2rem; }
  .ssi-reading .ssi-intro { padding-block: 2.2rem; }
}
@media (max-width: 400px) {
  .home-studio > header nav { gap: 12px; }
}
/* Give the workbench, the product data and long-form reading distinct layouts. */
.folio .atlas-pins button { width: 44px; height: 44px; }
.folio .atlas-pins button[aria-pressed=true] { box-shadow: none; outline: 2px solid currentColor; outline-offset: 3px; }
.folio .choice-board { background: transparent; border: 0; gap: clamp(20px,4vw,70px); }
.folio .choice-board figure { border-bottom: 2px solid var(--tone,var(--folio-accent)); }
.folio .choice-board > div { padding: 0; }
.folio .folio-tabs { gap: .35rem 1rem; border-bottom: 1px solid currentColor; }
.folio .folio-tabs button { border: 0; padding: .5rem .15rem; min-height: 44px; background: transparent; color: inherit; border-radius: 0; }
.folio .folio-tabs button[aria-pressed=true] { box-shadow: inset 0 -3px var(--folio-accent); font-weight: 700; }
.folio :is(.gauge,.folio-check) { border: 0; border-block: 1px solid currentColor; padding-inline: 0; }
.studio-archive .index-top { align-items: end; }
.studio-archive .filters button { min-height: 44px; border-radius: 0; }
.studio-archive .find-project input { background: transparent; min-height: 44px; }
.studio-archive .case-note summary { display: list-item; padding-block: .7rem; }
.ssi-reading .recorrido-indice { padding-inline: 0; background: transparent; }
.ssi-reading .mesa-cases, .ssi-reading .mesa-workbook { box-shadow: none; }
#contenido .stage-orbit, #contenido .round-mark, #contenido .hero-art:before { display: none; }
#contenido .highlight { background: none; }
#contenido .hero, #contenido .section { padding-block: var(--studio-section); }
#contenido .section-head { border-top: 1px solid var(--studio-rule); padding-top: 1.3rem; }
#contenido .guide-callout, #contenido .article-index { border: 0; border-block: 1px solid var(--studio-rule); background: transparent; border-radius: 0; padding-inline: 0; }
#contenido .course-program article, #contenido .course-history details { border: 0; border-top: 1px solid var(--studio-rule); padding-inline: 0; border-radius: 0; }
#contenido .hero-laptop { box-shadow: 0 8px 18px #131a1517; }
#contenido .service-list li { border-color: var(--studio-rule); }
body.receipt { --paper:var(--studio-page); --ink:var(--studio-ink); --display:Studio,Arial,sans-serif; }
body.proof .art { border-bottom-width: 2px; }
body.proof.office .lead-copy { border: 0; padding-left: 0; }
body.proof .piece { border-radius: 0; box-shadow: none; }
@media (min-width: 900px) {
  .folio.field-atlas, .folio.field-choice, .folio.field-study {
    display: grid; grid-template-columns: minmax(13rem,.62fr) minmax(0,1.9fr);
    gap: clamp(28px,4.5vw,86px); align-items: start;
  }
  .folio:is(.field-atlas,.field-choice,.field-study) .folio-heading h2 {
    font-size: clamp(36px,3.8vw,68px); line-height: 1.04;
  }
  .folio:is(.field-atlas,.field-choice,.field-study) :is(.atlas-board,.choice-board,.study-strip) {
    margin-top: 0; gap: clamp(18px,2.4vw,40px);
  }
  .studio-archive .project-group {
    display: grid; grid-template-columns: minmax(0,.52fr) minmax(0,1.8fr); gap: 3vw;
    align-items: start;
  }
  .studio-archive .project-group[hidden] { display: none; }
  .studio-archive .project-group > h3 { font-size: clamp(26px,2.9vw,54px); }
  .studio-archive .project-group .catalog {
    grid-template-columns: repeat(auto-fit,minmax(min(100%,15rem),1fr));
  }
}


/* The first screen pairs the studio name with its cast-glass emblem. */
.home-studio, .studio-archive, .ssi-reading, body:has(.site-header) {
  --studio-page: #f5f2eb;
  --studio-ink: #211f1c;
  --studio-rule: #ccc5bb;
  --studio-edge: clamp(20px, 4.3vw, 92px);
}
.home-studio { --cover-ink: #161513; --cover-type: #f8f2e7; }
.home-studio > header, .assembling .home-studio > header {
  height: auto; min-height: 64px; padding-block: 4px; background: var(--cover-ink);
  color: var(--cover-type); border: 0;
}
.home-studio > header a { color: inherit; }
.imprint-home { font: 400 14px/1.2 DM, Arial, sans-serif; }
.imprint-home span span { color: #ff9550; margin-inline: .33rem; }
.home-studio > header .contact-link { text-decoration-color: #e58b50; }
.brand-cover {
  background: var(--cover-ink); color: var(--cover-type); padding: 0 var(--studio-edge);
}
.brand-stage {
  position: relative; isolation: isolate; display: grid; align-items: center;
  min-height: clamp(405px, min(49vw, 74svh), 850px);
  border-top: 1px solid #49433a;
}
.brand-stage h1 {
  position: relative; z-index: 1; width: max-content; margin: 0 0 .025em -.065em;
  font: 700 clamp(120px, 15.8vw, 370px)/.84 DM,Arial,sans-serif;
  letter-spacing: -.069em; color: var(--cover-type);
}
.brand-stage h1 span { display: block; }
.brand-stage h1 span + span { margin-top: .06em; padding-left: .56em; }
.brand-glass {
  position: absolute; z-index: 2; right: 7%; top: 50%; width: auto; max-width: 39%;
  height: 83%; object-fit: contain; transform: translateY(-50%) rotate(13deg);
  pointer-events: none;
}
.brand-foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem;
  padding: clamp(16px,1.9vw,35px) 0 clamp(25px,2.7vw,50px);
  border-top: 1px solid #49433a;
}
.brand-foot p { margin: 0; max-width: 27ch; font: 400 clamp(18px,1.9vw,36px)/1.13 DM,Arial,sans-serif; letter-spacing: -.035em; text-wrap: balance; }
.brand-projects { display: inline-flex; gap: 1rem; align-items: center; min-height: 44px; color: inherit; font: 400 16px/1.2 DM,Arial,sans-serif; }
.brand-projects span { color: #ffa970; font: 24px/1 Arial,sans-serif; }
.brand-projects:hover { text-decoration: underline; text-underline-offset: .3em; }
.home-studio .project-reference { color: var(--studio-ink); background: transparent; }
.home-studio .project-reference > div { padding: 1rem 0; }
.home-studio .choice-sample { background: transparent; }
.home-studio .request-room, .home-studio .studio-sign, .workshop-collection,
.ssi-reading .ssi-contact, .ssi-reading footer, .studio-archive > footer { background: #211e1a; color: #f8f2e7; }
.studio-selection { padding-top: clamp(40px,5vw,95px); }
.selection-heading { border-top: 0; padding-top: 0; }
@media (max-width: 760px) {
  .home-studio > header { min-height: 55px; }
  .imprint-home, .home-studio > header nav > a { font-size: 13px; }
  .home-studio > header .imprint-home span span { margin-inline: .05rem; }
  .brand-stage { min-height: 0; height: clamp(370px, 99vw, 595px); align-items: start; padding-top: 8%; }
  .brand-stage h1 { font-size: clamp(82px,22vw,159px); }
  .brand-stage h1 span + span { padding-left: .09em; }
  .brand-glass { top: auto; bottom: 4%; right: 7%; height: 50%; max-width: 50%; transform: rotate(13deg); }
  .brand-foot { align-items: flex-start; }
  .brand-foot p { max-width: 21ch; font-size: clamp(17px,3.8vw,23px); }
  .brand-projects { font-size: 14px; gap: .4rem; white-space: nowrap; }
}
@media (max-width: 510px) {
  .home-studio > header nav > a[href="#estudio"] { display: none; }
  .brand-foot { flex-direction: column; gap: .5rem; padding-bottom: 12px; }
}

/* The glass casts light on the ground; the moving reflection is clipped to its silhouette. */
.brand-glass { aspect-ratio: 755 / 1080; }
.glass-float, .glass-surface, .glass-surface img, .glass-light { width: 100%; height: 100%; }
.glass-surface { position: relative; }
.glass-surface img { display: block; object-fit: fill; }
.glass-light {
  position: absolute; inset: 0; pointer-events: none;
  mask: url("assets/estudio-ambar.webp") center / 100% 100% no-repeat;
  background: radial-gradient(ellipse at var(--light-x,45%) var(--light-y,31%), #fff9dccc 0%, #ffc97755 6%, transparent 25%);
  mix-blend-mode: screen;
}
.brand-stage::before {
  content: ""; position: absolute; z-index: -1; right: 4%; bottom: 1%; width: 40%; height: 8%;
  background: radial-gradient(ellipse, #c36c254a, #a5521514 37%, transparent 71%);
}
.glass-pause {
  position: absolute; z-index: 3; right: 0; bottom: 0; width: 44px; height: 44px;
  display: grid; place-items: center; padding: 0; border: 0;
  background: transparent; color: #edccab; cursor: pointer;
}
.glass-pause[hidden] { display: none; }
.glass-pause span { width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.glass-pause[data-paused] span {
  width: 0; height: 0; border: 6px solid transparent; border-left: 9px solid currentColor;
  border-right: 0;
}
.glass-pause:hover, .glass-pause:focus-visible { color: white; }
@media (prefers-reduced-motion: no-preference) {
  .glass-surface { transform: translateY(var(--glass-travel,0px)) rotate(var(--glass-turn,0deg)); }
  .glass-float { animation: studio-suspend 5.6s ease-in-out infinite; animation-play-state: paused; }
  [data-glass-live] .glass-float { animation-play-state: running; }
  @keyframes studio-suspend {
    0%,100% { transform: translateY(3px) rotate(-.6deg); }
    50% { transform: translateY(-9px) rotate(1deg); }
  }
}
@media (max-width:760px) {
  .brand-stage::before { width: 52%; right: 0; bottom: 0; }
}

/* Shared studio surfaces: a dark opening, paper for reading and amber at the point of action. */
:root {
  --studio-night: #161513;
  --studio-cream: #f8f2e7;
  --studio-amber: #ff9a54;
  --studio-rust: #93431a;
}
.studio-archive > header, .studio-archive .mast, .ssi-reading > .ssi-head,
.ssi-reading .ssi-intro, body .site-header, #contenido > .hero {
  background: var(--studio-night); color: var(--studio-cream); border-color: #49433a;
}
.studio-archive .brand { mix-blend-mode: normal; }
.studio-archive > header a, .ssi-reading .ssi-head nav > a, .site-header .nav-list a { color: inherit; }
.ssi-reading .ssi-crumb { color: #dfc5ae; }
.studio-archive .mast { padding-bottom: clamp(36px,5vw,82px); }
.studio-archive .mast h1 { line-height: .96; }
.ssi-reading .ssi-intro {
  max-width: none; padding-inline: max(var(--studio-edge), calc((100% - 77rem)/2));
  margin-bottom: clamp(32px,5vw,76px);
}
.ssi-reading .ssi-intro img { border-bottom: 2px solid var(--studio-amber); }
body:has(.site-header) { background: var(--studio-page); --paper:var(--studio-page); }
.site-header .brand img { filter: brightness(0) invert(1); }
.site-header .menu-toggle, .site-header .nav-list li:last-child a { color: inherit; border-color: #a48f78; }
.site-header .nav-list a:is(:hover,:focus-visible) { color: var(--studio-amber); }
#contenido > .hero {
  width: 100%; max-width: none; padding-inline: max(var(--studio-edge), calc((100% - 76rem)/2));
}
#contenido > .hero :is(h1,h2,.lead,.eyebrow,.text-link) { color: inherit; }
#contenido > .hero .accent { color: var(--studio-amber); }
#contenido > .hero .button { background: transparent; color: var(--studio-cream); border-color: #c4b8aa; }
#contenido > .hero .button.primary { background: var(--studio-cream); color: var(--studio-night); }
.site-footer, body > footer[data-studio-footer], body .ssi-related {
  background: var(--studio-night); color: var(--studio-cream);
}
body > footer[data-studio-footer] {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 30px; padding: clamp(20px,3vw,48px) var(--studio-edge); border-top: 1px solid #554332;
}
footer[data-studio-footer] > a { color: inherit; text-decoration-color: var(--studio-amber); }
footer[data-studio-footer] .studio-return { display: inline-flex; align-items: center; min-height: 44px; border: 0; }
.studio-return img { width: 104px; height: 52px; object-fit: contain; mix-blend-mode: normal; }
.project-screen {
  display: grid; place-items: center; overflow: hidden; aspect-ratio: 1.65;
  padding: clamp(16px,2.4vw,48px); background: #d7c8b3;
}
.selection-projects article:nth-child(2) .project-screen { background: #423c35; }
.selection-projects .project-screen img { aspect-ratio: auto; width: auto; max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; background: transparent; }
.home-studio .selection-heading h2 { font-size: clamp(39px,5.9vw,100px); font-weight: 700; letter-spacing: -.065em; }
.home-studio .goal-tile input:checked + span { background: #f1dfca; }
.home-studio .goal-tile input:checked + span:after { background: var(--studio-rust); border-color: var(--studio-rust); }
.studio-archive .filters [aria-pressed=true] { box-shadow: inset 0 -2px var(--studio-rust); }
.home-studio .submit-request, .ssi-reading .ssi-contact a { background: var(--studio-cream); color: var(--studio-night); border-color: var(--studio-cream); }
body .site-footer .eyebrow { color: var(--studio-amber); }
@media (prefers-reduced-motion:no-preference) {
  .project-screen img { transition: transform 480ms cubic-bezier(.2,.8,.2,1); }
  .selection-projects a:is(:hover,:focus-visible) .project-screen img { transform: scale(1.03); }
  
  
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .glass-light { background: radial-gradient(ellipse at 45% 31%, #fff0bf66, transparent 22%); }
}

/* The archive opens like a pair of displays: the warm rim catches the light on entry. */
.project-screen { position: relative; }
.project-screen::after {
  content: ""; position: absolute; pointer-events: none; inset: auto 0 0;
  height: 3px; background: linear-gradient(90deg, #93431a, #ef9c55 62%, #ffe1a6 92%, transparent);
}
@media (prefers-reduced-motion:no-preference) {
  
}
.home-studio .intent-options { border-bottom: 1px solid var(--studio-rule); }
.home-studio .intent, .home-studio .sector-shelf { color: var(--studio-ink); background: var(--studio-page); }
.home-studio .sector-shelf a, .home-studio .selection-heading a, .ssi-reading .ssi-copy a {
  text-decoration-color: var(--studio-rust); text-underline-offset: .22em;
}
.home-studio .request-room { background: var(--studio-night); border-top: 2px solid #aa5a2c; }
.home-studio .request-room :is(input:not([type=hidden]),textarea):focus { outline-color: var(--studio-amber); }
.studio-archive .studio-note, .ssi-reading .ssi-sheet { border-color: #b98b62; }
body .site-footer { color: var(--studio-cream); }
body .site-footer a { text-decoration-color: var(--studio-amber); }
@media (prefers-reduced-motion: reduce) {
  .brand-stage .glass-pause { display: none; }
}
#contenido > .hero { --muted: #d7cebf; }
#contenido > .hero :is(figcaption,.demo-note) { color: var(--muted); }
#contenido > .content-narrow:first-child > h1 {
  padding-bottom: .28em; border-bottom: 2px solid var(--studio-rust);
  font-weight: 700; letter-spacing: -.055em;
}
#contenido .contact-wizard .progress-track > span { background: var(--studio-rust); }
.site-header .brand img { content: url("assets/logo-light.png"); filter: none; }

/* The studio and its archive read as a photographic catalogue. */
:root {
  --catalog-paper: #f8f9fa;
  --catalog-ink: #191b1d;
  --catalog-rule: #c8cacc;
  --catalog-accent: #a24421;
}
.home-studio, .studio-archive, .ssi-reading, body:has(.site-header) {
  --studio-page: var(--catalog-paper); --studio-ink: var(--catalog-ink);
  --studio-edge: clamp(18px,4vw,82px); --studio-rule: var(--catalog-rule);
}
.home-studio > .edition-nav, .studio-archive > .edition-nav, .ssi-reading > .ssi-head, body .site-header {
  background: var(--catalog-paper); color: var(--catalog-ink); min-height: 60px;
  height: auto; border: 0; border-bottom: 1px solid var(--catalog-rule); padding-block: 4px;
}
.edition-name { font: 700 clamp(20px,1.9vw,36px)/1 DM,Arial,sans-serif; letter-spacing: -.075em; }
.edition-name::before {
  content: ""; width: .56em; height: .79em; margin-right: .25em;
  background: url(assets/estudio-ambar.webp) center / contain no-repeat;
}
.edition-nav nav { gap: clamp(12px,2.4vw,40px); }
.edition-nav .contact-link { text-decoration-color: var(--catalog-accent); }
.home-studio .edition-intro {
  position: relative; display: flex; align-items: center; min-height: 0; height: auto;
  padding: clamp(30px,3.8vw,72px) var(--studio-edge) clamp(24px,3vw,60px); border: 0;
  color: var(--catalog-ink); background: var(--catalog-paper); overflow: clip;
}
.edition-title > p, .archive-intro > p { font: 400 clamp(14px,1.1vw,18px)/1.2 DM,Arial,sans-serif; margin-bottom: .95em; }
.edition-intro .edition-title h1 {
  font: 700 clamp(64px,7.8vw,142px)/.93 DM,Arial,sans-serif;
  letter-spacing: -.077em; color: inherit; margin: 0; width: auto;
}
.edition-intro h1 em, .ledger-heading h2 em { font: italic 400 1.06em/.96 Georgia,serif; letter-spacing: -.075em; }
.edition-intro .brand-glass { right: 15%; top: 50%; bottom: auto; height: 75%; max-width: 28%; transform: translateY(-50%) rotate(16deg); }
.edition-intro::before { right: 10%; bottom: 4%; width: 22%; }
.edition-intro .glass-pause { right: var(--studio-edge); bottom: 8px; color: var(--catalog-accent); }
.experience-gallery { padding: 0 var(--studio-edge) clamp(52px,6.8vw,110px); }
.gallery-heading {
  border-top: 1px solid var(--catalog-ink); padding: 13px 0 15px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
.gallery-heading h2, .gallery-heading p { font: 400 clamp(14px,1.15vw,19px)/1.2 DM,Arial,sans-serif; margin: 0; }
.gallery-heading h2 { font-weight: 700; }
.gallery-heading p { color: #665d53; }
/* Each cover uses its portfolio artwork. The index varies scale in pairs and triptychs. */
.cover-selection {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  align-items: end;
  gap: clamp(24px,3.8vw,64px) clamp(12px,1.8vw,32px);
}
.cover-selection .entry { grid-column: span 4; min-width: 0; }
.cover-selection :is(.e-patio,.e-cauce) { grid-column: span 7; }
.cover-selection :is(.e-aguja,.e-barro) { grid-column: span 5; }
.cover-selection .tile, .ledger-entry .tile { aspect-ratio: 1.75; container-type: inline-size; isolation: isolate; }
.cover-selection .e-aguja .signature { text-transform: uppercase; }
.cover-sector { display: block; padding-block-start: 9px; color: #464746; font: 400 clamp(14px,1.1vw,18px)/1.35 DM,Arial,sans-serif; }
.cover-selection a:is(:hover,:focus-visible) .cover-sector { text-decoration: underline; text-underline-offset: .25em; }
@media (max-width:950px) {
  .cover-selection { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cover-selection .entry { grid-column: auto; }
}
@media (max-width:580px) {
  .cover-selection { grid-template-columns: minmax(0,1fr); gap: 25px; }
}
.product-ledger, .studio-practice {
  padding: clamp(44px,6vw,104px) var(--studio-edge); display: grid;
  grid-template-columns: minmax(0,.82fr) minmax(0,1.3fr); gap: clamp(24px,5vw,110px);
}
.product-ledger { color: #fcf6eb; background: #27231f; }
.ledger-heading h2 { font: 700 clamp(43px,5.45vw,105px)/.94 DM,Arial,sans-serif; letter-spacing: -.07em; margin-bottom: 24px; }
.archive-link, .studio-practice a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: underline; text-underline-offset: .27em; }
.ledger-entry {
  color: inherit; display: grid; grid-template-columns: 1fr minmax(70px,23%) auto;
  gap: clamp(12px,2vw,34px); align-items: center; padding: clamp(15px,1.8vw,32px) 0;
  border-top: 1px solid #6d6357;
}
.ledger-entry strong, .ledger-entry small, .ledger-entry span span { display: block; }
.ledger-entry strong { font: 700 clamp(24px,2.55vw,47px)/1.15 DM,Arial,sans-serif; letter-spacing: -.055em; }
.ledger-entry small { color: #e5b994; font-size: 13px; }
.ledger-entry span span { font: 400 clamp(14px,1.04vw,17px)/1.4 DM,Arial,sans-serif; margin-top: .35em; }
.ledger-entry b { color: #ffb87d; font-weight: 400; }

.studio-practice { border-bottom: 1px solid var(--catalog-rule); }
.studio-practice h2 { font: 700 16px/1.2 DM,Arial,sans-serif; margin-bottom: 16px; }
.studio-practice > div:first-child p { font: 400 clamp(32px,3.65vw,66px)/1.02 Georgia,serif; letter-spacing: -.05em; }
.studio-practice > div + div { max-width: 44ch; align-self: end; }
.studio-practice > div + div p { font-size: clamp(16px,1.32vw,23px); line-height: 1.45; }
.studio-practice a { font-weight: 700; margin-top: .7rem; }
.archive-intro { padding: clamp(32px,5vw,88px) var(--studio-edge) 0; }
.archive-intro h1 { font: 700 clamp(76px,13vw,230px)/.92 DM,Arial,sans-serif; letter-spacing: -.08em; }
.archive-intro h1 span { color: var(--catalog-accent); }
.studio-archive .archive { padding-top: clamp(28px,4vw,70px); }
.studio-archive .index-top { padding-top: 16px; border-top: 1px solid var(--catalog-ink); }
.studio-archive .index-top h2 { font-size: clamp(24px,2.6vw,46px); letter-spacing: -.045em; }
.studio-archive .project-group > h3 { font-family: Georgia,serif; font-weight: 400; }
.home-studio .bench-bar .bench-project { padding: 8px; text-decoration: underline; color: inherit; }
.home-studio .bench-bar strong { margin-right: auto; }
.home-studio .bench-bar { gap: 8px; }
.site-header .brand img { content: normal; filter: none; }
.site-header .nav-list a:is(:hover,:focus-visible) { color: var(--catalog-accent); }
.ssi-reading > .ssi-head img { content: url("assets/logo-dark.png"); }
.ssi-reading .ssi-intro, #contenido > .hero {
  color: var(--catalog-ink); background: var(--catalog-paper); --muted: #625a4f;
  border-bottom: 1px solid var(--catalog-rule);
}
.ssi-reading .ssi-crumb { color: #554c40; }
.ssi-reading .ssi-intro img { border-bottom: 0; }
#contenido > .hero .accent { color: var(--catalog-accent); }
#contenido > .hero .button { background: transparent; color: var(--catalog-ink); border-color: #62594e; }
#contenido > .hero .button.primary { background: var(--catalog-ink); color: var(--catalog-paper); }
@media (prefers-reduced-motion:no-preference) {
  .ledger-entry:is(:hover,:focus-visible) strong { text-decoration: underline; text-underline-offset: .18em; }
}
@media (max-width:760px) {
  .home-studio > .edition-nav, .studio-archive > .edition-nav { min-height: 56px; }
  .edition-nav nav { gap: 12px; }
  .edition-nav nav > a, .edition-nav nav summary { font-size: 13px; }
  .edition-intro .edition-title h1 { font-size: clamp(44px,8.6vw,65px); }
  .edition-intro .brand-glass { right: 10%; height: 60%; max-width: 19%; }
  .edition-intro .glass-pause { bottom: 0; right: 1%; }
  .product-ledger,.studio-practice { grid-template-columns: 1fr; gap: 22px; }
  .ledger-heading h2 { margin-bottom: 8px; }
}
@media (max-width:510px) {
  .edition-nav nav > a[href="#seleccion"], .edition-nav nav > a[href="index.html#seleccion"] { display:none; }
  .edition-name { font-size: 21px; }
  .edition-intro .edition-title h1 { font-size: clamp(41px,10.4vw,53px); }
  .home-studio .edition-intro { padding-top: 24px; padding-bottom: 26px; }
  .edition-intro .brand-glass { right: 10%; height: 54%; }
  .gallery-heading { flex-wrap: wrap; gap: 4px 8px; }
  .gallery-heading p { font-size: 12px; }
}
.next-experience {
  box-sizing: border-box; display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem;
  padding: clamp(32px,5vw,88px) var(--studio-edge,5vw);
  background: var(--catalog-paper); color: var(--catalog-ink); font: 400 15px/1.35 DM,Arial,sans-serif;
}
.next-experience a { display: block; color: inherit; text-decoration: none; }
.next-experience a:first-child, .reading-example { text-decoration: underline; text-underline-offset: .25em; }
.next-experience a:last-child { min-width: min(45%,24rem); }
.next-experience strong { display: block; font: italic 400 clamp(36px,5.2vw,86px)/1.07 Georgia,serif; letter-spacing: -.06em; }
.next-experience span { display: inline-block; margin-top: .5rem; }
.next-experience small { color: #625a4f; font: inherit; }
.inside-bench .next-experience { display: none; }
.ssi-reading .reading-example { display: inline-flex; align-items: center; min-height: 44px; margin-top: .8rem; font-weight: 700; }
.home-studio .sector-shelf { padding: clamp(36px,4.7vw,72px) var(--studio-edge); }
.home-studio .sector-shelf h2, .home-studio .commission h2 { letter-spacing: -.06em; }
.home-studio .intent { border-top: 1px solid var(--catalog-rule); }
.home-studio .request-room { border-top: 0; }
@media (max-width:510px) {
  .next-experience { flex-direction: column-reverse; align-items: flex-start; }
}
@media (max-width:510px) {
  .edition-intro .brand-glass { top: auto; right: 15%; bottom: 11%; height: 32%; transform: rotate(12deg); }
  .edition-intro::before { bottom: 5%; right: 10%; }
  .edition-intro .edition-title h1 { line-height: 1.01; }
}

/* A pinned film shot, with the project index immediately after the shot. */
.home-studio > header.identity-cover {
  --frame-height: max(470px, 100svh);
  display: block;
  position: relative;
  height: auto;
  min-height: 0;
  padding: 0;
  margin: 0;
  color: #fffcf6;
  background: #13090c;
  border: 0;
}
.home-studio > header.identity-cover[data-scrub] { height: calc(var(--frame-height) + 65svh); }
.identity-frame {
  position: sticky;
  top: 0;
  height: var(--frame-height);
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: clamp(14px, 2vh, 30px) var(--studio-edge) clamp(18px, 3.4vh, 40px);
}
.identity-film, .identity-film :is(img,video,canvas), .identity-film::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.identity-film { overflow: hidden; z-index: -1; }
.identity-film :is(img,video,canvas) { object-fit: cover; object-position: 55% 60%; }
.identity-film video { opacity: 0; }
.identity-film video[data-ready] { opacity: 1; }
.identity-film::after {
  content: "";
  background: linear-gradient(180deg, #11070a96, transparent 26%, transparent 75%, #12080beb),
              linear-gradient(90deg, #15080c 2%, #15080cd1 18%, #15080c22 51%, transparent 66%);
}
.identity-head, .identity-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.identity-head { position: relative; z-index: 1; border-bottom: 1px solid #fff6; padding-bottom: .35rem; }
.identity-head p, .identity-head nav, .identity-foot a { font: 400 clamp(14px,1.08vw,18px)/1.25 DM,Arial,sans-serif; }
.identity-cover .identity-head nav { display: flex; align-items: center; gap: clamp(14px,2.4vw,36px); }
.identity-head nav a, .identity-head .ssi-menu summary, .identity-foot a { color: inherit; }
.identity-head .ssi-menu > div { background: #fffcf6; color: #16120e; right: 0; }
.identity-head nav a:hover, .identity-head nav summary:hover { text-decoration: underline; text-underline-offset: .24em; }
.identity-cover h1 {
  margin: .11em 0 0 -.046em;
  font: 700 clamp(38px, 15.75vw, 460px)/.93 DM,Arial,sans-serif;
  letter-spacing: -.083em;
  white-space: nowrap;
  color: inherit;
}
.identity-foot { margin-top: auto; }
.identity-foot .film-project {
  display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: .3em; min-height: 48px; color: #fff8f1;
}
.film-project span { font-size: 13px; }
.film-project strong { font: 400 clamp(17px,1.6vw,27px)/1.2 DM,Arial,sans-serif; letter-spacing: -.025em; }
.film-project:is(:hover,:focus-visible) strong { text-decoration: underline; text-underline-offset: .24em; }
.film-toggle { display: grid; place-items: center; color: inherit; width: 44px; height: 44px; background: #120d0a60; border: 1px solid #fff7; border-radius: 50%; }
.film-toggle span { height: 12px; width: 8px; border-inline: 2px solid currentColor; }
.film-toggle[data-paused] span { height: 0; width: 0; border: 5px solid transparent; border-right: 0; border-left: 8px solid currentColor; transform: translateX(1px); }
.home-studio .experience-gallery { padding-top: clamp(22px,3.8vw,64px); }
.home-studio .gallery-heading { border: 0; padding: 0 0 clamp(16px,2vw,32px); }
.home-studio .gallery-heading h2 { font: 700 clamp(28px,3.7vw,68px)/1.03 DM,Arial,sans-serif; letter-spacing: -.06em; }
.home-studio .ledger-entry { grid-template-columns: 1fr minmax(70px,25%); }
.home-studio .ledger-heading h2 { max-width: 9ch; }
.home-studio .product-ledger { background: #222426; }
.home-studio .ledger-entry { border-color: #505458; }
@media (min-width:741px) and (min-aspect-ratio:4/5) {
  .identity-film :is(img,video,canvas) { inset-inline-start: 16%; width: 91%; object-position: 54% 52%; mask-image: linear-gradient(90deg,transparent,#000 16%); }
  .identity-cover h1 { margin-top: auto; font-size: min(12.6vw,25vh); line-height: .93; }
  .identity-cover h1 span { display: block; }
  .identity-cover h1 span + span { margin-left: .25em; }
}
@media (max-width:740px), (max-aspect-ratio:4/5) {
  .home-studio > header.identity-cover { --frame-height: max(455px,100svh); }
  .identity-cover h1 { font-size: 15vw; margin-top: .2em; }
  .identity-head p { max-width: 14ch; }
  .identity-head nav:has(.ssi-menu) { position: static; }
  .identity-head .ssi-menu > div { left: 0; right: 0; }
  .home-studio > header.identity-cover nav:has(.ssi-menu) > a { display: inline-flex; }
  .identity-film :is(img,video,canvas) { top: 24%; height: 74%; object-position: 54% center; }
  .identity-film::after { background: linear-gradient(180deg,#13090c 18%,#13090c 22%,transparent 42%,transparent 73%,#13090c 97%); }
}
@media (max-aspect-ratio:4/5) and (min-height:570px) {
  .identity-cover h1 { font-size: clamp(70px,23vw,118px); line-height: .98; margin-top: .25em; }
  .identity-cover h1 span { display: block; }
  .identity-cover h1 span + span { margin-left: .56em; }
}
@media (max-width:370px) {
  .identity-cover .identity-head nav { gap: 9px; }
  .identity-head .ssi-menu summary { padding-inline: .35rem; }
}
@media (prefers-reduced-motion: reduce) {
  .identity-frame { position: relative; }
}

@media (prefers-reduced-motion:no-preference) {
  .identity-film :is(img,video,canvas) {
    transform-origin:54% 60%;
    transform: translateY(calc(var(--hero-progress,0)*-3%)) scale(calc(1 + var(--hero-progress,0)*.22));
  }
  .identity-cover h1 {
    translate:0 calc(var(--hero-progress,0)*-6svh);
    opacity:calc(1 - var(--hero-progress,0)*.54);
  }
  .identity-cover h1 span + span { position:relative; left:calc(var(--hero-progress,0)*2vw); }
}
