:root {
  --navy: #082766;
  --navy-2: #123c84;
  --orange: #ef4b1a;
  --teal: #087b82;
  --ink: #1c2944;
  --muted: #5d6679;
  --cream: #fffaf1;
  --pale-blue: #e8f6fd;
  --line: rgba(8, 39, 102, 0.13);
  --shadow: 0 18px 45px rgba(8, 39, 102, 0.14);
  --soft-shadow: 0 10px 26px rgba(8, 39, 102, 0.09);
  --radius: 18px;
  --content-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: inherit; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 7px 22px rgba(8, 39, 102, 0.05);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--navy);
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-mark {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #e7f7ff, #fff5dd);
  box-shadow: inset 0 0 0 1px rgba(8, 39, 102, 0.08);
}

.brand-mark svg { width: 52px; height: 52px; }

.brand-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 0.88;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--navy);
  font-weight: 800;
}

.nav-link,
.dropdown-trigger {
  border: 0;
  background: transparent;
  padding: 14px 0;
  color: var(--navy);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}

.nav-link::after,
.dropdown-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 2px;
  border-radius: 99px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.dropdown-trigger:hover::after,
.dropdown-trigger:focus-visible::after {
  transform: scaleX(1);
}

.dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  width: 190px;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: 0.18s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: #f2f8fd;
  outline: none;
}

.dropdown-menu svg { width: 20px; height: 20px; flex: 0 0 auto; }

.header-cta {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 9px;
  color: #fff;
  background: var(--navy);
  text-decoration: none;
  box-shadow: 0 9px 22px rgba(8, 39, 102, 0.2);
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-cta:hover { transform: translateY(-2px) scale(1.025); background: var(--navy-2); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--navy);
  font-size: 24px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 545px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.82), rgba(255,255,255,.52) 46%, rgba(255,255,255,.18)),
    url("assets/hero-background.png") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 78% 44%, rgba(255, 217, 145, .18), transparent 25rem);
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 545px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, .92fr);
  align-items: center;
  gap: 58px;
  padding-block: 46px 38px;
}

.hero-copy {
  max-width: 640px;
}

.hero-title {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 6.5vw, 84px);
  line-height: .91;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.tagline {
  margin: 19px 0 0;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
  font-size: clamp(14px, 1.22vw, 17px);
  font-weight: 900;
  letter-spacing: .085em;
  text-transform: uppercase;
}

.tagline::before,
.tagline::after {
  content: "";
  width: 30px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--orange);
}

.hero-description {
  max-width: 570px;
  margin: 20px 0 28px;
  font-size: 19px;
  line-height: 1.62;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
}

.button {
  min-height: 58px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 0;
  border-radius: 9px;
  text-decoration: none;
  font: inherit;
  font-size: 17px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(8, 39, 102, .17);
  transition: transform .22s ease, filter .22s ease, background .22s ease;
}

.button svg { width: 26px; height: 26px; }

.button-primary { color: #fff; background: var(--navy); }
.button-orange { color: #fff; background: var(--orange); }

.button-primary:hover { transform: scale(1.07); filter: drop-shadow(0 13px 24px rgba(8,39,102,.28)); }
.button-orange:hover { transform: rotate(-1deg) scale(1.07); filter: drop-shadow(0 13px 24px rgba(239,75,26,.28)); }

/* Reusable CSS book mockup */
.book-stage {
  min-height: 430px;
  display: grid;
  place-items: end center;
  position: relative;
  perspective: 1400px;
}

.book {
  --book-width: 325px;
  width: min(var(--book-width), 75vw);
  aspect-ratio: 2 / 3;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-10deg) rotateX(1deg);
  filter: drop-shadow(0 34px 33px rgba(4, 36, 82, .28));
  transition: transform .3s ease, filter .3s ease;
}

.book:hover {
  transform: rotateY(-6deg) rotateX(0deg) translateY(-5px);
  filter: drop-shadow(0 39px 36px rgba(4, 36, 82, .34));
}

.book-front img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.book-front img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.book-shine {
  position: absolute;
  inset: 0;
  z-index: 6;
  overflow: hidden;
  pointer-events: none;
  border-radius: inherit;
}

.book-shine::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -70%;
  width: 30%;
  height: 160%;
  transform: rotate(17deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.52), transparent);
  opacity: 0;
  transition: left .75s ease, opacity .2s ease;
}

.book:hover .book-shine::after {
  left: 132%;
  opacity: 1;
}

/* Feature cards */

.features-section {
  padding: 24px 0 27px;
  background: #fff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.feature-card {
  min-height: 0;
  padding: 22px;

  display: grid;

  grid-template-columns: auto 1fr;

  grid-template-areas:
    "icon title"
    "description description"
    "link link";

  column-gap: 18px;
  row-gap: 16px;

  align-items: center;

  border: 1px solid var(--line);
  border-radius: 14px;

  background: #fff;
  color: inherit;
  text-decoration: none;

  box-shadow: 0 6px 18px rgba(8, 39, 102, .04);

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--soft-shadow);
  border-color: rgba(8, 39, 102, .22);
}


/* Icon */

.feature-card .icon-circle {
  grid-area: icon;
}

.icon-circle {
  width: 68px;
  height: 68px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #dff0ff;
}

.icon-circle.orange {
  background: #ffe3d5;
}

.icon-circle.green {
  background: #e2ecc8;
}

.icon-circle svg {
  width: 40px;
  height: 40px;

  color: var(--navy);
}

.icon-circle.orange svg {
  color: var(--orange);
}

.icon-circle.green svg {
  color: var(--teal);
}


/* Title */

.feature-card h2 {
  grid-area: title;

  margin: 0;

  color: var(--navy);

  font-size: 18px;
  line-height: 1.15;
  letter-spacing: .025em;

  text-transform: uppercase;
}


/* Description */

.feature-card p {
  grid-area: description;

  margin: 0;

  color: #34405a;

  font-size: 14.5px;
  line-height: 1.5;
}


/* Links */

.feature-card .text-link {
  grid-area: link;

  margin-top: 2px;

  color: var(--navy);

  font-size: 14.5px;
  font-weight: 850;
}

.feature-card .text-link.orange {
  color: var(--orange);
}

.feature-card .text-link.green {
  color: var(--teal);
}


/* Responsive */

@media (max-width: 1080px) {

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


@media (max-width: 760px) {

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 20px;
  }

  .icon-circle {
    width: 58px;
    height: 58px;
  }

  .icon-circle svg {
    width: 34px;
    height: 34px;
  }

}
/* Mailing list */
.mailing-section {
  padding: 0 0 34px;
  background: #fff;
}

.mailing-card {
  padding: 26px 30px;
  display: grid;
  grid-template-columns: 92px 1fr minmax(390px, 540px);
  align-items: center;
  gap: 25px;
  border: 1px solid #b9dcf4;
  border-radius: 14px;
  background: linear-gradient(90deg, #e5f6ff, #f7fcff 55%, #e8f5ff);
  box-shadow: 0 10px 28px rgba(8,39,102,.06);
}

.mailing-copy h2 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 23px;
  line-height: 1;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.mailing-copy p {
  margin: 0;
  color: #34405a;
  font-size: 15.5px;
  line-height: 1.45;
}

.mailing-form {
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 12px;
}

.mailing-form input {
  height: 56px;
  min-width: 0;
  padding: 0 17px;
  border: 1px solid #bdd1e6;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.mailing-form input:focus {
  border-color: var(--navy-2);
  box-shadow: 0 0 0 4px rgba(18,60,132,.12);
}

.mailing-form button {
  height: 56px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.mailing-form button:hover { transform: scale(1.035); background: var(--navy-2); }

.status-message {
  grid-column: 1 / -1;
  min-height: 1.2em;
  color: var(--teal);
  font-size: 13px;
  font-weight: 750;
}

/* Footer */
.site-footer {
  padding: 23px 0 28px;
  background: #fff;
}

.footer-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .27em;
  text-transform: uppercase;
}

.footer-line::before,
.footer-line::after {
  content: "";
  width: min(250px, 23vw);
  height: 1px;
  background: var(--orange);
}

/* Inner pages */
.page-hero {
  padding: 54px 0 34px;
  background:
    linear-gradient(rgba(255,255,255,.80), rgba(255,255,255,.88)),
    url("assets/hero-background.png") center / cover no-repeat;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 44px;
}

.content-panel,
.form-panel {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}

.page-eyebrow {
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.page-title {
  margin: 0 0 17px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6vw, 74px);
  line-height: .96;
}

.content-panel p {
  font-size: 17.5px;
  line-height: 1.6;
}

.topic-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 13px;
}

.topic-list li {
  position: relative;
  padding-left: 31px;
  font-size: 16px;
  line-height: 1.5;
}

.topic-list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: .46em;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(239,75,26,.10);
}

.form-section {
  padding: 0 0 70px;
  background: linear-gradient(180deg, #fff, #fffaf1);
}

.form-panel h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 29px;
}

.form-note {
  margin: 0 0 27px;
  color: var(--muted);
  line-height: 1.52;
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full { grid-column: 1 / -1; }

.field label {
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 51px;
  padding: 13px 14px;
  border: 1px solid #bdd1e6;
  border-radius: 9px;
  background: #fbfdff;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.field textarea { min-height: 140px; resize: vertical; }

.field input:focus,
.field textarea:focus {
  border-color: var(--navy-2);
  box-shadow: 0 0 0 4px rgba(18,60,132,.12);
  background: #fff;
}

.help-text {
  color: #6a7184;
  font-size: 13.5px;
  line-height: 1.42;
}

.submit-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.simple-page {
  min-height: calc(100vh - 92px);
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background:
    linear-gradient(rgba(255,255,255,.80), rgba(255,255,255,.88)),
    url("assets/hero-background.png") center / cover no-repeat;
}

.simple-card {
  width: min(760px, 100%);
  padding: 58px 40px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  text-align: center;
}

.simple-card h1 {
  margin: 0 0 25px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 10vw, 110px);
}

/* Responsive */
@media (max-width: 1080px) {
  .header-inner { flex-wrap: wrap; padding-block: 14px; }
  .main-nav { order: 3; width: 100%; justify-content: center; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { margin-inline: auto; }
  .tagline, .hero-actions { justify-content: center; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mailing-card { grid-template-columns: 78px 1fr; }
  .mailing-form { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--content-width)); }
  .header-inner { min-height: 78px; flex-wrap: nowrap; }
  .brand-mark { width: 50px; height: 50px; }
  .brand-mark svg { width: 42px; height: 42px; }
  .brand-text { font-size: 21px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .main-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 14px;
    right: 14px;
    width: auto;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .header-cta { justify-content: center; }
  .dropdown-menu { position: static; width: 100%; box-shadow: none; transform: none; display: none; opacity: 1; visibility: visible; }
  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu { display: none; transform: none; }
  .dropdown.is-open .dropdown-menu { display: block; }
  .hero-title { font-size: clamp(48px, 15vw, 72px); }
  .tagline { line-height: 1.45; }
  .tagline::before, .tagline::after { width: 18px; }
  .book { --book-width: 290px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { grid-template-columns: 62px 1fr; }
  .icon-circle { width: 58px; height: 58px; }
  .mailing-card { grid-template-columns: 1fr; text-align: center; }
  .mailing-card .icon-circle { margin-inline: auto; }
  .mailing-form { grid-template-columns: 1fr; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-grid .book-stage { min-height: 390px; }
  .request-form { grid-template-columns: 1fr; }
  .field.full, .submit-row { grid-column: auto; }
}
