/* Sweet Diggie Doo, Ghost Theme CSS */
/* Version 1.0 | Helicopter Tail Studios */

/* =====================
   TOKENS
===================== */
:root {
  --cream:   #FDF6EC;
  --orange:  #FF8743;
  --green:   #6FB88A;
  --blue:    #7FB8D6;
  --neutral: #CFC6B4;
  --beige:   #F0E4D0;

  --text-brown: #6B4423;
  --text-muted: #8A7960;
  --text-faint: #CFC6B4;

  --green-dark:  #27500A;
  --orange-dark: #7a3010;
  --blue-dark:   #0C447C;

  --font-heading: 'Fredoka', sans-serif;
  --font-body:    'Nunito', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-pill: 20px;
}

/* =====================
   RESET
===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-size: 16px;
  height: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-brown);
  -webkit-font-smoothing: antialiased;
}

/* No scroll on coming soon / home page only */
body.home-template {
  overflow-x: hidden;
  overflow-y: auto;
}

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

/* =====================
   SITE HEADER
===================== */
.site-header--hidden {
  display: none;
}

/* =====================
   COMING SOON PAGE
===================== */
.coming-soon {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 32px;
}

.coming-soon__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(28px, 5vw, 52px);
  color: var(--text-brown);
  margin-bottom: 10px;
  white-space: nowrap;
}

.coming-soon__tagline {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 28px;
}

/* Divider */
.coming-soon__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.coming-soon__divider-line {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--neutral);
  border-radius: 2px;
}

.coming-soon__dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.coming-soon__dot--green  { background: var(--green); }
.coming-soon__dot--orange { background: var(--orange); }
.coming-soon__dot--blue   { background: var(--blue); }

/* Description text */
.coming-soon__story {
  background: #F0E4D0;
  border: 1.5px solid #FF8743;
  border-radius: 12px;
  padding: 22px 36px;
  max-width: 560px;
  margin: 0 auto 24px;
  width: 100%;
}

.coming-soon__desc {
  font-family: var(--font-body);
  font-size: 19px;
  color: var(--text-brown);
  line-height: 1.8;
  margin: 0 0 4px;
}

.coming-soon__desc--muted {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.coming-soon__desc--italic {
  font-style: italic;
  margin-bottom: 0;
}

/* Signup box */
.coming-soon__signup-label {
  margin-bottom: 10px;
}

.coming-soon__signup-label {
  font-family: var(--font-body);
  font-size: 15px;
  color: #A8957E;
  margin-bottom: 4px;
}

.coming-soon__checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  color: #A8957E;
  margin-top: 10px;
  cursor: pointer;
  text-align: left;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.coming-soon__checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border-radius: 3px;
  border: 1.5px solid #CFC6B4;
  background: #FDF6EC;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}

.coming-soon__checkbox:checked {
  background: var(--orange);
  border-color: var(--orange);
}

.coming-soon__checkbox:checked::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 8px;
  border: 2px solid #FDF6EC;
  border-top: none;
  border-left: none;
  transform: translate(-50%, -60%) rotate(45deg);
}

.coming-soon__signup-note {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-brown);
  margin-bottom: 10px;
  font-style: italic;
}

.coming-soon__signup-privacy {
  font-family: var(--font-body);
  font-size: 11px;
  color: #A8957E;
  margin-top: 10px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.coming-soon__privacy-link {
  color: #A8957E;
  text-decoration: underline;
}

.coming-soon__privacy-link:hover {
  color: var(--orange);
}

.coming-soon__form {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.coming-soon__input {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 0.5px solid var(--neutral);
  background: var(--cream);
  color: var(--text-brown);
  width: 240px;
  outline: none;
  transition: border-color 0.2s;
}

.coming-soon__input:focus {
  border-color: var(--orange);
}

.coming-soon__button {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: none;
  background: #A8957E;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s;
}

.coming-soon__button:hover { opacity: 0.88; }
.coming-soon__button:active { opacity: 0.75; }

.coming-soon__form-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

.coming-soon__consent {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  margin-top: 4px;
}

/* Pills */
.coming-soon__pills {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 460px;
}

.coming-soon__pill {
  border-radius: var(--radius-pill);
  padding: 6px 0;
  width: 130px;
  min-width: 0;
  flex-shrink: 1;
  text-align: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
}

.coming-soon__pill--green  { background: var(--green);  color: var(--green-dark); }
.coming-soon__pill--orange { background: var(--orange); color: var(--orange-dark); }
.coming-soon__pill--blue   { background: var(--blue);   color: var(--blue-dark); }

/* Domain line */

/* =====================
   SITE FOOTER
===================== */
.site-footer {
  text-align: center;
  padding: 24px 32px;
  margin-top: 40px;
}



.site-footer__copy,
.site-footer__email {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 4px;
}

.site-footer__email a:hover {
  color: var(--text-muted);
}

/* =====================
   GHOST KOENIG EDITOR
   Required classes
===================== */
.gh-content .kg-width-wide {
  margin-left: calc(50% - 50vw + 32px);
  margin-right: calc(50% - 50vw + 32px);
  width: auto;
  max-width: 1200px;
}

.gh-content .kg-width-full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
}

.gh-content .kg-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.gh-content .kg-embed-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1.5em 0;
}

.gh-content .kg-embed-card iframe {
  max-width: 100%;
}

/* =====================
   POST / PAGE CONTENT
===================== */
.post,
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 32px;
}

.post__header,
.page__header {
  margin-bottom: 32px;
  text-align: center;
}

.post__title,
.page__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(24px, 4vw, 36px);
  color: var(--text-brown);
  margin-bottom: 8px;
}

.post__date {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
}

.post__feature-image {
  margin-bottom: 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.post__feature-image img {
  width: 100%;
  height: auto;
}

.post__content,
.page__content {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-brown);
}

.post__content h2,
.page__content h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--text-brown);
  margin: 32px 0 12px;
}

.post__content p,
.page__content p {
  margin-bottom: 16px;
}

.post__footer {
  margin-top: 48px;
  text-align: center;
}

.post__back {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
}

.privacy-policy__notice {
  background: var(--beige);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.privacy-policy__notice strong {
  color: var(--text-brown);
}

.page__footer {
  margin-top: 48px;
  text-align: center;
  padding-bottom: 48px;
}

/* =====================
   TAG ARCHIVE
===================== */
.tag-archive {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 32px;
}

.tag-archive__header {
  text-align: center;
  margin-bottom: 40px;
}

.tag-archive__title {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--text-brown);
}

.tag-archive__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.post-card__image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

.post-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--text-brown);
  margin-bottom: 4px;
}

.post-card__title a:hover { color: var(--orange); }

.post-card__date {
  font-size: 12px;
  color: var(--text-muted);
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 480px) {
  .coming-soon__desc--muted {
    white-space: normal;
    max-width: 300px;
  }

  .coming-soon__input {
    width: 100%;
  }

  .coming-soon__signup {
    width: 100%;
    padding: 16px;
  }

  .coming-soon__pills {
    gap: 8px;
  }

  .coming-soon__pill {
    width: 110px;
    font-size: 11px;
  }

  .post,
  .page {
    padding: 32px 20px;
  }
}

/* =====================
   REDUCED MOTION
===================== */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* =====================
   THANK YOU PAGE
===================== */
.thankyou__social {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
  flex-wrap: wrap;
}

.thankyou__link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: #A8957E;
  text-decoration: none;
  border: 1px solid #CFC6B4;
  border-radius: var(--radius-pill);
  padding: 5px 18px;
  transition: border-color 0.2s, color 0.2s;
}

.thankyou__link:hover {
  border-color: var(--orange);
  color: var(--text-brown);
}

.thankyou__back {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: #A8957E;
  text-decoration: none;
  margin-top: 8px;
  display: inline-block;
}

.thankyou__back:hover {
  color: var(--text-brown);
}

.coming-soon__signup-invite {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-brown);
  margin-bottom: 4px;
}
