/* HYLEIDOS — identidad visual inicial */
:root {
  --ink: #20231f;
  --ink-soft: #343831;
  --paper: #f2efe8;
  --paper-deep: #e7e1d6;
  --clay: #a96649;
  --muted: #77766e;
  --line: rgba(32,35,31,.18);
  --white: #f8f6f0;
  --font: "DM Sans", Arial, sans-serif;
  --display: "Manrope", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
.site-header { height: 76px; padding: 0 5.5vw; display: flex; align-items: center; justify-content: space-between; background: var(--paper); position: relative; z-index: 20; }
.brand { font: 700 21px var(--display); letter-spacing: .14em; }
.brand span { font-size: 9px; vertical-align: top; margin-left: 3px; }
.main-nav { display: flex; gap: clamp(20px,3.2vw,52px); align-items: center; font-size: 12px; text-transform: uppercase; letter-spacing: .11em; }
.main-nav a { transition: opacity .2s ease; }
.main-nav a:hover { opacity: .55; }
.nav-contact { border-bottom: 1px solid var(--ink); padding-bottom: 5px; }
.nav-contact span { margin-left: 8px; }
.menu-toggle { display: none; }
.hero { min-height: min(790px, calc(100vh - 76px)); min-height: 690px; position: relative; overflow: hidden; color: var(--white); background: #20231f; display: flex; align-items: center; }
.hero-image { position: absolute; inset: 0 0 0 34%; background: url("/img/portada-hyleidos.jpg") center/cover no-repeat; opacity: .88; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,25,22,.98) 0%, rgba(22,25,22,.91) 34%, rgba(22,25,22,.25) 74%, rgba(22,25,22,.08) 100%); }
.hero-content { position: relative; z-index: 2; padding: 8vw 0 8vw 10vw; max-width: 760px; }
.eyebrow, .section-kicker { font-size: 10px; letter-spacing: .17em; text-transform: uppercase; display: flex; align-items: center; gap: 13px; }
.eyebrow i { display: inline-block; width: 28px; height: 1px; background: currentColor; opacity: .65; }
.light { color: rgba(248,246,240,.7); }
.hero h1 { font: 500 clamp(55px,7.8vw,112px)/.98 var(--display); letter-spacing: -.075em; margin: 35px 0 28px; }
h1 em, h2 em { font-family: Georgia, serif; font-weight: 400; }
.hero-intro { color: rgba(248,246,240,.78); font-size: 14px; line-height: 1.8; }
.round-link { margin-top: 42px; display: inline-flex; align-items: center; gap: 30px; border-bottom: 1px solid rgba(248,246,240,.6); padding: 0 0 12px; font-size: 12px; letter-spacing: .06em; }
.round-link b { font-size: 18px; font-weight: 400; }
.hero-index, .hero-vertical { position: absolute; z-index: 2; color: rgba(248,246,240,.55); font-size: 9px; letter-spacing: .15em; }
.hero-index { bottom: 35px; left: 5.5vw; }
.hero-index span { color: var(--white); }
.hero-vertical { right: 28px; bottom: 50%; writing-mode: vertical-rl; }
.section-pad { padding: 110px 10vw; }
.section-kicker { color: var(--muted); }
.section-kicker span:first-child { color: var(--clay); }
.intro-grid { display: grid; grid-template-columns: 1.05fr .8fr; gap: 9vw; margin-top: 62px; align-items: end; }
h2 { font: 500 clamp(42px,5.4vw,76px)/1.05 var(--display); letter-spacing: -.07em; margin: 0; }
.intro-copy { max-width: 470px; color: #5c5d55; font-size: 14px; }
.intro-copy p { margin: 0 0 15px; }
.pieces { background: #e9e4da; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 25px; }
.section-heading .section-kicker { grid-column: 1/-1; }
.section-heading h2 { font-size: clamp(48px,6vw,82px); }
.period { color: var(--clay); }
.section-heading > p { max-width: 340px; color: #66665f; font-size: 13px; margin: 0 0 8px; }
.gallery { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; margin-top: 58px; align-items: start; }
.piece { margin: 0; }
.piece img { width: 100%; object-fit: cover; background: #d5cec1; }
.piece-large img { aspect-ratio: 1.12/1; }
.piece-tall { margin-top: 110px; }
.piece-tall img { aspect-ratio: .82/1; }
.piece-wide { grid-column: 1/2; width: 72%; margin-top: 24px; }
.piece-wide img { aspect-ratio: 1.25/1; }
.piece figcaption { display: flex; justify-content: space-between; padding-top: 12px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #77746b; }
.piece figcaption span:last-child { color: var(--ink); }
.gallery-note { margin: 35px 0 0; color: #77746b; font-size: 11px; font-style: italic; }
.process { background: var(--ink); color: var(--white); }
.process-top { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 8vw; align-items: end; }
.process-top .section-kicker { grid-column: 1/-1; }
.process-top h2 { font-size: clamp(48px,6vw,82px); }
.process-top > p { max-width: 370px; color: rgba(248,246,240,.65); font-size: 13px; margin: 0 0 7px; }
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 25px; margin: 90px 0 60px; border-top: 1px solid rgba(248,246,240,.25); }
.process-steps article { padding-top: 18px; }
.process-steps article > span { color: #bd8062; font-size: 10px; letter-spacing: .1em; }
.process-steps h3 { font: 500 20px var(--display); margin: 23px 0 9px; }
.process-steps p { color: rgba(248,246,240,.58); font-size: 12px; max-width: 190px; }
.process-image { height: 270px; position: relative; overflow: hidden; background: #343831; }
.process-image img { height: 100%; object-fit: cover; }
.process-image span { position: absolute; bottom: 18px; left: 20px; color: white; font-size: 9px; letter-spacing: .16em; }
.philosophy { position: relative; overflow: hidden; }
.philosophy-body { display: grid; grid-template-columns: 1.2fr .55fr; gap: 8vw; align-items: end; margin-top: 65px; position: relative; z-index: 1; }
.big-quote { font: 400 clamp(28px,3.5vw,48px)/1.25 Georgia,serif; letter-spacing: -.035em; max-width: 760px; margin: 0; }
.philosophy-small { color: #696a62; font-size: 13px; margin: 0 0 7px; }
.philosophy-mark { position: absolute; right: 7vw; bottom: -140px; color: rgba(169,102,73,.08); font: 700 440px/.8 var(--display); }
.philosophy-mark span { color: rgba(169,102,73,.14); }
.workshop { display: grid; grid-template-columns: 1fr .9fr; gap: 9vw; align-items: center; background: #e8e2d7; }
.workshop-image { min-height: 510px; background: url("../img/taller.svg") center/cover no-repeat; }
.workshop-copy h2 { margin: 52px 0 28px; }
.workshop-copy > p { max-width: 390px; color: #66665f; font-size: 13px; }
.location-line { margin-top: 35px; font-size: 9px !important; letter-spacing: .16em; color: var(--clay) !important; }
.notebook { padding-top: 100px; padding-bottom: 100px; }
.notebook-row { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-top: 42px; }
.notebook-row h2 { font-size: clamp(48px,6vw,80px); }
.notebook-row p { max-width: 330px; color: #696a62; font-size: 13px; margin: 0 0 8px; }
.notebook-placeholder { margin-top: 45px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 2fr auto; align-items: center; font-size: 11px; }
.notebook-placeholder span:first-child { color: var(--clay); letter-spacing: .13em; }
.notebook-placeholder span:nth-child(2) { color: #66665f; }
.notebook-placeholder span:last-child { font-size: 18px; }
.contact { background: #242821; color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 10vw; margin-top: 55px; }
.contact h2 { font-size: clamp(48px,6vw,82px); }
.contact-grid > div:first-child > p { max-width: 350px; color: rgba(248,246,240,.62); font-size: 13px; margin-top: 28px; }
.contact-details { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-top: 30px; }
.contact-details > span:first-child { color: rgba(248,246,240,.5); font-size: 9px; letter-spacing: .16em; }
.email-link { font: 400 clamp(19px,2.2vw,29px) var(--display); padding: 14px 0 20px; border-bottom: 1px solid rgba(248,246,240,.35); width: 100%; }
.email-link b { float: right; font-size: 18px; font-weight: 400; }
.contact-location { margin-top: 25px; font-size: 10px; letter-spacing: .14em; color: rgba(248,246,240,.6); }
.contact-back { margin-top: 65px; font-size: 11px; border-bottom: 1px solid rgba(248,246,240,.5); padding-bottom: 5px; }
.site-footer { padding: 26px 5.5vw; background: #191c18; color: rgba(248,246,240,.6); display: flex; align-items: center; justify-content: space-between; font-size: 9px; letter-spacing: .12em; }
.footer-brand { color: var(--white); font-size: 16px; }
@media (max-width: 800px) {
  .site-header { height: 68px; padding: 0 6vw; }
  .menu-toggle { display: flex; flex-direction: column; gap: 6px; border: 0; background: transparent; padding: 10px 0 10px 10px; }
  .menu-toggle span { width: 25px; height: 1px; background: var(--ink); }
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--paper); padding: 25px 6vw 30px; flex-direction: column; align-items: flex-start; gap: 18px; border-top: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .hero { min-height: 690px; }
  .hero-image { inset: 0; background-position: 57% center; opacity: .65; }
  .hero-shade { background: linear-gradient(90deg,rgba(22,25,22,.88),rgba(22,25,22,.3)),linear-gradient(0deg,rgba(22,25,22,.55),transparent 70%); }
  .hero-content { padding: 70px 7vw; }
  .hero h1 { font-size: clamp(58px,13vw,90px); }
  .hero-vertical { display: none; }
  .section-pad { padding: 78px 7vw; }
  .intro-grid, .process-top, .philosophy-body, .workshop, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .intro-grid { margin-top: 38px; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading .section-kicker { grid-column: auto; }
  .gallery { gap: 30px 15px; }
  .piece-tall { margin-top: 60px; }
  .piece-wide { width: 100%; }
  .process-steps { grid-template-columns: 1fr 1fr; margin: 55px 0 40px; row-gap: 25px; }
  .process-image { height: 220px; }
  .philosophy-body { margin-top: 40px; }
  .philosophy-mark { font-size: 280px; bottom: -70px; }
  .workshop-image { min-height: 320px; }
  .workshop-copy h2 { margin: 30px 0 20px; }
  .notebook-row { display: block; }
  .notebook-row p { margin-top: 20px; }
  .notebook-placeholder { grid-template-columns: 1fr auto; gap: 8px; }
  .notebook-placeholder span:nth-child(2) { grid-column: 1; grid-row: 2; }
  .notebook-placeholder span:last-child { grid-column: 2; grid-row: 1/3; }
  .contact-grid { margin-top: 40px; }
  .contact-details { padding-top: 10px; }
  .site-footer { flex-wrap: wrap; gap: 15px; }
}
@media (max-width: 480px) {
  .hero { min-height: 630px; }
  .eyebrow { font-size: 8px; }
  .hero h1 { margin-top: 28px; }
  .gallery { grid-template-columns: 1fr; }
  .piece-tall { margin-top: 0; }
  .piece-wide { grid-column: auto; margin-top: 0; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .site-footer > span:nth-child(2) { display: none; }
}
