/* Miro service, personal and contact sections. */
.hero-page {
  --night: #171721;
  --cream: #fbf2e9;
  --gold: #d1b17a;
  --gutter: clamp(24px, 4.45vw, 90px);
  --landscape-image: url('/assets/mountain-landscape-1920.4c3d9b56f0bf6ffb.webp');
  --landscape-shade: linear-gradient(rgba(23,23,33,.56), rgba(23,23,33,.68));
  background: #171721;
  color: #fbf2e9;
  font-family: Arial, Helvetica, sans-serif;
}
@media (min-width: 1800px), (min-resolution: 1.5dppx) { .hero-page { --landscape-image: url('/assets/mountain-landscape-3840.d480da71dd06464c.webp'); } }
.site-landscape { position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: var(--landscape-shade), var(--landscape-image); background-size: cover; background-position: center; }
.hero-page .site-header { z-index: 100; padding-inline: var(--gutter); }
.hero-page main { position: relative; }
.hero-page .services-stage {
  --services-gutter: clamp(24px, 4.444444vw, 64px);
  --services-top: calc(var(--header-occupied, 88px) + 41px);
  display: grid; grid-template-columns: minmax(0, 784fr) minmax(0, 500fr); column-gap: 28px; align-items: start;
  width: 100%; max-width: 1440px; min-height: 100svh; margin-inline: auto;
  padding: var(--services-top) max(var(--services-gutter), env(safe-area-inset-right, 0px)) 32px max(var(--services-gutter), env(safe-area-inset-left, 0px));
  color: #fbf2e9; scroll-margin-top: 0;
}
.services-copy { min-width: 0; }
.services-copy h2 { margin: 0 0 32px; font-family: inherit; font-size: 42px; font-weight: 400; line-height: 1.142857; letter-spacing: 0; }
/* Copy determines the height; consistent spacing separates the service cards. */
.services-intro { margin: 0; padding-bottom: 32px; font-size: 18px; line-height: 1.5; }
.services-intro p { margin: 0; color: #fbf2e9; }
.services-intro p + p { margin-top: 24px; }
.services-stage .services { display: grid; gap: 20px; margin: 0; border: 0; }
.services-stage .service { background: #18191e; border: 1px solid #a58b62; border-radius: 12px; overflow: hidden; }
.services-stage .service summary { display: grid; grid-template-columns: minmax(0, 1fr) 44px; column-gap: 36px; padding: 24px 23px 24px 31px; align-items: center; min-height: 92px; }
.services-stage .service-index, .services-stage .service summary > p { display: none; }
.services-stage .service h3 { grid-column: 1; grid-row: 1; font-family: inherit; font-size: 24px; line-height: 1.3; font-weight: 400; letter-spacing: 0; margin: 0; color: #d1b17a; overflow-wrap: break-word; hyphens: manual; }
.services-stage .service summary:hover h3 { color: #d1b17a; }
.services-stage .service summary:hover { background: #202126; }
.services-stage .service summary:active { background: #25262b; }
.services-stage .service summary:focus-visible { outline-offset: -6px; border-radius: 11px; }
.services-stage .service-plus { grid-column: 2; grid-row: 1; width: 44px; height: 44px; border: 1px solid #fbf2e9; background: #25262b; color: #d1b17a; justify-self: end; font-size: 0; transform: none; }
.services-stage .service-plus { position: relative; }
.services-stage .service-plus::before, .services-stage .service-plus::after { content: ''; position: absolute; width: 14px; height: 2px; border-radius: 1px; background: currentColor; }
.services-stage .service-plus::after { transform: rotate(90deg); }
.services-stage .service[open] .service-plus { transform: none; }
.services-stage .service[open] .service-plus::after { display: none; }
.services-stage .service-body { display: block; padding: 14px 31px 32px; margin: 0; font-size: 18px; line-height: 1.5; color: #fbf2e9; overflow-wrap: break-word; }
.services-stage .service-body p { max-width: none; margin: 0 0 24px; color: #fbf2e9; }
.services-stage .service-body .service-subtitle { margin-bottom: 16px; font-size: 20px; line-height: 1.4; }
.services-stage .service-body ul { padding-left: 22px; margin: 0; }
.services-stage .service-body li { color: #fbf2e9; }
.services-stage .service-body li + li { margin-top: 8px; }
.services-stage .oryx-column.story { display: block; position: relative; padding: 0; margin: 0; min-width: 0; min-height: 0; height: auto; overflow: visible; background: transparent; align-self: start; }
.oryx-column.story::before, .oryx-column.story::after { display: none; }
.oryx-column.story .art-scene { display: block; position: relative; inset: auto; width: 100%; height: auto; max-width: none; margin: 0; padding: max(0px, calc(311.6383px - var(--services-top))) 0 0; transform: none; opacity: 1; pointer-events: auto; }
/* The renderer contains the natural 4:5 artwork at 94% height. A 450/.94
   square stage therefore preserves its aspect ratio at the Miro 360×450 size. */
.oryx-column.story .art-visual { position: relative; width: min(100%, 478.7234px); height: auto; aspect-ratio: 1; max-width: none; max-height: none; margin: 0 auto; overflow: hidden; background: transparent; }
.oryx-column.story .art-crop { inset: 0; width: 100%; height: 100%; background: transparent; border-radius: 0; filter: none; }
.oryx-column.story .natural-poster, .oryx-column.story .morph-canvas { background: transparent; }
.oryx-column.story .art-controls { position: relative; inset: auto; display: flex; align-items: center; flex-direction: column; margin: 0; padding: 0; width: 100%; min-height: 48px; }
.oryx-column.story .transform-trigger { width: 272px; max-width: 100%; min-width: 0; min-height: 48px; padding: 10px 18px; border: 1px solid #a58b62; border-radius: 26px; background: #25262b; color: #d1b17a; font: 400 17px/1.5 Arial, Helvetica, sans-serif; }
.oryx-column.story .transform-trigger:hover { background: #303137; border-color: #d1b17a; }
.oryx-column.story .transform-trigger:active { background: #18191e; }
.oryx-column.story .motion-status { min-height: 0; max-width: 100%; margin-top: 8px; font-size: 14px; line-height: 1.5; color: #fbf2e9; }
.oryx-column .oryx-caption { margin: 48px auto 24px; width: 100%; text-align: center; color: #d1b17a; font: 400 26px/1.153846 Arial, Helvetica, sans-serif; }
.oryx-column .oryx-caption em { font-family: inherit; font-style: normal; color: #d1b17a; }
.oryx-utility { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; margin-top: 12px; }
.oryx-column.story .story-bottom { grid-area: 1 / 1; position: relative; z-index: 1; display: flex; justify-self: start; justify-content: flex-start; align-self: start; width: auto; max-width: calc(50% - 12px); min-height: 44px; padding: 0; margin: 0; border: 0; }
.oryx-column.story .motion-toggle { position: static; margin: 0; padding: 10px 0; min-height: 44px; color: #fbf2e9; font: 400 16px/1.5 Arial, Helvetica, sans-serif; white-space: normal; text-align: left; }
.oryx-column.story .motion-toggle:hover { text-decoration: underline; text-underline-offset: 4px; }
.oryx-explanation { grid-area: 1 / 1; position: relative; z-index: 2; width: 100%; min-width: 0; max-width: none; margin: 0; text-align: left; font: 400 14px/1.5 Arial, Helvetica, sans-serif; pointer-events: none; }
.oryx-explanation summary { width: 168px; max-width: calc(50% - 12px); margin-left: auto; padding: 10px 0; min-height: 44px; color: #fbf2e9; font-size: 16px; cursor: pointer; pointer-events: auto; text-decoration: underline; text-underline-offset: 4px; list-style: none; }
.oryx-explanation summary::-webkit-details-marker { display: none; }
.oryx-explanation summary:hover { color: #d1b17a; }
.oryx-info-content { margin-top: 16px; pointer-events: auto; }
.oryx-explanation p { margin: 0 0 14px; text-align: left; color: #fbf2e9; }
.oryx-explanation p:last-child { margin-bottom: 0; }
.oryx-explanation.info-ready[open] .oryx-info-content { position: absolute; right: 0; bottom: calc(100% + 12px); width: min(420px, 100%); margin: 0; padding: 20px; border: 1px solid #a58b62; border-radius: 12px; background: #18191e; box-shadow: 0 10px 32px #0005; }
.hero-page .personal-stage {
  --personal-gutter: clamp(24px, 4.444444vw, 64px);
  padding: calc(var(--header-occupied, 88px) + 48px) 0 64px;
  color: #fbf2e9;
  background: rgba(23,23,33,.45);
  scroll-margin-top: calc(-1 * (var(--header-occupied, 88px) + 16px));
}
.personal-inner { max-width: 1440px; margin-inline: auto; padding-inline: max(var(--personal-gutter), env(safe-area-inset-left, 0px)) max(var(--personal-gutter), env(safe-area-inset-right, 0px)); }
.personal-stage h2 { margin: 0 0 48px; color: #fbf2e9; font: 400 42px/1.142857 Arial, Helvetica, sans-serif; letter-spacing: 0; overflow-wrap: break-word; }
.personal-grid { display: grid; grid-template-columns: minmax(0, 400fr) minmax(0, 848fr); column-gap: 64px; align-items: start; }
.personal-profile, .personal-expertise { min-width: 0; }
.personal-photo { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.personal-name { margin: 24px 0; color: #d1b17a; font: 400 32px/1.15625 Arial, Helvetica, sans-serif; }
.personal-contact { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; padding: 11px 16px; border: 1px solid #a58b62; border-radius: 26px; background: #25262b; color: #d1b17a; font: 400 18px/1.5 Arial, Helvetica, sans-serif; text-align: center; }
.personal-contact:hover { background: #303137; border-color: #d1b17a; }
.personal-contact:active { background: #18191e; }
.personal-traits-title { margin: 0 0 24px; color: #fbf2e9; font: 400 24px/1.3 Arial, Helvetica, sans-serif; letter-spacing: 0; }
.personal-traits { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; padding: 0; margin: 0 0 48px; }
.personal-traits li { position: relative; padding-left: 14px; color: #fbf2e9; font-size: 18px; line-height: 28px; }
.personal-traits li::before { content: ""; position: absolute; left: 0; top: 12px; width: 4px; height: 4px; border-radius: 50%; background: #d1b17a; }
.personal-experience-title { margin: 0 0 24px; color: #fbf2e9; font: 400 24px/1.3 Arial, Helvetica, sans-serif; letter-spacing: 0; }
.personal-experience { margin: 0; padding: 0; list-style: none; }
.personal-experience li { padding: 24px 0; border-bottom: 2px solid rgba(165,139,98,.45); color: #fbf2e9; font-size: 18px; line-height: 28px; overflow-wrap: break-word; }
.personal-experience li:first-child { padding-top: 0; }
.personal-statement { margin: 18px 0 0; color: #fbf2e9; font-size: 18px; line-height: 28px; overflow-wrap: break-word; }
.hero-page .contact-invitation {
  --invitation-gutter: clamp(24px, 4.444444vw, 64px);
  padding: calc(var(--header-occupied, 88px) + 48px) 0 96px;
  color: #fbf2e9;
  background: rgba(23,23,33,.45);
  scroll-margin-top: calc(-1 * (var(--header-occupied, 88px) + 16px));
}
.invitation-inner { max-width: 1440px; margin-inline: auto; padding-inline: max(var(--invitation-gutter), env(safe-area-inset-left, 0px)) max(var(--invitation-gutter), env(safe-area-inset-right, 0px)); }
/* A narrow dark halo keeps the small gold label readable over bright sky. */
.invitation-kicker { margin: 0 0 32px; color: #d1b17a; font: 400 16px/1.125 Arial, Helvetica, sans-serif; letter-spacing: 0; text-shadow: 1px 0 #171721, -1px 0 #171721, 0 1px #171721, 0 -1px #171721; }
.invitation-grid { display: grid; grid-template-columns: minmax(0, 720fr) minmax(0, 496fr); gap: 64px; align-items: start; max-width: 1280px; }
.invitation-copy, .invitation-card { min-width: 0; }
.invitation-copy h2 { margin: 0 0 32px; color: #fbf2e9; font: 400 42px/1.142857 Arial, Helvetica, sans-serif; letter-spacing: 0; overflow-wrap: break-word; }
.invitation-description { max-width: 568px; font: 400 18px/1.555556 Arial, Helvetica, sans-serif; }
.invitation-description p { margin: 0; color: #fbf2e9; overflow-wrap: break-word; }
.invitation-description p + p { margin-top: 24px; }
.invitation-process { margin-top: 48px; }
.invitation-process > h3 { margin: 0 0 26px; color: #fbf2e9; font: 400 20px/1.4 Arial, Helvetica, sans-serif; letter-spacing: 0; }
.invitation-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 712px; padding: 0; margin: 0; list-style: none; }
.invitation-steps > li { position: relative; min-width: 0; }
.invitation-steps > li:not(:last-child)::after { content: ''; position: absolute; top: 15px; left: 32px; width: calc(100% - 24px); height: 2px; background: rgba(165,139,98,.6); }
.invitation-step-number { position: relative; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-bottom: 24px; border: 1px solid #a58b62; border-radius: 50%; background: #25262b; color: #d1b17a; font: 400 16px/1 Arial, Helvetica, sans-serif; }
.invitation-steps h4 { min-height: 51px; margin: 0 0 16px; color: #fbf2e9; font: 400 18px/1.416667 Arial, Helvetica, sans-serif; letter-spacing: 0; overflow-wrap: break-word; }
.invitation-steps p { margin: 0; color: #fbf2e9; font: 400 16px/1.40625 Arial, Helvetica, sans-serif; overflow-wrap: break-word; }
/* The same 12% ivory layer as Miro rests on a solid night base so text
   contrast stays reliable while the landscape moves behind the card. */
.invitation-card { margin-top: 0; padding: 40px; border: 1px solid #a58b62; border-radius: 12px; background: linear-gradient(rgba(251,242,233,.12), rgba(251,242,233,.12)), #171721; }
.invitation-card > h3 { margin: 0 0 24px; color: #d1b17a; font: 400 28px/1.2 Arial, Helvetica, sans-serif; letter-spacing: 0; overflow-wrap: break-word; }
.invitation-card > p { margin: 0 0 32px; color: #fbf2e9; font: 400 18px/1.555556 Arial, Helvetica, sans-serif; overflow-wrap: break-word; }
.invitation-action { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 64px; padding: 14px 16px; border: 1px solid #d1b17a; border-radius: 32px; background: transparent; color: #d1b17a; font: 400 22px/1.4 Arial, Helvetica, sans-serif; text-align: center; overflow-wrap: break-word; }
.invitation-action:hover { background: #25262b; }
.invitation-action:active { background: #18191e; }
.invitation-email {
  width: 100%; display: block; min-height: 50px; margin-top: 24px; padding-top: 24px; border-top: 2px solid rgba(165,139,98,.45); color: #fbf2e9; font: 400 20px/1.15 Arial, Helvetica, sans-serif; text-align: center; overflow-wrap: anywhere; }
.invitation-email:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-page :focus-visible { outline: 2px solid #d1b17a; outline-offset: 5px; }
.review-panel { position: fixed; z-index: 120; right: 16px; bottom: 16px; width: min(320px, calc(100vw - 32px)); padding: 14px 18px; color: #fbf2e9; background: rgba(23,23,33,.97); border: 1px solid #a58b62; border-radius: 12px; box-shadow: 0 8px 32px #0005; font-size: 13px; }
.review-panel > summary { cursor: pointer; min-height: 24px; font-weight: bold; color: #d1b17a; }
.review-panel fieldset { padding: 12px 0 2px; border: 0; margin: 8px 0 0; }
.review-panel legend { font-size: 12px; color: #d1b17a; }
.review-panel label { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; margin-right: 10px; cursor: pointer; }
.review-panel input { accent-color: #d1b17a; }
.review-panel { max-height: calc(100vh - 32px); max-height: calc(100svh - 32px); overflow-y: auto; }
.hero-page.review-mode[data-review-laptop="off"] .hero-detail { opacity: 0 !important; }
.review-panel a { display: inline-block; color: #fbf2e9; padding: 10px 0; margin-right: 18px; text-decoration: underline; }
.review-panel p { margin: 6px 0; line-height: 1.4; color: #ddd6cc; }
.hero-page[data-review-background="light"] .oryx-column .art-visual { background: #fbf2e9; }
.hero-page[data-review-background="dark"] .oryx-column .art-visual { background: #12130f; }
@media (max-width: 1100px) {
  .hero-page .services-stage { --services-top: calc(var(--header-occupied, 88px) + 36px); grid-template-columns: minmax(0, 1fr); row-gap: 60px; padding-bottom: 60px; }
  .services-copy { width: 100%; max-width: 784px; justify-self: center; }
  .services-copy h2 { margin-bottom: 32px; }
  .services-intro { min-height: 0; padding-bottom: 36px; }
  .services-stage .oryx-column.story { width: 100%; max-width: 500px; justify-self: center; }
  .oryx-column.story .art-scene { padding-top: 0; }
  .oryx-column .oryx-caption { margin-top: 36px; margin-bottom: 28px; }
  .hero-page .personal-stage { padding-top: calc(var(--header-occupied, 88px) + 36px); padding-bottom: 60px; }
  .personal-stage h2 { margin-bottom: 48px; }
  .personal-grid { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
  .personal-profile { width: 100%; max-width: 400px; }
  .personal-expertise { max-width: 848px; }
  .personal-name { margin: 24px 0; }
  .personal-traits-title { margin-bottom: 24px; }
  .personal-traits { margin-bottom: 40px; }
  .personal-experience-title { margin-bottom: 28px; }
  .personal-experience li, .personal-experience li:first-child { min-height: 0; padding-block: 24px; }
  .personal-experience li:first-child { padding-top: 0; }
  .personal-statement { margin-top: 24px; }
  .hero-page .contact-invitation { padding-top: calc(var(--header-occupied, 88px) + 56px); padding-bottom: 76px; }
  .invitation-kicker { margin-bottom: 32px; }
  .invitation-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .invitation-copy { max-width: 720px; }
  .invitation-description p + p { min-height: 0; }
  .invitation-process { margin-top: 48px; }
  .invitation-card { width: 100%; max-width: 496px; margin-top: 0; }
}
@media (max-width: 800px), (max-width: 1000px) and (max-height: 500px) {
  .services-copy h2 { font-size: 32px; }
  .services-intro { font-size: 18px; }
  .services-stage .service summary { column-gap: 16px; padding: 20px; }
  .services-stage .service h3 { font-size: clamp(20px, 4.7vw, 26px); line-height: 1.3; }
  .services-stage .service-body { padding: 12px 20px 28px; }
  .services-stage .service-body p { margin-bottom: 28px; }
  .services-stage .service-body .service-subtitle { margin-bottom: 24px; }
  .oryx-column .oryx-caption { font-size: clamp(21px, 5.8vw, 26px); line-height: 1.3; }
  .oryx-column.story .art-hit { pointer-events: auto; }
  .review-panel { bottom: 8px; right: 8px; width: min(300px, calc(100vw - 16px)); }
  .hero-page.review-mode .hero-scroll { bottom: 84px; }
  .personal-stage h2 { font-size: 32px; }
  .personal-traits { gap: 12px; }
  .personal-traits li { padding-left: 14px; }
  .personal-traits li:nth-child(n) { min-width: 0; }
  .personal-experience li, .personal-statement { font-size: 18px; line-height: 1.5; }
  .hero-page .contact-invitation { padding-top: calc(var(--header-occupied, 88px) + 36px); padding-bottom: 60px; }
  .invitation-kicker { margin-bottom: 24px; }
  .invitation-copy h2 { margin-bottom: 28px; font-size: 32px; line-height: 1.1875; }
  .invitation-description { font-size: 18px; line-height: 1.5; }
  .invitation-description p + p { margin-top: 24px; }
  .invitation-card { padding: 27px 23px 23px; }
  .invitation-card > h3 { margin-bottom: 24px; font-size: 28px; line-height: 1.2; }
  .invitation-card > p { min-height: 0; margin-bottom: 28px; font-size: 18px; line-height: 1.5; }
  .invitation-action { min-height: 56px; font-size: 18px; }
  .invitation-email { margin-top: 28px; padding-top: 24px; font-size: 18px; line-height: 1.5; }
}
@media (max-width: 800px) {
  .invitation-steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .invitation-steps > li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px 16px; }
  .invitation-steps > li:not(:last-child)::after { top: 32px; left: 15px; width: 2px; height: calc(100% - 4px); }
  .invitation-step-number { grid-column: 1; grid-row: 1 / 3; align-self: start; margin-bottom: 0; }
  .invitation-steps h4 { grid-column: 2; grid-row: 1; min-height: 0; margin: 0; }
  .invitation-steps p { grid-column: 2; grid-row: 2; }
}
@media (max-width: 600px) {
  .oryx-explanation.info-ready[open] .oryx-info-content { position: static; width: 100%; margin-top: 16px; box-shadow: none; }
}
