/* Interior pages share a visual hierarchy, with artwork appropriate to each story. */
.visual-hero { padding-block: 34px 58px; }
.visual-hero .breadcrumb { margin-bottom: 20px; }
.visual-hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 64px; }
.visual-hero h1 { font-size: clamp(48px, 5.15vw, 74px); margin-top: 0; }
.visual-hero .lede { max-width: 440px; font-size: 15px; }
.visual-hero-copy { padding-block: 30px; min-width: 0; }
.hero-art { position: relative; min-width: 0; }

/* A pair of actual portfolio sites gives the services hero a tangible result. */
.service-showcase { min-height: 440px; display: grid; grid-template-rows: 1fr 1fr auto; gap: 14px; }
.showcase-orbit { display: none; }
.showcase-orbit::after { content: ''; position: absolute; width: 10px; height: 10px; background: var(--gold); border-radius: 50%; left: 17%; top: 10%; }
.browser-shot { position: relative; width: 100%; overflow: hidden; border: 1px solid #ffffff4a; background: #23343f; }
.browser-shot img { height: auto; aspect-ratio: 1366 / 854; object-fit: cover; }
.browser-chrome { height: 29px; display: flex; gap: 5px; align-items: center; padding-inline: 12px; background: #23343f; }
.browser-chrome i { width: 4px; height: 4px; border-radius: 50%; background: #a1b0b8; }
.browser-chrome i:nth-child(3) { background: var(--gold); }
.browser-chrome>span { color: #c0cbd2; font-size: 8px; letter-spacing: .025em; margin-left: 15px; }
.shot-back, .shot-front { inset: auto; transform: none; }
.service-showcase figcaption { position: static; display: flex; align-items: center; gap: 9px; font-size: 10px; color: #b0c0cb; }
.showcase-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.showcase-spark { display: none; }

/* Larger editorial photographs balance the other interior headers. */
.editorial-portrait { height: 380px; margin: 10px 10px 5px; }
.editorial-portrait>img { border-radius: 6px; object-position: 48% 38%; }
.editorial-portrait figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 17px 20px; display: flex; justify-content: space-between; font-size: 11px; color: var(--paper); background: var(--ink); border: 1px solid #ffffff30; }
.editorial-portrait figcaption span:last-child { color: var(--gold); }
.photo-corner { position: absolute; top: -12px; right: -12px; width: 80px; height: 80px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); }
.creator-portrait { transform: none; }
.mentor-portrait { height: 410px; }
.mentor-portrait>img { border-radius: 0; object-position: 50% 23%; }
.content-hero h1, .mentorship-hero h1 { font-size: clamp(46px, 4.6vw, 65px); }

.contact-hero-shell { position: relative; isolation: isolate; overflow: hidden; }
.contact-hero { position: static; text-align: left; padding-block: 54px 76px; }
.contact-backdrop { position: absolute; inset: 0; z-index: -2; object-position: center 39%; }
.contact-hero-shell::after { display: none; }
.contact-hero .breadcrumb { justify-content: flex-start; margin-bottom: 54px; }
.contact-hero h1 { max-width: 980px; margin: 18px 0 26px; }
.contact-hero .lede { margin: 0; max-width: 720px; }
.contact-hero-grid { display: grid; grid-template-columns: 1.25fr .55fr; gap: 70px; align-items: center; }
.contact-hero-grid figure { height: 390px; position: relative; overflow: hidden; border-left: 1px solid #ffffff2b; }
.contact-hero-grid figure img { object-position: 50% 18%; }
.contact-hero-grid .contact-illustration img { object-position: center; }
.contact-hero-grid figcaption { position: absolute; inset: auto 0 0; padding: 13px 16px; background: #17252ded; border-top: 1px solid #ffffff30; color: var(--gold); font-size: 10px; }
.about-portrait { height: 500px; margin: 0; }
.about-portrait>img { object-position: 50% 18%; }
.about-media-photo { width: 100%; max-width: 560px; }
.about-media-photo img { aspect-ratio: 4/3; object-fit: cover; object-position: 50% 45%; }
.about-media-photo img[src$="expo.jpg"] { object-position: 50% 60%; }

/* Each capability has its own illustration, instead of a text-only index. */
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service-tile { min-width: 0; display: grid; grid-template-columns: 46% 54%; min-height: 222px; border: 1px solid #d9ded6; background: #f1f2ec; }
.service-illustration { display: flex; align-items: center; background: #e4e9df; padding: 12px; overflow: hidden; }
.service-illustration.cloud { background: #dfe9ed; }
.service-illustration.data { background: #eee6d1; }
.service-illustration.media { background: #e5e2eb; }
.service-illustration img { object-fit: contain; height: auto; transition: transform 240ms var(--ease); }
.service-tile-copy { padding: 27px 25px; display: flex; flex-direction: column; align-items: start; }
.service-tile h3 { font-size: 23px; letter-spacing: -.035em; line-height: 1.3; margin-bottom: 12px; }
.service-tile p { font-size: 12px; line-height: 1.8; color: #59635c; }
.service-tile .arrow-disc { margin-top: 20px; }

@media (hover: hover) and (pointer: fine) {
  .service-tile:hover .service-illustration img { transform: translateY(-4px) scale(1.035); }
  .service-tile:hover .arrow-disc { transform: translate(2px,-2px); }
}

@media (max-width: 1100px) {
  .visual-hero-grid { gap: 35px; grid-template-columns: 1fr 1fr; }
  .service-showcase { height: 350px; }
  .shot-front { top: 95px; }
  .editorial-portrait { height: 350px; }
  .mentor-portrait { height: 385px; }
  .service-tile { grid-template-columns: 42% 58%; }
  .service-tile-copy { padding: 23px 20px; }
  .service-tile h3 { font-size: 21px; }
  .service-illustration { padding: 5px; }
}

@media (max-width: 800px) {
  .visual-hero-grid { gap: 28px; }
  .visual-hero h1 { font-size: 48px; }
  .visual-hero .lede { font-size: 14px; }
  .service-showcase { height: 310px; }
  .browser-shot { width: 90%; }
  .shot-front { top: 80px; }
  .showcase-spark { font-size: 44px; bottom: 20px; }
  .service-showcase figcaption { bottom: -2px; font-size: 9px; }
  .editorial-portrait { height: 320px; margin-inline: 0; }
  .about-portrait { height: 430px; }
  .contact-hero-grid { gap: 35px; grid-template-columns: 1fr .55fr; }
  .contact-hero-grid figure { height: 340px; }
  .mentor-portrait { height: 355px; }
  .service-grid { gap: 20px; }
  .service-tile { grid-template-columns: 1fr; }
  .service-illustration { height: 170px; padding: 5px 24px; }
  .service-illustration img { height: 100%; }
  .service-tile-copy { padding: 24px; }
  .service-tile h3 { font-size: 24px; }
  .service-tile .arrow-disc { margin-top: 18px; }
}

@media (max-width: 600px) {
  .visual-hero { padding-block: 27px 40px; }
  .visual-hero .breadcrumb { margin-bottom: 18px; }
  .visual-hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .visual-hero-copy { padding-block: 10px; }
  .visual-hero h1 { font-size: 49px; margin-bottom: 19px; }
  .visual-hero .lede { font-size: 14px; }
  .visual-hero .button { margin-top: 23px; }
  .service-showcase { height: clamp(285px, calc(60vw + 70px), 430px); margin: 16px 10px 0; }
  .browser-shot { width: 90%; }
  .browser-chrome { height: 23px; padding-inline: 9px; gap: 4px; }
  .browser-chrome>span { font-size: 6px; margin-left: 8px; }
  .shot-front { top: 85px; }
  .showcase-spark { bottom: 10px; right: -8px; }
  .service-showcase figcaption { left: 4px; font-size: 9px; }
  .editorial-portrait { height: 300px; margin: 15px 10px 0; }
  .mentor-portrait { height: 340px; }
  .contact-hero { padding-block: 28px 48px; }
  .contact-hero .breadcrumb { margin-bottom: 30px; }
  .contact-hero h1 { font-size: 47px; }
  .contact-hero .lede { font-size: 14px; }
  .contact-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-hero-grid figure { height: 400px; border-left: 0; }
  .about-portrait { height: 440px; margin-top: 15px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-tile { grid-template-columns: 1fr; }
  .service-illustration { height: 200px; padding: 6px 20px; }
  .service-tile-copy { padding: 22px 24px; }
  .service-tile h3 { font-size: 26px; }
  .service-tile p { font-size: 13px; }
  .service-tile .arrow-disc { margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-tile:hover .service-illustration img { transform: none; }
}

/* Keep the portfolio proof square to the grid at every viewport. */
.service-showcase { height: auto; min-height: 440px; }
.service-showcase .browser-shot { width: 100%; inset: auto; transform: none; }
@media (max-width: 1100px) { .service-showcase { height: auto; min-height: 360px; } }
@media (max-width: 800px) { .service-showcase { height: auto; min-height: 320px; } }
@media (max-width: 600px) { .service-showcase { height: auto; min-height: 0; margin: 16px 0 0; } .contact-hero { padding-block: 38px 56px; } .contact-hero .breadcrumb { justify-content: flex-start; margin-bottom: 38px; } }
