/* Eceyle 2026 identity. Loaded after theme.css; restyles every public page and adds the home page (eh-*). */
:root {
  --md-primary: #4A2450;
  --md-primary-dark: #331737;
  --md-primary-soft: #7A4A80;
  --md-primary-container: #F1E6EE;
  --md-secondary: #D99A2B;
  --md-secondary-dark: #B97D14;
  --md-on-secondary: #241604;
  --md-tertiary: #1F1A22;
  --md-surface: #F6F0E6;
  --md-surface-container: #FFFCF7;
  --md-outline: #E5DACB;
  --md-outline-strong: #CDBFAC;
  --md-on-surface: #1F1A22;
  --md-on-surface-variant: #625868;
  --md-radius: 12px;
  --md-radius-lg: 18px;
  --md-radius-xl: 26px;
  --md-font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --eh-display: "Gloock", Georgia, "Times New Roman", serif;
  --md-max: 1220px;
  --tone: #4A2450;
  --tone-soft: #F1E6EE;
  --tone-ink: #331737;
}

/* tones: one per product page family */
.eh-tone[data-tone="ember"]   { --tone: #D2541E; --tone-soft: #FBE8DC; --tone-ink: #93360C; }
.eh-tone[data-tone="balance"] { --tone: #2E7D6B; --tone-soft: #DFF0EA; --tone-ink: #1C5649; }
.eh-tone[data-tone="neural"]  { --tone: #5A49C9; --tone-soft: #E9E5FB; --tone-ink: #3A2C93; }
.eh-tone[data-tone="forge"]   { --tone: #2F4A63; --tone-soft: #E1E8EF; --tone-ink: #1D3246; }
.eh-tone[data-tone="enamel"]  { --tone: #1E8FA6; --tone-soft: #DDF1F5; --tone-ink: #12637A; }
.eh-tone[data-tone="wave"]    { --tone: #3C68C9; --tone-soft: #E3EAFA; --tone-ink: #244795; }
.eh-tone[data-tone="motion"]  { --tone: #A4552E; --tone-soft: #F6E6DC; --tone-ink: #713619; }
.eh-tone[data-tone="flora"]   { --tone: #5D7A34; --tone-soft: #ECF1DF; --tone-ink: #3F5620; }
.eh-tone[data-tone="glow"]    { --tone: #B44E6A; --tone-soft: #F8E4EA; --tone-ink: #82304A; }
.eh-tone[data-tone="iris"]    { --tone: #127B7F; --tone-soft: #DCEFEF; --tone-ink: #0B5659; }
.eh-tone[data-tone="paw"]     { --tone: #C9801A; --tone-soft: #FBEFD9; --tone-ink: #8A540A; }

.md-body { background: var(--md-surface); font-family: var(--md-font); color: var(--md-on-surface); font-size: 17px; line-height: 1.6; }
.md-body h1, .md-body h2, .md-body h3 { font-family: var(--eh-display); font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; }
.md-body :focus-visible { outline: 3px solid var(--md-secondary); outline-offset: 3px; }
.md-container { width: min(var(--md-max), calc(100% - 40px)); max-width: none; margin-inline: auto; padding-inline: 0; }
.md-skip:focus { background: var(--md-primary); color: #fff; }

/* buttons + inputs */
.md-btn { border-radius: 10px; min-height: 48px; padding: 0 22px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.md-btn:hover { transform: translateY(-1px); }
.md-btn--gold { background: var(--md-secondary); color: var(--md-on-secondary); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 8px 18px -10px rgba(185, 125, 20, .9); }
.md-btn--gold:hover { background: #E6AA3F; }
.md-btn--teal { background: var(--md-primary); color: #fff; }
.md-btn--teal:hover { background: var(--md-primary-dark); }
.md-btn--ghost { background: transparent; color: var(--md-on-surface); box-shadow: inset 0 0 0 1.5px var(--md-outline-strong); }
.md-btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--md-on-surface); }
.md-input { border-radius: 10px; border: 1.5px solid var(--md-outline); background: var(--md-surface-container); min-height: 48px; padding: 0 16px; font: inherit; }
.md-input:focus { border-color: var(--md-primary); outline: none; box-shadow: 0 0 0 4px var(--md-primary-container); }

/* header */
.md-sticky { position: sticky; top: 0; z-index: 50; }
.md-header { background: rgba(246, 240, 230, .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--md-outline); box-shadow: none; }
.md-header__bar { min-height: 72px; }
.md-logo { font-family: var(--eh-display); font-size: 30px; line-height: 1; letter-spacing: -0.02em; color: var(--md-on-surface); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.md-logo svg { width: 30px; height: 30px; flex: none; }
.md-logo b { font-weight: 400; color: var(--md-primary); }
.md-nav-link { color: var(--md-on-surface-variant); font-weight: 500; padding: 8px 14px; text-decoration: none; position: relative; }
.md-nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--md-secondary); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.md-nav-link:hover { color: var(--md-on-surface); }
.md-nav-link:hover::after { transform: scaleX(1); }
.md-icon-btn { border-radius: 10px; }

/* product cards (all listing pages) */
.md-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; list-style: none; padding: 0; margin: 0; }
.md-product-card { position: relative; background: var(--md-surface-container); border: 1px solid var(--md-outline); border-radius: var(--md-radius-lg); overflow: hidden; height: 100%; display: flex; flex-direction: column; padding: 12px; box-shadow: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.md-product-card:hover { transform: translateY(-4px); border-color: var(--tone); box-shadow: 0 26px 40px -30px rgba(31, 26, 34, .55); }
.md-product-card__media { display: grid; place-items: center; aspect-ratio: 1 / 1; background: linear-gradient(180deg, var(--tone-soft), #fff 92%); border-radius: 999px 999px 12px 12px; padding: 22px 18px 12px; }
.md-product-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.md-product-card:hover .md-product-card__media img { transform: scale(1.05) rotate(-1.5deg); }
.md-product-card__badge { display: none; }
.md-product-card__body { padding: 14px 6px 4px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.md-product-card__body h2 { font-size: 23px; margin: 0; line-height: 1.1; }
.md-product-card__body h2 a { text-decoration: none; color: inherit; }
.md-product-card__body h2 a::after { content: ""; position: absolute; inset: 0; }
.md-product-card .md-chip { align-self: flex-start; margin: 0; background: none; color: var(--tone-ink); border: 0; padding: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.md-product-card__go { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 600; color: var(--md-on-surface-variant); display: flex; justify-content: space-between; border-top: 1px dashed var(--md-outline); }
.md-product-card:hover .md-product-card__go { color: var(--tone-ink); }

/* inner pages */
.md-main { padding-top: 44px; padding-bottom: 80px; }
.md-page-title { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.02; }
.md-bc { font-size: 14px; color: var(--md-on-surface-variant); }
.md-pager a, .md-pager span { border-radius: 10px; }
.md-pager .is-current { background: var(--md-primary); color: #fff; }

/* footer */
.md-footer { background: var(--md-tertiary); color: #B8AEBB; border: 0; position: relative; overflow: hidden; }
.md-footer a { color: #EFE7F0; }
.md-footer a:hover { color: var(--md-secondary); }
.md-footer__brand { font-family: var(--eh-display); font-size: 34px; color: #fff; letter-spacing: -0.02em; margin: 0 0 8px; }
.md-footer .md-kicker { color: var(--md-secondary); letter-spacing: .14em; }
.md-footer__mark { position: absolute; right: -2vw; bottom: -4vw; font-family: var(--eh-display); font-size: clamp(120px, 22vw, 320px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .08); pointer-events: none; user-select: none; }
.md-footer .md-container { position: relative; z-index: 1; }
.md-footer__note { font-size: 13px; color: #8F8494; max-width: 44rem; margin: 26px 0 0; }

/* ---------------- home ---------------- */
.eh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eh-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--md-primary); }
.eh-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--md-secondary); box-shadow: 0 0 0 4px rgba(217, 154, 43, .22); }

.eh-hero { position: relative; overflow: hidden; padding: 70px 0 96px; border-bottom: 1px solid var(--md-outline);
  background:
    linear-gradient(var(--md-outline) 1px, transparent 1px) 0 0 / 100% 44px,
    var(--md-surface); }
.eh-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 500px at 85% 30%, rgba(246, 240, 230, 0) 0, var(--md-surface) 70%); pointer-events: none; }
.eh-hero::after { content: ""; position: absolute; left: max(20px, calc((100% - var(--md-max)) / 2 - 28px)); top: 0; bottom: 0; width: 1px; background: rgba(180, 78, 106, .35); }
.eh-hero > .md-container { position: relative; }
.eh-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.eh-hero h1 { font-size: clamp(48px, 6.6vw, 92px); line-height: .96; margin: 0 0 24px; }
.eh-hero h1 em { font-style: italic; color: var(--md-primary); position: relative; white-space: nowrap; }
.eh-hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .14em; background: var(--md-secondary); opacity: .55; z-index: -1; border-radius: 2px; }
.eh-lead { font-size: 19px; color: var(--md-on-surface-variant); max-width: 33rem; margin: 0 0 30px; }
.eh-search { display: flex; align-items: center; gap: 8px; background: var(--md-surface-container); border: 1.5px solid var(--md-on-surface); border-radius: 14px; padding: 6px 6px 6px 16px; max-width: 560px; box-shadow: 6px 6px 0 var(--md-on-surface); }
.eh-search:focus-within { box-shadow: 6px 6px 0 var(--md-primary); border-color: var(--md-primary); }
.eh-search__icon { color: var(--md-on-surface-variant); display: grid; }
.eh-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 17px; background: transparent; min-height: 46px; }
.eh-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 24px; font-size: 14px; }
.eh-quick span { color: var(--md-on-surface-variant); font-weight: 600; margin-right: 4px; }
.eh-quick a { text-decoration: none; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--md-outline-strong); color: var(--md-on-surface); font-weight: 500; background: var(--md-surface-container); transition: background .18s ease, color .18s ease, border-color .18s ease; }
.eh-quick a::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--tone); margin-right: 7px; vertical-align: 1px; }
.eh-quick a:hover { background: var(--tone); color: #fff; border-color: var(--tone); }
.eh-quick a:hover::before { background: #fff; }

/* hero ledger card */
.eh-ledger { position: relative; }
.eh-ledger__card { position: relative; z-index: 2; background: var(--md-surface-container); border: 1px solid var(--md-outline-strong); border-radius: 22px; padding: 26px 26px 18px; box-shadow: 0 40px 70px -46px rgba(31, 26, 34, .6); transform: rotate(-1.2deg); }
.eh-ledger::before { content: ""; position: absolute; inset: 18px -14px -14px 18px; border-radius: 22px; background: var(--md-primary); transform: rotate(2.4deg); z-index: 1; }
.eh-ledger__head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--md-on-surface); padding-bottom: 12px; margin-bottom: 4px; }
.eh-ledger__head strong { font-family: var(--eh-display); font-weight: 400; font-size: 26px; }
.eh-ledger__head span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--md-on-surface-variant); }
.eh-ledger ol { list-style: none; margin: 0; padding: 0; counter-reset: led; }
.eh-ledger li { counter-increment: led; }
.eh-ledger li a { display: grid; grid-template-columns: 28px 58px 1fr auto; gap: 14px; align-items: center; padding: 10px 4px; border-bottom: 1px dashed var(--md-outline-strong); text-decoration: none; color: var(--md-on-surface); transition: background .18s ease; border-radius: 8px; }
.eh-ledger li:last-child a { border-bottom: 0; }
.eh-ledger li a::before { content: counter(led, decimal-leading-zero); font-family: var(--eh-display); color: var(--md-on-surface-variant); font-size: 15px; }
.eh-ledger li a:hover { background: var(--tone-soft); }
.eh-ledger img { width: 58px; height: 58px; object-fit: contain; border-radius: 50%; background: var(--tone-soft); padding: 6px; }
.eh-ledger b { display: block; font-weight: 600; font-size: 16px; line-height: 1.2; }
.eh-ledger small { display: block; font-size: 12.5px; color: var(--tone-ink); font-weight: 600; letter-spacing: .04em; }
.eh-ledger__go { color: var(--md-on-surface-variant); display: grid; }
.eh-ledger li a:hover .eh-ledger__go { color: var(--tone-ink); }
.eh-ledger__stamp { position: absolute; z-index: 3; right: -18px; top: -26px; width: 112px; height: 112px; border-radius: 50%; background: var(--md-secondary); color: var(--md-on-secondary); display: grid; place-items: center; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.25; transform: rotate(10deg); box-shadow: 0 14px 28px -16px rgba(36, 22, 4, .8); }
.eh-ledger__stamp strong { display: block; font-family: var(--eh-display); font-weight: 400; font-size: 36px; letter-spacing: 0; line-height: 1; }

.eh-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 44px 0 0; }
.eh-stats div { margin: 0; padding: 0 28px; border-left: 1px solid var(--md-outline-strong); }
.eh-stats div:first-child { padding-left: 0; border-left: 0; }
.eh-stats dt { font-family: var(--eh-display); font-size: 44px; line-height: 1; }
.eh-stats dd { margin: 6px 0 0; color: var(--md-on-surface-variant); font-size: 14px; font-weight: 500; }

.eh-main { padding: 0; }
.eh-section { padding: 104px 0 0; }
.eh-head { max-width: 46rem; margin: 0 0 40px; }
.eh-head h2 { font-size: clamp(38px, 4.6vw, 62px); line-height: 1; margin: 0; }
.eh-head h2 em { font-style: italic; color: var(--md-primary); }
.eh-head p:not(.eh-eyebrow) { font-size: 18px; color: var(--md-on-surface-variant); margin: 16px 0 0; }
.eh-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* goals: table-of-contents index */
.eh-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 2px solid var(--md-on-surface); counter-reset: idx; }
.eh-index li { counter-increment: idx; }
.eh-goal { display: grid; grid-template-columns: 44px 48px auto 1fr auto 36px; gap: 14px; align-items: center; padding: 16px 8px; border-bottom: 1px solid var(--md-outline-strong); text-decoration: none; color: var(--md-on-surface); position: relative; isolation: isolate; }
.eh-goal::before { content: counter(idx, decimal-leading-zero); font-family: var(--eh-display); font-size: 18px; color: var(--md-on-surface-variant); }
.eh-goal::after { content: ""; position: absolute; inset: 0; background: var(--tone-soft); transform: scaleY(0); transform-origin: bottom; transition: transform .22s ease; z-index: -1; border-radius: 8px; }
.eh-goal:hover::after { transform: scaleY(1); }
.eh-goal .ci { background: var(--tone-soft) !important; color: var(--tone-ink) !important; width: 48px; height: 48px; border-radius: 50%; }
.eh-goal h3 { font-size: 25px; margin: 0; line-height: 1.1; }
.eh-goal__dots { align-self: center; height: 1px; border-bottom: 2px dotted var(--md-outline-strong); margin-top: 8px; min-width: 20px; }
.eh-goal__n { font-size: 14px; font-weight: 600; color: var(--tone-ink); white-space: nowrap; }
.eh-goal__go { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--md-on-surface); border: 1px solid var(--md-outline-strong); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.eh-goal:hover .eh-goal__go { background: var(--tone); color: #fff; border-color: var(--tone); }

/* how it works */
.eh-how { margin-top: 104px; padding: 96px 0; background: var(--md-primary); color: #EADCEB; position: relative; overflow: hidden; }
.eh-how::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 0 0 60px rgba(255, 255, 255, .03), 0 0 0 120px rgba(255, 255, 255, .02); }
.eh-how .eh-eyebrow { color: var(--md-secondary); }
.eh-how h2 { color: #fff; }
.eh-how h2 em { color: var(--md-secondary); }
.eh-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.eh-steps li { counter-increment: step; padding: 0 32px 0 0; position: relative; }
.eh-steps li::before { content: counter(step); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--md-primary); border: 1.5px solid var(--md-secondary); font-family: var(--eh-display); font-style: italic; font-size: 30px; color: var(--md-secondary); margin-bottom: 24px; position: relative; z-index: 1; }
.eh-steps li::after { content: ""; position: absolute; left: 64px; right: 0; top: 32px; height: 1px; background: rgba(217, 154, 43, .5); }
.eh-steps li:last-child::after { display: none; }
.eh-steps h3 { font-size: 27px; margin: 0 0 10px; color: #fff; }
.eh-steps p { margin: 0; color: #D4C2D6; max-width: 22rem; }

/* cta */
.eh-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: 48px; border-radius: 26px; background: var(--md-secondary); color: var(--md-on-secondary); position: relative; overflow: hidden; }
.eh-cta::after { content: ""; position: absolute; right: -60px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .18); }
.eh-cta > * { position: relative; z-index: 1; }
.eh-cta h2 { font-size: clamp(32px, 3.6vw, 48px); margin: 0 0 8px; line-height: 1.02; }
.eh-cta p { margin: 0; font-size: 18px; opacity: .85; }
.eh-cta .eh-search { box-shadow: 6px 6px 0 var(--md-on-secondary); max-width: none; }
.eh-cta .md-btn--gold { background: var(--md-primary); color: #fff; box-shadow: none; }
.eh-disclosure { margin: 28px 0 104px; padding: 18px 22px; border-left: 3px solid var(--md-primary); background: var(--md-surface-container); color: var(--md-on-surface-variant); font-size: 14px; border-radius: 0 12px 12px 0; }
.eh-disclosure strong { color: var(--md-on-surface); }

@media (max-width: 1000px) {
  .eh-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .eh-ledger { max-width: 560px; }
  .eh-index { grid-template-columns: 1fr; }
  .eh-steps { grid-template-columns: 1fr; gap: 36px; }
  .eh-steps li::after { display: none; }
  .eh-cta { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .md-body { font-size: 16px; }
  .eh-hero { padding: 40px 0 72px; }
  .eh-hero::after { display: none; }
  .eh-search .md-btn { padding: 0 16px; }
  .eh-ledger__card { padding: 20px 16px 12px; transform: none; }
  .eh-ledger::before { inset: 12px -8px -10px 12px; }
  .eh-ledger li a { grid-template-columns: 24px 48px 1fr auto; gap: 10px; }
  .eh-ledger img { width: 48px; height: 48px; }
  .eh-ledger__stamp { width: 88px; height: 88px; right: -6px; top: -34px; font-size: 9px; }
  .eh-ledger__stamp strong { font-size: 28px; }
  .eh-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .eh-stats div { padding: 0 12px; }
  .eh-stats dd { font-size: 12.5px; }
  .eh-search { box-shadow: 4px 4px 0 var(--md-on-surface); }
  .eh-hero h1 { font-size: 44px; }
  .eh-stats dt { font-size: 34px; }
  .eh-goal { grid-template-columns: 30px 40px 1fr auto 32px; gap: 10px; padding: 14px 4px; }
  .eh-goal__dots { display: none; }
  .eh-goal .ci { width: 40px; height: 40px; }
  .eh-goal h3 { font-size: 20px; }
  .eh-section { padding-top: 72px; }
  .eh-how { margin-top: 72px; padding: 64px 0; }
  .eh-cta { padding: 28px; }
  .md-product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .md-product-card { padding: 8px; }
  .md-product-card__body h2 { font-size: 19px; }
  .md-footer__mark { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .eh-goal::after, .md-product-card, .md-product-card__media img, .md-btn, .eh-quick a { transition: none !important; }
}

/* fixes over theme.css */
.eh-cta .eh-search .md-btn { background: var(--md-primary) !important; color: #fff !important; }
.md-footer .md-kicker { background: none !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; color: var(--md-secondary) !important; }
