/* ═══════════════════════════════════════════════════════════════
   THE ART MARKET REVIEW — MAIN STYLESHEET v2
   ═══════════════════════════════════════════════════════════════ */

/* ── Nominee Font ───────────────────────────────────────────── */
@font-face {
  font-family: 'Nominee';
  src: url('../fonts/Nominee-UltraLightExtended.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: 'Nominee';
  src: url('../fonts/Nominee-Extended.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Nominee';
  src: url('../fonts/Nominee-MediumExtended.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Nominee';
  src: url('../fonts/Nominee-BoldExtended.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --white:     #ffffff;
  --off-white: #F7F7F5;
  --rule:      #D7D7D6;
  --mid-grey:  #A8A9A8;
  --dark-grey: #333333;
  --charcoal:  #262626;
  --black:     #000000;

  --page-max:  960px;
  --pad:       64px;

  --serif:     'Times New Roman', Times, serif;
  --sans:      'Hanken Grotesk', sans-serif;

  --header-h:  60px;
  --bar-h:     36px;

  /* NOTE: nav items use Hanken Grotesk with extended tracking to
     approximate the Nominee Bold Extended aesthetic of the wordmark.
     Replace with @font-face Nominee when the font file is available. */
}

body {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.78;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }


/* ═══════════════════════════════════════════════════════════════
   SPLASH SCREEN — Full screen, sweeps up after 5s or on scroll
   ═══════════════════════════════════════════════════════════════ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #262626;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.splash.swept {
  opacity: 0;
  pointer-events: none;
}

.splash__logo {
  opacity: 0;
  animation: splashEnter 0.7s ease 0.25s forwards;
}

/* Splash logo: white wordmark on transparent bg */
.splash__img {
  width: clamp(320px, 45vw, 560px);
  height: auto;
}

@keyframes splashEnter {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}


/* ═══════════════════════════════════════════════════════════════
   HEADER — Fixed, centred logo, no bottom border
   Left:   WORKBOOK  TEMPLATES
   Center: logo (PNG)
   Right:  ABOUT US
   ═══════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: var(--bar-h); left: 0; right: 0;
  height: var(--header-h);
  background: var(--white);
  /* ── no border-bottom — by design ── */
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--pad);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.site-header.visible { opacity: 1; }

/* Sub-pages: header visible without splash */
.site-header.no-splash { opacity: 1; }

.header-left {
  display: flex;
  align-items: center;
  gap: 36px;
}

.header-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo {
  height: 56px;
  width: auto;
  display: block;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Nav links — Nominee Extended */
.nav-link {
  font-family: 'Nominee', sans-serif;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--black);
  transition: opacity 0.15s;
  line-height: 1;
}
.nav-link:hover { opacity: 0.45; }
.nav-link.active { opacity: 1; }

/* Mobile hamburger */
.header-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.header-mobile-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--black);
  transition: transform 0.2s, opacity 0.2s;
}
.header-mobile-toggle.open span:first-child {
  transform: translateY(6px) rotate(45deg);
}
.header-mobile-toggle.open span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile nav drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: calc(var(--header-h) + var(--bar-h));
  left: 0; right: 0;
  background: var(--white);
  padding: 24px var(--pad);
  flex-direction: column;
  gap: 18px;
  z-index: 99;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s;
}
.mobile-nav-drawer.open {
  opacity: 1;
  transform: none;
}
.mobile-nav-drawer .nav-link {
  font-size: 10px;
}


/* ═══════════════════════════════════════════════════════════════
   UTILITIES — shared across all pages
   ═══════════════════════════════════════════════════════════════ */
.wrap {
  max-width: var(--page-max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.wrap--wide {
  max-width: 1200px;
}

.eyebrow {
  font-size: 8.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--mid-grey);
  font-weight: 400;
}

.section-rule {
  width: 100%;
  height: 1px;
  background: var(--rule);
  margin-bottom: 48px;
}

.btn-outline {
  display: inline-block;
  border: 1px solid var(--black);
  background: transparent;
  color: var(--black);
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 11px 24px;
  font-weight: 400;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
}
.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

/* Scroll entrance animation */
.anim {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.anim.visible {
  opacity: 1;
  transform: none;
}


/* ═══════════════════════════════════════════════════════════════
   HERO — homepage intro, centered text
   ═══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + var(--bar-h) + 80px) var(--pad) 100px;
}

.hero__eyebrow {
  margin-bottom: 48px;
}

.hero__statement {
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 34px);
  font-weight: 400;
  line-height: 1.36;
  color: var(--black);
  max-width: 760px;
  margin-bottom: 0;
}

.hero__statement em {
  font-style: italic;
}


/* ═══════════════════════════════════════════════════════════════
   SECTION: TAMR OFFER — what TAMR is
   ═══════════════════════════════════════════════════════════════ */
.tamr-offer {
  padding: 96px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.tamr-offer--dark {
  background: var(--charcoal);
  border-top: none;
  border-bottom: none;
}

.tamr-offer--dark .tamr-offer__eyebrow {
  color: rgba(255,255,255,0.35);
}

.tamr-offer--dark .tamr-offer__lead {
  color: var(--white);
}

.tamr-offer--dark .tamr-offer__body {
  color: rgba(255,255,255,0.65);
}

.tamr-offer--dark .tamr-pillars {
  border-top-color: rgba(255,255,255,0.12);
}

.tamr-offer--dark .tamr-pillar {
  border-right-color: rgba(255,255,255,0.12);
}

.tamr-offer--dark .tamr-pillar__num {
  color: rgba(255,255,255,0.2);
}

.tamr-offer--dark .tamr-pillar__title {
  color: var(--white);
}

.tamr-offer--dark .tamr-pillar__body {
  color: rgba(255,255,255,0.55);
}

.tamr-offer__inner {
  max-width: 680px;
}

/* Two-column grid layout */
.tamr-offer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.tamr-offer__right {
  padding-top: 32px;
}

.tamr-offer--dark .tamr-offer__body strong {
  color: var(--white);
  font-weight: 400;
}

.tamr-offer__cta {
  display: inline-block;
  margin-top: 28px;
  font-family: 'Nominee', sans-serif;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  border-bottom: none;
  transition: color 0.15s;
}
.tamr-offer__cta:hover {
  color: var(--white);
}

/* ── Values section (white, 3 columns) ── */
.tamr-values {
  padding: 80px 0;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

.tamr-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.tamr-values__col {
  padding-right: 24px;
}

.tamr-values__eyebrow {
  margin-bottom: 18px;
}

.tamr-values__title {
  font-family: var(--serif);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--charcoal);
  margin-bottom: 14px;
}

.tamr-values__desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--dark-grey);
}

.tamr-offer__eyebrow {
  margin-bottom: 32px;
}

.tamr-offer__lead {
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 400;
  line-height: 1.42;
  color: var(--black);
  margin-bottom: 36px;
}

.tamr-offer__body {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--dark-grey);
  line-height: 1.82;
  margin-bottom: 24px;
}

/* Three pillars */
.tamr-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  margin-top: 64px;
}

.tamr-pillar {
  padding: 28px 24px 28px 0;
  border-right: 1px solid var(--rule);
}
.tamr-pillar:last-child { border-right: none; padding-right: 0; }
.tamr-pillar:not(:first-child) { padding-left: 24px; }

.tamr-pillar__num {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--rule);
  margin-bottom: 12px;
  font-style: italic;
}

.tamr-pillar__title {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 10px;
}

.tamr-pillar__body {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--dark-grey);
  line-height: 1.7;
}


/* ═══════════════════════════════════════════════════════════════
   SECTION: PRODUCT SHOWCASE — two blocks side by side
   ═══════════════════════════════════════════════════════════════ */
.products-showcase {
  padding: 88px 0;
}

.products-showcase > .wrap {
  max-width: 1200px;
}

.products-showcase__header {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 40px;
  margin-bottom: 56px;
}

.products-showcase__label {
  font-size: 8.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mid-grey);
  font-weight: 400;
  margin-bottom: 24px;
  display: block;
}

.products-showcase__title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.products-showcase__desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--dark-grey);
  max-width: 720px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.showcase-block__media {
  aspect-ratio: 4 / 3;
  background: var(--off-white);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  overflow: hidden;
}

.showcase-block__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-block__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-block__media--dark {
  background: var(--charcoal);
  border: none;
  padding: 40px 32px;
  overflow: hidden;
}

.showcase-mockup {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.showcase-mockup .mockup-window {
  width: 55%;
  max-width: 240px;
}

/* Template stack mockup for index */
.showcase-mockup--templates {
  align-items: center;
  justify-content: center;
}
.tpl-stack {
  position: relative;
  width: 50%;
  max-width: 200px;
}
.tpl-doc {
  background: #3a3a38;
  padding: 16% 12%;
  position: relative;
  z-index: 2;
}
.tpl-doc--offset {
  position: absolute;
  top: 10%;
  left: 10%;
  z-index: 1;
  opacity: 0.5;
}
.tpl-doc__header {
  width: 40%;
  height: 2px;
  background: #666;
  margin-bottom: 20%;
}
.tpl-doc__line {
  width: 90%;
  height: 1px;
  background: #555;
  margin-bottom: 14%;
}
.tpl-doc__line--short { width: 60%; }

.showcase-block__eyebrow {
  margin-bottom: 10px;
}

.showcase-block__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.28;
  margin-bottom: 12px;
}

.showcase-block__desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--dark-grey);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 100%;
}

.showcase-block__cta {
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-grey);
  font-weight: 400;
  transition: color 0.15s;
}
.showcase-block__cta:hover { color: var(--black); }

.showcase-block__media--link {
  cursor: pointer;
  transition: opacity 0.2s;
}
.showcase-block__media--link:hover {
  opacity: 0.88;
}

.showcase-block__media--iframe {
  padding: 0;
  position: relative;
}

.showcase-loop-iframe {
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
  display: block;
}

.mockup-panel--img {
  padding: 0;
}

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

/* Template image carousel */
.tpl-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.tpl-carousel__slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.tpl-carousel__slide--active {
  opacity: 1;
}


/* ═══════════════════════════════════════════════════════════════
   SECTION: PRICING — three columns, dark background
   ═══════════════════════════════════════════════════════════════ */
.pricing {
  background: var(--off-white);
  padding: 88px 0;
}

.pricing--dark {
  background: #262626 !important;
  padding: 96px 0;
}

.pricing__wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.pricing__header {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 12px;
  margin-bottom: 48px;
}

.pricing--dark .pricing__header {
  border-bottom-color: rgba(255,255,255,0.12);
}

.pricing__label {
  font-size: 8.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mid-grey);
  font-weight: 400;
}

.pricing--dark .pricing__label {
  color: rgba(255,255,255,0.35);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pricing-card {
  background: var(--white);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--rule);
}
.pricing-card:last-child { border-right: none; }

.pricing-card--dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-right: 1px solid rgba(255,255,255,0.1);
  padding: 40px 32px;
}

.pricing-card--featured {
  background: var(--white);
  border: none;
  overflow: visible;
}

.pricing-card__badge {
  display: inline-block;
  background: var(--charcoal);
  color: var(--white);
  font-family: 'Nominee', sans-serif;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 14px;
  margin-bottom: 16px;
  white-space: nowrap;
}

/* Bundle — heavier border, no fill */
.pricing-card--bundle {
  border: 1px solid var(--black);
  position: relative;
  margin: -1px;
}

.pricing-card__tag {
  font-size: 8.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 20px;
  font-weight: 400;
}

.pricing-card--dark .pricing-card__tag {
  color: rgba(255,255,255,0.35);
}
.pricing-card--featured .pricing-card__tag {
  color: var(--mid-grey);
}

.pricing-card__name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  color: var(--black);
}

.pricing-card--dark .pricing-card__name {
  color: var(--white);
}
.pricing-card--featured .pricing-card__name {
  color: var(--black);
}

.pricing-card__price {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
  color: var(--black);
  margin-bottom: 6px;
}

.pricing-card--dark .pricing-card__price {
  color: var(--white);
}
.pricing-card--featured .pricing-card__price {
  color: var(--black);
}

.pricing-card__save {
  font-size: 10px;
  color: var(--mid-grey);
  margin-bottom: 18px;
  font-weight: 300;
}

.pricing-card__desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--dark-grey);
  line-height: 1.72;
  margin-bottom: 36px;
  flex-grow: 1;
}

.pricing-card--dark .pricing-card__desc {
  color: rgba(255,255,255,0.55);
}
.pricing-card--featured .pricing-card__desc {
  color: var(--dark-grey);
}

/* Pricing buttons */
.pricing-btn {
  display: block;
  text-align: center;
  font-family: 'Nominee', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 15px 24px;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  background: transparent;
  transition: background 0.18s, border-color 0.18s;
  margin-top: auto;
}
.pricing-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

.pricing-btn--white {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}
.pricing-btn--white:hover {
  background: var(--black);
  border-color: var(--black);
}

.pricing-card--bundle .btn-outline { font-weight: 500; }


/* ═══════════════════════════════════════════════════════════════
   NEWSLETTER FOOTER SECTION — same on all pages
   ═══════════════════════════════════════════════════════════════ */
.newsletter-section {
  padding: 88px 0;
  border-top: 1px solid var(--rule);
}

.newsletter-section__inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-section__eyebrow {
  margin-bottom: 20px;
}

.newsletter-section__title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 14px;
}

.newsletter-section__desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--dark-grey);
  line-height: 1.8;
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  margin-bottom: 12px;
}

/* [KIT_FORM_EMBED_FOOTER] — replace .newsletter-form with Kit embed */
.newsletter-input {
  flex: 1;
  border: 1px solid var(--rule);
  border-right: none;
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 300;
  background: var(--white);
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.15s;
}
.newsletter-input:focus { border-color: var(--mid-grey); }
.newsletter-input::placeholder { color: var(--rule); }

.newsletter-submit {
  border: 1px solid var(--rule);
  background: var(--off-white);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 12px 22px;
  cursor: pointer;
  font-weight: 400;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.newsletter-submit:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.newsletter-fine-print {
  font-size: 10px;
  color: var(--rule);
  letter-spacing: 0.02em;
}

.newsletter-section__cta {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 1px solid var(--charcoal);
  padding-bottom: 2px;
  transition: opacity 0.15s;
}
.newsletter-section__cta:hover { opacity: 0.6; }


/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--white);
  padding: 80px var(--pad) 60px;
  border-top: 1px solid var(--rule);
}

.site-footer__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 44px;
}

.site-footer__nav a {
  font-family: 'Nominee', sans-serif;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--black);
  transition: opacity 0.15s;
}
.site-footer__nav a:hover { opacity: 0.4; }

.site-footer__logo { display: none; }

.site-footer__copy {
  font-family: 'Nominee', sans-serif;
  font-size: 7.5px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--mid-grey);
  text-transform: uppercase;
}

/* hide old wordmark span — replaced by logo img */
.site-footer__wordmark { display: none; }


/* ═══════════════════════════════════════════════════════════════
   POPUP — Email collection
   ═══════════════════════════════════════════════════════════════ */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.popup-overlay.open {
  opacity: 1;
  visibility: visible;
}

.popup {
  background: var(--white);
  border: 1px solid var(--rule);
  max-width: 440px;
  width: calc(100% - 48px);
  padding: 52px 44px;
  position: relative;
  text-align: center;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}
.popup-overlay.open .popup { transform: none; }

.popup__close {
  position: absolute;
  top: 18px; right: 22px;
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: var(--mid-grey);
  cursor: pointer;
  padding: 4px;
  transition: color 0.15s;
}
.popup__close:hover { color: var(--black); }

.popup__eyebrow { margin-bottom: 16px; }

.popup__title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.38;
  margin-bottom: 14px;
}

.popup__desc {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--dark-grey);
  line-height: 1.72;
  margin-bottom: 28px;
}

/* [KIT_FORM_EMBED_POPUP] — replace .popup__form with Kit embed */
.popup__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.popup__input {
  border: 1px solid var(--rule);
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--charcoal);
  text-align: center;
  outline: none;
  transition: border-color 0.15s;
}
.popup__input:focus { border-color: var(--mid-grey); }
.popup__input::placeholder { color: var(--mid-grey); }

.popup__submit {
  border: 1px solid var(--black);
  background: transparent;
  color: var(--black);
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 13px 24px;
  cursor: pointer;
  font-weight: 400;
  transition: background 0.18s, color 0.18s;
}
.popup__submit:hover { background: var(--black); color: var(--white); }

.popup__fine-print { font-size: 10px; color: var(--mid-grey); }


/* ═══════════════════════════════════════════════════════════════
   SUB-PAGE SPECIFIC STYLES
   ═══════════════════════════════════════════════════════════════ */

/* Page hero — for workbook / templates / about */
.page-hero {
  padding: calc(var(--header-h) + var(--bar-h) + 88px) 0 72px;
  border-bottom: 1px solid var(--rule);
}

.page-hero__eyebrow {
  margin-bottom: 28px;
}

.page-hero__title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--black);
  max-width: 700px;
  margin-bottom: 28px;
}

.page-hero__body {
  font-size: 14px;
  font-weight: 300;
  color: var(--dark-grey);
  line-height: 1.82;
  max-width: 560px;
  padding-left: 18px;
  border-left: 1px solid var(--rule);
  margin-bottom: 36px;
}

.page-hero__cta { display: inline-block; }

/* Content section */
.content-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--rule);
}

.content-section__eyebrow { margin-bottom: 24px; }

.content-section__title {
  font-family: var(--serif);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 28px;
}

.content-section__body {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--dark-grey);
  line-height: 1.82;
  max-width: 640px;
  margin-bottom: 20px;
}

/* Parts list (workbook) */
.parts-list {
  margin-top: 48px;
}

.part-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.part-row:last-child { border-bottom: 1px solid var(--rule); }

.part-row__num {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--rule);
  font-style: italic;
}

.part-row__title {
  font-size: 13px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 4px;
}

.part-row__question {
  font-family: var(--serif);
  font-size: 12.5px;
  font-style: italic;
  font-weight: 400;
  color: var(--black);
  line-height: 1.5;
  margin-bottom: 6px;
}

.part-row__desc {
  font-size: 12px;
  font-weight: 300;
  color: var(--mid-grey);
  line-height: 1.6;
}

/* ── TOC grid (workbook structure) ──────────────────────── */
.toc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  margin-top: 48px;
  border-top: 1px solid var(--rule);
}

.toc-col {
  display: flex;
  flex-direction: column;
}

.toc-part {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}

.toc-part__label {
  font-size: 8px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dark-grey);
  font-weight: 400;
  margin-bottom: 6px;
}

.toc-part__title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 8px;
}

.toc-part__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.toc-badge {
  display: inline-block;
  font-family: 'Nominee', sans-serif;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
  line-height: 1;
}

.toc-badge--pdf {
  border-color: var(--mid-grey);
  color: var(--mid-grey);
}

.toc-badge--cal {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.toc-part__desc {
  font-size: 11.5px;
  font-weight: 300;
  color: var(--dark-grey);
  line-height: 1.6;
}


/* Templates grid */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--rule);
  margin-top: 48px;
}

.template-item {
  padding: 28px 24px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.template-item:nth-child(2n) { border-right: none; }
.templates-grid:not(.templates-grid--7) .template-item:nth-child(5),
.templates-grid:not(.templates-grid--7) .template-item:nth-child(6) { border-bottom: none; }
.templates-grid--7 .template-item:nth-child(6),
.templates-grid--7 .template-item:nth-child(7) { border-bottom: none; }
.templates-grid--7 .template-item:nth-child(7) { border-right: 1px solid var(--rule); }

.template-item__num {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--rule);
  font-style: italic;
  margin-bottom: 14px;
  line-height: 1;
}

.template-item__title {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 10px;
}

.template-item__desc {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--dark-grey);
  line-height: 1.7;
}

/* About content */
.about-pull {
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 400;
  line-height: 1.52;
  color: var(--black);
  border-left: 2px solid var(--black);
  padding-left: 28px;
  margin: 44px 0;
  max-width: 680px;
}

/* Two-col layout for about/content */
.two-col-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 40px;
}

.col-label {
  font-size: 8.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mid-grey);
  font-weight: 400;
  margin-bottom: 16px;
}

.col-body {
  font-size: 13px;
  font-weight: 300;
  color: var(--dark-grey);
  line-height: 1.82;
}


/* ── Hero discover link ──────────────────────────────────── */
.hero__discover {
  display: inline-block;
  margin-top: 36px;
  font-family: 'Nominee', sans-serif;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid-grey);
  transition: color 0.15s;
}
.hero__discover:hover { color: var(--black); }


/* ── Product two-column layout ───────────────────────────── */
.product-layout {
  display: grid;
  grid-template-columns: 55fr 45fr;
  padding-top: calc(var(--header-h) + var(--bar-h));
  align-items: start;
  min-height: 100vh;
}

.product-layout__media {
  display: flex;
  flex-direction: column;
  padding-top: 0;
  background: transparent;
  position: sticky;
  top: calc(var(--header-h) + var(--bar-h));
  height: calc(100vh - var(--header-h) - var(--bar-h));
}

/* Dark panel: aligned with "2026 Edition" on the right */
.mockup-panel {
  flex: 1;
  margin-top: 0;
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 28px 44px;
  overflow: hidden;
  min-height: 480px;
  position: relative;
}



.product-layout__info {
  padding: 14px 52px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.product-info__eyebrow {
  font-family: 'Nominee', sans-serif;
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 18px;
}

.product-info__title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 400;
  font-style: italic;
  color: var(--black);
  line-height: 1.18;
  margin-bottom: 18px;
}

.product-info__price {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--dark-grey);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.product-info__desc {
  font-family: var(--serif);
  font-size: 13.5px;
  font-style: italic;
  font-weight: 400;
  color: var(--dark-grey);
  line-height: 1.78;
  margin-bottom: 20px;
  max-width: 400px;
}

.product-info__cta-group {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
}

.product-info__btn {
  display: inline-block;
  font-family: 'Nominee', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 12px 20px;
  transition: opacity 0.18s;
  line-height: 1;
}
.product-info__btn:hover { opacity: 0.7; }

.product-info__btn--filled {
  background: var(--charcoal);
  color: var(--white);
}

.product-info__btn--outline {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--black);
}

.product-info__rows {
  border-top: 1px solid var(--rule);
}

.product-info__row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.product-info__label {
  font-family: 'Nominee', sans-serif;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  padding-top: 2px;
}

.product-info__val {
  font-size: 12px;
  font-weight: 300;
  color: var(--dark-grey);
  line-height: 1.65;
}


/* ── Mockup scrolling animation ──────────────────────────── */
.mockup-window {
  width: 88%;
  max-width: 500px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 64px rgba(0,0,0,0.55);
}

.mockup-strip {
  display: flex;
  flex-direction: column;
  width: 100%;
  animation: mockup-scroll 20s linear infinite;
}

@keyframes mockup-scroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.mockup-page {
  width: 100%;
  aspect-ratio: 16 / 10;
  flex-shrink: 0;
  background: #f8f7f3;
  padding: 8% 10%;
  border-bottom: 1px solid #e0dfd9;
}

.mp-top { display: flex; justify-content: space-between; margin-bottom: 6%; }
.mp-tag  { width: 18%; height: 1px; background: #bbb; }
.mp-date { width: 10%; height: 1px; background: #bbb; }

.mp-heading  { width: 58%; height: 2px; background: #888; margin-bottom: 4%; }
.mp-subhead  { width: 38%; height: 1px; background: #aaa; margin-bottom: 8%; }
.mp-line     { width: 88%; height: 1px; background: #d0cfc9; margin-bottom: 4%; }
.mp-line--short  { width: 65%; }
.mp-line--xshort { width: 42%; }

.mp-block { width: 100%; background: #e5e4df; margin-bottom: 8%; }
.mp-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6%;
  margin-top: 4%;
}
.mp-img-block { background: #d0cfc8; aspect-ratio: 1 / 1; }
.mp-text-block { display: flex; flex-direction: column; gap: 5%; justify-content: center; }
.mp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4%;
  margin-top: 6%;
}
.mp-grid-item { background: #d8d7d1; aspect-ratio: 1 / 1; }


/* ── Mockup Carousel (workbook page) ────────────────────── */
.mockup-carousel {
  position: relative;
  width: 100%;
  max-width: 660px;
  aspect-ratio: 16 / 10.5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide--active {
  opacity: 1;
  pointer-events: auto;
}

.book-spread {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  gap: 2px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
}

.book-spread__left,
.book-spread__right {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: #1a1a1a;
}

.book-spread__left img,
.book-spread__right img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.book-spread__left img.active,
.book-spread__right img.active {
  opacity: 1;
}

.book-spread__spine {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.1) 0%,
    rgba(0,0,0,0.02) 35%,
    rgba(0,0,0,0) 50%,
    rgba(0,0,0,0.02) 65%,
    rgba(0,0,0,0.1) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Carousel indicators — bottom right */
.carousel-indicators {
  position: absolute;
  bottom: 16px;
  right: 20px;
  display: flex;
  gap: 6px;
  z-index: 5;
}

.carousel-tick {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(255,255,255,0.25);
  border-radius: 1px;
  transition: background 0.4s ease;
}

.carousel-tick--active {
  background: rgba(255,255,255,0.7);
}


/* ── Browser chrome wrapper (slides 1 & 3) ─────────────── */
.browser-chrome {
  width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
  border-radius: 4px;
  overflow: hidden;
}

.browser-chrome__bar {
  background: #3a3a3a;
  height: 24px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 5px;
  flex-shrink: 0;
}

.browser-chrome__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}

.browser-chrome__address {
  flex: 1;
  margin-left: 10px;
  height: 14px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
}

.browser-chrome__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10.2;
  overflow: hidden;
  background: #fff;
}

.browser-chrome__viewport iframe {
  width: 1440px;
  border: none;
  transform-origin: top left;
  pointer-events: none;
}

/* Pop-up badge (HTML scroll slide) */
.popup-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #262626;
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}

.popup-badge.visible {
  opacity: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.6s ease;
}

.popup-badge__eyebrow {
  font-size: 7px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-family: var(--sans);
  font-weight: 400;
}

.popup-badge__text {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 300;
  color: #fff;
  line-height: 1.4;
  text-align: center;
}

/* ── Info card (slide 2) ───────────────────────────────── */
.info-card {
  width: 72%;
  max-width: 380px;
  background: #fff;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-card__eyebrow {
  font-family: 'Nominee', var(--sans);
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--mid-grey);
}

.info-card__title {
  font-family: var(--serif);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--black);
}

.info-card__body {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--dark-grey);
}

.info-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
}

.info-card__list li {
  font-size: 11px;
  font-weight: 300;
  color: var(--dark-grey);
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}

.info-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 4px;
  background: var(--mid-grey);
}


/* ── About statement (full-page editorial) ───────────────── */
.about-statement {
  padding: calc(var(--header-h) + var(--bar-h) + 100px) 0 120px;
  border-bottom: 1px solid var(--rule);
}

.about-statement__inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.about-statement__lead {
  font-family: var(--serif);
  font-size: clamp(21px, 2.3vw, 29px);
  font-weight: 400;
  line-height: 1.52;
  color: var(--black);
  margin-bottom: 60px;
}

.about-statement__condensed {
  font-family: 'Nominee', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dark-grey);
  line-height: 1.9;
  text-align: justify;
  margin-bottom: 44px;
}
.about-statement__condensed p {
  margin-bottom: 24px;
}
.about-statement__condensed p:last-child {
  margin-bottom: 0;
}

.about-statement__cta {
  display: block;
  margin-top: 48px;
  font-family: 'Nominee', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  text-align: center;
  transition: opacity 0.15s;
}
.about-statement__cta:hover { opacity: 0.6; }

.about-statement__body {
  font-size: 14px;
  font-weight: 300;
  color: var(--dark-grey);
  line-height: 1.86;
  margin-bottom: 44px;
}

.about-statement__pull {
  font-family: var(--serif);
  font-size: clamp(17px, 1.9vw, 22px);
  font-weight: 400;
  line-height: 1.58;
  color: var(--black);
  border-left: 2px solid var(--black);
  padding-left: 28px;
  margin: 56px 0;
}

.about-statement__fn-label {
  font-family: 'Nominee', sans-serif;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 18px;
  margin-top: 60px;
}

.about-statement__fn-text {
  font-family: var(--serif);
  font-size: clamp(17px, 1.9vw, 23px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.56;
  color: var(--black);
}


/* ── Diagnostic items (workbook) ─────────────────────────── */
.diagnostic-list {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.diagnostic-item {
  padding: 36px 0;
  border-top: 1px solid var(--rule);
}
.diagnostic-item:last-child { border-bottom: 1px solid var(--rule); }

.diagnostic-item__header {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: baseline;
  margin-bottom: 16px;
}

.diagnostic-item__ref {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--rule);
  font-style: italic;
}

.diagnostic-item__title {
  font-size: 13px;
  font-weight: 400;
  color: var(--black);
  letter-spacing: 0.02em;
  margin-bottom: 3px;
}

.diagnostic-item__sub {
  font-size: 10.5px;
  font-weight: 300;
  color: var(--mid-grey);
  font-style: italic;
  font-family: var(--serif);
}

.diagnostic-item__desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--dark-grey);
  line-height: 1.78;
  max-width: 640px;
  padding-left: 76px;
  margin-bottom: 28px;
}

.diagnostic-item__media {
  margin-left: 76px;
  aspect-ratio: 16 / 9;
  max-width: 540px;
  background: var(--off-white);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.diagnostic-item__media-label {
  font-family: 'Nominee', sans-serif;
  font-size: 7px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-grey);
  position: absolute;
  bottom: 14px;
  left: 0; right: 0;
  text-align: center;
}

/* Additional instruments (worksheets + calendars) */
.instruments-sub {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--rule);
}

/* ── Instruments Trio (workbook mockups) ───────────────── */
.instruments-trio {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.instrument-mockup__screen {
  background: var(--charcoal);
  aspect-ratio: 3 / 4;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
}

.im-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16%;
}
.im-tag {
  width: 24%;
  height: 1px;
  background: #666;
}
.im-dots { display: flex; gap: 3px; }
.im-dots span {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #555;
}

/* Diagnostic mockup elements */
.im-field {
  width: 80%;
  height: 1px;
  background: #555;
  margin-bottom: 10%;
}
.im-field--short { width: 55%; }

.im-bar-row {
  display: flex;
  align-items: flex-end;
  gap: 10%;
  flex: 1;
  padding-bottom: 12%;
}
.im-bar {
  flex: 1;
  background: #4a4a48;
  min-height: 8px;
}

/* PDF mockup elements */
.im-page-stack {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.im-page {
  width: 60%;
  background: #3a3a38;
  padding: 14% 10%;
  position: relative;
  z-index: 2;
}
.im-page--offset {
  position: absolute;
  top: 8%;
  left: 26%;
  z-index: 1;
  opacity: 0.5;
}
.im-line {
  width: 100%;
  height: 1px;
  background: #666;
  margin-bottom: 18%;
}
.im-line--short { width: 65%; }

/* Calendar mockup elements */
.im-cal-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  align-content: center;
}
.im-cal-cell {
  aspect-ratio: 1;
  background: #3a3a38;
}
.im-cal-cell--active {
  background: #666;
}

/* Labels */
.instrument-mockup__label {
  font-family: 'Nominee', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--black);
  margin-top: 20px;
  margin-bottom: 8px;
}
.instrument-mockup__desc {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  font-style: normal;
  color: var(--dark-grey);
  line-height: 1.78;
}

.instrument-mockup__screen--img {
  padding: 0;
  overflow: hidden;
}

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

/* Standalone workbook CTA */
.standalone-cta {
  text-align: center;
  padding: 80px var(--pad);
}

.standalone-cta__btn {
  display: inline-block;
  font-family: 'Nominee', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--black);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--black);
  transition: opacity 0.15s;
}
.standalone-cta__btn:hover { opacity: 0.4; }
.standalone-cta__btn--black {
  background: var(--charcoal);
  color: var(--white);
  padding: 14px 32px;
  font-size: 10px;
  font-weight: 700;
  border-bottom: none;
  transition: opacity 0.18s;
}
.standalone-cta__btn--black:hover { opacity: 0.7; }
.standalone-cta__btn--grey {
  color: var(--mid-grey);
  border-bottom-color: var(--mid-grey);
}
.standalone-cta--no-border {
  border-top: none;
}

.content-section--no-border {
  border-bottom: none;
}

/* ── Instruments Showcase (revised layout) ── */
.instruments-showcase {
  padding: 96px 0;
  border-top: 1px solid var(--rule);
}

.instruments-showcase__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.instruments-showcase__anchor {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--black);
  max-width: 680px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.instruments-showcase__sub {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--dark-grey);
  max-width: 560px;
  margin-bottom: 64px;
}

.instruments-showcase__header {
  display: flex;
  align-items: baseline;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 12px;
  margin-bottom: 28px;
}

.instruments-showcase__label {
  font-size: 8.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mid-grey);
  font-weight: 400;
}

.instruments-showcase__body {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--dark-grey);
  line-height: 1.78;
  max-width: 640px;
  margin-bottom: 48px;
}

.instruments-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.instruments-showcase__grid .showcase-block__media {
  aspect-ratio: 4 / 3;
}

/* Instrument blocks */
.instrument-block__media {
  background: var(--charcoal);
  aspect-ratio: 4/3;
  margin-bottom: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instrument-block__media iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.instrument-block__eyebrow {
  font-family: var(--sans);
  font-size: 8.5px;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mid-grey);
  display: block;
  margin-bottom: 10px;
}

.instrument-block__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.2;
}

.instrument-block__desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--dark-grey);
}

.showcase-block__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Instruments section (charcoal) ────────────────────── */
.instruments-section {
  background: #262626;
  padding: 88px 0;
}

.instruments-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.instruments-section__eyebrow {
  font-size: 8.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  font-weight: 400;
  margin-bottom: 24px;
}

.instruments-section__title {
  font-family: var(--serif);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 20px;
}

.instruments-section__body {
  font-size: 13.5px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.78;
  max-width: 640px;
  margin-bottom: 56px;
}

.instruments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.instrument-card {
  display: flex;
  flex-direction: column;
}

.instrument-card__mockup {
  aspect-ratio: 210 / 297; /* A4 portrait */
  background: #1a1a1a;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* Browser chrome inside instrument card */
.instrument-card__browser {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.instrument-card__bar {
  background: #3a3a3a;
  height: 18px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 4px;
  flex-shrink: 0;
}

.ic-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}

.instrument-card__viewport {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.instrument-card__viewport iframe {
  width: 1440px;
  border: none;
  transform-origin: top left;
  pointer-events: none;
}

/* PDF page flip */
.instrument-card__page {
  width: 75%;
  height: 85%;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.instrument-card__page img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.instrument-card__page img.active { opacity: 1; }

.instrument-card__label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
}

.instrument-card__desc {
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* Full-width CTA banner */
.cta-banner {
  background: var(--charcoal);
  padding: 64px var(--pad);
}

.cta-banner__inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-banner__label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  display: block;
  margin-bottom: 14px;
}

.cta-banner__title {
  font-family: var(--serif);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 400;
  line-height: 1.25;
  color: rgba(255,255,255,0.88);
  margin-bottom: 8px;
}

.cta-banner__note {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
}

.cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  min-width: 280px;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner__btn {
  display: inline-block;
  font-family: 'Nominee', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white);
  transition: opacity 0.18s;
}
.cta-banner__btn--primary {
  background: var(--white);
  color: var(--charcoal);
  padding: 11px 26px;
}
.cta-banner__btn--secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 11px 26px;
  color: rgba(255,255,255,0.7);
}
.cta-banner__btn:hover { opacity: 0.7; }

/* CTA button hierarchy */
.cta-btn--primary {
  display: block;
  width: 100%;
  padding: 18px 32px;
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
}
.cta-btn--primary:hover { background: #e8e8e8; }
.cta-btn--primary span {
  display: block;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--dark-grey);
  margin-top: 3px;
}

.cta-btn--secondary {
  display: block;
  width: 100%;
  padding: 14px 32px;
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 0.5px solid rgba(255,255,255,0.2);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: border-color 0.2s, color 0.2s;
}
.cta-btn--secondary:hover {
  border-color: rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.85);
}

.cta-btn--text {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  text-align: left;
  margin-top: 16px;
  transition: color 0.2s;
}
.cta-btn--text:hover { color: rgba(255,255,255,0.5); }


/* ── Corner newsletter toast ─────────────────────────────── */
.nl-toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 320px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--black);
  padding: 32px 28px 26px;
  z-index: 600;
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.nl-toast.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nl-toast__close {
  position: absolute;
  top: 12px; right: 14px;
  background: none; border: none;
  cursor: pointer;
  font-size: 12px;
  color: var(--mid-grey);
  line-height: 1;
  padding: 2px;
  transition: color 0.15s;
}
.nl-toast__close:hover { color: var(--black); }

.nl-toast__eyebrow {
  font-family: 'Nominee', sans-serif;
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dark-grey);
  margin-bottom: 10px;
}

.nl-toast__title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.35;
  margin-bottom: 14px;
}

.nl-toast__desc {
  font-size: 12px;
  font-weight: 300;
  color: var(--dark-grey);
  line-height: 1.65;
  margin-bottom: 18px;
}

.nl-toast__form {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 10px;
}

.nl-toast__input {
  font-family: 'Nominee', sans-serif;
  font-size: 7px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  padding: 9px 11px;
  background: var(--white);
  outline: none;
  width: 100%;
  color: var(--charcoal);
  transition: border-color 0.15s;
}
.nl-toast__input:focus { border-color: var(--mid-grey); }
.nl-toast__input::placeholder { color: var(--mid-grey); }

.nl-toast__btn {
  font-family: 'Nominee', sans-serif;
  font-size: 7px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--charcoal);
  color: var(--white);
  border: none;
  padding: 9px 11px;
  cursor: pointer;
  width: 100%;
  transition: opacity 0.15s;
}
.nl-toast__btn:hover { opacity: 0.85; }

.nl-toast__fine {
  font-family: 'Nominee', sans-serif;
  font-size: 6.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid-grey);
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
/* ── Tablet & Mobile ── */
@media (max-width: 768px) {
  :root { --pad: 28px; }

  .site-header { grid-template-columns: auto 1fr auto; }
  .header-left { display: none; }
  .header-right { display: none; }
  .header-center { justify-content: flex-start; }
  .header-mobile-toggle { display: flex; }
  .site-header.mobile-open .header-left,
  .site-header.mobile-open .header-right { display: none; }

  .mobile-nav-drawer { display: flex; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + var(--bar-h) + 60px); padding-bottom: 72px; }
  .hero__statement { font-size: clamp(22px, 6vw, 34px); }

  .tamr-offer__grid { grid-template-columns: 1fr; gap: 32px; }
  .tamr-offer__right { padding-top: 0; }
  .tamr-values__grid { grid-template-columns: 1fr; gap: 40px; }
  .tamr-values__col { padding-right: 0; }
  .tamr-pillar { border-right: none; border-bottom: 1px solid var(--rule); padding: 24px 0; }
  .tamr-pillar:not(:first-child) { padding-left: 0; }
  .tamr-pillar:last-child { border-bottom: none; }

  .showcase-grid { grid-template-columns: 1fr; gap: 56px; }

  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { border-right: none; border-bottom: 1px solid var(--rule); }
  .pricing-card:last-child { border-bottom: none; }
  .pricing-card--bundle { margin: 0; border: 1px solid var(--black); }

  .newsletter-form { flex-direction: column; }
  .newsletter-input { border-right: 1px solid var(--rule); border-bottom: none; }

  .site-footer__nav { gap: 14px; }

  .templates-grid { grid-template-columns: 1fr; }
  .template-item { border-right: none !important; border-bottom: 1px solid var(--rule) !important; }
  .template-item:last-child { border-bottom: none !important; }

  .two-col-content { grid-template-columns: 1fr; gap: 32px; }

  .product-layout { grid-template-columns: 1fr; }
  .product-layout__media { position: relative; top: auto; height: auto; min-height: 50vw; }
  .mockup-panel { min-height: 56vw; }
  .product-layout__info { padding: 40px var(--pad); border-left: none; border-top: 1px solid var(--rule); }
  .product-info__row { grid-template-columns: 80px 1fr; gap: 14px; }
  .diagnostic-item__desc,
  .diagnostic-item__media { padding-left: 0; margin-left: 0; }

  .instruments-trio { grid-template-columns: 1fr; gap: 40px; }
  .instruments-showcase__grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-banner__inner { grid-template-columns: 1fr; gap: 40px; }
  .cta-banner__actions { align-items: stretch; min-width: auto; }

  .toc-grid { grid-template-columns: 1fr; gap: 0; }
  .part-row { grid-template-columns: 36px 1fr; gap: 14px; }

  .about-statement { padding: calc(var(--header-h) + var(--bar-h) + 60px) 0 80px; }
  .about-statement__lead { margin-bottom: 40px; }
  .about-statement__condensed { text-align: left; letter-spacing: 0.12em; line-height: 2; }
  .about-statement__pull { padding-left: 20px; margin: 36px 0; }

  .nl-toast { display: none; }
}

/* ── Small mobile ── */
@media (max-width: 480px) {
  :root { --pad: 20px; }

  .hero__statement { font-size: 22px; }
  .page-hero__title { font-size: 28px; }
  .splash__img { width: clamp(200px, 80vw, 300px); }
  .popup { padding: 40px 24px; }

  .product-info__row { grid-template-columns: 1fr; gap: 6px; }
  .product-info__label { padding-top: 0; }
  .mockup-panel { min-height: 64vw; padding: 16px 16px 32px; }

  .popup-badge { padding: 14px 18px; max-width: 80vw; }
  .popup-badge__text { font-size: 10px; }

  .about-statement__condensed { font-size: 8px; letter-spacing: 0.1em; }
  .about-statement__lead { font-size: 18px; }
  .about-statement__pull { font-size: 15px; }

  .announce-modal { padding: 36px 24px; }
}


/* ═══════════════════════════════════════════════════════════════
   ANNOUNCEMENT BAR
   ═══════════════════════════════════════════════════════════════ */
.announce-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--bar-h);
  background: var(--charcoal);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.announce-bar.dismissed {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.announce-bar__text {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.8);
  text-transform: none;
  white-space: nowrap;
}

.announce-bar__text--mobile { display: none; }

.announce-bar__close {
  position: absolute;
  right: var(--pad);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.15s;
}
.announce-bar__close:hover { color: rgba(255,255,255,0.8); }

/* ── Subscribe modal ── */
.announce-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
}
.announce-modal-overlay.open { display: flex; }

.announce-modal {
  background: var(--white);
  padding: 48px 40px;
  max-width: 420px;
  width: 90%;
  position: relative;
}

.announce-modal__close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--mid-grey);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.15s;
}
.announce-modal__close:hover { color: var(--charcoal); }

.announce-modal__eyebrow {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 16px;
}

.announce-modal__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.announce-modal__desc {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.6;
  color: var(--mid-grey);
  margin-bottom: 24px;
}

.announce-modal__form {
  display: flex;
}

.announce-modal__form .newsletter-input {
  flex: 1;
}

.announce-modal__form .newsletter-submit {
  /* inherits existing styles */
}

.announce-modal__fine {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--mid-grey);
  margin-top: 14px;
  text-align: center;
}

/* ── Bar dismissed state ── */
:root.bar-dismissed {
  --bar-h: 0px;
}

@media (max-width: 768px) {
  .announce-bar__text--desktop { display: none; }
  .announce-bar__text--mobile { display: inline; }
  .announce-bar__close { right: var(--pad); }
  .announce-modal { padding: 36px 28px; }
  .announce-modal__form { flex-direction: column; gap: 8px; }
  .announce-modal__form .newsletter-input { border-right: 1px solid var(--rule); }
}

@media (max-width: 480px) {
  .announce-bar__text { font-size: 11px; }
  .announce-bar__close { right: 12px; }
  .announce-modal { padding: 28px 20px; }
}
