/* Propuesta editorial. Respaldo previo: 3cc0687. */
[hidden] { display: none !important; }
.nav .links { gap: clamp(14px, 1.6vw, 26px); }
.nav .links a { font-family: var(--body); font-size: 13px; letter-spacing: 0; text-transform: none; }
.hero .content { display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 54px; row-gap: 18px; align-items: end; }
.hero h1 { grid-row: 1 / 3; font-size: clamp(52px, 5vw, 74px); margin: 0; line-height: 1; }
.hero-opening { display: block; font-size: .57em; letter-spacing: .025em; margin-bottom: 8px; }
.hero h1 .lit-text { display: block; white-space: nowrap; }
.hero .content > .lead { margin: 0; font-size: 16px; max-width: 42ch; }
.hero .content > .ctas { grid-column: 2; }
.scroll-cue { color: #AAA59F; }
.scroll-cue::after { animation-iteration-count: 3; }
.panel.services, .panel.projects { min-height: auto; padding-block: clamp(64px, 7vw, 110px); }
.services { border-top: 1px solid var(--line); }
.section-intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: end; margin-bottom: 42px; }
.section-intro h2 { font-size: clamp(48px, 6vw, 82px); line-height: 1; margin: 0; }
.section-intro > .lead { margin: 0; max-width: 42ch; }
.service-list { border-top: 1px solid var(--line-2); }
.service-row { scroll-margin-top: 84px; display: grid; grid-template-columns: .9fr 1.4fr 170px; align-items: center; gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--line-2); }
.service-name { display: flex; gap: 20px; align-items: baseline; }
.service-number { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.service-name h3 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 2.7vw, 38px); line-height: 1.05; margin: 0; letter-spacing: .025em; }
.service-description p { font-size: 15px; line-height: 1.65; margin: 0 0 8px; }
.service-description > span { font-size: 12px; color: var(--muted); line-height: 1.6; display: block; }
.service-quote { display: inline-flex; align-items: center; justify-content: space-between; justify-self: end; gap: 20px; min-height: 48px; color: var(--accent); font-size: 13px; font-weight: 500; white-space: nowrap; }
.service-quote span { font-size: 24px; transition: transform 180ms var(--ease-out); }
.projects { background: #0B0B0B; }
.gallery-notice { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0; border-left: 2px solid var(--accent); padding-left: 18px; max-width: 40ch; }
.project-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 36px 24px; }
.project { margin: 0; min-width: 0; grid-column: span 5; }
.project:first-child, .project:last-child { grid-column: span 7; }
.project-image { position: relative; display: block; height: clamp(240px, 26vw, 360px); overflow: hidden; background: var(--panel); border-radius: 6px; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 260ms var(--ease-out); }
.project:nth-child(2) img { object-position: 36% center; }
.project:nth-child(4) img { object-position: center 60%; }
.example-tag { position: absolute; top: 14px; left: 14px; background: rgba(5,5,5,.9); color: var(--text); border: 1px solid #555; border-radius: 4px; padding: 6px 9px; font-size: 11px; letter-spacing: .01em; }
.project-expand { position: absolute; bottom: 14px; right: 14px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); color: var(--text); font-size: 25px; }
.project figcaption { padding-top: 16px; }
.project h3 { font-size: 18px; font-weight: 500; margin: 0 0 3px; }
.project figcaption p { font-size: 13px; color: var(--muted); margin: 0; }
.gallery-footer { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.gallery-footer p { margin: 0; color: var(--muted); font-size: 15px; }
.gallery-footer .pill { min-height: 48px; }
.project-viewer { width: min(1100px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 20px; color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; overflow-y: auto; }
.project-viewer::backdrop { background: rgba(0,0,0,.92); }
.viewer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.viewer-head h2 { font-size: 18px; font-weight: 500; margin: 0; }
.viewer-head button { flex: none; font-size: 26px; }
.project-viewer > img { width: 100%; max-height: 65dvh; object-fit: contain; background: #111; }
.project-viewer > p { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 16px 0 0; }
.field input { font: inherit; width: 100%; min-width: 0; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); color: var(--text); padding: 26px 14px 11px; font-size: 16px; }
.field input::placeholder { color: var(--muted); }
.field input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.custom-field::after { display: none; }
.field.need input { border-color: #F1AA83; box-shadow: 0 0 0 2px rgba(241,170,131,.16); }
.custom-field { grid-column: 1 / -1; }
@media (hover: hover) and (pointer: fine) {
  .service-quote:hover span { transform: translate(2px, -2px); }
  .project-image:hover img { transform: scale(1.025); }
}
@media (max-width: 1099px) {
  .hero .content { column-gap: 32px; }
  .hero .content > .ctas .pill { font-size: 16px; padding-inline: 14px; }
  .service-row { grid-template-columns: .8fr 1.2fr; gap: 16px 24px; }
  .service-quote { grid-column: 2; justify-self: start; }
}
@media (max-width: 759px) {
  .hero .content { display: block; }
  .hero h1 { font-size: clamp(40px, 12vw, 60px); margin-bottom: 16px; }
  .hero-opening { font-size: .62em; }
  .hero .content > .lead { margin-bottom: 20px; font-size: 15px; }
  .section-intro { grid-template-columns: 1fr; gap: 22px; margin-bottom: 32px; }
  .service-row { grid-template-columns: 1fr; gap: 16px; padding: 26px 0; }
  .service-description { padding-left: 34px; }
  .service-name { gap: 18px; }
  .service-quote { grid-column: 1; margin-left: 34px; min-height: 44px; }
  .service-name h3 { font-size: 32px; }
  .project-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .project, .project:first-child, .project:last-child { grid-column: 1; }
  .project-image { height: auto; aspect-ratio: 4 / 3; }
  .project-viewer { padding: 14px; width: calc(100% - 20px); }
  .project h3 { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .project-image img, .service-quote span { transition: none; }
}
