/* =============================================================
   Babzoe Hospitality — editorial minimalist
   ============================================================= */

/* ---- PASSWORD GATE ---- */
.password-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #f7f3ec;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 56px);
}
.password-gate.hidden { display: none; }
html.gate-active, html.gate-active body { overflow: hidden; }
.pw-content {
  text-align: center;
  max-width: 420px;
  width: 100%;
}
.pw-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid #161514;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  font-size: 26px;
  margin: 0 auto 28px;
  color: #161514;
}
.pw-title {
  font-family: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 6px;
  color: #161514;
}
.pw-subtitle {
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #4a4642;
  margin: 0 0 32px;
}
.pw-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pw-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d8cfc1;
  background: #fbf9f5;
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 15px;
  letter-spacing: .12em;
  text-align: center;
  color: #161514;
  outline: none;
  transition: border-color .2s;
}
.pw-input:focus { border-color: #161514; }
.pw-btn {
  padding: 14px 20px;
  border: 1px solid #161514;
  background: #161514;
  color: #f7f3ec;
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.pw-btn:hover { background: transparent; color: #161514; }
.pw-error {
  margin-top: 18px;
  color: #8c4a2b;
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 12px;
  letter-spacing: .08em;
  visibility: hidden;
}
.pw-error.show { visibility: visible; }


:root {
  --cream:    #faf8f3;
  --cream-2:  #f3eee5;
  --paper:    #fcfaf6;
  --ink:      #161514;
  --ink-soft: #4a4642;
  --line:     #d8cfc1;
  --terra:    #8c4a2b;
  --gold:     #b08a4f;
  --dark:     #1a1816;
  --dark-soft:#2a2622;

  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1280px;
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }

/* ---- HEADER ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  background: rgba(250, 248, 243, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .02em;
}
.brand-mark.small { width: 26px; height: 26px; font-size: 14px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-line1 {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.brand-line2 {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
}

.nav {
  display: flex;
  gap: clamp(14px, 2.4vw, 32px);
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.nav a {
  position: relative;
  padding: 4px 0;
  color: var(--ink-soft);
  transition: color .25s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width .35s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.lang-switch {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--ink-soft);
}
.lang-btn {
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 4px;
  letter-spacing: .22em;
  transition: color .2s ease;
}
.lang-btn.active { color: var(--ink); font-weight: 500; }
.lang-btn:hover { color: var(--ink); }

@media (max-width: 820px) {
  .nav { display: none; }
  .site-header { padding: 14px var(--pad); }
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: #f4eee2;
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
}
.hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.78) saturate(.95);
  transform: scale(1.04);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(20,18,16,0.45) 0%,
    rgba(20,18,16,0.10) 35%,
    rgba(20,18,16,0.55) 90%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad) clamp(60px, 9vh, 110px);
  max-width: 980px;
  width: 100%;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin: 0 0 26px;
  font-weight: 400;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 6.6vw, 92px);
  line-height: 1.04;
  letter-spacing: -.005em;
  margin: 0 0 28px;
}
.hero-line { display: block; }
.hero-line.italic { font-style: italic; color: #efe5d4; }
.hero-sub {
  max-width: 680px;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
  margin: 0 0 36px;
}
.hero-cta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.btn-link {
  position: relative;
  padding: 10px 0;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.45);
  transition: border-color .3s ease, color .3s ease;
}
.btn-link:hover { border-color: #fff; }
.hero-meta {
  position: absolute;
  z-index: 3;
  right: var(--pad);
  bottom: 30px;
  font-size: 10.5px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
@media (max-width: 700px) {
  .hero-meta { display: none; }
}

/* ---- SECTIONS ---- */
.section {
  padding: clamp(80px, 12vw, 160px) var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}
.section-dark {
  max-width: none;
  background: var(--dark);
  color: #ece4d4;
}
.section-dark .section-title { color: #f4eada; }
.section-dark .num { color: #b08a4f; }
.section-dark .section-lede { color: rgba(236,228,212,0.82); }
.section-dark .cap h3 { color: #f4eada; }
.section-dark .cap p  { color: rgba(236,228,212,0.78); }
.section-dark > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px 32px;
  align-items: baseline;
  margin-bottom: clamp(46px, 6vw, 80px);
}
.num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--terra);
  grid-row: 1;
  letter-spacing: .04em;
}
.section-title {
  grid-column: 2;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.08;
  margin: 0;
  letter-spacing: -.005em;
}
.section-lede {
  grid-column: 2;
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.05vw, 17px);
}

/* ---- APPROACH ---- */
.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 820px) {
  .grid-2 { grid-template-columns: 1fr; }
}
.prose p {
  font-family: var(--serif);
  font-size: clamp(19px, 1.5vw, 23px);
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 22px;
  font-weight: 400;
}
.signature-line {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.4;
  font-style: italic;
  margin: 28px 0;
  color: var(--ink);
}
.signature-line span { display: block; }
.pose {
  margin: 0;
  position: relative;
}
.pose img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(.95);
}
.pose figcaption {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---- STUDIO BABZOE ---- */
.capabilities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px);
  margin-bottom: clamp(60px, 8vw, 100px);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 40px;
}
.cap h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 14px;
  letter-spacing: .01em;
}
.cap p {
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 900px) {
  .capabilities { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .capabilities { grid-template-columns: 1fr; }
}

.studio-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
}
.g-tile {
  position: relative;
  overflow: hidden;
  background: #100e0c;
}
.g-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease, filter .6s ease;
  filter: saturate(.92) brightness(.96);
}
.g-tile:hover img {
  transform: scale(1.05);
  filter: saturate(1.05) brightness(1);
}
.g-large {
  grid-column: span 2;
  grid-row: span 2;
}
.g-caption {
  position: absolute;
  left: 16px; bottom: 14px;
  color: #fff;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  padding: 8px 10px 6px 10px;
  border-radius: 2px;
}
@media (max-width: 900px) {
  .studio-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .g-large { grid-column: span 2; grid-row: span 1; }
}

/* ---- CONSULTING ---- */
.section-consult {
  background: var(--paper);
  max-width: none;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.section-consult > .section-head,
.section-consult > .consult-intro,
.section-consult > .steps,
.section-consult > .callout {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}
.consult-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  padding: clamp(36px, 5vw, 56px) 0 clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--line);
}
.consult-intro-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.consult-intro-text p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
}
.consult-intro-figure {
  margin: 0;
  position: sticky;
  top: 100px;
}
.consult-intro-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(.95);
  display: block;
}
@media (max-width: 820px) {
  .consult-intro { grid-template-columns: 1fr; }
  .consult-intro-figure { position: static; }
}
/* Upstream / architecture collaboration highlight */
.upstream {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(28px, 4vw, 80px);
  align-items: start;
  padding: clamp(36px, 5vw, 64px) 0 clamp(50px, 6vw, 80px);
  border-top: 1px solid var(--line);
  margin-bottom: clamp(48px, 6vw, 80px);
}
.upstream-eyebrow { padding-top: 10px; }
.upstream-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--terra);
  border: 1px solid var(--terra);
  padding: 6px 14px;
  border-radius: 999px;
}
.upstream-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
  margin: 0 0 22px;
  letter-spacing: -.005em;
  color: var(--ink);
}
.upstream-body p {
  margin: 0 0 18px;
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 64ch;
}
.upstream-body p:last-child { margin-bottom: 0; }
@media (max-width: 820px) {
  .upstream { grid-template-columns: 1fr; gap: 18px; }
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.5vw, 56px);
  border-top: 1px solid var(--line);
  padding-top: 56px;
}
.step { padding-right: 16px; }
.step-num {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--terra);
  margin-bottom: 18px;
}
.step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: -.003em;
}
.step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.callout {
  margin-top: clamp(60px, 8vw, 100px);
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid var(--ink);
  background: transparent;
  text-align: center;
}
.callout p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.45;
  margin: 0 0 22px;
  color: var(--ink);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.callout-author {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---- PROJECTS ---- */
.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(24px, 3.5vw, 60px);
  row-gap: clamp(60px, 8vw, 110px);
}
.project {
  display: flex;
  flex-direction: column;
}
.project-img {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 22px;
}
.project-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s ease;
  filter: saturate(.95);
}
.project:hover .project-img img { transform: scale(1.04); }
.project-loc {
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 10px;
}
.project h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -.002em;
}
.project-body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 56ch;
}
.project-body p + p { margin-top: 14px; }

/* Featured project — full width, hero treatment */
.project.project-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: auto auto;
  column-gap: clamp(28px, 4vw, 64px);
  row-gap: clamp(24px, 3vw, 40px);
  align-items: center;
  margin-bottom: clamp(24px, 4vw, 60px);
  padding-bottom: clamp(50px, 7vw, 100px);
  border-bottom: 1px solid var(--line);
  margin-top: 0 !important;
}
.project.project-feature .project-img { grid-column: 1; grid-row: 1; }
.project.project-feature .project-body { grid-column: 2; grid-row: 1; }
.apaulinha-strip {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: clamp(8px, 1vw, 16px);
}
.apaulinha-strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate(.95);
  transition: filter .4s ease, transform .8s ease;
}
.apaulinha-strip img:hover { filter: saturate(1.05); transform: scale(1.02); }
.project-link {
  display: inline-block;
  margin-top: 22px;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--terra);
  border-bottom: 1px solid var(--terra);
  padding-bottom: 4px;
  transition: opacity .25s ease;
}
.project-link:hover { opacity: .7; }
.project.project-feature .project-img {
  aspect-ratio: 5 / 4;
  margin-bottom: 0;
}
.project.project-feature h3 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  margin-bottom: 18px;
  letter-spacing: -.005em;
}
.project.project-feature .project-body p {
  font-family: var(--serif);
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.5;
  color: var(--ink);
  font-weight: 400;
  max-width: none;
}
.project-tag {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--terra);
  border: 1px solid var(--terra);
  padding: 6px 14px;
  margin-bottom: 22px;
  border-radius: 999px;
}

@media (max-width: 820px) {
  .projects { grid-template-columns: 1fr; row-gap: 60px; }
  .project.project-feature {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 0;
    row-gap: 24px;
    padding-bottom: 50px;
  }
  .project.project-feature .project-img { aspect-ratio: 4 / 3; grid-column: 1; grid-row: 1; }
  .project.project-feature .project-body { grid-column: 1; grid-row: 2; }
  .apaulinha-strip { grid-column: 1; grid-row: 3; gap: 8px; }
}

/* ---- CONTACT ---- */
.section-contact {
  background: var(--dark);
  color: #ece4d4;
  max-width: none;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.section-contact > .section-head,
.section-contact > .contact-grid,
.section-contact > .cta-mail {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}
.section-contact .section-title { color: #f4eada; }
.section-contact .num { color: #b08a4f; }
.section-contact .section-lede { color: rgba(236,228,212,0.82); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 50px;
  margin-bottom: clamp(50px, 7vw, 90px);
}
.contact-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-label {
  font-size: 10.5px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(236,228,212,0.55);
}
.contact-val {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.45;
  color: #f4eada;
  letter-spacing: .005em;
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
  align-self: flex-start;
}
a.contact-val:hover { border-color: rgba(244,234,218,0.6); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-grid { grid-template-columns: 1fr; } }

.cta-mail {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 22px 36px;
  border: 1px solid rgba(255,255,255,0.4);
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #f4eada;
  transition: background .3s ease, border-color .3s ease, color .3s ease;
}
.cta-mail:hover {
  background: #f4eada;
  color: var(--dark);
  border-color: #f4eada;
}
.cta-mail .arrow { transition: transform .3s ease; }
.cta-mail:hover .arrow { transform: translateX(6px); }

/* ---- FOOTER ---- */
.site-footer {
  padding: 36px var(--pad) 30px;
  background: #0f0d0c;
  color: rgba(236,228,212,0.55);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 6px 0;
  max-width: var(--maxw);
  margin: 0 auto;
}
.footer-row .brand-mark {
  border-color: rgba(236,228,212,0.55);
  color: rgba(236,228,212,0.55);
}

/* ---- Reveal on scroll (subtle, opt-in via JS) ---- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s ease, transform .9s ease; }
  .reveal.visible { opacity: 1; transform: none; }
}

/* Fine tune typography on small screens */
@media (max-width: 600px) {
  .hero-title { font-size: 42px; }
  .prose p { font-size: 18px; }
}

/* =============================================================
   Premium filter (Consulting)
   ============================================================= */
.micro-filter {
  grid-column: 2;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 14px 0 0;
}

/* =============================================================
   AURA — discreet entry & private writing space
   ============================================================= */
.aura-entry {
  margin-top: clamp(48px, 6vw, 80px);
  text-align: center;
}
#openAura {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 12px 0;
  cursor: pointer;
  color: var(--ink);
  transition: opacity .35s ease;
}
#openAura:hover { opacity: .6; }
#openAura:focus-visible { outline: none; opacity: .6; }

.aura-overlay {
  position: fixed;
  inset: 0;
  background: rgba(250, 248, 243, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vw, 64px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}
.aura-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.aura-box {
  width: 100%;
  max-width: 600px;
}
.aura-intro {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  letter-spacing: -.005em;
  color: var(--ink);
  margin: 0 0 28px;
}
.aura-overlay textarea {
  width: 100%;
  resize: none;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  padding: 10px 0;
  outline: none;
  min-height: 120px;
}
.aura-overlay textarea::placeholder {
  color: var(--ink-soft);
  font-style: italic;
  opacity: .55;
}
body.aura-open { overflow: hidden; }

/* =============================================================
   Gili — quiet reveal gallery (test, project-scoped)
   ============================================================= */
.project-img[data-project] { cursor: pointer; }

.gallery-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(250, 248, 243, 0.98);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s ease;
}
.gallery-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.gallery-content {
  max-width: 1080px;
  width: calc(100% - clamp(24px, 5vw, 64px) * 2);
  margin: clamp(80px, 12vh, 140px) auto;
}
.gallery-content img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 clamp(48px, 7vw, 96px);
}
.gallery-content img:last-child { margin-bottom: 0; }

@media (min-width: 760px) {
  /* Editorial asymmetric rhythm — each image scaled to ~80% of its original width */
  .gallery-content img:nth-child(1) {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
  }
  .gallery-content img:nth-child(2) {
    width: 50%;
    margin-left: 0;
    margin-right: auto;
  }
  .gallery-content img:nth-child(3) {
    width: 62%;
    margin-left: auto;
    margin-right: 0;
    margin-top: clamp(-40px, -3vw, -16px);
  }
  .gallery-content img:nth-child(4) {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  /* Second chapter — opens centered, repeats the rhythm, closes centered */
  .gallery-content img:nth-child(5) {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
  }
  .gallery-content img:nth-child(6) {
    width: 50%;
    margin-left: 0;
    margin-right: auto;
  }
  .gallery-content img:nth-child(7) {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  /* Panora — image 5 (salle de bain verticale) réduite */
  .gallery-overlay[data-gallery="panora"] .gallery-content img:nth-child(5) {
    width: 38%;
    margin-left: auto;
    margin-right: auto;
  }
  /* Panora — image 6 mise en avant */
  .gallery-overlay[data-gallery="panora"] .gallery-content img:nth-child(6) {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}
body.gallery-open { overflow: hidden; }
