/* Lamicro — base de Iteración 2, evolucionada con dirección de arte en Iteración 3. */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --ink: #202322;
  --red: #ff1a1a;
  --red-deep: #b30000;
  --paper: #fff;
  --mist: #f6f7f6;
  --line: #dedfdd;
  --muted: #585e5b;
  --shell: min(1240px, calc(100% - 128px));
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.7 var(--sans); }
body.nav-open { overflow: hidden; }
img { max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--red-deep); outline-offset: 6px; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 50; padding: .7rem 1rem; background: var(--ink); color: #fff; }
.skip-link:focus { top: 1rem; }
.shell { width: var(--shell); margin: auto; }
.eyebrow { margin: 0 0 24px; color: var(--red-deep); font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.display { margin: 0; max-width: 970px; font-size: clamp(2rem, 3.1vw, 2.9rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.2; text-wrap: balance; }
.section-copy { max-width: 540px; margin: 28px 0 0; color: var(--muted); font-size: 1rem; }
.text-link { display: inline-flex; align-items: center; gap: 15px; font-size: .875rem; font-weight: 700; text-decoration: none; }
.text-link::after { content: '→'; color: var(--red-deep); transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 23px; border: 1px solid var(--ink); border-radius: 2px; background: var(--ink); color: #fff; font-size: .875rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .2s ease; }
.button:hover { background: var(--red-deep); border-color: var(--red-deep); }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 100px; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { font-size: .82rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--red-deep); }
.nav-cta { padding: 10px 0 10px 24px; border-left: 1px solid var(--line); }
.nav-toggle { display: none; min-height: 44px; padding: 8px; border: 0; background: transparent; color: var(--ink); font-size: .8rem; font-weight: 700; }

.home-hero { background: var(--paper); }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 72px; padding-top: 100px; padding-bottom: 112px; border-bottom: 1px solid var(--line); align-items: center; }
.home-hero__copy { padding: 0; }
.home-hero .display { max-width: 630px; font-size: clamp(2.4rem, 3.8vw, 3.5rem); line-height: 1.14; }
.home-hero__lead { max-width: 530px; margin: 32px 0 0; color: var(--muted); font-size: 1.05rem; }
.home-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 38px; }

.section { padding: clamp(112px, 11vw, 164px) 0; }
.work-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .55fr); gap: 80px; align-items: end; margin-bottom: 64px; }
.work-intro__note { margin: 0; padding: 0 0 0 24px; border-left: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 56px 32px; }
.project-card { grid-column: span 4; position: relative; min-width: 0; background: var(--paper); color: var(--ink); }
.project-card:nth-child(1), .project-card:nth-child(6) { grid-column: span 8; }
.project-card__image { display: block; width: 100%; height: 280px; object-fit: cover; }
.project-card__content { padding: 25px 0 20px; border-bottom: 1px solid var(--line); }
.project-card h3 { margin: 0; font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.3; }
.project-card p { max-width: 590px; margin: 13px 0 0; color: var(--muted); font-size: .94rem; line-height: 1.7; }
.project-card .project-card__meta { margin: 0 0 10px; color: var(--red-deep); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.project-card a { position: absolute; inset: 0; z-index: 2; }
.project-card:hover h3 { color: var(--red-deep); }
.method { background: var(--mist); }
.method-layout { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: clamp(64px, 9vw, 144px); }
.method-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.method-list li { display: grid; grid-template-columns: 40px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.method-list__number { color: var(--red-deep); font-size: 12px; font-weight: 700; }
.method-list h3 { margin: 0; font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
.method-list p { margin: 9px 0 0; color: var(--muted); font-size: .95rem; }

.about-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: clamp(64px, 9vw, 144px); }
.about-copy p { margin: 0 0 24px; color: var(--muted); }
.about-copy .about-statement { padding: 0; margin-bottom: 32px; color: var(--ink); font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.5; }
.contact { background: var(--mist); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(310px, .8fr); gap: clamp(64px, 9vw, 144px); }
.contact-copy { max-width: 540px; margin: 28px 0 0; color: var(--muted); }
.contact-points { margin: 32px 0 0; padding: 0; list-style: none; }
.contact-points li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.contact-points li::before { content: '—'; margin-right: 12px; color: var(--red-deep); }
.contact-form { display: grid; gap: 24px; align-content: start; }
.field label { display: block; margin-bottom: 8px; color: var(--ink); font-size: .8rem; font-weight: 700; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #c5cac6; border-radius: 2px; background: var(--paper); color: var(--ink); font-size: 1rem; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--red-deep); outline-offset: 2px; }
.contact-form .button { justify-self: start; margin-top: 4px; }
.site-footer { padding: 36px 0; background: var(--paper); color: var(--muted); border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer-inner p { margin: 0; font-size: 11px; letter-spacing: .03em; }
.footer-link { color: var(--ink); text-decoration: none; font-size: .8rem; }

/* Same case architecture; title and natural photograph now have separate fields. */
.project-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 72px; align-items: center; width: var(--shell); margin: auto; padding: 72px 0 80px; border-bottom: 1px solid var(--line); }
.project-hero__image { grid-column: 2; grid-row: 1; width: 100%; height: 380px; object-fit: cover; }
.project-hero__inner { grid-column: 1; grid-row: 1; min-width: 0; }
.back-link { display: inline-flex; gap: 10px; margin-bottom: 48px; font-size: .75rem; text-decoration: none; }
.back-link::before { content: '←'; color: var(--red-deep); }
.project-hero .display { font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
.project-hero__summary { max-width: 600px; margin: 24px 0 0; color: var(--muted); font-size: 1.05rem; }
.project-hero__sector { margin: 0 0 20px; color: var(--red-deep); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.project-main { padding: clamp(88px, 9vw, 144px) 0; }
.project-main__grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(64px, 9vw, 144px); }
.project-content h2 { margin: 64px 0 24px; font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.3; }
.project-content h2:first-child { margin-top: 0; }
.project-content p { max-width: 760px; margin: 0 0 24px; color: var(--muted); }
.project-content strong { color: var(--ink); }
.capability-list { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.capability-list li { position: relative; padding: 16px 0 16px 22px; border-bottom: 1px solid var(--line); color: var(--muted); }
.capability-list li::before { content: '—'; position: absolute; left: 0; color: var(--red-deep); }
.project-facts { height: max-content; padding: 30px; border-top: 2px solid var(--red); background: var(--mist); }
.project-facts h2 { margin: 0 0 24px; font-size: 1.1rem; font-weight: 700; }
.project-facts dl { margin: 0; }
.project-facts div { padding: 18px 0; border-top: 1px solid var(--line); }
.project-facts dt { margin-bottom: 6px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.project-facts dd { margin: 0; font-size: .875rem; line-height: 1.65; }
.project-cta { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; padding: 64px; background: var(--mist); }
.project-cta h2 { margin: 0; max-width: 600px; font-size: clamp(1.5rem, 2.3vw, 2rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.3; }
.project-cta .button { justify-self: end; }
.project-nav { display: flex; justify-content: space-between; gap: 24px; padding: 44px 0; }
.project-nav a { font-size: .8rem; font-weight: 700; text-decoration: none; }
.project-nav a:hover { color: var(--red-deep); }

@media (max-width: 980px) {
  :root { --shell: calc(100% - 80px); }
  .home-hero__grid { gap: 40px; grid-template-columns: 1.2fr .8fr; }
  .project-card, .project-card:nth-child(1), .project-card:nth-child(6) { grid-column: span 6; }
  .work-intro, .method-layout, .about-layout, .contact-grid, .project-main__grid { gap: 48px; }
  .project-hero { gap: 40px; }
  .project-hero__image { height: 320px; }
  .project-main__grid { grid-template-columns: minmax(0, 1fr) 240px; }
  .project-facts { padding: 24px; }
  .site-nav { gap: 22px; }
}
@media (max-width: 720px) {
  :root { --shell: calc(100% - 48px); }
  html { scroll-padding-top: 98px; }
  .header-inner { min-height: 88px; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; top: 88px; left: 0; right: 0; bottom: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 28px 24px; background: var(--paper); overflow-y: auto; }
  body.nav-open .site-nav { display: flex; }
  .site-nav a { padding: 22px 0; border: 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
  .home-hero__grid { grid-template-columns: 1fr; gap: 0; padding: 64px 0; }
  .home-hero .display { font-size: clamp(2rem, 7.8vw, 2.65rem); }
  .home-hero__lead { font-size: 1rem; margin-top: 26px; }
  .home-hero__actions { gap: 24px; margin-top: 30px; }
  .section { padding: 88px 0; }
  .display { font-size: clamp(1.85rem, 6.9vw, 2.3rem); }
  .work-intro, .method-layout, .about-layout, .contact-grid, .project-main__grid, .project-cta { grid-template-columns: 1fr; }
  .work-intro { gap: 28px; margin-bottom: 44px; }
  .work-intro__note { padding: 0; border: 0; }
  .project-grid { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .project-card, .project-card:nth-child(1), .project-card:nth-child(6) { grid-column: 1; }
  .project-card__image { height: auto; aspect-ratio: 3 / 2; }
  .project-card__content { padding: 22px 0 24px; }
  .method-list li { grid-template-columns: 28px 1fr; gap: 12px; }
  .project-hero { grid-template-columns: 1fr; gap: 36px; padding: 52px 0; }
  .project-hero__inner { grid-column: 1; grid-row: 1; }
  .project-hero__image { grid-column: 1; grid-row: 2; height: auto; aspect-ratio: 3 / 2; }
  .project-hero .display { font-size: 2.2rem; }
  .back-link { margin-bottom: 36px; }
  .project-facts { order: -1; }
  .project-cta { padding: 32px 24px; gap: 28px; }
  .project-cta .button { justify-self: start; }
  .project-nav { flex-wrap: wrap; }
  .footer-inner { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
