:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #11203d;
  background: #faf8f3;
}

* {
  box-sizing: border-box;
}

img,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: #b77a2b;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

button,
input,
textarea,
select {
  font: inherit;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #faf8f3;
}

.site-header,
.site-footer {
  width: 100%;
  padding: 1rem 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.15rem 3.35rem;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(17, 32, 61, 0.08);
  box-shadow: 0 6px 18px rgba(17, 32, 61, 0.05);
  backdrop-filter: blur(8px);
}

.header-inner,
.footer-inner {
  max-width: 1720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-branding a {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #102349;
}

.site-navigation {
  display: flex;
  align-items: center;
}

.menu-items,
.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2.45rem;
  flex-wrap: wrap;
}

.menu-items li a,
.footer-nav li a {
  color: #11203d;
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1;
}

.menu-toggle {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(196, 123, 32, 0.35);
  border-radius: 999px;
  background: rgba(250, 248, 243, 0.96);
  color: transparent;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(17, 32, 61, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #071d45;
  transform: translateX(-50%);
  transition: top 0.22s ease, transform 0.22s ease, box-shadow 0.18s ease;
}

.menu-toggle::before {
  top: 15px;
  box-shadow: 0 7px 0 #071d45;
}

.menu-toggle::after {
  top: 29px;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: #ffffff;
  border-color: rgba(196, 123, 32, 0.65);
  box-shadow: 0 12px 30px rgba(17, 32, 61, 0.12);
  outline: none;
}

.menu-toggle[aria-expanded="true"]::before {
  top: 22px;
  box-shadow: 0 0 0 rgba(7, 29, 69, 0);
  transform: translateX(-50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  top: 22px;
  transform: translateX(-50%) rotate(-45deg);
}

.site-content {
  max-width: none;
  margin: 0;
  padding: 0;
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(520px, 1.04fr);
  gap: 1rem;
  align-items: center;
  max-width: 1680px;
  margin: 0 auto;
  padding: 7.75rem 3.35rem 2.75rem;
  min-height: 600px;
  overflow: hidden;
  background: none;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(250, 248, 243, 0.99) 0%,
    rgba(250, 248, 243, 0.97) 24%,
    rgba(250, 248, 243, 0.88) 38%,
    rgba(250, 248, 243, 0.55) 52%,
    rgba(250, 248, 243, 0.18) 66%,
    rgba(250, 248, 243, 0.02) 78%,
    rgba(250, 248, 243, 0) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-left: 2rem;
  padding-top: 5.4rem;
}

.hero-copy .eyebrow,
.section-label {
  display: inline-flex;
  margin-bottom: 1.35rem;
  color: #b77a2b;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-copy h1,
.page-title {
  margin: 0 0 1.45rem;
  font-size: clamp(4.1rem, 5.8vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: #102349;
  font-weight: 700;
}

.hero-copy p,
.page-intro,
.section-copy,
.feature-description,
footer p {
  color: #3b4860;
}

.page-intro {
  max-width: 700px;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 2.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.05rem;
}

.button,
.button-secondary,
.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 0 1.85rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button {
  background: #0f1b33;
  color: #fff;
  border: 1px solid transparent;
}

.button-secondary,
.card-action {
  background: rgba(247, 221, 176, 0.12);
  color: #11203d;
  border: 1px solid rgba(183, 122, 43, 0.25);
}

.button:hover,
.button-secondary:hover,
.card-action:hover {
  transform: translateY(-1px);
}

.hero-image {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.section-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card,
.feature-card,
.inquiry-card {
  background: #fff;
  border: 1px solid rgba(17, 32, 61, 0.08);
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 18px 45px rgba(17, 32, 61, 0.04);
}

.card h3,
.feature-card h3 {
  margin-top: 0;
}

.card p,
.feature-card p,
.inquiry-card p {
  margin-bottom: 1.25rem;
}

.section-divider {
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid rgba(17, 32, 61, 0.08);
}

.site-footer {
  border-top: 1px solid rgba(17, 32, 61, 0.08);
  background: #fff;
}

.footer-feature {
  padding: 3.25rem 1.5rem 2.25rem;
}

.footer-feature-inner {
  max-width: 1720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 1.35fr) repeat(3, minmax(180px, 0.75fr));
  gap: 3rem;
  align-items: start;
}

.footer-brand-block {
  display: grid;
  grid-template-columns: 160px minmax(260px, 420px);
  gap: 2rem;
  align-items: start;
}

.footer-mark {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(183, 122, 43, 0.18) 0%, rgba(183, 122, 43, 0.08) 42%, rgba(183, 122, 43, 0) 72%);
  border: 1px solid rgba(183, 122, 43, 0.18);
}

.footer-brand h2,
.footer-column h3 {
  margin: 0 0 0.85rem;
  color: #102349;
}

.footer-brand p,
.footer-column p,
.footer-column li,
.footer-bottom p {
  color: #495365;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column li + li {
  margin-top: 0.55rem;
}

.footer-bottom {
  border-top: 1px solid rgba(17, 32, 61, 0.08);
  padding: 1rem 1.5rem 1.5rem;
}

.footer-bottom-inner {
  max-width: 1720px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
}

.page-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: end;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-hero__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 7rem 1.5rem 3rem;
}

.page-hero__eyebrow {
  display: inline-flex;
  margin: 0 0 1rem;
  color: #f6c16b;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
}

.page-hero__title {
  margin: 0;
  color: #fff;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 0.95;
}

.page-hero__text {
  max-width: 720px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.page-grid,
.section-split,
.contact-grid,
.feature-row,
.work-grid {
  display: grid;
  gap: 1.5rem;
}

.page-grid,
.contact-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.section-split,
.feature-row,
.work-grid,
.pathways-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.work-card,
.pathway-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  border: 1px solid rgba(17, 32, 61, 0.08);
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 18px 45px rgba(17, 32, 61, 0.04);
}

.inquiry-card {
  align-self: start;
}

.entry-content,
.page-copy {
  font-size: 1rem;
  line-height: 1.8;
}

.entry-content > *:first-child,
.page-copy > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child,
.page-copy > *:last-child {
  margin-bottom: 0;
}

form input,
form textarea,
form select {
  width: 100%;
  border: 1px solid rgba(17, 32, 61, 0.12);
  border-radius: 0.9rem;
  padding: 1rem;
  background: #fff;
  color: #11203d;
}

form textarea {
  min-height: 220px;
  resize: vertical;
}

form button {
  margin-top: 1rem;
}

.home .page-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.home .page-section-compact {
  padding-top: 2.5rem;
}

.section-title {
  margin: 0 0 0.5rem;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.1;
  color: #1a2743;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-subtitle {
  margin: 0 0 1.5rem;
  text-align: center;
  color: #4c5567;
}

.home-highlights {
  max-width: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(183, 122, 43, 0.18);
  border-top: 0;
  background: #f8f4ee;
}

.highlight-card {
  display: flex;
  gap: 1rem;
  padding: 1.75rem 1.5rem;
  border-right: 1px solid rgba(183, 122, 43, 0.16);
}

.highlight-card:last-child {
  border-right: 0;
}

.highlight-icon,
.work-icon {
  flex: 0 0 auto;
  color: #c28a37;
  line-height: 1;
}

.highlight-icon {
  font-size: 2.2rem;
  margin-top: 0.15rem;
}

.highlight-copy h3,
.work-card h3,
.book-tile h3,
.pathway-content h3,
.books-grid-copy h3,
.books-intro-card h3 {
  margin: 0 0 0.4rem;
  color: #2a3550;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.35rem;
  font-family: Georgia, "Times New Roman", serif;
}

.highlight-copy p,
.work-card p,
.pathway-content p {
  margin: 0 0 0.85rem;
  color: #495365;
}

.text-link {
  color: #b77a2b;
  font-weight: 600;
  text-transform: none;
}

.newsletter-band {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(320px, 520px) minmax(420px, 760px);
  grid-template-areas:
    "copy form"
    ". note";
  align-items: center;
  justify-content: center;
  column-gap: clamp(2.5rem, 7vw, 8rem);
  row-gap: 1.35rem;
  padding: 2.7rem max(24px, calc((100vw - 1320px) / 2 + 24px));
  background: linear-gradient(90deg, #03173e 0%, #061f53 50%, #071a46 100%);
  color: #fff;
}

.newsletter-copy {
  grid-area: copy;
  max-width: 420px;
}

.newsletter-copy h2 {
  margin: 0 0 0.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 0.98;
  color: #fff;
  max-width: 8.5ch;
}

.newsletter-copy p,
.newsletter-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.newsletter-copy p {
  font-size: 1rem;
}

.newsletter-form {
  grid-area: form;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 185px;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 760px;
  margin: 0;
  justify-self: stretch;
}

.newsletter-form input {
  min-height: 72px;
  height: 72px;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0 1.35rem;
  background: #fff;
  color: #11203d;
  box-shadow: none;
}

.newsletter-form button {
  margin-top: 0;
}

.button-gold {
  min-height: 72px;
  height: 72px;
  margin: 0;
  border: 0;
  border-radius: 10px;
  background: #e6a648;
  color: #11203d;
}

.newsletter-note {
  grid-area: note;
  justify-self: start;
  font-size: 0.88rem;
}

.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  min-width: 240px;
  min-height: 58px;
  padding: 0.75rem 1.15rem;
  border: 1px solid rgba(183, 122, 43, 0.55);
  border-radius: 10px;
  color: #b77a2b;
  background: transparent;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
}

.page-section-books {
  max-width: 1320px;
  margin: 0 auto;
  padding: 2rem 1.5rem 2.5rem;
  border-bottom: 1px solid rgba(183, 122, 43, 0.18);
}

.books-section-header {
  margin-bottom: 1.5rem;
}

.books-shelf-group + .books-shelf-group {
  margin-top: 2rem;
}

.books-row-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(183, 122, 43, 0.18);
}

.books-row-heading h3 {
  margin: 0;
  color: #2a3550;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
  font-weight: 700;
}

.book-shelf-wrap {
  position: relative;
  padding: 0 2.75rem;
}

.book-shelf {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (1.2rem * 5)) / 6);
  gap: 1.2rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.5rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  align-items: start;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.book-shelf::-webkit-scrollbar {
  display: none;
}

.book-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  scroll-snap-align: start;
}

.book-cover-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 300px;
  padding: 0.65rem;
  border-radius: 0.45rem;
  overflow: hidden;
  background: #f3ede3;
  box-shadow: 0 18px 36px rgba(17, 32, 61, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.book-cover-image:hover,
.book-cover-image:focus {
  transform: translateY(-3px);
  box-shadow: 0 24px 44px rgba(17, 32, 61, 0.18);
}

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

.book-cover-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  color: #1a2743;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.3;
}

.book-tile-category {
  margin: 0.85rem 0 0.35rem;
  color: #b77a2b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.book-tile h3 {
  margin-top: 0;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  line-height: 1.35;
  font-family: inherit;
}

.books-empty-state {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(183, 122, 43, 0.18);
  border-radius: 0.75rem;
  background: #f8f4ee;
  color: #495365;
}

.book-shelf-arrow {
  position: absolute;
  top: 120px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(183, 122, 43, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #11203d;
  box-shadow: 0 10px 24px rgba(17, 32, 61, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.book-shelf-arrow span {
  display: block;
  font-size: 1.9rem;
  line-height: 1;
  margin-top: -2px;
}

.book-shelf-arrow:hover,
.book-shelf-arrow:focus {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(17, 32, 61, 0.16);
  text-decoration: none;
}

.book-shelf-arrow:disabled {
  opacity: 0.4;
  cursor: default;
}

.book-shelf-arrow--prev {
  left: 0;
}

.book-shelf-arrow--next {
  right: 0;
}

.books-grid-section {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.books-grid-header {
  margin-bottom: 1.75rem;
  text-align: center;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.books-grid-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(17, 32, 61, 0.08);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(17, 32, 61, 0.04);
}

.books-grid-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 1rem;
  background: #f3ede3;
  border-bottom: 1px solid rgba(17, 32, 61, 0.06);
}

.books-grid-cover img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: contain;
}

.books-grid-copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.4rem;
  min-height: 100%;
}

.books-grid-copy h3 {
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.2rem;
  font-family: inherit;
}

.books-grid-excerpt {
  color: #495365;
}

.books-grid-excerpt p {
  margin-top: 0.35rem;
  margin-bottom: 0.75rem;
}

.pathways-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.pathway-card {
  min-height: 460px;
  padding: 0;
  overflow: hidden;
  color: #fff;
  border-radius: 1.4rem;
  border: 0;
  background-size: cover;
  background-position: center;
}

.pathway-card-koshin {
  background-image: url("../images/Study.png");
}

.pathway-card-nyc {
  background-image: url("../images/Contact.png");
}

.pathway-card-online {
  background-image: url("../images/Books.png");
}

.pathway-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 20, 41, 0.18) 0%, rgba(9, 20, 41, 0.72) 78%, rgba(9, 20, 41, 0.9) 100%);
}

.pathway-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0.7rem;
  min-height: 100%;
  padding: 1.85rem;
}

.pathway-content h3 {
  color: #fff;
  margin-bottom: 0;
}

.pathway-content p {
  color: rgba(255, 255, 255, 0.86);
}

.button-small {
  min-width: 0;
  width: fit-content;
  min-height: 52px;
  padding: 0 1.25rem;
  border-radius: 999px;
}

@media (max-width: 1200px) {
  .footer-feature-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }

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

@media (max-width: 1100px) {
  .site-header {
    padding: 1rem 1.5rem;
  }

  .menu-items {
    gap: 1.35rem;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    min-height: 720px;
    padding: 7rem 1.5rem 2.5rem;
  }

  .hero-copy {
    padding-left: 0;
    padding-top: 2.5rem;
    max-width: 640px;
  }

  .hero-copy h1,
  .page-title {
    font-size: clamp(3.1rem, 6vw, 4.4rem);
  }

  .book-shelf {
    grid-auto-columns: calc((100% - (1.2rem * 3)) / 4);
  }

  .book-cover-image {
    height: 280px;
  }

  .home-highlights,
  .work-grid,
  .pathways-grid {
    grid-template-columns: 1fr;
  }

  .highlight-card,
  .work-card {
    border-right: 0;
    border-bottom: 1px solid rgba(183, 122, 43, 0.16);
  }

  .highlight-card:last-child,
  .work-card:last-child {
    border-bottom: 0;
  }

  .newsletter-band {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "form"
      "note";
    justify-content: start;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .newsletter-copy,
  .newsletter-form,
  .newsletter-note {
    max-width: 760px;
  }
}

@media (max-width: 900px) {
  .section-split,
  .page-grid,
  .contact-grid,
  .feature-row,
  .books-grid {
    grid-template-columns: 1fr;
  }

  .site-navigation {
    order: 3;
    width: 100%;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu-items {
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    width: 100%;
    margin-top: 1rem;
    padding: 0.85rem;
    border: 1px solid rgba(17, 32, 61, 0.08);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 38px rgba(17, 32, 61, 0.08);
  }

  .menu-items li a {
    display: block;
    width: 100%;
    padding: 0.85rem 0.75rem;
    border-radius: 0.75rem;
    font-size: 1.05rem;
    line-height: 1.2;
  }

  .menu-items li a:hover,
  .menu-items li a:focus {
    background: rgba(196, 123, 32, 0.08);
    text-decoration: none;
  }

  .site-navigation.is-open .menu-items {
    display: flex;
  }

  .hero-panel {
    min-height: 620px;
    padding: 6.5rem 1rem 2rem;
  }

  .hero-image {
    background-position: center;
  }

  .hero-copy {
    max-width: 100%;
    padding-top: 1rem;
  }

  .hero-copy .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .hero-copy h1,
  .page-title {
    font-size: clamp(2.8rem, 8vw, 3.7rem);
  }

  .book-shelf {
    grid-auto-columns: calc((100% - (1.2rem * 2)) / 3);
  }

  .book-cover-image {
    height: 260px;
  }

  .book-shelf-arrow {
    top: 108px;
    width: 40px;
    height: 40px;
  }

  .page-intro {
    max-width: 100%;
    font-size: 1rem;
  }

  .button,
  .button-secondary,
  .card-action {
    min-height: 60px;
    padding: 0 1.4rem;
  }

  .newsletter-band {
    padding: 1.75rem 1rem;
  }

  .newsletter-form {
    grid-template-columns: minmax(0, 1fr) 170px;
  }
}

@media (max-width: 800px) {
  .footer-feature {
    padding: 2.5rem 1rem 1.75rem;
  }

  .footer-feature-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand-block {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-mark {
    width: 120px;
    height: 120px;
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .site-header,
  .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .page-section,
  .home .page-section,
  .page-section-books {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-panel {
    padding: 6rem 1rem 1.5rem;
  }

  .book-shelf-wrap {
    padding: 0;
  }

  .book-shelf {
    grid-auto-columns: calc((100% - 1.2rem) / 2);
  }

  .book-cover-image {
    height: 220px;
  }

  .book-shelf-arrow {
    display: none !important;
  }

  .books-grid-cover {
    min-height: 300px;
  }

  .newsletter-band {
    padding: 1.5rem 1rem;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .newsletter-form input,
  .button-gold {
    height: 64px;
    min-height: 64px;
  }

  .button-gold {
    border-radius: 999px;
  }

  .home-highlights {
    border-top: 1px solid rgba(183, 122, 43, 0.18);
  }

  .highlight-card {
    flex-direction: column;
  }
}
/* Front page hero correction */
.home .hero-panel {
  min-height: 560px;
  padding-top: 6.75rem;
  padding-bottom: 2.25rem;
  background: #faf8f3;
}

.home .hero-panel::before {
  background: linear-gradient(
    90deg,
    rgba(250, 248, 243, 1) 0%,
    rgba(250, 248, 243, 0.98) 26%,
    rgba(250, 248, 243, 0.92) 38%,
    rgba(250, 248, 243, 0.64) 51%,
    rgba(250, 248, 243, 0.18) 66%,
    rgba(250, 248, 243, 0.02) 100%
  );
}

.home .hero-copy {
  padding-top: 4.3rem;
}

.home .hero-image {
  background-position: right top;
  background-repeat: no-repeat;
  background-size: auto 760px;
  zoom: 0.8;
}

.home .hero-actions {
  align-items: center;
}

.home .hero-actions .button,
.home .hero-actions .button-secondary {
  min-height: 58px;
  border-radius: 6px;
  padding: 0 1.55rem;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: center;
}

/* Medium desktop / laptop */
@media (max-width: 1440px) and (min-width: 1101px) {
  .home .hero-panel {
    min-height: 700px;
  }

  .home .hero-image {
    background-size: auto 700px;
  }

  .home .hero-copy {
    padding-top: 3.4rem;
  }
}

/* Tablet */
@media (max-width: 1100px) {
  .home .hero-panel {
    min-height: 660px;
    padding-top: 6.5rem;
    padding-bottom: 2rem;
  }

  .home .hero-image {
    background-position: right top;
    background-size: auto 660px;
  }

  .home .hero-copy {
    padding-top: 2rem;
  }

  .home .hero-actions {
    gap: 0.85rem;
  }

  .home .hero-actions .button,
  .home .hero-actions .button-secondary {
    min-height: 56px;
    padding: 0 1.25rem;
    font-size: 0.92rem;
  }
}

/* Mobile responsive hero */
@media (max-width: 900px) {
  .home .hero-panel {
    min-height: 610px;
    padding-top: 6.25rem;
    padding-bottom: 2rem;
  }

  .home .hero-panel::before {
    background: linear-gradient(
      90deg,
      rgba(250, 248, 243, 0.98) 0%,
      rgba(250, 248, 243, 0.93) 52%,
      rgba(250, 248, 243, 0.58) 100%
    );
  }

  .home .hero-image {
    background-position: center top;
    background-size: auto 100%;
    opacity: 0.55;
  }

  .home .hero-copy {
    padding-top: 1rem;
  }

  .home .hero-actions {
    width: 100%;
    max-width: 420px;
    margin-top: 1.6rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .home .hero-actions .button,
  .home .hero-actions .button-secondary {
    width: 100%;
    min-height: 52px;
    padding: 0.85rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.25;
    white-space: normal;
  }
}

/* Small mobile */
@media (max-width: 700px) {
  .home .hero-panel {
    min-height: 560px;
    padding-top: 5.85rem;
    padding-bottom: 1.7rem;
  }

  .home .hero-image {
    background-position: 68% top;
    background-size: auto 100%;
    opacity: 0.45;
  }

  .home .hero-actions {
    max-width: 100%;
  }

  .home .hero-actions .button,
  .home .hero-actions .button-secondary {
    min-height: 50px;
    font-size: 0.86rem;
  }
}