/* HENEX Philosophy page styles, confirmed mood migration v3 */
.page-philosophy{--philosophy-human:#3c8cf4;--philosophy-emotion:#ff5688;--philosophy-nature:#31bb8e;--shadow-card:0 16px 48px rgba(17,24,39,.08);--shadow-card-hover:0 22px 60px rgba(17,24,39,.13);--philosophy-card-bg:color-mix(in srgb,var(--theme-surface) 94%,var(--theme-surface-soft));--philosophy-card-strong:color-mix(in srgb,var(--theme-surface) 82%,var(--theme-surface-soft));--philosophy-muted-card:color-mix(in srgb,var(--theme-surface-soft) 78%,var(--theme-surface));--philosophy-neutral-recipe:linear-gradient(145deg,#EEF1F4 0%,#F7F8F9 44%,#FFFFFF 80%);--philosophy-recipe-hover:linear-gradient(145deg,color-mix(in srgb,var(--philosophy-human) 10%,var(--theme-surface)) 0%,color-mix(in srgb,var(--philosophy-emotion) 8%,var(--theme-surface)) 50%,color-mix(in srgb,var(--philosophy-nature) 9%,var(--theme-surface)) 100%);--soft-human:color-mix(in srgb,var(--philosophy-human) 16%,var(--theme-surface));--soft-emotion:color-mix(in srgb,var(--philosophy-emotion) 15%,var(--theme-surface));--soft-nature:color-mix(in srgb,var(--philosophy-nature) 16%,var(--theme-surface))}
[data-theme="dark"] .page-philosophy{--shadow-card:0 18px 54px rgba(0,0,0,.36);--shadow-card-hover:0 24px 70px rgba(0,0,0,.48);--philosophy-card-bg:color-mix(in srgb,var(--theme-surface) 88%,#1a1d22);--philosophy-card-strong:color-mix(in srgb,var(--theme-surface-soft) 78%,#242936);--philosophy-muted-card:color-mix(in srgb,var(--theme-surface-soft) 82%,#1c2028);--philosophy-neutral-recipe:linear-gradient(145deg,#1A1D21 0%,#101214 46%,#0B0C0D 82%);--soft-human:color-mix(in srgb,var(--philosophy-human) 22%,var(--theme-surface));--soft-emotion:color-mix(in srgb,var(--philosophy-emotion) 22%,var(--theme-surface));--soft-nature:color-mix(in srgb,var(--philosophy-nature) 22%,var(--theme-surface))}
.philosophy-hero {
  position: relative;
  overflow: hidden;
  min-height: min(780px, calc(100vh - 80px));
  display: grid;
  align-items: center;
  background:
    radial-gradient(ellipse 76% 68% at 18% 14%, rgba(60, 140, 244, 0.20), transparent),
    radial-gradient(ellipse 66% 58% at 88% 12%, rgba(49, 187, 142, 0.17), transparent),
    radial-gradient(ellipse 70% 64% at 82% 86%, rgba(255, 86, 136, 0.19), transparent),
    radial-gradient(ellipse 62% 56% at 10% 82%, rgba(49, 187, 142, 0.13), transparent),
    linear-gradient(135deg, var(--theme-bg) 0%, var(--theme-surface-soft) 100%);
}

[data-theme="dark"] .philosophy-hero {
  background:
    radial-gradient(ellipse 76% 68% at 18% 14%, rgba(60, 140, 244, 0.46), transparent),
    radial-gradient(ellipse 66% 58% at 88% 12%, rgba(49, 187, 142, 0.34), transparent),
    radial-gradient(ellipse 70% 64% at 82% 86%, rgba(255, 86, 136, 0.38), transparent),
    radial-gradient(ellipse 62% 56% at 10% 82%, rgba(49, 187, 142, 0.26), transparent),
    #020408;
}.philosophy-hero__grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(300px,.78fr);gap:clamp(52px,8vw,118px);align-items:center}.philosophy-hero h1{max-width:820px;margin-bottom:34px}.philosophy-hero__lead{max-width:720px;margin-bottom:30px}.philosophy-hero__summary{max-width:640px;margin-bottom:36px;color:var(--theme-text-soft);font-size:1.04rem;line-height:1.75}.philosophy-hero__visual{position:relative;min-height:430px;display:grid;place-items:center}.hero-mark{width:min(340px,58vw);aspect-ratio:1;display:grid;place-items:center;border-radius:50%;background:var(--philosophy-recipe-hover);color:#fff;font-family:var(--font-heading);font-weight:800;letter-spacing:.18em;box-shadow:0 28px 62px rgba(17,24,39,.22)}.hero-formula{position:absolute;left:50%;bottom:22px;width:max-content;max-width:min(92vw,480px);transform:translateX(-50%);color:var(--theme-text-soft);font-size:.8rem;font-weight:800;letter-spacing:.1em;text-align:center;text-transform:uppercase}.philosophy-section-header{max-width:940px}.philosophy-section-header h2,.philosophy-section-header h3{margin-bottom:30px}.philosophy-section-header p:not(.section-kicker){max-width:820px;color:var(--theme-text-soft);line-height:1.8}.philosophy-section-header--compact{margin-top:86px}.relational-cards,.dimension-grid,.node-grid--all,.recipe-grid,.practice-grid{display:grid;gap:24px}.relational-cards,.dimension-grid,.node-grid--all,.recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.practice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.core-card{--accent:var(--philosophy-human);--soft:var(--soft-human);--left:116px;--gap:34px;--icon-size:72px;--side-y:-10px;--copy-y:22px;--copy-x:-8px;--title-size:clamp(1.72rem,2.18vw,2.34rem);--body-size:clamp(.98rem,1.1vw,1.06rem);position:relative;min-height:340px;display:grid;grid-template-columns:var(--left) minmax(0,1fr);gap:var(--gap);align-items:center;padding:36px 34px;overflow:hidden;border:1px solid var(--theme-border-soft);border-radius:var(--radius-lg);background:linear-gradient(145deg,var(--soft),var(--theme-surface) 66%);box-shadow:var(--shadow-card);transition:box-shadow 180ms ease,background 180ms ease,border-color 180ms ease}.core-card:hover,.core-card:focus{border-color:color-mix(in srgb,var(--accent) 44%,var(--theme-border));background:var(--accent);box-shadow:var(--shadow-card-hover);outline:none}.core-card--human{--accent:var(--philosophy-human);--soft:var(--soft-human)}.core-card--emotion{--accent:var(--philosophy-emotion);--soft:var(--soft-emotion)}.core-card--nature{--accent:var(--philosophy-nature);--soft:var(--soft-nature)}.core-card__side{display:grid;justify-items:center;gap:18px;text-align:center;transform:translateY(var(--side-y))}.core-card__icon{width:var(--icon-size);height:var(--icon-size);color:var(--accent);transition:color 180ms ease}.core-card__icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}.core-card__label{margin:0;color:var(--accent);font-size:.76rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase;transition:color 180ms ease}.core-card__copy{display:grid;align-content:center;min-width:0;transform:translate(var(--copy-x),var(--copy-y))}.core-card__title{margin-bottom:26px;color:var(--theme-text);font-size:var(--title-size);line-height:1.1;transition:color 180ms ease}.text-stage{position:relative;min-height:112px}.text-stage p{position:absolute;inset:0;color:var(--theme-text-soft);font-size:var(--body-size);line-height:1.6;transition:opacity 180ms ease,color 180ms ease}.text-stage__hover{opacity:0}.core-card:hover .core-card__icon,.core-card:focus .core-card__icon,.core-card:hover .core-card__label,.core-card:focus .core-card__label,.core-card:hover .core-card__title,.core-card:focus .core-card__title,.core-card:hover .text-stage p,.core-card:focus .text-stage p{color:#fff}.core-card:hover .text-stage__default,.core-card:focus .text-stage__default{opacity:0}.core-card:hover .text-stage__hover,.core-card:focus .text-stage__hover{opacity:1}
.philosophy-dimension-card{--accent:var(--philosophy-human);--soft:var(--soft-human);--icon-size:176px;position:relative;min-height:585px;display:grid;grid-template-rows:264px 1fr;overflow:hidden;border:1px solid var(--theme-border-soft);border-radius:var(--radius-lg);background:linear-gradient(145deg,var(--soft),var(--theme-surface) 66%);box-shadow:var(--shadow-card);transition:box-shadow 180ms ease,background 180ms ease,border-color 180ms ease}.philosophy-dimension-card:hover,.philosophy-dimension-card:focus{border-color:color-mix(in srgb,var(--accent) 44%,var(--theme-border));background:var(--accent);box-shadow:var(--shadow-card-hover);outline:none}.philosophy-dimension-card--human{--accent:var(--philosophy-human);--soft:var(--soft-human)}.philosophy-dimension-card--emotion{--accent:var(--philosophy-emotion);--soft:var(--soft-emotion)}.philosophy-dimension-card--nature{--accent:var(--philosophy-nature);--soft:var(--soft-nature)}.philosophy-dimension-card__visual{display:grid;place-items:center;padding:38px 32px 0}.philosophy-dimension-card__icon img{width:var(--icon-size);height:auto;transition:filter 180ms ease}.philosophy-dimension-card__body{display:grid;grid-template-rows:auto auto minmax(106px,auto) 34px;gap:22px;padding:26px 34px 34px}.philosophy-dimension-card__label{margin:0;color:var(--accent);font-size:.78rem;font-weight:850;letter-spacing:.14em;text-transform:uppercase;transition:color 180ms ease}.philosophy-dimension-card__title{color:var(--theme-text);font-size:clamp(1.75rem,2.2vw,2.42rem);line-height:1.12;transition:color 180ms ease}.philosophy-dimension-card .text-stage{position:relative;min-height:106px}.philosophy-dimension-card .text-stage p{position:absolute;inset:0;color:var(--theme-text-soft);font-size:clamp(.98rem,1.1vw,1.06rem);line-height:1.6;transition:opacity 180ms ease,color 180ms ease}.philosophy-chip-row{display:flex;align-items:end;flex-wrap:wrap;gap:8px;align-self:end}.philosophy-chip{display:inline-flex;align-items:center;min-height:30px;padding:5px 10px;border:1px solid color-mix(in srgb,var(--accent) 34%,var(--theme-border));border-radius:999px;color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,var(--theme-surface));font-size:.76rem;font-weight:800}.philosophy-dimension-card:hover .philosophy-dimension-card__label,.philosophy-dimension-card:focus .philosophy-dimension-card__label,.philosophy-dimension-card:hover .philosophy-dimension-card__title,.philosophy-dimension-card:focus .philosophy-dimension-card__title,.philosophy-dimension-card:hover .text-stage p,.philosophy-dimension-card:focus .text-stage p,.philosophy-dimension-card:hover .philosophy-chip,.philosophy-dimension-card:focus .philosophy-chip{color:#fff}.philosophy-dimension-card:hover .philosophy-chip,.philosophy-dimension-card:focus .philosophy-chip{border-color:rgba(255,255,255,.42);background:rgba(255,255,255,.14)}.philosophy-dimension-card:hover .philosophy-dimension-card__icon img,.philosophy-dimension-card:focus .philosophy-dimension-card__icon img{filter:brightness(0) invert(1)}.philosophy-dimension-card:hover .text-stage__default,.philosophy-dimension-card:focus .text-stage__default{opacity:0}.philosophy-dimension-card:hover .text-stage__hover,.philosophy-dimension-card:focus .text-stage__hover{opacity:1}.node-card{--accent:var(--philosophy-human);--soft:var(--soft-human);--icon-size:132px;--title-size:clamp(1.22rem,1.58vw,1.62rem);--copy-size:clamp(.9rem,.98vw,.98rem);--card-height:256px;--card-padding-y:22px;--card-padding-x:30px;--text-gap:16px;--text-height:90px;position:relative;min-height:var(--card-height);display:grid;grid-template-columns:39% minmax(0,1fr);gap:20px;align-items:center;padding:var(--card-padding-y) var(--card-padding-x);overflow:hidden;border:1px solid var(--theme-border-soft);border-radius:var(--radius-lg);background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 13%,var(--theme-surface)) 0%,color-mix(in srgb,var(--accent) 5%,var(--theme-surface)) 48%,var(--theme-surface) 78%);box-shadow:var(--shadow-card);transition:background 180ms ease,box-shadow 180ms ease,border-color 180ms ease}.node-card:hover,.node-card:focus{background:var(--accent);box-shadow:var(--shadow-card-hover);border-color:color-mix(in srgb,var(--accent) 38%,var(--theme-border));outline:none}.node-card--human{--accent:var(--philosophy-human);--soft:var(--soft-human)}.node-card--emotion{--accent:var(--philosophy-emotion);--soft:var(--soft-emotion)}.node-card--nature{--accent:var(--philosophy-nature);--soft:var(--soft-nature)}.node-card__visual{display:grid;place-items:center}.node-card__icon img{width:var(--icon-size);height:auto;transition:filter 180ms ease,opacity 180ms ease}.node-card__copy{display:grid;align-content:center;gap:var(--text-gap)}.node-card__label{color:var(--theme-muted);font-size:.72rem;font-weight:850;letter-spacing:.14em;text-transform:uppercase;transition:color 180ms ease}.node-card__title{color:var(--theme-text);font-size:var(--title-size);line-height:1.12;transition:color 180ms ease}.node-card .text-stage{min-height:var(--text-height)}.node-card .text-stage p{color:var(--theme-text-soft);font-size:var(--copy-size);line-height:1.58}.node-card:hover .node-card__label,.node-card:focus .node-card__label,.node-card:hover .node-card__title,.node-card:focus .node-card__title,.node-card:hover .text-stage p,.node-card:focus .text-stage p{color:#fff}.node-card:hover .node-card__icon img,.node-card:focus .node-card__icon img{filter:brightness(0) invert(1)}.node-card:hover .text-stage__default,.node-card:focus .text-stage__default{opacity:0}.node-card:hover .text-stage__hover,.node-card:focus .text-stage__hover{opacity:1}
.recipe-section{overflow:visible;background:linear-gradient(180deg,transparent 0%,color-mix(in srgb,var(--theme-surface-soft) 55%,transparent) 44%,transparent 100%)}.recipe-formation{overflow:visible;background:transparent;box-shadow:none;border:0;padding:8px 0 18px}.recipe-equation--static{display:grid;grid-template-columns:250px 18px 250px 18px 250px 22px minmax(430px,1fr);gap:12px;align-items:center;min-width:1334px;margin-top:28px;overflow:visible;background:transparent;box-shadow:none}.recipe-equation__node,.featured-recipe,.recipe-card,.practice-card{border-radius:var(--radius-lg);box-shadow:var(--shadow-card)}.recipe-equation__node{--node-accent:var(--philosophy-human);--node-soft:color-mix(in srgb,var(--node-accent) 13%,var(--theme-surface));height:224px;display:grid;grid-template-rows:72px 24px 42px auto;align-content:start;gap:8px;padding:18px 28px 20px;overflow:hidden;border:1px solid var(--theme-border-soft);background:linear-gradient(145deg,var(--node-soft) 0%,var(--theme-surface) 74%);transition:box-shadow 180ms ease}.recipe-equation__node--human{--node-accent:var(--philosophy-human)}.recipe-equation__node--emotion{--node-accent:var(--philosophy-emotion)}.recipe-equation__node--nature{--node-accent:var(--philosophy-nature)}.recipe-equation__node:hover,.recipe-equation__node:focus-visible,.featured-recipe--static:hover,.featured-recipe--static:focus-visible{box-shadow:var(--shadow-card-hover);outline:none}.recipe-equation__node-icon img{width:82px}.recipe-equation__node-label{align-self:end;margin:0;color:var(--theme-muted);font-size:.72rem;font-weight:850;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap}.recipe-equation__node h3{align-self:end;color:var(--theme-text);font-size:clamp(1.38rem,1.65vw,1.76rem);line-height:1.04}.recipe-equation__node p:not(.recipe-equation__node-label){color:var(--theme-text-soft);font-size:clamp(.9rem,.95vw,.98rem);line-height:1.36}.recipe-equation__symbol{display:grid;place-items:center;color:color-mix(in srgb,var(--theme-text) 62%,var(--theme-muted));font-size:1.16rem;font-weight:850;line-height:1}.recipe-equation__symbol--equals{font-size:1.28rem}.featured-recipe--static{height:224px;display:grid;grid-template-rows:34px 50px 22px auto;align-content:start;gap:10px;padding:24px 28px 18px;overflow:hidden;border:1px solid var(--theme-border-soft);background:var(--philosophy-neutral-recipe);transition:background 180ms ease,box-shadow 180ms ease}.featured-recipe--static:hover,.featured-recipe--static:focus-visible{background:var(--philosophy-recipe-hover)}.featured-recipe__top,.recipe-card__top{display:flex;align-items:center;justify-content:space-between;gap:16px}.featured-recipe--static .recipe-id{width:fit-content;margin:0;padding:7px 12px;border-radius:999px;background:color-mix(in srgb,var(--theme-text) 8%,transparent);color:var(--theme-text);font-size:.7rem;font-weight:850;letter-spacing:.12em;white-space:nowrap}.featured-recipe__icons{display:flex;align-items:center;gap:7px;flex:0 0 auto}.featured-recipe__icons img{width:31px}.featured-recipe--static h3{align-self:end;color:var(--theme-text);font-size:clamp(1.38rem,1.82vw,2rem);line-height:1.04}.featured-recipe__sum{align-self:end;margin:0;color:var(--theme-muted);font-size:.72rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.featured-recipe--static>p:not(.recipe-id):not(.featured-recipe__sum){color:var(--theme-text-soft);font-size:clamp(.9rem,.95vw,.98rem);line-height:1.36}
.recipe-card{scroll-margin-top:120px;min-height:250px;padding:26px;border-radius:var(--radius-md);background:var(--philosophy-card-bg);transition:background 180ms ease,box-shadow 180ms ease}.recipe-card--a{background:linear-gradient(145deg,rgba(60,140,244,.06),var(--philosophy-card-bg) 48%)}.recipe-card--b{background:linear-gradient(145deg,rgba(255,86,136,.06),var(--philosophy-card-bg) 48%)}.recipe-card--c{background:linear-gradient(145deg,rgba(49,187,142,.07),var(--philosophy-card-bg) 48%)}.recipe-card:hover,.recipe-card:focus{box-shadow:var(--shadow-card-hover);background:linear-gradient(135deg,rgba(60,140,244,.24),rgba(255,86,136,.20),rgba(49,187,142,.22)),var(--philosophy-card-strong)}.recipe-card h4{margin:0 0 18px}.recipe-card__markers{display:flex;gap:5px}.marker{width:9px;height:9px;border-radius:999px}.marker--human{background:var(--philosophy-human)}.marker--emotion{background:var(--philosophy-emotion)}.marker--nature{background:var(--philosophy-nature)}.recipe-triad{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 14px}.recipe-triad span{display:inline-flex;align-items:center;width:fit-content;min-height:30px;padding:6px 11px;border-radius:999px;background:color-mix(in srgb,var(--theme-surface-soft) 82%,transparent);color:var(--theme-text-soft);font-size:.78rem;font-weight:700}.recipe-card__reveal{max-height:0;overflow:hidden;opacity:0;transition:max-height 180ms ease,opacity 180ms ease}.recipe-card:hover .recipe-card__reveal,.recipe-card:focus .recipe-card__reveal{max-height:160px;opacity:1}.recipe-id,.recipe-card__reveal-label,.practice-card__type{margin:0 0 14px;color:var(--theme-muted);font-size:.76rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.recipe-card p,.practice-card p{color:var(--theme-text-soft);line-height:1.62}.practice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.practice-card{overflow:hidden;display:grid;grid-template-rows:auto 1fr;background:var(--philosophy-card-bg)}.practice-card:hover,.practice-card:focus-within{box-shadow:var(--shadow-card-hover)}.practice-card__media{display:block;aspect-ratio:16/9;overflow:hidden;background:var(--theme-surface-soft)}.practice-card__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 240ms ease}.practice-card:hover .practice-card__media img{transform:scale(1.03)}.practice-card__body{display:grid;gap:18px;padding:28px}.practice-card__recipe{display:grid;gap:7px;padding:16px;border-radius:var(--radius-md);background:color-mix(in srgb,var(--theme-surface-soft) 74%,transparent)}.practice-card__recipe span{color:var(--theme-muted);font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.practice-note{display:flex;gap:24px;align-items:center;justify-content:space-between;margin-top:42px;padding:32px;border-radius:var(--radius-lg);background:var(--philosophy-muted-card)}.practice-note p{max-width:760px;color:var(--theme-text-soft)}
@media(max-width:1100px){.relational-cards,.dimension-grid,.node-grid--all,.recipe-grid,.practice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.philosophy-hero__grid,.recipe-equation--static{grid-template-columns:1fr}.recipe-equation--static{min-width:0}.recipe-equation__symbol{min-height:22px}.recipe-equation__node,.featured-recipe--static{height:auto;min-height:224px}}@media(max-width:720px){.core-card{grid-template-columns:1fr;min-height:420px;gap:26px;text-align:center}.core-card__copy{justify-items:center;transform:translateY(var(--copy-y))}.core-card__side{transform:translateY(var(--side-y))}.text-stage{width:100%;min-height:124px}.philosophy-dimension-card{min-height:650px}.philosophy-dimension-card .text-stage{min-height:132px}.node-card{grid-template-columns:1fr;text-align:center;min-height:390px}.node-card__visual,.node-card__copy{justify-items:center}.node-card .text-stage{width:100%;min-height:100px}}@media(max-width:520px){.philosophy-hero{min-height:auto}.philosophy-hero__visual{min-height:310px}.hero-formula{bottom:0;font-size:.66rem}.relational-cards,.dimension-grid,.node-grid--all,.recipe-grid,.practice-grid{grid-template-columns:1fr}.practice-note{align-items:flex-start;flex-direction:column}.recipe-card__reveal{max-height:none;opacity:1}}

/* HENEX final Philosophy update 2026-06-03
   Scope: Philosophy page hero, formula strip, Method logic result card and 27 recipe cards.
   Purpose: keep the hero clean, move the formula into Core idea, align recipe cards exactly with the confirmed v8 mood and make the Method logic result card use the HENEX gradient only on hover.
*/
.page-philosophy {
  --recipe-hover-a: linear-gradient(135deg, rgba(60, 140, 244, 0.90), rgba(255, 86, 136, 0.86) 52%, rgba(49, 187, 142, 0.88));
  --recipe-hover-b: linear-gradient(145deg, rgba(255, 86, 136, 0.88), rgba(49, 187, 142, 0.84) 52%, rgba(60, 140, 244, 0.88));
  --recipe-hover-c: linear-gradient(130deg, rgba(49, 187, 142, 0.88), rgba(60, 140, 244, 0.88) 52%, rgba(255, 86, 136, 0.84));
  --recipe-hover-d: linear-gradient(145deg, rgba(60, 140, 244, 0.82), rgba(49, 187, 142, 0.84) 42%, rgba(255, 86, 136, 0.88));
}

.philosophy-hero__lead {
  max-width: 760px;
  margin-bottom: 36px;
}

.philosophy-hero__visual {
  transform: translateX(-92px);
}

.hero-mark {
  position: relative;
  z-index: 1;
  width: min(620px, 82vw);
  aspect-ratio: 214 / 200;
  display: grid;
  place-items: center;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit;
  box-shadow: none !important;
}

.hero-logo {
  width: min(500px, 88%);
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 42px rgba(17, 24, 39, 0.10));
}

[data-theme="dark"] .hero-logo {
  filter: drop-shadow(0 24px 46px rgba(0, 0, 0, 0.34));
}

.hero-formula {
  display: none;
}

.henex-formula {
  width: fit-content;
  margin-top: 26px;
  padding: 9px 14px;
  border: 1px solid var(--theme-border-soft);
  border-radius: 999px;
  color: var(--theme-muted);
  background: color-mix(in srgb, var(--theme-surface) 72%, transparent);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.featured-recipe--static {
  background: var(--philosophy-neutral-recipe);
}

.featured-recipe--static:hover,
.featured-recipe--static:focus-visible {
  background: var(--recipe-hover-a);
}

.featured-recipe--static:hover .recipe-id,
.featured-recipe--static:focus-visible .recipe-id,
.featured-recipe--static:hover h3,
.featured-recipe--static:focus-visible h3,
.featured-recipe--static:hover .featured-recipe__sum,
.featured-recipe--static:focus-visible .featured-recipe__sum,
.featured-recipe--static:hover > p:not(.recipe-id):not(.featured-recipe__sum),
.featured-recipe--static:focus-visible > p:not(.recipe-id):not(.featured-recipe__sum) {
  color: #fff;
}

.featured-recipe--static:hover .recipe-id,
.featured-recipe--static:focus-visible .recipe-id {
  background: rgba(255, 255, 255, 0.18);
}

.featured-recipe--static:hover .featured-recipe__icons img,
.featured-recipe--static:focus-visible .featured-recipe__icons img {
  filter: brightness(0) invert(1);
}

.recipe-card {
  --recipe-card-h: 218px;
  --recipe-copy-h: 54px;
  --recipe-title-size: clamp(1.18rem, 1.48vw, 1.52rem);
  --recipe-copy-size: clamp(0.82rem, 0.9vw, 0.9rem);
  --recipe-hover-bg: var(--recipe-hover-a);
  position: relative;
  min-height: var(--recipe-card-h);
  display: grid;
  grid-template-rows: auto auto minmax(var(--recipe-copy-h), auto);
  align-content: start;
  gap: 10px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--theme-border-soft);
  border-radius: var(--radius-lg);
  background: var(--recipe-bg, var(--theme-surface));
  box-shadow: var(--shadow-card);
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.recipe-card:hover,
.recipe-card:focus-visible {
  background: var(--recipe-hover-bg);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: var(--shadow-card-hover);
  outline: none;
}

.recipe-card__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  min-width: 0;
}

.recipe-card .recipe-id {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  margin: 0;
  padding: 4px 10px;
  border: 1px solid color-mix(in srgb, var(--theme-text) 10%, var(--theme-border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--theme-surface) 82%, transparent);
  color: var(--theme-muted);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.recipe-triad {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  min-width: 0;
  margin: 0;
}

.recipe-triad span {
  min-height: 25px;
  padding: 3px 8px;
  border: 1px solid color-mix(in srgb, var(--pill-color) 30%, var(--theme-border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--pill-color) 8%, var(--theme-surface));
  color: color-mix(in srgb, var(--pill-color) 82%, var(--theme-text));
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.recipe-triad span:nth-child(1) { --pill-color: var(--philosophy-human); }
.recipe-triad span:nth-child(2) { --pill-color: var(--philosophy-emotion); }
.recipe-triad span:nth-child(3) { --pill-color: var(--philosophy-nature); }

.recipe-card h4 {
  margin: 0;
  color: var(--theme-text);
  font-size: var(--recipe-title-size);
  line-height: 1.06;
  transition: color 180ms ease;
}

.recipe-card__copy-stage {
  position: relative;
  min-height: var(--recipe-copy-h);
}

.recipe-card__copy {
  position: absolute;
  inset: 0;
  color: var(--theme-text-soft);
  font-size: var(--recipe-copy-size);
  line-height: 1.42;
  transition: opacity 180ms ease, color 180ms ease;
}

.recipe-card__copy--hover { opacity: 0; }

.recipe-card__copy--hover .recipe-card__reveal-label {
  display: block;
  margin-bottom: 5px;
  color: inherit;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.recipe-card:hover .recipe-id,
.recipe-card:focus-visible .recipe-id,
.recipe-card:hover h4,
.recipe-card:focus-visible h4,
.recipe-card:hover .recipe-card__copy,
.recipe-card:focus-visible .recipe-card__copy,
.recipe-card:hover .recipe-card__copy p,
.recipe-card:focus-visible .recipe-card__copy p,
.recipe-card:hover .recipe-card__reveal-label,
.recipe-card:focus-visible .recipe-card__reveal-label,
.recipe-card:hover .recipe-triad span,
.recipe-card:focus-visible .recipe-triad span {
  color: #fff !important;
}

.recipe-card:hover .recipe-id,
.recipe-card:focus-visible .recipe-id,
.recipe-card:hover .recipe-triad span,
.recipe-card:focus-visible .recipe-triad span {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.16);
}

.recipe-card:hover .recipe-card__copy--default,
.recipe-card:focus-visible .recipe-card__copy--default { opacity: 0; }
.recipe-card:hover .recipe-card__copy--hover,
.recipe-card:focus-visible .recipe-card__copy--hover { opacity: 1; }

.recipe-card.wash-a { --recipe-bg: linear-gradient(145deg, color-mix(in srgb, var(--philosophy-human) 9%, var(--theme-surface)) 0%, color-mix(in srgb, var(--philosophy-emotion) 4%, var(--theme-surface)) 54%, var(--theme-surface) 88%); }
.recipe-card.wash-b { --recipe-bg: linear-gradient(135deg, color-mix(in srgb, var(--philosophy-emotion) 8%, var(--theme-surface)) 0%, color-mix(in srgb, var(--philosophy-nature) 6%, var(--theme-surface)) 50%, var(--theme-surface) 86%); }
.recipe-card.wash-c { --recipe-bg: linear-gradient(155deg, color-mix(in srgb, var(--philosophy-nature) 9%, var(--theme-surface)) 0%, color-mix(in srgb, var(--philosophy-human) 5%, var(--theme-surface)) 48%, var(--theme-surface) 84%); }
.recipe-card.wash-d { --recipe-bg: linear-gradient(130deg, color-mix(in srgb, var(--philosophy-human) 6%, var(--theme-surface)) 0%, var(--theme-surface) 44%, color-mix(in srgb, var(--philosophy-nature) 7%, var(--theme-surface)) 100%); }
.recipe-card.wash-e { --recipe-bg: linear-gradient(145deg, color-mix(in srgb, var(--philosophy-emotion) 6%, var(--theme-surface)) 0%, var(--theme-surface) 48%, color-mix(in srgb, var(--philosophy-human) 6%, var(--theme-surface)) 100%); }
.recipe-card.wash-f { --recipe-bg: linear-gradient(145deg, color-mix(in srgb, var(--philosophy-nature) 7%, var(--theme-surface)) 0%, color-mix(in srgb, var(--philosophy-emotion) 5%, var(--theme-surface)) 52%, var(--theme-surface) 90%); }

.recipe-card.hover-a { --recipe-hover-bg: var(--recipe-hover-a); }
.recipe-card.hover-b { --recipe-hover-bg: var(--recipe-hover-b); }
.recipe-card.hover-c { --recipe-hover-bg: var(--recipe-hover-c); }
.recipe-card.hover-d { --recipe-hover-bg: var(--recipe-hover-d); }

.node-card--preview {
  --card-height: 256px;
  --icon-size: 132px;
  --card-padding-y: 22px;
  --card-padding-x: 30px;
  --text-gap: 16px;
  --text-height: 90px;
  grid-template-columns: 39% minmax(0, 1fr);
  gap: 20px;
}
.node-card--preview .node-card__label { font-size: 0.72rem; }
.node-card--preview .node-card__title { font-size: clamp(1.22rem, 1.58vw, 1.62rem); }
.node-card--preview .text-stage p { font-size: clamp(0.9rem, 0.98vw, 0.98rem); }

@media(max-width:900px) {
  .philosophy-hero__visual { transform: none; }
  .hero-mark { width: min(500px, 72vw); }
  .hero-logo { width: min(420px, 86%); }
}

@media(max-width:720px) {
  .node-card--preview { grid-template-columns: 1fr; text-align: center; min-height: 390px; }
  .recipe-card__top { grid-template-columns: 1fr; }
  .recipe-triad { justify-content: flex-start; }
  .recipe-card { min-height: 270px; }
}

@media(max-width:520px) {
  .hero-mark { width: min(340px, 82vw); }
  .hero-logo { width: min(300px, 86%); }
  .henex-formula { white-space: normal; }
}

/* HENEX selected work project cards update 2026-06-03
   Scope: Philosophy page Selected work section only.
   Purpose: implement the confirmed Project Card Mood v6 Option E1 with three lighter project cards, inline recipe titles, node labels and soft gradient card backgrounds.
*/
.practice-section .practice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.practice-card--recipe-link {
  --project-soft-a: var(--philosophy-human);
  --project-soft-b: var(--philosophy-nature);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--theme-border-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, color-mix(in srgb, var(--project-soft-a) 8%, var(--theme-surface)) 0%, var(--theme-surface) 54%, color-mix(in srgb, var(--project-soft-b) 6%, var(--theme-surface)) 100%);
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.practice-card--service {
  --project-soft-a: var(--philosophy-human);
  --project-soft-b: var(--philosophy-nature);
}

.practice-card--digital {
  --project-soft-a: var(--philosophy-emotion);
  --project-soft-b: var(--philosophy-human);
}

.practice-card--built {
  --project-soft-a: var(--philosophy-nature);
  --project-soft-b: var(--philosophy-emotion);
}

.practice-card--recipe-link:hover,
.practice-card--recipe-link:focus-within,
.practice-card--recipe-link:focus-visible {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--philosophy-human) 20%, var(--theme-border));
  box-shadow: var(--shadow-card-hover);
  outline: none;
}

.practice-card--recipe-link .practice-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--theme-surface-soft);
}

.practice-card--recipe-link .practice-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 240ms ease;
}

.practice-card--recipe-link:hover .practice-card__media img,
.practice-card--recipe-link:focus-within .practice-card__media img {
  transform: scale(1.025);
}

.practice-card--recipe-link .practice-card__body {
  display: grid;
  gap: 14px;
  min-height: 370px;
  padding: 24px;
}

.practice-card__topline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.practice-card__category {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  margin: 0;
  padding: 4px 10px;
  border: 1px solid color-mix(in srgb, var(--theme-text) 10%, var(--theme-border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--theme-surface) 82%, transparent);
  color: var(--theme-muted);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.practice-card__nodes {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}

.practice-card__node {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid color-mix(in srgb, var(--node-color) 30%, var(--theme-border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--node-color) 8%, var(--theme-surface));
  color: color-mix(in srgb, var(--node-color) 82%, var(--theme-text));
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.practice-card__node--human {
  --node-color: var(--philosophy-human);
}

.practice-card__node--emotion {
  --node-color: var(--philosophy-emotion);
}

.practice-card__node--nature {
  --node-color: var(--philosophy-nature);
}

.practice-card--recipe-link .practice-card__type {
  margin: 0;
  color: var(--theme-muted);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-transform: uppercase;
}

.practice-card--recipe-link h3 {
  margin: 0;
  color: var(--theme-text);
  font-size: clamp(1.24rem, 1.68vw, 1.72rem);
  line-height: 1.08;
}

.practice-card__recipe-line {
  display: grid;
  gap: 8px;
}

.practice-card__recipe-line strong {
  color: var(--theme-text);
  font-size: 0.96rem;
  font-weight: 850;
  line-height: 1.28;
}

.practice-card__recipe-line strong span {
  font-weight: 850;
}

.practice-card__recipe-line p {
  margin: 0;
  color: var(--theme-text-soft);
  font-size: 0.9rem;
  line-height: 1.46;
}

.practice-card__cta {
  display: inline-flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 10px 14px;
  border: 1px solid color-mix(in srgb, var(--theme-text) 16%, var(--theme-border));
  border-radius: 16px;
  background: color-mix(in srgb, var(--theme-surface) 76%, transparent);
  color: var(--theme-text);
  font-size: 0.88rem;
  font-weight: 850;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.practice-card__cta:hover,
.practice-card__cta:focus-visible {
  background: #151719;
  border-color: #151719;
  color: #fff;
  outline: none;
}

[data-theme="dark"] .practice-card__cta:hover,
[data-theme="dark"] .practice-card__cta:focus-visible {
  background: #fff;
  border-color: #fff;
  color: #070809;
}

@media(max-width:1100px) {
  .practice-section .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media(max-width:720px) {
  .practice-section .practice-grid {
    grid-template-columns: 1fr;
  }
  .practice-card__topline {
    grid-template-columns: 1fr;
  }
  .practice-card__nodes {
    justify-content: flex-start;
  }
  .practice-card--recipe-link .practice-card__body {
    min-height: auto;
  }
}
