/* --------------------------------------------------
   Base
-------------------------------------------------- */

:root {
  --bg-page: #fdf7f2;
  --bg-card: #ffffff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --accent-peach: #f59e72;
  --accent-peach-soft: #fddac5;
  --accent-blue: #1d4ed8;

  --radius-lg: 1.5rem;
  --radius-md: 1.2rem;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.10);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.5;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.6rem 1.6rem 2.4rem;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0.75rem;
  padding: 0.5rem 0.8rem;
  background: #111827;
  color: #ffffff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  z-index: 50;
}

.skip-link:focus {
  opacity: 1;
  pointer-events: auto;
}


/* --------------------------------------------------
   Header
-------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(148, 124, 103, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  display: block;
  height: 110px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text span:first-child {
  font-size: 1rem;
  font-weight: 600;
}

.brand-text span:last-child {
  font-size: 0.8rem;
  color: var(--text-muted);
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

nav a {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  color: #666;
  text-decoration: none;
  transition:
    background-color 160ms ease-out,
    color 160ms ease-out,
    text-decoration-color 160ms ease-out;
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: #262626;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(148, 163, 184, 0.9);
}


/* --------------------------------------------------
   Hero
-------------------------------------------------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2.2rem;
  align-items: center;
  padding: 2.4rem 2rem;
  margin-bottom: 2.6rem;
  border-radius: 2rem;
  background: radial-gradient(circle at top left, #fff4ee, #ffffff 45%, #fffdfb);
  box-shadow: 0 18px 45px rgba(184, 141, 120, 0.10);
  border: 1px solid rgba(255, 220, 200, 0.7);
  overflow: hidden;          /* 👈 add this line */
}

/* Ghostwriting page – hero image settings */
.ghostwriting-page .hero {
  overflow: hidden;
}

/* Hide the hamburger by default */
.nav-toggle,
.hamburger {
  display: none;
}

/* Ensure mobile nav is inline on desktop */
.mobile-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}


/* Bring back visibility but keep it soft and elegant */
.ghostwriting-page .hero-art {
  right: -40px;        /* pull it back into view */
  top: -60px;
  width: 700px;        /* make it wider so it's visible */
  opacity: 0.28;       /* soft but not invisible */
  filter: blur(0.3px); /* gentle soften */
  transform: translateY(0); /* keep animation behaviour */
}



.hero-left {
  max-width: 36rem;
}

.hero-kicker {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  color: var(--accent-blue);
}

.hero h1 {
  font-size: clamp(2.2rem, 3vw, 2.7rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero .highlight {
  background-image: linear-gradient(120deg, var(--accent-peach), var(--accent-peach-soft));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1rem;
  line-height: 1.55;
  max-width: 33rem;
  color: #5f5c57;
  margin: 0 0 1.4rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.btn-primary {
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  background-image: linear-gradient(135deg, #f59e72, #f9b590);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  box-shadow: 0 16px 42px rgba(245, 158, 114, 0.35);
  text-decoration: none;
  transition:
    transform 160ms ease-out,
    box-shadow 160ms ease-out,
    filter 160ms ease-out;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 48px rgba(245, 158, 114, 0.45);
  filter: brightness(1.02);
}

.btn-primary:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 10px 26px rgba(245, 158, 114, 0.35);
  filter: brightness(0.98);
}

.btn-ghost {
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.8);
  font-size: 0.9rem;
  background-color: rgba(255, 255, 255, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: #6b7280;
  text-decoration: none;
  transition:
    transform 160ms ease-out,
    box-shadow 160ms ease-out,
    background-color 160ms ease-out,
    border-color 160ms ease-out;
}

.btn-ghost:hover {
  transform: translateY(-1px);
  background-color: #f9fafb;
  border-color: rgba(148, 163, 184, 1);
  box-shadow: 0 10px 30px rgba(148, 163, 184, 0.25);
}

.btn-ghost:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 6px 18px rgba(148, 163, 184, 0.2);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.hero-tags span {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(191, 220, 255, 0.9);
}

/* Right side: card + large illustration */

.hero-right {
  position: relative;
}

/* Large illustration behind card */
.hero-art {
  position: absolute;
  right: -60px;
  top: -80px;
  width: 620px;
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}

.hero-art img {
  width: 100%;
  height: auto;
  display: block;
}

/* Offer card – fully opaque */
.hero-card {
  position: relative;
  z-index: 1;
  border-radius: 1.5rem;
  padding: 1.6rem 1.6rem 1.8rem;
  background-color: #ffffff;
  border: 1px solid rgba(191, 220, 255, 0.8);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.18);
  font-size: 0.9rem;
}

.hero-card h2 {
  margin: 0 0 0.8rem;
  font-size: 1.1rem;
}

.hero-list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  color: #6b7280;
}

.hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.hero-list .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(to bottom right, #f59e72, #fddac5);
  margin-top: 0.35rem;
}

.hero-note {
  margin: 0;
  font-size: 0.8rem;
  color: #6b7280;
}

/* === THANK YOU PAGE STYLES === */

.ty-container {
    max-width: 900px;
    margin: 100px auto;
    padding: 20px;
}

.ty-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    padding: 40px 50px;
    border-radius: 18px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.ty-card h1 {
    font-size: 2.4rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: #222;
}

.ty-card p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    line-height: 1.6;
    color: #444;
}

.ty-button {
    display: inline-block;
    padding: 12px 28px;
    background: #222;
    color: white;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 40px;
    transition: 0.3s ease;
}

.ty-button:hover {
    background: #000;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 700px) {
    .ty-container {
        margin: 60px 20px;
    }
    .ty-card {
        padding: 30px 25px;
    }
    .ty-card h1 {
        font-size: 2rem;
    }
    .ty-card p {
        font-size: 1.1rem;
    }
}


/* --------------------------------------------------
   Sections
-------------------------------------------------- */

.section {
  margin-bottom: 2.7rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.4rem;
}

.section-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 0.3rem;
}

.section-title {
  margin: 0;
  font-size: 1.45rem;
}

.section-intro {
  margin: 0;
  max-width: 26rem;
  font-size: 0.9rem;
  color: #6b7280;
}

/* Soft background glow behind key sections */
.section--glow {
  position: relative;
}

.section--glow::before {
  content: "";
  position: absolute;
  inset: -4rem -3rem auto;
  background: radial-gradient(circle at top, rgba(245, 158, 114, 0.16), rgba(248, 250, 252, 0));
  opacity: 0.8;
  z-index: -1;
  pointer-events: none;
}

.section--story-break.section--glow::before {
  inset: -2rem -3rem -4rem;
}

#contact.section--glow::before {
  inset: -3rem -3rem -2rem;
}


/* --------------------------------------------------
   Services
-------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-card {
  position: relative;
  background-color: #ffffff;
  border-radius: 1.2rem;
  padding: 1.4rem 1.15rem 1.3rem;
  border: 1px solid rgba(191, 220, 255, 0.9);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
  font-size: 0.9rem;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

/* hover animation */
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  border-color: rgba(245, 158, 114, 0.7);
  background-color: #ffffff;
}

.service-card--primary {
  border-color: rgba(245, 158, 114, 0.8);
  box-shadow: 0 14px 34px rgba(245, 158, 114, 0.25);
}

/* slight stagger when services section reveals */
.section.reveal-on-scroll.is-visible .services-grid .service-card:nth-child(1) {
  transition-delay: 40ms;
}
.section.reveal-on-scroll.is-visible .services-grid .service-card:nth-child(2) {
  transition-delay: 80ms;
}
.section.reveal-on-scroll.is-visible .services-grid .service-card:nth-child(3) {
  transition-delay: 120ms;
}

/* Service icons */
.service-card .service-icon {
  display: block;
  width: 48px;
  height: auto;
  margin-bottom: 0.75rem;
  opacity: 0.9;
  pointer-events: none;
}

.service-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background-color: rgba(199, 219, 255, 0.45);
  color: var(--accent-blue);
}

.service-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background-color: rgba(255, 220, 200, 0.25);
  color: #a64f2c;
  border: 1px solid rgba(255, 205, 183, 0.8);
}

.service-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.service-card p {
  margin: 0 0 0.7rem;
  color: #6b7280;
}

.service-link {
  font-size: 0.85rem;
  color: var(--accent-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}


/* --------------------------------------------------
   About / Good to know
-------------------------------------------------- */

.section--soft {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 1.8rem;
  padding: 1.8rem 1.6rem 2rem;
  border: 1px solid rgba(191, 220, 255, 0.9);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.about-text p {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0 0 0.8rem;
}

/* Large photo on the left */
.about-photo {
  margin: 0 0 1.5rem;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.10);
}

.about-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Good to know card */
.about-highlight {
  border-radius: var(--radius-lg);
  background-color: #ffffff;
  border: 1px solid rgba(191, 220, 255, 0.7);
  box-shadow: var(--shadow-soft);
  padding: 1.6rem 1.9rem;
}

.about-highlight h3 {
  margin: 0 0 0.5rem;
  font-size: 0.98rem;
}

.about-highlight ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #6b7280;
}

.about-highlight li + li {
  margin-top: 0.25rem;
}

/* Image under Good to know - soft care themed */
.about-support-image {
  margin: 1.8rem 0 0;
  border-radius: 1.5rem;
  overflow: hidden;
  max-width: 100%;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.about-support-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  max-height: 380px;
}


/* --------------------------------------------------
   Story break image between services and about
-------------------------------------------------- */

.section--story-break {
  padding-top: 0;
  padding-bottom: 3rem;
}

.story-break {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.10);
}

.story-break img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  max-height: 360px;
}


/* --------------------------------------------------
   Contact
-------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: start;
}

.contact-card {
  background-color: #ffffff;
  border-radius: 1.4rem;
  padding: 1.4rem 1.4rem 1.5rem;
  border: 1px solid rgba(191, 220, 255, 0.9);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.12);
}

.contact-form {
  display: grid;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.field {
  display: grid;
  gap: 0.25rem;
}

.field label {
  font-size: 0.82rem;
  color: #6b7280;
}

.field input,
.field textarea,
.field select {
  padding: 0.6rem 0.75rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  font: inherit;
  background-color: rgba(255, 255, 255, 0.96);
  resize: vertical;
}

.field textarea {
  min-height: 5.5rem;
}

.contact-info {
  font-size: 0.88rem;
  color: #6b7280;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info p {
  margin: 0 0 0.9rem;
}

.contact-info a {
  color: var(--accent-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

/* Optional wrapper */
.contact-copy p + p {
  margin-top: 0.75rem;
}

/* Photo next to contact copy */
.contact-photo {
  margin-top: 1.75rem;
  border-radius: 1.75rem;
  overflow: hidden;
  background: radial-gradient(circle at top left, #ffe8d5 0%, #ffe7f0 40%, #fef7f0 100%);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
}


/* --------------------------------------------------
   Footer
-------------------------------------------------- */

.site-footer {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(191, 220, 255, 0.9);
  font-size: 0.78rem;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
}

.site-footer a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}


/* --------------------------------------------------
   Responsive
-------------------------------------------------- */

@media (max-width: 900px) {
  .hero,
  .about-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding: 1.8rem 1.4rem;
  }

  .hero-right {
    margin-top: 1.2rem;
  }

  .hero-art {
    right: -20px;
    top: -40px;
    width: 420px;
    opacity: 0.25;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-intro {
    max-width: none;
  }

  .section--story-break {
    padding-bottom: 2.5rem;
  }

  .story-break {
    border-radius: 1.5rem;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.10);
  }

  .story-break img {
    max-height: 260px;
  }

  .contact-layout {
    gap: 1.4rem;
  }

  .contact-photo {
    margin-top: 1.6rem;
    border-radius: 1.5rem;
  }

  .about-highlight {
    padding: 1.4rem 1.5rem;
  }
}
@media (max-width: 768px) {

  /* Hide inline nav on mobile */
  .mobile-nav {
    display: none;
    flex-direction: column;
    background: #ffffff;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    padding: 1rem 1.25rem;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
  }

  /* Show hamburger */
  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #f3d0b9;
    border-radius: 100px;
    cursor: pointer;

    /* new: centre it in the pill */
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    margin: 0;
  }


  /* Hamburger lines */
  .hamburger span,
  .hamburger span::before,
  .hamburger span::after {
    display: block;
    width: 20px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    position: relative;
    transition: 0.25s ease;
  }

  .hamburger span::before,
  .hamburger span::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .hamburger span::before {
    top: -6px;
  }

  .hamburger span::after {
    top: 6px;
  }

  /* Reveal dropdown when checked */
  .nav-toggle:checked ~ .mobile-nav {
    display: flex;
  }

  /* Turn hamburger into an X */
  .nav-toggle:checked + .hamburger span {
    transform: rotate(45deg);
  }
  .nav-toggle:checked + .hamburger span::before {
    transform: rotate(-90deg) translateY(0);
  }
  .nav-toggle:checked + .hamburger span::after {
    opacity: 0;
  }

  /* Header layout on mobile */
  .site-header {
    position: relative;
    padding: 1rem 3.25rem 1rem 1.25rem; /* extra room on the right */
    display: flex;
    align-items: center;
  }


  /* Brand takes left side */
  .brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
}


@media (max-width: 720px) {
  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding: 1.6rem 1.2rem;
  }

  .page {
    padding-inline: 1.1rem;
  }

  .brand-logo {
    height: 90px;
  }
}

/* -----------------------------------------------
   Scroll reveal (fade + slight lift)
------------------------------------------------ */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 500ms ease-out,
    transform 500ms ease-out;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -----------------------------------------------
   Subtle hero illustration float
------------------------------------------------ */

.hero-art {
  animation: heroFloat 14s ease-in-out infinite;
  transform-origin: center;
}

@keyframes heroFloat {
  0%   { transform: translateY(0); }
  25%  { transform: translateY(-6px); }
  50%  { transform: translateY(2px); }
  75%  { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}
