/* =========================
   Reset
========================= */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }

/* =========================
   Design tokens
========================= */
:root {
  --brand:#5c0dac;
  --accent:#eaf3ff;
  --muted:#f6f7f9;
  --text:#101828;
  --sub:#667085;
  --white:#fff;
  --cta:#ffb000;

  --container:1280px;
  --radius:14px;
  --shadow:0 10px 25px rgba(16,24,40,.08);

  --tile:200px;  /* SVG tile size */
  --cut: 60px;   /* diagonal depth */
  --gap-above: -10%;
  --gap-below: 48px;
  --pattern-opacity-purple: 0.4;
  --pattern-opacity-yellow: 0.3;
}

/* =========================
   Base typography & layout
========================= */
body {
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.6;
}
h1,h2,h3 { line-height:1.2; margin:0 0 12px; }
h1 { font-size:clamp(28px,5vw,44px); font-weight:800; }
h2 { font-size:clamp(22px,3.5vw,32px); font-weight:800; }
h3 { font-size:clamp(18px,2.2vw,22px); font-weight:700; }
p  { margin:0 0 14px; color:var(--sub); }

.container {
  max-width:var(--container);
  margin-inline:auto;
  padding:0 40px;
}

/* =========================
   Buttons
========================= */

/* Gradient outline pill button */
.btn--outline {
  position: relative;
  display: inline-block;
  padding: 18px 40px;
  text-decoration: none;
  border-radius: 9999px;
  background: #ffc600;
  color: black; /* fallback text color */
  z-index: 1;
  font-size: 1.1em;
  font-weight: 500;
  letter-spacing: 1px;
}
/* Use pseudo-element for gradient border */
.btn--outline::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  padding: 2px; /* border thickness */
  background: var(--brand); /* default gradient */
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude; /* ensures only border shows */
  z-index: -1;
}


.btn--outline:hover {
  color: #fff; /* match hover gradient end color for nice effect */
  font-weight: 600;
  background-color: var(--brand);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Bigger "Register Now" text */
.cta-text {
  font-size: 1.4em;   /* bump size slightly */
  margin-right: 8px;
}

/* Old Price */
.price-old {
  text-decoration: line-through;
  color: #d1d5db;   /* light gray */
  margin: 0 6px;
  font-weight: 500;
  font-size: 1.1em; /* slightly smaller to de-emphasize */
  opacity: 0.8;      /* softer look */
}

/* New Price */
.price-new {
  color: black;
  letter-spacing: 1px;
}

  
/* =========================
   Hero
========================= */
.logo {
  position: fixed;
  top: 20px; left: 30px;
  text-align: center;
  z-index: 1000;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.logo.hidden { opacity: 0; transform: translateY(-20px); pointer-events: none; }
.logo h1 {
  font-size: 26px; font-weight: 200; color: #fff;
  margin: 0; padding: 8px 16px;
  border: 1px solid #ffc600;
  display: inline-block; border-radius: 4px;
  background: linear-gradient(135deg, rgba(92,13,172,0.6), rgba(217,70,239,0.4));
}
.logo p {
  font-size: 8px; color: #fff; margin-top: 6px; letter-spacing: 0.5px;
}

.hero {
  position:relative;
  background:linear-gradient(135deg,#5c0dac,#d946ef);
  color:#fff;
  padding:120px 0;
  min-height:80vh;
  display:flex; align-items:center;
  overflow:hidden;
}
.hero__grid {
  display:grid; gap:32px; grid-template-columns:1.1fr .9fr; align-items:center;
}
.hero__copy p { color:#e7f0ff; }
.hero__media video {
  width:100%; border-radius:12px; box-shadow:var(--shadow); object-fit:cover;
}
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 4vw, 48px); /* smaller max size */
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px; /* tighter look */
}
.hero p  { font-size:clamp(18px,2.5vw,22px); }

.hero-subtitle {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  margin-bottom: 16px;
  color: #ffc600; /* brand highlight */
  margin-bottom: 20px;
  text-decoration: underline;
  text-decoration-color:#ffc600; 
  text-decoration-thickness: 3px;
  text-underline-offset: 40%;
}

.hero-list {
  margin: 20px 0;
  padding-left: 20px;
  list-style: none;
  color: #e7f0ff;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
}

.hero-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 28px;
}

.hero-list li::before {
  content: "✔";  /* checkmark bullet */
  position: absolute;
  left: 0;
  color: #ffc600;  /* yellow brand color */
  font-weight: bold;
}

/* =========================
   Tapered Section Utility
========================= */
.tapered {
  position: relative;
  margin-top: var(--gap-above);
  margin-bottom: var(--gap-below);
  padding: calc(80px + var(--cut)) 20px;
  clip-path: polygon(
    0 var(--cut),
    100% 0,
    100% calc(100% - var(--cut)),
    0 100%
  );
  overflow: hidden;
}

/* =========================
   Schedule (Yellow)
========================= */
.schedule {
  background: #ffc600;
}
.schedule::before {
  content:""; position: absolute; inset: 0;
  background-image: url("../images/fashion-pattern-small.svg");
  background-repeat: repeat;
  background-size: var(--tile);
  mix-blend-mode: soft-light;
  pointer-events: none;
}
/* heading wrapper */
.schedule-heading {
  text-align: center;      /* center everything */
  margin-bottom: 48px;
}
.schedule-heading span { 
  display: inline-block;
  background: #5c0dac; /* yellow background */ 
  color: #fff; /* black text */ 
  font-weight: 800; 
  font-size: 28px; 
  padding: 10px 24px; 
  transform: rotate(-2deg); /* skew effect */ 
  position: relative; } /* the skewed label */ 
  
  .schedule-heading .label{ 
    display:inline-block; 
    padding:10px 24px; 
    transform:skewX(-10deg); 
    transform: rotate(-2deg); /* skew the label */ 
    border-radius:4px; /* optional */ 
    box-shadow:0 8px 20px rgba(0,0,0,.12); /* optional depth */ 
  } /* unskew the text so it looks straight */ 

  .schedule-heading .label em{ 
    display:block; 
    transform:skewX(10deg); 
    color:#fff; 
    font-weight:600; 
    font-size:28px; 
    font-style:normal; /* remove italics from <em> */ 
    line-height:1; 
  }
.schedule-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:40px;
}
.schedule-day {
  background:#fff; padding:24px; box-shadow:var(--shadow); position: relative;
}
.schedule-day h3 { margin-bottom:16px; color:var(--brand); }
.schedule-day ul { list-style:none; padding:0; margin:0; }
.schedule-day li { margin-bottom:14px; line-height:1.5; padding-left:24px; position:relative; }
.schedule-day li::before {
  content:""; position:absolute; left:0; top:8px;
  width:10px; height:10px; background:#ffc600;
}
.schedule-day strong, h3, .who-for h2 {
  font-weight:700; text-decoration: underline;
  text-decoration-color:#ffc600; text-decoration-thickness:3px;
  text-underline-offset:15%;
}



/* =========================
   Who For (Purple)
========================= */
/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 4px 1fr; /* 2 cols + divider */
  gap: 40px;
  align-items: start;
}

.two-col .col h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: underline;
  text-decoration-color: #ffc600;
  text-decoration-thickness: 3px;
  text-underline-offset: 15%;
}

.two-col .col p,
.two-col .col ul {
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
}

.two-col ul {
  list-style: none;
  padding: 0;
}

.two-col ul li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 22px;
}

.two-col ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #ffc600;
  font-weight: bold;
}

.divider {
  width: 4px;
  background: linear-gradient(180deg, #ffc600, #d946ef);
  border-radius: 2px;
}

/* Background consistent with hero section */
.who-build-for {
  background: linear-gradient(135deg, #5c0dac, #d946ef);
  color: #fff;
  padding: 80px 0;
  position: relative;
}

.who-build-for::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./assets/images/fashion-pattern-small.svg");
  background-repeat: repeat;
  background-size: var(--tile);
  mix-blend-mode: soft-light;
  opacity: var(--pattern-opacity-purple, 0.4);
  pointer-events: none;
}

/* Responsive: stack on small screens */
@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }
  .divider {
    display: none;
  }
}

.section-divider {
  height: 4px;
  background: linear-gradient(90deg, #ffc600, #d946ef);
  margin: 40px auto;
  width: 80%;
  border-radius: 2px;
}

.who-for {
  color:#fff; text-align:center;
  background:linear-gradient(135deg,#5c0dac,#d946ef);
}
.who-for::before {
  content:""; position:absolute; inset:0;
  background-image:url("../images/fashion-pattern-small.svg");
  background-repeat:repeat; background-size:var(--tile);
  mix-blend-mode:soft-light; opacity:var(--pattern-opacity-purple);
}
.who-for h2 { font-size:clamp(28px,6vw,54px); font-weight:800; margin-bottom:24px; }
.who-for p { max-width:700px; margin:0 auto 16px; font-size:clamp(16px,4vw,20px); line-height:1.6; color:#fff; }

/* =========================
   Bio Section
========================= */
.bio { background:#ffc600; }
.bio::before {
  content:""; position:absolute; inset:0;
  background-image:url("../images/fashion-pattern-small.svg");
  background-repeat:repeat; background-size:var(--tile);
  mix-blend-mode:soft-light;
}
.bio__card {
  background:#fff; border:1px solid #e7e9ee; box-shadow:0 16px 40px rgba(16,24,40,.16);
  padding:40px 48px; margin:0 auto; width:min(1200px,92%);
  display:grid; grid-template-columns:300px 3px 1fr; gap:32px; align-items:center;
  position:relative; z-index:1;
}
.bio__card::before {
  content:""; position:absolute; inset:-10px;
  background:#fff; border:1px solid #e5e7eb; transform:rotate(-2deg);
  z-index:-1; box-shadow:0 8px 18px rgba(0,0,0,.08);
}

.bio__media {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bio__media img {
  width:180px; height:180px; border-radius:50%; object-fit:cover;
  border:6px solid #fff; box-shadow:0 6px 14px rgba(0,0,0,.1);
}
.bio__media--certifications {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0 0;
}
.bio__media .bio__media--certifications img {
  display: inline-block;
  width: 96px;
  height: 96px;
}
.bio__divider {
  width: 3px;
  background: linear-gradient(180deg, var(--brand), var(--cta));
  border-radius: 2px;
  align-self: stretch;   /* makes it full height of the card */
}
.bio__content p {
  color: #0f172a;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.7;
}

/* Premium font utilities */
.poppins-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 20px;
  color: #2c058d; /* deep brand purple */
  text-decoration: underline;
  text-decoration-color: #ffc600;
  text-decoration-thickness: 3px;
  text-underline-offset: 15%;
}

.inter-body {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.7;
  color: #0f172a;
  margin-bottom: 16px;
}

.montserrat-bullets {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  margin: 16px 0;
  padding-left: 20px;
}

.montserrat-bullets li {
  margin-bottom: 8px;
  line-height: 1.6;
}



/* =========================
   FAQ Section
========================= */

.faq {
  background: linear-gradient(135deg, #00B4FF, #0090C5),
              url("../images/hexagon-pattern.svg") repeat;
  background-size: cover, 20px;
  background-blend-mode: overlay;
  clip-path: polygon(
    0 var(--cut),   /* left-top pushed down */
    100% 0,         /* right-top */
    100% 100%,      /* right-bottom flat */
    0 100%          /* left-bottom flat */
  );
  margin-bottom: 0;
  padding: 80px 20px;
}

.faq-grid__title {
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 600;
  text-align: center;
  color: #fff;
  margin: 0 auto 48px;
  position: relative;
  max-width: 800px;
}

/* Divider under title */
.faq-grid__title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #ffc600;
  margin: 16px auto 0;
  border-radius: 2px;
}

/* Two-column grid */
.faq-grid {
  display: flex;
  gap: 24px;
}

.faq-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Accordion Item */
.faq-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  background: #ffc600;
  color: #000;
  text-align: left;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.faq-question:hover {
  background: #7d1fd1;
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #f9f9fb;
  padding: 0 18px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
  margin: 12px 0;
  color: #333;
  font-size: 15px;
  line-height: 1.5;
}

.faq-item.active .faq-answer {
  max-height: 300px; /* adjust as needed */
  padding: 14px 18px;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-grid {
    flex-direction: column;
  }
}

/* =========================
  Section Accent 
========================= */


.section__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.section__info h2 {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 800;
  color: #231f00;
  margin: 0;
}
.section__links {
  font-size: 14px;
}

.section__links a {
  color: #231f00;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin: 0 8px;
  font-weight: 500;
}

.section__cta {
  text-align: right;
}

.btn--primary {
  border-radius: 9999px; /* pill button */
  padding: 14px 36px;
}

/* Headline layout */
.section__headline {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* allows wrapping on smaller screens */
  gap: 16px;       /* spacing between items */
  font-family: 'Poppins', sans-serif;
  font-weight: 200;
  font-size: 28px;
  color: #fff;
  text-align: center;
  margin-bottom: 24px;
}

.section--accent{
  position: relative;
  margin: 0;                /* remove extra gap */
  padding: 80px 0;
  background: linear-gradient(135deg,#5c0dac,#d946ef), url(../images/hexagon-pattern.svg) repeat;
  background-size: cover, 20px;
  background-blend-mode: overlay; 
  color: #fff;
  text-align: center;
  /* remove diagonal cuts */
  clip-path: none;
}
.section--accent h2 {
  font-size: 32px;
  margin-bottom: 28px;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #ffc600;
  text-decoration-thickness: 4px;
  text-underline-offset: 12px;
}
.section--accent::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/hexagon-pattern.svg");
  background-repeat: repeat;
  background-size: 20px;   /* smaller tiles */
  mix-blend-mode: soft-light;
  opacity: 0.2;
  pointer-events: none;
}

/* Stars */
.star::before {
  content: "★";
  margin: 0 14px;
  font-size: 1em;
  background: linear-gradient(45deg, #ff4e50, #ff6ec7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: twinkle 1.5s infinite ease-in-out;
}

.section--accent .btn--primary {
  background: #fff;
  color: #ff9500;
}

.cta-points {
  list-style: none;
  padding: 0;
  margin: 0 auto 24px;
  max-width: 500px;
  text-align: left;
}

.cta-points li {
  margin-bottom: 10px;
  font-size: 1.05em;
  line-height: 1.5;
}

.cta-price {
  font-size: 2.0em;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
  color: #ffc600;
  letter-spacing: 2px;
}

.cta-price .gst {
  font-size: 0.5em;
  font-weight: 200;
  color: #fff;
}

.cta-urgency {
  margin-top: 18px;
  font-size: 0.9em;
  color: #ffe47a;
}


/* Registration Section */ 
/* Fullscreen centered layout */
.registration-page {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* keep it top-aligned */
  padding: 60px 20px;      /* breathing space */
  min-height: 100vh;
  background: linear-gradient(135deg, #5c0dac, #2c058d);
}

.form-card {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  max-width: 700px; /* wider for two-column layout */
  width: 100%;
}

.form-card select[multiple] {
  height: 100px;
  padding: 8px;
}


.form-card h2 {
  font-size: 1.6em;
  font-weight: 800;
  text-align: center;
  margin-bottom: 24px;
  color: #2c058d; /* purple brand color */
  line-height: 1.3;
}

/* Make all inputs uniform */
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  margin-bottom: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95em;
  box-sizing: border-box;
}

.form-group output {
  font-weight: bold;
  margin-left: 8px;
  color: var(--brand);
}

.price-box {
  margin: 15px 0;
  text-align: center;
}

.price {
  font-size: 1.4em;
  font-weight: 600;
  color: #222;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 2px;
}

.price .gst {
  font-size: 0.6em;
  font-weight: 200;
  color: #555;
  margin-left: 6px;
}

.disclaimer {
  margin-top: 8px;
  font-size: 0.75em;
  line-height: 1.4;
  color: #666;
  text-align: center;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

/* Button styling */
.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #2c89ff, #385cff);
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1d6fe2, #2549d7);
}

/* ---------- Inline Validation States ---------- */
.form-card input:focus {
  border-color: #5c0dac; /* purple focus */
  box-shadow: 0 0 0 2px rgba(92, 13, 172, 0.15);
  outline: none;
}

.form-card input:valid {
  border-color: #28a745; /* green when valid */
}

.form-card input:invalid:focus {
  border-color: #dc3545; /* red when invalid */
}

/* ---------- Error Messages ---------- */
.error-message {
  display: none;
  color: #dc3545;
  font-size: 0.8em;
  margin-top: -10px;   /* pull closer to input */
  margin-bottom: 12px; /* spacing from next field */
  text-align: left;
  font-weight: 500;
}
/* registration section end */


/* Animation */
@keyframes twinkle {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .section__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }
  .section__cta {
    text-align: center;
  }
}

/* =========================
   Footer
========================= */
/* Footer base */
/* Footer */
/* Footer base */
.footer {
  background: #eaf3ff;
  padding: 40px 0 20px;
  position: relative;
}

/* Grid: only contact + links */
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 20px;
  margin-bottom: 20px;
}

/* Contact left */
.footer__contact {
  text-align: left;
}

/* Links right */
.footer__links {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Copyright always bottom, full width */
.footer__copy {
  text-align: center;
  font-size: 14px;
  color: var(--sub);
  padding-top: 12px;
  margin-top: 20px;
}
/* Left */
.footer__contact h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
}


.footer__links a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 14px;
}

/* Copyright always full width, bottom */
.footer__copy {
  grid-column: 1 / -1;   /* span across both columns */
  text-align: center;
  font-size: 14px;
  color: var(--sub);
  margin-top: 20px;
}
/* =========================
   Terms & Conditions
========================= */
/* Legal Pages (Terms & Privacy) */
.legal-section {
  background: var(--muted);
  padding: 80px 0;
}

.legal-card {
  background: #fff;
  border: 1px solid #e7e9ee;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 32px;
  margin-bottom: 40px;
}

.legal-card h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 16px;
  text-align: center;
}

.legal-card h3 {
  font-size: 20px;
  margin-top: 24px;
  margin-bottom: 8px;
  color: #0f172a;
  text-decoration: none;
}

.legal-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 12px;
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--brand); /* purple theme */
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: none; /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.3s ease, transform 0.2s ease;
}

.scroll-top:hover {
  background: #d946ef; /* gradient variant */
  transform: translateY(-3px);
}


/* =========================
   Responsive
========================= */
@media (max-width: 900px) {
  .hero__grid, .grid-2, .footer__grid, .schedule-grid, .bio__card { grid-template-columns:1fr; }
  .bio__card { padding:24px; }
  .bio__media { max-width:340px; margin-inline:auto; }
}

@media (max-width: 768px) {
  :root { --tile:140px; --cut:48px; --gap-above:-15%; --gap-below:32px; }
  .tapered h2 { font-size:22px; }
  .tapered p { font-size:15px; }
  .faq-grid { grid-template-columns:1fr; }
  .footer__grid { grid-template-columns:1fr; text-align:center; }
  .footer__links { text-align:center;
  .tapered {
    margin-top: -20% !important;     /* remove negative gap */
    margin-bottom: 32px;          /* controlled spacing */
    padding: calc(60px + var(--cut)) 16px;
    clip-path: polygon(
      0 var(--cut),
      100% 0,
      100% calc(100% - var(--cut)),
      0 100%
    );
    }  
  }

  .footer__contact,
  .footer__links {
    text-align: center;
  }
  
}

@media (max-width: 600px) {
   .tapered {
    margin-top: -20% !important;     /* remove negative gap */
    margin-bottom: 32px;          /* controlled spacing */
    padding: calc(60px + var(--cut)) 16px;
    clip-path: polygon(
      0 var(--cut),
      100% 0,
      100% calc(100% - var(--cut)),
      0 100%
    );
 }

  .section.tapered {
      clip-path: polygon(
        0 var(--cut),
        100% 0,
        100% 100%,
        0 100%
      );
      margin-bottom: 0;
  }
      /* Force order */
  .footer__contact { order: 1; }
  .footer__links   { order: 2; }
  .footer__copy    { order: 3; }  /* copyright always at the bottom */  
  .tapered h2 { font-size:20px; }
  .tapered p { font-size:14px; line-height:1.5; }

  /* Footer grid collapses */
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__contact { order: 1; margin-bottom: 16px; }
  .footer__links   { order: 2; margin-bottom: 16px; }
  .footer__copy    { order: 3; font-size: 12px; color: #6b7280; }

  /* Footer padding tighter */
  .footer {
    padding: 30px 0 15px;
  }

  /* Contact section font smaller */
  .footer__contact h3 { font-size: 16px; }
  .footer__contact p  { font-size: 14px; }

  /* Links font smaller */
  .footer__links a {
    font-size: 13px;
    margin: 4px 0;
    display: inline-block;
  }
  .section__headline {
    flex-direction: column; /* stack items vertically */
    gap: 10px;
    font-size: 20px;
  }
}

.ribbon .countdown {
  display: inline-flex;
  align-items: center;
  text-transform: lowercase;
  gap: 6px;
  margin-left: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9em;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 1px;
  color: #b30000; /* blood red text */

}

.ribbon .countdown .icon {
  font-size: 1.1em;
  display: inline-block;
  animation: rotateIcon 4s linear infinite; /* smooth rotation */
  color: #b30000; /* blood red icon */
}

@keyframes rotateIcon {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 600px) {
  .ribbon .countdown {
    display: block; /* stack below */
    margin: 6px auto 0;
    text-align: center;
    font-size: 0.85em;
  }
}
