/* puntodefuga — prototipo de web (estático) */

:root {
  --paper: #fcfcfb;
  --sand: #ebe3d7;
  --sand-deep: #ddd2c2;
  --ink: #23211e;
  --ink-soft: #625d55;
  --rule: #d6cdbf;
  --wood: #9c6b43;
  --wood-deep: #7e5332;
  --on-dark: #f6f3ee;

  --serif: "Gilda Display", "Times New Roman", serif;
  --sans: "Jost", "Futura", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --section: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; scroll-padding-top: 116px; -webkit-text-size-adjust: 100%; }
button, .btn, .card, .service { touch-action: manipulation; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 860px) { html { scroll-padding-bottom: 72px; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--wood-deep); }
::selection { background: var(--ink); color: var(--on-dark); }
:focus-visible { outline: 2px solid var(--wood); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--on-dark); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }
.skip:hover { color: var(--on-dark); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: 1.02; letter-spacing: -.01em; }
h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.08; }
h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; color: var(--ink-soft); max-width: 58ch; }
.meta { font-size: 15px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font: 500 15px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  padding: 18px 28px; border: 1px solid var(--ink); background: var(--ink); color: var(--on-dark);
  text-decoration: none; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: var(--wood-deep); border-color: var(--wood-deep); color: var(--on-dark); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.btn--light { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.btn--light:hover { background: transparent; color: var(--on-dark); border-color: var(--on-dark); }
.btn svg { width: 18px; height: 18px; }
.link-arrow { font: 500 17px/1.4 var(--sans); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }

/* header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--ink); background: var(--paper);
  border-bottom: 1px solid var(--rule);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 96px; gap: 24px; }
.brand { display: block; color: inherit; }
.brand img { height: 44px; width: auto; }
.brand__mark { display: none; }
/* the transparent logo as a mask takes the text colour, so it reads over the hero photo too */
@supports (mask-size: contain) {
  .brand img { display: none; }
  .brand__mark {
    display: block; width: 307px; height: 44px; background: currentColor;
    mask: url("https://static.wixstatic.com/media/c4a968_cebb5f9360f5442ca24a01818121c404~mv2.png") left center / contain no-repeat;
  }
}
.site-header nav ul { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0; }
.site-header nav a { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { border-color: currentColor; color: inherit; }
.site-header .nav-cta { border: 1px solid currentColor; padding: 10px 16px; }
.site-header .nav-cta:hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.menu-toggle { display: none; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; }

/* header over a hero photo */
.has-hero .site-header:not(.is-solid) { background: transparent; border-color: transparent; color: var(--on-dark); }
.has-hero .site-header:not(.is-solid) .nav-cta:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }

main { display: block; }
.page-top { padding-top: calc(96px + clamp(48px, 7vw, 96px)); }

/* hero */
.hero { position: relative; min-height: 100svh; color: var(--on-dark); display: flex; align-items: flex-end; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 16, 12, .38) 0%, rgba(20, 16, 12, 0) 26%, rgba(20, 16, 12, 0) 42%, rgba(20, 16, 12, .62) 100%); }
.hero__copy { position: relative; z-index: 1; padding-bottom: clamp(48px, 9vh, 104px); width: 100%; }
.hero h1 { max-width: 18ch; margin-bottom: 26px; text-shadow: 0 1px 24px rgba(20, 16, 12, .35); }
@media (max-width: 860px) {
  .hero::after { background: linear-gradient(180deg, rgba(20, 16, 12, .4) 0%, rgba(20, 16, 12, 0) 22%, rgba(20, 16, 12, .25) 40%, rgba(20, 16, 12, .72) 100%); }
}
.hero p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; max-width: 46ch; margin-bottom: 34px; color: rgba(246, 243, 238, .92); }
.hero__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero__actions .tel { color: var(--on-dark); font-size: 17px; letter-spacing: .04em; }
.hero__actions .tel:hover { color: var(--on-dark); }

/* intro statement */
.intro { padding: var(--section) 0; }
.intro .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.intro h2 { max-width: 18ch; }
.intro p { color: var(--ink-soft); max-width: 46ch; }

/* services */
.services { padding: 0 0 var(--section); }
.services__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--rule); padding-bottom: 24px; }
.service { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.service:nth-child(even) .service__img { order: 2; }
.service__img { overflow: hidden; aspect-ratio: 3 / 2; background: var(--sand); }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service:hover .service__img img { transform: scale(1.03); }
.service:hover { color: inherit; }
.service h3 { margin-bottom: 14px; }
.service p { color: var(--ink-soft); max-width: 44ch; }
.service .meta { display: block; margin-top: 22px; }

/* how we work — colour field */
.field { background: var(--sand); padding: var(--section) 0; }
.how .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.how h2 { margin-bottom: 24px; }
.how .lead { margin-bottom: 36px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 8px 20px; padding: 26px 0; border-top: 1px solid var(--sand-deep); counter-increment: step; }
.steps li:last-child { border-bottom: 1px solid var(--sand-deep); }
.steps li::before { content: counter(step); font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--wood-deep); grid-row: span 2; }
.steps h3 { font-size: 24px; }
.steps p { margin: 0; color: var(--ink-soft); }

/* project grid */
.work { padding: var(--section) 0; }
.work__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(16px, 2vw, 28px); }
.grid--feature > :nth-child(1) { grid-column: span 2; grid-row: span 2; }
.grid--feature > :nth-child(1) .card__img { aspect-ratio: auto; height: calc(100% - 96px); }
.card { text-decoration: none; display: block; }
.card:hover { color: inherit; }
.card__img { overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; }
.card:hover .card__img img { transform: scale(1.035); }
.card h3 { font-size: 23px; margin: 16px 0 6px; }
.card .meta { font-size: 15px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.card[hidden] { display: none; }

.filters { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 clamp(32px, 4vw, 52px); padding: 0; list-style: none; }
.filters button { font: 500 14px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: transparent; border: 1px solid var(--rule); padding: 12px 16px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.filters .count { color: inherit; opacity: .6; margin-left: 6px; font-variant-numeric: tabular-nums; }

/* contact band */
.contact-band { background: var(--ink); color: var(--on-dark); padding: var(--section) 0; }
.contact-band .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.contact-band p { color: rgba(246, 243, 238, .78); max-width: 44ch; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { border-top: 1px solid rgba(246, 243, 238, .2); }
.contact-list li:last-child { border-bottom: 1px solid rgba(246, 243, 238, .2); }
.contact-list a, .contact-list span { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; text-decoration: none; font-size: 19px; }
.contact-list a:hover { color: var(--sand-deep); }
.contact-list small { font-size: 15px; opacity: .65; }

/* footer */
.site-footer { background: var(--sand); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: 16px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-footer img { height: 48px; width: auto; margin-bottom: 18px; }
.site-footer h2 { font-family: var(--sans); font-size: 15px; color: var(--ink-soft); font-weight: 500; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .legal { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--sand-deep); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--ink-soft); }

/* mobile quick contact */
.quick { display: none; }

/* project page */
.project-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.crumbs { font-size: 16px; color: var(--ink-soft); margin: 0 0 18px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 12px 28px; margin: 0; border-top: 1px solid var(--rule); padding-top: 20px; }
.facts dt { font-size: 15px; color: var(--ink-soft); padding-top: 2px; }
.facts dd { margin: 0; font-variant-numeric: tabular-nums; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.gallery button { padding: 0; border: 0; background: var(--sand); cursor: zoom-in; overflow: hidden; display: block; }
.gallery button:first-child { grid-column: 1 / -1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 1.2s var(--ease); }
.gallery button:first-child img { aspect-ratio: 16 / 9; }
.gallery button:hover img { transform: scale(1.02); }
.project-nav { display: flex; justify-content: space-between; gap: 24px; padding: 40px 0; border-top: 1px solid var(--rule); margin-top: clamp(56px, 7vw, 96px); }
.project-nav a { text-decoration: none; max-width: 45%; }
.project-nav small { display: block; font-size: 15px; color: var(--ink-soft); }
.project-nav span { font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); }

.lightbox { overscroll-behavior: contain; border: 0; padding: 0; background: rgba(20, 18, 15, .96); width: 100vw; height: 100vh; max-width: none; max-height: none; color: var(--on-dark); }
.lightbox::backdrop { background: rgba(20, 18, 15, .96); }
.lightbox figure { margin: 0; height: 100%; display: flex; align-items: center; justify-content: center; padding: 64px 72px; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: inherit; cursor: pointer; padding: 14px; }
.lightbox button svg { width: 30px; height: 30px; }
.lightbox .lb-close { top: 12px; right: 12px; }
.lightbox .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-size: 14px; letter-spacing: .08em; }

/* generic content pages */
.page-head { margin-bottom: clamp(48px, 6vw, 88px); }
.page-head h1 { font-size: clamp(42px, 5.6vw, 80px); max-width: 16ch; margin-bottom: 24px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose p { max-width: 62ch; }
.prose h2 { font-size: clamp(28px, 3vw, 40px); margin: 1.4em 0 .5em; }
.figure-tall { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.figure-tall img { width: 100%; height: 100%; object-fit: cover; }
figure { margin: 0; }
.figure-tall--wide { aspect-ratio: 4 / 3; margin-top: 40px; }
.wide { margin-top: var(--section); }
.wide img { width: 100%; aspect-ratio: 16 / 7.5; object-fit: cover; }
.prose__cta { margin-top: 36px; }
.service__title { font-size: clamp(28px, 3vw, 40px); margin-bottom: 14px; }
.contact-list--light li { border-color: var(--rule) !important; }
.contact-list--light a:hover { color: var(--wood-deep); }

/* form */
.form { display: grid; gap: 22px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form label { display: block; font-size: 15px; color: var(--ink-soft); margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font: 400 18px/1.4 var(--sans); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--ink-soft); border-radius: 0; padding: 10px 0;
}
.form textarea { min-height: 140px; resize: vertical; border: 1px solid var(--ink-soft); padding: 12px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--wood); box-shadow: 0 1px 0 0 var(--wood); }
.form textarea:focus { box-shadow: 0 0 0 1px var(--wood); }
.form ::placeholder { color: #6f6a61; }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.form .check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); }
.form .err { color: #9b2c1f; font-size: 14px; margin-top: 6px; display: none; }
.form [aria-invalid="true"] { border-color: #9b2c1f; }
.form [aria-invalid="true"] + .err { display: block; }
.form-note { font-size: 15px; color: var(--ink-soft); }
.form-info { font-size: 13px; line-height: 1.5; color: var(--ink-soft); max-width: 62ch; }
.form-ok { border: 1px solid var(--rule); padding: 24px; background: var(--sand); }

/* the one authored moment: the hero photo settles as the page opens; content is visible from the start */
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
.hero__img { animation: settle 2.4s var(--ease) both; }

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--feature > :nth-child(1) { grid-column: 1 / -1; grid-row: auto; }
  .grid--feature > :nth-child(1) .card__img { height: auto; aspect-ratio: 4 / 3; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 17px; }
  .menu-toggle { display: block; }
  .site-header nav { position: fixed; inset: 72px 0 0 0; background: var(--paper); color: var(--ink); padding: 32px var(--gutter); transform: translateX(100%); transition: transform .5s var(--ease); visibility: hidden; }
  .site-header nav.is-open { transform: none; visibility: visible; }
  .site-header nav ul { flex-direction: column; align-items: flex-start; gap: 6px; }
  .site-header nav a { font-family: var(--serif); text-transform: none; letter-spacing: 0; font-size: 34px; }
  .site-header .nav-cta { border: 0; padding: 8px 0; }
  .intro .wrap, .how .wrap, .contact-band .wrap, .project-head, .split { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; }
  .service:nth-child(even) .service__img { order: 0; }
  .services__head, .work__head { flex-direction: column; align-items: flex-start; }
  .quick { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 40; background: var(--ink); }
  .quick a { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 8px calc(16px + env(safe-area-inset-bottom)); color: var(--on-dark); text-decoration: none; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
  .quick a + a { border-left: 1px solid rgba(246, 243, 238, .2); }
  .quick svg { width: 20px; height: 20px; }
  body { padding-bottom: 58px; }
  .form .row2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .hero__actions { gap: 18px; }
  .lightbox figure { padding: 56px 8px; }
}

/* links on dark grounds keep a light hover */
.contact-band a:hover, .quick a:hover { color: var(--sand-deep); }

/* project page */
.project-hero { margin: 0 0 clamp(40px, 5vw, 64px); }
.project-hero img { display: block; width: 100%; height: min(78svh, 820px); object-fit: cover; background: var(--sand); }
.project-title { font-size: clamp(40px, 5vw, 72px); }
.project-head .lead { margin-top: 20px; }
.project-scope { margin-top: 28px; }
.project-scope a { font-weight: 500; }
.related { padding: clamp(56px, 7vw, 96px) 0 0; }
.related h2 { margin-bottom: clamp(28px, 3vw, 40px); }
.grid--feature > :nth-child(1) .card__img { height: calc(100% - 96px); }
.project-nav .next { text-align: right; }
.project-hero button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
/* the first photo spans the row, so a last photo in an even position would sit alone: let it span too */
.gallery button:last-child:nth-child(even) { grid-column: 1 / -1; }
.gallery button:last-child:nth-child(even) img { aspect-ratio: 16 / 9; }
.filter-status { margin: -24px 0 32px; }
.contact-band--spaced { margin-top: var(--section); }
@media (max-width: 860px) {
  .site-header .wrap { height: 72px; }
  .brand__mark { width: 237px; height: 34px; }
  .brand img { height: 34px; }
  .page-top { padding-top: calc(72px + clamp(48px, 7vw, 96px)); }
}

/* buttons in sand instead of black or white (user, 25/10/2026) */
.btn { background: var(--sand); color: var(--ink); border-color: var(--sand-deep); }
.btn:hover { background: var(--wood-deep); border-color: var(--wood-deep); color: var(--on-dark); }
.btn--light { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.btn--light:hover { background: var(--wood-deep); border-color: var(--wood-deep); color: var(--on-dark); }
.field .btn { background: var(--paper); border-color: var(--paper); }
.field .btn:hover { background: var(--wood-deep); border-color: var(--wood-deep); color: var(--on-dark); }
.filters button[aria-pressed="true"] { background: var(--sand); color: var(--ink); border-color: var(--sand-deep); }

/* contact band in deep sand instead of black (user, 25/10/2026) */
.contact-band { background: var(--sand-deep); color: var(--ink); border-bottom: 1px solid var(--rule); }
.contact-band p { color: var(--ink-soft); }
.contact-band .contact-list li { border-color: var(--rule); }
.contact-band .contact-list small { opacity: 1; color: var(--ink-soft); }
.contact-band a:hover { color: var(--wood-deep); }
/* hero button: a deeper beige so it doesn't read as white over the photo (user, 25/10/2026) */
.btn--light { background: #cbb89a; border-color: #cbb89a; color: var(--ink); }
/* button hover: soft pastel terracotta instead of brown (user, 25/10/2026) */
.btn:hover, .btn--light:hover, .field .btn:hover { background: #e2b8a1; border-color: #e2b8a1; color: var(--ink); }
/* projects with only vertical photos open with two of them side by side, uncropped */
.project-hero--pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.4vw, 18px); max-width: var(--max); margin-left: auto; margin-right: auto; padding: 0 var(--gutter); }
.project-hero--pair img { height: auto; aspect-ratio: 4 / 5; }
/* project cover: the same slow settle as the home photo */
.project-hero button { overflow: hidden; }
.project-hero img { animation: settle 2.4s var(--ease) both; }
.project-text { margin-top: 24px; max-width: 52ch; font-family: var(--serif); font-size: clamp(20px, 1.7vw, 24px); line-height: 1.5; color: var(--ink); }
/* a lone gallery photo stays at half width so a small original is not blown up */
.gallery button:only-child { grid-column: auto; }
.gallery button:only-child img { aspect-ratio: 4 / 3; }
/* more air between the studio intro and "Qué hacemos" (user, 25/10/2026) */
.intro + .services { padding-top: clamp(48px, 7vw, 112px); }
/* a vertical photo in a service row keeps its whole height */
.service__img--tall { aspect-ratio: 4 / 5; }
.service__img--tall img { object-position: center 55%; }
/* mobile quick bar (call / WhatsApp) in sand instead of black, like the buttons (user, 25/10/2026) */
.quick { background: var(--sand); border-top: 1px solid var(--sand-deep); }
.quick a { color: var(--ink); }
.quick a + a { border-left-color: var(--sand-deep); }
.quick a:hover, .quick a:active { background: #e2b8a1; color: var(--ink); }
/* menu "Contacto" and project filters: pastel terracotta on hover instead of black, like the buttons (user, 25/10/2026) */
.site-header .nav-cta:hover { background: #e2b8a1; color: var(--ink); border-color: #e2b8a1; }
.filters button:hover, .filters button[aria-pressed="true"]:hover { background: #e2b8a1; color: var(--ink); border-color: #e2b8a1; }

/* design review, 25/10/2026 */
/* hero: a deeper veil behind the copy so the text reaches AA over the pale wall */
.hero::after { background: linear-gradient(90deg, rgba(20, 16, 12, .42) 0%, rgba(20, 16, 12, 0) 62%), linear-gradient(180deg, rgba(20, 16, 12, .45) 0%, rgba(20, 16, 12, .08) 24%, rgba(20, 16, 12, .18) 45%, rgba(20, 16, 12, .66) 100%); }
@media (max-width: 860px) { .hero__img { object-position: 68% center; } }
/* galleries: vertical photos keep their format instead of being cut to landscape */
.gallery button.is-portrait:first-child, .gallery button.is-portrait:last-child:nth-child(even) { grid-column: auto; }
.gallery button.is-portrait img, .gallery button.is-portrait:first-child img, .gallery button.is-portrait:last-child:nth-child(even) img { aspect-ratio: 4 / 5; }
/* lightbox: arrows readable over pale photos, page behind does not scroll */
.lightbox button svg { filter: drop-shadow(0 0 4px rgba(0, 0, 0, .6)); }
html:has(.lightbox[open]) { overflow: hidden; }
/* active filter: a visible edge, in wood rather than black */
.filters button[aria-pressed="true"] { border-color: var(--wood-deep); }
/* contact band: secondary text dark enough for AA on deep sand, and air under the title */
.contact-band p, .contact-band .contact-list small { color: #57524b; }
.contact-band h2 { margin-bottom: 20px; }
/* two opening portraits stack on small phones instead of shrinking to 170 px */
@media (max-width: 560px) { .project-hero--pair { grid-template-columns: 1fr; } }
/* form: data-protection note readable, whole consent label easy to tap */
.form-info { font-size: 14px; }
.form .check { padding: 4px 0; cursor: pointer; }
/* footer links: 44 px touch targets on phones */
@media (max-width: 860px) {
  .site-footer li { margin-bottom: 0; }
  .site-footer li a, .site-footer .legal a { display: inline-block; padding: 11px 0; }
}

/* fonts served from this site (Gilda Display, Jost; SIL Open Font License) instead of Google */
/* latin-ext */
@font-face {
  font-family: 'Gilda Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/gilda-display-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Gilda Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/gilda-display-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/jost-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/jost-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/jost-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/jost-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/jost-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/jost-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
