/* VAZ Estudio — "Editorial Noir".
 *
 * v2 direction: the studio site breaks free from the storefront look. Dark,
 * cinematic, type-as-protagonist — the register of the award sites surveyed
 * (boltdesign.nyc, Studio Ashby, Bernard London): warm near-black field,
 * cream serif display at enormous scale, one ember accent, and motion that
 * performs — preloader curtain, masked line reveals, clip-path image reveals,
 * magnetic buttons, custom cursor. Everything degrades under reduced-motion.
 */

:root {
  --bg: #14120f;
  --bg-2: #191611;
  --surface: #1d1a15;
  --ink: #b9b2a4;
  --ink-strong: #ede7db;
  --accent: #7d766a;
  --ember: #cd7440;
  --ember-soft: rgba(205, 116, 64, 0.14);
  --navy: #1a2b4c;

  --paper: var(--surface);
  --umber: var(--ember);
  --rule: rgba(237, 231, 219, 0.1);
  --rule-strong: rgba(237, 231, 219, 0.22);

  --display: "Cormorant Garamond", Georgia, serif;
  --heading: "Inter", sans-serif;
  --body: "Zen Kaku Gothic New", sans-serif;

  --measure: 1200px;
  --prose: 44em;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1,
h2,
h3 {
  font-weight: 400;
  line-height: 1.04;
  color: var(--ink-strong);
  margin: 0 0 0.45em;
}

h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(3.2rem, 11vw, 9rem);
  letter-spacing: -0.02em;
}

h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.2rem, 5.4vw, 4rem);
}

h3 {
  font-family: var(--heading);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

p {
  margin: 0 0 1.15em;
  max-width: var(--prose);
}

a {
  color: var(--ink-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

em {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.12em;
  color: var(--ember);
}

::selection {
  background: var(--ember);
  color: #14120f;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

/* film grain over everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.03 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* cross-page fade (View Transitions API) */
@view-transition {
  navigation: auto;
}

/* --- preloader curtain ------------------------------------------------------ */

.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition:
    transform 0.9s var(--ease),
    visibility 0s 0.9s;
}

.loader span {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.4rem, 7vw, 5rem);
  color: var(--ink-strong);
  letter-spacing: 0.08em;
  opacity: 0;
  animation: loader-in 0.7s var(--ease) 0.05s forwards;
}

@keyframes loader-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

body.loaded .loader {
  transform: translateY(-100%);
  visibility: hidden;
}

/* --- custom cursor ------------------------------------------------------------ */

.cursor {
  position: fixed;
  z-index: 300;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(237, 231, 219, 0.65);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition:
    width 0.25s var(--ease),
    height 0.25s var(--ease),
    margin 0.25s var(--ease),
    opacity 0.3s ease,
    background 0.25s ease;
  mix-blend-mode: difference;
}

body.has-cursor .cursor {
  opacity: 1;
}

.cursor.hot {
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  background: rgba(237, 231, 219, 0.16);
}

@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none;
  }
}

/* --- scroll progress ------------------------------------------------------------ */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 210;
  background: var(--ember);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* --- reveal-on-scroll -------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* masked line reveal for hero titles (spans injected by main.js) */
.hero h1 .l {
  display: block;
  overflow: clip;
}

.hero h1 .li {
  display: block;
  transform: translateY(112%);
  transition: transform 1s var(--ease);
}

.hero h1.in .li {
  transform: none;
}

.hero h1 .l:nth-child(2) .li {
  transition-delay: 0.1s;
}

.hero h1 .l:nth-child(3) .li {
  transition-delay: 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .hero h1 .li {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .loader {
    display: none;
  }
  .cursor {
    display: none;
  }
}

/* --- header ------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 18, 15, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--rule);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 78px;
  flex-wrap: wrap;
}

.brand img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.25s ease;
}

.brand:hover img {
  opacity: 0.7;
}

.site-nav {
  display: flex;
  gap: clamp(14px, 2.2vw, 30px);
  margin-left: auto;
  flex-wrap: wrap;
}

.site-nav a {
  position: relative;
  color: var(--ink-strong);
  text-decoration: none;
  font-family: var(--heading);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  border-bottom: 1.5px solid var(--ember);
  transition: right 0.3s var(--ease);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  right: 0;
}

.site-nav a.shop {
  color: var(--ember);
}

/* --- hero ------------------------------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 16vh, 180px) 0 clamp(56px, 9vh, 110px);
}

.hero .wrap {
  position: relative;
  z-index: 2;
}

/* the plan as blueprint: inverted linework glowing out of the dark */
.hero-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(60vw, 820px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.22;
  -webkit-mask-image: linear-gradient(to left, black 55%, transparent);
  mask-image: linear-gradient(to left, black 55%, transparent);
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  filter: invert(1) grayscale(1) contrast(1.15);
}

.hero .lead {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  max-width: 30em;
}

.hero-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 38px;
}

.hero h1 em {
  font-size: 1em;
}

.hero .kicker-line {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero .kicker-line::before {
  content: "";
  width: 52px;
  border-top: 1px solid var(--ember);
}

/* --- editorial atoms ---------------------------------------------------------------------- */

.eyebrow {
  font-family: var(--heading);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--ink);
}

.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: clamp(60px, 9vh, 110px) 0;
}

section {
  scroll-margin-top: 96px;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 34px;
}

.section-head .num {
  font-family: var(--display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ember);
  white-space: nowrap;
}

/* --- buttons (magnetic targets, fill-slide hover) ------------------------------------------ */

.btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  background: transparent;
  color: var(--ink-strong);
  text-decoration: none;
  padding: 16px 40px;
  font-family: var(--heading);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--ink-strong);
  transition:
    color 0.35s var(--ease),
    border-color 0.35s var(--ease);
  will-change: transform;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ember);
  transform: translateY(101%);
  transition: transform 0.4s var(--ease);
  z-index: -1;
}

.btn:hover {
  color: #14120f;
  border-color: var(--ember);
}

.btn:hover::before {
  transform: none;
}

.btn.ghost {
  border-color: var(--rule-strong);
  color: var(--ink);
}

.btn.ghost:hover {
  color: #14120f;
}

.textlink {
  font-family: var(--heading);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ember);
}

.textlink::after {
  content: " →";
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

.textlink:hover::after {
  transform: translateX(6px);
}

/* --- marquee -------------------------------------------------------------------------------- */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 26px 0;
  white-space: nowrap;
  background: var(--bg-2);
}

.marquee .track {
  display: inline-block;
  animation: marquee 30s linear infinite;
}

.marquee span {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  color: var(--ink-strong);
  padding-right: 22px;
}

.marquee i {
  font-style: normal;
  color: var(--ember);
  padding-right: 22px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee .track {
    animation: none;
  }
}

/* --- manifesto -------------------------------------------------------------------------------- */

.manifesto {
  padding: clamp(80px, 14vh, 170px) 0;
}

.manifesto blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.1rem, 5.4vw, 4.2rem);
  line-height: 1.18;
  color: var(--ink-strong);
  max-width: 21em;
}

.manifesto blockquote em {
  font-size: 1em;
}

.manifesto cite {
  display: block;
  margin-top: 28px;
  font-family: var(--heading);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

/* --- service cards ------------------------------------------------------------------------------ */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 36px 32px 28px;
  overflow: hidden;
  transition:
    border-color 0.35s ease,
    transform 0.45s var(--ease),
    background 0.35s ease;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 100%;
  border-left: 3px solid var(--ember);
  transition: bottom 0.45s var(--ease);
}

.card:hover {
  border-color: var(--rule-strong);
  background: #211d17;
  transform: translateY(-6px);
}

.card:hover::before {
  bottom: 0;
}

.card .eyebrow {
  margin-bottom: 10px;
  color: var(--ember);
}

.card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.85rem;
  margin: 0 0 10px;
}

.card p {
  font-size: 0.97rem;
}

.card .price {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
  color: var(--ink);
}

.card .more {
  margin: 12px 0 0;
}

/* --- steps / principles ----------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 36px;
  counter-reset: step;
}

.step {
  border-top: 1px solid var(--rule-strong);
  padding-top: 18px;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--ember);
  display: block;
  margin-bottom: 6px;
}

.step strong {
  display: block;
  font-family: var(--heading);
  color: var(--ink-strong);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.94rem;
  margin: 0;
}

/* --- priority tiers -------------------------------------------------------------------------------------- */

.tier {
  border-left: 3px solid var(--accent);
  padding: 10px 0 10px 26px;
  margin-bottom: 22px;
  max-width: var(--prose);
}

.tier strong {
  display: block;
  font-family: var(--heading);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 4px;
  color: var(--ink-strong);
}

.tier p {
  margin: 0;
}

.tier.alta {
  border-left-color: var(--ember);
}

.tier.alta strong {
  color: var(--ember);
}

.tier.intermedia {
  border-left-color: var(--ink-strong);
}

/* --- gallery: clip-path image reveals ------------------------------------------------------------------------ */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}

.gallery figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 14px;
}

.gallery .frame {
  overflow: hidden;
}

.gallery figure.reveal .frame img {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.12);
  transition:
    clip-path 1s var(--ease),
    transform 1.2s var(--ease);
}

.gallery figure.reveal.in .frame img {
  clip-path: inset(0 0 0 0);
  transform: none;
}

.gallery figcaption {
  margin-top: 12px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.gallery .wide {
  grid-column: 1 / -1;
}

/* plans read as blueprints on the dark field; photos and SVGs stay as-is */
.gallery .frame img[src$=".png"] {
  filter: invert(0.92) hue-rotate(180deg) contrast(0.95);
}

/* --- pieces / mosaic --------------------------------------------------------------------------------------------- */

.pieces {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.pieces.mosaic {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-flow: dense;
}

.pieces.mosaic .piece:first-child {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}

.pieces.mosaic .piece:first-child .ph {
  aspect-ratio: auto;
  height: auto;
  flex: 1 1 0;
  min-height: 0;
}

.piece {
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--rule);
  transition:
    border-color 0.3s ease,
    transform 0.45s var(--ease);
}

.piece:hover {
  border-color: var(--rule-strong);
  transform: translateY(-6px);
}

.piece .ph {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-2);
}

.piece img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.92);
  transition:
    transform 0.7s var(--ease),
    filter 0.5s ease;
}

.piece:hover img {
  transform: scale(1.05);
  filter: grayscale(0) brightness(1);
}

.piece .meta {
  padding: 14px 16px 16px;
}

.piece .name {
  display: block;
  font-family: var(--heading);
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-strong);
  margin-bottom: 4px;
}

.piece .price {
  font-size: 0.88rem;
  color: var(--accent);
}

@media (max-width: 560px) {
  .pieces.mosaic .piece:first-child {
    grid-column: span 1;
    grid-row: span 1;
    display: block;
  }
  .pieces.mosaic .piece:first-child .ph {
    aspect-ratio: 1;
  }
}

/* --- stats ------------------------------------------------------------------------------------------------------------ */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 26px;
}

.stat b {
  display: block;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 1.05;
  color: var(--ink-strong);
}

.stat span {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--accent);
}

/* --- CTA band: the ember moment ------------------------------------------------------------------------------------------ */

.cta-band {
  background: var(--ember);
  color: #14120f;
  padding: clamp(64px, 11vh, 120px) 0;
  margin-top: clamp(60px, 9vh, 110px);
}

.cta-band .eyebrow {
  color: rgba(20, 18, 15, 0.6) !important;
}

.cta-band p {
  color: rgba(20, 18, 15, 0.78);
}

.cta-band .note {
  margin: 24px 0 0;
  font-size: 0.9rem;
  color: rgba(20, 18, 15, 0.55);
}

.bigcta {
  display: block;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(3.6rem, 12vw, 9.5rem);
  line-height: 1.02;
  color: #14120f;
  transition:
    letter-spacing 0.4s var(--ease),
    color 0.3s ease;
}

.bigcta::after {
  content: " →";
  font-style: normal;
  font-size: 0.5em;
  vertical-align: middle;
}

.bigcta:hover {
  color: #fff;
  letter-spacing: 0.02em;
}

/* --- pricebox ----------------------------------------------------------------------------------------------------------------- */

.pricebox {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--ember);
  padding: 26px 30px;
  margin: 34px 0;
  max-width: var(--prose);
}

.pricebox .amount {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--ink-strong);
  margin: 0 0 4px;
}

.pricebox p {
  margin: 0;
  font-size: 0.92rem;
}

/* --- footer --------------------------------------------------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: clamp(56px, 8vh, 90px) 0 40px;
  font-size: 0.92rem;
  background: var(--bg-2);
}

.site-footer .mega {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(5rem, 20vw, 17rem);
  line-height: 0.9;
  letter-spacing: 0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(237, 231, 219, 0.28);
  text-align: center;
  margin: 0 0 clamp(34px, 6vh, 70px);
  user-select: none;
}

.site-footer .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
}

.site-footer .wordmark {
  font-family: var(--display);
  font-weight: 300;
  font-size: 2rem;
  color: var(--ink-strong);
  line-height: 1.1;
  margin-bottom: 10px;
}

.site-footer h4 {
  font-family: var(--heading);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

.site-footer a {
  color: var(--ink);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ember);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 7px;
}

.site-footer .fineprint {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-size: 0.78rem;
  color: var(--accent);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- FAQ ---------------------------------------------------------------------------------------------------------------------------- */

.faq {
  max-width: 48em;
}

.faq details {
  border-top: 1px solid var(--rule-strong);
}

.faq details:last-child {
  border-bottom: 1px solid var(--rule-strong);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--display);
  font-size: 1.45rem;
  color: var(--ink-strong);
  transition: color 0.25s ease;
}

.faq summary:hover {
  color: var(--ember);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--ember);
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0 0 22px;
  max-width: 40em;
}

/* --- material palette ---------------------------------------------------------------------------------------------------------------- */

.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.swatch {
  border: 1px solid var(--rule);
  background: var(--surface);
}

.swatch .chip {
  height: 110px;
  transition: height 0.35s var(--ease);
}

.swatch:hover .chip {
  height: 132px;
}

.swatch .label {
  padding: 12px 14px 14px;
}

.swatch .label b {
  display: block;
  font-family: var(--heading);
  font-weight: 500;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-strong);
}

.swatch .label span {
  font-size: 0.74rem;
  color: var(--accent);
}

.materials-line {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  color: var(--ink-strong);
  max-width: 26em;
}

.materials-line i {
  color: var(--ember);
}

/* --- project index --------------------------------------------------------------------------------------------------------------------- */

.project-index {
  border-top: 1px solid var(--rule-strong);
}

.project-row {
  display: grid;
  grid-template-columns: 74px 1fr auto auto;
  align-items: baseline;
  gap: 26px;
  padding: 38px 10px;
  border-bottom: 1px solid var(--rule-strong);
  text-decoration: none;
  color: inherit;
  transition:
    background 0.3s ease,
    padding-left 0.35s var(--ease);
}

.project-row:hover {
  background: var(--ember-soft);
  padding-left: 26px;
}

.project-row .idx {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ember);
}

.project-row .pname {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  color: var(--ink-strong);
  line-height: 1.08;
  transition: color 0.3s ease;
}

.project-row:hover .pname {
  color: var(--ember);
}

.project-row .pmeta {
  font-family: var(--heading);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.project-row .parrow {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--ember);
  transition: transform 0.3s var(--ease);
}

.project-row:hover .parrow {
  transform: translateX(8px);
}

.project-row.soon {
  opacity: 0.4;
  pointer-events: none;
}

@media (max-width: 700px) {
  .project-row {
    grid-template-columns: 44px 1fr auto;
  }
  .project-row .pmeta {
    display: none;
  }
}

/* floating hover preview */
.row-preview {
  position: fixed;
  z-index: 60;
  width: min(380px, 32vw);
  aspect-ratio: 4/3;
  pointer-events: none;
  overflow: hidden;
  border: 1px solid var(--rule-strong);
  background: var(--surface);
  opacity: 0;
  transform: scale(0.92) rotate(-1.5deg);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.row-preview.on {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.row-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (hover: none), (max-width: 900px) {
  .row-preview {
    display: none;
  }
}

/* --- full-bleed band ---------------------------------------------------------------------------------------------------------------------- */

.bleed {
  position: relative;
  height: clamp(360px, 68vh, 700px);
  overflow: hidden;
  margin: clamp(60px, 9vh, 110px) 0 0;
  background: var(--bg-2);
}

.bleed img {
  position: absolute;
  inset: -12% 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  filter: invert(0.92) hue-rotate(180deg) contrast(1);
  opacity: 0.85;
  will-change: transform;
}

.bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg), transparent 22%, transparent 78%, var(--bg));
  pointer-events: none;
}

.bleed .bleed-caption {
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  bottom: 24px;
  z-index: 2;
  font-family: var(--heading);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-strong);
  background: rgba(20, 18, 15, 0.7);
  padding: 9px 15px;
}

/* --- testimonials ------------------------------------------------------------------------------------------------------------------------------ */

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.quote {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ember);
  padding: 32px 30px 26px;
  transition:
    transform 0.45s var(--ease),
    border-color 0.3s ease;
}

.quote:hover {
  transform: translateY(-6px);
  border-color: var(--rule-strong);
}

.quote blockquote {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 300;
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--ink-strong);
}

.quote figcaption {
  font-family: var(--heading);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* --- ficha técnica -------------------------------------------------------------------------------------------------------------------------------- */

.ficha {
  margin: 44px 0 0;
  max-width: var(--prose);
  border-top: 1px solid var(--rule-strong);
}

.ficha .row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}

.ficha dt {
  font-family: var(--heading);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 3px;
}

.ficha dd {
  margin: 0;
  color: var(--ink-strong);
}

@media (max-width: 560px) {
  .ficha .row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* --- press ---------------------------------------------------------------------------------------------------------------------------------------- */

.press {
  border-top: 1px solid var(--rule-strong);
  max-width: 54em;
}

.press-row {
  display: grid;
  grid-template-columns: 70px 240px 1fr;
  gap: 26px;
  align-items: baseline;
  padding: 18px 6px;
  border-bottom: 1px solid var(--rule);
}

.press-row .pyear {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ember);
}

.press-row .poutlet {
  font-family: var(--heading);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-strong);
}

.press-row .ppiece {
  font-size: 0.95rem;
  color: var(--ink);
}

@media (max-width: 700px) {
  .press-row {
    grid-template-columns: 60px 1fr;
  }
  .press-row .ppiece {
    grid-column: 2;
  }
}

/* --- sample-content markers ---------------------------------------------------------------------------------------------------------------------------- */

.dummy {
  display: inline-block;
  vertical-align: middle;
  font-family: var(--heading);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
  border: 1px solid var(--ember);
  border-radius: 2px;
  padding: 1px 7px;
  opacity: 0.8;
  white-space: nowrap;
}

.samplenote {
  border: 1px dashed var(--ember);
  color: var(--ember);
  font-family: var(--heading);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 14px 18px;
  margin: 0 0 34px;
  max-width: var(--prose);
}

/* --- responsive ---------------------------------------------------------------------------------------------------------------------------------------- */

@media (max-width: 760px) {
  .site-footer .cols {
    grid-template-columns: 1fr;
  }
  .hero-art {
    width: 100vw;
    opacity: 0.12;
  }
  .section-head {
    flex-direction: column;
    gap: 4px;
  }
}

/* --- contacto ------------------------------------------------------------------------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule-strong);
}

.contact-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.contact-list .k {
  font-family: var(--heading);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 4px;
}

.contact-list .v {
  color: var(--ink-strong);
  text-decoration: none;
}

.contact-list a.v:hover {
  color: var(--ember);
}

.map-frame {
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 14px;
}

.map-frame figcaption {
  margin-top: 12px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.map-slot {
  aspect-ratio: 4/3;
  background: var(--bg-2);
  overflow: hidden;
}

.map-slot iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.9) contrast(0.9);
  transition: filter 0.4s ease;
}

.map-slot:hover iframe {
  filter: none;
}

@media (max-width: 820px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
 * Image-first layer — what actually separates the award sites: full-viewport
 * photographic heroes (ken burns), an auto-scrolling filmstrip, and projects
 * as full-bleed covers. Photos are Pexels placeholders until real obra shots
 * arrive (marked "muestra" in captions).
 * ========================================================================== */

/* --- full-viewport photographic hero ---------------------------------------- */

.hero-full {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0 0 clamp(48px, 9vh, 100px);
}

.hero-full .hf-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-full .hf-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 14s var(--ease) forwards;
}

@keyframes kenburns {
  from {
    transform: scale(1.14);
  }
  to {
    transform: scale(1);
  }
}

.hero-full .hf-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(20, 18, 15, 0.55), rgba(20, 18, 15, 0.1) 40%, rgba(20, 18, 15, 0.82) 88%),
    linear-gradient(to right, rgba(20, 18, 15, 0.5), transparent 55%);
}

.hero-full .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-full h1 {
  font-size: clamp(3.4rem, 12vw, 10rem);
  margin-bottom: 0.2em;
}

.hero-full .lead {
  color: rgba(237, 231, 219, 0.88);
}

.hero-full .hf-caption {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  bottom: 24px;
  z-index: 2;
  font-family: var(--heading);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(237, 231, 219, 0.55);
}

.scrollcue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  width: 1px;
  height: 56px;
  background: rgba(237, 231, 219, 0.4);
  overflow: hidden;
}

.scrollcue::after {
  content: "";
  position: absolute;
  left: 0;
  top: -50%;
  width: 100%;
  height: 50%;
  background: var(--ember);
  animation: cue 1.8s var(--ease) infinite;
}

@keyframes cue {
  to {
    top: 110%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-full .hf-bg img {
    animation: none;
  }
  .scrollcue::after {
    animation: none;
  }
}

/* --- photographic filmstrip (auto-scrolling) ----------------------------------- */

.filmstrip {
  overflow: hidden;
  padding: clamp(20px, 3vh, 36px) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg-2);
}

.filmstrip .track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.filmstrip img {
  height: clamp(180px, 30vh, 300px);
  width: auto;
  filter: grayscale(0.35) brightness(0.92);
  transition: filter 0.4s ease;
}

.filmstrip img:hover {
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .filmstrip .track {
    animation: none;
  }
}

/* --- projects as full-bleed covers ------------------------------------------------ */

.showcase {
  display: grid;
  gap: 22px;
}

.show-card {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  height: clamp(380px, 74vh, 720px);
}

.show-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.5s ease;
  filter: brightness(0.88);
}

.show-card:hover img {
  transform: scale(1.045);
  filter: brightness(1);
}

.show-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 18, 15, 0.78), transparent 55%);
  pointer-events: none;
}

.show-card .sc-body {
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  right: clamp(20px, 4vw, 56px);
  bottom: clamp(22px, 4vh, 44px);
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.show-card .sc-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.2rem, 5.6vw, 4.4rem);
  line-height: 1.04;
  color: var(--ink-strong);
  margin: 0;
}

.show-card .sc-title em {
  font-size: 1em;
}

.show-card .sc-meta {
  font-family: var(--heading);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(237, 231, 219, 0.75);
}

.show-card .sc-arrow {
  position: absolute;
  top: clamp(20px, 4vh, 40px);
  right: clamp(20px, 4vw, 56px);
  font-family: var(--display);
  font-size: 2rem;
  color: var(--ink-strong);
  transform: rotate(-45deg);
  transition: transform 0.35s var(--ease), color 0.3s ease;
}

.show-card:hover .sc-arrow {
  transform: rotate(0deg) translateX(6px);
  color: var(--ember);
}

/* full-bleed variant that escapes the .wrap */
.full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* ==========================================================================
 * Creative layer 4 — the interiors-editorial moves from the second survey
 * (YoDezeen asymmetry, inline-image headlines, arch masks, material walls):
 * images inside sentences, arches as the interiors motif, outlined material
 * words that fill on hover, overlapping collage with parallax depths.
 * ========================================================================== */

/* --- arch mask: the interiors signature shape ------------------------------- */

.arch,
.gallery.photos figure:not(.wide):nth-of-type(2) .frame {
  border-radius: 999px 999px 0 0;
  overflow: hidden;
}

/* --- manifesto with photos living inside the sentence ------------------------ */

.manifesto blockquote .inph {
  display: inline-block;
  vertical-align: -0.18em;
  height: 0.92em;
  width: 1.7em;
  border-radius: 999px;
  object-fit: cover;
  margin: 0 0.08em;
  filter: brightness(0.95);
  transition: width 0.45s var(--ease), border-radius 0.45s var(--ease);
}

.manifesto blockquote .inph:hover {
  width: 2.6em;
  border-radius: 999px 999px 0 0;
}

.manifesto {
  position: relative;
}

.manifesto::before {
  content: "";
  position: absolute;
  right: -10%;
  top: 10%;
  width: 55vw;
  height: 80%;
  background: radial-gradient(closest-side, rgba(205, 116, 64, 0.12), transparent);
  pointer-events: none;
}

/* --- material wall: outline words that fill + reveal a photo ------------------ */

.matwall {
  position: relative;
  padding: clamp(30px, 5vh, 60px) 0;
}

.matwall .mat {
  position: relative;
  display: block;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(3rem, 9.5vw, 7.5rem);
  line-height: 1.04;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(237, 231, 219, 0.4);
  transition: color 0.4s var(--ease), -webkit-text-stroke-color 0.4s var(--ease);
  width: fit-content;
}

.matwall .mat i {
  font-family: var(--display);
  font-style: italic;
  text-transform: none;
  font-size: 0.42em;
  letter-spacing: 0.04em;
  color: var(--accent);
  -webkit-text-stroke: 0;
  margin-left: 18px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.matwall .mat:hover {
  color: var(--ink-strong);
  -webkit-text-stroke-color: transparent;
}

.matwall .mat:hover i {
  opacity: 1;
}

.matwall .mat .mimg {
  position: absolute;
  left: 60%;
  top: 50%;
  width: clamp(160px, 18vw, 260px);
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 999px 999px 0 0;
  transform: translate(-20px, -50%) scale(0.85) rotate(-4deg);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.35s ease, transform 0.45s var(--ease);
}

.matwall .mat:hover .mimg {
  opacity: 1;
  transform: translate(0, -50%) scale(1) rotate(0deg);
}

/* --- editorial collage: overlapping depths ------------------------------------- */

.collage {
  position: relative;
  min-height: clamp(420px, 62vh, 640px);
  margin: clamp(40px, 7vh, 80px) 0;
}

.collage img {
  position: absolute;
  object-fit: cover;
  will-change: transform;
}

.collage .c1 {
  left: 0;
  top: 6%;
  width: min(58%, 560px);
  aspect-ratio: 4/3;
}

.collage .c2 {
  right: 4%;
  bottom: 0;
  width: min(38%, 360px);
  aspect-ratio: 4/5;
  border-radius: 999px 999px 0 0;
  z-index: 2;
}

.collage .c-caption {
  position: absolute;
  left: 0;
  bottom: -8px;
  font-family: var(--heading);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

@media (max-width: 700px) {
  .collage {
    min-height: 0;
    display: grid;
    gap: 16px;
  }
  .collage img {
    position: static;
    width: 100%;
  }
  .collage .c2 {
    width: 70%;
    justify-self: end;
    margin-top: -18%;
  }
  .collage .c-caption {
    position: static;
    margin-top: 8px;
  }
}

/* --- showcase: asymmetric duo row ------------------------------------------------ */

.showcase .duo {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 22px;
}

.showcase .duo .show-card {
  height: clamp(320px, 56vh, 560px);
}

.showcase .duo .show-card .sc-title {
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
}

@media (max-width: 820px) {
  .showcase .duo {
    grid-template-columns: 1fr;
  }
}

/* --- turnos: booking widget embed (/turnos) ----------------------------------------------------------------------------------- */

.policy-note {
  margin-top: 18px;
  max-width: 46em;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--accent);
}

.embed-frame {
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 14px;
}

.embed-frame iframe {
  display: block;
  width: 100%;
  border: 0;
  background: var(--bg-2);
  /* Tall enough for the full booking flow (service, slot, data, payment)
     without an inner scrollbar on most steps. */
  height: clamp(560px, 85vh, 860px);
}

.embed-frame figcaption {
  margin-top: 12px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--accent);
}

@media (max-width: 820px) {
  .embed-frame {
    padding: 8px;
  }

  .embed-frame iframe {
    height: 88vh;
  }
}
