@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Nunito:wght@300;400;500;600;700&display=swap');

/*
  ================================================================
  The Love Horizon — "WARM HORIZON" Design System
  ================================================================
  Fonts  : Cormorant Garamond (headings, elegant serif)
           + Nunito (body, warm rounded sans)
  Palette:
    --primary   #FF3366  rose pink
    --secondary #4A90E2  sky blue
    --accent    #FFC107  amber gold
    --bg        #F4F7F6  warm off-white
    --text      #1A1A1A  near-black
    --dark      #2B0018  deep rose-black  (footer)

  Key differentiators vs all other domains:
  • Cormorant Garamond + Nunito — zero overlap with any other site
  • Light warm hero (no dark hero)
  • Animated SVG "connection thread" — heartbeat wave between dots
  • Soft wave SVG section dividers (not clip-path diagonals)
  • Rose gradient left-border article cards
  • Amber accent on interactive elements
  • Deep rose-black footer
  ================================================================
*/

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Nunito', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.78;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --primary:      #FF3366;
  --primary-dk:   #cc1a47;
  --primary-lt:   #ffe0e8;
  --primary-xlt:  #fff5f7;
  --secondary:    #4A90E2;
  --secondary-dk: #2e6fb5;
  --secondary-lt: #ddeeff;
  --accent:       #FFC107;
  --accent-dk:    #d4980a;
  --bg:           #F4F7F6;
  --bg-rose:      #FFF5F7;
  --bg-white:     #FFFFFF;
  --text:         #1A1A1A;
  --text-mid:     #4A4A5A;
  --text-soft:    #8A8A9A;
  --dark:         #2B0018;
  --dark-2:       #3D0024;
  --border:       rgba(26,26,26,0.09);
  --border-rose:  rgba(255,51,102,0.18);
  --white:        #ffffff;

  --max-w:        1200px;
  --text-w:       780px;
  --header-h:     72px;
  --r:            10px;
  --r-sm:         6px;
  --r-lg:         20px;
  --r-xl:         32px;
  --t:            0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:       0.18s ease;
  --shadow:       0 2px 20px rgba(255,51,102,0.08);
  --shadow-md:    0 6px 32px rgba(255,51,102,0.14);
  --shadow-lg:    0 16px 52px rgba(255,51,102,0.20);
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--text);
  line-height: 1.18;
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; }
p  { color: var(--text-mid); }

/* ── LAYOUT ─────────────────────────────────────────────────── */
.wrapper {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}
.text-content {
  max-width: var(--text-w);
  margin: 0 auto;
}

/* ── UTILITY ─────────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.tag {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--primary);
  background: var(--primary-lt);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.tag--blue { color: var(--secondary-dk); background: var(--secondary-lt); }
.tag--amber { color: var(--accent-dk); background: #fff3cc; }

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes thread-wave {
  0%   { d: path("M 10 30 Q 60 10, 110 30 Q 160 50, 210 30 Q 260 10, 310 30"); }
  50%  { d: path("M 10 30 Q 60 50, 110 30 Q 160 10, 210 30 Q 260 50, 310 30"); }
  100% { d: path("M 10 30 Q 60 10, 110 30 Q 160 50, 210 30 Q 260 10, 310 30"); }
}
@keyframes dot-pulse {
  0%, 100% { r: 5; opacity: 1; }
  50%       { r: 8; opacity: 0.6; }
}
@keyframes heart-beat {
  0%, 100% { transform: scale(1); }
  14%       { transform: scale(1.18); }
  28%       { transform: scale(1); }
  42%       { transform: scale(1.1); }
  56%       { transform: scale(1); }
}
@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -28px) scale(1.05); }
  66%       { transform: translate(-15px, 18px) scale(0.97); }
}
@keyframes shimmer-line {
  0%   { stroke-dashoffset: 600; }
  100% { stroke-dashoffset: 0; }
}

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(244,247,246,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t);
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(255,51,102,0.10); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-link img { height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-mid);
  padding: 7px 16px;
  border-radius: var(--r-sm);
  position: relative;
  transition: color var(--t-fast);
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--t);
  transform-origin: left;
}
.site-nav a:hover { color: var(--primary); }
.site-nav a:hover::after,
.site-nav a.active::after { transform: scaleX(1); }
.site-nav a.active { color: var(--primary); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.nav-toggle:hover { background: var(--primary-lt); }
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t), background var(--t-fast);
}
.nav-toggle.open span { background: var(--primary); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-white);
  z-index: 190;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  padding: 10px 24px;
  border-radius: var(--r);
  position: relative;
  transition: color var(--t-fast);
}
.mobile-menu a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--t);
  transform-origin: left;
}
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu a:hover::after { transform: scaleX(1); }
.mobile-menu a.active { color: var(--primary); }
.mobile-menu a.active::after { transform: scaleX(1); }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 80px) 0 0;
  background: var(--bg-white);
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(72px);
  z-index: 0;
}
.hero-orb--a {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,51,102,0.15) 0%, transparent 70%);
  top: -80px; right: -80px;
  animation: float-orb 10s ease-in-out infinite;
}
.hero-orb--b {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(74,144,226,0.12) 0%, transparent 70%);
  bottom: 40px; left: -60px;
  animation: float-orb 13s ease-in-out infinite reverse;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 72px;
}
.hero-text {}
.hero-text .tag { margin-bottom: 20px; }
.hero h1 {
  margin-bottom: 24px;
  font-style: italic;
}
.hero h1 em {
  font-style: normal;
  color: var(--primary);
}
.hero-sub {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 0;
}
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.hero-img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--primary-lt);
}

/* Connection thread SVG */
.connection-thread {
  width: 100%;
  max-width: 340px;
  overflow: visible;
}
.thread-path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: shimmer-line 2s ease forwards, thread-wave 4s ease-in-out 2s infinite;
  opacity: 0.5;
}
.thread-dot {
  fill: var(--primary);
  animation: dot-pulse 2s ease-in-out infinite;
}
.thread-dot--b {
  fill: var(--secondary);
  animation-delay: 1s;
}
.thread-heart {
  fill: var(--primary);
  animation: heart-beat 1.4s ease-in-out infinite;
  transform-origin: center;
}

/* Hero wave bottom */
.hero-wave {
  display: block;
  width: 100%;
  height: 60px;
  background: var(--bg-white);
}
.hero-wave svg { display: block; }

/* ── SECTIONS ────────────────────────────────────────────────── */
.section { padding: 88px 0; }
.section--rose { background: var(--bg-rose); }
.section--white { background: var(--bg-white); }
.section-header { margin-bottom: 52px; }
.section-header h2 { margin-bottom: 10px; }
.section-header p { font-size: 1.05rem; }

/* Section wave divider */
.wave-divider { display: block; width: 100%; overflow: hidden; line-height: 0; }
.wave-divider--rose-bg { background: var(--bg-rose); }
.wave-divider svg { display: block; width: 100%; }

/* ── INDEX INTRO ─────────────────────────────────────────────── */
.index-intro { padding: 80px 0 0; }
.index-intro .text-content img {
  width: 100%;
  border-radius: var(--r-lg);
  margin: 32px 0;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--primary-lt);
}
.index-intro .text-content p { font-size: 1.05rem; line-height: 1.8; }

/* ── ADDING SECTION ─────────────────────────────────────────── */
.adding-section { padding: 0 0 80px; }
.adding-section .text-content h2 { margin-bottom: 16px; color: var(--primary-dk); }
.adding-section .text-content p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 20px; }
.adding-section .text-content img {
  width: 100%;
  border-radius: var(--r-lg);
  margin: 24px 0;
  box-shadow: var(--shadow-md);
}

/* ── FEATURE BLOCKS ─────────────────────────────────────────── */
.feature-blocks { padding: 88px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-rose);
  border-radius: var(--r-lg);
  padding: 36px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.feature-card-icon {
  width: 80px; height: 80px;
  background: var(--primary-xlt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t), transform var(--t);
}
.feature-card:hover .feature-card-icon {
  background: var(--primary-lt);
  transform: rotate(8deg) scale(1.08);
}
.feature-card-icon img { width: 44px; height: 44px; object-fit: contain; }
.feature-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

/* ── ARTICLES PAGE ───────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--bg-white) 60%, var(--bg-rose) 100%);
  padding: calc(var(--header-h) + 64px) 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,51,102,0.12) 0%, transparent 70%);
  filter: blur(50px);
  top: 0; right: 0;
  pointer-events: none;
}
.page-hero h1 { margin-bottom: 12px; font-style: italic; }
.page-hero h1 em { font-style: normal; color: var(--primary); }
.page-hero p { font-size: 1.05rem; color: var(--text-mid); }

.articles-body { padding: 72px 0 100px; }
.articles-list { display: flex; flex-direction: column; gap: 20px; }
.article-item {
  display: grid;
  grid-template-columns: 6px 1fr auto;
  gap: 0 28px;
  align-items: center;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.article-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.article-accent {
  align-self: stretch;
  background: var(--primary);
  flex-shrink: 0;
  transition: background var(--t-fast);
}
.article-item:nth-child(2n) .article-accent { background: var(--secondary); }
.article-item:nth-child(3n) .article-accent { background: var(--accent); }
.article-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 0;
}
.article-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  transition: color var(--t-fast);
}
.article-item:hover .article-title { color: var(--primary); }
.article-excerpt { font-size: 0.9rem; color: var(--text-soft); line-height: 1.55; }
.article-arrow {
  padding-right: 24px;
  font-size: 1.3rem;
  color: var(--primary);
  transition: transform var(--t-fast);
  flex-shrink: 0;
}
.article-item:hover .article-arrow { transform: translateX(5px); }

/* ── ARTICLE PAGE ────────────────────────────────────────────── */
.article-hero {
  background: linear-gradient(135deg, var(--bg-white) 60%, var(--bg-rose) 100%);
  padding: calc(var(--header-h) + 56px) 0 72px;
  position: relative;
  overflow: hidden;
}
.article-hero-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  transition: gap var(--t-fast);
}
.back-link:hover { gap: 10px; }
.back-link svg { width: 16px; height: 16px; }
.article-hero-top .tag { margin-bottom: 0; }
.article-hero h1 { font-style: italic; }
.article-hero h1 em { font-style: normal; color: var(--primary); }

.article-body { padding: 64px 0 100px; }
.article-body .text-content h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-style: italic;
  color: var(--primary-dk);
  margin-top: 48px;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}
.article-body .text-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 20px;
  color: var(--text-mid);
}
.article-body .text-content img {
  width: 100%;
  border-radius: var(--r-lg);
  margin: 28px 0;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--primary-lt);
}
.article-back-footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

/* ── COMMUNICATION TOOLS PAGE ───────────────────────────────── */
.comm-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 40%, #7b0036 100%);
  color: var(--white);
  padding: calc(var(--header-h) + 72px) 0 80px;
  position: relative;
  overflow: hidden;
}
.comm-hero::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 60px solid rgba(255,255,255,0.07);
  top: -100px; right: -100px;
  pointer-events: none;
}
.comm-hero::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 30px solid rgba(255,193,7,0.2);
  bottom: -60px; left: 10%;
  pointer-events: none;
}
.comm-hero h1 { color: var(--white); margin-bottom: 12px; }
.comm-hero p { color: rgba(255,255,255,0.78); font-size: 1.05rem; }

.comm-body { padding: 72px 0 100px; }
.comm-body .text-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--primary-dk);
  margin: 36px 0 10px;
  font-style: italic;
}
.comm-body .text-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 18px;
  color: var(--text-mid);
}
.comm-body .text-content img {
  width: 100%;
  border-radius: var(--r-lg);
  margin: 28px 0;
  box-shadow: var(--shadow-md);
}
.tool-block {
  background: var(--bg-rose);
  border: 1px solid var(--border-rose);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  margin: 24px 0;
}
.tool-block h3 { margin-top: 0; }
.tool-block p { margin-bottom: 0; }

/* Tools grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.tool-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tool-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.tool-card-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.1;
  line-height: 1;
  margin-bottom: 8px;
}
.tool-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--text); }
.tool-card p  { font-size: 0.94rem; color: var(--text-mid); line-height: 1.7; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 28px;
  margin-top: auto;
  position: relative;
}
.footer-wave-top {
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 48px;
  overflow: hidden;
}
.footer-wave-top svg { display: block; width: 100%; height: 100%; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 60px;
  align-items: start;
  margin-bottom: 40px;
}
.footer-brand .logo-link img {
  height: 40px;
  width: auto;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.65; max-width: 280px; }
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.footer-nav a {
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.68);
  transition: color var(--t-fast);
}
.footer-nav a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.32);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-orb--a { width: 300px; height: 300px; opacity: 0.6; }
  .hero-visual { order: -1; }
  .hero-img { max-height: 280px; object-fit: cover; }
}
@media (max-width: 768px) {
  :root { --header-h: 62px; }
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 64px 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { align-items: flex-start; }
  .article-item { grid-template-columns: 6px 1fr auto; }
  .articles-list { gap: 14px; }
}
@media (max-width: 480px) {
  .wrapper { padding: 0 16px; }
  h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .feature-grid { grid-template-columns: 1fr; }
  .article-arrow { padding-right: 16px; font-size: 1rem; }
  .tools-grid { grid-template-columns: 1fr; }
}
