/*
  Parfums d’Jardestål — v1.8.0 typography & micro-polish
  Final cascade layer. No layout redesign; this pass standardises optical typography,
  metadata scale, CTA treatment, rules, focus and small interaction details.
*/

:root {
  --pdj-type-body: 16px;
  --pdj-type-small: 11px;
  --pdj-type-micro: 10px;
  --pdj-track-small: .135em;
  --pdj-track-micro: .12em;
  --pdj-reading: 64ch;
  --pdj-reading-narrow: 44ch;
  --pdj-hairline: rgba(41,35,30,.16);
  --pdj-hairline-dark: rgba(245,239,228,.20);
  --pdj-muted: #665e55;
  --pdj-link-shift: 3px;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-size: var(--pdj-type-body) !important;
  line-height: 1.68;
  letter-spacing: 0;
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1, "clig" 1;
}

h1,h2,h3,h4,.display,.lede,.brand,.brand-name,
.home-hero-copy h1,.home-hero-copy p,.home-section-intro h2,
.home-atelier-copy h2,.home-atelier-copy>p:not(.eyebrow),
.home-material-label h3,.home-house-copy h2,.home-journal-card h3,
.accordion-gallery__copy strong,.flowing-menu__title,.flowing-menu__part>span:first-child,
.collection-page .fc-hero h1,.collection-page .fc-copy h2,
.perfume-page .perfume-hero h1,.perfume-page .scent-copy-prose p:first-child,
.perfume-page .motion-caption h2,.perfume-page .next-perfume strong,
.house-premium .hp-title,.house-premium .hp-h2,.house-premium .hp-lead,
.journal-page .journal-hero h1,.journal-page .journal-feature-copy h2,
.journal-page .journal-minor h2,.journal-page .journal-minor h3,
.journal-article .article-header h1,.journal-article .article-lead,.journal-article .article-next strong,
.contact-page-shell .contact-intro h1,.legal-page .legal-article h1,.not-found-page .error-page h1 {
  font-optical-sizing: auto;
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1, "clig" 1;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

p,li,blockquote,figcaption {
  text-wrap: pretty;
  widows: 2;
  orphans: 2;
}

/* Metadata should be small, never microscopic. */
.eyebrow,.small-meta,.fc-kicker,.fc-axis,.fc-number,.image-folio,
.journal-feature-copy>span,.journal-minor>span,
.home-journal-copy>span,.home-perfume-index,
.flowing-menu__index,.flowing-menu__descriptor,
.contact-page-shell .contact-address,.contact-page-shell .contact-visual figcaption,
.footer-links,.footer-folio {
  font-size: var(--pdj-type-small) !important;
  line-height: 1.4 !important;
  letter-spacing: var(--pdj-track-small) !important;
  font-weight: 560 !important;
  font-variant-numeric: tabular-nums;
}

.eyebrow,.small-meta,.fc-kicker,.fc-axis,.fc-number,.image-folio,
.journal-feature-copy>span,.journal-minor>span,
.flowing-menu__index,.flowing-menu__descriptor {
  text-transform: uppercase !important;
}

/* Header: slightly calmer lockup and a legible control scale. */
.site-header .brand { gap: 10px !important; }
.site-header .brand-name {
  font-size: 10.5px !important;
  line-height: 1.08 !important;
  letter-spacing: .05em !important;
  font-weight: 520 !important;
}
.site-header.is-solid .brand-name { font-size: 10px !important; }
html.js .site-header.staggered-menu .menu-toggle {
  font-size: 10.5px !important;
  letter-spacing: .145em !important;
  font-weight: 620 !important;
  gap: 9px !important;
}
html.js .site-header.staggered-menu .menu-toggle::before,
html.js .site-header.staggered-menu .menu-toggle::after { width: 12px; }
html.js .site-header.staggered-menu .nav.staggered-menu-panel::before,
html.js .site-header.staggered-menu .nav.staggered-menu-panel::after {
  font-size: 9.5px !important;
  letter-spacing: .155em !important;
  font-weight: 600 !important;
}
html.js .site-header.staggered-menu .nav.staggered-menu-panel>a {
  line-height: 1.01 !important;
  letter-spacing: -.026em !important;
}
html.js .site-header.staggered-menu .nav.staggered-menu-panel>a::before {
  font-size: 9.5px !important;
  letter-spacing: .1em !important;
}

/* Focus is intentionally visible and consistent on light/dark surfaces. */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline-width: 2px !important;
  outline-style: solid !important;
  outline-color: currentColor !important;
  outline-offset: 5px !important;
}

/* CTA system: horizontal editorial arrow everywhere, predictable underline. */
.text-link,.fc-link,.hp-link,.home-primary-link,.home-card-link,
.accordion-gallery__link,.portrait-invitation {
  font-size: 10.5px !important;
  line-height: 1.2 !important;
  letter-spacing: .125em !important;
  font-weight: 620 !important;
  text-transform: uppercase !important;
  text-underline-offset: 5px;
}
.text-link,.fc-link,.hp-link {
  gap: 10px !important;
  padding-bottom: 7px !important;
}
.text-link::after,.fc-link::after,.hp-link::after {
  content: "→" !important;
  display: inline-block;
  font-size: 14px !important;
  line-height: 1;
  transform: translateX(0);
  transition: transform .28s var(--ease-out, ease) !important;
}
.text-link:hover::after,.text-link:focus-visible::after,
.fc-link:hover::after,.fc-link:focus-visible::after,
.hp-link:hover::after,.hp-link:focus-visible::after {
  transform: translateX(var(--pdj-link-shift)) !important;
}
.text-link>[aria-hidden="true"],.fc-link>[aria-hidden="true"],.hp-link>[aria-hidden="true"] { display:none !important; }

/* Hairlines should read as structure, not decoration. */
.home-atelier,.home-material-label,.home-journal-card,
.collection-page .fc-hero,.collection-page .fc-entry,
.flowing-menu,.flowing-menu__item {
  border-color: var(--pdj-hairline) !important;
}

/* Homepage — loosen tracking before adding more size. */
.home-hero-copy h1 {
  letter-spacing: -.026em !important;
  line-height: 1 !important;
}
.home-hero-copy p {
  line-height: 1.3 !important;
  letter-spacing: -.008em;
}
.home-primary-link { margin-top: 30px; }
.home-section-intro .eyebrow,.home-atelier-copy .eyebrow,.home-house-copy .eyebrow { margin-bottom: 20px !important; }
.home-section-intro h2 {
  line-height: 1 !important;
  letter-spacing: -.032em !important;
}
.home-atelier-copy h2 {
  line-height: 1.035 !important;
  letter-spacing: -.03em !important;
}
.home-atelier-copy>p:not(.eyebrow) {
  line-height: 1.44 !important;
  letter-spacing: -.01em;
}
.home-material-label h3 {
  line-height: 1.06 !important;
  letter-spacing: -.022em !important;
}
.home-material-label p {
  font-size: 11.5px !important;
  line-height: 1.5 !important;
  letter-spacing: .055em !important;
  text-transform: none !important;
}
.home-house-copy h2 {
  line-height: 1.01 !important;
  letter-spacing: -.03em !important;
}
.home-house-place {
  font-size: 11px !important;
  line-height: 1.4 !important;
  letter-spacing: .12em !important;
}
.home-house-copy>p:not(.eyebrow):not(.home-house-place) {
  max-width: 58ch;
  font-size: 16.5px !important;
  line-height: 1.74 !important;
}
.home-journal-card h3 {
  line-height: 1.09 !important;
  letter-spacing: -.022em !important;
}
.home-journal-card p {
  font-size: 14.5px !important;
  line-height: 1.7 !important;
}
.home-journal-card strong {
  font-size: 10.5px !important;
  letter-spacing: .12em !important;
}

/* Founding accordion: refined rather than game-like. */
.accordion-gallery__index { font-size: 10.5px !important; letter-spacing: .12em !important; }
.accordion-gallery__copy strong {
  line-height: 1.01 !important;
  letter-spacing: -.026em !important;
}
.accordion-gallery__notes {
  font-size: 12.5px !important;
  line-height: 1.55 !important;
  letter-spacing: .01em !important;
}
.accordion-gallery__link { letter-spacing: .115em !important; }
.accordion-gallery__link b { font-size: 14px !important; }

/* Collection + material archive. */
.collection-page .fc-hero h1,.material-page .fc-hero h1 {
  line-height: .96 !important;
  letter-spacing: -.032em !important;
}
.collection-page .fc-intro p,.material-page .fc-intro p {
  font-size: 16.5px !important;
  line-height: 1.74 !important;
  max-width: 38ch !important;
}
.collection-page .fc-copy h2 {
  line-height: 1.025 !important;
  letter-spacing: -.028em !important;
}
.collection-page .fc-description {
  font-size: 16.5px !important;
  line-height: 1.74 !important;
  max-width: 38ch !important;
}
.collection-page .fc-notes {
  font-size: 11.5px !important;
  line-height: 1.62 !important;
  letter-spacing: .025em !important;
}
.material-flow-intro h2 {
  line-height: .99 !important;
  letter-spacing: -.032em !important;
}
.material-flow-intro>p:last-child,.material-flow-notes p {
  font-size: 15.5px !important;
  line-height: 1.7 !important;
}
.flowing-menu__title {
  line-height: .97 !important;
  letter-spacing: -.03em !important;
}
.flowing-menu__part>span:first-child {
  letter-spacing: -.028em !important;
}

/* Perfume pages: editorial reading rhythm without excessive leading. */
.perfume-page .perfume-hero h1 {
  line-height: .98 !important;
  letter-spacing: -.03em !important;
}
.perfume-page .perfume-hero .notes {
  font-size: 11.5px !important;
  line-height: 1.62 !important;
  letter-spacing: .055em !important;
}
.perfume-page .scent-axis span {
  font-size: 10.5px !important;
  line-height: 1.35 !important;
  letter-spacing: .13em !important;
}
.perfume-page .scent-copy-prose { max-width: 720px !important; }
.perfume-page .scent-copy-prose p {
  max-width: 40ch !important;
  margin-bottom: 1.45em !important;
  font-size: 18px !important;
  line-height: 1.82 !important;
  letter-spacing: 0 !important;
}
.perfume-page .scent-copy-prose p:first-child {
  max-width: 18ch !important;
  margin: 18px 0 38px !important;
  font-size: clamp(36px,3vw,50px) !important;
  line-height: 1.18 !important;
  letter-spacing: -.018em !important;
}
.perfume-page .facet span,.perfume-page .material-card p {
  font-size: 11.5px !important;
  line-height: 1.55 !important;
  letter-spacing: .035em !important;
}
.perfume-page .motion-caption h2,.perfume-page .next-perfume strong {
  letter-spacing: -.028em !important;
}

/* House. */
.house-premium .hp-title {
  line-height: .97 !important;
  letter-spacing: -.032em !important;
}
.house-premium .hp-h2 {
  line-height: 1.025 !important;
  letter-spacing: -.028em !important;
}
.house-premium .hp-lead {
  line-height: 1.38 !important;
  letter-spacing: -.012em !important;
}
.house-premium .hp-origin-copy p,.house-premium .hp-body,.house-premium .hp-dark-copy,
.house-premium article p {
  font-size: 16.5px !important;
  line-height: 1.76 !important;
}

/* Journal and articles. */
.journal-page .journal-hero h1,.journal-article .article-header h1 {
  line-height: .98 !important;
  letter-spacing: -.032em !important;
}
.journal-page .journal-hero>.container>p:not(.eyebrow) {
  max-width: 54ch;
  font-size: 17px !important;
  line-height: 1.72 !important;
}
.journal-page .journal-feature-copy h2 {
  line-height: 1.04 !important;
  letter-spacing: -.026em !important;
}
.journal-page .journal-minor h2,.journal-page .journal-minor h3 {
  line-height: 1.09 !important;
  letter-spacing: -.02em !important;
}
.journal-page .journal-feature-copy p,.journal-page .journal-minor p {
  line-height: 1.72 !important;
}
.journal-article .article-lead {
  line-height: 1.42 !important;
  letter-spacing: -.01em !important;
}
.journal-article .article-body { max-width: 760px; }
.journal-article .article-body p {
  font-size: 18px !important;
  line-height: 1.82 !important;
  max-width: 43ch;
}

/* Contact and legal copy. */
.contact-page-shell .contact-intro h1,.legal-page .legal-article h1,.not-found-page .error-page h1 {
  line-height: 1 !important;
  letter-spacing: -.03em !important;
}
.contact-page-shell .contact-lead { line-height: 1.72 !important; }
.contact-page-shell .contact-form label {
  font-size: 11px !important;
  line-height: 1.35 !important;
  letter-spacing: .075em !important;
  font-weight: 600 !important;
}
.contact-page-shell .contact-submit {
  font-size: 10.5px !important;
  letter-spacing: .13em !important;
}
.legal-page .legal-article p { line-height: 1.76 !important; }

/* Footer: legible small type and cleaner alignment. */
.site-footer .footer-links,.site-footer .footer-folio {
  font-size: 10.5px !important;
  letter-spacing: .105em !important;
}
.site-footer a { text-underline-offset: 4px; }

/* Micro-interaction restraint: only pointer devices get motion cues. */
@media (hover:hover) and (pointer:fine) {
  .home-primary-link:hover span,.home-primary-link:focus-visible span,
  .home-card-link:hover span,.home-card-link:focus-visible span,
  .home-journal-card:hover strong b,.home-journal-card:focus-visible strong b,
  .accordion-gallery__item:hover .accordion-gallery__link b {
    transform: translateX(var(--pdj-link-shift));
  }
}

@media (max-width: 900px) {
  :root { --pdj-type-small: 10.5px; }
  .site-header .brand-name { font-size: 10px !important; }
  html.js .site-header.staggered-menu .nav.staggered-menu-panel>a {
    line-height: 1.04 !important;
    letter-spacing: -.024em !important;
  }
  .home-section-intro h2,.home-atelier-copy h2,.home-house-copy h2,
  .collection-page .fc-copy h2,.house-premium .hp-h2,
  .journal-page .journal-feature-copy h2 {
    letter-spacing: -.026em !important;
  }
  .perfume-page .scent-copy-prose p { max-width: 44ch !important; }
}

@media (max-width: 560px) {
  body { font-size: 15.5px !important; line-height: 1.66; }
  :root { --pdj-type-small: 10px; }
  .site-header .brand-name { font-size: 9.5px !important; letter-spacing: .045em !important; }
  html.js .site-header.staggered-menu .menu-toggle { font-size: 10px !important; }
  .home-hero-copy h1 { line-height: 1.02 !important; letter-spacing: -.023em !important; }
  .home-section-intro h2,.home-atelier-copy h2,.home-house-copy h2 { line-height: 1.04 !important; }
  .home-house-copy>p:not(.eyebrow):not(.home-house-place) { font-size: 16px !important; }
  .perfume-page .scent-copy-prose p { font-size: 16.5px !important; line-height: 1.78 !important; }
  .perfume-page .scent-copy-prose p:first-child { font-size: clamp(34px,10vw,44px) !important; line-height: 1.2 !important; }
  .journal-article .article-body p { font-size: 16.5px !important; line-height: 1.8 !important; }
  .material-flow-intro>p:last-child,.material-flow-notes p { font-size: 15px !important; }
}

@media (prefers-contrast: more) {
  :root { --pdj-hairline: rgba(41,35,30,.35); --pdj-hairline-dark: rgba(245,239,228,.38); }
  .home-muted,.home-journal-card p,.home-house-copy>p,.material-flow-intro>p:last-child { opacity:1 !important; }
}

@media (prefers-reduced-motion: reduce) {
  .text-link::after,.fc-link::after,.hp-link::after,
  .home-primary-link span,.home-card-link span,.home-journal-card strong b,
  .accordion-gallery__link b { transition:none !important; transform:none !important; }
}
