/* N&I Design 2.4.22 — icon font repair, repeated editorial orbit motif and information-page layout. */

/* WordPress toolbar: keep text in its native UI font, but restore the Dashicons glyph font. */
body.admin-bar #wpadminbar .ab-icon:before,
body.admin-bar #wpadminbar .ab-item:before,
body.admin-bar #wpadminbar .ab-label:before,
body.admin-bar #wpadminbar .quicklinks .ab-empty-item:before {
  font-family: dashicons !important;
  font-style: normal !important;
  font-weight: 400 !important;
  speak: never;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar #wpadminbar .ab-icon,
body.admin-bar #wpadminbar .ab-item {
  text-decoration: none;
}

/* A restrained family of concentric lines echoes the entryway product section. */
.hero-section,
.collection-section,
.intro-strip,
.brand-section,
.home-journal,
.nid-contact-hero,
.nid-contact-main,
.archive-intro,
.single-product-main,
.standard-page,
.article-content {
  isolation: isolate;
}
.hero-section::before,
.collection-section::before,
.intro-strip::before,
.home-journal::before,
.nid-contact-hero::before,
.nid-contact-main::before,
.archive-intro::before,
.single-product-main::before,
.standard-page::before,
.article-content::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: clamp(220px, 34vw, 470px);
  aspect-ratio: 1;
  border: 1px solid rgba(177, 156, 104, .20);
  border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(177, 156, 104, .045), 0 0 0 54px rgba(177, 156, 104, .028), 0 0 0 82px rgba(177, 156, 104, .018);
  pointer-events: none;
}
.hero-section::before { left: -245px; top: 5%; }
.collection-section::before { right: -250px; top: 4%; }
.intro-strip::before { left: -255px; top: -130%; width: 310px; opacity: .75; }
.home-journal::before { left: -260px; top: 8%; }
.nid-contact-hero::before { right: -245px; top: -34%; }
.nid-contact-main::before { left: -260px; bottom: -36%; }
.archive-intro::before { right: -255px; top: -38%; }
.single-product-main::before { left: -255px; top: 24%; }
.standard-page::before { right: -250px; top: 8%; }
.article-content::before { left: -275px; bottom: -34%; }

.hero-layout, .hero-bottom,
.collection-section > .container,
.intro-strip__inner,
.brand-layout,
.home-journal > .container,
.nid-contact-hero__inner,
.nid-contact-main > .container,
.archive-intro > .container,
.single-product-main > .container,
.standard-page__inner,
.article-content > * {
  position: relative;
  z-index: 1;
}

/* Dark brand story: the same delicate line work, with slightly warmer contrast. */
.brand-section::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  z-index: 0;
  top: -42%;
  right: -15%;
  width: clamp(350px, 50vw, 680px);
  aspect-ratio: 1;
  border: 1px solid rgba(219, 199, 148, .19);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(219, 199, 148, .035), 0 0 0 72px rgba(255, 255, 255, .022), 0 0 0 112px rgba(219, 199, 148, .015);
  pointer-events: none;
}
.brand-layout { position: relative; z-index: 1; }

/* Entryway module already owns two rings on the right; add one quieter counterweight on the left. */
.nid-entryway-story__ambient::before {
  content: "";
  position: absolute;
  left: -17%;
  bottom: -48%;
  width: min(45vw, 610px);
  aspect-ratio: 1;
  border: 1px solid rgba(211, 190, 139, .14);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(255, 255, 255, .025), 0 0 0 62px rgba(211, 190, 139, .018);
}

/* Footer uses the orbit motif on both sides, but keeps the legal links calm and compact. */
.site-footer.nid-footer--v234::after {
  content: "";
  position: absolute;
  left: -180px;
  bottom: -390px;
  width: 500px;
  aspect-ratio: 1;
  border: 1px solid rgba(185, 166, 111, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(185, 166, 111, .022), 0 0 0 64px rgba(255, 255, 255, .014);
  pointer-events: none;
}
.nid-footer__main {
  grid-template-columns: minmax(0,1.12fr) minmax(125px,.68fr) minmax(165px,.78fr) minmax(190px,.9fr) !important;
  gap: clamp(22px, 3.2vw, 48px) !important;
}
.nid-footer__legal { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.nid-footer__legal-menu { gap: 10px !important; }
.nid-footer__legal-menu a { font-size: 10px !important; color: #D5D8D4 !important; }
.nid-footer__legal-menu a:hover { color: #E0C77E !important; }

/* Readable editorial rhythm for the new information pages. */
.standard-page { position: relative; overflow: hidden; }
.standard-page__inner { padding-bottom: clamp(65px, 8vw, 110px); }
.standard-page__inner > h1 { max-width: 900px; }
.standard-page .entry-content { max-width: 860px; margin-top: 25px; color: #596165; font-size: 15px; line-height: 1.9; }
.standard-page .entry-content > * { position: relative; z-index: 1; }
.standard-page .entry-content p { margin: 0 0 19px; }
.standard-page .entry-content p.lead { color: #4A5055; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.75; font-weight: 520; }
.standard-page .entry-content h2 { margin: 38px 0 13px; color: #454D51; font-size: clamp(23px, 2.6vw, 30px); line-height: 1.16; letter-spacing: -.045em; }
.standard-page .entry-content h3 { margin: 26px 0 10px; color: #4A5055; font-size: 19px; line-height: 1.25; }
.standard-page .entry-content ul { margin: 0 0 24px; padding-left: 22px; }
.standard-page .entry-content li { margin: 0 0 10px; padding-left: 4px; }
.standard-page .entry-content a { color: #8D7747; text-decoration: underline; text-decoration-color: rgba(141,119,71,.35); text-underline-offset: 3px; }
.standard-page .entry-content a:hover { color: #4A5055; }
.nid-page-highlight { display: flex; flex-direction: column; gap: 7px; margin: 31px 0; padding: 21px 25px; border-left: 2px solid #B3A06A; background: rgba(226,224,216,.48); }
.nid-page-highlight strong { color: #4A5055; font-size: 18px; }
.nid-page-highlight span { color: #707779; font-size: 13px; }
.nid-page-editor-note { margin-top: 36px !important; padding: 17px 20px; border-left: 2px solid #B3A06A; background: rgba(226,224,216,.56); color: #626A6D; font-size: 13px; }

/* Admin-side page editor shortcuts. */
.nid-admin-page-links { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-top: 18px; }
.nid-admin-page-links a { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; min-height: 68px; padding: 13px 15px; border: 1px solid #e3e0d8; border-radius: 10px; background: #fffefa; text-decoration: none; }
.nid-admin-page-links a strong { color: #3d474b; font-size: 12px; }
.nid-admin-page-links a span { color: #947c49; font-size: 10px; }
.nid-admin-page-links a:hover { border-color: #b3a06a; background: #faf8f1; }

@media (max-width: 1080px) {
  .nid-footer__main { grid-template-columns: 1fr 1fr !important; gap: 28px 24px !important; }
  .nid-footer__brand { grid-column: 1 / -1; }
  .nid-footer__nav { grid-column: 1; }
  .nid-footer__legal { grid-column: 2; }
  .nid-footer__contact { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .nid-footer__main { grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important; gap: 25px 18px !important; }
  .nid-footer__brand { grid-column: 1 / -1; }
  .nid-footer__nav { grid-column: 1; }
  .nid-footer__legal { grid-column: 2; }
  .nid-footer__contact { grid-column: 1 / -1; }
  .nid-admin-page-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-section::before, .collection-section::before, .home-journal::before,
  .nid-contact-hero::before, .nid-contact-main::before, .archive-intro::before,
  .single-product-main::before, .standard-page::before, .article-content::before { opacity: .62; }
}
@media (max-width: 420px) {
  .nid-footer__main { gap: 21px 12px !important; }
  .nid-footer__legal-menu a { font-size: 9px !important; }
  .nid-admin-page-links { grid-template-columns: 1fr; }
  .standard-page .entry-content { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .nid-footer__legal-menu a { transition: none !important; }
}

/* Balanced left/right ring placement, kept inside each section's own clipping context. */
.hero-section, .collection-section, .intro-strip, .home-journal,
.nid-contact-hero, .nid-contact-main, .archive-intro,
.single-product-main, .standard-page {
  position: relative;
  overflow: hidden;
}
.hero-section::after,
.collection-section::after,
.intro-strip::after,
.home-journal::after,
.nid-contact-hero::after,
.nid-contact-main::after,
.archive-intro::after,
.single-product-main::after,
.standard-page::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: clamp(190px, 27vw, 360px);
  aspect-ratio: 1;
  border: 1px solid rgba(177, 156, 104, .13);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(177, 156, 104, .028), 0 0 0 50px rgba(177, 156, 104, .018);
  pointer-events: none;
}
.hero-section::after { right: -225px; bottom: -46%; }
.collection-section::after { left: -230px; bottom: -24%; }
.intro-strip::after { right: -230px; top: -170%; width: 300px; }
.home-journal::after { right: -230px; bottom: -30%; }
.nid-contact-hero::after { left: -220px; bottom: -55%; }
.nid-contact-main::after { right: -220px; top: 14%; }
.archive-intro::after { left: -220px; bottom: -48%; }
.single-product-main::after { right: -220px; bottom: -22%; }
.standard-page::after { left: -215px; bottom: -28%; }

/* The article body already sits below its full-bleed featured-image header; keep that reading canvas uncluttered. */
.article-content::before { content: none !important; display: none !important; }
