/* =====================================================================
   Organic Biophilic direction (from the UI/UX Pro Max skill), in CSC's own
   colours: soft natural surfaces, rounded flowing sections, organic photo
   shapes, natural shadows. Calm and fresh rather than corporate or "template".
   ===================================================================== */
:root {
  --linen: #FBFAF6;          /* warm fresh-laundry white, page background */
  --mint: #EEF6F1;           /* soft green-tinted panel */
  --sky: #EEF4FF;            /* soft blue-tinted panel */
  --shadow-natural: 0 10px 34px rgba(30, 70, 55, .08), 0 2px 6px rgba(30, 70, 55, .05);
  --r-organic: 28px;
}
body { background: var(--linen); }

/* Sections float as soft rounded panels instead of hard grey bands */
.section--alt { background: var(--mint); border-radius: 44px; margin: 0 clamp(8px, 1.6vw, 22px); }
.section--alt + .section--alt { margin-top: 12px; }
.section--tint { background: var(--sky); border-radius: 44px; margin: 0 clamp(8px, 1.6vw, 22px); }
@media (max-width: 640px) { .section--alt, .section--tint { border-radius: 28px; margin: 0 6px; } }

/* Hero settles into the page with a soft curved bottom edge */
.hero { border-radius: 0 0 44px 44px; overflow: hidden; }
@media (max-width: 640px) { .hero { border-radius: 0 0 28px 28px; } }

/* Cards and photos: rounder, natural shadows */
.num-card, .guide-photo-card, .other-card, .contact-card, .panel, .g-summary, .faq details, .checklist--card { border-radius: var(--r-organic); }
.num-card, .other-card, .contact-card, .panel { background: #fff; border-color: rgba(46, 46, 46, .07); box-shadow: var(--shadow-natural); }
.section--alt .num-card, .section--alt .panel, .section--alt .contact-card { background: #fff; }
.photo { border-radius: var(--r-organic); box-shadow: var(--shadow-natural); }

/* Feature photos get a soft organic shape with a fresh blob behind them */
.split > figure, .split > .photo, .who-media { position: relative; }
.split .photo--wide { border-radius: 170px 56px 150px 64px / 130px 64px 140px 56px; box-shadow: none; }
.split .photo--wide::before { content: ""; }
.split > div:has(> .photo--wide), .split > .photo--wide { isolation: isolate; }
.blob-backdrop { position: relative; isolation: isolate; }
.blob-backdrop::before { content: ""; position: absolute; inset: -6% -5% -8% -7%; z-index: -1;
  border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%; background: linear-gradient(135deg, rgba(58,134,255,.18), rgba(69,196,140,.26)); filter: blur(2px);
  animation: blob-breathe 14s ease-in-out infinite; }
@keyframes blob-breathe { 0%, 100% { border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%; transform: rotate(0deg); } 50% { border-radius: 45% 55% 42% 58% / 56% 44% 56% 44%; transform: rotate(4deg); } }

/* Soft floating shapes behind key headings */
.section-intro { position: relative; }
#services .section-intro::after { content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 260px; height: 260px; left: -90px; top: -70px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(69,196,140,.20), rgba(58,134,255,.08) 60%, transparent 70%); }
#services, #service-area-home { position: relative; isolation: isolate; }

/* Buttons: softer pill with a natural lift */
.btn-primary { box-shadow: 0 8px 22px rgba(58,134,255,.28); }
.btn-outline { background: #fff; }

/* Cards rise in with a gentle settle (skill: stagger list) */
[data-reveal] { transform: translateY(14px) scale(.97); }
[data-reveal].is-in { transition-timing-function: cubic-bezier(.34, 1.25, .64, 1); }

/* Footer: curved top to close the page softly */
.site-footer { border-radius: 44px 44px 0 0; margin-top: 24px; }

@media (prefers-reduced-motion: reduce) { .blob-backdrop::before { animation: none; } [data-reveal] { transform: none; } }

html, body { overflow-x: clip; }
@media (max-width: 640px) { .split .photo--wide { border-radius: 90px 32px 80px 36px / 70px 36px 76px 32px; } }
