/* ============================================================
   RENT-A-REP® — We Show Up So You Don't Have To
   Design base: paper.html (PapyrusPorn.org)
   Parchment / kraft / indigo / wax-red editorial
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Caveat:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

:root {
  --parchment:  #F5F0E8;
  --kraft:      #C4A882;
  --kraft-dark: #8B7355;
  --kraft-light:#E8D5BE;
  --indigo:     #2C3E6B;
  --indigo-light:#4A5F8F;
  --wax-red:    #9B2335;
  --wax-dark:   #6B1823;
  --cream:      #FAF7F0;
  --shadow:     rgba(60,40,20,0.15);
  --shadow-deep:rgba(60,40,20,0.3);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--parchment);
  background-image: var(--grain);
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--indigo);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── PAPER TEXTURE OVERLAY ── */
.paper-texture {
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, var(--parchment) 60%, transparent);
  transition: all 0.4s;
}

nav.scrolled {
  padding: 12px 24px;
  background: var(--parchment);
  box-shadow: 0 2px 20px var(--shadow);
}

.logo {
  font-family: 'Caveat', cursive;
  font-size: 26px;
  font-weight: 700;
  color: var(--indigo);
  text-decoration: none;
  position: relative;
}

.logo::after {
  content: '®';
  font-size: 10px;
  position: absolute;
  top: 2px; right: -14px;
  font-family: 'Cormorant Garamond', serif;
}

.nav-links {
  display: none;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--indigo);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--wax-red);
  transition: width 0.3s;
}

.nav-links a:hover::after { width: 100%; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

/* Torn edge bottom of hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: -5%; right: -5%;
  height: 60px;
  background: var(--parchment);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60'%3E%3Cpath d='M0,60 L0,25 Q15,20 30,28 Q50,38 70,22 Q85,12 100,20 Q120,30 140,18 Q155,8 175,22 Q195,35 215,15 Q230,2 250,18 Q270,32 290,12 Q310,0 330,20 Q350,35 370,15 Q385,3 405,22 Q425,38 445,18 Q460,5 480,25 Q500,40 520,20 Q535,5 555,22 Q575,35 595,15 Q615,0 635,20 Q655,35 675,12 Q690,0 710,22 Q730,38 750,18 Q765,5 785,25 Q805,40 825,15 Q840,2 860,22 Q880,38 900,12 Q920,0 940,25 Q960,40 980,18 Q1000,2 1020,22 Q1040,35 1060,15 Q1080,0 1100,20 Q1120,35 1140,18 Q1160,5 1180,25 Q1195,32 1200,28 L1200,60 Z' fill='white'/%3E%3C/svg%3E");
  mask-size: cover;
  z-index: 10;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--kraft-dark);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 1s 0.3s forwards;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 8vw, 112px);
  font-weight: 900;
  line-height: 0.95;
  color: var(--indigo);
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeUp 1s 0.5s forwards;
}

.hero h1 .script-line {
  display: block;
  font-family: 'Caveat', cursive;
  font-size: clamp(24px, 4vw, 56px);
  font-weight: 500;
  color: var(--wax-red);
  margin-top: 8px;
  transform: rotate(-2deg);
}

.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 300;
  font-style: italic;
  color: var(--kraft-dark);
  max-width: 500px;
  margin: 28px auto 0;
  line-height: 1.6;
  opacity: 0;
  animation: fadeUp 1s 0.8s forwards;
}

/* Wax seal */
.wax-seal {
  width: 84px; height: 84px;
  background: radial-gradient(circle at 35% 35%, var(--wax-red), var(--wax-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 36px auto 0;
  box-shadow: 0 4px 15px rgba(155,35,53,0.3), inset 0 -2px 4px rgba(0,0,0,0.2), inset 0 2px 4px rgba(255,255,255,0.15);
  opacity: 0;
  animation: sealDrop 0.6s 1.2s forwards;
  cursor: pointer;
  transition: transform 0.3s;
  position: relative;
}

.wax-seal:hover { transform: scale(1.08) rotate(5deg); }

.wax-seal::before {
  content: 'RAR';
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 900;
  color: rgba(255,255,255,0.85);
  letter-spacing: 1px;
}

.wax-seal::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
}

/* Floating paper scraps */
.floating-paper {
  position: absolute;
  background: var(--cream);
  box-shadow: 2px 4px 12px var(--shadow);
  opacity: 0;
  animation: floatPaper 20s infinite linear;
}

.floating-paper:nth-child(1) { width:55px; height:72px; top:15%; left:8%;  transform:rotate(12deg);  animation-delay:0s;   animation-duration:25s; opacity:0.6; }
.floating-paper:nth-child(2) { width:38px; height:52px; top:25%; right:12%; transform:rotate(-8deg); animation-delay:-5s;  animation-duration:22s; opacity:0.5; }
.floating-paper:nth-child(3) { width:65px; height:42px; bottom:20%; left:15%; transform:rotate(25deg); animation-delay:-10s; animation-duration:28s; opacity:0.4; }
.floating-paper:nth-child(4) { width:32px; height:48px; top:40%; right:6%;  transform:rotate(-18deg); animation-delay:-8s;  animation-duration:20s; opacity:0.5; }

/* ── MANIFESTO ── */
.manifesto {
  padding: 80px 24px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2.8vw, 30px);
  font-weight: 300;
  line-height: 1.8;
  color: var(--indigo);
  font-style: italic;
}

.manifesto-text em {
  font-family: 'Caveat', cursive;
  font-style: normal;
  font-size: 1.15em;
  color: var(--wax-red);
}

.manifesto-attribution {
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--kraft-dark);
}

/* ── SERVICES / ORIGAMI FLIP CARDS ── */
.services-section {
  padding: 48px 24px 100px;
}

.section-title {
  text-align: center;
  margin-bottom: 64px;
}

.section-title h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 900;
  color: var(--indigo);
}

.section-title .subtitle {
  font-family: 'Caveat', cursive;
  font-size: 18px;
  color: var(--wax-red);
  margin-top: 8px;
  transform: rotate(-1deg);
  display: inline-block;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Origami flip card */
.origami-card {
  perspective: 1200px;
  cursor: pointer;
  height: 460px;
}

.origami-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4,0,0.2,1);
  transform-style: preserve-3d;
}

.origami-card:hover .origami-card-inner,
.origami-card.flipped .origami-card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 4px;
  overflow: hidden;
}

.card-front {
  background: var(--cream);
  background-image: var(--grain);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 32px;
  box-shadow: 4px 6px 25px var(--shadow), 0 1px 3px rgba(60,40,20,0.1);
  position: relative;
}

/* Folded corner */
.card-front::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 56px; height: 56px;
  background: linear-gradient(225deg, var(--parchment) 50%, var(--kraft-light) 50%);
  box-shadow: -2px 2px 5px rgba(60,40,20,0.12);
  transition: width 0.4s, height 0.4s;
}

.origami-card:hover .card-front::before { width: 76px; height: 76px; }

/* Crease line */
.card-front::after {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,115,85,0.15), transparent);
}

.card-product-name {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--indigo);
  line-height: 1.3;
}

.card-product-type {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--kraft-dark);
  margin-top: 6px;
}

.card-price {
  font-family: 'Caveat', cursive;
  font-size: 34px;
  color: var(--wax-red);
  align-self: flex-end;
}

.card-flip-hint {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--kraft);
  text-align: center;
  margin-top: auto;
  padding-top: 16px;
}

.card-back {
  background: var(--indigo);
  background-image: var(--grain);
  transform: rotateY(180deg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 4px 6px 25px var(--shadow);
  color: var(--cream);
}

.card-back-copy {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-style: italic;
  line-height: 1.7;
  color: var(--kraft-light);
}

.card-back-detail {
  margin-top: 22px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--kraft);
}

.card-back-cta {
  margin-top: 26px;
  padding: 13px 26px;
  background: var(--wax-red);
  color: var(--cream);
  border: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  align-self: flex-start;
  transition: all 0.3s;
  box-shadow: 2px 3px 8px rgba(155,35,53,0.3);
}

.card-back-cta:hover {
  background: var(--wax-dark);
  transform: translateY(-2px);
  box-shadow: 3px 5px 12px rgba(155,35,53,0.4);
}

/* ── TORN PAPER DIVIDER ── */
.torn-divider {
  height: 50px;
  position: relative;
  overflow: hidden;
}

.torn-divider::before {
  content: '';
  position: absolute;
  top: -2px; left: -5%; right: -5%;
  height: 50px;
  background: var(--indigo);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 50'%3E%3Cpath d='M0,0 L1200,0 L1200,20 Q1185,28 1170,18 Q1150,5 1130,22 Q1110,35 1090,15 Q1070,0 1050,20 Q1030,35 1010,12 Q990,0 970,22 Q950,38 930,15 Q910,0 890,20 Q870,35 850,12 Q830,0 810,22 Q790,38 770,15 Q750,0 730,20 Q710,35 690,12 Q670,0 650,22 Q630,38 610,15 Q590,0 570,20 Q550,35 530,12 Q510,0 490,22 Q470,38 450,15 Q430,0 410,20 Q390,35 370,12 Q350,0 330,22 Q310,38 290,15 Q270,0 250,18 Q230,32 210,15 Q190,2 170,22 Q150,38 130,15 Q110,0 90,20 Q70,35 50,12 Q30,0 10,22 Q5,28 0,25 Z' fill='white'/%3E%3C/svg%3E");
  mask-size: cover;
}

/* ── ABOUT SECTION ── */
.about-section {
  background: var(--indigo);
  background-image: var(--grain);
  color: var(--cream);
  padding: 100px 24px;
  position: relative;
}

.about-section .torn-top {
  position: absolute;
  top: -2px; left: -5%; right: -5%;
  height: 50px;
  background: var(--parchment);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 50'%3E%3Cpath d='M0,50 L0,25 Q15,18 30,28 Q50,40 70,22 Q90,8 110,25 Q130,38 150,18 Q170,2 190,22 Q210,38 230,15 Q250,0 270,20 Q290,35 310,12 Q330,0 350,22 Q370,38 390,15 Q410,0 430,20 Q450,35 470,12 Q490,0 510,22 Q530,38 550,15 Q570,0 590,20 Q610,35 630,12 Q650,0 670,22 Q690,38 710,15 Q730,0 750,20 Q770,35 790,12 Q810,0 830,22 Q850,38 870,15 Q890,0 910,20 Q930,35 950,12 Q970,0 990,22 Q1010,38 1030,15 Q1050,0 1070,20 Q1090,35 1110,12 Q1130,0 1150,22 Q1170,35 1190,20 L1200,25 L1200,50 Z' fill='white'/%3E%3C/svg%3E");
  mask-size: cover;
  z-index: 2;
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 900;
  color: var(--cream);
  margin-bottom: 28px;
  line-height: 1.2;
}

.about-text h2 span {
  font-family: 'Caveat', cursive;
  font-weight: 500;
  color: var(--wax-red);
  display: inline;
}

.about-text p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--kraft-light);
  margin-bottom: 18px;
}

/* Stacked paper effect */
.paper-stack {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.stack-sheet {
  position: absolute;
  width: min(280px, 80vw);
  height: 340px;
  background: var(--cream);
  background-image: var(--grain);
  border-radius: 2px;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1), box-shadow 0.6s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  text-align: center;
}

.stack-sheet:nth-child(1) { transform: rotate(-6deg) translateY(10px);            box-shadow: 3px 5px 20px var(--shadow-deep); z-index: 3; }
.stack-sheet:nth-child(2) { transform: rotate(2deg)  translateX(15px);             box-shadow: 2px 4px 15px var(--shadow);      z-index: 2; }
.stack-sheet:nth-child(3) { transform: rotate(8deg)  translateX(-10px) translateY(-5px); box-shadow: 1px 3px 10px var(--shadow); z-index: 1; }

.paper-stack:hover .stack-sheet:nth-child(1) { transform: rotate(-12deg) translateX(-28px) translateY(-18px); }
.paper-stack:hover .stack-sheet:nth-child(2) { transform: rotate(5deg)   translateX(28px)  translateY(10px);  }
.paper-stack:hover .stack-sheet:nth-child(3) { transform: rotate(15deg)  translateX(10px)  translateY(-28px); }

.stack-sheet .sheet-text {
  font-family: 'Caveat', cursive;
  font-size: 20px;
  color: var(--indigo);
  line-height: 1.55;
}

/* ── TESTIMONIALS — folded notes ── */
.testimonials {
  padding: 100px 24px;
}

.testimonials .section-title { margin-bottom: 52px; }

.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  max-width: 1000px;
  margin: 0 auto;
}

.folded-note {
  background: var(--cream);
  background-image: var(--grain);
  padding: 32px 28px;
  position: relative;
  box-shadow: 3px 5px 20px var(--shadow);
  transition: transform 0.4s, box-shadow 0.4s;
  transform: rotate(var(--rot, 0deg));
}

.folded-note:nth-child(1) { --rot: -1.5deg; }
.folded-note:nth-child(2) { --rot:  0.8deg; }
.folded-note:nth-child(3) { --rot: -0.5deg; }

.folded-note:hover {
  transform: rotate(0deg) translateY(-5px);
  box-shadow: 5px 8px 30px var(--shadow-deep);
}

/* Tape */
.folded-note::before {
  content: '';
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%) rotate(2deg);
  width: 64px; height: 20px;
  background: rgba(228,213,190,0.7);
  border: 1px solid rgba(196,168,130,0.3);
}

.folded-note blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-style: italic;
  line-height: 1.7;
  color: var(--indigo);
  margin-bottom: 14px;
}

.folded-note cite {
  font-family: 'Caveat', cursive;
  font-size: 15px;
  color: var(--wax-red);
  font-style: normal;
}

/* ── CTA — sealed letter ── */
.cta-section {
  padding: 80px 24px 100px;
  text-align: center;
}

.sealed-letter {
  max-width: 640px;
  margin: 0 auto;
  background: var(--cream);
  background-image: var(--grain);
  padding: 56px 40px 52px;
  position: relative;
  box-shadow: 5px 8px 30px var(--shadow);
}

/* Envelope flap */
.sealed-letter::before {
  content: '';
  position: absolute;
  top: -40px; left: 0; right: 0;
  height: 80px;
  background: var(--kraft-light);
  clip-path: polygon(0 100%, 50% 0%, 100% 100%);
  box-shadow: 0 2px 8px var(--shadow);
}

.sealed-letter h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 900;
  color: var(--indigo);
  margin-bottom: 18px;
  margin-top: 8px;
}

.sealed-letter p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-style: italic;
  line-height: 1.7;
  color: var(--kraft-dark);
  margin-bottom: 32px;
}

.cta-button {
  display: inline-block;
  padding: 17px 44px;
  background: var(--wax-red);
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.4s;
  box-shadow: 3px 4px 12px rgba(155,35,53,0.3);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255,255,255,0.2);
  pointer-events: none;
}

.cta-button:hover {
  background: var(--wax-dark);
  transform: translateY(-3px);
  box-shadow: 5px 7px 20px rgba(155,35,53,0.4);
}

/* ── FOOTER ── */
footer {
  background: var(--indigo);
  background-image: var(--grain);
  padding: 60px 24px 36px;
  color: var(--kraft-light);
  position: relative;
}

footer .torn-top {
  position: absolute;
  top: -2px; left: -5%; right: -5%;
  height: 40px;
  background: var(--parchment);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40'%3E%3Cpath d='M0,40 L0,15 Q20,22 40,12 Q60,2 80,15 Q100,28 120,10 Q140,0 160,18 Q180,30 200,12 Q220,0 240,15 Q260,28 280,10 Q300,0 320,18 Q340,30 360,12 Q380,0 400,15 Q420,28 440,10 Q460,0 480,18 Q500,30 520,12 Q540,0 560,15 Q580,28 600,10 Q620,0 640,18 Q660,30 680,12 Q700,0 720,15 Q740,28 760,10 Q780,0 800,18 Q820,30 840,12 Q860,0 880,15 Q900,28 920,10 Q940,0 960,18 Q980,30 1000,12 Q1020,0 1040,15 Q1060,28 1080,10 Q1100,0 1120,18 Q1140,30 1160,12 Q1180,0 1200,15 L1200,40 Z' fill='white'/%3E%3C/svg%3E");
  mask-size: cover;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

.footer-brand .logo {
  color: var(--cream);
  font-size: 28px;
  margin-bottom: 12px;
  display: inline-block;
}

.footer-brand p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--kraft);
  max-width: 320px;
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: var(--kraft);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  max-width: 1100px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(196,168,130,0.15);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  color: var(--kraft-dark);
}

.footer-bottom a { color: var(--kraft); text-decoration: none; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── KEYFRAMES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes sealDrop {
  from { opacity: 0; transform: scale(1.4) rotate(-15deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes floatPaper {
  0%   { transform: rotate(var(--r,10deg)) translateY(0); opacity: 0; }
  10%  { opacity: 0.5; }
  50%  { transform: rotate(calc(var(--r,10deg) + 15deg)) translateY(-28px) translateX(14px); }
  90%  { opacity: 0.5; }
  100% { transform: rotate(calc(var(--r,10deg) - 10deg)) translateY(0); opacity: 0; }
}

/* ── RESPONSIVE ── */
@media (min-width: 768px) {
  nav { padding: 20px 40px; }
  nav.scrolled { padding: 12px 40px; }
  .nav-links { display: flex; }
  .about-inner { grid-template-columns: 1fr 1fr; gap: 72px; }
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; gap: 52px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (max-width: 480px) {
  .origami-card { height: 400px; }
  .sealed-letter { padding: 48px 24px 44px; }
}
