@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Inter:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Inter:wght@300;400;500&family=Gloria+Hallelujah&display=swap');

:root {
  --cream: #fff6ed;
  --pink: #f7c6d9;
  --lavender: #e6e4ff;
  --sage: #dff1e6;
  --burgundy: #6b1f3a;
  --text: #2a2a2a;
}

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

body {
  background: var(--cream);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

/* nav*/
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
}

nav a {
  text-decoration: none;
  color: var(--text);
  margin-left: 1.5rem;
  font-weight: 500;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
}

/* hero*/
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  padding: 4rem 3rem;
  align-items: center;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
}

.button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--text);
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
}

/*sections*/
.section {
  padding: 4rem 3rem;
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

/* cards */
.carousel {
  width: 100%;
  overflow-x: auto;
  padding: 1.5rem 0;
  scroll-snap-type: x mandatory;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.group {
  display: flex;
  gap: 1.5rem;
  padding: 0 1rem;
}

.card {
  flex: 0 0 80%;
  max-width: 320px;
  padding: 2rem;
  border-radius: 20px;
  scroll-snap-align: center;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.pink { background: var(--pink); }
.lavender { background: var(--lavender); }
.sage { background: var(--sage); }

.card::after {
  content: "✦";
  position: absolute;
  top: -12px;
  right: -12px;
  font-size: 1.2rem;
  opacity: 0;
  transform: scale(0) rotate(-10deg);
  transition: all 0.4s ease;
}

.card:hover {
  transform: translateY(-10px) rotate(-1deg);
  box-shadow: 0 25px 45px rgba(0,0,0,0.15);
}

.card:hover::after {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.card h3 {
  transition: font-family 0.2s ease, transform 0.3s ease, letter-spacing 0.3s ease;
}

.card:hover h3 {
  font-family: 'Gloria Hallelujah', cursive;
  letter-spacing: 0.04em;
  transform: rotate(-2deg) scale(1.05);
}

/* self portrait */

.portrait {
  border-radius: 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portrait {
  width: 100%;
  max-width: 380px; 
  height: auto;
  border-radius: 20px;
  display: block;
}


.portrait:hover {
  transform: translateY(-10px) rotate(-1deg);
  box-shadow: 0 25px 45px rgba(0,0,0,0.15);
}

footer {
  text-align: center;
  padding: 5rem;
  font-size: 0.8rem;
  opacity: 0.7;
}

/*teinkles*/

.stars-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.star {
  position: absolute;
  opacity: 0;
  animation: twinkle ease-in-out infinite;
  filter: blur(0.4px);
}

/* big 4-point stars */
.star::before,
.star::after {
  content: '';
  position: absolute;
  background: rgba(107, 31, 58, 0.55);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 6px rgba(107, 31, 58, 0.5),
    0 0 12px rgba(247, 198, 217, 0.6);
}

.star::before {
  width: 100%;
  height: 32%;
}

.star::after {
  width: 32%;
  height: 100%;
}

@keyframes twinkle {
  0% {
    opacity: 0;
    transform: scale(0.4) rotate(0deg);
  }
  40% {
    opacity: 1;
    transform: scale(1.1) rotate(6deg);
  }
  70% {
    opacity: 0.8;
    transform: scale(0.95) rotate(-6deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.4) rotate(0deg);
  }
}

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

@media (max-width: 900px) {
  .star {
    max-width: 5px !important;
    max-height: 5px !important;
    filter: blur(0.4px);
    opacity: 0.8;
  }

  .star::before {
    width: 90% !important;
    height: 30% !important;
    box-shadow:
      0 0 8px rgba(107, 31, 58, 0.6),
      0 0 14px rgba(247, 198, 217, 0.7);
  }

  .star::after {
    width: 30% !important;
    height: 90% !important;
  }
}

@media (max-width: 480px) {
  .star {
    max-width: 4px !important;
    max-height: 4px !important;
    filter: blur(0.3px);
    opacity: 0.85;
  }

  .star::before {
    width: 80% !important;
    height: 28% !important;
    box-shadow:
      0 0 6px rgba(107, 31, 58, 0.6),
      0 0 12px rgba(247, 198, 217, 0.7);
  }

  .star::after {
    width: 28% !important;
    height: 80% !important;
  }
}

/* mobile twiches */
@media (max-width: 900px) {

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 1.5rem;
    gap: 2rem;
  }

  .hero img.portrait {
    max-width: 80%;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .button {
    margin-top: 1rem;
  }

  
  .section {
    padding: 3rem 1.5rem;
  }

  .carousel {
    overflow-x: auto;
    padding: 1rem 0;
  }

  .group {
    gap: 1rem;
    padding: 0 0.5rem;
  }

  .card {
    flex: 0 0 90%;
    max-width: 300px;
    padding: 1.5rem;
    scroll-snap-align: center;
    border-radius: 18px;
  }
}

@media (max-width: 480px) {

  .hero h1 {
    font-size: 1.9rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .button {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
  }
  .card {
    flex: 0 0 95%;
    max-width: 260px;
    padding: 1.2rem;
  }

  .section {
    padding: 2rem 1rem;
  }

  nav {
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem 1rem;
  }

  nav a {
    margin: 0 0.5rem;
  }
}

@media (min-width: 901px) {
  .carousel {
    overflow-x: visible;
    padding: 0;
  }

  .group {
    justify-content: center;
    padding: 0;
  }

  .card {
    flex: 1;
    max-width: 320px;
    padding: 2rem;
  }
}
@media (min-width: 901px) {
  .group {
    gap: 3rem;
  }

  .card {
    max-width: 340px;
  }
}

/*  ABOUT LAYOUT  */

.about-layout {
  padding: -4rem 3rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.column:first-child {
  flex: 1.2;
}

.column:last-child {
  flex: 0.8;
  display: flex;
  justify-content: center;
}

.about-text {
  max-width: 520px;
}

.about-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.6rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
}


.highlight-name {
  position: relative;
  z-index: 1;
}

.highlight-name::after {
  content: "";
  position: absolute;
  left: -4px;
  bottom: -6px;
  width: 108%;
  height: 10px;
  background: var(--pink);
  opacity: 0.7;
  z-index: -1;
  border-radius: 6px;
}

.photo-strip img {
  max-height: 420px;
  width: auto;
  border-radius: 16px;
  box-shadow: 0 22px 44px rgba(0,0,0,0.14);
  transform: rotate(-1.5deg);
  transition: transform 0.4s ease;
}

.photo-strip img:hover {
  transform: rotate(0deg) translateY(-6px);
}


@media (max-width: 900px) {
  .container {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    max-width: 100%;
  }

  .column:last-child {
    margin-top: 2rem;
  }
}


container {

    display: flex; 

    gap: 20px;
}

.column {
    flex: 2; 
}

.about-title {
  margin-top: 1em;
  font-family: 'Playfair Display', serif;
  font-size: 3.8rem;
  margin-bottom: 1.5rem;
}

.about-intro {
  font-size: 2.1rem;
  margin-bottom: 1.2rem;
}

.about-text p {
  max-width: 480px;
  margin-bottom: 1rem;
}

.about-handwritten {
  font-family: 'Gloria Hallelujah', cursive;
  font-size: 1rem;
  margin-top: 1.5rem;
  color: var(--burgundy);
}

 .about-text {
  flex: 1;
  text-align: left;
  margin-left: 10em;
}

  .photo-strip {
    display: flex;
  }


.about-text .name-highlight {
  font-family: 'Gloria Hallelujah', cursive;
  position: relative;
  display: inline-block;
}

.about-text .name-highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: var(--pink);
  border-radius: 3px;
}

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

.photo-strip img {
  max-height: 420px;
  width: auto;
  display: flex;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
}

.photo-strip img:hover {
  transform: rotate(0deg) translateY(-4px);
}

.highlight-name {
  position: relative;
  z-index: 1;
}


.highlight-name {
  position: relative;
  display: inline-block;
}

.highlight-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 0%;
  height: 40%;
  background: var(--pink);
  z-index: -1;
  border-radius: 6px;
  transform: rotate(-1.5deg);
  animation: drawHighlight 1.2s ease forwards;
}

@keyframes drawHighlight {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

/*  subtle stars */
.stars-container.subtle-stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.star {
  position: absolute;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  animation: floatStar linear infinite;
}

@keyframes floatStar {
  0% {
    transform: translateY(0);
    opacity: 0.2;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-30px);
    opacity: 0.2;
  }
}

/* ---------- contact form ---------- */


.contact-page {
  padding: -10rem 6vw 10rem 6vw;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-title {
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.contact-intro {
  font-size: 1.05rem;
  line-height: 1.9;
  opacity: 0.7;
  margin-bottom: 3.5rem;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.contact-form label span {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 4px;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.1);
  font-family: inherit;
  background: rgba(255,255,255,0.8);
  transition: 
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

/* hover */
.contact-form input:hover,
.contact-form textarea:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* focus */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #c6a7ff;
  box-shadow: 0 0 0 3px rgba(198,167,255,0.35);
  transform: translateY(-2px);
}

.button {
  align-self: flex-start;
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  background: #e6e4ff;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.button:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

.substack-pill {
  display: inline-block;
  margin-top: 2.2rem;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  background: var(--pink);
  color: var(--burgundy);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.substack-pill:hover {
  transform: translateY(-3px);
  background: var(--lavender);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.about-section {
  position: relative;
  box-shadow: inset 0 -40px 80px rgba(0,0,0,0.03);
}

@keyframes drawHighlight {
  from { width: 0%; }
  to { width: 100%; }
}