/* Editorial v1: versioned, shared home/detail hero. Preserve approved geometry. */
.project-feature,
.project-feature * {
    box-sizing: border-box;
    letter-spacing: 0;
}

.project-feature {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: min(840px, calc(100svh - 68px));
    min-height: 610px;
    color: #fff;
    background: #26382f;
    overflow: hidden;
    text-align: left;
}

.project-feature__image,
.project-feature__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.project-feature .project-feature__image { height: 100%; object-fit: cover; object-position: center 56%; }
.project-feature__shade {
    background: linear-gradient(90deg, rgba(13, 25, 20, .77), rgba(13, 25, 20, .46) 46%, rgba(13, 25, 20, .03) 83%), linear-gradient(180deg, rgba(13, 25, 20, .72), rgba(13, 25, 20, .5) 22%, transparent 42%);
}

.project-feature__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 116px 48px 42px;
}

.project-feature__inner:has(.project-launch-banner:not([hidden])) { grid-template-rows: auto minmax(0, 1fr); gap: 28px; }
.project-launch-banner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; border-bottom: 1px solid rgba(255, 255, 255, .45); padding-bottom: 17px; color: #fff; }
.project-launch-banner[hidden] { display: none !important; }
.project-feature .project-launch-banner__publisher { margin: 0 0 6px; font: 400 10px/1.4 var(--sans); color: #f1f4f1; }
.project-feature .project-launch-banner__title { margin: 0; font: 400 27px/1.25 var(--serif); color: #fff; }
.project-launch-banner__date { display: flex; flex-direction: column; gap: 4px; text-align: right; flex: none; }
.project-launch-banner__date > span { font: 400 11px/1.4 var(--sans); color: #f1f4f1; }
.project-launch-banner__date time { font: 400 24px/1.25 var(--serif); font-variant-numeric: tabular-nums; }
.project-feature__copy { align-self: center; width: 100%; max-width: 680px; min-width: 0; }
.project-feature .project-feature__eyebrow { margin: 0 0 10px; font: 400 13px/1.5 var(--sans); color: #fff; }
.project-feature .project-feature__title { margin: 0 0 18px; font: 400 78px/1.05 var(--serif); letter-spacing: 0; color: #fff; }
.project-feature .project-feature__tagline { margin: 0; font: 400 30px/1.45 var(--sans); color: #fff; text-wrap: balance; }
.project-feature .project-feature__subtitle { margin: 18px 0 0; font: 400 18px/1.7 var(--sans); color: #fff; text-wrap: balance; }
.project-feature__line { display: inline-block; }
.project-feature__tagline .project-feature__line { display: block; }
.project-feature__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 26px; }
.project-feature__primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    min-height: 50px;
    padding: 12px 24px;
    color: #133b2d;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 2px;
    font: 500 15px/1.4 var(--sans);
    text-decoration: none;
    transition: background .2s, color .2s;
}
.project-feature__primary:hover { background: #e7f0e9; color: #152f24; }
.project-feature__secondary { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font: 400 14px/1.5 var(--sans); text-decoration: underline; text-underline-offset: 6px; }
.project-feature a:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.project-feature__facts { display: flex; gap: 30px; margin: 28px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .45); }
.project-feature__facts > div { min-width: 0; }
.project-feature__facts dt { font: 400 12px/1.5 var(--sans); color: #f0f3ef; margin-bottom: 4px; }
.project-feature__facts dd { margin: 0; font: 500 18px/1.5 var(--sans); white-space: nowrap; color: #fff; }
.project-feature__facts > div:first-child dd { font-size: 21px; }
.project-feature .project-feature__caption { position: absolute; right: 24px; bottom: 18px; margin: 0; padding: 3px 7px; font: 400 11px/1.5 var(--sans); color: #fff; background: rgba(16, 28, 22, .65); }

/* A locked project template may retain its existing outer hero section. */
.hero:has(.project-feature--detail) { height: auto; min-height: 0; display: block; padding: 0; }
.project-feature--detail { max-width: none; }

html[lang="zh-TW"] .project-feature__title,
html[lang="zh-TW"] .project-launch-banner__title { font-family: 'Songti TC', 'Noto Serif TC', 'PMingLiU', serif; }
.project-feature__title:lang(zh-TW) { font-size: 88px; }

/* Homepage-only refinements do not restyle the shared project or contact pages. */
.aurea-home [data-section="intro"] :is(.t-body, .t-label),
.aurea-home [data-section="services"] .t-label,
.aurea-home [data-section="projects"] :is(.t-body, .t-label) { color: var(--text-muted); }
.aurea-home [data-section="services"] { padding-block: 48px; }
.aurea-home [data-section="services"] .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.aurea-home [data-section="services"] .card { min-width: 0; padding: 20px 24px; }
.aurea-home [data-section="services"] .card-divider { margin-bottom: 12px; }
.aurea-home [data-section="services"] .card h3 { margin-bottom: 8px; }
.aurea-home [data-section="services"] .card h3 a { display: inline-flex; align-items: center; min-height: 44px; }
.aurea-home [data-section="services"] .card p { font-weight: 400; line-height: 1.7; }
.home-services-more { margin-top: 20px; border-top: 1px solid var(--stone); }
.home-services-more > summary { cursor: pointer; padding-block: 16px; min-height: var(--action-min-height); font-size: 15px; font-weight: 500; color: var(--dark); }
.home-collection-links { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.home-services-more > summary:focus-visible,
.home-collection-links a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width: 767px) {
    .aurea-home [data-section="services"] .card-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .aurea-home [data-section="services"] .card { padding: 12px 18px 16px; }
    .aurea-home [data-section="services"] .card-divider { display: none; }
    .aurea-home [data-section="services"] > .container { padding-inline: 0; }
    .aurea-home [data-section="services"] .card h3 { margin-bottom: 4px; }
    .home-collection-links { flex-direction: column; gap: 0; align-items: flex-start; }
}
.aurea-home main :is(.t-label, .t-heading, .btn-primary, .btn-secondary, .project-card *, .life-card *) { letter-spacing: 0; }
.aurea-home .t-heading { font-size: 40px; }
.aurea-home .project-card { border-radius: 6px; }
.aurea-home .project-card__info h3 { font-size: 23px; }
.aurea-home .project-card__info p { color: #5e625d; }
.aurea-home .home-section-link { display: inline-flex; min-height: 44px; align-items: center; gap: 14px; margin-top: 24px; color: #235039; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.aurea-home .family-fullwidth-break { width: 100%; overflow: hidden; line-height: 0; }
.aurea-home .family-fullwidth-break img { width: 100%; height: auto; display: block; object-fit: cover; }
.aurea-home .life-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 32px; }
.aurea-home .life-card { display: flex; flex-direction: column; color: inherit; border: 1px solid #d9dfd9; background: #fff; border-radius: 6px; overflow: hidden; transition: transform .3s; }
.aurea-home .life-card:hover { transform: translateY(-4px); }
.aurea-home .life-card__img { overflow: hidden; aspect-ratio: 16/10; }
.aurea-home .life-card__img img { width: 100%; height: 100%; object-fit: cover; }
.aurea-home .life-card__body { padding: 28px 28px 32px; }
.aurea-home .life-card__body h3 { margin: 0 0 12px; font: 400 26px/1.3 var(--serif); }
.aurea-home .life-card__body p { font-size: 15px; line-height: 1.75; color: #5e625d; }
.aurea-home .life-card__cta { display: inline-block; margin-top: 20px; font-size: 14px; color: #235039; }
.aurea-home .noscript-nav { position: relative; height: auto; padding: 18px 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; background: #24372a; color: #fff; }
.aurea-home .noscript-footer { padding: 24px; text-align: center; background: #24372a; color: #fff; }
html[lang="zh-TW"] .aurea-home { font-family: -apple-system, BlinkMacSystemFont, 'PingFang TC', 'Microsoft JhengHei', sans-serif; }
html[lang="zh-TW"] .aurea-home :is(.t-heading, .card h3, .life-card__body h3, .project-card__info h3) { font-family: 'Songti TC', 'Noto Serif TC', 'PMingLiU', serif; }

@media (max-width: 1024px) {
    .project-feature__inner { padding-left: 32px; padding-right: 32px; }
    .project-feature .project-feature__title { font-size: 64px; }
    .project-feature .project-feature__tagline { font-size: 29px; }
}

@media (max-width: 767px) {
    .project-feature { height: calc(100svh - 64px); min-height: 540px; max-height: 780px; }
    .project-feature .project-feature__image { object-position: 64% center; }
    .project-feature__shade { background: linear-gradient(90deg, rgba(13, 25, 20, .73), rgba(13, 25, 20, .24)), linear-gradient(180deg, rgba(13, 25, 20, .64), rgba(13, 25, 20, .42) 22%, transparent 42%); }
    .project-feature__inner { padding: 104px 24px 30px; }
    .project-feature__inner:has(.project-launch-banner:not([hidden])) { gap: 24px; }
    .project-launch-banner { gap: 16px; padding-bottom: 12px; }
    .project-feature .project-launch-banner__publisher { font-size: 9px; margin-bottom: 5px; }
    .project-feature .project-launch-banner__title { font-size: 23px; }
    .project-launch-banner__date > span { font-size: 10px; }
    .project-launch-banner__date time { font-size: 20px; }
    .project-feature .project-feature__eyebrow { font-size: 12px; margin-bottom: 8px; }
    .project-feature .project-feature__title { font-size: 50px; line-height: 1.05; margin-bottom: 16px; }
    .project-feature .project-feature__tagline { font-size: 26px; line-height: 1.4; }
    .project-feature .project-feature__subtitle { font-size: 17px; line-height: 1.45; margin-top: 10px; }
    .project-feature__line { display: block; }
    .project-feature__actions { margin-top: 20px; gap: 16px; }
    .project-feature__primary { min-height: 46px; padding: 11px 16px; font-size: 14px; gap: 14px; }
    .project-feature__secondary { font-size: 13px; }
    .project-feature__facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin-top: 22px; padding-top: 16px; }
    .project-feature__facts dt { font-size: 11px; margin-bottom: 2px; }
    .project-feature__facts dd,
    .project-feature__facts > div:first-child dd { font-size: 17px; }
    .project-feature__facts > div:last-child { grid-column: 1/-1; display: flex; align-items: baseline; gap: 10px; }
    .project-feature__facts > div:last-child dt { margin: 0; }
    .project-feature__facts > div:last-child dd { font-size: 14px; }
    .project-feature .project-feature__caption { font-size: 10px; right: 17px; bottom: 10px; }
    .aurea-home .t-heading { font-size: 30px; }
    .aurea-home .project-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .aurea-home .life-grid { grid-template-columns: 1fr; gap: 24px; }
    .aurea-home .life-card__body { padding: 24px; }
}

@media (max-width: 374px) {
    .project-feature__inner { padding-left: 18px; padding-right: 18px; }
    .project-feature .project-feature__tagline { font-size: 24px; }
    .project-feature .project-feature__subtitle { font-size: 16px; }
    .project-feature__actions { gap: 12px; }
    .project-feature__primary { padding-left: 12px; padding-right: 12px; gap: 10px; }
}

@media (max-height: 650px) and (min-width: 768px) {
    .project-feature { min-height: 500px; }
    .project-feature__inner { padding-top: 96px; padding-bottom: 28px; }
    .project-feature__inner:has(.project-launch-banner:not([hidden])) { gap: 16px; }
    .project-launch-banner { padding-bottom: 10px; }
    .project-feature .project-launch-banner__title { font-size: 22px; }
    .project-feature__tagline .project-feature__line { display: inline-block; }
    .project-feature .project-feature__title { font-size: 48px; margin-bottom: 14px; }
    .project-feature .project-feature__tagline { font-size: 26px; }
    .project-feature .project-feature__subtitle { font-size: 17px; margin-top: 8px; }
    .project-feature__actions { margin-top: 20px; }
    .project-feature__facts { margin-top: 20px; padding-top: 14px; }
}

@media (max-height: 650px) and (max-width: 767px) {
    .project-feature { min-height: 500px; height: calc(100svh - 48px); }
    .project-feature__inner { padding-top: 88px; padding-bottom: 18px; }
    .project-feature__inner:has(.project-launch-banner:not([hidden])) { gap: 14px; }
    .project-launch-banner { padding-bottom: 8px; }
    .project-feature .project-launch-banner__publisher { display: none; }
    .project-feature .project-launch-banner__title { font-size: 20px; }
    .project-launch-banner__date time { font-size: 17px; }
    .project-feature .project-feature__title { font-size: 36px; margin-bottom: 10px; }
    .project-feature .project-feature__tagline { font-size: 22px; line-height: 1.3; }
    .project-feature .project-feature__subtitle { font-size: 15px; margin-top: 8px; line-height: 1.4; }
    .project-feature__actions { margin-top: 12px; }
    .project-feature__primary { min-height: 40px; padding-top: 8px; padding-bottom: 8px; }
    .project-feature__facts { display: block; margin-top: 12px; padding-top: 10px; }
    .project-feature__facts > div:first-child { display: flex; align-items: baseline; gap: 10px; }
    .project-feature__facts > div:not(:first-child) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .project-feature *, .aurea-home .life-card { transition: none; }
}

/* A homepage introduction, not a second inventory page. Detail styling stays intact. */
.project-feature--home { height: min(800px, calc(100svh - 120px)); min-height: 520px; }
.project-feature--home .project-feature__shade { background: linear-gradient(90deg, rgba(13, 25, 20, .70), rgba(13, 25, 20, .38) 46%, rgba(13, 25, 20, .02) 83%), linear-gradient(180deg, rgba(13, 25, 20, .66), rgba(13, 25, 20, .38) 22%, transparent 42%); }
.project-feature--home .project-feature__copy { max-width: 640px; }
.project-feature--home .project-launch-banner { background-color: #8c3b41; padding-inline: 14px; padding-top: 12px; border-bottom-color: transparent; }
.project-feature--home .project-launch-banner__date time { font: 400 16px/1.5 var(--sans); }
.project-feature--home .project-feature__title { font-size: 72px; }
.project-feature--home .project-feature__primary { min-height: 44px; padding: 0 0 5px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .75); border-radius: 0; background: transparent; color: #fff; }
.project-feature--home .project-feature__primary:hover { color: #e4eee6; border-color: #fff; }
.aurea-home [data-section="intro"] { padding-top: 38px; }
.aurea-home [data-section="intro"] .t-label { color: #556157; }

@media (max-width: 1024px) {
    .project-feature--home .project-feature__title { font-size: 58px; }
}

@media (max-width: 767px) {
    .project-feature--home { height: min(740px, calc(100svh - 104px)); min-height: 460px; }
    .project-feature--home .project-feature__inner { padding: 104px 24px 40px; }
    .project-feature--home .project-feature__inner:has(.project-launch-banner:not([hidden])) { gap: 24px; }
    .project-feature--home .project-feature__shade { background: linear-gradient(90deg, rgba(13, 25, 20, .70), rgba(13, 25, 20, .12)), linear-gradient(180deg, rgba(13, 25, 20, .60), rgba(13, 25, 20, .30) 22%, transparent 48%); }
    .project-feature--home .project-feature__title { font-size: 40px; margin-bottom: 16px; }
    .project-feature--home .project-launch-banner__date time { font-size: 13px; }
    .project-feature--home .project-feature__subtitle { font-size: 16px; line-height: 1.6; }
    .project-feature--home .project-feature__actions { margin-top: 24px; }
    .aurea-home [data-section="intro"] { padding-top: 28px; }
}

@media (max-width: 767px) and (max-height: 700px) {
    .project-feature--home .project-feature__inner { padding-top: 96px; padding-bottom: 32px; }
    .project-feature--home .project-feature__inner:has(.project-launch-banner:not([hidden])) { gap: 18px; }
    .project-feature--home .project-feature__title { font-size: 36px; margin-bottom: 12px; }
    .project-feature--home .project-feature__tagline { font-size: 23px; line-height: 1.4; }
    .project-feature--home .project-feature__subtitle { font-size: 15px; line-height: 1.5; }
    .project-feature--home .project-feature__actions { margin-top: 16px; }
}

@media (max-width: 374px) {
    .project-feature--home .project-feature__inner { padding-left: 18px; padding-right: 18px; }
}
