/* ==========================================================================
   NEWPROTECT — Corporativo + atención
   Historia (.his-) · Filosofía (.fil-) · Experiencia (.exp-) · Madrid (.mad-)
   Contacto (.con-) · Preguntas frecuentes (.pf-)   —  .co- = piezas compartidas
   Solo líneas finas, sin sombras, sin radios, sin degradados.
   ========================================================================== */

/* COMPARTIDO ---------------------------------------------------------------- */
.co-serif-h { font-family: var(--serif); font-weight: 300; letter-spacing: -.012em; line-height: 1.02; text-wrap: balance; }
.co-title { font-size: clamp(2.375rem, 1.35rem + 3.9vw, 4.75rem); }
.co-title--md { font-size: clamp(2.125rem, 1.4rem + 2.8vw, 3.5rem); }
.co-num { font-family: var(--serif); font-weight: 300; line-height: .8; letter-spacing: -.03em; color: var(--ink); }
.bg-ink .co-num { color: var(--paper); }
.co-lead-serif { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.3; letter-spacing: -.005em; max-width: 26em; }
.co-links { display: flex; flex-wrap: wrap; gap: 4px 32px; margin-top: clamp(24px, 3vw, 40px); }
.co-rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* migas sobre fotografía (páginas con header transparente) */
.co-crumbs-over { position: absolute; z-index: 3; top: calc(var(--header-h) + clamp(16px, 2.4vw, 32px)); left: 0; right: 0; }
.co-crumbs-over .crumbs { margin-bottom: 0; color: rgba(247, 246, 242, .88); }
.co-crumbs-over .crumbs a:hover { color: var(--white); }

/* HISTORIA ------------------------------------------------------------------ */
.his-hero { --veil: .4; height: clamp(600px, 94vh, 1000px); }
.his-hero .hero__img { object-position: 30% 60%; }
.his-hero .hero__title { max-width: 11ch; font-size: clamp(3rem, 1.3rem + 6.6vw, 7rem); line-height: .98; letter-spacing: -.02em; }
.his-hero .hero__text { max-width: 24em; font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); margin-bottom: 0; line-height: 1.5; }
@media (max-width: 719px) { .his-hero { height: min(88svh, 820px); } .his-hero .hero__img { object-position: 22% center; } }

.his-intro { display: grid; gap: 32px var(--gap); grid-template-columns: 1fr; }
.his-intro .prose p { font-size: var(--fs-lead); line-height: 1.75; }
@media (min-width: 1024px) {
  .his-intro { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .his-intro > :first-child { grid-column: 1 / 7; }
  .his-intro > :last-child { grid-column: 8 / 13; padding-top: 12px; }
}

/* índice tipo revista */
.his-toc { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--ink); margin-top: clamp(56px, 7vw, 104px); }
.his-toc a { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); min-height: 56px; transition: padding var(--t-fast) var(--ease); }
.his-toc .r { font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: var(--muted); }
.his-toc .t { font-size: 1.0625rem; font-weight: 300; line-height: 1.3; }
.his-toc a:hover { padding-left: 8px; }
@media (min-width: 1024px) {
  .his-toc { grid-template-columns: repeat(5, 1fr); column-gap: var(--gap); }
  .his-toc a { display: block; padding: 20px 8px 8px 0; border-bottom: 0; min-height: 0; }
  .his-toc a:hover { padding-left: 0; }
  .his-toc .r { display: block; font-size: 2rem; margin-bottom: 18px; }
  .his-toc .t { display: block; font-size: 1.125rem; max-width: 10em; }
}

/* cabecera de capítulo */
.his-head { display: grid; grid-template-columns: auto 1fr; gap: 0 clamp(16px, 2.4vw, 40px); align-items: start; }
.his-head .co-num { font-size: clamp(4.5rem, 2.6rem + 7vw, 9.5rem); }
.his-head .label { margin-bottom: 14px; }
.his-ch .prose p { font-size: var(--fs-lead); line-height: 1.75; max-width: 31em; }
.bg-ink .his-ch .prose p, .his-ch.bg-ink .prose p { color: rgba(247, 246, 242, .82); }

/* I · orígenes: tipografía sola, con capitular */
.his-ch1 { display: grid; gap: 40px var(--gap); grid-template-columns: 1fr; margin-top: clamp(40px, 5vw, 72px); }
.his-ch1__cols p { max-width: 31em; }
.his-ch1__cols p:first-child::first-letter { float: left; font-family: var(--serif); font-size: 4.6em; line-height: .8; padding: .06em .1em 0 0; font-weight: 300; color: var(--ink); }
@media (min-width: 1024px) {
  .his-ch1 { grid-template-columns: repeat(12, 1fr); }
  .his-ch1__aside { grid-column: 1 / 5; }
  .his-ch1__cols { grid-column: 5 / 13; columns: 2; column-gap: var(--gap); }
  .his-ch1__cols p { break-inside: avoid-column; }
}
.his-ch1__aside .co-lead-serif { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); max-width: 14em; }

/* II · el conocimiento: dos columnas asimétricas con fotografías */
.his-ch2 { display: grid; gap: 40px var(--gap); grid-template-columns: 1fr; }
.his-ch2__l, .his-ch2__r { display: grid; gap: 32px; align-content: start; min-width: 0; }
.his-know { border-top: 1px solid var(--line); }
.his-know > div { display: grid; gap: 4px 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.his-know dt { font-size: 1.1875rem; font-weight: 300; }
.his-know dd { color: var(--muted); font-size: .9688rem; max-width: 30em; }
@media (min-width: 720px) { .his-know > div { grid-template-columns: 11em 1fr; align-items: baseline; } }
@media (min-width: 1024px) {
  .his-ch2 { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .his-ch2__l { grid-column: 1 / 8; }
  .his-ch2__r { grid-column: 9 / 13; padding-top: clamp(120px, 14vw, 260px); }
}

/* III · el vínculo con el diseño (oscuro) */
.his-ch3 { display: grid; gap: 40px var(--gap); grid-template-columns: 1fr; }
@media (min-width: 1024px) {
  .his-ch3 { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .his-ch3 > :first-child { grid-column: 1 / 8; }
  .his-ch3 > :last-child { grid-column: 8 / 13; padding-top: clamp(24px, 6vw, 112px); }
}
.his-plate { margin-top: clamp(48px, 6vw, 96px); }
.his-plate .ph { aspect-ratio: 16 / 9; }
@media (min-width: 720px) { .his-plate .ph { aspect-ratio: 21 / 9; } }

/* IV · de Chile a Madrid: fotografía con panel superpuesto */
.his-ch4 { display: grid; grid-template-columns: 1fr; gap: 0; }
.his-ch4__img { min-width: 0; }
.his-ch4__panel { background: var(--white); padding: clamp(28px, 3.4vw, 56px) 0 0; min-width: 0; }
.his-ch4__panel .co-title { margin-bottom: clamp(20px, 2.4vw, 32px); }
@media (min-width: 1024px) {
  .his-ch4 { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .his-ch4__img { grid-column: 1 / 10; grid-row: 1; }
  .his-ch4__panel { grid-column: 7 / 13; grid-row: 2; margin-top: calc(-1 * clamp(88px, 11vw, 176px)); padding: clamp(32px, 3.6vw, 64px); position: relative; }
}
.his-values { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); margin-top: clamp(56px, 7vw, 104px); counter-reset: v; }
.his-values li { padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); line-height: 1.1; font-weight: 300; }
@media (min-width: 720px) { .his-values { grid-template-columns: repeat(4, 1fr); column-gap: var(--gap); border-bottom: 0; } .his-values li { padding: 24px 0 0; border-bottom: 0; } }

/* V · visión */
.his-ch5 { display: grid; gap: 40px var(--gap); grid-template-columns: 1fr; }
.his-ch5__sign { margin-top: clamp(32px, 4vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.15; font-weight: 300; max-width: 16em; }
@media (min-width: 1024px) {
  .his-ch5 { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .his-ch5 > :first-child { grid-column: 1 / 8; }
  .his-ch5 > :last-child { grid-column: 9 / 13; padding-top: clamp(32px, 7vw, 120px); }
}
.his-band { position: relative; height: clamp(320px, 56vw, 820px); overflow: hidden; background: var(--mineral); margin-top: clamp(56px, 7vw, 112px); }
.his-band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }

/* FILOSOFÍA ----------------------------------------------------------------- */
.fil-hero { display: grid; gap: 40px var(--gap); grid-template-columns: 1fr; padding-bottom: clamp(56px, 7vw, 112px); align-items: end; }
.fil-hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(3.25rem, 1.2rem + 8vw, 8.25rem); line-height: .94; letter-spacing: -.03em; max-width: 8.5em; }
.fil-hero h1 span { display: block; }
.fil-hero__side { display: grid; gap: 28px; }
.fil-hero__side .ph { max-width: 420px; }
@media (min-width: 1024px) {
  .fil-hero { grid-template-columns: repeat(12, 1fr); }
  .fil-hero > :first-child { grid-column: 1 / 9; padding-bottom: 8px; }
  .fil-hero__side { grid-column: 9 / 13; }
  .fil-hero__side .ph { max-width: none; }
}
.fil-intro { max-width: 34em; }

/* escena: numeral pequeño + etiqueta */
.fil-n { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(18px, 2.2vw, 28px); }
.fil-n::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .6; }
.fil-h { font-family: var(--serif); font-weight: 300; letter-spacing: -.015em; line-height: 1; text-wrap: balance; font-size: clamp(2.5rem, 1.4rem + 4.2vw, 5.25rem); margin-bottom: clamp(20px, 2.6vw, 36px); }
.fil-statement { font-size: var(--fs-lead); line-height: 1.7; max-width: 26em; color: var(--anthracite); }
.bg-ink .fil-statement { color: rgba(247, 246, 242, .82); }

/* 01 · dos macros escalonados + texto */
.fil-p1 { display: grid; gap: 48px var(--gap); grid-template-columns: 1fr; }
.fil-p1__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
.fil-p1__imgs > :last-child { margin-top: clamp(40px, 7vw, 120px); }
@media (min-width: 1024px) {
  .fil-p1 { grid-template-columns: repeat(12, 1fr); align-items: center; }
  .fil-p1__imgs { grid-column: 1 / 7; }
  .fil-p1__text { grid-column: 8 / 13; }
}

/* 02 · gran plano + texto en columna estrecha, con la escena montada debajo */
.fil-p2__plate { position: relative; overflow: hidden; background: var(--mineral); height: clamp(300px, 52vw, 820px); }
.fil-p2__plate img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.fil-p2__text { display: grid; gap: 24px var(--gap); grid-template-columns: 1fr; margin-top: clamp(40px, 5vw, 80px); }
@media (min-width: 1024px) {
  .fil-p2__text { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .fil-p2__text > :first-child { grid-column: 1 / 8; }
  .fil-p2__text > :last-child { grid-column: 9 / 13; padding-top: clamp(8px, 1.4vw, 24px); }
  .fil-p2__text .fil-h { margin-bottom: 0; }
}

/* 03 · tipografía: palabra grande + cortina vertical */
.fil-p3 { display: grid; gap: 40px var(--gap); grid-template-columns: 1fr; }
.fil-p3__word { font-family: var(--serif); font-weight: 300; font-size: clamp(3.25rem, 1.2rem + 8.4vw, 9rem); letter-spacing: -.03em; line-height: .9; margin-bottom: clamp(24px, 3vw, 44px); overflow-wrap: anywhere; }
.fil-p3__img { max-width: 340px; }
@media (min-width: 1024px) {
  .fil-p3 { grid-template-columns: repeat(12, 1fr); align-items: end; }
  .fil-p3__img { grid-column: 1 / 5; max-width: none; }
  .fil-p3__text { grid-column: 6 / 13; padding-bottom: 24px; }
}

/* 04 · oscuro: texto abajo-izquierda, gran fotografía */
.fil-p4 { display: grid; gap: 40px var(--gap); grid-template-columns: 1fr; }
@media (min-width: 1024px) {
  .fil-p4 { grid-template-columns: repeat(12, 1fr); align-items: end; }
  .fil-p4__text { grid-column: 1 / 5; order: 1; }
  .fil-p4__img { grid-column: 5 / 13; order: 2; }
  .fil-p4 .fil-h { font-size: clamp(2.25rem, 1.2rem + 2.8vw, 4rem); }
}

/* 05 · imagen pequeña de evaluación + frase final */
.fil-p5 { display: grid; gap: 40px var(--gap); grid-template-columns: 1fr; }
.fil-p5__img { max-width: 420px; }
.fil-sign { margin-top: clamp(40px, 5vw, 72px); padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem); font-weight: 300; line-height: 1.1; letter-spacing: -.01em; }
@media (min-width: 1024px) {
  .fil-p5 { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .fil-p5__img { grid-column: 1 / 5; max-width: none; margin-top: clamp(24px, 6vw, 112px); }
  .fil-p5__text { grid-column: 6 / 13; }
}

/* EXPERIENCIA --------------------------------------------------------------- */
.exp-hero { display: grid; gap: 40px var(--gap); grid-template-columns: 1fr; padding-bottom: clamp(56px, 7vw, 112px); align-items: end; }
.exp-hero h1 { font-size: var(--fs-h1); line-height: 1.04; max-width: 13ch; margin-bottom: clamp(24px, 3vw, 40px); }
.exp-hero__img { max-width: 440px; }
@media (min-width: 1024px) {
  .exp-hero { grid-template-columns: repeat(12, 1fr); }
  .exp-hero > :first-child { grid-column: 1 / 8; padding-bottom: 8px; }
  .exp-hero__img { grid-column: 9 / 13; max-width: none; }
}

/* trayectoria + especialización: dos columnas tipográficas con filete superior */
.exp-cols { display: grid; gap: 56px var(--gap); grid-template-columns: 1fr; }
.exp-col { border-top: 1px solid var(--ink); padding-top: 24px; }
.exp-col .n { font-size: var(--fs-label); letter-spacing: .2em; color: var(--muted); display: block; margin-bottom: 28px; }
.exp-col .h2 { margin-bottom: 24px; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); }
@media (min-width: 1024px) {
  .exp-cols { grid-template-columns: repeat(12, 1fr); }
  .exp-col:first-child { grid-column: 1 / 6; }
  .exp-col:last-child { grid-column: 7 / 13; }
}

/* firmas de diseño (oscuro) */
.exp-firmas { display: grid; gap: 40px var(--gap); grid-template-columns: 1fr; }
.exp-firmas .co-lead-serif { color: var(--paper); max-width: 24em; }
@media (min-width: 1024px) {
  .exp-firmas { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .exp-firmas > :first-child { grid-column: 1 / 5; }
  .exp-firmas > :last-child { grid-column: 6 / 13; }
}
.exp-firmas .rows { margin-top: clamp(32px, 4vw, 56px); }

/* particulares / profesionales: dos escenas escalonadas */
.exp-duo { display: grid; gap: 64px var(--gap); grid-template-columns: 1fr; }
.exp-duo__item .ph { margin-bottom: 24px; }
.exp-duo__item h3 { margin-bottom: 14px; }
.exp-duo__item p { max-width: 30em; color: var(--anthracite); }
@media (min-width: 1024px) {
  .exp-duo { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .exp-duo__item:first-child { grid-column: 1 / 7; }
  .exp-duo__item:last-child { grid-column: 8 / 13; margin-top: clamp(80px, 11vw, 176px); }
}

/* MADRID -------------------------------------------------------------------- */
.mad-hero { display: grid; gap: 40px var(--gap); grid-template-columns: 1fr; padding-bottom: clamp(56px, 7vw, 112px); align-items: end; }
.mad-hero h1 { font-size: var(--fs-h1); line-height: 1.04; max-width: 11ch; margin-bottom: clamp(24px, 3vw, 40px); }
@media (min-width: 1024px) {
  .mad-hero { grid-template-columns: repeat(12, 1fr); }
  .mad-hero__img { grid-column: 1 / 8; order: 1; }
  .mad-hero__text { grid-column: 9 / 13; order: 2; padding-bottom: 8px; }
}

/* ejes de cobertura: filas editoriales, no etiquetas */
.mad-axes { border-top: 1px solid var(--ink); }
.mad-axis { display: grid; gap: 20px var(--gap); grid-template-columns: 1fr; padding: clamp(28px, 3.4vw, 48px) 0; border-bottom: 1px solid var(--line); }
.mad-axis__name { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; }
.mad-axis__name .n { font-size: var(--fs-label); letter-spacing: .2em; color: var(--muted); }
.mad-axis__name h3 { font-size: clamp(1.4375rem, 1.1rem + 1vw, 2rem); line-height: 1.15; }
.mad-zones { display: grid; grid-template-columns: 1fr; }
.mad-zones li { padding: 11px 0; border-top: 1px solid var(--line); font-size: clamp(1.125rem, 1rem + .5vw, 1.4375rem); font-weight: 300; line-height: 1.3; }
.mad-zones li:first-child { border-top: 0; }
@media (min-width: 560px) { .mad-zones { grid-template-columns: 1fr 1fr; column-gap: var(--gap); } .mad-zones li:nth-child(2) { border-top: 0; } }
@media (min-width: 1024px) {
  .mad-axis { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .mad-axis__name { grid-column: 1 / 5; }
  .mad-zones { grid-column: 6 / 13; }
}
.mad-axis--open .mad-zones li { color: var(--muted); font-style: normal; }
.mad-axis--open .mad-zones { grid-template-columns: 1fr; }
.mad-axis--open .mad-zones li:nth-child(2) { border-top: 1px solid var(--line); }
.mad-note { display: grid; gap: 24px var(--gap); grid-template-columns: 1fr; margin-top: clamp(40px, 5vw, 72px); }
@media (min-width: 1024px) { .mad-note { grid-template-columns: repeat(12, 1fr); } .mad-note > :first-child { grid-column: 1 / 5; } .mad-note > :last-child { grid-column: 6 / 13; } }

.mad-plate { position: relative; height: clamp(300px, 46vw, 700px); overflow: hidden; background: var(--mineral); }
.mad-plate img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 40%; }

/* CONTACTO ------------------------------------------------------------------ */
.con-hero { display: grid; gap: 32px var(--gap); grid-template-columns: 1fr; padding-bottom: clamp(48px, 6vw, 96px); align-items: end; }
.con-hero h1 { font-size: var(--fs-h1); line-height: 1.04; max-width: 11ch; margin-bottom: clamp(20px, 2.4vw, 32px); }
.con-hero__img { max-width: 520px; }
@media (min-width: 1024px) {
  .con-hero { grid-template-columns: repeat(12, 1fr); }
  .con-hero > :first-child { grid-column: 1 / 7; }
  .con-hero__img { grid-column: 8 / 13; max-width: none; }
}

.con-vias { border-top: 1px solid var(--ink); counter-reset: via; }
.con-via { display: grid; gap: 10px var(--gap); grid-template-columns: 1fr; padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); counter-increment: via; }
.con-via h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); line-height: 1.15; display: grid; grid-template-columns: 44px 1fr; align-items: baseline; }
.con-via h3::before { content: counter(via, decimal-leading-zero); font-family: var(--sans); font-size: var(--fs-label); letter-spacing: .2em; color: var(--muted); font-weight: 400; }
.con-via p { color: var(--muted); max-width: 32em; font-size: .9688rem; }
.con-via .link { justify-self: start; }
@media (min-width: 1024px) {
  .con-via { grid-template-columns: repeat(12, 1fr); align-items: baseline; }
  .con-via h3 { grid-column: 1 / 6; }
  .con-via p { grid-column: 6 / 11; }
  .con-via .link { grid-column: 11 / 13; justify-self: end; }
}

.con-canales { border-top: 1px solid var(--line); margin-top: 8px; }
.con-canales > div { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.con-canales dt { font-size: var(--fs-label); letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--muted); padding-top: 4px; }
.con-form { display: contents; }
.con-close { display: grid; gap: 16px var(--gap); grid-template-columns: 1fr; align-items: baseline; padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.con-close p { font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.2; font-weight: 300; max-width: 20em; }
@media (min-width: 1024px) { .con-close { grid-template-columns: repeat(12, 1fr); } .con-close p { grid-column: 1 / 8; } .con-close > :last-child { grid-column: 9 / 13; } }

/* PREGUNTAS FRECUENTES ------------------------------------------------------ */
.pf-hero { display: grid; gap: 28px var(--gap); grid-template-columns: 1fr; padding-bottom: clamp(40px, 5vw, 72px); align-items: end; }
.pf-hero h1 { font-size: var(--fs-h1); line-height: 1.04; max-width: 11ch; }
@media (min-width: 1024px) { .pf-hero { grid-template-columns: repeat(12, 1fr); } .pf-hero > :first-child { grid-column: 1 / 7; } .pf-hero > :last-child { grid-column: 8 / 13; padding-bottom: 8px; } }

.pf-layout { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--gap); align-items: start; }
.pf-nav { position: sticky; top: var(--header-h); z-index: 20; background: var(--paper); border-block: 1px solid var(--line); margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); }
.pf-nav .label { display: none; }
.pf-nav ul { display: flex; gap: 0 28px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pf-nav ul::-webkit-scrollbar { display: none; }
.pf-nav a { display: flex; align-items: center; min-height: 48px; white-space: nowrap; font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--muted); border-bottom: 1px solid transparent; transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.pf-nav a:hover, .pf-nav a[aria-current="true"] { color: var(--ink); border-bottom-color: currentColor; }
.pf-cat { padding-top: clamp(40px, 5vw, 72px); scroll-margin-top: 56px; }
.pf-cat:first-child { padding-top: clamp(28px, 4vw, 48px); }
.pf-cat__head { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; margin-bottom: 8px; }
.pf-cat__head .n { font-size: var(--fs-label); letter-spacing: .2em; color: var(--muted); }
.pf-cat h2 { font-size: clamp(1.625rem, 1.25rem + 1.4vw, 2.5rem); }
.pf-cat .faq { margin-top: clamp(20px, 2.4vw, 32px); }
.pf-cat .ans p + p { margin-top: .9em; }
.pf-cat .ans a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.pf-cat:last-child { padding-bottom: clamp(48px, 6vw, 96px); }
@media (min-width: 1024px) {
  .pf-layout { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .pf-nav { grid-column: 1 / 4; top: calc(var(--header-h) + 32px); margin: 0; padding: 0; background: transparent; border: 0; border-top: 1px solid var(--ink); }
  .pf-nav .label { display: block; color: var(--muted); padding: 18px 0 8px; }
  .pf-nav ul { flex-direction: column; overflow: visible; gap: 0; }
  .pf-nav a { min-height: 52px; letter-spacing: .12em; border-bottom: 1px solid var(--line); }
  .pf-main { grid-column: 5 / 13; }
  .pf-cat { scroll-margin-top: 0; }
  .pf-cat:first-child { padding-top: 0; }
}
.pf-close { border-top: 1px solid var(--line); padding-block: clamp(40px, 5vw, 72px); display: grid; gap: 16px var(--gap); grid-template-columns: 1fr; align-items: baseline; }
.pf-close p { font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.2; font-weight: 300; max-width: 20em; }
@media (min-width: 1024px) { .pf-close { grid-template-columns: repeat(12, 1fr); } .pf-close p { grid-column: 1 / 8; } .pf-close > :last-child { grid-column: 9 / 13; } }
