/* Café Creations · nature-derived palette */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,300;1,9..144,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600&family=Geist+Mono:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&display=swap');

:root {
  --navy: #16243E;
  --navy-soft: #243556;
  --cream: #F6E9D6;
  --cream-deep: #EBD9BE;
  --paper: #FBF4E8;
  --coral: #E8553F;
  --coral-deep: #C13E2A;
  --green: #3F8A7E;
  --plum: #7A2E3F;
  --berry: #B23A4F;

  --line: rgba(22, 36, 62, 0.16);
  --line-strong: rgba(22, 36, 62, 0.32);
  --muted: #6B7A92;

  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;

  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

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

html, body {
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "ss02";
}
:root { --muted: #5C6A82; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -16px) scale(1.06); }
}
@keyframes drift-alt {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-24px, 14px) scale(1.08); }
}
.wash, [class*="wash-"] {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}
.wash, .wash-1, .wash-a, .wash-h, .wash-e1 {
  animation: drift 14s ease-in-out infinite;
}
.wash-2, .wash-b, .wash-e2, .wash-3 {
  animation: drift-alt 18s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .wash, [class*="wash-"] { animation: none !important; }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--coral); color: var(--cream); }

/* Typography */
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 60;
  letter-spacing: -0.02em;
  line-height: 0.96;
  color: var(--navy);
  text-wrap: balance;
}

.h-display { font-size: clamp(52px, 9vw, 132px); }
.h-1 { font-size: clamp(40px, 5.8vw, 80px); }
.h-2 { font-size: clamp(32px, 4vw, 56px); }
.h-3 { font-size: clamp(24px, 2.4vw, 36px); }

em.coral, em.green, em.plum, em.berry {
  font-family: 'Caveat', cursive;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.005em;
  font-size: 1.18em;
  line-height: 0.92;
  display: inline-block;
  transform: translateY(0.04em);
}
em.coral { color: var(--coral); }
em.green { color: var(--green); }
em.plum  { color: var(--plum); }
em.berry { color: var(--berry); }

/* Caveat scribble label class */
.scribble {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  font-style: normal;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "✻";
  font-family: 'Caveat', cursive;
  font-size: 18px;
  color: var(--plum);
  transform: translateY(-1px);
}

.lede {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.5;
  color: var(--navy);
  text-wrap: pretty;
  opacity: 0.9;
}

p { text-wrap: pretty; }

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Nav */
.nav {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  font-size: 32px;
  letter-spacing: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}
.brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  position: relative;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }

.nav-links {
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 400;
  font-family: var(--sans);
}
.nav-links a {
  color: var(--navy-soft);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--coral); }
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--coral);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  background: none;
  color: inherit;
}
.btn-primary {
  background: var(--navy);
  color: var(--cream);
}
.btn-primary:hover { background: var(--coral); }
.btn-coral {
  background: var(--coral);
  color: var(--paper);
}
.btn-coral:hover { background: var(--navy); }
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--navy);
}
.btn-ghost:hover { border-color: var(--navy); background: var(--navy); color: var(--cream); }
.btn-arrow::after {
  content: "→";
  font-family: var(--serif);
  transition: transform 0.2s;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* Email form */
.email-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  align-items: stretch;
}
.email-form input {
  flex: 1;
  padding: 14px 20px;
  font-family: var(--sans);
  font-size: 15px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s;
}
.email-form input:focus { border-color: var(--navy); }
.email-form input::placeholder { color: var(--muted); }

/* Sections */
.section { padding: clamp(48px, 5vw, 80px) 0; }

/* Footer */
.footer {
  background: var(--navy);
  color: var(--cream);
  padding: 56px 0 28px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--coral) 0%, transparent 60%);
  opacity: 0.18;
  pointer-events: none;
}
.footer .display { color: var(--cream); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(246, 233, 214, 0.18);
  position: relative;
}
.footer .email-form input {
  background: transparent;
  border-color: rgba(246, 233, 214, 0.3);
  color: var(--cream);
}
.footer .email-form input::placeholder { color: rgba(246, 233, 214, 0.5); }
.footer .btn-primary {
  background: var(--coral);
  color: var(--cream);
}
.footer .btn-primary:hover { background: var(--green); color: var(--cream); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  font-size: 13px;
  color: rgba(246, 233, 214, 0.6);
  font-family: var(--mono);
  position: relative;
}
.footer-bottom a:hover { color: var(--coral); }

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .nav-links { gap: 22px; font-size: 13px; }
  .email-form { flex-direction: column; }
  .email-form .btn { justify-content: center; }
}

/* Image placeholder */
.placeholder {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(22, 36, 62, 0.08) 0,
      rgba(22, 36, 62, 0.08) 1px,
      transparent 1px,
      transparent 16px
    ),
    var(--paper);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-radius: 4px;
  text-align: center;
  padding: 24px;
  line-height: 1.6;
}

/* Marquee strip */
.marquee {
  background: var(--navy);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marquee-track {
  display: inline-block;
  animation: marquee 40s linear infinite;
  padding-left: 100%;
}
.marquee-track span { margin: 0 28px; }
.marquee-track .dot { color: var(--coral); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* Watercolor / pressed-petal abstract shapes */
.wash {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
}
.petal-svg {
  position: absolute;
  pointer-events: none;
  opacity: 0.55;
}
