:root {
  --paper: #faf7ef;
  --white: #fffdf9;
  --oat: #f0eade;
  --forest: #173e32;
  --ink: #202e27;
  --muted: #555f51;
  --accent: #721f44;
  --accent-hover: #561633;
  --line: #cecabb;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Source Sans Pro", system-ui, sans-serif;
  --header: 4.75rem;
  --gutter: clamp(1.25rem, 5.5vw, 5rem);
  --control-radius: 4px;
  accent-color: var(--forest);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--header) + 1rem); }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
h1, h2, h3, h4, p, figure, ol { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
button, input { color: inherit; font: inherit; }
button { cursor: pointer; }
button:disabled, input:disabled { cursor: not-allowed; opacity: .6; }
::selection { background: #dcdcc6; color: var(--forest); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
:where([tabindex="-1"]):focus:not(:focus-visible) { outline: none; }
:is(.site-footer, .mobile-contact-bar) :focus-visible { outline-color: #f5d9a3; }
.container { width: min(100%, calc(75rem + 2 * var(--gutter))); margin-inline: auto; padding-inline: var(--gutter); }
.graphic-definitions, .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip-link { position: fixed; inset: .5rem auto auto .75rem; z-index: 50; padding: .6rem 1rem; background: var(--forest); color: white; transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 8;
  background: var(--paper);
  border-bottom: 1px solid #e0ddcf;
}
.header-inner, .brand, .desktop-nav, .menu-button { display: flex; align-items: center; }
.header-inner { min-height: var(--header); justify-content: space-between; gap: 1rem; }
.brand { gap: .68rem; text-decoration: none; color: var(--forest); min-height: 44px; }
.brand-mark { width: 2.55rem; height: 2.55rem; fill: none; stroke: currentColor; stroke-width: 1.45; }
.brand-text { display: grid; gap: .13rem; }
.brand-name { font: 600 1.63rem/.97 var(--serif); }
.brand-role, .consultant-role { font-size: .875rem; line-height: 1.3; color: var(--muted); }
.desktop-nav { gap: clamp(1.2rem, 2.8vw, 2.7rem); }
.site-nav { scroll-target-group: auto; }
.site-nav a { display: flex; align-items: center; min-height: 44px; color: var(--forest); font-weight: 600; font-size: 1rem; text-decoration: none; text-underline-offset: .35em; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a:active { text-decoration: underline; }
.site-nav a:target-current { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; }
@supports not selector(a:target-current) {
  body:has(#about:target) .site-nav a[href="#about"],
  body:has(#categories:target) .site-nav a[href="#categories"],
  body:has(#catalog:target) .site-nav a[href="#catalog"],
  body:has(#contacts:target) .site-nav a[href="#contacts"] { color: var(--accent); text-decoration: underline; }
}
@supports (animation-timeline: scroll()) {
  .site-header { animation: pinned-header 1s linear both; animation-timeline: scroll(); animation-range: 0 70px; }
  @keyframes pinned-header { to { background-color: var(--white); box-shadow: 0 2px 7px #233b2a12; } }
}
.menu-button, .mobile-contact-bar { display: none; }
.mobile-menu { padding: .5rem 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; color: var(--forest); }
.mobile-menu a { padding: .35rem .5rem; }

.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .98fr); align-items: center; gap: clamp(2rem, 5.3vw, 5.5rem); padding-block: clamp(2.15rem, 3.6vw, 3.8rem) clamp(2.5rem, 4.15vw, 4.5rem); }
.intro-main { max-width: 33rem; }
h1 { font-size: clamp(2.75rem, 4.1vw, 3.7rem); line-height: 1.01; color: var(--forest); }
.intro-lead { max-width: 26rem; font-size: 1.19rem; line-height: 1.55; color: #3c5146; margin-top: 1.4rem; }
.intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.8rem; }
.btn, .mobile-contact { min-height: 48px; border-radius: var(--control-radius); display: inline-flex; align-items: center; justify-content: center; gap: 1rem; font-size: 1.0625rem; line-height: 1.15; font-weight: 600; text-decoration: none; }
.btn { padding: .7rem 1.35rem; transition: background-color 180ms ease-out, color 180ms ease-out; }
.btn-primary, .mobile-contact { color: white; background: var(--accent); }
.btn-primary:hover, .mobile-contact:hover { background: var(--accent-hover); }
.btn-secondary { color: var(--forest); box-shadow: inset 0 0 0 1px #a3a99a; }
.btn-secondary:hover { background: #eeeedf; }
.btn:active, .menu-button:active, .mobile-contact:active { filter: brightness(.85); }

.consultant-summary { min-width: 0; }
.portrait-stage { position: relative; width: 100%; aspect-ratio: 1.34; isolation: isolate; }
.portrait-paper { position: absolute; inset: 11% 0 5.5% 2%; background: #dce1cc; overflow: hidden; }
.herb-print { width: 100%; height: 100%; fill: none; stroke: #758264; stroke-width: .85; stroke-linecap: round; stroke-linejoin: round; }
.consultant-photo-wrap { position: absolute; left: 28%; top: 0; width: 58.5%; height: 94.5%; overflow: hidden; border-radius: 50% 50% 0 0 / 36% 36% 0 0; background: var(--oat); }
.consultant-photo, .fallback-portrait { width: 100%; height: 100%; object-fit: cover; object-position: 50% 51%; }
.fallback-portrait { width: 58.5%; height: 94.5%; }
.still-pack { position: absolute; height: auto; max-width: none; filter: drop-shadow(1px 4px 2px #322d2129); }
.pack-teal { width: 21%; bottom: 4.4%; left: 4%; }
.pack-plum { width: 19.5%; bottom: 0; left: 17.8%; }
.consultant-person { display: flex; align-items: baseline; justify-content: flex-end; flex-wrap: wrap; column-gap: .65rem; padding-top: .7rem; text-align: right; }
.consultant-name { font: 600 1.42rem/1.1 var(--serif); color: var(--forest); }
.consultant-role { font-size: .94rem; }
.portrait-stage:has(.consultant-photo-wrap[hidden]):not(:has(.fallback-portrait)) .pack-teal { left: 29%; width: 31%; bottom: 10%; }
.portrait-stage:has(.consultant-photo-wrap[hidden]):not(:has(.fallback-portrait)) .pack-plum { left: 48%; width: 28%; bottom: 5%; }

.order-steps { background: #e8e9da; color: var(--forest); }
.steps-inner { display: grid; grid-template-columns: .8fr 3fr; gap: 1.8rem; align-items: center; padding-block: 2rem; }
.steps-inner h2 { font-size: clamp(1.7rem, 2.25vw, 2.1rem); line-height: 1.05; }
.steps-list { list-style: none; counter-reset: step; display: grid; grid-template-columns: .92fr 1.17fr 1fr; gap: clamp(1rem, 2.8vw, 3rem); padding: 0; }
.steps-list li { counter-increment: step; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .85rem; padding-block: .35rem; line-height: 1.39; text-wrap: pretty; }
.steps-list li::before { content: counter(step) "."; font: 500 2.8rem/.95 var(--serif); color: #485d40; font-variant-numeric: lining-nums; }

.catalog-section { padding-block: clamp(3.6rem, 5vw, 5.6rem) clamp(4.5rem, 7vw, 7rem); background: var(--white); }
#catalog-title, .footer-title { font-size: clamp(2.65rem, 4vw, 3.5rem); line-height: 1.06; }
#catalog-title { color: var(--forest); margin-bottom: 1.45rem; }
.catalog-controls { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.25rem; margin-bottom: clamp(1.5rem, 2.7vw, 2.4rem); }
.category-select { min-width: 0; }
.catalog-anchor { position: absolute; top: 2px; left: 0; width: 1px; height: 1px; }
#catalog, #categories { scroll-margin-top: 5.5rem; }
.categories-grid, .category-filters { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.category-card, .filter-pill { min-height: 46px; padding: .45rem 1.05rem; background: #e9ecde; color: var(--forest); border: none; border-radius: 2rem; font-weight: 600; line-height: 1.15; }
.category-card { display: flex; gap: .55rem; align-items: center; }
.category-thumb { display: none; }
.category-card::before { content: ''; width: 12px; height: 9px; border-bottom: 1.75px solid; border-left: 1.75px solid; transform: translateY(-2px) rotate(-45deg); }
.category-select:has(.category-card:nth-child(2)) .category-card:not([aria-pressed="true"])::before { display: none; }
.category-count { display: none; }
.category-select:has(.category-card:nth-child(2)) .category-count { display: inline; font-size: .875rem; font-weight: 400; }
.category-select:has(.category-card:nth-child(2)) .category-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.category-card:hover, .filter-pill:hover { background-color: #d8deca; }
.category-card[aria-pressed="true"], .filter-pill[aria-pressed="true"] { color: var(--white); background: var(--forest); }
.category-card:active, .filter-pill:active { filter: brightness(.9); }
.category-filters { flex-basis: 100%; }
.search-field { position: relative; min-width: 0; max-width: 29rem; flex: 1 1 14rem; }
.search-field input { width: 100%; height: 46px; border: 1px solid #a8ad9e; background: var(--white); padding: .4rem 2.8rem .4rem 2.65rem; border-radius: var(--control-radius); color: var(--ink); caret-color: var(--accent); }
.search-field input::placeholder { color: var(--muted); opacity: 1; }
.search-field input:hover { border-color: var(--forest); }
.search-field input:focus-visible { border-color: var(--accent); }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-icon, .search-clear { position: absolute; top: 50%; transform: translateY(-50%); color: var(--forest); }
.search-icon { left: .85rem; pointer-events: none; }
.search-clear { right: 1px; width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: none; }
.search-clear:hover, .search-clear:active { color: var(--accent); }
.catalog-count { margin-left: auto; color: var(--muted); white-space: nowrap; }
.catalog-status { max-width: 55ch; background: var(--oat); padding: 1.3rem 1.5rem; }
.catalog-directory a { display: inline-block; padding: .5rem 0; }
.catalog-directory span { white-space: nowrap; }

.site-footer { color: var(--paper); background: var(--forest); padding-block: clamp(2.8rem, 5.5vw, 5.5rem) 1.75rem; }
.footer-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: start; }
.footer-title { color: var(--white); margin-bottom: 1.5rem; }
.footer-name { font: 500 1.8rem/1.15 var(--serif); }
.footer-role, .footer-hours, .footer-legal, .contact-label { color: #d9e1d2; }
.footer-role { margin-top: .15rem; }
.footer-hours { margin-top: 1rem; }
.footer-hours:has([hidden]) { display: none; }
.hours-label { margin-right: .4rem; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 2rem; padding: 0; margin: 0; list-style: none; }
.footer-links li { position: relative; }
.contact-label { display: block; font-size: .94rem; }
.contact-value { display: flex; align-items: center; gap: .6rem; min-height: 44px; width: fit-content; font-size: 1.17rem; line-height: 1.25; color: var(--white); font-weight: 600; text-decoration: none; text-underline-offset: .23em; }
.contact-icon { flex: none; }
.contact-value:hover, .contact-value:active { text-decoration: underline; }
.contact-value[href^="mailto:"] { white-space: nowrap; }
.footer-legal { margin-top: clamp(2.25rem, 5.5vw, 4.5rem); }
.footer-legal p { font-size: .94rem; line-height: 1.45; max-width: 70ch; border-top: none; }
.footer-legal::before { content: ''; display: block; height: 1px; background: #627969; margin-bottom: 1.2rem; }

@media (max-width: 900px) {
  :root { --gutter: clamp(1.25rem, 4.2vw, 3rem); }
  .desktop-nav { gap: 1.25rem; }
  .intro-grid { gap: 1.5rem; grid-template-columns: 1fr 1fr; }
  .consultant-person { display: grid; justify-content: end; gap: .15rem; }
  .steps-inner { grid-template-columns: 1fr; gap: 1rem; }
  .steps-list { gap: 1.4rem; }
  .footer-inner { grid-template-columns: .9fr 1.4fr; gap: 1.5rem; }
  .footer-links { gap: 1rem; }
  .contact-value { font-size: 1.04rem; }
}
@media (max-width: 700px) {
  :root { --header: 3.8rem; }
  html { scroll-padding-top: 0; }
  body { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100vh; height: 100dvh; overflow: hidden; timeline-scope: --mobile-page; }
  .page-scroll { overflow-y: auto; overscroll-behavior-y: contain; scroll-padding-block: .75rem; scroll-timeline-name: --mobile-page; }
  .site-header { position: relative; }
  @supports (animation-timeline: scroll()) { .site-header { animation-timeline: --mobile-page; } }
  .brand { gap: .5rem; }
  .brand-mark { width: 2.05rem; height: 2.05rem; }
  .brand-name { font-size: 1.35rem; }
  .brand-role { font-size: .82rem; }
  .desktop-nav { display: none; }
  .menu-button { display: flex; align-items: center; justify-content: center; gap: .35rem; min-height: 44px; padding: .35rem 0 .35rem .7rem; color: var(--forest); border: 0; background: none; font-weight: 600; }
  .menu-button:hover, .menu-button:has(+ :popover-open) { color: var(--accent); }
  .mobile-menu { position: fixed; inset: calc(var(--header) + .25rem) var(--gutter) auto auto; margin: 0; min-width: 13rem; }
  .intro-grid { display: flex; flex-direction: column; align-items: stretch; gap: 1.45rem; padding-block: 1.35rem 2.25rem; }
  .consultant-summary { order: -1; width: min(100%, 27rem); margin-inline: auto; }
  .portrait-stage { aspect-ratio: 1.66; }
  .consultant-photo-wrap { width: 49%; left: 32%; }
  .pack-teal { width: 18%; left: 9%; }
  .pack-plum { width: 16.3%; left: 22%; }
  .consultant-person { display: flex; align-items: baseline; justify-content: flex-end; column-gap: .5rem; row-gap: .1rem; padding-top: .45rem; }
  .consultant-name { font-size: 1.25rem; }
  .consultant-role { font-size: .81rem; }
  h1 { font-size: clamp(2.4rem, 8.7vw, 3.05rem); line-height: 1.03; }
  .intro-main { max-width: 29rem; }
  .intro-lead { font-size: 1.06rem; line-height: 1.55; margin-top: 1rem; }
  .intro-actions { margin-top: 1.2rem; }
  .steps-inner { padding-block: 1.6rem; gap: .8rem; }
  .steps-list { grid-template-columns: 1fr; gap: .35rem; }
  .steps-list li { grid-template-columns: 1.7rem 1fr; gap: .65rem; padding-block: .15rem; }
  .steps-list li::before { font-size: 2.15rem; }
  .catalog-section { padding-block: 2.7rem 3.5rem; }
  #catalog-title { margin-bottom: 1rem; }
  .catalog-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem .5rem; }
  .category-select { grid-row: 1; grid-column: 1 / -1; }
  .category-card, .filter-pill { padding-inline: .8rem; font-size: 1rem; }
  .search-field, .category-filters { grid-column: 1 / -1; max-width: none; }
  .search-field { grid-row: 2; }
  .catalog-count { grid-row: 3; grid-column: 1 / -1; margin-left: 0; font-size: .94rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-title { margin-bottom: .9rem; }
  .footer-links { grid-template-columns: 1fr; gap: .25rem; }
  .footer-links li { display: grid; grid-template-columns: 4.65rem 1fr; align-items: center; gap: .6rem; }
  .contact-value { font-size: 1.07rem; }
  .mobile-contact-bar { display: flex; justify-content: flex-end; align-items: center; padding: .3rem var(--gutter) max(.3rem, env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
  .mobile-contact { gap: .5rem; font-size: 1rem; min-height: 44px; padding: .5rem 1rem; }
}
@media (min-width: 701px) { .mobile-menu:popover-open { display: none; } }
@media (max-width: 360px) {
  .consultant-person { flex-direction: column; align-items: flex-end; }
  .category-select, .catalog-count { grid-column: 1 / -1; }
  .catalog-count { grid-row: 3; }
  .footer-links li { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
