/* Eraman — from the Uztartu design system, theme "eraman" (black + mint, stencil, metro lines and cargo labels).
   Built from the canvas "Eraman pages" (claude.ai/artifact/NwaeSVbEg9szqqvCP2X8X1). */
:root {
  --ground: #242828;
  --ground-2: #2e3333;
  --surface: #f3f5f5;
  --white: #ffffff;
  --ink: #242828;
  --ink-muted: #4a5252;
  --line: #3b4242;
  --mint: #6bdbc5;
  --amber: #e0a43a;
  --sage: #8fb5ad;
  --soft: #d6dddc;
  --quiet: #b9c2c1;
  --stencil: "Big Shoulders Stencil Display", "Archivo", sans-serif;
  --sans: "Archivo", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --radius: 10px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--ground); color: var(--white); font-family: var(--sans); }
a { color: var(--mint); }
a:hover { color: var(--white); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
img { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, 3vw); padding-right: max(16px, 3vw); }
.stencil { font-family: var(--stencil); font-weight: 800; text-transform: uppercase; }
.micro { margin: 0; font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--quiet); }
.micro.mint { color: var(--mint); }
.mint { color: var(--mint); }
.draft { margin: 0; padding: 6px 16px; background: #f4c430; color: #242828; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 14px; padding-bottom: 14px; }
.logo { background: var(--white); padding: 6px 10px; border-radius: var(--radius); display: flex; }
.logo img { height: 34px; width: auto; display: block; }
.nav { flex-grow: 1; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; font-size: 15px; }
.nav a { color: var(--white); text-decoration: none; }
.nav a[aria-current="page"] { border-bottom: 3px solid var(--mint); padding-bottom: 2px; }
.langs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--mint); border-radius: 999px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; }
.langs a { padding: 6px 10px; border-radius: 999px; color: var(--white); text-decoration: none; }
.langs a[aria-current] { background: var(--mint); color: var(--ink); }

/* Buttons */
.btn { display: inline-block; background: var(--mint); color: var(--ink); padding: 16px 26px; border-radius: var(--radius); border: 0; font: inherit; font-weight: 800; font-size: 17px; text-decoration: none; cursor: pointer; }
.btn:hover { color: var(--ink); background: var(--white); }
.btn.ghost { background: transparent; color: var(--white); border: 2px solid var(--white); padding: 14px 24px; font-weight: 700; }
.btn.ghost:hover { background: var(--white); color: var(--ink); }
.btn.dark { background: var(--ink); color: var(--white); }
.btn.dark:hover { background: var(--white); color: var(--ink); }

/* Home: hero */
.hero { padding-top: 64px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; }
.hero-text { flex: 3 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { margin: 0; font-size: clamp(56px, 9vw, 112px); line-height: 0.9; }
.hero .lead { margin: 0; max-width: 560px; font-size: 20px; line-height: 30px; color: var(--soft); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { flex: 2 1 360px; min-width: 0; width: 100%; height: 440px; object-fit: cover; border-radius: var(--radius); border: 2px solid var(--mint); display: block; }

/* Home: metro lines */
.lines { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lines-in { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 40px; }
.line { display: flex; flex-direction: column; gap: 14px; color: var(--white); text-decoration: none; }
.line:hover { color: var(--white); }
.line:hover .line-name span:last-child { text-decoration: underline; }
.line-name { margin: 0; display: flex; align-items: center; gap: 14px; font-size: 26px; font-weight: 800; }
.code { font-family: var(--mono); font-weight: 700; font-size: 14px; padding: 4px 10px; border-radius: 6px; background: var(--c); color: var(--ink); }
.c1 { --c: var(--mint); }
.c2 { --c: var(--white); }
.c3 { --c: var(--amber); }
.c4 { --c: var(--sage); }
.track { list-style: none; margin: 0; padding: 28px 0 0; position: relative; display: grid; grid-template-columns: repeat(var(--stops), minmax(0, 1fr)); gap: 8px; font-weight: 700; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 8px; border-radius: 4px; background: var(--c); }
.track li { position: relative; display: flex; flex-direction: column; gap: 10px; }
.track li:not(:first-child):not(:last-child) { align-items: center; text-align: center; }
.track li:last-child { align-items: flex-end; text-align: right; }
.stop { width: 20px; height: 20px; border-radius: 999px; background: var(--ground); border: 4px solid var(--c); flex: none; }
.stop.hub { width: 28px; height: 28px; margin: -4px 0; border-radius: 6px; background: var(--mint); border-color: var(--white); }

/* Home: clients, photo strip, contact band */
.light { background: var(--surface); color: var(--ink); }
.light .micro { color: var(--ink-muted); }
.clients { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 28px; }
.client-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: baseline; font-size: clamp(32px, 4.5vw, 44px); line-height: 1.1; }
.strip { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
.strip img { width: 100%; height: 320px; object-fit: cover; display: block; }
.band { background: var(--mint); color: var(--ink); }
.band-in { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.band h2 { margin: 0; flex: 1 1 480px; font-size: clamp(40px, 6vw, 56px); line-height: 1; }
.band-contact { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; font-size: 18px; }
.band-contact a { color: var(--ink); font-weight: 800; text-decoration: none; }
.band-contact a.more { font-weight: 700; text-decoration: underline; }
.band-text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 10px; }
.band-text h2 { flex: none; font-size: clamp(36px, 5vw, 48px); }
.band-text p { margin: 0; font-size: 18px; line-height: 28px; }

/* Inner pages: title band */
.title { border-bottom: 1px solid var(--line); }
.title-in { padding-top: 48px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 14px; }
.title h1 { margin: 0; font-size: clamp(56px, 8vw, 88px); line-height: 0.95; }
.title .lead { margin: 0; max-width: 720px; font-size: 20px; line-height: 30px; color: var(--soft); }

/* Qué hacemos: cargo labels */
.labels-grid { padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 32px; }
.label { background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 16px; }
.label-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 2px solid var(--ink); }
.label-head h2 { margin: 0; font-size: 34px; }
.label.c2 .code { background: var(--ink); color: var(--white); }
.label-photo { width: 100%; height: 220px; object-fit: cover; display: block; border-bottom: 2px solid var(--ink); }
.label-fields { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); font-family: var(--mono); font-size: 14px; }
.label-fields div { padding: 14px 20px; border-bottom: 2px solid var(--ink); }
.label-fields div:nth-child(odd) { border-right: 2px solid var(--ink); }
.label-fields dt { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.label-fields dd { margin: 4px 0 0; font-weight: 700; }
.label-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.label-body p { margin: 0; font-size: 17px; line-height: 27px; }
.label-body .on-line { font-family: var(--mono); font-size: 13px; line-height: 22px; color: var(--ink-muted); }
.on-line span { text-transform: uppercase; letter-spacing: 0.08em; }

/* Quiénes somos: label + text rows */
.row { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 24px 48px; }
.row.ruled { border-bottom: 1px solid var(--line); }
.row .micro { flex: 1 1 240px; font-size: 14px; }
.row-text { flex: 3 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; font-size: 20px; line-height: 32px; }
.row-text p { margin: 0; }
.row-text p + p { color: var(--soft); }
.strip.tall img { height: 380px; }
.network { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 28px; }
.network-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.member-card { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.member-card strong { display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 800; }
.member-card strong i { width: 14px; height: 14px; border-radius: 999px; display: inline-block; }
.member-card p { margin: 0; font-size: 17px; line-height: 27px; }

/* Proyectos */
.projects { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 32px; }
.project { border: 2px solid var(--white); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.project h2 { margin: 0; font-size: 40px; line-height: 1; }
.project p { margin: 0; font-size: 18px; line-height: 28px; color: var(--soft); }
.project .micro { font-size: 13px; color: var(--quiet); }
.project.feature { border-color: var(--mint); padding: 0; overflow: hidden; flex-direction: row; flex-wrap: wrap; gap: 0; }
.project.feature img { flex: 1 1 320px; min-width: 0; width: 100%; height: 340px; object-fit: cover; display: block; }
.project.feature .project-text { flex: 2 1 480px; min-width: 0; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.project.feature h2 { font-size: 52px; }
.project.feature .micro.mint { color: var(--mint); }
.project-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 32px; }
.note { margin: 0; font-size: 14px; line-height: 22px; color: var(--quiet); }

/* Contacto: the sign as a photo inside the page column (its words on the left), the title in a box over its lower right corner */
.sign-wrap { padding-top: 32px; }
.sign { position: relative; height: 400px; overflow: hidden; border-radius: var(--radius); }
.sign > img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: left 62%; }
.sign-in { position: relative; height: 100%; padding: 0 32px; display: flex; align-items: flex-end; justify-content: flex-end; }
.sign-box { background: var(--ground); border-top: 8px solid var(--mint); padding: 28px 36px 32px; display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.sign-box h1 { margin: 0; font-size: clamp(56px, 8vw, 96px); line-height: 0.9; }
.sign-box .lead { margin: 0; font-size: 18px; line-height: 28px; color: var(--soft); }

/* Contacto: the form drawn as a cargo label, the direct ways in beside it */
.contact-wrap { padding-top: 32px; padding-bottom: 72px; }
.contact-page { background: var(--soft); color: var(--ink); border-radius: var(--radius); padding: 48px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.contact-page .micro { color: var(--ink-muted); }
.form-label { flex: 3 1 560px; min-width: 0; background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.form-label .label-head h2 { margin: 0; font-size: 34px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); font-family: var(--mono); }
.form-grid label { padding: 14px 20px; border-bottom: 2px solid var(--ink); display: flex; flex-direction: column; gap: 6px; }
.form-grid label:first-child { border-right: 2px solid var(--ink); }
.form-grid label.wide { grid-column: 1 / -1; }
.form-grid label > span { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.form-grid input, .form-grid select, .form-grid textarea { font: inherit; font-size: 16px; font-weight: 700; border: 0; border-bottom: 2px dashed var(--quiet); padding: 4px 0; background: transparent; color: var(--ink); width: 100%; border-radius: 0; }
.form-grid textarea { font-weight: 400; resize: vertical; }
.form-grid input:focus-visible, .form-grid select:focus-visible, .form-grid textarea:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; border-bottom-color: var(--ink); }
.form-foot { padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form-foot p { margin: 0; flex: 1 1 260px; font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.direct { flex: 2 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.direct div { display: flex; flex-direction: column; gap: 6px; }
.direct strong, .direct a { font-size: 20px; font-weight: 700; line-height: 30px; overflow-wrap: anywhere; color: var(--ink); }

/* Openings: each page starts differently */
/* Inicio: the headline over the full photo */
.hero-a { position: relative; min-height: 820px; overflow: hidden; }
.hero-a > img, .hero-a .shade { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.hero-a > img { object-fit: cover; object-position: center 40%; display: block; }
.hero-a .shade { background: rgba(36, 40, 40, 0.55); }
.top.over { position: relative; border-bottom-color: rgba(255, 255, 255, 0.25); }
.hero-in { position: relative; padding-top: 180px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 24px; }
.hero-in h1 { margin: 0; font-size: clamp(56px, 10vw, 132px); line-height: 0.9; }
.hero-in .lead { margin: 0; max-width: 560px; font-size: 20px; line-height: 30px; color: var(--white); }
/* Qué hacemos: title and lead side by side, then a photo band with a line across it */
.title-c { padding-top: 56px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.title-c > div { flex: 2 1 560px; display: flex; flex-direction: column; gap: 14px; }
.title-c h1 { margin: 0; font-size: clamp(56px, 8vw, 104px); line-height: 0.9; }
.title-c .lead { margin: 0; flex: 1 1 320px; font-size: 18px; line-height: 28px; color: var(--soft); }
.photo-band { position: relative; height: 420px; overflow: hidden; }
.photo-band > img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; display: block; }
.photo-band .rail { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(36, 40, 40, 0.82); }
.photo-band .track { padding-bottom: 22px; font-size: 15px; }
/* Quiénes somos: half text, half photo */
.split { display: flex; flex-wrap: wrap; min-height: 620px; border-bottom: 1px solid var(--line); }
.split-text { flex: 1 1 520px; min-width: 0; padding: 88px max(16px, 3vw) 64px max(16px, calc((100vw - 1200px) / 2 + 3vw)); display: flex; flex-direction: column; justify-content: flex-end; gap: 24px; }
.split-text h1 { margin: 0; font-size: clamp(56px, 8vw, 104px); line-height: 0.9; }
.split-text .lead { margin: 0; max-width: 480px; font-size: 20px; line-height: 30px; color: var(--soft); }
.split > img { flex: 1 1 440px; min-width: 0; width: 100%; min-height: 620px; object-fit: cover; display: block; border-left: 8px solid var(--mint); }
/* Bizikasi: the split opening with Bizikasi's green, the photo is portrait */
.split-bizikasi { min-height: 0; }
.split-bizikasi > img { border-left-color: #3fa45c; height: 620px; min-height: 0; object-position: center 15%; }
.split-bizikasi .split-text { justify-content: flex-start; padding-top: 72px; }
/* Proyectos: the photo inside the letters; the Human Spaces band */
.clip { background-size: cover; background-position: center 40%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.title h1.clip { font-size: clamp(64px, 17vw, 232px); line-height: 0.82; letter-spacing: -0.01em; }
.hs-band { background: #e0603a; color: var(--ink); }
.hs-in { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; }
.hs-in .stencil { margin: 0; flex: 1 1 240px; font-size: 44px; line-height: 1; }
.hs-in p:last-child { margin: 0; flex: 3 1 520px; min-width: 0; font-size: 20px; line-height: 30px; font-weight: 600; }

/* Footer */
.foot { border-top: 1px solid var(--line); }
.foot-row { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; font-size: 15px; }
.tagline { flex-grow: 1; font-size: 26px; color: var(--mint); }
.member { display: flex; align-items: center; gap: 8px; }
.member i { width: 10px; height: 10px; border-radius: 999px; display: inline-block; }
.quiet { color: var(--quiet); }

@media (max-width: 640px) {
  .hero-photo { height: 300px; }
  .track { grid-template-columns: 1fr; padding-top: 0; padding-left: 28px; gap: 18px; }
  .track::before { top: 0; bottom: 0; left: 6px; right: auto; width: 8px; height: auto; }
  .track li, .track li:not(:first-child):not(:last-child), .track li:last-child { flex-direction: row; align-items: center; text-align: left; margin-left: -28px; }
  .stop.hub { margin-top: 0; margin-left: -4px; }
  .strip { grid-template-columns: 1fr; }
  .strip img, .strip.tall img { height: 240px; }
  .label-fields { grid-template-columns: 1fr; }
  .label-fields div:nth-child(odd) { border-right: 0; }
  .project.feature img { height: 220px; }
  .project.feature h2 { font-size: 40px; }
  .hero-a { min-height: 640px; }
  .hero-in { padding-top: 96px; }
  .photo-band { height: auto; }
  .photo-band > img { position: static; height: 240px; }
  .photo-band .rail { position: static; padding-top: 16px; }
  .split > img { min-height: 320px; border-left: 0; border-top: 8px solid var(--mint); }
  .split-bizikasi > img { border-top-color: #3fa45c; height: 320px; }
  .split-bizikasi .split-text { padding-top: 48px; }
  .sign { height: auto; }
  .sign > img { position: static; height: 200px; display: block; }
  .sign-in { height: auto; padding: 0; }
  .sign-box { max-width: none; padding: 24px 0 8px; }
  .contact-page { padding: 24px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid label:first-child { border-right: 0; }
}
