.north-star-story {
  --paper: #f5f2ea;
  --paper-light: #fbfaf6;
  --ink: #1d211e;
  --muted: #5a625d;
  --line: rgba(29, 33, 30, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.north-star-story,
.north-star-story *,
.north-star-story *::before,
.north-star-story *::after { box-sizing: border-box; }

/* WordPress is a content host inside this boundary, not a presentation layer. */
.north-star-story :where(.wp-block-group, .wp-block-post-content, .wp-block-post-featured-image,
  .wp-block-post-title, .wp-block-post-excerpt, .wp-block-shortcode, .wp-block-image,
  .wp-block-quote, .wp-block-buttons, .wp-block-button, h1, h2, p, figure, blockquote) {
  max-width: none;
  margin-block-start: 0;
  margin-block-end: 0;
}

.north-star-story img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  object-fit: contain !important;
}

.north-star-story a { color: inherit; }
.north-star-story a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.north-star-story .story-intro {
  width: min(100% - 48px, 820px);
  margin: 0 auto !important;
  padding: clamp(64px, 6.5vw, 88px) 0 clamp(40px, 4.5vw, 56px);
  text-align: center;
}

.north-star-story .story-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 20px !important;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.68;
  text-transform: uppercase;
}

.north-star-story .story-eyebrow::before {
  width: 28px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--ink);
  opacity: 0.45;
  content: "";
}

.north-star-story .story-eyebrow .wp-block-post-terms { margin: 0; }
.north-star-story .story-eyebrow .wp-block-post-terms + .wp-block-post-terms::before { margin: 0 0.7em; content: "·"; }
.north-star-story .story-eyebrow a { color: inherit; text-decoration: none; }

.north-star-story h1,
.north-star-story h2 {
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
}

.north-star-story h1 {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(4rem, 5.6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.north-star-story .story-excerpt {
  max-width: 650px;
  margin: 26px auto 0 !important;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  line-height: 1.55;
}

.north-star-story .story-excerpt p { margin: 0; font: inherit; }

.north-star-story .story-meta {
  margin: 22px 0 0 !important;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.north-star-story .story-image { max-width: none; margin: 0; }
.north-star-story .story-image figcaption {
  width: min(100%, 680px);
  margin: 12px 0 0;
  color: var(--muted);
  font: 400 13px/1.5 var(--sans);
  text-align: left;
}

.north-star-story .story-hero {
  width: min(100% - 48px, 1320px) !important;
  max-width: none !important;
  margin: 0 auto clamp(64px, 6.5vw, 88px) !important;
}
.north-star-story .story-hero img { background: var(--paper-light); }

.north-star-story .story-content { width: 100%; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.north-star-story .story-content > * { max-width: none; }

.north-star-story .story-prose {
  width: min(100% - 48px, 720px);
  margin: clamp(56px, 6vw, 88px) auto !important;
  font-family: var(--sans);
}
.north-star-story .story-prose p { margin: 0 0 1.55em; font: 400 1em/1.68 var(--sans); letter-spacing: normal; }
.north-star-story .story-prose p:last-child { margin-bottom: 0; }
.north-star-story .story-prose h2 {
  margin: 1.8em 0 0.68em;
  font-size: clamp(2.375rem, 3.3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.north-star-story .story-prose h2:first-child { margin-top: 0; }
.north-star-story .story-content > .story-prose--opening { margin-top: 0 !important; }
.north-star-story .story-prose--transition,
.north-star-story .story-prose--celebration { margin-block: clamp(48px, 5vw, 72px) !important; }
.north-star-story .story-prose--closing { margin-block: clamp(56px, 6vw, 88px) clamp(64px, 6.5vw, 96px) !important; }

.north-star-story .story-wedding-team {
  width: min(100% - 48px, 960px);
  padding-top: clamp(48px, 5vw, 72px);
  border-top: 1px solid var(--line);
}
.north-star-story .story-wedding-team h2 { margin-bottom: clamp(32px, 3.5vw, 44px); }
.north-star-story .story-team-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(40px, 5vw, 72px);
  margin: 0;
}
.north-star-story .story-team-credit {
  min-width: 0;
  padding: 18px 0 20px;
  border-top: 1px solid var(--line);
}
.north-star-story .story-team-credit dt {
  margin: 0 0 8px;
  color: var(--muted);
  font: 700 0.68rem/1.45 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.north-star-story .story-team-credit dd {
  min-width: 0;
  margin: 0;
  font: 400 0.94rem/1.6 var(--sans);
  overflow-wrap: anywhere;
}
.north-star-story .story-team-credit a {
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.north-star-story .story-team-credit a:hover { text-decoration-color: currentColor; }
.north-star-story .story-team-credit a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.north-star-story .story-team-separator { color: var(--muted); }

.north-star-story .story-image--scene,
.north-star-story .story-image--connection { width: min(100% - 48px, 900px); margin: clamp(56px, 6vw, 80px) auto !important; }
.north-star-story .story-image--emotion,
.north-star-story .story-image--portrait { width: min(100% - 48px, 1240px); margin: clamp(72px, 7.5vw, 104px) auto !important; }
.north-star-story .story-image--celebration-scene { width: min(100% - 48px, 1140px); margin: clamp(48px, 5.5vw, 72px) auto !important; }
.north-star-story .story-image--celebration-peak { width: min(100% - 24px, 1520px); margin: clamp(56px, 6.5vw, 88px) auto !important; }
.north-star-story .story-image--closing-connection { width: min(100% - 48px, 760px); margin: clamp(64px, 6.5vw, 88px) auto !important; }

.north-star-story .story-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(16px, 2vw, 28px);
  width: min(100% - 48px, 1180px);
  margin: clamp(56px, 6vw, 88px) auto !important;
}
.north-star-story .story-pair > .story-image { width: auto; margin: 0; }
.north-star-story .story-pair--reverse { direction: rtl; }
.north-star-story .story-pair--reverse .story-image { direction: ltr; }
.north-star-story .story-pair--transition { margin-block: clamp(48px, 5vw, 72px) !important; }
.north-star-story .story-pair--celebration { margin-block: clamp(40px, 4.5vw, 64px) !important; }

.north-star-story .story-quote {
  width: min(100% - 48px, 720px);
  margin: clamp(56px, 6vw, 80px) auto !important;
  padding: 4px 0 4px clamp(20px, 3vw, 36px);
  border-left: 1px solid var(--line);
}
.north-star-story .story-quote p { margin: 0; font: 400 clamp(2.375rem, 3.5vw, 3.125rem)/1.1 var(--serif); letter-spacing: -0.03em; }

.north-star-story .story-closing { padding: clamp(72px, 7vw, 96px) 0 clamp(56px, 6vw, 80px); background: var(--paper-light); }
.north-star-story .story-closing--body { padding-bottom: 0; }
.north-star-story .story-closing .story-image { width: min(100% - 48px, 1240px); margin: 0 auto; }
.north-star-story .story-closing-copy { width: min(100% - 48px, 720px); margin: clamp(48px, 5vw, 64px) auto 0; }

.north-star-story .story-cta { padding-top: clamp(32px, 3.5vw, 44px); border-top: 1px solid var(--line); }
.north-star-story .story-cta h2 { margin: 0; font-size: clamp(2.125rem, 3.1vw, 2.75rem); line-height: 1.1; }
.north-star-story .story-cta p { margin: 18px 0 28px; color: var(--muted); }
.north-star-story .story-cta .wp-block-buttons { margin: 0; }
.north-star-story .story-cta a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font: 700 16px/1.4 var(--sans);
  text-decoration: none;
}
.north-star-story .story-cta a:hover { background: var(--muted); }

@media (max-width: 768px) {
  .north-star-story { font-size: 17px; line-height: 1.68; }
  .north-star-story .story-intro { width: calc(100% - 32px); padding: 40px 0 32px; text-align: left; }
  .north-star-story .story-eyebrow { justify-content: flex-start; margin-bottom: 16px !important; }
  .north-star-story h1 { margin-left: 0; font-size: clamp(2.375rem, 10.5vw, 2.75rem); line-height: 1.02; }
  .north-star-story .story-excerpt { margin-top: 20px !important; font-size: 18px; }
  .north-star-story .story-meta { margin-top: 18px !important; }
  .north-star-story .story-hero,
  .north-star-story .story-prose,
  .north-star-story .story-image--scene,
  .north-star-story .story-image--connection,
  .north-star-story .story-image--emotion,
  .north-star-story .story-image--portrait,
  .north-star-story .story-image--celebration-scene,
  .north-star-story .story-image--closing-connection,
  .north-star-story .story-pair,
  .north-star-story .story-quote,
  .north-star-story .story-closing .story-image,
  .north-star-story .story-closing-copy { width: calc(100% - 32px); }
  .north-star-story .story-hero { margin-bottom: 48px !important; }
  .north-star-story .story-prose,
  .north-star-story .story-image--scene,
  .north-star-story .story-image--connection,
  .north-star-story .story-image--portrait,
  .north-star-story .story-image--celebration-scene,
  .north-star-story .story-image--closing-connection { margin-block: 44px !important; }
  .north-star-story .story-content > .story-prose--opening { margin-top: 0 !important; }
  .north-star-story .story-image--emotion { margin-block: 56px !important; }
  .north-star-story .story-image--celebration-peak { width: 100%; margin-block: 48px !important; }
  .north-star-story .story-pair { grid-template-columns: 1fr; gap: 12px; margin-block: 44px !important; }
  .north-star-story .story-pair--reverse { direction: ltr; }
  .north-star-story .story-pair--transition { margin-block: 40px !important; }
  .north-star-story .story-pair--celebration { margin-block: 36px !important; }
  .north-star-story .story-quote { margin-block: 52px !important; padding-left: 20px; }
  .north-star-story .story-quote p,
  .north-star-story .story-prose h2,
  .north-star-story .story-cta h2 { font-size: clamp(1.75rem, 8vw, 2.125rem); }
  .north-star-story .story-closing { padding: 56px 0 48px; }
  .north-star-story .story-closing-copy { margin-top: 44px; }
  .north-star-story .story-cta { padding-top: 32px; }
  .north-star-story .story-cta a { justify-content: center; width: 100%; min-height: 50px; text-align: center; }
  .north-star-story .story-wedding-team { width: calc(100% - 32px); padding-top: 40px; }
  .north-star-story .story-team-list { grid-template-columns: 1fr; }
  .north-star-story .story-team-credit { padding: 16px 0 18px; }
}

@media (max-width: 480px) {
  .north-star-story .story-image--scene,
  .north-star-story .story-image--connection { width: calc(100% - 48px); }
  .north-star-story .story-image--closing-connection { width: calc(100% - 64px); }
  .north-star-story .story-image--celebration-peak { width: 100%; }
  .north-star-story .story-eyebrow { align-items: flex-start; line-height: 1.5; }
  .north-star-story .story-eyebrow::before { margin-top: 0.55em; }
}

@media (prefers-reduced-motion: reduce) {
  .north-star-story,
  .north-star-story *,
  .north-star-story *::before,
  .north-star-story *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
