@import url('https://fonts.googleapis.com/css2?family=Fraunces:ddpt,wght@9..144,300;400;600;700&family=Manrope:wght@300;400;500;600;700&display=swap');

/* ---------- Base ---------- */
:root {
  /* Palette */
  --bg: #fdfcf8;
  --text: #1e293b;
  --text-light: #475569;
  --brand: #2b318a;
  /* Deep Blue from logo */
  --brand-light: #5258b5;

  /* Pastels */
  --p-purple: #f3e8ff;
  --p-blue: #e0e7ff;
  --p-green: #d1fae5;
  --p-yellow: #fef3c7;
  --p-orange: #ffEdd5;

  --panel: rgba(255, 255, 255, 0.65);
  --panel-border: rgba(255, 255, 255, 0.8);
  --line: rgba(43, 49, 138, 0.1);
  --shadow: 0 10px 40px -10px rgba(43, 49, 138, 0.08);
  --radius: 24px;
  --max: 1200px;

  /* Increased Base Font Size */
  --font-body: "Manrope", sans-serif;
  --font-display: "Fraunces", serif;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
  /* Increased base size */
}

body {
  margin: 0;
  font-family: var(--font-body);
  /* Richer Background */
  background:
    radial-gradient(800px 800px at 0% 0%, var(--p-purple), transparent 70%),
    radial-gradient(1200px 1200px at 100% 0%, var(--p-blue), transparent 70%),
    radial-gradient(1000px 1000px at 50% 100%, var(--p-green), transparent 70%),
    radial-gradient(600px 600px at 20% 60%, var(--p-orange), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  display: block
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* Texture - slightly stronger */
.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  z-index: -1;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  /* Less transparent */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px
}

.brand-logo {
  height: 42px;
  /* Larger logo */
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brand);
  letter-spacing: -0.02em;
  font-size: 17px;
  /* Larger branding */
}

.brand-text small {
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav {
  display: flex;
  gap: 8px;
  align-items: center
}

.nav a {
  font-size: 15px;
  /* Larger nav links */
  font-weight: 600;
  color: var(--text-light);
  padding: 10px 20px;
  border-radius: 999px;
  transition: all .25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav a:hover {
  color: var(--brand);
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 95vh;
  padding: 140px 0 60px;
  /* Reduced vertical padding */
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Decorative Blobs for Intro */
.hero::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -15%;
  width: 65vw;
  height: 65vw;
  background: radial-gradient(circle, var(--p-yellow), transparent 60%);
  opacity: 0.7;
  filter: blur(90px);
  z-index: -1;
}

/* Extra decorative element */
.hero::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--p-blue), transparent 60%);
  opacity: 0.6;
  filter: blur(80px);
  z-index: -1;
}

.hero-content {
  position: relative;
  max-width: 900px;
  /* Wider content area */
}

.kicker {
  display: inline-block;
  color: var(--brand);
  background: white;
  /* Stronger contrast */
  padding: 8px 18px;
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(43, 49, 138, 0.06);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(46px, 7vw, 84px);
  /* Bigger Headlines */
  font-weight: 500;
  line-height: 1.05;
  color: var(--brand);
  margin: 0 0 28px;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  display: block;
  font-size: 0.5em;
  /* 50% of the main title size */
  margin-top: 10px;
  font-weight: 400;
  /* Regular weight */
  opacity: 0.9;
}

.lead {
  font-size: 20px;
  /* Bigger lead text */
  color: var(--text-light);
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 46px;
  font-weight: 400;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  /* Bigger buttons */
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all .3s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
}

.btn-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 10px 20px rgba(43, 49, 138, 0.25);
  border: 1px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(43, 49, 138, 0.35);
  background: var(--brand-light);
}

.btn-ghost {
  background: white;
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.hero-stats {
  margin-top: 60px;
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(43, 49, 138, 0.1);
  /* Visible divider */
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--brand);
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 4px;
  font-weight: 500;
}

/* ---------- Sections ---------- */
.section {
  padding: 80px 0;
  /* Reduced general padding */
}

/* Add background to About section to reduce 'whiteness' */
#about {
  background: linear-gradient(to bottom, rgba(243, 232, 255, 0.3), rgba(255, 255, 255, 0));
  border-radius: 40px;
  margin: 20px auto;
  width: min(1300px, 96%);
}

.section-alt {
  position: relative;
  background: rgba(255, 255, 255, 0.5);
  /* Semi-solid background */
  border-radius: 40px;
  margin: 20px auto;
  width: min(1300px, 96%);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--font-display);
  font-size: 42px;
  /* Bigger titles */
  color: var(--brand);
  margin: 0 0 16px;
  font-weight: 400;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 18px;
  /* Bigger subtitles */
  max-width: 640px;
  margin: 0;
}

/* Split Layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-reverse {
  grid-template-columns: 1fr 1fr
}

.split-reverse .split-media {
  order: 1
}

.split-reverse .split-text {
  order: 2
}

/* Image Frames */
.split-media {
  margin: 0;
  position: relative;
}

/* Artistic border decoration */
.split-media::after {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(43, 49, 138, 0.15);
  border-radius: 32px;
  z-index: -1;
  transform: rotate(2deg);
}

.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: white;
  transition: transform 0.5s ease;
}

.split-media:hover img {
  transform: scale(1.02) rotate(-1deg);
}

.split-media figcaption {
  position: absolute;
  bottom: 20px;
  right: -20px;
  background: white;
  padding: 10px 20px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  font-family: var(--font-display);
}

/* Pills */
.pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0
}

.pill {
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 99px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-light);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

/* Vertical Intro Layout (New) */
.vertical-intro {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.vertical-head {
  border-bottom: 2px solid rgba(43, 49, 138, 0.1);
  padding-bottom: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.vertical-label {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
}

.vertical-label span {
  opacity: 0.5;
  font-weight: 400;
  margin-left: 8px;
}

.vertical-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  color: #bfa094;
  /* Gold/Bronze like the image */
  color: var(--text-light);
  /* Fallback or stick to brand? Image has gold. Let's try a rich muted gold/beige if possible, or just brand-light. Let's use a custom color for this elegant look. */
  color: #a89f91;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 40px;
  letter-spacing: 0.02em;
}

.vertical-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  text-align: justify;
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.vertical-columns p {
  margin-top: 0;
}

.vertical-media {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 20px;
}

.vertical-media img {
  width: 100%;
  height: auto;
  display: block;
}

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

.feature-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  gap: 16px;
}

.feature-list li {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform .2s ease;
}

.feature-list li:hover {
  transform: translateX(5px);
}

.feature-list span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--p-green);
  color: #065f46;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

/* ---------- Catalog Grid ---------- */
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  /* Center align chips */
  margin-bottom: 30px;
  /* Add space below chips */
}

.chip {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  /* Subtle border */
  background: white;
  padding: 10px 20px;
  /* Larger padding */
  border-radius: 8px;
  /* Slightly more rounded */
  font-size: 15px;
  /* Larger font */
  font-weight: 600;
  /* Bolder font */
  color: var(--text-light);
  cursor: pointer;
  transition: all .2s;
  line-height: 1.3;
}

.chip:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
  box-shadow: 0 8px 20px rgba(43, 49, 138, 0.25);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.tile {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .3s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -5px rgba(43, 49, 138, 0.12);
}

.tile img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.tile .meta {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.tile .meta strong {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--brand);
}

.tile .meta span {
  font-size: 12px;
  color: var(--text-light);
  background: var(--p-purple);
  padding: 4px 10px;
  border-radius: 99px;
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: white;
  border-radius: 32px;
  padding: 60px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: visible;
}

/* Artistic element */
.contact::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--p-yellow);
  z-index: -1;
}

.contact::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -10px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--p-blue);
  z-index: -1;
}

.contact-cards {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 20px;
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all .2s;
  text-decoration: none;
  color: var(--text);
}

.card:hover {
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transform: translateX(5px);
  border-color: var(--p-blue);
}

.card strong {
  font-family: var(--font-display);
  color: var(--brand);
  min-width: 80px;
}

.contact-note {
  background: var(--p-purple);
  padding: 30px;
  border-radius: 24px;
  color: #581c87;
}

.contact-note h3 {
  font-family: var(--font-display);
  margin-top: 0;
}

.contact-note p {
  font-size: 14px;
  opacity: 0.9;
}

/* ---------- Footer ---------- */
.footer {
  padding: 40px 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-light);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 30px;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 100;
  transition: opacity .3s;
}

.lightbox.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  width: 90vw;
  height: 85vh;
  margin: auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  background: white;
  display: grid;
  grid-template-rows: 1fr auto;
}

.lightbox-figure {
  margin: 0;
  display: grid;
  place-items: center;
  background: #f8fafc;
  overflow: hidden;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-actions {
  padding: 16px 24px;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-size: 24px;
  color: var(--brand);
}

.lightbox-nav.prev {
  left: 20px;
}

.lightbox-nav.next {
  right: 20px;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {

  .split,
  .contact {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .split-reverse .split-media {
    order: 2
  }

  .split-reverse .split-text {
    order: 1
  }

  .hero {
    padding-top: 120px;
    text-align: center;
  }

  .hero-actions,
  .hero-stats {
    justify-content: center;
  }

  .hero::before {
    top: -10%;
    left: -10%;
    right: auto;
  }

  .contact {
    padding: 30px;
  }

  .nav {
    display: none
  }

  .nav-toggle {
    display: flex
  }

  .section-head {
    display: block;
  }

  .section-subtitle {
    margin-bottom: 20px;
  }
}