:root {
  --rose: #bb5061;
  --burgundy: #8a1e39;
  --wine: #9e2c47;
  --deep: #22191a;
  --ink: #302629;
  --pearl: #f8f3ee;
  --sand: #d6c5b4;
  --paper: #fffaf6;
  --gold: #c5a76f;
  --sage: #54665f;
  --line: rgba(48, 38, 41, 0.14);
  --shadow: 0 24px 80px rgba(34, 25, 26, 0.18);
  --radius: 8px;
  --ease-luxe: cubic-bezier(0.22, 1, 0.36, 1);
  font-family:
    Helvetica, Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  align-items: center;
  animation: headerDrop 760ms var(--ease-luxe) 120ms both;
  color: var(--paper);
  display: grid;
  gap: 24px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  padding: 18px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 420ms var(--ease-luxe);
  z-index: 30;
}

.site-header[data-elevated="false"] {
  background: linear-gradient(180deg, rgba(34, 25, 26, 0.7), rgba(34, 25, 26, 0.22));
  border-bottom: 1px solid rgba(255, 250, 246, 0.14);
  backdrop-filter: blur(10px);
}

.site-header[data-elevated="true"],
.studio-header {
  background: rgba(255, 250, 246, 0.94);
  border-bottom: 1px solid var(--line);
  color: var(--deep);
  backdrop-filter: blur(16px);
}

.brand-mark {
  display: block;
  height: 62px;
  overflow: hidden;
  position: relative;
  width: 180px;
}

.brand-mark img {
  height: 300px;
  left: 50%;
  max-width: none;
  object-fit: contain;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -56%);
  width: 300px;
}

.site-header[data-elevated="false"] .brand-mark img {
  filter: brightness(0) invert(1);
}

.site-nav {
  display: flex;
  gap: clamp(14px, 2vw, 34px);
  justify-content: center;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.site-nav a {
  opacity: 0.84;
  text-shadow: 0 1px 8px rgba(34, 25, 26, 0.18);
}

.site-nav a:hover {
  opacity: 1;
}

.header-cta,
.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  overflow: hidden;
  padding: 0 18px;
  position: relative;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.header-cta {
  border-color: currentColor;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.button::after,
.header-cta::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-120%);
  transition: transform 560ms var(--ease-luxe), opacity 200ms ease;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.button:hover::after,
.header-cta:hover::after {
  opacity: 1;
  transform: translateX(120%);
}

.button-primary {
  background: var(--burgundy);
  color: var(--paper);
}

.button-light {
  background: rgba(255, 250, 246, 0.88);
  color: var(--deep);
}

.button-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--deep);
}

.text-link {
  color: var(--burgundy);
  display: inline-flex;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-top: 26px;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.hero {
  align-items: end;
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  padding: 132px clamp(18px, 5vw, 72px) 32px;
  position: relative;
}

.hero-media,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-media {
  animation: heroLight 12s ease-in-out infinite alternate;
  background-image: url("../files/WIZUALIZACJA11.jpg");
  background-position: center;
  background-size: cover;
  filter: saturate(1.03);
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.07);
  transition: transform 80ms linear;
  will-change: transform;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(34, 25, 26, 0.82) 0%, rgba(34, 25, 26, 0.34) 54%, rgba(34, 25, 26, 0.7) 100%),
    linear-gradient(0deg, rgba(34, 25, 26, 0.8) 0%, rgba(34, 25, 26, 0) 42%);
}

.hero-content {
  color: var(--paper);
  max-width: 940px;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  line-height: 1.4;
  margin: 0 0 14px;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.hero-content .eyebrow {
  animation: fadeSlideUp 780ms var(--ease-luxe) 160ms both;
}

.hero h1,
.studio-intro h1 {
  animation: fadeSlideUp 980ms var(--ease-luxe) 260ms both;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 9vw, 9.4rem);
  font-weight: 400;
  line-height: 0.9;
  margin: 0;
  max-width: 1100px;
}

.hero-copy {
  animation: fadeSlideUp 900ms var(--ease-luxe) 380ms both;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  line-height: 1.55;
  margin: 28px 0;
  max-width: 650px;
}

.hero-actions {
  animation: fadeSlideUp 900ms var(--ease-luxe) 500ms both;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  align-self: center;
  border-left: 1px solid rgba(255, 250, 246, 0.32);
  color: rgba(255, 250, 246, 0.82);
  max-width: 270px;
  padding-left: 22px;
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  top: 42%;
  z-index: 2;
}

.hero-note span {
  color: var(--paper);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.hero-note p {
  line-height: 1.65;
  margin: 0;
}

.hero-search {
  align-items: end;
  animation: fadeSlideUp 920ms var(--ease-luxe) 640ms both;
  background: rgba(255, 250, 246, 0.97);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 250, 246, 0.46);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(150px, 0.7fr));
  margin-top: 76px;
  max-width: 1180px;
  padding: 18px;
  position: relative;
  z-index: 2;
}

.brief-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1;
  margin: 0;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
select,
textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  min-height: 44px;
  padding: 10px 12px;
  text-transform: none;
  width: 100%;
}

textarea {
  line-height: 1.5;
  resize: vertical;
}

.intro-band {
  background: var(--deep);
  color: var(--paper);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 24px clamp(18px, 5vw, 72px);
}

.intro-band > div {
  border-right: 1px solid rgba(255, 250, 246, 0.18);
  display: grid;
  gap: 4px;
  padding: 0 24px;
}

.intro-band > div:first-child {
  padding-left: 0;
}

.intro-band > div:last-child {
  border-right: 0;
  padding-right: 0;
}

.stat-value {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  opacity: 0.78;
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(18px, 5vw, 72px);
}

[id] {
  scroll-margin-top: 96px;
}

.founder-section {
  align-items: center;
  background: var(--paper);
  display: grid;
  gap: clamp(34px, 6vw, 88px);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.85fr);
}

.founder-copy h2,
.process-copy h2,
.catalog-top h2,
.section-heading h2,
.intent-copy h2,
.contact-band h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 5.3rem);
  font-weight: 400;
  line-height: 1;
  margin: 0;
}

.founder-copy p:not(.section-kicker),
.process-copy p,
.split-heading > p {
  color: rgba(48, 38, 41, 0.72);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 24px 0 0;
  max-width: 760px;
}

.founder-media {
  min-height: 640px;
  position: relative;
}

.founder-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  position: absolute;
}

.media-large {
  height: 76%;
  left: 0;
  top: 0;
  width: 74%;
}

.media-small {
  bottom: 0;
  height: 48%;
  right: 0;
  width: 52%;
}

.media-badge {
  background: var(--burgundy);
  border-radius: var(--radius);
  bottom: 18%;
  color: var(--paper);
  left: 10%;
  max-width: 300px;
  padding: 22px;
  position: absolute;
  box-shadow: 0 18px 50px rgba(34, 25, 26, 0.22);
}

.media-badge span {
  color: var(--gold);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  line-height: 1.6;
}

.process-section {
  background:
    linear-gradient(90deg, rgba(34, 25, 26, 0.92), rgba(34, 25, 26, 0.72)),
    url("../files/WIZUALIZACJA10.jpg") center / cover;
  color: var(--paper);
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(260px, 0.75fr) 1fr;
}

.process-copy p {
  color: rgba(255, 250, 246, 0.72);
}

.process-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid article {
  border-left: 1px solid rgba(255, 250, 246, 0.22);
  padding: 0 0 0 22px;
  transition: border-color 360ms ease, transform 360ms var(--ease-luxe);
}

.process-grid article:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.process-grid span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.process-grid h3 {
  font-size: 1.1rem;
  margin: 14px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.process-grid p,
.contact-band p {
  color: rgba(255, 250, 246, 0.72);
  line-height: 1.7;
}

.catalog-section {
  background: var(--paper);
}

.catalog-top {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto;
  margin-bottom: 18px;
}

.catalog-tools {
  align-items: end;
  display: flex;
  gap: 12px;
}

.search-field {
  min-width: min(320px, 72vw);
}

.catalog-status {
  color: rgba(48, 38, 41, 0.68);
  margin-bottom: 22px;
}

.property-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.property-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 50px rgba(34, 25, 26, 0.08);
  overflow: hidden;
  transform: translateY(0);
  transition:
    box-shadow 360ms var(--ease-luxe),
    transform 360ms var(--ease-luxe),
    border-color 360ms ease;
}

.property-card:first-child {
  grid-column: span 2;
}

.property-card:hover {
  border-color: rgba(138, 30, 57, 0.26);
  box-shadow: 0 22px 70px rgba(34, 25, 26, 0.15);
  transform: translateY(-6px);
}

.property-image {
  aspect-ratio: 4 / 3;
  background: var(--sand);
  overflow: hidden;
  position: relative;
}

.property-card:first-child .property-image {
  aspect-ratio: 16 / 8.4;
}

.property-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-luxe), filter 900ms ease;
  width: 100%;
}

.property-card:hover .property-image img {
  filter: saturate(1.06);
  transform: scale(1.06);
}

.property-image span {
  background: rgba(34, 25, 26, 0.72);
  border-radius: 999px;
  color: var(--paper);
  font-size: 0.72rem;
  left: 12px;
  padding: 7px 10px;
  position: absolute;
  text-transform: uppercase;
  top: 12px;
}

.property-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.property-region {
  color: var(--wine);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.property-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
}

.property-card p {
  color: rgba(48, 38, 41, 0.72);
  line-height: 1.55;
  margin: 0;
}

.property-meta,
.property-footer {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.property-meta span {
  background: var(--pearl);
  border-radius: 999px;
  color: var(--deep);
  font-size: 0.78rem;
  padding: 7px 10px;
}

.property-footer {
  border-top: 1px solid var(--line);
  justify-content: space-between;
  padding-top: 12px;
}

.property-footer strong {
  color: var(--burgundy);
}

.text-button {
  background: transparent;
  border: 0;
  color: var(--sage);
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.empty-state {
  background: var(--pearl);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  grid-column: 1 / -1;
  padding: 36px;
}

.empty-state h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
  margin: 0 0 10px;
}

.map-catalog {
  background: var(--pearl);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin: 0 0 32px;
}

.split-heading {
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
}

.split-heading > p {
  margin: 0;
}

.map-layout {
  align-items: stretch;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.map-panel,
.region-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 50px rgba(34, 25, 26, 0.08);
}

.map-panel {
  background:
    radial-gradient(circle at 22% 18%, rgba(187, 80, 97, 0.12), transparent 34%),
    linear-gradient(145deg, #fffaf6 0%, #efe0d3 100%);
  min-height: 560px;
  overflow: hidden;
  padding: clamp(16px, 3vw, 34px);
  position: relative;
}

.map-panel::before {
  background: radial-gradient(circle, rgba(187, 80, 97, 0.24), transparent 58%);
  content: "";
  height: 260px;
  left: 12%;
  opacity: 0.72;
  position: absolute;
  top: 9%;
  transform: translate3d(var(--map-glow-x, 0px), var(--map-glow-y, 0px), 0);
  transition: transform 100ms linear;
  width: 260px;
}

.spain-map {
  align-items: center;
  display: grid;
  min-height: 100%;
  position: relative;
  z-index: 1;
}

.spain-map svg {
  display: block;
  filter: drop-shadow(0 18px 28px rgba(34, 25, 26, 0.12));
  height: 100%;
  min-height: 500px;
  overflow: visible;
  width: 100%;
}

.map-region {
  cursor: pointer;
  fill: #dcc5b4;
  outline: none;
  stroke: rgba(102, 31, 45, 0.72);
  stroke-linejoin: round;
  stroke-width: 1.35;
  transition:
    fill 220ms ease,
    opacity 220ms ease,
    stroke 220ms ease,
    stroke-width 220ms ease;
  vector-effect: non-scaling-stroke;
}

.map-region.has-listings {
  animation: regionPulse 4.5s ease-in-out infinite;
  fill: #bd6575;
  stroke: rgba(74, 18, 31, 0.82);
}

.map-region:hover,
.map-region:focus-visible,
.map-region.is-active {
  fill: var(--burgundy);
  opacity: 1;
  stroke: #fffaf6;
  stroke-width: 2;
}

.region-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
}

.region-panel h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1;
  margin: 0;
}

.region-panel p:not(.section-kicker) {
  color: rgba(48, 38, 41, 0.72);
  line-height: 1.7;
  margin: 0;
}

.region-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.region-chip {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  min-height: 34px;
  padding: 0 12px;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    transform 220ms var(--ease-luxe);
}

.region-chip:hover {
  transform: translateY(-2px);
}

.region-chip span {
  color: var(--wine);
  margin-left: 6px;
}

.region-chip.is-active {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--paper);
}

.region-chip.is-active span {
  color: var(--paper);
}

.intent-section {
  background: var(--paper);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(280px, 0.8fr) repeat(2, minmax(240px, 1fr));
  padding: clamp(72px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.intent-card {
  background: linear-gradient(180deg, rgba(34, 25, 26, 0.18), rgba(34, 25, 26, 0.82)), var(--burgundy);
  border-radius: var(--radius);
  color: var(--paper);
  display: grid;
  min-height: 320px;
  align-content: end;
  overflow: hidden;
  padding: 24px;
  position: relative;
  transition: transform 420ms var(--ease-luxe), box-shadow 420ms var(--ease-luxe);
}

.intent-card:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(34, 25, 26, 0.1), rgba(34, 25, 26, 0.82)),
    url("../files/WIZUALIZACJA5.jpg") center / cover;
}

.intent-card:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(34, 25, 26, 0.1), rgba(34, 25, 26, 0.82)),
    url("../files/WIZUALIZACJA7.jpg") center / cover;
}

.intent-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.intent-card span {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intent-card p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.05;
  margin: 12px 0 0;
}

.contact-band {
  align-items: start;
  background: var(--burgundy);
  color: var(--paper);
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  padding: clamp(72px, 9vw, 128px) clamp(18px, 5vw, 72px);
}

.contact-form {
  background: rgba(255, 250, 246, 0.96);
  border-radius: var(--radius);
  color: var(--deep);
  display: grid;
  gap: 14px;
  padding: 22px;
}

.form-note {
  color: var(--sage);
  line-height: 1.5;
  margin: 0;
  min-height: 24px;
  text-transform: none;
}

.form-note a {
  color: var(--burgundy);
  text-decoration: underline;
}

.modal[hidden] {
  display: none;
}

.modal {
  inset: 0;
  position: fixed;
  z-index: 80;
}

.modal-backdrop {
  animation: fadeIn 240ms ease both;
  background: rgba(34, 25, 26, 0.72);
  inset: 0;
  position: absolute;
}

.modal-dialog {
  animation: modalRise 520ms var(--ease-luxe) both;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  left: 50%;
  max-height: min(760px, calc(100vh - 44px));
  max-width: min(1080px, calc(100vw - 36px));
  overflow: auto;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.modal-dialog > img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  width: 100%;
}

.modal-close {
  background: var(--paper);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.6rem;
  height: 42px;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 42px;
  z-index: 2;
}

.modal-content {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 44px);
}

.modal-content h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1;
  margin: 0;
}

.modal-content p {
  color: rgba(48, 38, 41, 0.76);
  line-height: 1.7;
  margin: 0;
}

.modal-specs {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
}

.modal-specs div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}

.modal-specs dt {
  color: var(--sage);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.modal-specs dd {
  margin: 4px 0 0;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-list span {
  background: var(--pearl);
  border-radius: 999px;
  padding: 8px 11px;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  padding: 28px clamp(18px, 5vw, 72px);
}

.site-footer img {
  height: 46px;
  object-fit: contain;
  object-position: left center;
  width: 140px;
}

.site-footer p {
  color: rgba(48, 38, 41, 0.7);
  margin: 0;
}

.site-footer a {
  color: var(--sage);
  text-decoration: underline;
}

.studio-body {
  background: var(--pearl);
}

.studio-shell {
  padding: 120px clamp(18px, 5vw, 72px) 70px;
}

.studio-intro {
  max-width: 820px;
}

.studio-intro p:last-child {
  color: rgba(48, 38, 41, 0.72);
  font-size: 1.1rem;
  line-height: 1.7;
}

.studio-grid {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1fr);
  margin-top: 34px;
}

.studio-form,
.studio-preview {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 50px rgba(34, 25, 26, 0.08);
  display: grid;
  gap: 14px;
  padding: 22px;
}

.form-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}

.studio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preview-card .property-card {
  max-width: 420px;
}

#studio-output {
  font-family: Consolas, "Liberation Mono", monospace;
  min-height: 360px;
  white-space: pre;
}

.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 680ms var(--ease-luxe),
    transform 680ms var(--ease-luxe);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.catalog-refresh .property-card {
  animation: cardEnter 620ms var(--ease-luxe) both;
}

.catalog-refresh .property-card:nth-child(2) {
  animation-delay: 70ms;
}

.catalog-refresh .property-card:nth-child(3) {
  animation-delay: 140ms;
}

.catalog-refresh .property-card:nth-child(4) {
  animation-delay: 210ms;
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideUp {
  from {
    filter: blur(3px);
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    filter: blur(0);
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes heroLight {
  from {
    filter: saturate(1.02) brightness(0.98);
  }
  to {
    filter: saturate(1.1) brightness(1.04);
  }
}

@keyframes regionPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(138, 30, 57, 0));
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(138, 30, 57, 0.28));
  }
}

@keyframes cardEnter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalRise {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 24px)) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (max-width: 1180px) {
  .hero-note {
    display: none;
  }

  .hero-search,
  .founder-section,
  .process-section,
  .split-heading,
  .map-layout,
  .intent-section {
    grid-template-columns: 1fr;
  }

  .process-grid,
  .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 94vh;
    padding-top: 112px;
  }

  .hero-search,
  .intro-band,
  .catalog-top,
  .process-grid,
  .contact-band,
  .modal-dialog,
  .studio-grid {
    grid-template-columns: 1fr;
  }

  .intro-band > div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 250, 246, 0.18);
    padding: 18px 0;
  }

  .intro-band > div:last-child {
    border-bottom: 0;
  }

  .founder-media {
    min-height: 520px;
  }

  .media-large {
    width: 78%;
  }

  .media-small {
    width: 58%;
  }

  .catalog-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .search-field {
    min-width: 0;
  }

  .property-card:first-child {
    grid-column: span 1;
  }

  .modal-dialog > img {
    min-height: 260px;
  }
}

@media (max-width: 620px) {
  .brand-mark img {
    height: 250px;
    width: 250px;
  }

  .brand-mark {
    height: 52px;
    width: 148px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero h1,
  .studio-intro h1 {
    font-size: 3.45rem;
  }

  .hero-search {
    margin-top: 42px;
  }

  .section,
  .contact-band,
  .intent-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .founder-media {
    min-height: 420px;
  }

  .media-badge {
    bottom: 10%;
    left: 0;
  }

  .property-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .map-panel {
    min-height: 380px;
  }

  .spain-map svg {
    min-height: 340px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
  }
}
