/* Eythar-specific editorial sections; shared layout, gallery and motion stay intact. */
.project-page--eythar { --product: #286554; --product-deep: #174737; --product-wash: #eef5f1; }
.project-page--eythar .project-hero { padding-block: clamp(3rem,6vw,6rem); }
.project-page--eythar .project-hero h1 { font-size: clamp(2.15rem,3.6vw,3.5rem); line-height: 1.3; }
.eythar-flow-section { background: var(--bg-alt); }
.eythar-intro { max-width: 66ch; color: var(--ink-2); line-height: 1.9; margin-top: 16px; }
.eythar-flow { list-style: none; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); padding: 0; margin: 42px 0 0; }
.eythar-flow li { position: relative; padding: 0 0 0 20px; }
.eythar-flow li::before { content: ''; position: absolute; top: 22px; inset-inline-start: 45px; width: calc(100% - 45px); height: 1px; background: var(--product); transform-origin: right; transition: transform 650ms ease; }
.eythar-flow li:last-child::before { display: none; }
.eythar-flow li::after { content: '←'; position: absolute; top: 10px; inset-inline-end: 8px; color: var(--product-deep); font-size: .8rem; }
.eythar-flow li:last-child::after { display: none; }
.eythar-flow__number { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--product); background: white; color: var(--product-deep); font-family: var(--font-mono); }
.eythar-flow h3 { font-size: 1rem; margin-top: 18px; }
.eythar-flow p { margin-top: 10px; max-width: 22ch; color: var(--ink-2); font-size: .9rem; line-height: 1.75; }
.eythar-flow .eythar-flow__delivery .eythar-flow__number { background: var(--product-deep); color: white; }
.eythar-rule { margin-top: 36px; padding: 20px 24px; border-inline-start: 3px solid var(--brand); background: white; color: var(--ink-2); line-height: 1.8; }
.eythar-rule strong { color: var(--ink); }
.eythar-capability-group { display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1.35fr); gap: 32px; padding-block: 24px; border-top: 1px solid var(--line); align-items: center; }
.eythar-capability-group header span { color: var(--product-deep); font-family: var(--font-mono); }
.eythar-capability-group h3 { margin-top: 12px; font-size: clamp(1.4rem,2vw,1.9rem); }
.eythar-capability-group p { margin: 0; color: var(--ink-2); line-height: 1.8; }
.eythar-summary { display: flex; align-items: center; gap: 24px; justify-content: space-between; padding-block: 24px; border-top: 1px solid var(--line); }
.eythar-summary p { max-width: 65ch; color: var(--ink-2); line-height: 1.8; }
.eythar-summary .btn { flex-shrink: 0; }
.eythar-principles { border-block: 1px solid var(--line); }
.eythar-principles summary { padding: 20px 4px; cursor: pointer; font-weight: 700; color: var(--product-deep); }
.eythar-principles summary:focus-visible { outline: 3px solid var(--product); outline-offset: 3px; }
.project-page--eythar .gallery-card[hidden] { display: none; }
.eythar-principles ol { list-style: none; padding: 0; margin: 0; }
.eythar-principles li { display: grid; grid-template-columns: 36px 1fr; column-gap: 16px; padding-block: 22px; border-top: 1px solid var(--line); }
.eythar-principles li > span { color: var(--product-deep); font-family: var(--font-mono); }
.eythar-principles h3 { font-size: 1.12rem; }
.eythar-principles li p { grid-column: 2; margin-top: 8px; color: var(--ink-2); line-height: 1.8; }
.motion-enabled .eythar-flow li:not(.is-revealed)::before { transform: scaleX(0); }
@media(max-width:1100px) {
  .eythar-flow { grid-template-columns: 1fr; gap: 0; }
  .eythar-flow li { display: grid; grid-template-columns: 44px 1fr; gap: 0 20px; padding: 0 0 28px; }
  .eythar-flow li::before { top: 44px; inset-inline-start: 22px; width: 1px; height: calc(100% - 44px); transform-origin: top; }
  .eythar-flow li::after { display: none; }
  .eythar-flow h3 { align-self: center; margin: 0; }
  .eythar-flow p { grid-column: 2; max-width: none; margin-top: 2px; }
  .motion-enabled .eythar-flow li:not(.is-revealed)::before { transform: scaleY(0); }
}
@media(max-width:860px) {
  .eythar-capability-group { grid-template-columns: 1fr; gap: 12px; }
  .eythar-summary { flex-direction: column; align-items: start; }
}
@media(max-width:600px) {
  .eythar-rule { padding: 16px; }
}
@media(prefers-reduced-motion:reduce) {
  .eythar-flow li::before { transform: none !important; transition: none; }
}
