@import url("./fuentes/fuentes.css");
@import url("./simulador.css");
@import url("./muestrario.css");

:root {
  --paper: #f6f3e9;
  --ink: #152b29;
  --soft: #435651;
  --line: #b9c0b3;
  --red: #f05b3d;
  --green-paper: #e5e9dc;
  --gutter: clamp(20px, 4.6vw, 82px);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: Archivo, Arial, sans-serif;
  --mono: "Courier New", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .19em; }
button, input, textarea { font: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #9e361e; outline-offset: 5px; }
::selection { background: #f5b69d; color: var(--ink); }
.skip { position: absolute; left: 1rem; top: -6rem; color: white; background: var(--ink); padding: 12px; z-index: 3; }
.skip:focus { top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.page-width, .section-pad, .editor-credit, .masthead-row { width: min(1500px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.label, .eyebrow, .section-number, .folio, .edition-mark figcaption, .cover-plate figcaption > span:last-child { font: 700 11px/1.35 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.label { display: block; margin: 0; }
.masthead { border-bottom: 1px solid var(--line); }
.masthead-row { display: flex; align-items: center; justify-content: space-between; min-height: 79px; gap: 28px; }
.signature { display: block; width: 126px; flex-shrink: 0; }
.signature img { width: 100%; height: auto; }
.masthead nav { display: flex; align-items: center; gap: clamp(20px,3vw,48px); }
.masthead nav a { font-size: 14px; font-weight: 580; text-decoration: none; }
.masthead nav a:hover, .masthead nav [aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }
.nav-contact, .button-ink, .button-paper, .pill, .form-actions button { display: inline-flex; justify-content: space-between; align-items: center; gap: 24px; padding: 13px 19px; min-height: 44px; border-radius: 3px; font: 650 14px/1.2 var(--sans); text-decoration: none; cursor: pointer; }
.nav-contact { border: 1px solid var(--ink); padding: 10px 15px; min-height: 40px; }
.button-ink, .pill, .form-actions button { border: 1px solid var(--ink); background: var(--ink); color: var(--paper); }
.nav-contact:hover, .button-ink:hover, .pill:hover { background: var(--red); color: var(--ink); }
.button-paper { background: var(--paper); color: var(--ink); }
.button-paper:hover { background: #e2e9af; }
.cover { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); align-items: center; gap: clamp(25px,4vw,80px); padding-block: clamp(37px,4vw,83px) clamp(23px,3vw,61px); }
.cover-copy { padding-bottom: 25px; }
.cover-label { display: flex; align-items: center; gap: 10px; }
.cover-label i { width: 9px; height: 9px; flex-shrink: 0; border-radius: 50%; background: var(--red); }
.cover h1, .spread-head h2, .colophon-top p { font: 400 clamp(78px,9.35vw,178px)/.83 var(--serif); letter-spacing: -.045em; margin: .29em 0 .23em; }
.cover h1 em, .spread-head h2 em, .colophon-top em { font-weight: 400; }
.cover-deck { font-size: clamp(17px,1.4vw,23px); line-height: 1.43; letter-spacing: -.019em; max-width: 36ch; margin: 24px 0; }
.cover-identity { margin: 15px 0 0; color: var(--soft); font-size: 13px; line-height: 1.4; }
.cover-identity a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cover-plate { margin: 0; min-width: 0; }
.print-frame { background: var(--red); aspect-ratio: 4/3; overflow: hidden; }
.print-frame img { width: 100%; height: 100%; object-fit: cover; }
.cover-plate figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--ink); }
.cover-plate figcaption span:first-child { font: italic 20px/1.05 var(--serif); }
.cover-plate figcaption b { font: 700 11px var(--mono); margin-right: 5px; }
.cover-plate figcaption > span:last-child { font-size: 9px; }
.home-offer { border-top: 1px solid var(--ink); padding: clamp(40px,4.5vw,80px) 0 clamp(60px,7vw,110px); }
.spread-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 38px; }
.spread-head h2 { font-size: clamp(58px,6.8vw,112px); margin: .2em 0 0; line-height: .97; }
.ink-dot { color: #bc4126; }
.line-label { color: var(--soft); }
.rule-link { display: inline-flex; align-items: center; font-weight: 650; font-size: 14px; line-height: 1.3; gap: 16px; text-decoration: none; border-bottom: 1px solid; padding: 6px 0; }
.rule-link:hover, .note-action:hover { border-bottom-width: 2px; }
.work-row { display: grid; grid-template-columns: 52px minmax(0,1.2fr) minmax(0,.9fr) 48px; align-items: center; gap: 20px; padding: 21px 0; text-decoration: none; border-top: 1px solid var(--line); }
.work-row:last-child { border-bottom: 1px solid var(--line); }
.work-row h3, .note-card h3, .related-list strong { font-weight: 570; letter-spacing: -.045em; line-height: 1.08; }
.work-row h3 { font-size: clamp(24px,2.65vw,44px); margin: 0; }
.work-row p { color: var(--soft); line-height: 1.4; margin: 0; max-width: 35ch; }
.arrow { justify-self: end; font-size: 23px; }
.work-row:hover h3, .note-card:hover h3, .related-list a:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.journal { background: var(--green-paper); padding: clamp(60px,7vw,110px) 0; }
.notes-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(18px,2.3vw,38px); }
.note-card { text-decoration: none; display: flex; flex-direction: column; align-items: start; }
.card-image { width: 100%; overflow: hidden; border: 1px solid rgba(21,43,41,.18); }
.card-image img { width: 100%; height: auto; transition: transform .24s ease-out; }
.note-card:hover img { transform: scale(1.035); }
.note-card small { font-size: 10px; margin: 19px 0 9px; }
.note-card h3 { font-size: clamp(23px,2.15vw,37px); margin: 0; max-width: 23ch; }
.note-card p { font-size: 15px; line-height: 1.5; margin: 11px 0 18px; }
.note-action { margin-top: auto; font-size: 13px; font-weight: 650; border-bottom: 1px solid; }
.note-action span { margin-left: 7px; }
.colophon { background: var(--ink); color: var(--paper); padding: clamp(50px,6.5vw,105px) var(--gutter) 30px; }
.colophon-top, .colophon-bottom { max-width: 1500px; margin-inline: auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.colophon-top { padding-bottom: clamp(40px,5vw,80px); }
.colophon-top p { font-size: clamp(57px,7vw,120px); margin: .22em 0 0; }
.colophon-top p em { color: #efd3ad; }
.colophon-bottom { border-top: 1px solid #81918b; padding-top: 23px; align-items: end; font-size: 12px; }
.colophon-bottom .signature { width: 94px; }
.breadcrumb { display: flex; gap: 10px; color: var(--soft); font-size: 13px; }
.inner-opening { border-bottom: 1px solid var(--line); padding: 22px 0 clamp(40px,5vw,85px); }
.opening-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px,16%); align-items: center; gap: clamp(25px,5vw,80px); margin-top: clamp(34px,4.5vw,76px); }
.opening-grid h1, .inner-hero h1 { font: 400 clamp(50px,6.4vw,112px)/.98 var(--serif); letter-spacing: -.035em; margin: .21em 0; text-wrap: balance; }
.opening-deck { max-width: 57ch; font-size: clamp(18px,1.55vw,25px); line-height: 1.44; margin: 20px 0 0; color: var(--soft); }
.opening-grid .rule-link { margin-top: 15px; }
.edition-mark { margin: 0; text-align: right; }
.edition-mark img { width: 100%; height: auto; }
.edition-mark figcaption { font-size: 9px; margin-top: 6px; }
.family-contacto .edition-mark img, .family-estudio .edition-mark img { width: clamp(72px,7vw,106px); margin-left: auto; }
.editor-credit { padding: 16px 0; color: var(--soft); font-size: 13px; }
.contents { border-block: 1px solid var(--line); padding: 11px 0; }
.contents summary { cursor: pointer; font-size: 14px; font-weight: 650; padding: 4px 0; }
.contents summary span { margin-left: 10px; color: var(--soft); font: 11px var(--mono); }
.contents ol { padding-inline-start: 28px; max-width: 70ch; }
.contents ol li { margin-block: 6px; }
.family-guias { background: #eef0e4; }
.family-metodo { background: #ebece4; }
.content-section, .contact-section { display: grid; grid-template-columns: minmax(125px,.47fr) minmax(0,1.5fr); gap: clamp(20px,4vw,66px); border-bottom: 1px solid var(--line); padding: clamp(36px,4.6vw,76px) 0; }
.content-section > div:nth-child(2), .brief { max-width: 820px; }
.section-number { color: var(--soft); padding-top: 7px; }
.content-section h2 { max-width: 24ch; font: 400 clamp(34px,3.8vw,65px)/1.04 var(--serif); letter-spacing: -.024em; margin: 0 0 18px; }
.content-section p, .content-section li { font-size: clamp(16px,1.24vw,20px); line-height: 1.65; max-width: 71ch; white-space: pre-line; }
.content-section p { margin: 0 0 16px; }
.content-section ul { margin: .6em 0 0; padding-left: 1.2em; }
.content-section li + li { margin-top: .45em; }
.related { padding: 45px 0 65px; }
.eyebrow { display: flex; justify-content: space-between; color: var(--soft); }
.related-list { margin-top: 20px; }
.related-list a { display: grid; grid-template-columns: minmax(120px,.5fr) minmax(0,1.4fr) 28px; text-decoration: none; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding: 17px 0; }
.related-list a:last-child { border-bottom: 1px solid var(--line); }
.related-list span { font: 700 11px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--soft); }
.related-list strong { font-size: clamp(20px,2vw,32px); }
.related-list b { font-size: 19px; text-align: right; }
.brief { width: 100%; }
.form-intro { font: 400 clamp(30px,3.1vw,52px)/1.07 var(--serif); margin: 0 0 30px; }
.brief label { display: block; font-size: 14px; font-weight: 650; margin: 0 0 20px; }
.brief input, .brief textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid #8c9a90; border-radius: 2px; background: #fcfaf4; color: var(--ink); font: 400 17px/1.5 var(--sans); }
.brief textarea { resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.form-actions .secondary { color: var(--ink); background: transparent; }
.form-actions button:disabled { opacity: .5; cursor: default; }
.form-note, #form-status { color: var(--soft); font-size: 13px; }
.budget { margin-top: 20px; }
.budget-head, .budget-row { display: grid; grid-template-columns: minmax(92px,1.45fr) repeat(2,minmax(0,1fr)); gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.budget-head { font: 650 11px var(--mono); }
.budget-row > span { font-size: 14px; font-weight: 600; }
.budget-row input { width: 100%; padding: 10px 8px; color: var(--ink); border: 1px solid #8c9a90; background: #fcfaf4; border-radius: 2px; font-size: 16px; }
.budget-row input:invalid { border-color: #9e361e; }
.budget-result { background: var(--green-paper); padding: 18px; margin: 20px 0; }
.budget-result p { margin: 0; }
.budget .form-note { font-size: 13px; }
.inner-hero { padding: 70px 0; }
.inner-hero h1 { margin-block: 35px; }

@media (max-width: 850px) {
  .masthead-row { gap: 14px; }
  .masthead nav { gap: 17px; }
  .cover { grid-template-columns: minmax(0,.93fr) minmax(0,1.07fr); gap: 22px; }
  .cover h1 { font-size: clamp(68px,9.7vw,90px); }
  .work-row { grid-template-columns: 30px minmax(0,1.05fr) minmax(0,.9fr) 20px; gap: 14px; }
}
@media (max-width: 670px) {
  .masthead-row { display: grid; grid-template-columns: 1fr auto; gap: 0; padding-top: 13px; }
  .signature { width: 101px; }
  .nav-contact { grid-column: 2; grid-row: 1; min-height: 35px; font-size: 12px; }
  .masthead nav { grid-row: 2; grid-column: 1/-1; justify-content: space-between; gap: 12px; margin-top: 9px; }
  .masthead nav a { display: inline-flex; align-items: center; min-height: 37px; font-size: 13px; }
  .cover { grid-template-columns: 1fr; gap: 24px; padding-block: 29px 25px; }
  .cover-copy { padding: 0; }
  .cover-label, .line-label { font-size: 10px; }
  .cover h1 { font-size: clamp(76px,18vw,112px); margin: .23em 0 .17em; }
  .cover-deck { font-size: 16px; max-width: 42ch; margin: 15px 0; }
  .cover-plate figcaption span:first-child { font-size: 17px; }
  .cover-plate figcaption > span:last-child { font-size: 8px; }
  .spread-head { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 21px; }
  .spread-head h2 { font-size: clamp(49px,12vw,75px); }
  .work-row { grid-template-columns: 22px minmax(0,1fr) 20px; row-gap: 4px; }
  .work-row .folio { align-self: start; padding-top: 6px; font-size: 10px; }
  .work-row p { grid-column: 2; font-size: 14px; }
  .work-row .arrow { grid-column: 3; grid-row: 1; font-size: 19px; }
  .notes-grid { grid-template-columns: 1fr; gap: 34px; }
  .note-card small { margin-top: 14px; }
  .note-card h3 { font-size: 29px; max-width: 28ch; }
  .colophon-top, .colophon-bottom { flex-wrap: wrap; align-items: start; }
  .colophon-top p { font-size: clamp(52px,12vw,77px); }
  .colophon-bottom { gap: 13px 24px; align-items: center; }
  .colophon-bottom span { width: calc(100% - 121px); }
  .opening-grid { grid-template-columns: 1fr; margin-top: 26px; }
  .edition-mark { display: none; }
  .opening-grid h1, .inner-hero h1 { font-size: clamp(45px,10.7vw,66px); text-wrap: initial; }
  .opening-deck { font-size: 17px; margin-top: 14px; }
  .content-section, .contact-section { grid-template-columns: 1fr; gap: 16px; }
  .section-number { padding: 0; }
  .related-list a { grid-template-columns: minmax(0,1fr) 20px; gap: 6px 12px; }
  .related-list span { grid-column: 1/-1; }
  .related-list strong { font-size: 23px; }
  .budget-head, .budget-row { gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto; transition: none !important; }
}

