/*
 * June Moore 2027 — Interior page system
 * Source: Figma handoff 166:2 and Writing page 155:7.
 * Breakpoints: desktop >=1200px, tablet 768–1199px, mobile <768px.
 */

:root {
  --jm-interior-max: 1200px;
  --jm-interior-gutter: 120px;
  --jm-interior-ivory: #F3F1EC;
  --jm-interior-forest: #2B3A34;
  --jm-interior-sand: #E8DFC8;
  --jm-interior-gold: #CDAA63;
  --jm-interior-gold-muted: #C4A35A;
  --jm-interior-stone: #C7B6A1;
  --jm-interior-border: #E4DFD5;
  --jm-interior-body: #555550;
}

.jm-interior,
.jm-interior * {
  box-sizing: border-box;
}

.jm-interior {
  width: 100%;
  margin: 0;
  background: var(--jm-interior-ivory);
  color: var(--jm-interior-forest);
}

.jm-interior__inner {
  width: 100%;
  max-width: var(--jm-interior-max);
  margin-inline: auto;
}

.jm-interior-hero {
  width: 100%;
  padding: 80px var(--jm-interior-gutter);
  background: var(--jm-interior-ivory);
}

.jm-interior-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.jm-interior-hero h1 {
  width: 100%;
  margin: 0;
  color: var(--jm-interior-forest);
  font: 400 64px/1.15 "Playfair Display", Georgia, serif;
}

.jm-interior-hero__subtitle {
  width: 100%;
  max-width: 900px;
  margin: 0;
  color: var(--jm-interior-forest);
  font: italic 400 22px/1.5 "Playfair Display", Georgia, serif;
}

.jm-interior-hero__rule {
  display: block;
  width: 120px;
  height: 1.5px;
  margin-top: 8px;
  background: var(--jm-interior-gold-muted);
}

/* Writing archive */
.jm-writing-list {
  width: 100%;
  padding: 40px var(--jm-interior-gutter) 120px;
  background: var(--jm-interior-ivory);
}

.jm-writing-list__items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.jm-writing-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  width: 100%;
  padding: 40px 0;
  border-bottom: 1px solid var(--jm-interior-border);
}

.jm-writing-card:first-child {
  border-top: 1px solid var(--jm-interior-border);
}

.jm-writing-card__media {
  display: block;
  width: 280px;
  height: 180px;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--jm-interior-stone);
}

.jm-writing-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
  opacity: .88;
  transition: transform 220ms ease, opacity 220ms ease;
}

.jm-writing-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.jm-writing-card__category {
  margin: 0;
  color: var(--jm-interior-forest);
  font: 700 12px/1.4 Inter, "Segoe UI", sans-serif;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.jm-writing-card h2 {
  width: 100%;
  margin: 0;
  color: var(--jm-interior-forest);
  font: 400 28px/36px "Playfair Display", Georgia, serif;
}

.jm-writing-card__excerpt {
  width: 100%;
  max-width: 760px;
  margin: 0;
  color: var(--jm-interior-body);
  font: 400 16px/26px Inter, "Segoe UI", sans-serif;
}

.jm-writing-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--jm-interior-forest);
  font: 600 14px/1.4 Inter, "Segoe UI", sans-serif;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color 160ms ease;
}

.jm-writing-card__link::after {
  content: "→";
  color: var(--jm-interior-gold-muted);
  font-size: 14px;
}

.jm-writing-card__link:hover,
.jm-writing-card__link:focus-visible {
  text-decoration-color: var(--jm-interior-gold-muted);
}

.jm-writing-card:has(.jm-writing-card__link:hover) .jm-writing-card__media img {
  opacity: 1;
  transform: scale(1.015);
}

.jm-writing-card__placeholder {
  width: 100%;
  height: 100%;
  background: var(--jm-interior-stone);
}

.jm-interior a:focus-visible,
.jm-interior button:focus-visible,
.jm-interior input:focus-visible,
.jm-interior textarea:focus-visible,
.jm-interior select:focus-visible {
  outline: 3px solid var(--jm-interior-gold);
  outline-offset: 4px;
}

@media (max-width: 1199px) {
  :root {
    --jm-interior-gutter: 48px;
  }

  .jm-interior-hero {
    padding-block: 60px;
  }

  .jm-interior-hero h1 {
    font-size: 48px;
  }

  .jm-interior-hero__subtitle {
    font-size: 20px;
  }

  .jm-writing-list {
    padding-top: 32px;
    padding-bottom: 80px;
  }

  .jm-writing-card {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 32px;
    padding-block: 32px;
  }

  .jm-writing-card__media {
    width: 220px;
    height: 138px;
  }
}

@media (max-width: 767px) {
  :root {
    --jm-interior-gutter: 24px;
  }

  .jm-interior-hero {
    padding-block: 48px;
  }

  .jm-interior-hero h1 {
    font-size: 36px;
  }

  .jm-interior-hero__subtitle {
    font-size: 18px;
  }

  .jm-writing-list {
    padding-top: 16px;
    padding-bottom: 56px;
  }

  .jm-writing-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 32px;
  }

  .jm-writing-card__media {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .jm-writing-card h2 {
    font-size: 24px;
    line-height: 1.3;
  }

  .jm-writing-card__excerpt {
    font-size: 16px;
    line-height: 1.6;
  }
}

/* Resources */
.jm-resources-feature {
  width: 100%;
  padding: 80px var(--jm-interior-gutter);
  background: var(--jm-interior-forest);
  color: var(--jm-interior-ivory);
}

.jm-resources-feature__grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}

.jm-resources-feature__media {
  width: 320px;
  margin: 0;
}

.jm-resources-feature__media img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  filter: none;
  box-shadow: none;
}

.jm-resources-feature__copy {
  display: flex;
  min-width: 0;
  max-width: 760px;
  flex-direction: column;
  align-items: flex-start;
}

.jm-resources-eyebrow {
  margin: 0 0 24px;
  color: var(--jm-interior-gold);
  font: 700 12px/18px Inter, "Segoe UI", sans-serif;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.jm-resources-feature h2,
.jm-resource-note h2 {
  margin: 0;
  color: inherit;
  font: 400 48px/56px "Playfair Display", Georgia, serif;
}

.jm-resources-feature__subtitle {
  margin: 16px 0 0;
  color: var(--jm-interior-gold);
  font: italic 400 22px/32px "Playfair Display", Georgia, serif;
}

.jm-resources-feature__body {
  max-width: 740px;
  margin: 32px 0 0;
  color: var(--jm-interior-ivory);
  font: 400 17px/28px Inter, "Segoe UI", sans-serif;
}

.jm-resources-feature__details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--jm-interior-ivory);
  font: 600 14px/22px Inter, "Segoe UI", sans-serif;
}

.jm-resources-feature__details li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.jm-resources-feature__details li > span {
  color: var(--jm-interior-gold);
}

.jm-resources-feature__details img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.jm-resources-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  padding: 14px 24px;
  border: 1px solid var(--jm-interior-gold);
  border-radius: 2px;
  background: var(--jm-interior-gold);
  color: #1f2421;
  font: 700 13px/20px Inter, "Segoe UI", sans-serif;
  letter-spacing: 1.6px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease;
}

.jm-resources-button:hover,
.jm-resources-button:focus-visible {
  background: transparent;
  color: var(--jm-interior-ivory);
}

.jm-resource-tools {
  width: 100%;
  padding: 96px var(--jm-interior-gutter) 120px;
  background: var(--jm-interior-sand);
}

.jm-resource-tools h2 {
  margin: 0;
  color: var(--jm-interior-forest);
  font: 400 36px/46px "Playfair Display", Georgia, serif;
}

.jm-resource-tools__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.jm-resource-card {
  position: relative;
  display: flex;
  min-height: 370px;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  border: 1px solid rgba(43, 58, 52, .1);
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
}

.jm-resource-card__icon {
  display: block;
  width: 28px;
  height: 28px;
  margin: 0 0 28px;
  object-fit: contain;
}

.jm-resource-card h3 {
  margin: 0;
  color: var(--jm-interior-forest);
  font: 400 28px/36px "Playfair Display", Georgia, serif;
}

.jm-resource-card > p {
  margin: 16px 0 0;
  color: var(--jm-interior-body);
  font: 400 16px/26px Inter, "Segoe UI", sans-serif;
}

.jm-resource-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 32px;
  color: var(--jm-interior-forest);
  font: 700 12px/18px Inter, "Segoe UI", sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.jm-resource-card__status {
  position: absolute;
  top: 32px;
  right: 32px;
  color: var(--jm-interior-gold-muted);
  font: 700 10px/16px Inter, "Segoe UI", sans-serif;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.jm-resource-card__link.is-placeholder {
  cursor: default;
}

.jm-resource-note {
  width: 100%;
  padding: 80px var(--jm-interior-gutter);
  background: var(--jm-interior-ivory);
  color: var(--jm-interior-forest);
}

.jm-resource-note__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: start;
}

.jm-resource-note h2 {
  font-size: 38px;
  line-height: 48px;
}

.jm-resource-note__grid > div:last-child > p {
  margin: 0;
  color: var(--jm-interior-body);
  font: 400 16px/26px Inter, "Segoe UI", sans-serif;
}

.jm-resource-note__privacy {
  position: relative;
  display: block;
  margin-top: 20px !important;
  padding-left: 28px;
}

.jm-resource-note__privacy > img {
  position: absolute;
  top: 3px;
  left: 0;
}

.jm-resource-note__privacy > span {
  display: block;
  min-width: 0;
}

.jm-resource-note__privacy > span a {
  display: inline;
  white-space: nowrap;
}

.jm-resource-note__privacy img,
.jm-resource-note__contact img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  object-fit: contain;
}

.jm-resource-note a {
  color: var(--jm-interior-forest);
}

.jm-resource-note__contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font: 700 12px/18px Inter, "Segoe UI", sans-serif;
  letter-spacing: 1.5px;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 1199px) {
  .jm-resources-feature {
    padding-block: 64px;
  }

  .jm-resources-feature__grid {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 48px;
  }

  .jm-resources-feature__media {
    width: 260px;
  }

  .jm-resources-feature h2 {
    font-size: 42px;
    line-height: 50px;
  }

  .jm-resource-tools {
    padding-block: 72px 88px;
  }

  .jm-resource-card {
    min-height: 390px;
    padding: 28px;
  }

  .jm-resource-card__status {
    top: 28px;
    right: 28px;
  }

  .jm-resource-note__grid {
    gap: 48px;
  }
}

@media (max-width: 767px) {
  .jm-resources-feature {
    padding-block: 56px;
  }

  .jm-resources-feature__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .jm-resources-feature__media {
    width: min(82%, 320px);
    margin-inline: auto;
  }

  .jm-resources-feature h2 {
    font-size: 36px;
    line-height: 44px;
  }

  .jm-resources-feature__subtitle {
    font-size: 20px;
    line-height: 30px;
  }

  .jm-resources-feature__body {
    margin-top: 24px;
    font-size: 16px;
    line-height: 26px;
  }

  .jm-resources-feature__details {
    align-items: flex-start;
    flex-direction: column;
  }

  .jm-resource-tools {
    padding-block: 56px 64px;
  }

  .jm-resource-tools h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .jm-resource-tools__grid {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .jm-resource-card {
    min-height: 330px;
  }

  .jm-resource-note {
    padding-block: 56px;
  }

  .jm-resource-note__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .jm-resource-note h2 {
    font-size: 32px;
    line-height: 40px;
  }
}

/* Speaking */
.jm-interior-hero--forest {
  background: var(--jm-interior-forest);
}

.jm-speaking-2027 .jm-interior-hero--forest h1 {
  display: block !important;
  width: 100%;
  margin: 0;
  opacity: 1 !important;
  visibility: visible !important;
  color: #F3F1EC !important;
  -webkit-text-fill-color: #F3F1EC !important;
  font: 400 64px/76px "Playfair Display", Georgia, serif !important;
}

.jm-interior-hero--forest .jm-interior-hero__subtitle {
  color: var(--jm-interior-gold);
}

.jm-speaking-detail {
  width: 100%;
  padding: 120px var(--jm-interior-gutter);
  background: var(--jm-interior-ivory);
}

.jm-speaking-detail__grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.jm-speaking-profile__media {
  width: 360px;
  height: 440px;
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
}

.jm-speaking-profile__media img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.jm-speaking-profile__note {
  margin-top: 32px;
  padding-left: 16px;
  border-left: 2px solid var(--jm-interior-gold-muted);
}

.jm-speaking-profile__note h2 {
  margin: 0;
  color: var(--jm-interior-forest);
  font: 600 20px/28px "Playfair Display", Georgia, serif;
}

.jm-speaking-profile__note p {
  margin: 8px 0 0;
  color: var(--jm-interior-body);
  font: 400 14px/21px Inter, "Segoe UI", sans-serif;
}

.jm-speaking-copy {
  min-width: 0;
}

.jm-speaking-copy__intro {
  max-width: 760px;
  margin: 0;
  color: var(--jm-interior-body);
  font: 400 16px/26px Inter, "Segoe UI", sans-serif;
}

.jm-speaking-topics {
  margin-top: 48px;
}

.jm-speaking-topics .jm-resources-eyebrow {
  margin-bottom: 4px;
}

.jm-speaking-topics article {
  padding: 20px 0;
  border-bottom: 1px solid var(--jm-interior-border);
}

.jm-speaking-topics h3 {
  margin: 0;
  color: var(--jm-interior-forest);
  font: 500 22px/30px "Playfair Display", Georgia, serif;
}

.jm-speaking-topics article p {
  margin: 8px 0 0;
  color: var(--jm-interior-body);
  font: 400 14px/22px Inter, "Segoe UI", sans-serif;
}

.jm-speaking-cta {
  width: 100%;
  padding: 80px var(--jm-interior-gutter);
  background: var(--jm-interior-forest);
  color: var(--jm-interior-ivory);
  text-align: center;
}

.jm-speaking-cta .jm-interior__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.jm-speaking-cta h2 {
  margin: 0;
  color: var(--jm-interior-ivory);
  font: 400 40px/50px "Playfair Display", Georgia, serif;
}

.jm-speaking-cta p {
  max-width: 600px;
  margin: 24px 0 0;
  color: rgba(243, 241, 236, .8);
  font: 400 16px/25px Inter, "Segoe UI", sans-serif;
}

.jm-speaking-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.jm-speaking-cta__actions .jm-resources-button {
  margin-top: 0;
}

.jm-speaking-cta__secondary {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 1px solid var(--jm-interior-gold);
  border-radius: 2px;
  color: var(--jm-interior-ivory);
  font: 700 13px/20px Inter, "Segoe UI", sans-serif;
  letter-spacing: 1.6px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease;
}

.jm-speaking-cta__secondary:hover,
.jm-speaking-cta__secondary:focus-visible {
  background: var(--jm-interior-gold);
  color: var(--jm-interior-forest);
}

@media (max-width: 1199px) {
  .jm-speaking-2027 .jm-interior-hero--forest h1 {
    font-size: 48px !important;
    line-height: 58px !important;
  }

  .jm-speaking-detail {
    padding-block: 80px;
  }

  .jm-speaking-detail__grid {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 48px;
  }

  .jm-speaking-profile__media {
    width: 300px;
    height: 390px;
  }
}

@media (max-width: 767px) {
  .jm-speaking-2027 .jm-interior-hero--forest h1 {
    font-size: 36px !important;
    line-height: 44px !important;
  }

  .jm-speaking-detail {
    padding-block: 56px;
  }

  .jm-speaking-detail__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .jm-speaking-profile__media {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .jm-speaking-topics {
    margin-top: 40px;
  }

  .jm-speaking-cta {
    padding-block: 64px;
  }

  .jm-speaking-cta h2 {
    font-size: 34px;
    line-height: 42px;
  }

  .jm-speaking-cta__actions {
    width: 100%;
    flex-direction: column;
  }

  .jm-speaking-cta__actions a {
    width: 100%;
  }
}

/* Work With Me */
.jm-work-services {
  width: 100%;
  padding: 120px var(--jm-interior-gutter);
  background: var(--jm-interior-sand);
}

.jm-work-services h2 {
  margin: 0;
  color: var(--jm-interior-forest);
  font: 400 36px/46px "Playfair Display", Georgia, serif;
}

.jm-work-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.jm-work-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border: 1px solid rgba(43, 58, 52, .08);
  border-top: 2px solid var(--jm-interior-gold);
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
}

.jm-work-card h3 {
  margin: 0;
  color: var(--jm-interior-forest);
  font: 600 24px/32px "Playfair Display", Georgia, serif;
}

.jm-work-card div > p:not(.jm-work-card__rate) {
  margin: 12px 0 0;
  color: var(--jm-interior-body);
  font: 400 14px/22px Inter, "Segoe UI", sans-serif;
}

.jm-work-card__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.jm-work-card__rate {
  margin: 0;
  color: var(--jm-interior-gold-muted);
  font: 700 13px/20px Inter, "Segoe UI", sans-serif;
}

.jm-work-card a {
  color: var(--jm-interior-forest);
  font: 700 12px/18px Inter, "Segoe UI", sans-serif;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
}

.jm-work-card a:hover,
.jm-work-card a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--jm-interior-gold-muted);
  text-underline-offset: 4px;
}

.jm-work-testimonial {
  width: 100%;
  padding: 120px var(--jm-interior-gutter);
  background: var(--jm-interior-ivory);
  text-align: center;
}

.jm-work-testimonial .jm-interior__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.jm-work-testimonial__image {
  display: block;
  width: 80px !important;
  min-width: 80px;
  max-width: 80px !important;
  height: 80px !important;
  min-height: 80px;
  max-height: 80px;
  aspect-ratio: 1 / 1;
  flex: 0 0 80px;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
}

.jm-work-testimonial__quote {
  max-width: 800px;
  margin: 0;
  color: var(--jm-interior-forest);
  font: italic 400 32px/42px "Playfair Display", Georgia, serif;
}

.jm-work-testimonial__source {
  margin: 0;
  color: var(--jm-interior-gold-muted);
  font: 700 12px/18px Inter, "Segoe UI", sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.jm-work-cta {
  width: 100%;
  padding: 48px var(--jm-interior-gutter);
  background: var(--jm-interior-forest);
  color: var(--jm-interior-ivory);
}

.jm-work-cta .jm-interior__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.jm-work-cta h2 {
  margin: 0;
  color: var(--jm-interior-ivory);
  font: 400 28px/38px "Playfair Display", Georgia, serif;
}

.jm-work-cta .jm-resources-button {
  flex: 0 0 auto;
  margin: 0;
}

@media (max-width: 1199px) {
  .jm-work-services {
    padding-block: 80px;
  }

  .jm-work-card {
    min-height: 340px;
    padding: 28px;
  }

  .jm-work-testimonial {
    padding-block: 88px;
  }
}

@media (max-width: 767px) {
  .jm-work-services {
    padding-block: 56px 64px;
  }

  .jm-work-services h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .jm-work-services__grid {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .jm-work-card {
    min-height: 290px;
  }

  .jm-work-testimonial {
    padding-block: 64px;
  }

  .jm-work-testimonial__quote {
    font-size: 26px;
    line-height: 36px;
  }

  .jm-work-cta {
    padding-block: 48px;
   }

  .jm-work-cta .jm-interior__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .jm-work-cta .jm-resources-button {
    width: 100%;
  }
}


