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

:root {
  --black: #0a0a0a;
  --white: #f5f3ef;
  --gold: #c9a96e;
  --mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }
.scroll-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}
.scroll-container section,
.scroll-container .detail {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  cursor: none;
  overflow-x: hidden;
}

/* ── GRAIN ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ── CURSOR ── */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
  mix-blend-mode: difference;
}
.cursor.hovering {
  width: 40px; height: 40px;
  background: rgba(245, 243, 239, 0.15);
  border: 1px solid var(--white);
}

/* ── LOGO ── */
.site-logo {
  position: fixed;
  top: 2.2rem;
  left: 3rem;
  z-index: 200;
  text-decoration: none;
  color: var(--white);
  opacity: 1;
  transition: opacity 0.6s ease;
}
.site-logo.hidden { opacity: 0; pointer-events: none; }
.site-logo .logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.3rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  display: block;
  line-height: 1;
}
.site-logo .logo-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 0.42rem;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: rgba(245,243,239,0.35);
  margin-top: 0.3rem;
  display: block;
}

/* ── SIDE NAV ── */
.side-nav {
  position: fixed;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.4rem;
}
.side-nav__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  text-decoration: none;
}
.side-nav__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 200;
  color: rgba(245,243,239,0);
  transition: color 0.4s ease;
  white-space: nowrap;
}
.side-nav__item:hover .side-nav__label,
.side-nav__item.active .side-nav__label { color: rgba(245,243,239,0.6); }
.side-nav__dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(245,243,239,0.3);
  transition: background 0.4s ease, transform 0.4s ease, height 0.4s ease, border-radius 0.4s ease;
  flex-shrink: 0;
}
.side-nav__item:hover .side-nav__dot { background: rgba(245,243,239,0.7); transform: scale(1.3); }
.side-nav__item.active .side-nav__dot {
  background: var(--white);
  height: 24px;
  border-radius: 2px;
  transform: none;
}

nav { display: none; }

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh; min-height: 100vh; max-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/montana-cover.png') center/cover no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
  z-index: 0;
}
.hero-bg.loaded { transform: scale(1); }
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1; opacity: 0;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.52); z-index: 2; }
.hero-content {
  position: absolute;
  bottom: 4rem; right: 4rem;
  z-index: 2; text-align: right; max-width: 50vw;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; font-style: italic;
  font-size: clamp(2rem, 3.5vw, 4rem);
  line-height: 1.15; letter-spacing: 0.1em;
  color: var(--white); display: block;
}
.hero-title span {
  display: block; opacity: 0;
  filter: blur(18px); transform: translateY(12px);
  animation: blurReveal 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-title span:first-child { animation-delay: 0.3s; }
.hero-title span:last-child { color: rgba(245,243,239,0.6); animation-delay: 0.75s; }

@keyframes blurReveal {
  0%   { opacity: 0; filter: blur(18px); transform: translateY(12px); }
  100% { opacity: 1; filter: blur(0);    transform: translateY(0); }
}

.hero-sub {
  margin-top: 1.2rem;
  font-size: 0.5rem; letter-spacing: 0.6em;
  text-transform: uppercase; font-weight: 100;
  color: rgba(245,243,239,0.35); font-family: 'Inter', sans-serif;
  opacity: 0; filter: blur(8px);
  animation: blurReveal 1.8s cubic-bezier(0.16, 1, 0.3, 1) 1.3s forwards;
}
.hero-scroll {
  position: absolute; bottom: 5rem; left: 4rem;
  display: flex; flex-direction: column; align-items: center;
  gap: 0.8rem; z-index: 2;
}
.hero-scroll span { font-size: 0.5rem; letter-spacing: 0.35em; text-transform: uppercase; color: rgba(245,243,239,0.4); }
.scroll-line { width: 1px; height: 60px; background: rgba(245,243,239,0.25); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0;
  width: 100%; height: 100%; background: var(--white);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown { 0% { top: -100%; } 100% { top: 100%; } }

/* ── SHARED SECTION ── */
section { padding: 8rem 3rem; min-height: 100vh; }
.section-tag {
  font-size: 0.55rem; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 4rem; display: block;
}
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── PROMISE / PROCESO ── */
.promise {
  position: relative;
  height: 100vh; min-height: 100vh; max-height: 100vh;
  overflow: hidden; display: flex; align-items: center;
  padding: 0 !important;
}
.promise-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 5vh 5vw; transition: opacity 0.8s ease;
}
.promise-bg.dissolve { opacity: 0; }
#fpSvg { width: 100%; height: 100%; max-height: 88vh; }
.promise-overlay { display: none; }
.promise::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(245,243,239,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0; transition: opacity 2.2s ease;
  z-index: 1; pointer-events: none;
}
.promise.show-grid::after { opacity: 1; }
.promise-content {
  position: relative; z-index: 2;
  padding: 0 6rem; width: 100%; margin: 0 auto; text-align: center;
}
#promiseContent .section-tag,
#promiseContent .promise-title,
#promiseContent .promise-text { opacity: 0; filter: blur(16px); transform: translateY(10px); }
#promiseContent.text-visible .section-tag  { animation: blurReveal 1.2s cubic-bezier(0.16,1,0.3,1) 0s forwards; }
#promiseContent.text-visible .promise-title { animation: blurReveal 1.6s cubic-bezier(0.16,1,0.3,1) 0.25s forwards; }
#promiseContent.text-visible .promise-text  { animation: blurReveal 1.4s cubic-bezier(0.16,1,0.3,1) 0.6s forwards; }
.promise-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; font-size: clamp(2.2rem, 3.8vw, 5rem);
  white-space: nowrap; line-height: 1.05; letter-spacing: 0.08em;
  margin: 1.5rem 0 2.5rem;
}
.promise-title em { font-style: italic; color: rgba(245,243,239,0.42); }
.promise-text {
  font-size: 0.9rem; letter-spacing: 0.1em; line-height: 2;
  color: rgba(245,243,239,0.38); max-width: 700px; margin: 0 auto;
}

/* Floor plan SVG (sección Proceso) */
.fp-ext, .fp-wall, .fp-sec, .fp-door, .fp-win, .fp-stair, .fp-dim {
  fill: none; stroke-dasharray: 1; stroke-dashoffset: 1;
}
#fpSvg.animate .fp-ext, #fpSvg.animate .fp-wall, #fpSvg.animate .fp-sec,
#fpSvg.animate .fp-door, #fpSvg.animate .fp-win, #fpSvg.animate .fp-stair, #fpSvg.animate .fp-dim {
  animation: fpDraw var(--t,1.2s) cubic-bezier(0.4,0,0.2,1) var(--d,0s) both;
}
@keyframes fpDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.fp-ext   { stroke: rgba(245,243,239,0.18); stroke-width: 4; }
.fp-wall  { stroke: rgba(245,243,239,0.11); stroke-width: 2.5; }
.fp-sec   { stroke: rgba(245,243,239,0.08); stroke-width: 2; }
.fp-door  { stroke: rgba(245,243,239,0.09); stroke-width: 1.5; }
.fp-win   { stroke: rgba(245,243,239,0.07); stroke-width: 2; }
.fp-stair { stroke: rgba(245,243,239,0.05); stroke-width: 1; }
.fp-dim   { stroke: rgba(245,243,239,0.04); stroke-width: 1; }
.fp-label {
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 300;
  letter-spacing: 0.3em; fill: rgba(245,243,239,0.15); text-transform: uppercase;
  opacity: 0; transition: opacity 0.9s ease var(--d,5s);
}
.fp-sub { font-size: 11px; fill: rgba(245,243,239,0.1); }
#fpSvg.animate .fp-label { opacity: 1; }
.fp-dimtext {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  fill: rgba(245,243,239,0.08); opacity: 0;
  transition: opacity 0.7s ease var(--d,6s);
}
#fpSvg.animate .fp-dimtext { opacity: 1; }

@media (max-width: 768px) {
  .promise-content { max-width: 100%; padding: 3rem 1.5rem; margin: auto; text-align: left; }
  .promise-text { display: none; }
}

/* ── PROJECTS ── */
.projects { background: var(--black); padding: 0 !important; height: 100vh; }
.projects-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px; height: 100%;
}
.project-card { position: relative; overflow: hidden; cursor: none; min-height: 0; min-width: 0; }
.project-card:first-child { grid-row: 1 / 3; }
.project-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.85);
}
.project-card:hover img { transform: scale(1.04); filter: brightness(0.65); }
.project-info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 2.5rem;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 100%);
}
.project-card:hover .project-info { transform: translateY(0); }
.project-name {
  font-family: 'Cormorant Garamond', serif; font-weight: 300; font-style: italic;
  font-size: clamp(2rem, 3vw, 3.2rem); letter-spacing: 0.12em; line-height: 1; margin-bottom: 1rem;
}
.project-specs {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.15em;
  color: rgba(245,243,239,0.6); display: flex; gap: 1.5rem; flex-wrap: wrap;
}
.project-specs span { color: var(--gold); }

/* Detail card on large left card */
.project-detail-card {
  position: absolute; inset: 0;
  background: rgba(10,10,10,0.84);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 3rem 3.5rem;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.55s cubic-bezier(0.25,0.46,0.45,0.94), transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  z-index: 5;
}
#pcard0:hover .project-detail-card { opacity: 1; transform: translateY(0); }
.detail-card-tag { font-size: 0.48rem; letter-spacing: 0.45em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; display: block; }
.detail-card-name {
  font-family: 'Cormorant Garamond', serif; font-weight: 300; font-style: italic;
  font-size: clamp(2.6rem, 3.8vw, 4.8rem); letter-spacing: 0.1em; line-height: 1;
  margin-bottom: 2.5rem; color: var(--white);
}
.detail-card-specs {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.2rem 2.5rem; margin-bottom: 2.5rem;
  border-top: 1px solid rgba(245,243,239,0.1); padding-top: 1.8rem;
}
.detail-card-spec { display: flex; flex-direction: column; gap: 0.35rem; }
.spec-label { font-size: 0.43rem; letter-spacing: 0.38em; text-transform: uppercase; color: rgba(245,243,239,0.35); }
.spec-val { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--white); }
.detail-card-cta {
  font-size: 0.5rem; letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--white); text-decoration: none;
  border-bottom: 1px solid rgba(245,243,239,0.22); padding-bottom: 0.4rem;
  align-self: flex-start; transition: border-color 0.3s, color 0.3s;
}
.detail-card-cta:hover { border-color: var(--gold); color: var(--gold); }
.project-tag-overlay {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 0.5rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(245,243,239,0.5); border: 1px solid rgba(245,243,239,0.2); padding: 0.4rem 0.8rem;
}

/* ── DETAIL TEASER ── */
.detail { padding: 0; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 90vh; }
.detail-image { position: relative; overflow: hidden; }
.detail-image img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.9); }
.detail-content { padding: 6rem 5rem; display: flex; flex-direction: column; justify-content: center; background: #0f0f0f; }
.detail-number { font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.4em; color: var(--gold); margin-bottom: 2rem; }
.detail-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 300; font-style: italic;
  font-size: clamp(3.5rem, 5vw, 6rem); letter-spacing: 0.12em; line-height: 0.9; margin-bottom: 3.5rem;
}
.specs-table { width: 100%; border-collapse: collapse; margin-bottom: 3rem; }
.specs-table tr { border-bottom: 1px solid rgba(245,243,239,0.08); }
.specs-table td { padding: 1rem 0; font-size: 0.7rem; letter-spacing: 0.12em; }
.specs-table td:first-child { text-transform: uppercase; color: rgba(245,243,239,0.35); width: 40%; }
.specs-table td:last-child { color: var(--white); font-family: var(--mono); }
.floor-plan { margin-bottom: 3rem; }
.floor-plan-label { font-size: 0.5rem; letter-spacing: 0.35em; text-transform: uppercase; color: rgba(245,243,239,0.3); margin-bottom: 1rem; }
.floor-plan img { width: 100%; filter: invert(1) brightness(0.6); opacity: 0.7; }
.btn-outline {
  display: inline-block; border: 1px solid rgba(245,243,239,0.4); color: var(--white);
  text-decoration: none; padding: 1rem 2rem; font-size: 0.6rem; letter-spacing: 0.3em;
  text-transform: uppercase; transition: background 0.3s, color 0.3s, border-color 0.3s;
  align-self: flex-start;
}
.btn-outline:hover { background: var(--white); color: var(--black); border-color: var(--white); }

/* ── AI STUDIO ── */
.ai-studio {
  background: var(--black);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 3rem !important; gap: 0;
}
.ai-studio-inner { width: 100%; max-width: 680px; display: flex; flex-direction: column; gap: 2.5rem; }
.ai-header { text-align: center; }
.ai-spark {
  font-family: var(--mono); font-size: 0.5rem; letter-spacing: 0.45em;
  text-transform: uppercase; color: var(--gold);
  display: block; margin-bottom: 1.8rem; opacity: 0.8;
}
.ai-greeting {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(2.2rem, 3.8vw, 4.5rem); letter-spacing: 0.06em; line-height: 1.1; margin-bottom: 1rem;
}
.ai-greeting em { font-style: italic; color: rgba(245,243,239,0.42); }
.ai-sub-label { font-size: 0.48rem; letter-spacing: 0.38em; text-transform: uppercase; color: rgba(245,243,239,0.25); }
.ai-chat {
  display: flex; flex-direction: column; gap: 1.2rem;
  max-height: 360px; overflow-y: auto; padding-right: 4px;
  scrollbar-width: thin; scrollbar-color: rgba(245,243,239,0.08) transparent;
}
.ai-chat::-webkit-scrollbar { width: 1px; }
.ai-chat::-webkit-scrollbar-thumb { background: rgba(245,243,239,0.1); }
.ai-message { display: flex; gap: 1rem; align-items: flex-start; }
.ai-message.user { flex-direction: row-reverse; }
.ai-message-body {
  max-width: 82%; font-size: 0.72rem; letter-spacing: 0.08em; line-height: 1.85;
  color: rgba(245,243,239,0.7); padding: 1rem 1.4rem;
  border: 1px solid rgba(245,243,239,0.07);
}
.ai-message.user .ai-message-body { background: rgba(245,243,239,0.03); color: var(--white); border-color: rgba(245,243,239,0.14); }
.ai-message-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(245,243,239,0.12);
  font-family: var(--mono); font-size: 0.38rem; letter-spacing: 0.1em; color: var(--gold);
}
.ai-typing .ai-message-body { display: flex; gap: 5px; align-items: center; padding: 1rem 1.4rem; }
.ai-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(245,243,239,0.35); animation: aiDot 1.3s ease infinite; }
.ai-dot:nth-child(2) { animation-delay: 0.22s; }
.ai-dot:nth-child(3) { animation-delay: 0.44s; }
@keyframes aiDot {
  0%,60%,100% { opacity: 0.25; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}
.ai-chips { display: flex; gap: 0.7rem; flex-wrap: wrap; justify-content: center; }
.ai-chip {
  border: 1px solid rgba(245,243,239,0.12); background: transparent; color: rgba(245,243,239,0.45);
  padding: 0.55rem 1.1rem; font-family: 'Inter', sans-serif; font-size: 0.48rem;
  letter-spacing: 0.22em; text-transform: uppercase; cursor: none;
  transition: border-color 0.3s, color 0.3s;
}
.ai-chip:hover { border-color: rgba(245,243,239,0.38); color: var(--white); }
.ai-input-wrap { display: flex; flex-direction: column; gap: 1rem; }
.ai-input-bar { display: flex; align-items: stretch; border: 1px solid rgba(245,243,239,0.18); transition: border-color 0.3s; }
.ai-input-bar:focus-within { border-color: rgba(245,243,239,0.45); }
.ai-input-bar textarea {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--white); font-family: 'Inter', sans-serif; font-size: 0.72rem;
  letter-spacing: 0.08em; padding: 1.1rem 1.4rem; resize: none; line-height: 1.6;
}
.ai-input-bar textarea::placeholder { color: rgba(245,243,239,0.22); }
.ai-send-btn {
  background: transparent; border: none; border-left: 1px solid rgba(245,243,239,0.1);
  color: rgba(245,243,239,0.35); padding: 0 1.4rem; cursor: none; font-size: 1.1rem;
  transition: color 0.3s, background 0.3s;
}
.ai-send-btn:hover { color: var(--white); background: rgba(245,243,239,0.04); }
.ai-send-btn:disabled { opacity: 0.2; pointer-events: none; }
.ai-disclaimer { font-size: 0.42rem; letter-spacing: 0.22em; color: rgba(245,243,239,0.15); text-align: center; }

/* ── AI FLOOR PLAN (chat) ── */
.ai-plan-msg { width: 100%; border: 1px solid rgba(245,243,239,0.06); padding: 1rem 1.2rem 1.2rem; background: rgba(245,243,239,0.013); }
.ai-plan-label { display: block; font-family: var(--mono); font-size: 0.38rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold); opacity: 0.65; margin-bottom: 0.9rem; }
.ai-floor-plan { display: block; width: 100%; height: 100%; }
@keyframes fpLabelFade { from { opacity: 0; } to { opacity: 1; } }
.ai-plan-download {
  display: inline-block; margin-top: 0.9rem; background: transparent;
  border: 1px solid rgba(245,243,239,0.14); color: rgba(245,243,239,0.38);
  padding: 0.5rem 1.1rem; font-family: 'Inter', sans-serif; font-size: 0.42rem;
  letter-spacing: 0.32em; text-transform: uppercase; cursor: none;
  transition: border-color 0.3s, color 0.3s;
}
.ai-plan-download:hover { border-color: rgba(245,243,239,0.4); color: var(--white); }

/* ── AI PLAN VIEWER (2D/3D toggle) ── */
.ai-plan-viewer { position: relative; width: 100%; }
.view-toggle {
  position: absolute; top: 8px; right: 8px; z-index: 20;
  display: flex; border: 1px solid rgba(245,243,239,0.16);
  background: rgba(10,10,10,0.82);
}
.vt-btn {
  font-family: 'Inter', sans-serif; font-size: 0.38rem; font-weight: 300;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 5px 12px; background: transparent;
  color: rgba(245,243,239,0.28); border: none; cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.vt-btn.active { background: rgba(245,243,239,0.1); color: rgba(245,243,239,0.88); }
.vt-btn:not(.active):hover { color: rgba(245,243,239,0.58); }
.ai-plan-2d { width: 100%; height: 340px; background: var(--black); }

/* ── CTA ── */
.cta { text-align: center; padding: 12rem 3rem; border-top: 1px solid rgba(245,243,239,0.06); }
.cta-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(2.8rem, 7vw, 8rem); letter-spacing: 0.12em; line-height: 1.05;
  margin-bottom: 4rem; color: var(--white);
}
.cta-title em { font-style: italic; color: rgba(245,243,239,0.4); letter-spacing: 0.18em; }
.btn-cta {
  display: inline-block; border: 1px solid rgba(245,243,239,0.35); color: var(--white);
  text-decoration: none; padding: 1.3rem 4rem; font-size: 0.65rem; letter-spacing: 0.4em;
  text-transform: uppercase; transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.btn-cta:hover { background: var(--white); color: var(--black); border-color: var(--white); }

/* ── FOOTER ── */
footer {
  padding: 2.5rem 3rem; border-top: 1px solid rgba(245,243,239,0.06);
  display: flex; justify-content: space-between; align-items: center;
}
footer p { font-size: 0.55rem; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(245,243,239,0.25); }

/* ── MOBILE ── */
@media (max-width: 768px) {
  section { padding: 5rem 1.5rem; }
  .projects-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .project-card:first-child { grid-row: auto; aspect-ratio: 4/3; }
  .project-info { transform: translateY(0); background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, transparent 100%); }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-image { height: 50vw; }
  .detail-content { padding: 3rem 1.5rem; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
}
