:root {
  --bg: #f9f9f8;
  --bg-soft: #f6f6f6;
  --bg-card: #f0f0f0;
  --text: #1a1a1a;
  --muted: #4a4a4a;
  --accent: #f5d547;
  --accent-hover: #ecd030;
  --hero-cta: #f2d600;
  --hero-cta-hover: #e6ca00;
  --process-accent: #e6b50d;
  --process-accent-dark: #c49a0b;
  --process-accent-text: #1a1400;
  --border: #e5e5e5;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  --radius: 999px;
  --radius-md: 12px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cormorant", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.section {
  padding: 40px 0;
}

.section--soft {
  background: var(--bg-soft);
}

h1,
h2,
h3,
.font-serif {
  font-family: "Cormorant", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  text-align: center;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35em;
}

.eyebrow {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 640px;
  margin: 0.75em auto 0;
}

/* Header — Writers of the West style (white bar, uppercase nav, dropdowns, social) */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 0 20px;
}

.header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 12px 0;
}

.header__inner .logo-mark {
  flex-shrink: 0;
  width: 17%;
}

.logo-mark img {
  display: block;
  max-height: 52px;
  width: auto;
  filter: invert(1) brightness(0);
}

.nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.2vw, 18px);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #000;
}

.nav__item {
  position: relative;
  margin: 0;
}

.nav__link,
.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 6px;
  color: #000;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  white-space: nowrap;
  font-size: 12px;
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__trigger:hover,
.nav__trigger:focus-visible {
  opacity: 0.65;
}

.nav__trigger::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #000;
  margin-top: 2px;
  flex-shrink: 0;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: min(100vw - 48px, 300px);
  max-width: min(100vw - 32px, 340px);
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav__dropdown a {
  display: block;
  padding: 11px 20px;
  color: #000;
  text-decoration: none;
  text-align: left;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.35;
}

.nav__dropdown a:hover,
.nav__dropdown a:focus-visible {
  background: #f5f5f5;
}

@media (min-width: 901px) {

  .nav__item--dropdown:hover>.nav__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}


.nav__item--dropdown.is-open>.nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header__social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.header__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #000;
  border-radius: 4px;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.header__social-link:hover,
.header__social-link:focus-visible {
  background: #f0f0f0;
  opacity: 0.85;
}

.header__social-link svg {
  display: block;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 6px;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: #f0f0f0;
  outline: none;
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #000;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.header.is-menu-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header.is-menu-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.header.is-menu-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: "Cormorant", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn--yellow {
  background: var(--accent);
  color: #111;
  box-shadow: 0 4px 14px rgba(245, 213, 71, 0.45);
}

.btn--yellow:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--text);
  color: var(--text);
}

.btn--outline:hover {
  background: var(--text);
  color: #fff;
}

.btn--block {
  width: 100%;
}

@media (max-width: 900px) {
  .header__inner {
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
  }

  .header__inner .logo-mark {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
  }

  .header__inner .logo-mark img {
    max-height: 44px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-height, 64px);
    left: 0;
    right: 0;
    bottom: 0;
    flex: none;
    width: 100%;
    justify-content: flex-start;
    background: #fff;
    border-top: 1px solid #e8e8e8;
    z-index: 99;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
  }

  .header.is-menu-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .header__social {
    display: none;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 24px;
    justify-content: flex-start;

  }

  .nav__item {
    border-bottom: 1px solid #eee;
  }

  .nav__link,
  .nav__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 14px 8px;
    font-size: 0.72rem;
  }

  .nav__dropdown {
    position: static;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    border-top: 1px solid #f0f0f0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.28s ease, opacity 0.2s ease, visibility 0.2s ease;
  }

  .nav__item--dropdown.is-open>.nav__dropdown {
    max-height: min(65vh, 200px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 4px 0 8px;
  }

  .nav__item:last-child {
    border-bottom: none;
    padding: 16px 8px 8px;
  }

  .nav__item:last-child .btn-get-started {
    width: 100%;
    padding: 12px 16px !important;
    font-size: 0.72rem !important;
  }
}




















/* Site footer (mega) */
.site-footer {
  background: #f4f4f4;
  padding: 52px 0 0;
  font-family: "Cormorant", serif;
  color: #333;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px 20px;
  padding-bottom: 40px;
}

.site-footer__col h3 {
  font-family: "Cormorant", serif;
  font-size: 1rem;
  font-weight: 700;
  color: #c49a0b;
  margin: 0 0 14px;
  text-transform: none;
  letter-spacing: 0.02em;
}

.site-footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__col li {
  margin-bottom: 6px;
}

.site-footer__col a {
  font-size: 0.88rem;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1.45;
}

.site-footer__col a:hover {
  text-decoration: underline;
}

.site-footer__follow {
  margin-top: 20px;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.site-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #d4c4a8;
  color: #3a3228;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.site-footer__social a:hover {
  background: #c9b896;
  transform: translateY(-1px);
}

.site-footer__social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-footer__soc-txt {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}

.site-footer__bottom {
  border-top: 1px solid #d8d8d8;
  padding: 18px 16px 24px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  color: #444;
}

.site-footer__bottom a { 
  color: #c49a0b;
  font-weight: 700;
  text-decoration: none;
}

.site-footer__bottom a:hover {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .site-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}