:root {
  color-scheme: dark;
  --bg: #110d16;
  --surface: #1a1421;
  --ink: #f9f1fb;
  --secondary: #c9becf;
  --accent: #e4c5f8;
  --line: #45364d;
  --display: "Instrument Serif", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1rem/1.6 var(--body); }
a { color: inherit; text-underline-offset: .27em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: .96; }
h2 { font-size: clamp(3.55rem, 7vw, 6.9rem); }
h3 { font-size: clamp(2.6rem, 4.7vw, 4.25rem); }
em { color: var(--accent); }
img { display: block; max-width: 100%; }
.wrap { width: min(100% - 3.5rem, 75rem); margin-inline: auto; }
.skip { position: absolute; z-index: 3; translate: 0 -160%; background: var(--accent); color: var(--bg); padding: .6rem 1rem; }
.skip:focus { translate: 0; }
.site-header { border-bottom: 1px solid #34283d; background: #100c14; }
.header-inner, .footer-inner { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; gap: .65rem; align-items: baseline; font: 2.85rem/.85 var(--display); text-decoration: none; }
.brand span { font: 600 .77rem/1 var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--secondary); }
nav { display: flex; gap: clamp(.8rem, 3.4vw, 2.6rem); align-items: center; }
nav a { font-size: .92rem; font-weight: 500; text-decoration: none; }
.nav-contact { border: 1px solid #66536e; border-radius: 999px; padding: .52rem 1rem; }
.hero {
  min-height: min(48rem, 84svh);
  display: grid;
  align-items: center;
  background: linear-gradient(90deg, #100c16 0%, #100c16f0 18%, #100c16ac 39%, #100c160e 68%), linear-gradient(0deg, var(--bg) 0%, transparent 20%), #110d16 url("reloj.webp") center 48% / cover no-repeat;
}
.hero-inner { padding-block: 5.4rem 6.8rem; }
.eyebrow { color: var(--accent); font-size: .875rem; font-weight: 700; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { display: inline-block; vertical-align: middle; width: .43rem; height: .43rem; margin-right: .55rem; background: var(--accent); transform: rotate(45deg); }
.hero h1 { margin-top: 1.3rem; font-size: clamp(5.2rem, 10.6vw, 10rem); line-height: .86; letter-spacing: -.025em; }
.intro { margin-top: 1.7rem; max-width: 28rem; font-size: clamp(1.03rem, 1.55vw, 1.24rem); color: var(--secondary); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.button { display: inline-flex; justify-content: center; align-items: center; width: fit-content; min-height: 3.1rem; padding: .65rem 1.2rem; border: 1px solid transparent; border-radius: 999px; font-size: .94rem; font-weight: 700; line-height: 1.25; text-decoration: none; }
.primary { background: var(--accent); color: #221229; }
.primary:hover { color: #221229; background: #f3ddff; }
.outline { border-color: #796782; background: #100c164d; }
.outline:hover { border-color: var(--accent); }
.work { padding-block: 5.3rem; }
.section-heading { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 1.25rem 3rem; margin-bottom: 2.6rem; }
.section-heading > p, .show-copy > p:last-child, .work-note, .about-copy, .contact-inner > p:not(.eyebrow) { color: var(--secondary); }
.section-heading > p { max-width: 29rem; }
.show-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.show { overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.show img { width: 100%; height: auto; aspect-ratio: 1.85; object-fit: cover; object-position: center; background: #211726; }
.show-copy { padding: clamp(1.3rem, 3vw, 2.5rem); }
.show h3 { margin-block: .6rem .8rem; }
.show-copy > p:last-child { max-width: 38ch; }
.work-note { margin-top: 1.6rem; }
.work-note a, .about-copy a, .email { color: var(--accent); }
.about { border-block: 1px solid var(--line); background: #1d1424; padding-block: clamp(4rem, 9vw, 7rem); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 4rem; align-items: start; }
.about h2 { margin-top: .65rem; }
.about-copy { padding-top: .25rem; max-width: 36rem; font-size: 1.08rem; }
.about-copy > * + * { margin-top: 1rem; }
.about-copy a { display: inline-block; }
.contact { padding-block: clamp(4.5rem, 10vw, 8rem); text-align: center; background: radial-gradient(ellipse at 50% 70%, #251630, transparent 70%); }
.contact-inner { display: grid; justify-items: center; }
.contact h2 { margin-block: .85rem 1.15rem; }
.contact-inner > p:not(.eyebrow) { max-width: 34rem; }
.contact .button { margin-top: 1.55rem; }
.email { margin-top: .8rem; overflow-wrap: anywhere; }
footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 6rem; flex-wrap: wrap; padding-block: 1.1rem; }
.footer-inner > :not(.brand) { color: var(--secondary); font-size: .9rem; }
@media (max-width: 720px) {
  .wrap { width: calc(100% - 2.25rem); }
  .hero { min-height: 0; align-items: end; background-image: linear-gradient(0deg, #100c16 2%, #100c16f0 38%, #100c1670 66%, #100c1610 100%), url("reloj.webp"); background-size: cover, auto 76%; background-position: center, 74% top; }
  .hero-inner { padding-block: clamp(11.5rem, 57vw, 19rem) 3.2rem; }
  .hero h1 { font-size: clamp(4.1rem, 13.3vw, 6.3rem); }
  .intro { margin-top: 1.2rem; }
  .section-heading, .show-grid, .about-grid { grid-template-columns: 1fr; }
  .section-heading { margin-bottom: 1.5rem; }
  .work { padding-block: 3.2rem 3.75rem; }
  .header-inner { min-height: 4.4rem; gap: .65rem; }
  .header-inner .brand span { display: none; }
}
@media (max-width: 370px) {
  nav { gap: .65rem; }
  nav a { font-size: .85rem; }
  .nav-contact { padding-inline: .62rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
