/* Nuestro oficio: recorrido por etapas. Se apoya en ficha.css. */

.oficio{--site-head:94px}

/* ───────── Entrada ───────── */
.of-intro{padding:clamp(54px,7vw,120px) 0 clamp(38px,4.6vw,72px)}
.ficha .of-intro-kicker{display:flex;justify-content:space-between;gap:24px;margin-bottom:clamp(20px,2.6vw,40px);color:var(--f-clay)}
.of-intro-kicker a{color:var(--f-ink);border-bottom:1px solid currentColor;padding-bottom:3px}
.variant-c .ficha .of-intro h1{font-size:clamp(46px,8.9vw,154px);line-height:.9;letter-spacing:-.065em;margin-left:-.04em}
.of-intro h1 em{font-style:normal;color:var(--f-clay);display:block}
.of-intro-foot{
  display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:clamp(18px,2vw,32px);align-items:end;
  margin-top:clamp(34px,4.6vw,72px);padding-top:clamp(22px,2.4vw,34px);border-top:1px solid var(--f-ink);
}
.of-intro-foot>p{grid-column:1/6;font-size:clamp(18px,1.5vw,22px);line-height:1.5;letter-spacing:-.02em;max-width:480px}
.of-steps{grid-column:6/13;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,1.6vw,26px)}
.of-steps a{display:block;padding-top:14px;border-top:1px solid var(--f-line);transition:border-color .3s}
.of-steps a:hover{border-color:var(--f-clay)}
.of-steps small{display:block;font-size:12px;font-weight:700;letter-spacing:.14em;color:var(--f-clay);margin-bottom:10px}
.of-steps strong{display:block;font-weight:400;font-size:clamp(28px,3vw,48px);line-height:1;letter-spacing:-.05em}
.of-steps span{display:block;margin-top:10px;font-size:14px;line-height:1.4;color:var(--f-muted)}

/* ───────── Un terreno, distintas posibilidades ───────── */
.of-film{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:calc(100svh - var(--site-head));overflow:hidden;background:var(--f-dark-2);color:#fff}
.of-film video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:52% 50%}
.of-film:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#161514d6 0,#16151400 24%,#16151400 43%,#16151466 63%,#161514f0 100%)}
.of-film-top,.of-film-copy{position:relative;z-index:1;width:100%}
.of-film-top{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-top:clamp(20px,2.4vw,34px)}
.of-film-copy{padding-bottom:clamp(30px,4.4vw,68px);text-shadow:0 2px 18px #161514b3}
.variant-c .ficha .of-film-copy h2{font-size:clamp(40px,6.6vw,112px);line-height:.96}
.of-film-copy h2 em{font-style:normal;color:#f0e4d8;display:block}
.ficha .of-film-copy p{max-width:470px;margin-top:20px;font-size:17px;line-height:1.6}

/* ───────── Etapas ───────── */
.of-stage{position:relative;padding:clamp(70px,8vw,140px) 0;scroll-margin-top:var(--site-head)}
.of-stage.is-dark{background:#262321;color:var(--f-paper)}
.of-stage.is-earth{background:#30251f;color:var(--f-paper)}
.of-stage-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:clamp(18px,2vw,32px);align-items:center}
.of-stage-copy{grid-column:1/7}
.of-stage.is-flip .of-stage-copy{grid-column:7/13;grid-row:1}
.of-stage .ficha-chapter-head{margin-bottom:clamp(16px,2vw,30px)}
.of-stage.is-dark .ficha-chapter-head,.of-stage.is-earth .ficha-chapter-head{color:var(--f-clay-soft)}
.ficha .of-verb{font-size:clamp(84px,14.5vw,250px);line-height:.82;letter-spacing:-.07em;margin-left:-.05em;margin-bottom:clamp(26px,3.4vw,54px)}
.ficha .of-stage.is-flip .of-verb{font-size:clamp(64px,8.3vw,144px);line-height:.9}
.variant-c .ficha .of-stage h2{font-size:clamp(30px,3.3vw,54px);line-height:1.04;margin-bottom:12px}
.ficha .of-tag{font-size:clamp(19px,1.6vw,24px);line-height:1.4;letter-spacing:-.02em;color:var(--f-clay);margin-bottom:clamp(20px,2.2vw,32px)}
.of-stage.is-dark .of-tag,.of-stage.is-earth .of-tag{color:var(--f-clay-soft)}
.ficha .of-desc{max-width:520px;font-size:17px;line-height:1.65;margin-bottom:clamp(30px,3.4vw,52px)}
.of-detail{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(22px,2.6vw,44px);padding-top:24px;border-top:1px solid currentColor;margin-bottom:clamp(30px,3.4vw,50px)}
.of-detail .f-label{margin-bottom:16px;opacity:.75}
.of-detail ul{list-style:none;margin:0;padding:0}
.of-detail li{position:relative;padding:11px 0 11px 26px;font-size:16px;line-height:1.45;border-bottom:1px solid var(--f-line)}
.of-stage.is-dark .of-detail li,.of-stage.is-earth .of-detail li{border-color:var(--f-line-dark)}
.of-detail li:before{content:'↗';position:absolute;left:0;top:11px;color:var(--f-clay)}
.of-stage.is-dark .of-detail li:before,.of-stage.is-earth .of-detail li:before{color:var(--f-clay-soft)}
.ficha .of-result{font-size:clamp(20px,1.8vw,28px);line-height:1.25;letter-spacing:-.035em}

.ficha .of-scene.step-film{grid-column:8/13;grid-row:1;position:relative;order:0;aspect-ratio:4/5;max-height:min(78svh,760px);width:100%;justify-self:end;overflow:hidden;background:#262321}
.of-stage.is-flip .of-scene.step-film{grid-column:1/6;justify-self:start;background:#d8d2c5}
.of-stage.is-earth .of-scene.step-film{background:#30251f}
.ficha .of-scene.step-film:after{display:none}
.of-scene canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.ficha .of-scene-mark{position:absolute;left:18px;right:18px;bottom:16px;z-index:1;display:flex;justify-content:space-between;gap:16px;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#f4e9db}
.of-stage.is-flip .of-scene-mark{color:#403c38}
.of-stage.is-dark .of-scene.step-film,.of-stage.is-earth .of-scene.step-film{box-shadow:0 0 0 1px #ffffff1f}
.of-stage.is-flip .of-scene.step-film{box-shadow:0 0 0 1px #0000001a}

/* ───────── Cierre ───────── */
.of-close{padding:clamp(80px,9vw,150px) 0}
.of-close-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:clamp(18px,2vw,32px);align-items:end}
.variant-c .ficha .of-close h2{grid-column:1/9;font-size:clamp(38px,5.6vw,96px);line-height:.98}
.of-close h2 em{font-style:normal;color:var(--f-clay)}
.of-close-side{grid-column:9/13}
.ficha .of-close-side p{font-size:16px;line-height:1.6;color:var(--f-muted);margin-bottom:28px}

@media(max-width:1100px){
  .of-intro-foot>p{grid-column:1/13;margin-bottom:34px}
  .of-steps{grid-column:1/13}
  .of-detail{grid-template-columns:1fr}
}
@media(max-width:800px){
  .variant-c .ficha .of-intro h1{font-size:clamp(42px,12.6vw,72px);line-height:.94}
  .of-film{min-height:min(84svh,142vw)}
  .variant-c .ficha .of-film-copy h2{font-size:clamp(34px,10vw,52px)}
  .ficha .of-film-copy p{font-size:15px}
  .of-steps{grid-template-columns:1fr;gap:0}
  .of-steps a{display:grid;grid-template-columns:44px 1fr;column-gap:8px;padding:16px 0}
  .of-steps small{grid-row:1/3;margin:6px 0 0}
  .of-steps span{margin-top:4px}
  .of-stage{padding:64px 0 72px}
  .of-stage-grid{display:block}
  .ficha .of-scene.step-film{aspect-ratio:1.15;max-height:none;margin-bottom:40px}
  .ficha .of-verb{font-size:clamp(84px,27vw,132px)}
  .ficha .of-stage.is-flip .of-verb{font-size:clamp(48px,15.4vw,84px)}
  .of-close-grid{display:block}
  .variant-c .ficha .of-close h2{font-size:clamp(36px,10.4vw,52px);margin-bottom:26px}
}
