/* =====================================================================
   Miss Dawson Science — Landing Page styles
   ---------------------------------------------------------------------
   Everything is driven by the CSS variables in :root below.
   Change a brand colour once here and it updates across the whole page.
   ===================================================================== */

:root {
  /* Brand colours ---------------------------------------------------- */
  --purple:        #6D28D9;   /* primary brand purple            */
  --purple-dark:   #5B21B6;   /* deeper purple (buttons)         */
  --purple-deep:   #2E1065;   /* footer background               */
  --violet:        #7C3AED;   /* lighter accent violet           */
  --pink:          #EC4899;   /* hot pink accent / hearts        */
  --gold:          #FBBF24;   /* footer star                     */

  /* Surfaces --------------------------------------------------------- */
  --bg:            #FAF8FF;   /* page background                 */
  --band:          #EEE9FB;   /* pale lavender feature band      */
  --card:          #FFFFFF;   /* card background                 */
  --ink:           #1A1523;   /* near-black body text            */
  --ink-soft:      #4A4356;   /* muted body text                 */

  /* Type ------------------------------------------------------------- */
  --font-sans:  "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-script:"Yellowtail", cursive;
  --font-hand:  "Caveat", cursive;

  /* Layout ----------------------------------------------------------- */
  --maxw: 1536px;
  --radius: 18px;
  --shadow: 0 14px 34px rgba(76, 29, 149, 0.12);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* The overall page shell -------------------------------------------- */
.page {
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--bg);
  overflow: hidden;
}

/* =====================================================================
   Reusable IMAGE FRAME
   Drop your own <img> inside .img-frame and delete the placeholder,
   or just swap the background-image. The dashed look only shows while
   the ".is-empty" class is present.
   ===================================================================== */
.img-frame {
  position: relative;
  overflow: hidden;
  background: #F0EBFF;
}
.img-frame.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #B9A8E8;
  background:
    repeating-linear-gradient(45deg,
      rgba(124,58,237,0.06) 0 12px,
      rgba(124,58,237,0.00) 12px 24px),
    #F3EEFF;
}
.frame-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--violet);
  text-align: center;
  padding: 8px 12px;
}
.frame-label span { display: block; font-weight: 400; text-transform: none; opacity: .7; margin-top: 4px; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  padding: 28px 40px 20px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(124,58,237,0.10), transparent 55%),
    radial-gradient(80% 70% at 0% 100%, rgba(124,58,237,0.08), transparent 60%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 400px 1fr 460px;
  align-items: center;
  gap: 24px;
  max-width: 1420px;
  margin: 0 auto;
}

/* --- Portrait (backdrop + swappable photo overlay) ----------------- */
.portrait-col { position: relative; align-self: end; }
.portrait-stack {
  position: relative;
  width: 460px;
  max-width: 100%;
  margin: 0 auto -78px;   /* negative bottom lets the photo slide under the cards */
  z-index: 1;            /* below the cards, which paint later in the DOM */
}
.portrait-bg { width: 100%; display: block; }
.portrait-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --- Brand wordmark ------------------------------------------------- */
.brand-col { text-align: center; padding: 0 6px; }
.wordmark { position: relative; display: inline-block; }
.wordmark-img { width: 400px; max-width: 100%; height: auto; margin: 0 auto; }
.wm-miss {
  font-family: var(--font-script);
  font-size: 88px;
  line-height: 1;
  color: var(--purple);
  position: relative;
  z-index: 2;
  transform: rotate(-3deg);
}
.wm-dawson {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 92px;
  line-height: .82;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-top: -18px;
}
.wm-science {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: .22em;
  color: #fff;
  background: var(--purple);
  padding: 4px 34px 8px;
  margin-top: 6px;
  border-radius: 40% 44% 42% 46% / 60% 62% 40% 40%;
  transform: rotate(-1.4deg);
}
.tagline {
  margin-top: 18px;
  font-family: "Comic Sans MS", "Comic Neue", cursive;
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
}
.tagline .pink   { color: var(--pink);   font-weight: 700; }
.tagline .violet { color: var(--violet); font-weight: 700; }

/* --- Coming soon ---------------------------------------------------- */
.coming-col {
  position: relative;
  padding-left: 40px;
  border-left: 2px solid #DcccF5;
}
.eyebrow {
  font-family: var(--font-hand);
  font-size: 34px;
  color: var(--violet);
  line-height: 1;
}
.coming-head {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 46px;
  line-height: .98;
  letter-spacing: -.01em;
  margin-top: 2px;
}
.coming-head u { text-decoration: none; border-bottom: 4px solid var(--pink); }
.coming-body {
  margin-top: 14px;
  font-size: 17px;
  color: var(--ink);
  max-width: 400px;
}
.cta-stack { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; max-width: 400px; }

/* Buttons ----------------------------------------------------------- */
.btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .lab { flex: 1; }
.btn .arrow { font-size: 18px; }
.btn i { width: 20px; height: 20px; }

.btn-solid  { background: var(--purple-dark); color: #fff; box-shadow: var(--shadow); }
.btn-solid:hover { background: var(--purple); }
.btn-outline{ background: #fff; color: var(--purple-dark); border-color: var(--purple-dark); }
.btn-outline:hover { background: #F6F1FF; }
.btn-dark   { background: #111; color: #fff; }
.btn-ig     { background: linear-gradient(90deg, #F97316, #EC4899); color: #fff; }

/* Decorative doodles ------------------------------------------------- */
.doodle { position: absolute; z-index: 0; pointer-events: none; }
.doodle.heart-pink  { color: var(--pink); }
.doodle.heart-vio   { color: var(--violet); }
.d-dna    { left: 24px;  top: 70px;  }
.d-heart1 { left: 118px; top: 40px;  }
.d-atom   { left: 60%;   top: 22px;  }
.d-heart2 { left: 68%;   top: 8px;   }
.d-flask  { left: 10px;  top: 210px; }
.d-emc    { right: 60px; top: 30px; font-family: var(--font-hand); font-weight: 700; font-size: 40px; color: var(--violet); }
.d-heart3 { right: 40px; top: 84px; }
.d-spark  { right: 76px; top: 150px; color: var(--ink); }

/* =====================================================================
   CARDS
   ===================================================================== */
.cards {
  position: relative;
  z-index: 2;            /* sit above the portrait so it tucks underneath */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 8px 40px 26px;
  max-width: 1420px;
  margin: 0 auto;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
}
.card-top { display: flex; gap: 16px; align-items: flex-start; }
.card-icon {
  flex: none;
  width: 66px; height: 66px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.card-icon i { width: 34px; height: 34px; }
.icon-tiktok { background: #111; color: #fff; border-radius: 50%; }
.icon-line   { border: 3px solid var(--purple); color: var(--purple); background: #fff; }
.icon-line.round { border-radius: 50%; }
.icon-ig     { background: linear-gradient(135deg, #FEDA75, #FA7E1E 30%, #D62976 60%, #6A28D9); color: #fff; }
.card-title { font-weight: 800; font-size: 23px; letter-spacing: .01em; }
.card-title + .rule { width: 40px; height: 3px; background: var(--violet); border-radius: 3px; margin-top: 6px; opacity: .5; }
.card-icon-img { width: 66px; height: 66px; object-fit: contain; flex: none; }
.swish { display: block; width: 54px; height: auto; margin-top: 5px; }
.card-body { margin-top: 14px; font-size: 15.5px; color: var(--ink-soft); flex: 1; }
.card .btn { margin-top: 18px; justify-content: center; }
.card .btn .lab { flex: none; }

/* =====================================================================
   FEATURE BAND
   ===================================================================== */
.features {
  margin: 0 40px 0;
  background: var(--band);
  border-radius: var(--radius);
  padding: 22px 10px;
  max-width: 1420px;
  margin: 0 auto 26px;
}
.features-inner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.feature {
  display: flex;
  gap: 12px;
  padding: 4px 18px;
  border-right: 1px solid rgba(109,40,217,.18);
}
.feature:last-child { border-right: none; }
.feature i { width: 30px; height: 30px; color: var(--purple); flex: none; margin-top: 2px; }
.feat-icon { width: 42px; height: 42px; object-fit: contain; flex: none; margin-top: 2px; }
.feature h4 { font-size: 15px; color: var(--purple-dark); font-weight: 700; }
.feature p  { font-size: 13px; color: var(--ink-soft); line-height: 1.35; }

/* =====================================================================
   MEDIA & PARTNERS
   ===================================================================== */
.partners {
  max-width: 1420px;
  margin: 0 auto;
  padding: 6px 40px 36px;
}
.partners-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 4px 0 24px;
}
.partners-head .line {
  height: 2px; width: 64px;
  background: linear-gradient(90deg, transparent, #C9B6F5);
}
.partners-head .line.r { transform: scaleX(-1); }
.kicker {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--violet);
}
.partners-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.partner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px 26px 16px 16px;
  min-width: 250px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.partner:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(76,29,149,.18); }
.partner-badge {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex: none; color: #fff;
}
.partner-badge i { width: 28px; height: 28px; }
.partner-badge .mono { font-family: var(--font-sans); font-weight: 800; font-size: 27px; line-height: 1; letter-spacing: -.02em; }
.partner-badge .mono-sm { font-size: 19px; letter-spacing: 0; }
.partner-logo { width: 56px; height: 56px; object-fit: contain; flex: none; }
.badge-v { background: var(--violet); }
.badge-p { background: var(--purple-dark); }
.badge-k { background: var(--pink); }
.partner-name {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.18;
  color: var(--ink);
}
.partner-name small {
  display: block;
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: .01em;
  color: var(--ink-soft);
  margin-top: 3px;
}

/* =====================================================================
   ENQUIRIES PAGE
   ===================================================================== */
.enq-hero {
  position: relative;
  text-align: center;
  padding: 30px 40px 20px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(124,58,237,0.10), transparent 55%),
    radial-gradient(80% 70% at 0% 100%, rgba(124,58,237,0.08), transparent 60%),
    var(--bg);
}
.back-link {
  position: absolute; left: 40px; top: 26px;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14px; color: var(--purple-dark);
}
.back-link:hover { color: var(--purple); }
.enq-brand { margin: 6px 0 18px; }
.enq-wordmark { width: 300px; max-width: 70%; height: auto; margin: 0 auto; }
.enq-title {
  font-family: var(--font-sans); font-weight: 800;
  font-size: 52px; line-height: 1; letter-spacing: -.01em; color: var(--ink);
}
.enq-title u { text-decoration: none; border-bottom: 5px solid var(--pink); }
.enq-sub {
  max-width: 560px; margin: 14px auto 0;
  font-size: 17px; color: var(--ink-soft);
}

.enq-body {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 26px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 40px 44px;
}

/* aside cards */
.enq-aside { display: flex; flex-direction: column; gap: 14px; }
.enq-card {
  background: var(--card); border-radius: 16px; box-shadow: var(--shadow);
  padding: 18px; display: flex; gap: 14px; align-items: flex-start;
}
.enq-ico {
  width: 48px; height: 48px; border-radius: 12px; flex: none; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.enq-ico i { width: 24px; height: 24px; }
.enq-card h4 { font-size: 16px; font-weight: 700; color: var(--ink); }
.enq-card p { font-size: 14px; color: var(--ink-soft); margin-top: 3px; line-height: 1.4; }
.enq-card a { font-size: 14px; font-weight: 600; color: var(--purple-dark); word-break: break-word; }
.enq-card a:hover { color: var(--pink); }
.enq-social { display: flex; flex-direction: column; gap: 12px; padding: 6px 4px; }

/* form */
.enq-formwrap {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px;
}
.enq-form { display: flex; flex-direction: column; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-label { font-size: 14px; font-weight: 700; color: var(--purple-dark); }
.enq-form input,
.enq-form select,
.enq-form textarea {
  font-family: var(--font-sans); font-size: 15px; color: var(--ink);
  background: #FAF8FF;
  border: 2px solid #E3D8F7; border-radius: 12px;
  padding: 13px 15px; width: 100%; transition: border-color .15s ease, box-shadow .15s ease;
}
.enq-form textarea { resize: vertical; min-height: 130px; }
.enq-form input:focus,
.enq-form select:focus,
.enq-form textarea:focus {
  outline: none; border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(124,58,237,.12);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.enq-submit { margin-top: 2px; align-self: flex-start; padding-left: 30px; padding-right: 30px; }
.enq-submit .lab { flex: none; }
.enq-status { font-size: 14.5px; font-weight: 600; min-height: 20px; }
.enq-status.is-sending { color: var(--ink-soft); }
.enq-status.is-ok  { color: #1F8A5B; }
.enq-status.is-err { color: #C0345A; }

@media (max-width: 820px) {
  .enq-body { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .enq-title { font-size: 40px; }
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer {
  background: linear-gradient(180deg, #3A0E7A, var(--purple-deep));
  color: #fff;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1fr;
  align-items: center;
  gap: 30px;
  padding: 26px 44px;
  max-width: 1420px;
  margin: 0 auto;
}
.trusted { display: flex; gap: 14px; align-items: flex-start; }
.trusted i { color: var(--gold); width: 34px; height: 34px; flex: none; }
.trusted p { font-size: 15px; font-weight: 600; line-height: 1.4; }

.connect { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.connect .hand { font-family: var(--font-hand); font-size: 26px; }
.social-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.social { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.social .badge {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.social .badge i { width: 22px; height: 22px; }
.badge-tiktok { background: #111; border-radius: 50%; color: #fff; }
.badge-ig { background: linear-gradient(135deg, #FEDA75, #FA7E1E 30%, #D62976 60%, #6A28D9); color: #fff; }
.badge-yt { background: #FF0000; color: #fff; }

.contact-block { display: flex; align-items: center; gap: 12px; justify-self: end; }
.contact-block .circ {
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.55);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.contact-block .circ i { width: 22px; height: 22px; }
.contact-block .email { font-size: 15px; font-weight: 600; }
.contact-block .web { font-size: 14px; color: #C9B6F5; }

.footer-bar {
  border-top: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
}
.footer-bar-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 14px 44px;
  max-width: 1420px;
  margin: 0 auto;
  font-size: 14px;
}
.footer-bar-inner .sep { color: rgba(255,255,255,.3); }
.footer-bar-inner a:hover { color: var(--pink); }
.footer-tag {
  margin-left: auto;
  font-family: var(--font-hand);
  font-size: 22px;
  display: flex; align-items: center; gap: 10px;
}
.footer-tag i { color: var(--pink); width: 22px; height: 22px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .coming-col { border-left: none; padding-left: 0; }
  .cta-stack, .coming-body { margin-left: auto; margin-right: auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .portrait-stack { margin-bottom: 0; width: 340px; }
  .features-inner { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr; text-align: center; }
  .contact-block, .trusted, .connect { justify-content: center; justify-self: center; }
}
@media (max-width: 640px) {
  .hero { padding: 20px; }
  .wm-dawson { font-size: 62px; }
  .wm-miss { font-size: 54px; }
  .wm-science { font-size: 32px; }
  .cards { grid-template-columns: 1fr; }
  .features-inner { grid-template-columns: 1fr 1fr; }
  .feature { border-right: none; border-bottom: 1px solid rgba(109,40,217,.15); padding-bottom: 12px; }
  .footer-bar-inner { flex-wrap: wrap; justify-content: center; }
  .footer-tag { margin: 8px auto 0; }
}
