/*
  Theme Name: NORTH STAR MEDIA
  Author: NORTH STAR MEDIA S.L.
  Support: https://northstarmedia-sl.com / orders@northstarmedia-sl.com
  Description: Brand overrides — blush sand & muted steel atelier
*/

:root {
  --theme-color: #C49A88;
  --theme-color-1: #6A757C;
  --ns-ivory: #F6F2ED;
  --ns-elevated: #FFFCF8;
  --ns-ink: #1E2430;
  --gradient-bg: linear-gradient(135deg, #F6F2ED 0%, #EDE4DC 50%, #E2E6E8 100%);
  --section-wash: #EFE7DF;
  --section-elevated: #FFFCF8;
  --border-night: rgba(30, 36, 48, 0.12);
  --text-muted: #6B645C;
  --ns-ink-soft: rgba(30, 36, 48, 0.78);
  /* Sticky header is ~103px on desktop; the rest is breathing room */
  --ns-anchor-offset: 7.5rem;
}

/*
 * Anchor landings must clear the sticky header. Only scroll-margin is used —
 * combining it with scroll-padding on <html> doubles the gap.
 * The :target rule catches any future anchor without its own rule.
 */
.ns-faq-block,
.ns-legal > section,
[id]:target {
  scroll-margin-top: var(--ns-anchor-offset);
}

/* Below 992px the header scrolls away, so only a small gap is needed */
@media (max-width: 991px) {
  :root {
    --ns-anchor-offset: 1.75rem;
  }
}

body {
  color: var(--ns-ink);
  background: var(--ns-ivory);
  font-family: "Outfit", sans-serif;
}

h1, h2, h3, h4, h5, h6,
.sec-title,
.banner-section .content-box h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  color: var(--ns-ink);
  letter-spacing: 0.02em;
}

a { color: var(--theme-color-1); }
a:hover { color: var(--theme-color); }

/* —— Preloader: fabric field + framed seam stitch —— */
.ns-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EDE4DC;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.ns-preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ns-preloader__fabric {
  position: absolute;
  inset: 0;
  background-image: url("../images/ns/preloader-fabric.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.ns-preloader__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(247, 243, 238, 0.55) 0%, rgba(237, 228, 220, 0.35) 42%, rgba(220, 210, 198, 0.5) 100%),
    linear-gradient(320deg, rgba(196, 154, 136, 0.28) 0%, transparent 55%);
}

.ns-preloader__panel {
  position: relative;
  z-index: 1;
  text-align: center;
  width: min(420px, 90vw);
  padding: 1.85rem 1.75rem 1.65rem;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFCF8 0%, #F7F3EE 100%);
  border: 1px solid rgba(42, 36, 32, 0.14);
  box-shadow:
    0 18px 48px rgba(42, 36, 32, 0.12),
    inset 0 0 0 1px rgba(255, 252, 248, 0.7);
}

.ns-preloader__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../images/ns/preloader-burlap.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  pointer-events: none;
}

.ns-preloader__mark,
.ns-preloader__brand,
.ns-preloader__seam {
  position: relative;
  z-index: 1;
}

.ns-preloader__mark {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 0.85rem;
  object-fit: contain;
}

.ns-preloader__brand {
  /* Matches logo.svg wordmark: Georgia / Times New Roman */
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ns-ink);
  margin: 0 0 1.35rem;
  font-weight: 400;
  white-space: nowrap;
}

.ns-preloader__seam {
  width: 100%;
  margin: 0 auto;
}

.ns-preloader__seam-svg {
  width: 100%;
  height: 52px;
  overflow: visible;
  display: block;
}

.ns-preloader__seam-clip {
  transition: width 0.08s linear;
}

.ns-preloader__seam-needle {
  transform: translate(8px, 0);
  transition: transform 0.08s linear;
}

.ns-preloader__seam-needle-bob {
  transform-origin: 10px 18px;
  animation: nsNeedleBob 0.42s ease-in-out infinite;
}

@keyframes nsNeedleBob {
  0%, 100% { transform: translateY(-5px) rotate(-10deg); }
  50% { transform: translateY(6px) rotate(8deg); }
}

@media (prefers-reduced-motion: reduce) {
  .ns-preloader__seam-needle-bob {
    animation: none;
  }
  .ns-preloader__seam-clip,
  .ns-preloader__seam-needle {
    transition: none;
  }
}

@media (max-width: 480px) {
  .ns-preloader__brand {
    letter-spacing: 0.16em;
    white-space: normal;
    line-height: 1.35;
  }
}

/* —— Header style two (transparent over hero, compact) —— */
header.main-header.header-style-two {
  background: transparent;
}

.header-top-two {
  background: transparent !important;
  border: none;
}

.header-top-two .inner-container {
  padding-top: 16px !important;
  padding-bottom: 6px !important;
}

.header-top-two_contact-info {
  margin-bottom: 0 !important;
  padding-left: 38px;
}

.header-top-two_contact-info-icon {
  color: var(--theme-color);
  background: transparent;
  font-size: 20px !important;
  top: 2px !important;
}

.header-top-two_mail-title,
.header-top-two_phone-title {
  color: rgba(255, 252, 248, 0.7) !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-family: "Outfit", sans-serif !important;
}

.header-top-two-mail,
.header-top-two-phone {
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
}

.header-top-two-mail a,
.header-top-two-phone a,
.header-top-two-phone {
  color: #fff !important;
}

.header-top-two-mail a:hover,
.header-top-two-phone a:hover {
  color: var(--theme-color) !important;
}

/* Center logo in top bar — always visible on desktop */
.header-top-two {
  position: relative;
}

.header-top-two .left-column {
  max-width: calc(50% - 200px);
  z-index: 1;
}

.header-top-two .right-column {
  max-width: calc(50% - 200px);
  margin-left: auto;
  z-index: 1;
}

.header-top-two .middle-column {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 420px;
  height: 56px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.header-top-two .middle-column .logo-box,
.header-top-two .middle-column .logo,
.header-top-two .middle-column a {
  pointer-events: auto;
  display: block !important;
  width: 100%;
  margin: 0 !important;
}

.header-top-two .logo-box {
  display: block !important;
  margin-bottom: 0 !important;
}

.header-top-two .logo-box .logo img {
  display: block !important;
  width: 400px !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

.header-top-two-phone a[data-ns-map] {
  cursor: pointer;
}

/* Upper logo: for tablet/mobile when template hides top-bar logo */
.header-style-two .header-upper .ns-upper-logo {
  display: none;
}

.header-style-two .header-upper .ns-upper-logo .logo img {
  width: 260px !important;
  max-width: 70vw !important;
  height: auto !important;
  max-height: none !important;
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.35));
}

@media only screen and (max-width: 1139px) {
  .header-top-two .logo-box {
    display: block !important;
  }

  .header-style-two .header-upper .ns-upper-logo {
    display: block !important;
  }
}

@media only screen and (max-width: 991px) {
  .header-style-two .header-upper {
    background: rgba(30, 36, 48, 0.88) !important;
    padding: 10px 0;
  }

  .header-style-two .header-upper .inner-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

.main-header.header-style-two .header-upper {
  background: transparent !important;
  border: none !important;
  backdrop-filter: none;
  box-shadow: none;
}

.main-header.header-style-two .main-menu .navigation > li {
  padding: 6px 0 !important;
}

.main-header.header-style-two .main-menu .navigation > li > a {
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  /* Only color — template `transition: all` made underlines jump */
  transition: color 0.45s ease !important;
}

.main-header.header-style-two .main-menu .navigation > li.current > a,
.main-header.header-style-two .main-menu .navigation > li > a:hover {
  color: var(--theme-color);
}

/* Kill any leftover template/pseudo underlines on top-level nav */
.main-header.header-style-two .main-menu .navigation > li > a::after {
  content: none !important;
  display: none !important;
}

/*
 * Dropdown affordance — tiny chevron only (not icon set).
 * Stitch underline + CTA already carry motion; extra icons would clutter.
 */
.main-header.header-style-two .main-menu .navigation > li.dropdown > a {
  padding-right: 1.1em !important;
}

.main-header.header-style-two .main-menu .navigation > li.dropdown > a::before {
  content: "";
  position: absolute;
  right: 0.05em;
  top: 50%;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-72%) rotate(45deg);
  opacity: 0.5;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.main-header.header-style-two .main-menu .navigation > li.dropdown:hover > a::before,
.main-header.header-style-two .main-menu .navigation > li.dropdown:focus-within > a::before {
  transform: translateY(-28%) rotate(225deg);
  opacity: 0.95;
}

@media (prefers-reduced-motion: reduce) {
  .main-header.header-style-two .main-menu .navigation > li.dropdown > a::before {
    transition: none;
  }
}

/*
 * Stitch underline — outer clip width grows (JS); inner dash track stays
 * full-size so dashes reveal L→R (scaleX would squash the mask).
 */
/* Seam geometry (left/width) and the draw transition are set inline by north-star.js */
.main-header.header-style-two .main-menu .navigation > li > a .ns-nav-seam {
  position: absolute;
  bottom: 4px;
  display: block;
  width: 0;
  height: 2px;
  margin-left: 0;
  overflow: hidden;
  pointer-events: none;
  animation: none !important;
}

/*
 * Single dashed stitch — long dashes, not square dots.
 * Never use `background` shorthand here — it kills the stitch pattern.
 */
.main-header.header-style-two .main-menu .navigation > li > a .ns-nav-seam__track {
  display: block;
  height: 2px;
  background-color: var(--theme-color);
  background-image: none !important;
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 7px, transparent 7px 11px);
  mask-image: repeating-linear-gradient(90deg, #000 0 7px, transparent 7px 11px);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
}

.main-header .main-menu .navigation > li > ul {
  background: var(--ns-elevated);
  border: 1px solid var(--border-night);
  box-shadow: 0 16px 40px rgba(30, 36, 48, 0.08);
}

.main-header .main-menu .navigation > li > ul > li > a {
  color: var(--ns-ink-soft);
  font-size: 13px;
}

.main-header .main-menu .navigation > li > ul > li > a:hover,
.main-header .main-menu .navigation > li > ul > li.current > a {
  color: var(--theme-color);
}

/* Nav CTA — same fill + stitch motion as hero primary */
.main-header.header-style-two .main-menu .navigation > li.ns-nav-cta-item {
  margin-left: 0.35rem;
  padding: 6px 0 !important;
}

.main-header.header-style-two .main-menu .navigation > li > a.ns-nav-cta.theme-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px !important;
  padding: 8px 18px !important;
  margin: 0 8px;
  font-size: 11px !important;
  line-height: 1.2 !important;
  color: #fff !important;
  border: 2px solid var(--theme-color) !important;
  background-color: var(--theme-color) !important;
  text-transform: uppercase;
}

.main-header.header-style-two .main-menu .navigation > li > a.ns-nav-cta.theme-btn:hover {
  color: #fff !important;
}

.main-header.header-style-two .main-menu .navigation > li > a.ns-nav-cta.theme-btn:before {
  background-color: var(--theme-color-1) !important;
  opacity: 1 !important;
}

.header-style-two .sticky-header .main-menu .navigation > li > a.ns-nav-cta.theme-btn {
  color: #fff !important;
}

/*
 * Sticky / mobile / footer — preloader silk + sparse tool watermark
 * (unique stack; the wash sections use bg-fabric-rolls-ink)
 * Note: !important only once at end of each shorthand/list — mid-list breaks the property.
 */
/* Sticky / mobile — silk only (no tool icons in nav) */
.header-style-two .sticky-header,
.fixed-header .sticky-header,
.mobile-menu .menu-box {
  background-color: #EDE4DC !important;
  background-image:
    linear-gradient(
      180deg,
      rgba(255, 252, 248, 0.28) 0%,
      rgba(246, 242, 237, 0.22) 100%
    ),
    url("../images/ns/preloader-fabric.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Footer only — silk base; isometric icons via ::before (not in nav) */
.main-footer,
footer.main-footer {
  position: relative;
  background-color: #EDE4DC !important;
  background-image:
    linear-gradient(
      180deg,
      rgba(255, 252, 248, 0.22) 0%,
      rgba(246, 242, 237, 0.16) 100%
    ),
    url("../images/ns/preloader-fabric.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  overflow: hidden;
}

/*
 * Footer vignettes (option 1) — two calm anchors, not a scattered field:
 * ::before = scissors + ruler + needle (lower left)
 * ::after  = cropped fabric roll (right edge)
 */
.main-footer::before,
footer.main-footer::before {
  content: "";
  position: absolute;
  left: -1%;
  bottom: 6%;
  z-index: 0;
  pointer-events: none;
  width: min(240px, 28vw);
  height: min(220px, 42%);
  background-image: url("../images/ns/footer-cluster-left.png?v=1");
  background-size: contain;
  background-position: left bottom;
  background-repeat: no-repeat;
  opacity: 0.5;
  -webkit-mask-image: none;
  mask-image: none;
}

.main-footer::after,
footer.main-footer::after {
  content: "";
  position: absolute;
  right: -4%;
  top: 50%;
  z-index: 0;
  pointer-events: none;
  width: min(300px, 32vw);
  height: min(260px, 70%);
  transform: translateY(-52%);
  background-image: url("../images/ns/footer-roll-right.png?v=1");
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
  opacity: 0.48;
}

.main-footer > *,
footer.main-footer > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .main-footer::before,
  footer.main-footer::before {
    width: min(150px, 38vw);
    height: 120px;
    opacity: 0.38;
    bottom: 4%;
  }

  .main-footer::after,
  footer.main-footer::after {
    width: min(160px, 40vw);
    height: 140px;
    opacity: 0.34;
    right: -8%;
  }
}

.header-style-two .sticky-header {
  box-shadow: 0 8px 28px rgba(30, 36, 48, 0.08);
  /* Darker blush for links on light silk — #C49A88 washes out */
  --ns-sticky-link: #1A1F28;
  --ns-sticky-accent: #8F5E4A;
}

.header-style-two .sticky-header .main-menu .navigation > li > a {
  color: var(--ns-sticky-link) !important;
}

.header-style-two .sticky-header .main-menu .navigation > li.current > a,
.header-style-two .sticky-header .main-menu .navigation > li > a:hover {
  color: var(--ns-sticky-accent) !important;
}

.header-style-two .sticky-header .main-menu .navigation > li > a .ns-nav-seam__track {
  background-color: var(--ns-sticky-accent) !important;
  background-image: none !important;
}

.header-style-two .sticky-header .logo-box .logo img {
  filter: none !important;
  width: 300px !important;
  max-width: min(42vw, 300px) !important;
  height: auto !important;
  max-height: none !important;
}

.header-style-two .sticky-header .header-upper {
  padding: 10px 0;
}

.header-style-two .sticky-header .mobile-nav-toggler img {
  filter: brightness(0) opacity(0.72);
}

/*
 * Below the burger breakpoint the template drops the sticky bar altogether, so
 * the header scrolls away and there is no route back to the menu without
 * returning to the top. Bring it back as a compact logo + burger row — the
 * cloned link list inside it stays hidden, as it does in the page header.
 */
@media (max-width: 1139px) {
  .main-header .sticky-header {
    display: block !important;
  }

  .main-header .sticky-header .header-upper {
    padding: 0 !important;
  }

  .main-header .sticky-header .inner-container {
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 58px;
  }

  /* The template stretches this column to full width, which drops the burger
     onto a second line under the logo */
  .main-header .sticky-header .right-column {
    width: auto !important;
    justify-content: flex-end;
  }

  .main-header .sticky-header .logo-box .logo {
    display: flex;
    align-items: center;
  }

  /* Matches the 260px mark the page header uses, so the brand does not shrink
     into a faint line the moment the header turns sticky */
  .header-style-two .sticky-header .logo-box .logo img {
    display: block;
    width: 265px !important;
    max-width: 68vw !important;
  }

  .main-header .sticky-header .mobile-nav-toggler {
    display: flex;
    align-items: center;
    margin: 0 !important;
  }
}

.mobile-menu .menu-box {
  color: var(--ns-ink);
}

.mobile-menu .nav-logo img {
  width: 260px !important;
  max-width: 80% !important;
  height: auto !important;
  filter: none !important;
}

/* The wordmark stops well short of the drawer's own padding; let it take more
   of the panel so it carries the same weight as the logo in the sticky bar. */
@media (max-width: 1139px) {
  .mobile-menu .nav-logo img {
    max-width: 90% !important;
  }
}

.mobile-menu .navigation li > a {
  color: var(--ns-ink) !important;
}

.mobile-menu .navigation li.current > a,
.mobile-menu .navigation li > a:hover {
  color: var(--theme-color) !important;
}

/*
 * The CTA in the drawer is a filled button, not a text link. On its own page
 * the .current colour above would paint the label in the same blush as the
 * fill and the word disappears — keep it light, as in the desktop header.
 */
.mobile-menu .navigation li > a.ns-nav-cta,
.mobile-menu .navigation li.current > a.ns-nav-cta,
.mobile-menu .navigation li > a.ns-nav-cta:hover {
  color: #FFFCF8 !important;
}

/*
 * The template paints these chevrons white on a white tint, which disappears
 * against the light silk panel. Give them a bordered plate, and let the open
 * state fill so the expanded branch is readable at a glance.
 */
.mobile-menu .navigation li.dropdown .dropdown-btn {
  color: #8F5E4A !important;
  background: rgba(196, 154, 136, 0.18) !important;
  border: 1px solid rgba(143, 94, 74, 0.4);
  line-height: 30px;
}

.mobile-menu .navigation li.dropdown .dropdown-btn.open {
  color: #FFFCF8 !important;
  background: var(--theme-color) !important;
  border-color: var(--theme-color);
}

.mobile-menu .close-btn {
  color: var(--ns-ink);
}

.mobile-menu .social-links { display: none; }

/* —— Buttons: option 3 — stitch first, then square fill (colors unchanged) —— */
.theme-btn.btn-style-one,
.btn-style-one {
  font-family: "Outfit", sans-serif !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1.2 !important;
  padding: 16px 36px !important;
  min-height: 52px;
  box-sizing: border-box;
  color: #fff !important;
  border: 2px solid var(--theme-color) !important;
  background-color: var(--theme-color);
  overflow: hidden;
  z-index: 0;
}

.theme-btn.btn-style-one:hover,
.btn-style-one:hover {
  color: #fff !important;
}

/*
 * Stitch first, then square fill.
 * Use width (not scaleX) — template + some browsers skip transform on ::before.
 */
.theme-btn.btn-style-one:before,
.btn-style-one:before {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  right: auto !important;
  width: 0 !important;
  height: auto !important;
  content: "" !important;
  background-color: var(--theme-color-1) !important;
  opacity: 1 !important;
  border-radius: 0 !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  transform: none !important;
  -webkit-transition: width 0.42s cubic-bezier(0.4, 0, 0.2, 1) 0.28s !important;
  -o-transition: width 0.42s cubic-bezier(0.4, 0, 0.2, 1) 0.28s !important;
  transition: width 0.42s cubic-bezier(0.4, 0, 0.2, 1) 0.28s !important;
  z-index: -1 !important;
}

.theme-btn.btn-style-one:hover:before,
.btn-style-one:hover:before {
  width: 100% !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Secondary CTA — same motion, steel / ghost colorway */
.theme-btn.btn-style-one.ns-btn-secondary {
  background-color: transparent !important;
  border-color: var(--theme-color-1) !important;
  color: var(--ns-ink) !important;
}

.theme-btn.btn-style-one.ns-btn-secondary:before {
  background-color: var(--theme-color-1) !important;
}

.theme-btn.btn-style-one.ns-btn-secondary:hover {
  color: #fff !important;
}

/* Dark surfaces: hero, inner-page head, ink sections, and the room band */
.ns-hero .theme-btn.btn-style-one.ns-btn-secondary,
.ns-pagehead .theme-btn.btn-style-one.ns-btn-secondary,
.ns-room .theme-btn.btn-style-one.ns-btn-secondary,
.ns-section--ink .theme-btn.btn-style-one.ns-btn-secondary {
  border-color: rgba(255, 252, 248, 0.88) !important;
  color: #fff !important;
}

.ns-hero .theme-btn.btn-style-one.ns-btn-secondary:before,
.ns-pagehead .theme-btn.btn-style-one.ns-btn-secondary:before,
.ns-room .theme-btn.btn-style-one.ns-btn-secondary:before,
.ns-section--ink .theme-btn.btn-style-one.ns-btn-secondary:before {
  background-color: #fff !important;
}

.ns-hero .theme-btn.btn-style-one.ns-btn-secondary:hover,
.ns-pagehead .theme-btn.btn-style-one.ns-btn-secondary:hover,
.ns-room .theme-btn.btn-style-one.ns-btn-secondary:hover,
.ns-section--ink .theme-btn.btn-style-one.ns-btn-secondary:hover {
  color: var(--ns-ink) !important;
}

.ns-map-modal .theme-btn.btn-style-one.ns-btn-secondary {
  border-color: var(--theme-color-1) !important;
  color: var(--ns-ink) !important;
}

.ns-map-modal .theme-btn.btn-style-one.ns-btn-secondary:before {
  background-color: var(--theme-color-1) !important;
}

.ns-map-modal .theme-btn.btn-style-one.ns-btn-secondary:hover {
  color: #fff !important;
}

/* Stitch on inner <span> — all primary buttons */
.theme-btn.btn-style-one > span,
.btn-style-one > span,
.ns-stitch-btn > span {
  position: relative;
  z-index: 1;
  display: inline-block;
}

.theme-btn.btn-style-one > span::before,
.btn-style-one > span::before,
.ns-stitch-btn > span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -30%;
  width: 12px;
  height: 2px;
  margin-top: -1px;
  background: currentColor;
  opacity: 0;
  transform: rotate(-18deg);
  pointer-events: none;
}

.theme-btn.btn-style-one:hover > span::before,
.btn-style-one:hover > span::before,
.ns-stitch-btn:hover > span::before {
  animation: nsNeedlePass 0.55s ease forwards;
}

.theme-btn.btn-style-one > span::after,
.btn-style-one > span::after,
.ns-stitch-btn > span::after {
  content: "";
  position: absolute;
  left: 0;
  top: auto;
  right: auto;
  bottom: -5px;
  width: 0;
  max-width: 100%;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    currentColor 0 3px,
    transparent 3px 7px
  );
  transform: none;
  -webkit-transition: width 0.28s ease;
  -o-transition: width 0.28s ease;
  transition: width 0.28s ease;
  opacity: 0.85;
}

.theme-btn.btn-style-one:hover > span::after,
.btn-style-one:hover > span::after,
.ns-stitch-btn:hover > span::after {
  width: 100%;
  transform: none;
}

@keyframes nsNeedlePass {
  0% { left: -30%; opacity: 0; }
  20% { opacity: 0.95; }
  100% { left: 110%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  /* Keep button stitch+fill motion — OS “reduce motion” was skipping it entirely */
  .theme-btn.btn-style-one:hover > span::before,
  .btn-style-one:hover > span::before,
  .ns-stitch-btn:hover > span::before {
    animation: none;
    opacity: 0;
  }
  .main-header.header-style-two .main-menu .navigation > li > a {
    transition: none;
  }
}

/* —— Hero —— */
.ns-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ns-ink);
}

.ns-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.04);
  animation: nsHeroDrift 18s ease-in-out infinite alternate;
}

.ns-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(30, 36, 48, 0.55) 0%, rgba(30, 36, 48, 0.12) 28%, transparent 42%),
    linear-gradient(105deg, rgba(30, 36, 48, 0.72) 0%, rgba(30, 36, 48, 0.38) 48%, rgba(30, 36, 48, 0.2) 100%),
    linear-gradient(0deg, rgba(30, 36, 48, 0.45) 0%, transparent 42%);
}

.ns-hero__content {
  position: relative;
  z-index: 2;
  padding: 9rem 0 5rem;
  max-width: min(760px, 92%);
  color: #FFFCF8;
  text-align: left;
}

.ns-hero__brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FFFCF8;
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: nsRise 1s ease 0.2s forwards;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.ns-hero__brand span {
  display: inline;
  font-size: 0.92em;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #E8C4B0;
  margin-left: 0.15em;
  background: none !important;
  padding: 0 !important;
  border: none !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.ns-hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.15rem);
  line-height: 1.08;
  color: #FFFCF8;
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: nsRise 1s ease 0.4s forwards;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.3);
}

.ns-hero__lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 252, 248, 0.88);
  max-width: 38rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: nsRise 1s ease 0.6s forwards;
}

.ns-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  animation: nsRise 1s ease 0.8s forwards;
}

@keyframes nsHeroDrift {
  from { transform: scale(1.04); }
  to { transform: scale(1.08) translate3d(-1.2%, -0.8%, 0); }
}

@keyframes nsRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .ns-hero__media,
  .ns-hero__brand,
  .ns-hero h1,
  .ns-hero__lead,
  .ns-hero__ctas {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* —— Sections —— */
.ns-section {
  padding: 100px 0;
  position: relative;
}

/* The roll drawing is 1536px wide. Sizing it to a tall section (legal pages run
   several thousand pixels) upscales it into visible pixels, so it is pinned to
   the viewport instead. Contrast and wash tint are baked into the -ink asset by
   .imgtool/boost-rolls.js — the master scan is too pale to read on its own, and
   boosting it here with filter() would forfeit the fixed attachment. */
.ns-section--wash {
  background-color: var(--section-wash);
  background-image: url("../images/ns/bg-fabric-rolls-ink.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Touch browsers handle fixed attachment poorly: fall back to a width-scaled
   band anchored at the top of the section. */
@media (hover: none) {
  .ns-section--wash {
    background-size: 200% auto;
    background-position: center top;
    background-attachment: scroll;
  }
}

.ns-section--elevated {
  background-color: var(--section-elevated);
}

/* A single bolt of silk resting in the bottom-right corner — the same crop the
   footer uses. Radial mask keeps it a corner event, and it bleeds off-canvas
   so nothing reads as a pasted rectangle. */
.ns-section--roll-corner {
  overflow: hidden;
}

.ns-section--roll-corner::after {
  content: "";
  position: absolute;
  right: -3%;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  width: min(22rem, 27vw);
  height: min(17rem, 62%);
  background-image: url("../images/ns/footer-roll-right.png?v=1");
  background-size: contain;
  background-position: right bottom;
  background-repeat: no-repeat;
  opacity: 0.42;
  -webkit-mask-image: radial-gradient(
    118% 118% at 100% 100%,
    #000 42%,
    transparent 86%
  );
  mask-image: radial-gradient(118% 118% at 100% 100%, #000 42%, transparent 86%);
}

.ns-section--roll-corner > .auto-container {
  position: relative;
  z-index: 1;
}

@media (max-width: 1199px) {
  .ns-section--roll-corner::after {
    width: 13rem;
    height: 11rem;
    opacity: 0.34;
  }
}

@media (max-width: 991px) {
  .ns-section--roll-corner::after {
    display: none;
  }
}

.ns-section--folds {
  background-color: var(--ns-ivory);
  background-image: url("../images/ns/bg-fabric-folds.jpg");
  background-size: cover;
  background-position: center;
}

/* CTA / ink — navy silk (A) + quiet blush drawings only at edges (whisper of B) */
.ns-section--ink {
  position: relative;
  overflow: hidden;
  background-color: var(--ns-ink);
  background-image:
    linear-gradient(
      180deg,
      rgba(30, 36, 48, 0.4) 0%,
      rgba(30, 36, 48, 0.52) 100%
    ),
    url("../images/ns/cta-silk-navy.jpg");
  background-size: cover;
  background-position: center;
  color: rgba(255, 252, 248, 0.86);
}

/* Blush drawings (B) — transparent lines, visible only at left/right edges */
.ns-section--ink::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("../images/ns/cta-blush-edges.png?v=3");
  background-size: cover;
  background-position: center;
  opacity: 0.85;
  mix-blend-mode: normal;
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 14%,
    transparent 32%,
    transparent 68%,
    #000 86%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 14%,
    transparent 32%,
    transparent 68%,
    #000 86%,
    #000 100%
  );
}

.ns-section--ink > * {
  position: relative;
  z-index: 1;
}

.ns-section--ink .sec-title,
.ns-section--ink h2,
.ns-section--ink h3 { color: rgba(255, 252, 248, 0.94); }

/* Typography option 2 — softer hierarchy on CTA */
.ns-section--ink .ns-title {
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255, 252, 248, 0.92);
}

.ns-section--ink .ns-text {
  color: rgba(255, 252, 248, 0.62);
  font-size: 1rem;
}

.ns-kicker {
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--theme-color-1);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.ns-section--ink .ns-kicker { color: var(--theme-color); }

.ns-title {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.ns-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 36rem;
}

.ns-section--ink .ns-text { color: rgba(255, 252, 248, 0.72); }

.ns-about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.25rem;
  align-items: center;
}

.ns-about-visual {
  position: relative;
  min-height: 400px;
  cursor: default;
}

.ns-about-visual__clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.ns-about-visual__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  -webkit-transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s ease;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s ease;
}

.ns-about-visual:hover .ns-about-visual__media,
.ns-about-visual:focus-within .ns-about-visual__media {
  transform: scale(1.08);
  filter: brightness(1.06) saturate(1.08);
}

/* Decorative corner frame only — static, not a second image / no click target */
.ns-about-visual::after {
  content: "";
  position: absolute;
  inset: auto -16px -16px auto;
  width: 40%;
  height: 40%;
  border: 1px solid var(--theme-color);
  pointer-events: none;
  z-index: 1;
}

/* Services */
.ns-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.75rem;
}

.ns-services-grid--three {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.ns-service {
  position: relative;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  background: var(--ns-elevated);
  border: 1px solid rgba(30, 36, 48, 0.08);
  padding: 0;
  overflow: visible;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.4s ease;
}

.ns-service:hover,
.ns-service.ns-service--hot {
  color: inherit;
  text-decoration: none;
  transform: translateY(-10px);
  border-color: rgba(143, 94, 74, 0.28);
  box-shadow:
    0 18px 40px rgba(30, 36, 48, 0.12),
    0 4px 10px rgba(30, 36, 48, 0.06);
}

@keyframes ns-seam-x {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes ns-seam-y {
  from { height: 0; }
  to { height: 100%; }
}

@keyframes ns-link-seam {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes ns-service-icon {
  0% { transform: translateY(0) rotate(0deg); color: #6A757C; }
  60% { transform: translateY(-4px) rotate(-14deg); color: #8F5E4A; }
  100% { transform: translateY(-2px) rotate(-10deg); color: #8F5E4A; }
}

/*
 * Perimeter stitch — keyframes + .ns-service--hot (JS).
 * Do not rely on width transitions alone (often skipped / reduced-motion).
 */
.ns-service__seam {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  opacity: 0.92;
  animation: none;
}

.ns-service__seam--t,
.ns-service__seam--b {
  left: 0;
  height: 2px;
  width: 0;
  background-image: repeating-linear-gradient(
    90deg,
    #8F5E4A 0 7px,
    transparent 7px 11px
  );
}

.ns-service__seam--r,
.ns-service__seam--l {
  top: 0;
  width: 2px;
  height: 0;
  background-image: repeating-linear-gradient(
    180deg,
    #8F5E4A 0 7px,
    transparent 7px 11px
  );
}

.ns-service__seam--t { top: 0; }
.ns-service__seam--r { right: 0; }
.ns-service__seam--b { bottom: 0; left: auto; right: 0; }
.ns-service__seam--l { left: 0; top: auto; bottom: 0; }

.ns-service.ns-service--hot .ns-service__seam--t {
  animation: ns-seam-x 0.28s linear forwards;
}

.ns-service.ns-service--hot .ns-service__seam--r {
  animation: ns-seam-y 0.28s linear 0.28s forwards;
}

.ns-service.ns-service--hot .ns-service__seam--b {
  animation: ns-seam-x 0.28s linear 0.56s forwards;
}

.ns-service.ns-service--hot .ns-service__seam--l {
  animation: ns-seam-y 0.28s linear 0.84s forwards;
}

.ns-service__media {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  margin-bottom: 0;
}

.ns-service__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.15rem 1.15rem 1.2rem;
  min-height: 11.5rem;
}

.ns-service h3 {
  font-size: 1.35rem;
  margin: 0 0 0.55rem;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.25;
}

.ns-service h3 i {
  flex-shrink: 0;
  margin-top: 0.28em;
  font-size: 0.78em;
  color: #6A757C;
  line-height: 1;
  display: inline-block;
  transform-origin: center center;
}

.ns-service.ns-service--hot h3 i {
  animation: ns-service-icon 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ns-service p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.ns-service__link {
  position: relative;
  display: inline-block;
  align-self: flex-end;
  margin-top: auto;
  padding-top: 1.1rem;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8F5E4A;
  font-weight: 500;
}

/* Link stitch — full bar clipped L→R (works even when width transitions fail) */
.ns-service__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background-image: repeating-linear-gradient(
    90deg,
    #8F5E4A 0 7px,
    transparent 7px 11px
  );
  clip-path: inset(0 100% 0 0);
  animation: none;
}

.ns-service.ns-service--hot .ns-service__link::after {
  animation: ns-link-seam 0.55s ease forwards;
}

/* Services hub — richer cards + path chooser (page-specific) */
.ns-services-grid--detail {
  max-width: none;
}

.ns-service--detail .ns-service__body {
  min-height: 0;
  padding: 1.35rem 1.3rem 1.4rem;
}

.ns-service__tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8F5E4A;
}

.ns-service--detail h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.55rem);
}

.ns-service--detail p {
  margin-bottom: 0.95rem;
}

.ns-service__points {
  list-style: none;
  margin: 0 0 0.35rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.ns-service__points li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #2A3038;
}

.ns-service__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 2px;
  background-image: repeating-linear-gradient(
    90deg,
    #8F5E4A 0 4px,
    transparent 4px 6px
  );
}

/*
 * The need behind an offer, so the cards can be read from the brief inwards.
 * Sits at the bottom of the card so the three rules line up across the grid;
 * the link gives up its auto margin, otherwise the slack is split in two.
 */
.ns-service--detail .ns-service__when {
  margin: 1rem 0 0;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(143, 94, 74, 0.3);
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.ns-service--detail .ns-service__when + .ns-service__link {
  margin-top: 0;
}

/*
 * Side by side the rules have to strike at the same height, and the block is
 * anchored to the bottom of the card — so the shortest sentence keeps two
 * lines of room rather than letting its rule drop a line below the others.
 */
.ns-service__when-text {
  display: block;
}

@media (min-width: 1100px) {
  .ns-service--detail .ns-service__when-text {
    min-height: 3em;
  }
}

.ns-service__when-label {
  display: block;
  margin-bottom: 0.2rem;
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8F5E4A;
}

/* Path chooser — which offer fits the need */
.ns-paths {
  margin-top: 2.5rem;
  display: grid;
  gap: 0.85rem;
}

.ns-path {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0 1.5rem;
  align-items: center;
  padding: 1.45rem 1.5rem;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 252, 248, 0.78);
  border: 1px solid rgba(30, 36, 48, 0.1);
  overflow: hidden;
  transition:
    border-color 0.35s ease,
    background 0.35s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ns-paths .ns-path:hover,
.ns-paths .ns-path.ns-hot {
  color: inherit;
  text-decoration: none;
  transform: translateX(6px);
  border-color: rgba(143, 94, 74, 0.3);
  background: rgba(255, 252, 248, 0.96);
}

.ns-path__no {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--theme-color);
  line-height: 1;
  transition: color 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ns-paths .ns-path:hover .ns-path__no,
.ns-paths .ns-path.ns-hot .ns-path__no {
  color: #8F5E4A;
  transform: translateX(3px);
}

.ns-path__ask {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  margin: 0 0 0.25rem;
  color: var(--ns-ink);
}

.ns-path__answer {
  display: block;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
  max-width: 40rem;
}

.ns-path__go {
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8F5E4A;
  white-space: nowrap;
}

.ns-path__go i {
  margin-left: 0.35rem;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ns-paths .ns-path:hover .ns-path__go i,
.ns-paths .ns-path.ns-hot .ns-path__go i {
  transform: translateX(5px);
}

@media (max-width: 1099px) {
  .ns-services-grid--detail {
    grid-template-columns: 1fr;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .ns-path {
    grid-template-columns: 2.25rem 1fr;
    gap: 0.35rem 1rem;
    align-items: start;
    padding: 1.25rem 1.15rem;
  }

  .ns-path__go {
    grid-column: 2;
  }

  .ns-service--detail .ns-service__body {
    padding: 1.15rem 1.05rem 1.2rem;
  }
}

/* ——————————————————————————————————————————————————————————
   Single service pages — depth lives here, not in the menu:
   prose + "what's included" panel, a horizontal thread of steps,
   and honest scope boundaries.
   —————————————————————————————————————————————————————————— */

.ns-svc-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  gap: 0 3rem;
  align-items: stretch;
  margin-top: 2.25rem;
}

.ns-svc-lead__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.ns-svc-lead__frame {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
}

.ns-svc-lead__image {
  display: block;
  width: 100%;
  height: clamp(12rem, 18vw, 14.5rem);
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Basting thread pulled in toward the picture, the way a panel is tacked
   before it is set — light thread so it reads on a dark photograph */
.ns-svc-lead__frame::after {
  content: "";
  position: absolute;
  inset: 1.9rem;
  pointer-events: none;
  border: 2px dashed rgba(255, 252, 248, 0.78);
  filter: drop-shadow(0 0 2px rgba(30, 36, 48, 0.4));
  opacity: 0;
  transition:
    inset 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease;
}

.ns-svc-lead__frame:hover .ns-svc-lead__image,
.ns-svc-lead__frame.ns-hot .ns-svc-lead__image {
  transform: scale(1.05);
}

.ns-svc-lead__frame:hover::after,
.ns-svc-lead__frame.ns-hot::after {
  inset: 0.85rem;
  opacity: 1;
}

.ns-svc-lead__prose {
  padding-top: 1.45rem;
}

.ns-svc-lead__prose p {
  color: #2A3038;
  line-height: 1.72;
  margin: 0 0 1.05rem;
  max-width: 40rem;
}

.ns-svc-lead__prose p:last-child {
  margin-bottom: 0;
}

.ns-svc-lead__copy strong {
  font-weight: 500;
  color: var(--ns-ink);
}

.ns-includes {
  position: relative;
  padding: 1.75rem 1.6rem 1.85rem;
  background: var(--ns-elevated);
  border: 1px solid rgba(30, 36, 48, 0.1);
}

/* Top stitch instead of a full frame — the frame belongs to the invite bar */
.ns-includes::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-image: repeating-linear-gradient(
    90deg,
    #8F5E4A 0 7px,
    transparent 7px 11px
  );
}

.ns-includes__label {
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8F5E4A;
  margin: 0 0 1.1rem;
}

.ns-includes ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.ns-includes li {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  gap: 0 0.8rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #2A3038;
}

.ns-includes li > i {
  color: #8F5E4A;
  font-size: 0.85rem;
  margin-top: 0.28em;
}

.ns-includes li b {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ns-ink);
}

/* Flow — each stage owns a numbered medallion and the thread leaving it.
   There is no uninterrupted rail running behind empty knots. */
.ns-flow {
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

/* isolation keeps the hover panel (z-index -1) above the step's own box and
   below its text instead of falling behind the section background */
.ns-flow__step {
  position: relative;
  isolation: isolate;
  padding-top: 5.4rem;
}

/* Panel lit under the wording while the step is held — the medallion and the
   thread leaving it stay where they are, so the row never breaks apart */
.ns-flow__step::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 4.4rem;
  right: -0.8rem;
  bottom: -1.25rem;
  left: -0.8rem;
  background: rgba(196, 154, 136, 0.11);
  border: 1px solid rgba(143, 94, 74, 0.28);
  box-shadow:
    0 16px 34px rgba(30, 36, 48, 0.09),
    0 3px 8px rgba(30, 36, 48, 0.05);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.ns-flow .ns-flow__step:hover::after,
.ns-flow .ns-flow__step.ns-hot::after {
  opacity: 1;
}

.ns-flow__step::before {
  content: "";
  position: absolute;
  top: 1.95rem;
  left: 4rem;
  right: -2.5rem;
  height: 2px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(143, 94, 74, 0.5) 0 7px,
    transparent 7px 11px
  );
}

.ns-flow__step:last-child::before {
  display: none;
}

/* Label above number on its own row: left to wrap on its own, "Step 01" fits a
   line where "Step 02" does not, because the 1 is narrower than the other
   digits — the medallions would then disagree with each other. */
.ns-flow__no {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: inline-flex;
  width: 4rem;
  height: 4rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.55rem;
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  line-height: 1.1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: #8F5E4A;
  background: var(--ns-elevated);
  border-radius: 50%;
}

.ns-flow__no > span {
  white-space: nowrap;
}

.ns-flow__no-value {
  font-variant-numeric: lining-nums tabular-nums;
}

.ns-flow__no::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(143, 94, 74, 0.62);
  border-radius: 50%;
  transition: border-color 0.35s ease, background 0.35s ease;
}

.ns-flow .ns-flow__step:hover .ns-flow__no::before,
.ns-flow .ns-flow__step.ns-hot .ns-flow__no::before {
  border-color: rgba(143, 94, 74, 0.95);
  background: rgba(196, 154, 136, 0.12);
  animation: ns-ring-spin 3.2s linear infinite;
}

.ns-flow__step h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  margin: 0 0 0.35rem;
  transition: color 0.35s ease;
}

.ns-flow .ns-flow__step:hover h3,
.ns-flow .ns-flow__step.ns-hot h3 {
  color: #8F5E4A;
}

.ns-flow__step p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

/* Scope — what this offer covers and where it hands over */
.ns-scope {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.ns-scope__col {
  padding: 1.7rem 1.55rem 1.8rem;
  background: rgba(255, 252, 248, 0.8);
  border: 1px solid rgba(30, 36, 48, 0.1);
}

.ns-scope__col--out {
  background: rgba(246, 242, 237, 0.72);
}

.ns-scope__col h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.3rem, 1.9vw, 1.55rem);
  margin: 0 0 1rem;
}

.ns-scope__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.ns-scope__col li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #2A3038;
}

.ns-scope__col li > i {
  margin-top: 0.3em;
  font-size: 0.8rem;
}

.ns-scope__col--in li > i {
  color: #8F5E4A;
}

.ns-scope__col--out li > i {
  color: var(--theme-color-1);
}

.ns-scope__col li a {
  color: #8F5E4A;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 154, 136, 0.5);
}

.ns-scope__col li a:hover {
  color: var(--ns-ink);
}

@media (max-width: 1099px) {
  .ns-svc-lead {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ns-svc-lead__image {
    height: clamp(13rem, 44vw, 22rem);
  }
}

@media (max-width: 991px) {
  .ns-flow {
    grid-template-columns: 1fr 1fr;
    gap: 2.75rem 2.5rem;
  }

  .ns-flow__step::before {
    right: -2.5rem;
  }

  .ns-flow__step:nth-child(2n)::before {
    display: none;
  }

  .ns-scope {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .ns-flow {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .ns-flow__step {
    min-height: 4rem;
    padding: 0 0.8rem 1.6rem 5rem;
  }

  /* Stacked steps: the panel takes the text column only, leaving the medallion
     and the thread running down past it untouched. It stops at the container
     edge — the desktop bleed would run it into the side of the screen. */
  .ns-flow__step::after {
    top: -0.55rem;
    right: 0;
    bottom: 0.75rem;
    left: 4.2rem;
  }

  /* The two-column layout hides the connector on every second step because that
     step ends a row. Stacked, no step ends a row, so the thread runs on. */
  .ns-flow__step::before,
  .ns-flow__step:nth-child(2n)::before {
    display: block;
    top: 4rem;
    right: auto;
    bottom: -1.6rem;
    left: 1.95rem;
    width: 2px;
    height: auto;
    background-image: repeating-linear-gradient(
      180deg,
      rgba(143, 94, 74, 0.5) 0 7px,
      transparent 7px 11px
    );
  }

  .ns-flow__step:last-child::before {
    display: none;
  }

  .ns-flow__step h3 {
    padding-top: 0.3rem;
  }

  .ns-svc-lead__image {
    height: clamp(11.5rem, 55vw, 16rem);
  }

  .ns-includes {
    padding: 1.45rem 1.2rem 1.55rem;
  }

  .ns-scope__col {
    padding: 1.4rem 1.2rem 1.5rem;
  }
}

/* ——————————————————————————————————————————————————————————
   Collections — mood / look direction (not a shop, not the
   Collection Development service). Capsules + silhouette notes.
   —————————————————————————————————————————————————————————— */

.ns-clarify {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1.5rem;
  align-items: start;
  margin-top: 2rem;
  padding: 1.55rem 1.6rem 1.65rem;
  background: rgba(255, 252, 248, 0.82);
  border: 1px solid rgba(30, 36, 48, 0.1);
  border-left: 3px solid rgba(196, 154, 136, 0.85);
}

.ns-clarify__mark {
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8F5E4A;
  line-height: 1.4;
  padding-top: 0.2rem;
}

.ns-clarify p {
  margin: 0;
  color: #2A3038;
  line-height: 1.65;
  max-width: 44rem;
}

.ns-clarify a {
  color: #8F5E4A;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 154, 136, 0.5);
}

.ns-clarify a:hover {
  color: var(--ns-ink);
}

/*
 * Collections intro — copy beside a cloth visual. The page head is already a
 * text band, so opening on a second one left the section flat.
 */
.ns-read-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3.25rem;
  align-items: center;
}

/* Corner frame moves to the far side, since the visual sits on the right here */
.ns-about-visual--mirror::after {
  inset: auto auto -16px -16px;
}

@media (max-width: 991px) {
  .ns-read-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Capsule looks — alternating editorial bands */
.ns-capsules {
  margin-top: 2.5rem;
  display: grid;
  gap: 2.75rem;
}

.ns-capsule {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 0 2.5rem;
  align-items: stretch;
}

.ns-capsule--flip {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.ns-capsule--flip .ns-capsule__media {
  order: 2;
}

.ns-capsule--flip .ns-capsule__body {
  order: 1;
}

.ns-capsule__media {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  background-color: #EDE4DC;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(30, 36, 48, 0.08);
}

.ns-capsule__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0;
}

.ns-capsule__season {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8F5E4A;
}

.ns-capsule h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.65rem, 2.4vw, 2.05rem);
  margin: 0 0 0.7rem;
  color: var(--ns-ink);
  transition: color 0.35s ease;
}

.ns-capsule p {
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 1.15rem;
  max-width: 28rem;
}

.ns-capsule__tags {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
}

.ns-capsule__tags li {
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6B645C;
  padding-bottom: 0.15rem;
  border-bottom: 1px dashed rgba(143, 94, 74, 0.35);
}

.ns-capsules .ns-capsule:hover h3,
.ns-capsules .ns-capsule.ns-hot h3 {
  color: #8F5E4A;
}

.ns-capsules .ns-capsule:hover .ns-capsule__media,
.ns-capsules .ns-capsule.ns-hot .ns-capsule__media {
  border-color: rgba(143, 94, 74, 0.28);
}

/* Silhouette notes — compact stitched strip, not cards */
.ns-sil-notes {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(30, 36, 48, 0.1);
  border-bottom: 1px solid rgba(30, 36, 48, 0.1);
}

.ns-sil-note {
  position: relative;
  padding: 1.75rem 1.6rem 1.85rem;
}

.ns-sil-note:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  right: 0;
  width: 1px;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(143, 94, 74, 0.45) 0 6px,
    transparent 6px 10px
  );
}

.ns-sil-note__no {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8F5E4A;
  margin-bottom: 0.55rem;
}

.ns-sil-note h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.25rem, 1.8vw, 1.45rem);
  margin: 0 0 0.45rem;
}

.ns-sil-note p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.ns-sil-notes .ns-sil-note:hover h3,
.ns-sil-notes .ns-sil-note.ns-hot h3 {
  color: #8F5E4A;
}

/*
 * Hover seam — the same needle pass the home audiences use. It sits on the
 * left edge, so on notes two and three it lands over the column divider.
 */
.ns-sil-note::before {
  content: "";
  position: absolute;
  top: 1.4rem;
  bottom: 1.4rem;
  left: 0;
  width: 2px;
  opacity: 0;
  background-image: repeating-linear-gradient(
    180deg,
    #8F5E4A 0 6px,
    transparent 6px 10px
  );
  transition: opacity 0.35s ease, width 0.35s ease;
}

.ns-sil-notes .ns-sil-note:hover::before,
.ns-sil-notes .ns-sil-note.ns-hot::before {
  opacity: 1;
  width: 3px;
  animation: ns-stitch-run 0.7s linear infinite;
}

.ns-sil-note__no,
.ns-sil-note h3,
.ns-sil-note p {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s ease;
}

.ns-sil-notes .ns-sil-note:hover .ns-sil-note__no,
.ns-sil-notes .ns-sil-note.ns-hot .ns-sil-note__no,
.ns-sil-notes .ns-sil-note:hover h3,
.ns-sil-notes .ns-sil-note.ns-hot h3 {
  transform: translateX(8px);
}

.ns-sil-notes .ns-sil-note:hover p,
.ns-sil-notes .ns-sil-note.ns-hot p {
  transform: translateX(5px);
}

@media (max-width: 991px) {
  .ns-capsule,
  .ns-capsule--flip {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .ns-capsule--flip .ns-capsule__media,
  .ns-capsule--flip .ns-capsule__body {
    order: unset;
  }

  .ns-capsule__media {
    min-height: 16rem;
  }

  .ns-sil-notes {
    grid-template-columns: 1fr;
  }

  .ns-sil-note:not(:last-child)::after {
    top: auto;
    bottom: 0;
    left: 1.6rem;
    right: 1.6rem;
    width: auto;
    height: 1px;
    background-image: repeating-linear-gradient(
      90deg,
      rgba(143, 94, 74, 0.45) 0 6px,
      transparent 6px 10px
    );
  }
}

@media (max-width: 575px) {
  .ns-clarify {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding: 1.3rem 1.15rem 1.4rem;
  }

  .ns-capsule__media {
    min-height: 13rem;
  }

  .ns-sil-note {
    padding: 1.4rem 0.25rem 1.5rem;
  }

  .ns-sil-note:not(:last-child)::after {
    left: 0;
    right: 0;
  }
}

/* ——————————————————————————————————————————————————————————
   Guide — Size & Fit tool for Spain / EU: calculator, needle
   meter, measuring steps, conversion table.
   —————————————————————————————————————————————————————————— */

.ns-calc {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.85fr);
  gap: 1.5rem;
  align-items: start;
}

/* Reading card and its aside stack in the right column beside the tall panel */
.ns-calc__panel {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  position: relative;
  padding: 1.85rem 1.75rem 1.9rem;
  background: var(--ns-elevated);
  border: 1px solid rgba(30, 36, 48, 0.1);
}

.ns-calc__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-image: repeating-linear-gradient(
    90deg,
    #8F5E4A 0 7px,
    transparent 7px 11px
  );
}

.ns-calc__legend {
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8F5E4A;
  margin: 0 0 1rem;
}

/* Segmented switches — profile, units, fit */
.ns-seg {
  display: inline-flex;
  flex-wrap: wrap;
  border: 1px solid rgba(30, 36, 48, 0.14);
  background: rgba(246, 242, 237, 0.6);
}

.ns-seg__btn {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6B645C;
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease;
}

.ns-seg__btn + .ns-seg__btn {
  border-left: 1px dashed rgba(143, 94, 74, 0.3);
}

.ns-seg__btn:hover {
  color: var(--ns-ink);
}

.ns-seg__btn[aria-pressed="true"] {
  color: #FFFCF8;
  background: var(--theme-color);
}

.ns-calc__switches {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.ns-calc__switch-label {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6B645C;
  margin-bottom: 0.4rem;
}

.ns-calc__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ns-field {
  display: block;
}

.ns-field__label {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6B645C;
  margin-bottom: 0.4rem;
}

.ns-field__wrap {
  position: relative;
  display: block;
}

.ns-field input {
  width: 100%;
  height: 3rem;
  padding: 0 3.2rem 0 0.9rem;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  color: var(--ns-ink);
  background: rgba(246, 242, 237, 0.55);
  border: 1px solid rgba(30, 36, 48, 0.14);
  border-radius: 0;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.ns-field input::placeholder {
  color: rgba(107, 100, 92, 0.6);
}

.ns-field input:focus {
  outline: none;
  border-color: rgba(143, 94, 74, 0.6);
  background: var(--ns-elevated);
}

.ns-field input:invalid:not(:placeholder-shown) {
  border-color: rgba(160, 78, 60, 0.55);
}

.ns-field__unit {
  position: absolute;
  top: 50%;
  right: 0.9rem;
  transform: translateY(-50%);
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8F5E4A;
  pointer-events: none;
}

.ns-field__hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ns-calc__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.ns-calc__actions .theme-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* Carries the project secondary treatment (steel fill + stitch), only quieter
   in weight than the send CTA beside it. */
.ns-calc__reset {
  padding-left: 1.55rem !important;
  padding-right: 1.55rem !important;
}

/* Result card */
.ns-calc__out {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  padding: 1.85rem 1.6rem 1.9rem;
  background:
    radial-gradient(80% 70% at 80% 0%, rgba(196, 154, 136, 0.22), transparent 70%),
    var(--ns-elevated);
  border: 1px solid rgba(30, 36, 48, 0.12);
  overflow: hidden;
}

.ns-calc__out::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(143, 94, 74, 0.28);
  pointer-events: none;
}

.ns-out__inner {
  position: relative;
  z-index: 1;
}

.ns-out__label {
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8F5E4A;
  margin: 0 0 0.35rem;
}

.ns-out__size {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.2rem, 6vw, 4.4rem);
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
  color: var(--ns-ink);
  margin: 0;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ns-out__size small {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.ns-calc__out.is-stale .ns-out__size {
  opacity: 0.35;
  transform: translateY(4px);
}

.ns-calc__out.is-fresh .ns-out__size {
  animation: ns-out-pop 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes ns-out-pop {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Needle meter — where the numbers land on the size run */
.ns-meter {
  margin: 1.5rem 0 1.35rem;
}

.ns-meter__track {
  position: relative;
  height: 2px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(30, 36, 48, 0.22) 0 6px,
    transparent 6px 10px
  );
}

.ns-meter__seam {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background-image: repeating-linear-gradient(
    90deg,
    #8F5E4A 0 6px,
    transparent 6px 10px
  );
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.ns-meter__needle {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1.05rem;
  height: 1.05rem;
  margin-left: -0.525rem;
  border-radius: 50%;
  border: 1px dashed rgba(143, 94, 74, 0.85);
  background: rgba(196, 154, 136, 0.4);
  transform: translateY(-50%);
  transition: left 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.ns-meter__ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.7rem;
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  font-variant-numeric: lining-nums tabular-nums;
  color: rgba(107, 100, 92, 0.75);
}

.ns-meter__ticks span.is-on {
  color: #8F5E4A;
}

/* Conversions */
.ns-out__conv {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(30, 36, 48, 0.1);
}

.ns-out__conv div {
  min-width: 0;
}

.ns-conv__k {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.ns-conv__v {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--ns-ink);
}

.ns-out__note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #2A3038;
}

.ns-out__note b {
  font-weight: 500;
}

.ns-out__note--warn {
  color: #8F5E4A;
}

/*
 * Aside under the reading card. The measurement panel is far taller than
 * the result, so the right column carried dead space below it.
 */
.ns-calc-aside {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  gap: 1rem;
  /* Row height comes from the taller measurement panel, so spread to its foot */
  align-content: space-between;
}

.ns-calc-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ns-calc-tags li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.7rem;
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6B645C;
  background: rgba(255, 252, 248, 0.7);
  border: 1px dashed rgba(143, 94, 74, 0.32);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

/* Lifts in place — scale and shadow only, no travel */
.ns-calc-tags li:hover,
.ns-calc-tags li.ns-hot {
  transform: scale(1.06);
  box-shadow: 0 10px 22px rgba(30, 36, 48, 0.14);
  border-color: rgba(143, 94, 74, 0.6);
}

@media (prefers-reduced-motion: reduce) {
  .ns-calc-tags li {
    transition: box-shadow 0.32s ease, border-color 0.32s ease;
  }

  .ns-calc-tags li:hover,
  .ns-calc-tags li.ns-hot {
    transform: none;
  }
}

.ns-calc-tags li i {
  font-size: 0.85rem;
  color: #8F5E4A;
}

.ns-calc-tip {
  position: relative;
  padding: 1.25rem 1.3rem 1.35rem;
  background: rgba(246, 242, 237, 0.72);
  border: 1px solid rgba(30, 36, 48, 0.1);
  overflow: hidden;
}

/* Same seam the measurement panel carries, so the column reads as one unit */
.ns-calc-tip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0;
  background-image: repeating-linear-gradient(
    90deg,
    #8F5E4A 0 7px,
    transparent 7px 11px
  );
  transition: opacity 0.35s ease;
}

.ns-calc-tip:hover::before {
  opacity: 1;
  animation: ns-stitch-x-run 0.7s linear infinite;
}

.ns-calc-tip__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.ns-calc-tip__mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1px dashed transparent;
  color: #8F5E4A;
  font-size: 0.9rem;
  transition: background 0.35s ease;
}

.ns-calc-tip__mark::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px dashed rgba(143, 94, 74, 0.45);
  border-radius: 50%;
}

.ns-calc-tip:hover .ns-calc-tip__mark {
  background: rgba(196, 154, 136, 0.18);
}

.ns-calc-tip:hover .ns-calc-tip__mark::before {
  animation: ns-ring-spin 3.2s linear infinite;
}

.ns-calc-tip h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  line-height: 1.2;
  margin: 0;
}

.ns-calc-tip p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.62;
  color: var(--text-muted);
}

.ns-calc-aside__foot {
  margin: 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(30, 36, 48, 0.1);
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.ns-calc-aside__foot a {
  color: #8F5E4A;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 154, 136, 0.55);
}

.ns-calc-aside__foot a:hover {
  color: var(--ns-ink);
}

/* Measuring steps */
.ns-measure {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.ns-measure-step {
  position: relative;
  padding: 1.6rem 1.35rem 1.7rem;
  background: rgba(255, 252, 248, 0.82);
  border: 1px solid rgba(30, 36, 48, 0.1);
  transition:
    border-color 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ns-measure .ns-measure-step:hover,
.ns-measure .ns-measure-step.ns-hot {
  transform: translateY(-4px);
  border-color: rgba(143, 94, 74, 0.32);
}

.ns-measure-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  color: #8F5E4A;
  background: rgba(196, 154, 136, 0.18);
  font-size: 1.05rem;
  transition: background 0.35s ease;
}

.ns-measure .ns-measure-step:hover .ns-measure-step__icon,
.ns-measure .ns-measure-step.ns-hot .ns-measure-step__icon {
  background: rgba(196, 154, 136, 0.34);
}

.ns-measure-step h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.2rem, 1.7vw, 1.38rem);
  margin: 0 0 0.4rem;
}

/* Cards stay ivory on the ink wash, so titles keep ink rather than the
   section-wide ivory heading colour. */
.ns-section--ink .ns-measure-step h3 {
  color: var(--ns-ink);
}

.ns-measure-step p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Conversion table — real table on desktop, stacked rows on mobile */
.ns-sizes {
  margin-top: 2.25rem;
  overflow: hidden;
  background: rgba(255, 252, 248, 0.82);
  border: 1px solid rgba(30, 36, 48, 0.1);
}

.ns-sizes table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: lining-nums tabular-nums;
}

.ns-sizes caption {
  caption-side: top;
  text-align: left;
  padding: 1.1rem 1.35rem 0;
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8F5E4A;
}

.ns-sizes th,
.ns-sizes td {
  padding: 0.75rem 1.35rem;
  text-align: left;
  font-size: 0.95rem;
  color: #2A3038;
  border-bottom: 1px solid rgba(30, 36, 48, 0.08);
}

.ns-sizes thead th {
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
}

.ns-sizes tbody th {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ns-ink);
}

.ns-sizes tbody tr:last-child th,
.ns-sizes tbody tr:last-child td {
  border-bottom: 0;
}

.ns-sizes tbody tr {
  transition: background 0.3s ease;
}

.ns-sizes tbody tr:hover {
  background: rgba(196, 154, 136, 0.12);
}

.ns-sizes tbody tr.is-match {
  background: rgba(196, 154, 136, 0.2);
}

@media (max-width: 1099px) {
  .ns-calc {
    grid-template-columns: 1fr;
  }

  .ns-calc__panel,
  .ns-calc__out,
  .ns-calc-aside {
    grid-column: auto;
    grid-row: auto;
  }

  .ns-measure {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .ns-calc__panel,
  .ns-calc__out {
    padding: 1.45rem 1.2rem 1.55rem;
  }

  .ns-calc__fields {
    grid-template-columns: 1fr;
  }

  .ns-out__conv {
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
  }

  .ns-measure {
    grid-template-columns: 1fr;
  }

  /* Table collapses into labelled rows */
  .ns-sizes caption {
    padding: 1rem 1.15rem 0.35rem;
    letter-spacing: 0.12em;
    line-height: 1.5;
  }

  .ns-sizes thead {
    display: none;
  }

  .ns-sizes table,
  .ns-sizes tbody,
  .ns-sizes tr,
  .ns-sizes th,
  .ns-sizes td {
    display: block;
    width: 100%;
  }

  .ns-sizes tbody tr {
    padding: 0.9rem 1.15rem 1rem;
    border-bottom: 1px solid rgba(30, 36, 48, 0.08);
  }

  .ns-sizes tbody tr:last-child {
    border-bottom: 0;
  }

  .ns-sizes tbody th {
    padding: 0 0 0.5rem;
    border-bottom: 0;
  }

  .ns-sizes tbody td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.3rem 0;
    border-bottom: 0;
    font-size: 0.92rem;
  }

  .ns-sizes tbody td::before {
    content: attr(data-label);
    font-family: "Outfit", sans-serif;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
  }
}

/* ——————————————————————————————————————————————————————————
   FAQ — stitched accordion under Atelier. Topics jump; one
   open panel at a time; answer opens with a seam run.
   —————————————————————————————————————————————————————————— */

.ns-faq-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.75rem 0 0;
}

.ns-faq-jump a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: #6B645C;
  background: rgba(255, 252, 248, 0.72);
  border: 1px solid rgba(30, 36, 48, 0.12);
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ns-faq-jump a:hover,
.ns-faq-jump a.is-on {
  color: #8F5E4A;
  border-color: rgba(143, 94, 74, 0.4);
  background: rgba(255, 252, 248, 0.96);
  transform: translateY(-2px);
}

.ns-faq-jump a i {
  font-size: 0.95rem;
}

.ns-faq-block {
  margin-top: 2.75rem;
}

.ns-faq-block:first-of-type {
  margin-top: 2.25rem;
}

.ns-faq-block__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed rgba(143, 94, 74, 0.35);
}

.ns-faq-block__no {
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8F5E4A;
}

.ns-faq-block__head h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  margin: 0;
  color: var(--ns-ink);
}

.ns-faq {
  display: grid;
  gap: 0.65rem;
}

.ns-faq__item {
  position: relative;
  background: rgba(255, 252, 248, 0.82);
  border: 1px solid rgba(30, 36, 48, 0.1);
  transition: border-color 0.35s ease, background 0.35s ease;
}

.ns-faq__item.is-open {
  border-color: rgba(143, 94, 74, 0.35);
  background: rgba(255, 252, 248, 0.96);
}

.ns-faq__seam {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background-image: repeating-linear-gradient(
    90deg,
    #8F5E4A 0 7px,
    transparent 7px 11px
  );
  pointer-events: none;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Opening draws the seam across the top edge */
.ns-faq__item.is-open .ns-faq__seam {
  width: 100%;
}

/* Hover keeps the needle moving along an already drawn seam */
.ns-faq__item:hover .ns-faq__seam,
.ns-faq__item.ns-hot .ns-faq__seam {
  width: 100%;
  animation: ns-stitch-x-run 0.7s linear infinite;
}

.ns-faq__q {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0 1.1rem;
  align-items: center;
  width: 100%;
  padding: 1.2rem 1.35rem;
  margin: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.ns-faq__no {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--theme-color);
  line-height: 1;
  transition: color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ns-faq__item.is-open .ns-faq__no,
.ns-faq__q:hover .ns-faq__no {
  color: #8F5E4A;
  transform: translateX(2px);
}

.ns-faq__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 500;
  color: var(--ns-ink);
  line-height: 1.35;
}

.ns-faq__mark {
  position: relative;
  width: 1.55rem;
  height: 1.55rem;
  flex-shrink: 0;
}

.ns-faq__mark::before,
.ns-faq__mark::after {
  content: "";
  position: absolute;
  background: #8F5E4A;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.ns-faq__mark::before {
  top: 50%;
  left: 0.2rem;
  right: 0.2rem;
  height: 1.5px;
  transform: translateY(-50%);
}

.ns-faq__mark::after {
  left: 50%;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 1.5px;
  transform: translateX(-50%);
}

.ns-faq__item.is-open .ns-faq__mark::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.ns-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ns-faq__item.is-open .ns-faq__a {
  grid-template-rows: 1fr;
}

.ns-faq__a-inner {
  overflow: hidden;
  min-height: 0;
}

.ns-faq__a-inner > div {
  padding: 0 1.35rem 1.35rem 3.55rem;
  color: #2A3038;
  line-height: 1.7;
  max-width: 44rem;
}

.ns-faq__a-inner p {
  margin: 0 0 0.75rem;
}

.ns-faq__a-inner p:last-child {
  margin-bottom: 0;
}

.ns-faq__a-inner a {
  color: #8F5E4A;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 154, 136, 0.55);
}

.ns-faq__a-inner a:hover {
  color: var(--ns-ink);
}

@media (max-width: 767px) {
  .ns-faq__q {
    gap: 0 0.85rem;
    padding: 1.1rem 1.05rem;
  }

  .ns-faq__a-inner > div {
    padding: 0 1.05rem 1.2rem 1.05rem;
  }

  .ns-faq-jump a {
    flex: 1 1 calc(50% - 0.55rem);
    justify-content: center;
  }
}

/* ——————————————————————————————————————————————————————————
   Contact — brief form (no phone), side facts, accessible
   success dialog. Fields reuse .ns-field from the Guide.
   —————————————————————————————————————————————————————————— */

.ns-contact {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: 1.5rem 2.25rem;
  align-items: stretch;
}

.ns-contact__form {
  position: relative;
  padding: 1.85rem 1.75rem 1.9rem;
  background: var(--ns-elevated);
  border: 1px solid rgba(30, 36, 48, 0.1);
  transition:
    border-color 0.35s ease,
    box-shadow 0.45s ease;
}

.ns-contact__form:hover {
  border-color: rgba(143, 94, 74, 0.28);
  box-shadow:
    0 18px 38px rgba(30, 36, 48, 0.09),
    0 3px 9px rgba(30, 36, 48, 0.05);
}

.ns-contact__form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-image: repeating-linear-gradient(
    90deg,
    #8F5E4A 0 7px,
    transparent 7px 11px
  );
}

.ns-contact__legend {
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8F5E4A;
  margin: 0 0 1.25rem;
}

.ns-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.15rem;
}

.ns-contact__grid .ns-field--full {
  grid-column: 1 / -1;
}

.ns-field select,
.ns-field textarea {
  width: 100%;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  color: var(--ns-ink);
  background: rgba(246, 242, 237, 0.55);
  border: 1px solid rgba(30, 36, 48, 0.14);
  border-radius: 0;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.ns-field select {
  height: 3rem;
  padding: 0 0.9rem;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #8F5E4A 50%),
    linear-gradient(135deg, #8F5E4A 50%, transparent 50%),
    linear-gradient(rgba(246, 242, 237, 0.55), rgba(246, 242, 237, 0.55));
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px),
    0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
  cursor: pointer;
}

.ns-field textarea {
  min-height: 9.5rem;
  padding: 0.85rem 0.9rem;
  line-height: 1.55;
  resize: vertical;
}

.ns-field select:focus,
.ns-field textarea:focus {
  outline: none;
  border-color: rgba(143, 94, 74, 0.6);
  background-color: var(--ns-elevated);
}

.ns-field.is-invalid input,
.ns-field.is-invalid select,
.ns-field.is-invalid textarea {
  border-color: rgba(160, 78, 60, 0.7);
}

.ns-field__error {
  display: none;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: #8F5E4A;
}

.ns-field.is-invalid .ns-field__error,
.ns-checkline.is-invalid .ns-field__error {
  display: block;
}

.ns-checkline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  margin-top: 0.35rem;
}

.ns-checkline input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
  accent-color: var(--theme-color);
  cursor: pointer;
}

.ns-checkline label {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #2A3038;
  cursor: pointer;
}

.ns-checkline a {
  color: #8F5E4A;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 154, 136, 0.55);
}

.ns-checkline a:hover {
  color: var(--ns-ink);
}

.ns-checkline.is-invalid label {
  color: #8F5E4A;
}

.ns-contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.ns-contact__privacy {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.ns-contact__privacy a {
  color: #8F5E4A;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 154, 136, 0.5);
}

.ns-contact__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/*
 * Side facts. The column matches the form, but equal rows would pad every card
 * out to the tallest one — the first two keep their own height and the last
 * takes up whatever slack is left against the form.
 */
.ns-contact__aside {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 1rem;
}

.ns-fact {
  position: relative;
  padding: 1.45rem 1.35rem 1.5rem;
  background: rgba(255, 252, 248, 0.82);
  border: 1px solid rgba(30, 36, 48, 0.1);
  transition:
    border-color 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.ns-contact__aside .ns-fact:hover,
.ns-contact__aside .ns-fact.ns-hot {
  transform: translateY(-5px);
  border-color: rgba(143, 94, 74, 0.3);
  box-shadow:
    0 18px 38px rgba(30, 36, 48, 0.1),
    0 3px 9px rgba(30, 36, 48, 0.05);
}

.ns-fact__label {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8F5E4A;
  margin-bottom: 0.55rem;
}

.ns-fact h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.25rem, 1.8vw, 1.45rem);
  margin: 0 0 0.45rem;
}

.ns-fact p {
  margin: 0;
  color: #2A3038;
  line-height: 1.6;
  font-size: 0.95rem;
}

.ns-fact a.ns-fact__link {
  display: inline-block;
  margin-top: 0.85rem;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8F5E4A;
  text-decoration: none;
  border-bottom: 1px dashed rgba(143, 94, 74, 0.45);
  transition: color 0.3s ease;
}

.ns-fact a.ns-fact__link:hover {
  color: var(--ns-ink);
}

.ns-fact a.ns-fact__link i {
  margin-left: 0.3rem;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ns-fact a.ns-fact__link:hover i {
  transform: translateX(4px);
}

.ns-fact ul {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.ns-fact li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #2A3038;
}

.ns-fact li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 2px;
  background-image: repeating-linear-gradient(
    90deg,
    #8F5E4A 0 3px,
    transparent 3px 5px
  );
}

.ns-fact li a {
  color: #8F5E4A;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 154, 136, 0.5);
}

/* Success dialog — same family as the map modal */
.ns-dialog {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.ns-dialog.is-open {
  display: flex;
}

.ns-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 36, 48, 0.62);
  backdrop-filter: blur(3px);
  border: 0;
  padding: 0;
  cursor: pointer;
}

.ns-dialog__panel {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  padding: 2rem 1.75rem 1.75rem;
  background: var(--ns-elevated);
  border: 1px solid rgba(30, 36, 48, 0.1);
  box-shadow: 0 24px 60px rgba(30, 36, 48, 0.28);
  text-align: center;
}

.ns-dialog__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-image: repeating-linear-gradient(
    90deg,
    #8F5E4A 0 7px,
    transparent 7px 11px
  );
}

.ns-dialog.is-open .ns-dialog__panel::before {
  animation: ns-stitch-x-run 0.7s linear infinite;
}

.ns-dialog__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: #8F5E4A;
  background: rgba(196, 154, 136, 0.22);
  font-size: 1.25rem;
}

.ns-dialog__panel h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.55rem, 2.4vw, 1.85rem);
  margin: 0 0 0.55rem;
}

.ns-dialog__panel p {
  margin: 0 0 0.85rem;
  color: #2A3038;
  line-height: 1.6;
}

.ns-dialog__panel p:last-of-type {
  margin-bottom: 1.35rem;
}

.ns-dialog__panel a:not(.theme-btn) {
  color: #8F5E4A;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 154, 136, 0.55);
}

.ns-dialog__panel--form {
  width: min(480px, 100%);
  text-align: left;
}

.ns-dialog__panel--form .ns-dialog__icon {
  display: flex;
  margin-left: auto;
  margin-right: auto;
}

.ns-dialog__panel--form h2 {
  text-align: center;
}

.ns-dialog__panel--form > [data-ns-guide-step] > p:first-of-type {
  text-align: center;
}

.ns-guide-summary {
  margin: 0 0 1.15rem;
  padding: 0.85rem 1rem;
  background: rgba(239, 231, 223, 0.55);
  border: 1px solid rgba(30, 36, 48, 0.08);
  font-size: 0.92rem;
  line-height: 1.55;
  color: #2A3038;
}

.ns-guide-summary strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--ns-ink);
}

.ns-guide-summary span {
  display: block;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.ns-guide-send-form .ns-field {
  margin-bottom: 0.85rem;
}

.ns-guide-send-form .ns-checkline {
  margin: 0.5rem 0 1.15rem;
}

.ns-guide-send-form .ns-dialog__actions {
  justify-content: flex-start;
}

.ns-guide-send-note {
  margin: 1rem 0 0 !important;
  font-size: 0.84rem !important;
  color: var(--text-muted) !important;
  line-height: 1.5 !important;
}

.ns-dialog__panel--form [data-ns-guide-step="done"] {
  text-align: center;
}

.ns-dialog__panel--form [data-ns-guide-step="done"] .ns-dialog__actions {
  justify-content: center;
}

@media (max-width: 991px) {
  .ns-contact {
    grid-template-columns: 1fr;
  }

  /* Stacked: cards go back to their own height, nothing to match */
  .ns-contact__aside {
    grid-template-rows: none;
  }
}

@media (max-width: 575px) {
  .ns-contact__form {
    padding: 1.45rem 1.15rem 1.5rem;
  }

  .ns-contact__grid {
    grid-template-columns: 1fr;
  }

  .ns-dialog__panel {
    padding: 1.65rem 1.25rem 1.4rem;
  }
}

/* ——————————————————————————————————————————————————————————
   Legal pages — TOC + long-form prose (Privacy, Cookies, Terms)
   —————————————————————————————————————————————————————————— */

/* Contents read as an index, not a wall of chips */
.ns-legal-toc {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  column-gap: 2.5rem;
  margin: 1.85rem 0 0;
  max-width: 50rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-night);
}

.ns-legal-toc a {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.32rem 0;
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: #5F5952;
  transition: color 0.25s ease;
}

.ns-legal-toc a:hover {
  color: #8F5E4A;
}

.ns-legal-toc__no {
  flex: 0 0 auto;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #A8988C;
}

.ns-legal-toc a:hover .ns-legal-toc__no {
  color: #8F5E4A;
}

.ns-legal {
  margin-top: 2.75rem;
  max-width: 50rem;
}

.ns-legal > section {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  column-gap: 1.35rem;
  margin-bottom: 2.35rem;
  padding-bottom: 2.1rem;
  border-bottom: 1px dashed rgba(143, 94, 74, 0.28);
  scroll-margin-top: var(--ns-anchor-offset);
}

.ns-legal > section > * {
  grid-column: 2;
}

.ns-legal > section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Section number sits in the left gutter, aligned to the heading */
.ns-legal > section > .ns-legal__no {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.16em;
  color: #8F5E4A;
  padding-top: 0.55rem;
}

.ns-legal h2 {
  grid-column: 2;
  grid-row: 1;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 2.2vw, 1.75rem);
  margin: 0 0 0.85rem;
  color: var(--ns-ink);
}

.ns-legal h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  margin: 1.25rem 0 0.5rem;
  color: var(--ns-ink);
}

.ns-legal p {
  margin: 0 0 0.9rem;
  color: #2A3038;
  line-height: 1.72;
}

.ns-legal p:last-child {
  margin-bottom: 0;
}

.ns-legal ul,
.ns-legal ol {
  margin: 0 0 0.9rem;
  padding: 0 0 0 1.15rem;
  color: #2A3038;
  line-height: 1.7;
}

.ns-legal li {
  margin-bottom: 0.4rem;
}

.ns-legal li::marker {
  color: #8F5E4A;
}

.ns-legal a {
  color: #8F5E4A;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 154, 136, 0.55);
}

.ns-legal a:hover {
  color: var(--ns-ink);
}

.ns-legal__box {
  margin: 1rem 0;
  padding: 1.15rem 1.2rem;
  background: rgba(255, 252, 248, 0.82);
  border: 1px solid rgba(30, 36, 48, 0.1);
  border-left: 3px solid rgba(196, 154, 136, 0.85);
}

.ns-legal__box p {
  margin: 0;
}

@media (max-width: 575px) {
  .ns-legal-toc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }

  .ns-legal-toc a {
    font-size: 0.76rem;
    gap: 0.4rem;
  }

  .ns-legal > section {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
  }

  .ns-legal > section > *,
  .ns-legal > section > .ns-legal__no,
  .ns-legal > section > h2 {
    grid-column: 1;
  }

  .ns-legal > section > .ns-legal__no {
    justify-self: start;
    padding-top: 0;
    margin-bottom: 0.35rem;
  }

  .ns-legal > section > h2 {
    grid-row: auto;
  }
}

/* CTA */
.ns-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.ns-cta__email {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 252, 248, 0.88);
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 154, 136, 0.45);
}

.ns-cta__email:hover { color: var(--theme-color); }

.ns-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

/* —— Inner page head: compact breadcrumb band, never a second hero —— */
.ns-pagehead {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 120% at 82% 15%, rgba(196, 154, 136, 0.16), transparent 70%),
    linear-gradient(120deg, #1E2430 0%, #262D3A 60%, #2E3644 100%);
}

/*
 * Per-page photograph bleeding in from the right edge of the head band. The
 * mask dissolves the frame before it reaches the headline column, so the
 * picture keeps its own colour instead of being flattened into the navy.
 */
.ns-pagehead__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  width: min(44%, 660px);
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.62;
  -webkit-mask-image: linear-gradient(
    to left,
    #000 22%,
    rgba(0, 0, 0, 0.55) 58%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to left,
    #000 22%,
    rgba(0, 0, 0, 0.55) 58%,
    transparent 100%
  );
}

/* The top bar floats over this band, so the picture is veiled where the email
   and location lines sit. */
.ns-pagehead::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 9rem;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(
    180deg,
    rgba(24, 29, 40, 0.88) 0%,
    rgba(24, 29, 40, 0.5) 46%,
    transparent 100%
  );
}

.ns-pagehead > .auto-container {
  position: relative;
  z-index: 1;
}

@media (max-width: 991px) {
  .ns-pagehead__media {
    width: 58%;
    opacity: 0.4;
  }
}

/* The headline runs the full width here, so the picture drops to a hint */
@media (max-width: 767px) {
  .ns-pagehead__media {
    width: 64%;
    opacity: 0.22;
    -webkit-mask-image: linear-gradient(
      to left,
      #000 6%,
      rgba(0, 0, 0, 0.4) 46%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to left,
      #000 6%,
      rgba(0, 0, 0, 0.4) 46%,
      transparent 100%
    );
  }
}

/* Stitched hairline along the bottom edge */
.ns-pagehead::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(196, 154, 136, 0.65) 0 8px,
    transparent 8px 14px
  );
}

.ns-pagehead__content {
  padding: 8.25rem 0 2.75rem;
  max-width: 46rem;
}

.ns-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  margin-bottom: 1.15rem;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ns-crumbs a {
  color: rgba(255, 252, 248, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.ns-crumbs a:hover {
  color: var(--theme-color);
}

.ns-crumbs span[aria-current] {
  color: rgba(255, 252, 248, 0.92);
}

.ns-crumbs i {
  font-size: 9px;
  color: rgba(196, 154, 136, 0.7);
}

.ns-pagehead h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.14;
  margin: 0 0 0.7rem;
  color: rgba(255, 252, 248, 0.96);
}

.ns-pagehead__lead {
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(255, 252, 248, 0.66);
  max-width: 38rem;
  margin: 0;
}

/* Image / media placeholders until assets arrive */
/* ——————————————————————————————————————————————————————————
   The House — page-specific vocabulary.
   Deliberately none of the home-page card grids: editorial prose,
   ledger rows, a full-bleed room band, a statement, and door rows.
   —————————————————————————————————————————————————————————— */

/* Manifesto — asymmetric editorial column with a stitched spine */
.ns-manifesto {
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: 0 3.5rem;
  align-items: start;
}

/* Stretches so the needle can sit at the foot of the column, not in the flow */
/* Column layout so the needle can be pushed to the foot while staying in the
   flow — absolute placement collided with the facts at middle widths. */
.ns-manifesto__aside {
  position: relative;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  padding-right: 2rem;
}

.ns-manifesto__aside::after {
  content: "";
  position: absolute;
  top: 0.4rem;
  right: 0;
  bottom: 0.4rem;
  width: 2px;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(143, 94, 74, 0.5) 0 7px,
    transparent 7px 11px
  );
}

.ns-manifesto__label {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.2;
  margin: 0.35rem 0 0;
}

/* House facts — quiet reference column beside the manifesto prose */
.ns-house-facts {
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.ns-house-facts > div {
  display: grid;
  gap: 0.18rem;
}

.ns-house-facts dt {
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8F5E4A;
}

.ns-house-facts dd {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.ns-house-facts a {
  color: #8F5E4A;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 154, 136, 0.5);
}

.ns-house-facts a:hover {
  color: var(--ns-ink);
}

/* Line-art needle instead of a photograph — the section stays editorial */
.ns-house-thread {
  display: block;
  width: 2.9rem;
  height: auto;
  margin-top: auto;
  padding-top: 1.75rem;
  color: rgba(143, 94, 74, 0.5);
}

.ns-manifesto__body p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.18rem, 1.7vw, 1.42rem);
  line-height: 1.62;
  color: #2A3038;
  margin: 0 0 1.15rem;
  max-width: 44rem;
}

.ns-manifesto__body p:last-child {
  margin-bottom: 0;
}

/* Drop cap sets the editorial tone without an image */
.ns-manifesto__body p:first-child::first-letter {
  float: left;
  font-size: 3.6em;
  line-height: 0.82;
  padding: 0.08em 0.12em 0 0;
  color: #8F5E4A;
  font-weight: 500;
}

/* Ledger — full-width rows instead of a card grid */
.ns-ledger {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(30, 36, 48, 0.12);
}

.ns-ledger__row {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem 16rem 1fr;
  gap: 0 2rem;
  align-items: baseline;
  padding: 1.6rem 0.5rem 1.7rem;
  border-bottom: 1px solid rgba(30, 36, 48, 0.12);
  transition: background 0.35s ease;
}

.ns-ledger__row:hover,
.ns-ledger__row.ns-hot {
  background: rgba(255, 252, 248, 0.6);
}

/* Stitch runs along the bottom edge on hover */
.ns-ledger__row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  opacity: 0;
  background-image: repeating-linear-gradient(
    90deg,
    #8F5E4A 0 7px,
    transparent 7px 11px
  );
  transition: opacity 0.35s ease;
}

.ns-ledger__row:hover::after,
.ns-ledger__row.ns-hot::after {
  opacity: 1;
  animation: ns-stitch-x-run 0.7s linear infinite;
}

@keyframes ns-stitch-x-run {
  to { background-position: 11px 0; }
}

.ns-ledger__no {
  display: inline-block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  color: var(--theme-color);
  transition: color 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ns-ledger__row:hover .ns-ledger__no,
.ns-ledger__row.ns-hot .ns-ledger__no {
  color: #8F5E4A;
  transform: translateX(4px);
}

.ns-ledger__term {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin: 0;
  color: var(--ns-ink);
}

.ns-ledger__desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  max-width: 40rem;
}

/* Room — full-bleed band with an offset caption panel */
.ns-room {
  position: relative;
  min-height: min(56vh, 500px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0;
  background: var(--ns-ink);
}

.ns-room__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}

.ns-room__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(30, 36, 48, 0.82) 0%,
    rgba(30, 36, 48, 0.5) 48%,
    rgba(30, 36, 48, 0.28) 100%
  );
}

.ns-room .auto-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.ns-room__panel {
  max-width: 38rem;
  margin: 4.5rem 0;
  padding: 2.25rem 2rem 2.35rem;
  background: rgba(30, 36, 48, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 252, 248, 0.18);
  color: rgba(255, 252, 248, 0.82);
}

.ns-room__panel .ns-kicker {
  color: var(--theme-color);
}

.ns-room__panel h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.16;
  margin: 0 0 0.9rem;
  color: rgba(255, 252, 248, 0.96);
}

.ns-room__panel p {
  color: rgba(255, 252, 248, 0.7);
  line-height: 1.7;
  margin: 0 0 0.9rem;
}

.ns-room__panel p:last-child {
  margin-bottom: 0;
}

/* The statement lives inside the room panel — no separate quote band */
.ns-room__quote {
  margin: 1.35rem 0 0;
  padding-top: 1.25rem;
  border-top: 2px solid transparent;
  border-image: repeating-linear-gradient(
      90deg,
      rgba(196, 154, 136, 0.75) 0 7px,
      transparent 7px 11px
    )
    1;
}

.ns-room__quote blockquote {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-style: italic;
  line-height: 1.35;
  margin: 0;
  color: rgba(255, 252, 248, 0.92);
}

/* Doors — wide rows for onward navigation */
.ns-doors {
  margin-top: 2.5rem;
  display: grid;
  gap: 0.85rem;
}

.ns-door {
  position: relative;
  display: grid;
  grid-template-columns: 3.25rem 1fr auto;
  gap: 0 1.5rem;
  align-items: center;
  padding: 1.5rem 1.6rem;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 252, 248, 0.72);
  border: 1px solid rgba(30, 36, 48, 0.1);
  overflow: hidden;
  transition:
    border-color 0.35s ease,
    background 0.35s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Scoped one level deeper so the shared reveal transform cannot win */
.ns-doors .ns-door:hover,
.ns-doors .ns-door.ns-hot {
  color: inherit;
  text-decoration: none;
  transform: translateX(6px);
  border-color: rgba(143, 94, 74, 0.3);
  background: rgba(255, 252, 248, 0.94);
}

.ns-door__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.35rem;
  color: #8F5E4A;
  border: 1px dashed transparent;
  border-radius: 50%;
  transition: opacity 0.35s ease;
}

/* Ring lives on its own layer so the glyph inside never turns with it */
.ns-door__icon::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px dashed rgba(143, 94, 74, 0.4);
  border-radius: 50%;
}

.ns-door:hover .ns-door__icon::before,
.ns-door.ns-hot .ns-door__icon::before {
  animation: ns-ring-spin 3.2s linear infinite;
}

.ns-door__title {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  margin: 0 0 0.2rem;
  color: var(--ns-ink);
}

.ns-door__text {
  display: block;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0;
  max-width: 42rem;
}

.ns-door__go {
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8F5E4A;
  white-space: nowrap;
}

.ns-door__go i {
  margin-left: 0.4rem;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ns-door:hover .ns-door__go i,
.ns-door.ns-hot .ns-door__go i {
  transform: translateX(5px);
}

/* Invite — slim closing bar that rides along with the doors, not its own band */
.ns-closing {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: 1.5rem;
  padding: 1.6rem 1.7rem;
  background: var(--ns-elevated);
  border: 1px solid rgba(30, 36, 48, 0.1);
}

.ns-closing::before {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  border: 1px dashed rgba(143, 94, 74, 0.34);
}

.ns-closing__copy {
  position: relative;
  flex: 1 1 20rem;
}

.ns-closing h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 0.3rem;
}

.ns-closing p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.96rem;
  max-width: 34rem;
  margin: 0;
}

.ns-closing__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.35rem;
}

.ns-closing__email {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--ns-ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 154, 136, 0.6);
}

.ns-closing__email:hover {
  color: #8F5E4A;
}

/* The dashed rings only turn while a pointer rests on the item, so they stay
   opt-in under "reduce motion" and now behave the same everywhere — stages,
   tracks, doors, guide points and calculator tips. The travelling seam, which
   runs on its own, still stops. */
@media (prefers-reduced-motion: reduce) {
  .ns-ledger__row:hover::after,
  .ns-ledger__row.ns-hot::after {
    animation: none;
  }
}

@media (max-width: 991px) {
  .ns-manifesto {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ns-manifesto__aside {
    padding-right: 0;
    padding-bottom: 1.25rem;
  }

  .ns-house-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem 1.5rem;
  }

  .ns-house-thread {
    display: none;
  }

  .ns-manifesto__aside::after {
    top: auto;
    left: 0;
    right: auto;
    bottom: 0;
    width: 120px;
    height: 2px;
    background-image: repeating-linear-gradient(
      90deg,
      rgba(143, 94, 74, 0.5) 0 7px,
      transparent 7px 11px
    );
  }

  .ns-ledger__row {
    grid-template-columns: 3rem 1fr;
    gap: 0.35rem 1.25rem;
  }

  .ns-ledger__desc {
    grid-column: 2;
  }

  .ns-room__panel {
    margin: 4rem 0;
    padding: 1.75rem 1.35rem 1.85rem;
  }

  .ns-pagehead__content {
    padding: 7rem 0 2.25rem;
  }
}

@media (max-width: 767px) {
  /* A full-size drop cap eats a narrow column */
  .ns-manifesto__body p:first-child::first-letter {
    font-size: 2.9em;
    padding-right: 0.1em;
  }

  .ns-house-facts {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .ns-door {
    grid-template-columns: 2.75rem 1fr;
    gap: 0.5rem 1rem;
    align-items: start;
  }

  .ns-door__icon {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.15rem;
  }

  .ns-door__go {
    grid-column: 2;
  }

  .ns-closing {
    padding: 1.5rem 1.2rem 1.6rem;
  }

  .ns-closing__actions {
    width: 100%;
  }
}

/* ——————————————————————————————————————————————————————————
   Studio page — the working sequence. Own vocabulary: a stitched
   spine of stages, a fork into two tracks, and a brief checklist.
   Hover rules are scoped one level deeper so the shared reveal
   transform cannot win on equal specificity.
   —————————————————————————————————————————————————————————— */

.ns-stages {
  position: relative;
  margin-top: 2.75rem;
}

/* The thread running through every stage */
.ns-stages::before {
  content: "";
  position: absolute;
  top: 0.75rem;
  bottom: 0.75rem;
  left: 1.55rem;
  width: 2px;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(143, 94, 74, 0.45) 0 7px,
    transparent 7px 11px
  );
}

.ns-stage {
  position: relative;
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 0 1.85rem;
  padding-bottom: 2.4rem;
}

.ns-stage:last-child {
  padding-bottom: 0;
}

.ns-stage__marker {
  position: relative;
  z-index: 1;
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  color: #8F5E4A;
  background: var(--ns-elevated);
  border: 1px dashed transparent;
  border-radius: 50%;
  transition: background 0.35s ease;
}

/* Ring on its own layer — the stage number stays upright while it turns */
.ns-stage__marker::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px dashed rgba(143, 94, 74, 0.45);
  border-radius: 50%;
  transition: border-color 0.35s ease;
}

.ns-stages .ns-stage:hover .ns-stage__marker::before,
.ns-stages .ns-stage.ns-hot .ns-stage__marker::before {
  border-color: rgba(143, 94, 74, 0.75);
  animation: ns-ring-spin 3.2s linear infinite;
}

.ns-stage__body {
  padding-top: 0.3rem;
  max-width: 46rem;
}

.ns-stage__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2.1vw, 1.7rem);
  margin: 0 0 0.4rem;
  color: var(--ns-ink);
  transition: color 0.35s ease;
}

.ns-stages .ns-stage:hover .ns-stage__title,
.ns-stages .ns-stage.ns-hot .ns-stage__title {
  color: #8F5E4A;
}

.ns-stage__text {
  color: var(--text-muted);
  line-height: 1.68;
  margin: 0;
}

/* You bring / you get — the practical half of each stage */
.ns-stage__io {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1.85rem;
  margin: 1.15rem 0 0;
  padding-top: 1.05rem;
  border-top: 1px dashed rgba(30, 36, 48, 0.16);
}

.ns-stage__io dt {
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8F5E4A;
  margin-bottom: 0.3rem;
}

.ns-stage__io dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #2A3038;
}

/* Tracks — where the sequence forks after direction */
.ns-tracks {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 2.5rem;
}

.ns-tracks__split {
  position: relative;
  width: 2px;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(143, 94, 74, 0.45) 0 7px,
    transparent 7px 11px
  );
}

.ns-tracks__split span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.35rem 0.6rem;
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8F5E4A;
  background: var(--ns-elevated);
  border: 1px dashed rgba(143, 94, 74, 0.4);
}

.ns-track {
  position: relative;
  padding: 1.85rem 1.7rem 1.95rem;
  background: rgba(255, 252, 248, 0.78);
  border: 1px solid rgba(30, 36, 48, 0.1);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.4s ease;
}

.ns-tracks .ns-track:hover,
.ns-tracks .ns-track.ns-hot {
  transform: translateY(-6px);
  border-color: rgba(143, 94, 74, 0.3);
  box-shadow:
    0 14px 32px rgba(30, 36, 48, 0.08),
    0 3px 8px rgba(30, 36, 48, 0.04);
}

.ns-track__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 0.9rem;
  font-size: 1.2rem;
  color: #8F5E4A;
  border: 1px dashed transparent;
  border-radius: 50%;
}

.ns-track__icon::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px dashed rgba(143, 94, 74, 0.42);
  border-radius: 50%;
}

.ns-tracks .ns-track:hover .ns-track__icon::before,
.ns-tracks .ns-track.ns-hot .ns-track__icon::before {
  animation: ns-ring-spin 3.2s linear infinite;
}

.ns-track h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2.1vw, 1.7rem);
  margin: 0 0 0.5rem;
}

.ns-track > p {
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.97rem;
  margin: 0;
}

.ns-track__list {
  list-style: none;
  padding: 0;
  margin: 1.15rem 0 0;
  display: grid;
  gap: 0.6rem;
}

.ns-track__list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #2A3038;
}

/* Short stitch instead of a bullet */
.ns-track__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 2px;
  background-image: repeating-linear-gradient(
    90deg,
    #8F5E4A 0 4px,
    transparent 4px 6px
  );
}

.ns-track__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.4rem;
}

.ns-track__links a {
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8F5E4A;
  text-decoration: none;
  border-bottom: 1px dashed rgba(143, 94, 74, 0.5);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.ns-track__links a:hover {
  color: var(--ns-ink);
  border-bottom-color: rgba(30, 36, 48, 0.5);
}

/* Checklist — what to put in the first note */
.ns-checklist {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.85rem;
}

.ns-check {
  display: grid;
  grid-template-columns: 1.9rem 1fr;
  gap: 0 1rem;
  align-items: start;
  padding: 0.95rem 1.1rem 1.05rem;
  background: rgba(255, 252, 248, 0.75);
  border: 1px solid rgba(30, 36, 48, 0.09);
  transition: border-color 0.35s ease, background 0.35s ease;
}

.ns-checklist .ns-check:hover,
.ns-checklist .ns-check.ns-hot {
  border-color: rgba(143, 94, 74, 0.3);
  background: rgba(255, 252, 248, 0.95);
}

.ns-check__mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  font-size: 0.8rem;
  color: #8F5E4A;
  border: 1px dashed transparent;
  border-radius: 50%;
  transition: background 0.35s ease, color 0.35s ease;
}

.ns-check__mark::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px dashed rgba(143, 94, 74, 0.45);
  border-radius: 50%;
}

.ns-checklist .ns-check:hover .ns-check__mark,
.ns-checklist .ns-check.ns-hot .ns-check__mark {
  background: rgba(196, 154, 136, 0.18);
}

/* Cormorant has a small x-height, so it needs size to outrank Outfit body copy.
   Selector matches the description rule below on specificity order. */
.ns-check p.ns-check__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.3rem;
  color: var(--ns-ink);
}

.ns-check p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.6;
  margin: 0;
}

.ns-studio-note {
  margin: 1.6rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.ns-text a,
.ns-studio-note a {
  color: #8F5E4A;
  border-bottom: 1px solid rgba(196, 154, 136, 0.55);
  text-decoration: none;
}

.ns-text a:hover,
.ns-studio-note a:hover {
  color: var(--ns-ink);
}

/* Wide screens: the practical half sits beside the prose, like a studio record */
@media (min-width: 1200px) {
  .ns-stage__body {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(19rem, 0.9fr);
    /* max-content keeps the title tight to its paragraph while the side
       panel spans both rows */
    grid-template-rows: max-content 1fr;
    gap: 0 2.75rem;
    align-items: start;
  }

  .ns-stage__title,
  .ns-stage__text {
    grid-column: 1;
  }

  .ns-stage__io {
    grid-column: 2;
    grid-row: 1 / span 2;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 0;
    padding: 0.2rem 0 0.2rem 2.5rem;
    border-top: 0;
    border-left: 1px dashed rgba(30, 36, 48, 0.16);
  }
}

@media (max-width: 991px) {
  .ns-tracks {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .ns-tracks__split {
    width: 100%;
    height: 2px;
    background-image: repeating-linear-gradient(
      90deg,
      rgba(143, 94, 74, 0.45) 0 7px,
      transparent 7px 11px
    );
  }

  .ns-checklist {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .ns-stage {
    grid-template-columns: 2.6rem 1fr;
    gap: 0 1.15rem;
  }

  .ns-stages::before {
    left: 1.25rem;
  }

  .ns-stage__marker {
    width: 2.6rem;
    height: 2.6rem;
    font-size: 1rem;
  }

  .ns-stage__io {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

/* Studio process — quiet blocks + top stitch (1) + scroll reveal (5)
 * Reveal / seam are class-driven from JS (not :hover alone, not reduced-motion kill). */
.ns-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.75rem;
  counter-reset: nsstep;
}

@keyframes ns-process-seam {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

.ns-process__item {
  position: relative;
  background: var(--ns-elevated);
  border: 1px solid rgba(30, 36, 48, 0.08);
  padding: 1.35rem 1.2rem 1.4rem;
  overflow: visible;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease,
    border-color 0.35s ease,
    box-shadow 0.4s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ns-process__item--in {
  opacity: 1;
  transform: translateY(0);
}

.ns-process__item--in.ns-process__item--hot {
  transform: translateY(-6px);
  border-color: rgba(143, 94, 74, 0.28);
  box-shadow:
    0 14px 32px rgba(30, 36, 48, 0.08),
    0 3px 8px rgba(30, 36, 48, 0.04);
}

.ns-process__seam {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 2px;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    #8F5E4A 0 7px,
    transparent 7px 11px
  );
  clip-path: inset(0 100% 0 0);
  animation: none;
}

.ns-process__seam--run {
  animation: ns-process-seam 0.55s ease forwards;
}

.ns-process__item::before {
  counter-increment: nsstep;
  content: "0" counter(nsstep);
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
  color: var(--theme-color);
  margin-bottom: 0.7rem;
  transition: color 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ns-process__item--hot::before {
  color: #8F5E4A;
  transform: translateY(-2px);
}

.ns-process__item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.45rem;
}

.ns-process__item p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 0;
}

/* —— Generic scroll reveal (guide / audiences / faq) —— */
.ns-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.ns-reveal.ns-reveal--in {
  opacity: 1;
  transform: translateY(0);
}

/* Card top stitch — drawn on entry (JS) via shared keyframes */
.ns-card-seam {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 2px;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    #8F5E4A 0 7px,
    transparent 7px 11px
  );
  clip-path: inset(0 100% 0 0);
}

.ns-card-seam--run {
  animation: ns-process-seam 0.6s ease forwards;
}

/* Thread turning in the needle eye — a dashed ring rotated a few degrees
   reads as static, so the ring keeps turning while hovered. */
@keyframes ns-ring-spin {
  to { transform: rotate(360deg); }
}

/* Dashes travelling down the seam — needle passing through fabric */
@keyframes ns-stitch-run {
  to { background-position: 0 11px; }
}

/* Guide — full-width utility section */
.ns-section--guide .ns-guide-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-bottom: 2.25rem;
}

.ns-guide-head__copy {
  flex: 1 1 20rem;
  max-width: 40rem;
}

.ns-guide-head__action {
  flex: 0 0 auto;
  padding-bottom: 0.15rem;
}

.ns-guide-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.ns-guide-point {
  position: relative;
  overflow: hidden;
  background: rgba(246, 242, 237, 0.62);
  border: 1px solid rgba(30, 36, 48, 0.08);
  padding: 1.6rem 1.4rem 1.65rem;
  transition:
    border-color 0.35s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    background 0.35s ease;
}

/*
 * Hover — lift plus an inner stitched frame drawn inside the plate.
 * .ns-hot mirrors hover on touch screens (set by north-star.js).
 */
.ns-guide-point:hover,
.ns-guide-point.ns-hot {
  border-color: rgba(143, 94, 74, 0.30);
  transform: translateY(-6px);
  background: rgba(255, 252, 248, 0.92);
  outline: 2px dashed rgba(143, 94, 74, 0.45);
  outline-offset: -9px;
  box-shadow:
    0 18px 38px rgba(30, 36, 48, 0.10),
    0 3px 9px rgba(30, 36, 48, 0.05);
}

/* Guide icon medallion — stitched ring (Guide only; audiences use a plain icon) */
.ns-guide-point__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(196, 154, 136, 0.10);
  color: #8F5E4A;
  font-size: 1.3rem;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease;
}

.ns-guide-point__icon::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1px dashed rgba(143, 94, 74, 0.42);
  opacity: 0.7;
  transition: opacity 0.35s ease;
}

.ns-guide-point:hover .ns-guide-point__icon,
.ns-guide-point.ns-hot .ns-guide-point__icon {
  transform: translateY(-3px) scale(1.06);
  background: rgba(196, 154, 136, 0.20);
}

.ns-guide-point:hover .ns-guide-point__icon::after,
.ns-guide-point.ns-hot .ns-guide-point__icon::after {
  opacity: 1;
  border-color: rgba(143, 94, 74, 0.7);
  animation: ns-ring-spin 3.2s linear infinite;
}

.ns-guide-point h3 {
  font-size: 1.3rem;
  margin: 0 0 0.5rem;
}

.ns-guide-point p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.62;
  margin: 0;
}

/* Audiences — portrait columns on fabric wash: no box, vertical stitch instead */
.ns-section--audiences {
  position: relative;
  overflow: hidden;
}

/* Soft ivory veil so unboxed copy stays legible over the rolls */
.ns-section--audiences::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(78% 72% at 50% 26%, rgba(255, 252, 248, 0.52), transparent 76%);
}

.ns-section--audiences > .auto-container {
  position: relative;
  z-index: 1;
}

.ns-audiences {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.ns-audience {
  position: relative;
  padding: 0.2rem 0 0.4rem 1.7rem;
}

.ns-audience::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  opacity: 0.7;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(143, 94, 74, 0.55) 0 7px,
    transparent 7px 11px
  );
  background-position: 0 0;
  transition: opacity 0.35s ease, width 0.35s ease;
}

.ns-audience:hover::before,
.ns-audience.ns-hot::before {
  opacity: 1;
  width: 3px;
  animation: ns-stitch-run 0.7s linear infinite;
}

/* Card seam belongs to boxed plates only */
.ns-audience .ns-card-seam {
  display: none;
}

.ns-audience__icon {
  display: inline-flex;
  color: #8F5E4A;
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.35s ease;
}

.ns-audience h3 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

.ns-audience p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
  font-size: 0.95rem;
}

.ns-audience h3,
.ns-audience p {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ns-audience:hover .ns-audience__icon,
.ns-audience.ns-hot .ns-audience__icon {
  transform: translateX(10px) translateY(-2px);
  color: #C49A88;
}

.ns-audience:hover h3,
.ns-audience.ns-hot h3 {
  transform: translateX(10px);
}

.ns-audience:hover p,
.ns-audience.ns-hot p {
  transform: translateX(6px);
}

/*
 * Reduced motion: skip the scroll-in stagger only. The needle loops are tied to
 * an explicit hover / tap on a single card, so they keep running by request.
 */
@media (prefers-reduced-motion: reduce) {
  .ns-reveal {
    opacity: 1;
    transform: none;
  }

  .ns-card-seam {
    clip-path: inset(0 0 0 0);
  }

  .ns-card-seam--run {
    animation: none;
  }
}

@media (max-width: 991px) {
  .ns-guide-points,
  .ns-audiences {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .ns-guide-head__action {
    width: 100%;
  }

  .ns-guide-head__action .theme-btn {
    width: 100%;
  }
}

/* Footer — option 2: brand · services · explore · contact; legal in bar */
.main-footer .widgets-section {
  padding-top: 64px !important;
  padding-bottom: 36px !important;
}

.main-footer .widget {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .main-footer .ns-footer-main .widget {
    margin-bottom: 1.75rem;
  }
}

.main-footer .about-widget_text,
.main-footer .links-widget a,
.main-footer .ns-footer-contact,
.main-footer .ns-footer-contact a,
.main-footer .copyright,
.main-footer .ns-footer-legal a {
  color: var(--ns-ink-soft);
}

.main-footer .about-widget_text {
  font-family: "Outfit", sans-serif !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
  margin-bottom: 0 !important;
  max-width: 22rem;
}

.main-footer .widget-title {
  color: var(--ns-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
}

/* Hover on silk — darker blush so links don’t wash into the fabric */
.main-footer .links-widget a:hover,
.main-footer .ns-footer-contact a:hover,
.main-footer .ns-footer-legal a:hover {
  color: #8F5E4A;
}

.main-footer .links-widget li.current a {
  color: #8F5E4A;
}

.main-footer .ns-footer-logo {
  margin-bottom: 1rem;
}

.main-footer .ns-footer-logo img {
  display: block;
  width: min(280px, 100%);
  height: auto;
}

.main-footer .ns-footer-contact {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

.main-footer .ns-footer-contact p {
  margin: 0 0 0.75rem;
}

.main-footer .ns-footer-contact a {
  text-decoration: none;
  word-break: break-word;
}

/* Explore: two columns on desktop so it doesn’t tower over Services/Contact */
@media (min-width: 768px) {
  .main-footer .ns-footer-explore {
    columns: 2;
    column-gap: 1.35rem;
  }

  .main-footer .ns-footer-explore li {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
  }
}

.main-footer .footer-bottom {
  background: transparent !important;
  border-top: 1px solid var(--border-night);
  padding: 20px 0 !important;
  text-align: center;
}

/*
 * The back-to-top button is fixed 28px from the right edge and 48px wide, so it
 * claims a 76px lane the row must not run into. This padding replaces the
 * container's own 15px gutter, so it holds the whole lane minus whatever the
 * container already clears on its own — and never drops below that gutter. Past
 * roughly 1320px the button misses the container and the normal 15px returns.
 */
.main-footer .ns-footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1.25rem;
  padding-right: max(15px, 76px - max(0px, (100vw - 1200px) / 2));
}

/*
 * Centred, the two blocks sit a link's width apart and read as one run. A
 * desktop bar is wide enough to push them out under the footer columns above —
 * the company line under the brand, the legal links under Contact.
 *
 * The lane widens to 96px here because the button is offset from the viewport
 * excluding the scrollbar, while 100vw counts it: reserving only its own 76px
 * leaves the last link sitting under the button around 1280px. Past roughly
 * 1360px the button clears the container and the plain gutter returns, so the
 * links land exactly under the Contact column.
 */
@media (min-width: 992px) {
  .main-footer .ns-footer-bottom-inner {
    justify-content: space-between;
    column-gap: 3.5rem;
    padding-right: max(15px, 96px - max(0px, (100vw - 1200px) / 2));
  }
}

.main-footer .copyright {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  text-align: center;
}

.main-footer .ns-footer-legal-name {
  color: var(--ns-ink);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.main-footer .ns-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
  font-size: 12px;
  line-height: 1.4;
}

.main-footer .ns-footer-legal a {
  text-decoration: none;
  color: var(--text-muted);
}

/* Cookies — compact card, center bottom; hero unchanged */
.ns-cookies {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 99990;
  width: min(340px, calc(100% - 2rem));
  background: #FFFCF8;
  border: 1px solid rgba(42, 36, 32, 0.12);
  box-shadow: 0 12px 28px rgba(42, 36, 32, 0.12);
  padding: 0;
  display: none;
}

.ns-cookies.is-visible { display: block; }

.ns-cookies__inner {
  padding: 0.9rem 1rem 0.95rem;
  text-align: center;
}

.ns-cookies__icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 0.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(196, 154, 136, 0.55);
  background: rgba(196, 154, 136, 0.12);
  color: #C49A88;
  font-size: 1rem;
}

.ns-cookies__title {
  margin: 0 0 0.3rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2A2420;
  font-weight: 500;
}

.ns-cookies__text {
  margin: 0 auto 0.75rem;
  max-width: 18.5rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #6B645C;
  text-align: center;
  text-wrap: pretty;
}

.ns-cookies__text a,
.ns-cookies__text a:visited {
  color: #C49A88 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(196, 154, 136, 0.7);
  white-space: nowrap;
}

.ns-cookies__text a:hover {
  color: #2A2420 !important;
  border-bottom-color: #2A2420;
}

.ns-cookies__actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.35rem;
}

.ns-cookies__actions .theme-btn {
  min-height: 32px !important;
  padding: 5px 10px !important;
  font-size: 9px !important;
  flex: 1 1 0;
  white-space: nowrap;
}

.ns-cookies__actions .ns-btn-secondary {
  background: transparent !important;
  border-color: #6A757C !important;
  color: #2A2420 !important;
}

.ns-cookies__actions .ns-btn-secondary:before {
  background-color: #6A757C !important;
}

.ns-cookies__actions .ns-btn-secondary:hover {
  color: #fff !important;
}

.ns-cookies__actions .ns-btn-secondary > span {
  color: inherit;
}

/*
 * Phones: wider and shorter than the desktop card. The hero CTAs sit just above
 * the fold, so every row this banner sheds is a row of the page it stops
 * covering. Keeping the two actions side by side saves the most, and the wider
 * box lets the text run without its desktop cap.
 */
@media (max-width: 575px) {
  .ns-cookies {
    width: calc(100% - 1.5rem);
    bottom: 1.35rem;
  }

  .ns-cookies__inner {
    padding: 0.6rem 0.85rem 0.65rem;
  }

  /* Keep the motif, but not at the 32px desktop scale — hero CTAs already sit
     on the fold, so the mark has to stay a compact row. */
  .ns-cookies__icon {
    width: 26px;
    height: 26px;
    margin-bottom: 0.28rem;
    font-size: 0.82rem;
  }

  .ns-cookies__title {
    margin-bottom: 0.25rem;
  }

  .ns-cookies__text {
    max-width: none;
    margin-bottom: 0.5rem;
    font-size: 0.78rem;
    line-height: 1.4;
  }
}

/* Map modal */
.ns-map-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.ns-map-modal.is-open {
  display: flex;
}

.ns-map-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 36, 48, 0.62);
  backdrop-filter: blur(3px);
  border: 0;
  padding: 0;
  cursor: pointer;
}

.ns-map-modal__panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  background: var(--ns-elevated);
  box-shadow: 0 24px 60px rgba(30, 36, 48, 0.28);
  overflow: hidden;
}

.ns-map-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border-night);
}

.ns-map-modal__head h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  margin: 0;
  color: var(--ns-ink);
}

.ns-map-modal__head p {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.ns-map-modal__close {
  border: 1px solid var(--border-night);
  background: transparent;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ns-ink);
  font-size: 1.1rem;
}

.ns-map-modal__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--section-wash);
}

.ns-map-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ns-map-modal__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0.9rem 1.15rem 1.1rem;
}

body.ns-map-open {
  overflow: hidden;
}

/* Back to top — square atelier control; needle stays visible on hover */
.scroll-to-top {
  display: none;
  right: 28px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  margin: 0;
  border-radius: 0;
  background: transparent !important;
  line-height: 1;
  font-size: 0;
  z-index: 100;
}

.scroll-to-top a.back-to-top,
.scroll-to-top .back-to-top {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0;
  bottom: auto;
  line-height: 1;
  border-radius: 0;
  background-color: var(--theme-color) !important;
  color: #FFFCF8 !important;
  overflow: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.scroll-to-top a.back-to-top::before,
.scroll-to-top .back-to-top::before {
  content: none !important;
  display: none !important;
}

.scroll-to-top a.back-to-top:hover,
.scroll-to-top a.back-to-top:focus-visible,
.scroll-to-top .back-to-top:hover,
.scroll-to-top .back-to-top:focus-visible {
  background-color: var(--theme-color-1) !important;
  color: #FFFCF8 !important;
}

.scroll-to-top .ns-totop-icon {
  position: relative;
  z-index: 2;
  display: block;
  width: 22px;
  height: 22px;
  color: inherit;
  flex-shrink: 0;
  pointer-events: none;
  transition: transform 0.35s ease;
}

.scroll-to-top a.back-to-top:hover .ns-totop-icon,
.scroll-to-top .back-to-top:hover .ns-totop-icon {
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-to-top .ns-totop-icon {
    transition: none;
  }
}

/* —— Mobile —— */
@media (max-width: 991px) {
  .ns-about-grid,
  .ns-services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ns-process {
    grid-template-columns: 1fr 1fr;
  }

  .header-top-two .right-column .header-top-two_contact-info {
    text-align: right;
  }

  .ns-hero__content {
    padding: 7.5rem 0 3.5rem;
  }

  .ns-section {
    padding: 72px 0;
  }
}

@media (max-width: 767px) {
  /*
   * The template blanks every <br> below this width. Each break on this site is
   * a postal address line, so hiding them ran the street number straight into
   * the postcode ("12" + "21710"). Give the element its default back.
   */
  br {
    display: inline;
  }

  .ns-about-grid,
  .ns-services-grid,
  .ns-process,
  .ns-audiences {
    grid-template-columns: 1fr;
  }

  .ns-about-visual {
    min-height: 240px;
  }

  .header-top-two .left-column,
  .header-top-two .right-column {
    display: none;
  }

  .header-top-two .middle-column {
    width: 100%;
    text-align: center;
  }

  .ns-hero {
    min-height: 100vh;
  }

  /* Brand scales with the viewport so "S.L." never drops to a second line */
  .ns-hero__brand {
    font-size: min(1.7rem, 5.3vw);
    white-space: nowrap;
  }

  /* Side by side while there is room; once they wrap, the stack sits centred */
  .ns-hero__ctas {
    justify-content: center;
  }

  /* Stacked, the two tracks read as one block — the OR seam needs room to sit
     between them rather than against their edges. */
  .ns-tracks {
    gap: 2rem;
  }

  .ns-service__body {
    min-height: 0;
    padding: 1rem 0.95rem 1.05rem;
  }
}

/* ——————————————————————————————————————————————————————————
   Hover needle loops for inner-page cards.

   Home runs the thread on audiences and guide points; these blocks
   only shifted colour and position, so the motion stopped at the
   front page. Same two loops reused: dashes travelling along a seam
   and a dashed ring turning.
   —————————————————————————————————————————————————————————— */

/* Shared seam strip — hidden until the card is hovered or tapped */
.ns-path::after,
.ns-track::before,
.ns-check::before,
.ns-scope__col::before,
.ns-measure-step::before,
.ns-fact::before,
.ns-capsule__season::after {
  content: "";
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

/* Horizontal seams: dashes run left to right */
.ns-path::after,
.ns-track::before,
.ns-scope__col::before,
.ns-measure-step::before,
.ns-fact::before,
.ns-capsule__season::after {
  left: 0;
  height: 2px;
  background-image: repeating-linear-gradient(
    90deg,
    #8F5E4A 0 7px,
    transparent 7px 11px
  );
}

.ns-path::after {
  right: 0;
  bottom: 0;
}

.ns-track::before,
.ns-scope__col::before,
.ns-measure-step::before,
.ns-fact::before {
  right: 0;
  top: 0;
}

/* Season label carries its own short seam rather than a full card frame */
.ns-capsule__season::after {
  right: 0;
  bottom: -0.3rem;
}

/* Vertical seam on the checklist: dashes run downward */
.ns-check::before {
  top: 0.9rem;
  bottom: 0.9rem;
  left: 0;
  width: 2px;
  background-image: repeating-linear-gradient(
    180deg,
    #8F5E4A 0 6px,
    transparent 6px 10px
  );
}

.ns-check,
.ns-capsule__season {
  position: relative;
}

.ns-track,
.ns-scope__col {
  position: relative;
  overflow: hidden;
}

.ns-paths .ns-path:hover::after,
.ns-paths .ns-path.ns-hot::after,
.ns-tracks .ns-track:hover::before,
.ns-tracks .ns-track.ns-hot::before,
.ns-scope__col:hover::before,
.ns-scope__col.ns-hot::before,
.ns-measure .ns-measure-step:hover::before,
.ns-measure .ns-measure-step.ns-hot::before,
.ns-contact__aside .ns-fact:hover::before,
.ns-contact__aside .ns-fact.ns-hot::before,
.ns-capsules .ns-capsule:hover .ns-capsule__season::after,
.ns-capsules .ns-capsule.ns-hot .ns-capsule__season::after {
  opacity: 1;
  animation: ns-stitch-x-run 0.7s linear infinite;
}

.ns-checklist .ns-check:hover::before,
.ns-checklist .ns-check.ns-hot::before {
  opacity: 1;
  animation: ns-stitch-run 0.7s linear infinite;
}

/* Seams already drawn on the page start moving instead of appearing */
.ns-contact__form:hover::before,
.ns-includes:hover::before,
.ns-includes.ns-hot::before,
.ns-flow .ns-flow__step:hover::before,
.ns-flow .ns-flow__step.ns-hot::before {
  animation: ns-stitch-x-run 0.7s linear infinite;
}

/* Dashed knots turn like the door and stage markers */
.ns-checklist .ns-check:hover .ns-check__mark::before,
.ns-checklist .ns-check.ns-hot .ns-check__mark::before {
  animation: ns-ring-spin 3.2s linear infinite;
}
