@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@600;700&family=Work+Sans:wght@400;500;600&display=swap");

:root {
  color-scheme: light;
  --ink: #1f1a16;
  --cream: #fff6e2;
  --paper: #fffdf8;
  --accent: #f26b4f;
  --accent-dark: #c44830;
  --teal: #2e8b8b;
  --navy: #24324a;
  --lavender: #d9c6ff;
  --shadow: 0 24px 50px rgba(36, 50, 74, 0.18);
}

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

body {
  font-family: "Work Sans", "Trebuchet MS", sans-serif;
  background: radial-gradient(circle at top left, #ffe6c1 0%, #fffaf0 45%, #f5f0e5 100%);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Texture Overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("img/noise.svg");
  background-repeat: repeat;
  background-size: 100px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: multiply;
}

.page {
  position: relative;
  overflow: hidden;
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(120deg,
      rgba(255, 255, 255, 0.45) 0,
      rgba(255, 255, 255, 0.45) 40px,
      rgba(244, 229, 205, 0.45) 40px,
      rgba(244, 229, 205, 0.45) 80px),
    radial-gradient(circle at 80% 10%, rgba(243, 201, 105, 0.4), transparent 50%);
  opacity: 0.35;
  pointer-events: none;
}

.hero {
  position: relative;
  padding: 32px 8vw 80px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
}

.logo {
  font-family: "Fraunces", "Georgia", serif;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.nav-links {
  display: flex;
  gap: 20px;
  font-weight: 500;
}

.nav a {
  color: var(--navy);
  text-decoration: none;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-family: "Fraunces", "Georgia", serif;
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.1;
}



.tag {
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.lead {
  font-size: 1.15rem;
  margin-bottom: 24px;
  max-width: 90%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 35px rgba(242, 107, 79, 0.4);
}

.button.ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  box-shadow: none;
}

.button.ghost:hover {
  background: rgba(36, 50, 74, 0.05);
  box-shadow: none;
}

.note {
  font-weight: 600;
  color: var(--accent-dark);
}

.hero-art {
  position: relative;
  display: grid;
  gap: 24px;
  justify-items: center;
  animation: float 6s ease-in-out infinite;
}

.book-stack {
  position: relative;
  width: min(320px, 80vw);
  height: 220px;
}

.book {
  position: absolute;
  width: 100%;
  height: 60px;
  border-radius: 12px 18px 18px 12px;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
  background: var(--accent);
  transition: transform 0.3s ease;
}

.book-stack:hover .book.orange {
  transform: rotate(-3deg) translateX(-5px);
}

.book-stack:hover .book.teal {
  transform: rotate(1deg) translateX(5px);
}

.book-stack:hover .book.lavender {
  transform: rotate(-2deg) translateX(-3px);
}

.book-stack:hover .book.gold {
  transform: rotate(3deg) translateX(3px);
}

.book::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 10px;
  width: 16px;
  height: 40px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
}

.book.orange {
  top: 0;
  background: #ff7b54;
}

.book.teal {
  top: 55px;
  background: #4cb3a6;
  transform: rotate(1.5deg);
}

.book.lavender {
  top: 110px;
  background: #b49bff;
  transform: rotate(-1deg);
}

.book.gold {
  top: 165px;
  background: #f5c24d;
  transform: rotate(2deg);
}

.floating-card {
  background: var(--paper);
  width: min(320px, 85vw);
  padding: 24px 28px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 2px dashed rgba(36, 50, 74, 0.2);
  animation: float 7s ease-in-out infinite reverse;
}

.floating-card h3 {
  font-family: "Fraunces", "Georgia", serif;
  margin-bottom: 12px;
  color: var(--navy);
}

.floating-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.floating-card li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.floating-card li::before {
  content: "✦";
  color: var(--accent);
  font-size: 0.8em;
}

.section {
  padding: 80px 8vw;
  position: relative;
}

.section-title {
  max-width: 560px;
  margin-bottom: 32px;
}

.section-title h2 {
  font-family: "Fraunces", "Georgia", serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--navy);
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-body {
  display: grid;
  gap: 18px;
  max-width: 720px;
  font-size: 1.05rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(280px, 1fr);
  gap: 48px;
  align-items: center;
}

.about-photo {
  background: var(--paper);
  padding: 16px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 2px solid rgba(36, 50, 74, 0.1);
  text-align: center;
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
}

.about-photo:hover {
  transform: rotate(0deg) scale(1.02);
}

.about-photo img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.about-photo figcaption {
  margin-top: 12px;
  font-weight: 600;
  color: var(--teal);
  font-size: 0.95rem;
}

.highlight {
  background: linear-gradient(120deg, #fff1d6 0%, #fff9ee 55%, #f2ecff 100%);
  border-radius: 32px;
  margin: 0 6vw;
  padding: 80px 6vw;
  box-shadow: 0 18px 60px rgba(36, 50, 74, 0.08);
  /* Softer shadow */
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.pill-grid span {
  padding: 10px 20px;
  background: var(--paper);
  border-radius: 999px;
  border: 2px solid rgba(36, 50, 74, 0.1);
  font-weight: 600;
  color: var(--navy);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
}

.pill-grid span:hover {
  border-color: var(--accent);
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: 0 8px 16px rgba(36, 50, 74, 0.1);
}

.details-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.detail-card {
  background: var(--paper);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(36, 50, 74, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(36, 50, 74, 0.05);
}

.detail-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(36, 50, 74, 0.18);
}

.detail-card h3 {
  margin-bottom: 8px;
  color: var(--navy);
}

.strong {
  font-weight: 700;
  color: var(--accent-dark);
}

.muted {
  color: #5a5a5a;
  font-size: 0.95rem;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) auto;
  gap: 24px;
  align-items: center;
  background: var(--paper);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 2px solid rgba(36, 50, 74, 0.08);
}

.contact-card a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.email-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(36, 50, 74, 0.18);
  background: #ffffff;
  color: var(--accent-dark);
  box-shadow: 0 8px 16px rgba(36, 50, 74, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.copy-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.copy-button:hover,
.copy-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(36, 50, 74, 0.2);
  border-color: rgba(36, 50, 74, 0.3);
}

.copy-button.copied {
  background: #f3f0ff;
  color: #3a2c77;
  border-color: rgba(58, 44, 119, 0.35);
}

.contact-card a:hover {
  text-decoration-color: var(--accent);
}

.logo-mark {
  width: 200px;
  text-align: center;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.85rem;
  display: grid;
  gap: 10px;
  justify-items: center;
  animation: float 5s ease-in-out infinite;
}

.logo-mark svg {
  width: 180px;
  height: 180px;
  filter: drop-shadow(0 12px 24px rgba(36, 50, 74, 0.18));
}

.logo-mark img {
  width: 210px;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(36, 50, 74, 0.18));
}

.footer {
  padding: 32px 8vw 50px;
  text-align: center;
  color: #5a5a5a;
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes spinIn {
  from {
    transform: rotate(-8deg) scale(0.9);
    opacity: 0;
  }

  to {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .section-body {
    max-width: none;
  }

  .contact-card {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 24px;
  }

  .logo-mark {
    justify-self: center;
    margin-top: 20px;
  }
}

@media (max-width: 700px) {
  .highlight {
    margin: 0;
    border-radius: 0;
  }

  .hero {
    padding: 24px 6vw 60px;
  }

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