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

:root {
  --bg: #f7f2ea;
  --bg-alt: #fffdf8;
  --text: #1f1a14;
  --muted: #6d6357;
  --line: #d7cab8;
  --accent: #996238;
  --accent-dark: #754621;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-y: scroll;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

.top-nav {
  position: sticky;
  top: 0;
  backdrop-filter: blur(6px);
  background: color-mix(in srgb, var(--bg) 84%, white 16%);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}

.top-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

section {
  padding: 5.4rem 0;
}

.hero {
  padding-top: 7rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

h1,
h2,
h3 {
  margin: 0 0 0.9rem;
  line-height: 1.2;
}

h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 8vw, 6.2rem);
  letter-spacing: 0.02em;
  margin-bottom: 1.4rem;
  font-weight: 600;
}

h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  text-transform: lowercase;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.section-title {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.9rem;
}

.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.lead {
  max-width: 820px;
  font-size: clamp(1.15rem, 2.3vw, 1.65rem);
  margin: 0 0 2.1rem;
  font-weight: 500;
}

.muted {
  color: var(--muted);
}

.meta {
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
  margin-top: 1.3rem;
  font-size: 0.98rem;
}

.meta a {
  color: inherit;
}

.about-intro {
  max-width: 900px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(255, 250, 242, 0.92));
  padding: 1.4rem 1.5rem;
}

.about-intro .lead {
  margin-bottom: 0.8rem;
}

.about-intro p:last-child {
  margin: 0;
}

.btn {
  display: inline-block;
  margin-top: 1.45rem;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.82rem 1.24rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.motif {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-alt) 60%, var(--bg) 40%);
  white-space: nowrap;
}

.motif .container {
  display: flex;
  justify-content: center;
}

.motif p {
  margin: 0;
  padding: 0.65rem 0;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  text-align: center;
}

.three-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.card,
.item {
  border-top: 1px solid var(--line);
  padding: 1.35rem 0 1rem;
}

.skills-grid {
  gap: 1.2rem;
}

.skill-card {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-alt) 88%, white 12%);
  padding: 1.2rem 1.1rem 1rem;
  border-radius: 2px;
}

.card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.list {
  display: grid;
  gap: 0.2rem;
}

.experience-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.experience-list .item {
  border-top: none;
  border-left: 2px solid #cdb9a2;
  background: #fffefb;
  padding: 1rem 1.1rem 1rem 1.2rem;
  margin-bottom: 0.9rem;
}

.experience-list .item:last-child {
  margin-bottom: 0;
}

.title-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: baseline;
  margin-bottom: 0.4rem;
}

.item h3 {
  margin: 0;
  font-size: 1.05rem;
}

.item ul {
  margin: 0.7rem 0 0;
  padding-left: 1rem;
}

.story-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
  margin-top: 0.6rem;
}

.polaroid {
  background: #fff;
  border: 1px solid #e9decf;
  padding: 0.65rem 0.65rem 1.05rem;
  box-shadow: 0 9px 24px rgba(53, 34, 13, 0.08);
}

.polaroid:nth-child(1) {
  transform: rotate(-3.5deg);
}
.polaroid:nth-child(2) {
  transform: rotate(2.3deg);
}
.polaroid:nth-child(3) {
  transform: rotate(-1.8deg);
}

.photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid #efe5d8;
  background: linear-gradient(135deg, #dfc7aa, #b8936e);
  display: grid;
  place-items: center;
  color: rgba(32, 22, 12, 0.8);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.caption {
  margin-top: 0.55rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
}

.home-polaroids .story-gallery,
.home-polaroids-inline .story-gallery {
  align-items: start;
}

.home-polaroids-inline {
  margin: 0.5rem 0 2.4rem;
}

.home-polaroids-inline + .lead {
  margin-top: 1.2rem;
}

.polaroid-media {
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid #efe5d8;
  background: #f3ece2;
  overflow: hidden;
}

.polaroid-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-polaroids .caption {
  margin-top: 0.7rem;
  font-size: 1.15rem;
  line-height: 1.15;
}

.quick-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.quick-links a {
  color: var(--accent-dark);
  text-decoration: none;
}

.statement-art {
  position: relative;
  background: var(--bg-alt);
  overflow: hidden;
}

.statement-art .container {
  position: relative;
  z-index: 1;
}

.statement-art::before,
.statement-art::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.75;
  pointer-events: none;
}

.statement-art::before {
  width: 280px;
  height: 280px;
  background: rgba(153, 192, 227, 0.45);
  left: 8%;
  top: 28%;
}

.statement-art::after {
  width: 330px;
  height: 330px;
  background: rgba(242, 224, 133, 0.45);
  right: 10%;
  top: 22%;
}

.statement-text {
  max-width: 900px;
  margin: 0 auto;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(2.4rem, 8.6vw, 7.1rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-align: center;
}

.statement-text span {
  display: block;
}

.statement-note {
  font-size: 0.58em;
  line-height: 1.2;
  margin-top: 0.5rem;
}

.quick-nav-section {
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 880px) {
  .top-nav .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.75rem 0;
  }

  section {
    padding: 4.4rem 0;
  }

  .hero {
    padding-top: 5.2rem;
  }

  .three-grid,
  .story-gallery {
    grid-template-columns: 1fr;
  }

  .about-intro {
    padding: 1.1rem 1rem;
  }

  .experience-list .item {
    padding: 0.9rem 0.9rem 0.9rem 1rem;
  }

  .polaroid {
    transform: rotate(0deg) !important;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1080px, 94%);
  }

  h1 {
    font-size: clamp(2.35rem, 15vw, 3.4rem);
    margin-bottom: 0.9rem;
  }

  h2 {
    font-size: clamp(1.95rem, 11vw, 2.55rem);
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .quick-links {
    flex-direction: column;
    gap: 0.35rem;
    align-items: center;
  }

  .statement-art::before {
    width: 190px;
    height: 190px;
    left: -6%;
  }

  .statement-art::after {
    width: 210px;
    height: 210px;
    right: -4%;
  }
}
