/* ─── FONTS ─────────────────────────────────────────────── */
@font-face {
  font-family: 'Soledago';
  src: url('fonts/Soledago.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant';
  src: url('fonts/Cormorant-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant';
  src: url('fonts/Cormorant-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant';
  src: url('fonts/Cormorant-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant';
  src: url('fonts/Cormorant-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant';
  src: url('fonts/Cormorant-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant';
  src: url('fonts/Cormorant-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant';
  src: url('fonts/Cormorant-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant';
  src: url('fonts/Cormorant-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'XTypewriter';
  src: url('fonts/XTypewriter-Regular.otf') format('opentype');
  font-display: swap;
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ─── VARIABLES ──────────────────────────────────────────── */
:root {
  --color-bg: #faf8f4;
  --color-surface: #f2ede6;
  --color-accent-blue: #7aafc8;
  --color-accent-violet: #a07ec0;
  --color-accent-green: #6dab8c;
  --color-text: #2a2520;
  --color-text-muted: #8a7e74;
  --font-heading: 'Soledago', serif;
  --font-body: 'Cormorant', serif;
  --font-type: 'XTypewriter', monospace;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── BASE ───────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.8;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, var(--color-accent-blue), transparent),
    radial-gradient(ellipse 50% 60% at 80% 20%, var(--color-accent-violet), transparent),
    radial-gradient(ellipse 40% 50% at 60% 80%, var(--color-accent-green), transparent);
}

section, header, footer { position: relative; z-index: 1; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

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

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

.animate-in {
  animation: fadeInUp 0.8s var(--ease) both;
}

/* ─── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(250, 248, 244, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(160, 126, 192, 0.2);
}

.header-title {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 2vw, 1.3rem);
  letter-spacing: 0.3em;
  color: var(--color-text);
  background: linear-gradient(90deg, var(--color-accent-blue), var(--color-accent-violet), var(--color-accent-green), var(--color-accent-blue));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  border: 1px solid rgba(160, 126, 192, 0.5);
  background: rgba(160, 126, 192, 0.08);
  color: var(--color-text);
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: all 0.3s var(--ease);
  border-radius: 2px;
}
.btn:hover {
  background: rgba(160, 126, 192, 0.18);
  box-shadow: 0 0 20px rgba(160, 126, 192, 0.25);
}

.hero-btn {
  position: absolute;
  bottom: 155px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 1.5rem;
  padding: 18px 56px;
  background: rgba(255, 252, 250, 0.72);
  color: #3d1e6e;
  border: none;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.hero-btn:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.5), 0 0 80px rgba(200, 180, 240, 0.3);
  color: #2a1050;
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(250,248,244,0.15) 0%, rgba(250,248,244,0.55) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 6rem);
  letter-spacing: 0.2em;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  background: none;
  filter: none;
  text-shadow:
    0 0 20px rgba(255, 255, 255, 0.95),
    0 0 50px rgba(210, 210, 255, 0.7),
    0 0 90px rgba(180, 180, 255, 0.4);
  animation: none;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.5rem;
  color: rgba(42, 37, 32, 0.75);
}

.hero-arrow {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--color-text);
  animation: bounce 1.8s ease-in-out infinite;
}

/* ─── QUESTIONS / TYPEWRITER ─────────────────────────────── */
.questions-section {
  padding: 80px 20px;
}

.questions-container {
  max-width: 700px;
  margin: 0 auto;
}

.typewriter-output {
  font-family: var(--font-type);
  font-size: 1.1rem;
  color: var(--color-text);
  line-height: 2;
  white-space: pre-wrap;
}

.typewriter-cursor {
  display: inline-block;
  animation: blink 0.7s step-end infinite;
}

.typewriter-answer {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-accent-violet);
  margin-top: 32px;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  letter-spacing: 0.05em;
}

.typewriter-answer.visible {
  opacity: 1;
}

/* ─── WATERCOLOR GRADIENT (fixed = one seamless canvas across sections) */
.watercolor-bg {
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 8%  20%,  rgba(255, 168, 195, 0.55) 0%, transparent 58%),
    radial-gradient(ellipse 60% 70% at 90% 15%,  rgba(110, 210, 165, 0.48) 0%, transparent 58%),
    radial-gradient(ellipse 65% 55% at 50% 85%,  rgba(140, 195, 230, 0.52) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 75% 50%,  rgba(255, 168, 195, 0.38) 0%, transparent 52%),
    radial-gradient(ellipse 55% 48% at 25% 65%,  rgba(110, 210, 165, 0.40) 0%, transparent 52%),
    radial-gradient(ellipse 40% 40% at 60% 35%,  rgba(140, 195, 230, 0.42) 0%, transparent 50%);
  background-attachment: fixed;
}

/* soften the join where questions-section fades into the watercolor below */
.questions-section {
  background: linear-gradient(to bottom, var(--color-surface) 75%, var(--color-bg) 100%);
}

/* soften the join where portfolio fades into reviews above */
.reviews-section {
  background: linear-gradient(to top, var(--color-surface) 75%, var(--color-bg) 100%);
}

/* ─── ABOUT ──────────────────────────────────────────────── */
.about-section {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-photo-col {
  display: flex;
  justify-content: center;
}

.polaroid-photo {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.22), 0 2px 12px rgba(0, 0, 0, 0.12);
  border-radius: 2px;
  max-width: 340px;
  width: 100%;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.polaroid-photo:hover {
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.28), 0 4px 16px rgba(0, 0, 0, 0.14);
  transform: scale(1.02);
}

.notebook-block {
  position: relative;
  background: linear-gradient(135deg, #d6d6e4 0%, #e0e0ec 50%, #d2d2e2 100%);
  border: 1px solid rgba(180, 180, 205, 0.6);
  border-left: 4px solid rgba(160, 160, 200, 0.9);
  border-radius: 6px;
  padding: 52px 48px 48px 56px;
  box-shadow: 0 4px 24px rgba(140, 140, 180, 0.2), inset 0 1px 0 rgba(255,255,255,0.8);
  transition: box-shadow 0.4s ease;
}

.notebook-block:hover {
  box-shadow:
    0 0 20px rgba(200, 200, 230, 0.9),
    0 0 45px rgba(190, 190, 225, 0.65),
    0 0 80px rgba(180, 180, 218, 0.3),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.notebook-block::before {
  content: none;
}

.notebook-block::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at bottom right, rgba(160,126,192,0.12), transparent 70%);
  border-radius: 0 0 6px 0;
  pointer-events: none;
}

.about-text {
  font-family: var(--font-body);
  font-size: 1.55rem;
  color: #2a2520;
  line-height: 1.75;
}

/* ─── SECTION TITLE ──────────────────────────────────────── */
.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 48px;
}

/* ─── SERVICES ───────────────────────────────────────────── */
.services-section {
  padding: 100px 0;
}

.services-section .container {
  max-width: 1400px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.service-card {
  background: #fff;
  border: 1px solid rgba(160, 126, 192, 0.2);
  border-radius: 4px;
  padding: 36px 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 40px;
  background: var(--color-accent-violet);
  opacity: 0.5;
}

.service-card:hover {
  border-color: rgba(160, 126, 192, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.service-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  color: var(--color-text);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.2rem;
}

.service-price {
  font-family: var(--font-body);
  font-size: 1.8rem;
  font-weight: 600;
  min-height: 2.4rem;
}
.service-price.violet { color: var(--color-accent-violet); }
.service-price.blue   { color: var(--color-accent-blue); }
.service-price.green  { color: var(--color-accent-green); }

.service-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.service-bullets li {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--color-text);
  line-height: 1.6;
}

.service-btn {
  align-self: center;
  margin-top: auto;
  text-align: center;
}


/* ─── METAPHORIC CARDS ───────────────────────────────────── */
.cards-section {
  padding: 80px 0;
}

.cards-caption {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 300;
  font-style: italic;
  color: #2a2520;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: 0.02em;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.meta-card {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.12);
  background: #fff;
  padding: 12px 12px 36px;
  transform: rotate(0deg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.meta-card:nth-child(1) { transform: rotate(-1.5deg); }
.meta-card:nth-child(2) { transform: rotate(0.8deg); }
.meta-card:nth-child(3) { transform: rotate(-0.6deg); }

.meta-card:hover {
  transform: rotate(0deg) scale(1.03) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.meta-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .cards-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
}

/* ─── PORTFOLIO / FILM STRIP ─────────────────────────────── */
.portfolio-section {
  padding: 100px 0;
  background: var(--color-bg);
}

.slider-block {
  margin-bottom: 96px;
}

.slider-block:last-child {
  margin-bottom: 0;
}

.slider-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 28px auto 0;
  border-radius: 50%;
  border: 1.5px solid rgba(160, 126, 192, 0.6);
  background: rgba(255, 255, 255, 0.55);
  color: #5a4a7a;
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s;
}
.slider-btn:hover {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 18px rgba(160, 126, 192, 0.35);
  transform: scale(1.08);
}

.slider-title {
  font-family: 'Soledago', serif;
  font-size: 1.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  margin-top: 0;
  margin-bottom: 28px;
  color: #5a5a8a;
  text-shadow:
    0 0 16px rgba(150, 150, 240, 0.7),
    0 0 36px rgba(130, 130, 220, 0.4);
  background: none !important;
  -webkit-text-fill-color: #5a5a8a !important;
  animation: none;
  filter: none;
  opacity: 1 !important;
}

.film-strip {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
  margin-bottom: 0;
  border-radius: 2px;
}

.film-perforations {
  height: 22px;
  background: repeating-linear-gradient(
    to right,
    transparent 0px,
    transparent 9px,
    #111 9px,
    #111 13px,
    transparent 13px,
    transparent 32px
  );
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
}

.film-perforations::after {
  content: '';
  position: absolute;
  inset: 3px 0;
  background: repeating-linear-gradient(
    to right,
    transparent 0px,
    transparent 9px,
    var(--color-bg) 9px,
    var(--color-bg) 23px,
    transparent 23px,
    transparent 32px
  );
  border-radius: 2px;
}

.film-frames {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  will-change: scroll-position;
  transform: translateZ(0);
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  background: #111;
  padding: 0;
  user-select: none;
}

.film-frames::-webkit-scrollbar { display: none; }
.film-frames.grabbing { cursor: grabbing; }

.film-frame {
  width: 280px;
  height: 380px;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid #2a2a2a;
}

.film-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  filter: contrast(1.05) saturate(0.85) sepia(0.1);
  transform: translateZ(0);
}

.film-frame:hover img {
  transform: scale(1.02);
  transition: transform 0.3s;
}

.placeholder-frame {
  width: 280px;
  height: 380px;
  flex-shrink: 0;
  background: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border: 2px solid #333;
}

/* ─── REVIEWS ────────────────────────────────────────────── */
.reviews-section {
  padding: 100px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: #fff;
  border-left: 3px solid var(--color-accent-violet);
  padding: 28px 32px;
  border-radius: 2px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.review-quote {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--color-accent-violet);
  opacity: 0.35;
  line-height: 0.5;
  margin-bottom: 8px;
}

.review-text {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.7;
  color: var(--color-text);
  flex: 1;
}

.review-stars {
  color: var(--color-accent-blue);
  font-size: 0.9rem;
  margin-top: 8px;
}

.review-name {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-top: 8px;
}

/* ─── CONTACT ────────────────────────────────────────────── */
.contact-section {
  background: var(--color-surface);
  padding: 100px 20px;
  background-image: radial-gradient(ellipse at center, rgba(160,126,192,0.06) 0%, transparent 70%);
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-heading {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 500;
  font-style: italic;
  color: var(--color-text);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.5;
}

.contact-icons {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.contact-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: var(--color-text);
  transition: opacity 0.25s, transform 0.25s;
}

.contact-link:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

.contact-icon {
  width: 52px;
  height: 52px;
}

.contact-or {
  font-family: var(--font-body);
  color: var(--color-text-muted);
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.contact-form {
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-input {
  background: #fff;
  border: 1px solid rgba(160, 126, 192, 0.3);
  color: var(--color-text);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 1.25rem;
  border-radius: 2px;
  width: 100%;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-input:focus {
  border-color: var(--color-accent-violet);
  outline: none;
  box-shadow: 0 0 0 3px rgba(160, 126, 192, 0.12);
}

.form-textarea {
  resize: vertical;
}

.form-submit {
  width: 100%;
}

.form-success {
  opacity: 0;
  pointer-events: none;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.2rem;
  margin-top: 20px;
  transition: opacity 0.6s var(--ease);
}

.form-success.visible {
  opacity: 1;
}

/* ─── PAINTING CARD ──────────────────────────────────────── */
.painting-card {
  display: flex;
  align-items: stretch;
  max-width: 640px;
  width: 100%;
  margin: 96px auto 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.painting-img {
  width: 260px;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
}

.painting-text {
  background: #fff;
  border: 1px solid rgba(160, 126, 192, 0.2);
  border-left: none;
  position: relative;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  flex: 1;
}

.painting-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--color-accent-violet);
  opacity: 0.5;
}

.painting-text p {
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: var(--color-text);
  line-height: 1.7;
}

.painting-btn {
  align-self: center;
}

@media (max-width: 600px) {
  .painting-card { flex-direction: column; }
  .painting-img  { width: 100%; height: 220px; }
}

/* ─── MEETING PHOTOS ────────────────────────────────────── */
.meeting-photos {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 48px;
}

.meeting-photo {
  background: #fff;
  padding: 8px 8px 28px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.meeting-photo img {
  width: 160px;
  height: 200px;
  object-fit: cover;
  display: block;
}

.meeting-photo--1 { transform: rotate(-3deg); }
.meeting-photo--2 { transform: rotate(0.5deg) translateY(-12px); }
.meeting-photo--3 { transform: rotate(2.5deg); }

.meeting-photo:hover {
  transform: rotate(0deg) scale(1.05) translateY(-6px) !important;
  box-shadow: 0 14px 40px rgba(0,0,0,0.18);
  z-index: 2;
}

@media (max-width: 560px) {
  .meeting-photo img { width: 90px; height: 115px; }
  .meeting-photos { gap: 10px; }
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  padding: 32px 20px;
  border-top: 1px solid rgba(160, 126, 192, 0.2);
  background: var(--color-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer-tagline {
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
  font-size: 0.95rem;
}

.footer-link {
  transition: opacity 0.25s;
}
.footer-link:hover { opacity: 0.7; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .services-grid { grid-template-columns: 1fr; }
  .reviews-grid  { grid-template-columns: 1fr; }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  .film-frame {
    width: 200px;
    height: 280px;
  }

  /* ─ Мобильный заголовок ─ */
  .header-title {
    text-align: center;
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
    letter-spacing: 0.12em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* ─ Ответ typewriter — без nowrap, с отступами ─ */
  .typewriter-answer {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  /* ─ Предотвращение выхода за края ─ */
  .questions-container {
    padding: 0 20px;
    box-sizing: border-box;
  }

  /* ─ Notebook block на мобиле ─ */
  .notebook-block {
    padding: 36px 28px 32px 32px;
  }

  /* ─ Секции без горизонтального overflow ─ */
  .portfolio-section,
  .reviews-section,
  .contact-section,
  .about-section,
  .services-section,
  .cards-section {
    overflow-x: hidden;
  }

  /* ─ background-attachment: fixed вызывает полный repaint на каждый пиксель скролла на мобиле ─ */
  .watercolor-bg {
    background-attachment: scroll;
  }
}

@media (max-width: 480px) {
  .hero-title { letter-spacing: 0.1em; }
  .section-title { font-size: 1.4rem; letter-spacing: 0.1em; }

  .film-frame {
    width: 160px;
    height: 220px;
  }

  .notebook-block { padding: 32px 24px 32px 32px; }
  .about-text { font-size: 1.1rem; }

  .contact-icons { gap: 24px; }

  /* ─ Заголовок в header — ещё меньше letter-spacing ─ */
  .header-title {
    letter-spacing: 0.06em;
    padding-left: 12px;
    padding-right: 12px;
  }

  /* ─ Ответ typewriter ─ */
  .typewriter-answer {
    font-size: 1.15rem;
    padding-left: 20px;
    padding-right: 20px;
  }

  /* ─ Надпись "ТОГДА ФОТОСЕССИИ НА ПЛЕНКУ — ЭТО ТО, ЧТО ВЫ ИСКАЛИ" ─ */
  .typewriter-answer {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
  }
}
