/* Shared experience details and discovery controls. */
.eng-page {
  max-width: 1380px;
  margin-inline: auto;
  padding: 0 clamp(20px, 6vw, 90px) clamp(55px, 7vw, 96px);
}
.eng-hero, .eng-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(26px, 5vw, 78px);
  align-items: center;
}
.eng-hero {
  padding-block: clamp(36px, 6vw, 88px);
}
.eng-page h1, .eng-page h2, .eng-panel h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.06;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.eng-page h1 {font-size: clamp(2.6rem, 5.2vw, 5rem); margin: 1rem 0;}
.eng-page h2, .eng-panel h2 {font-size: clamp(2rem, 3.4vw, 3.25rem); margin: 0 0 1.25rem;}
.eng-page h3 {font: 600 1.45rem/1.25 "Playfair Display", Georgia, serif;}
.eng-lede {font-size: clamp(1rem, 1.35vw, 1.18rem); max-width: 53ch; color: #d6cec5;}
.eng-hero .btn {margin-top: .8rem;}
.eng-visual {margin: 0; overflow: hidden; background: #141317; border: 1px solid #494148; border-radius: 3px 3px 38px 3px;}
.eng-visual img {width: 100%; height: auto; display: block; aspect-ratio: 9/7; object-fit: cover;}
.eng-visual figcaption {padding: 8px 14px; color: #cbc1b7; font-size: .78rem;}
.eng-section, .eng-panel {padding-block: clamp(36px, 5vw, 72px); border-top: 1px solid var(--line);}
.eng-panel {scroll-margin-top: 5.5rem;}
.eng-section p, .eng-panel p, .eng-section li, .eng-steps p {color: #cbc3ba; line-height: 1.7;}
.eng-page .eng-section > p {max-width: 70ch;}
.eng-rows, .eng-steps {display: grid; gap: 0; padding: 0; list-style: none; margin: 1.6rem 0 0;}
.eng-rows article, .eng-steps li {padding: 1.2rem .1rem; border-top: 1px solid var(--line);}
.eng-rows h3, .eng-steps h3 {margin: 0 0 .4rem;}
.eng-rows p, .eng-steps p {margin: 0; max-width: 72ch;}
.eng-steps {counter-reset: stage;}
.eng-steps li {counter-increment: stage; display: grid; grid-template-columns: 2rem 1fr; gap: 1rem;}
.eng-steps li::before {content: counter(stage, decimal-leading-zero); color: #e3b3af; font: .85rem/2 monospace;}
.eng-controls {padding: clamp(20px, 3vw, 38px); border: 1px solid #574a4b; border-left: 3px solid #bc3844; background: #1a181b; border-radius: 4px;}
.eng-field-grid {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem;}
.eng-controls label {display: flex; flex-direction: column; gap: .4rem; color: #f4ece4; font-size: .94rem; font-weight: 600;}
.eng-controls select {width: 100%; min-width: 0; color-scheme: dark; color: #faf2eb; background: #242126; border: 1px solid #74686a; border-radius: 4px; padding: .75rem; font: inherit; min-height: 44px;}
.eng-controls .btn {margin-top: 1.3rem;}
.eng-controls .eng-field-grid + p {font-size: .93rem; margin-bottom: 0;}
.eng-result {padding: 1rem 0 0; margin: 1rem 0 0; border-top: 1px solid #65565a;}
.eng-result a, .eng-section a:not(.btn), .eng-panel a:not(.btn), .eng-link {color: #fff1e2; text-decoration: underline; text-underline-offset: .23em; text-decoration-color: #d05c65;}
.eng-result h3 {margin: .5rem 0;}
.eng-result[hidden], .eng-finder[hidden] {display: none;}
.eng-format-list {list-style:none; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:1rem;}
.eng-format-list li {background:#19191c; border:1px solid #454045; padding:1.5rem; display:flex; flex-direction:column;}
.eng-format-list h3 {margin:.1rem 0;}
.eng-format-list p {flex:1;}
.eng-faq details {padding: 1rem 0; border-top: 1px solid var(--line);}
.eng-faq summary {cursor: pointer; font-weight: 600; color: #f5ebe3;}
.eng-faq p {max-width: 68ch;}
@media (prefers-reduced-motion:no-preference) {
  .eng-visual img {transition: transform .7s ease-out;}
  .eng-visual:hover img {transform: scale(1.025);}
  .eng-result:focus {animation: result-arrive .32s ease-out;}
  @keyframes result-arrive {from {transform: translateY(5px); opacity: .4;} to {transform: none; opacity: 1;}}
}
@media(max-width:780px) {
  .eng-hero, .eng-columns {grid-template-columns: 1fr;}
  .eng-visual img {max-height: 340px;}
}
@media(max-width:540px) {.eng-field-grid {grid-template-columns:1fr;}}

.workflow-study {
  margin: 0;
  padding: clamp(1.4rem, 4vw, 3.2rem);
  border: 1px solid #504247;
  border-radius: 2px 2px 34px 2px;
  background: #1c191d;
}
.workflow-study figcaption {color: #dbc4b7; font-size: .88rem;}
.workflow-study ol {list-style: none; padding: 0 0 0 1rem; border-left: 1px solid #b4434d;}
.workflow-study li {position: relative; padding: .7rem .4rem;}
.workflow-study li::before {content: ""; position: absolute; left: -1.25rem; top: 1.4rem; width: .45rem; height: .45rem; border-radius: 50%; background: #e98185;}
.workflow-study strong {display: block; font: 600 1.6rem Georgia, serif; margin-bottom: .35rem;}
.workflow-study span {color: #c9c1bc;}
.eng-section, #arrange, #pathways, #scope {scroll-margin-top: 6rem;}
