/* The homepage shares its header and footer with the inner pages. */
.showcase {
  --home-ink: #1b2529;
  --home-paper: #fff;
  --home-orange: #ff8642;
  --home-rule: #d6d9d8;
  background: var(--home-paper);
  color: var(--home-ink);
}
.showcase [hidden] { display: none !important; }
.show-wrap { width: min(1240px, calc(100% - clamp(40px, 10vw, 168px))); margin-inline: auto; }
.cover { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #333c3e; }
.cover-media,.cover-media img,.cover-screen { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover-media { z-index: -3; }
.cover-media img { display: block; object-fit: cover; object-position: 50% 64%; }
.cover-screen {
  z-index: -2;
  background: linear-gradient(90deg,rgba(14,23,27,.88) 0%,rgba(17,26,32,.69) 33%,rgba(16,24,30,.17) 66%,rgba(11,17,18,.06) 92%),
              linear-gradient(0deg,rgba(9,15,16,.73) 0%,transparent 26%);
}
.cover-inner { display: flex; flex-direction: column; min-height: clamp(560px,71vh,760px); }
.cover-copy { width: min(46rem,65%); padding: clamp(66px,7.1vw,112px) 0 clamp(45px,5.2vw,76px); margin-block: auto; }
.company-line { display: flex; align-items: center; gap: .8rem; font-size: clamp(14px,1.15vw,18px); font-weight: 650; letter-spacing: .08em; color: #fff; }
.company-line::before { content: ""; width: 34px; height: 3px; background: var(--home-orange); }
.cover h1 { margin: 1.35rem 0 1.2rem; font-size: clamp(55px,5.5vw,91px); font-weight: 800; line-height: 1.13; letter-spacing: -.047em; color: #fff; }
.cover-intro { max-width: 33em; font-size: clamp(16px,1.2vw,19px); line-height: 1.8; color: #f4f5f3; text-wrap: pretty; }
.cover-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: clamp(26px,2.6vw,42px); }
.warm-button,.glass-button,.ink-button { display: inline-flex; align-items: center; justify-content: center; padding: .78rem 1.45rem; min-height: 48px; border: 1px solid transparent; text-decoration: none; font-weight: 700; line-height: 1.4; transition: background .18s,color .18s; }
.warm-button { color: #201e19; background: var(--home-orange); }
.warm-button:hover { background: #ffa56c; }
.glass-button { color: #fff; background: #111b2080; border-color: #ffffff9e; }
.glass-button:hover { background: #fff; color: var(--home-ink); }
.cover-base { display: flex; min-height: 75px; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #ffffff56; }
.skip-cover { display: inline-flex; gap: .75rem; align-items: center; color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; }
.skip-cover i { width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.photo-controls { display: flex; align-items: center; gap: 8px; }
.photo-caption { font-size: 14px; margin-right: .7rem; }
.photo-controls button { display: inline-grid; width: 39px; height: 39px; place-items: center; cursor: pointer; border: 1px solid #ffffff9c; border-radius: 50%; background: #13212868; color: #fff; }
.photo-controls button:hover { background: #fff; color: var(--home-ink); }
.photo-controls button::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg); margin-right: 2px; }
.photo-controls .step-back::after { transform: rotate(135deg); margin-left: 3px; }
.work-section,.project-section,.reference-section { padding-block: clamp(52px,6.5vw,101px); }
.showcase h2 { font-size: clamp(33px,3.4vw,56px); font-weight: 760; line-height: 1.2; letter-spacing: -.045em; }
.section-line,.start-line { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-line { margin-bottom: clamp(24px,3vw,45px); }
.section-line p,.reference-section .resource-layout>div:first-child>p,.start-line p { margin-top: 12px; font-size: 16px; line-height: 1.8; color: #47555a; }
.standalone-link { display: inline-block; flex-shrink: 0; font-weight: 650; font-size: 15px; color: inherit; text-decoration: none; border-bottom: 2px solid var(--home-orange); padding: 3px 0 5px; }
.standalone-link:hover { color: #a44116; }
.service-gallery { display: grid; grid-template-columns: minmax(0,1.33fr) minmax(0,1fr); gap: clamp(28px,5vw,82px); align-items: stretch; }
.service-imagery { min-height: 345px; position: relative; background: #d7d7ce; }
.service-imagery figure,.service-imagery img { position: absolute; inset: 0; width: 100%; height: 100%; }
.service-imagery img { display: block; object-fit: cover; object-position: center 59%; }
.service-imagery [data-photo="heat"] img { object-position: 50% 64%; }
.service-imagery figcaption { position: absolute; bottom: 0; inset-inline: 0; padding: 44px 22px 14px; color: white; background: linear-gradient(transparent,#111a1cba); font-size: 14px; }
.work-types { display: flex; flex-direction: column; justify-content: center; }
.work-types details { border-bottom: 1px solid var(--home-rule); }
.work-types details:first-child { border-top: 1px solid var(--home-rule); }
.work-types details[open] { border-top: 2px solid var(--home-orange); }
.work-types summary { position: relative; padding: 18px 40px 18px 0; font-size: clamp(20px,1.8vw,28px); line-height: 1.3; font-weight: 700; cursor: pointer; list-style: none; }
.work-types summary::-webkit-details-marker { display: none; }
.work-types summary::before,.work-types summary::after { content: ""; position: absolute; width: 14px; height: 1.5px; right: 8px; top: 50%; background: #596267; }
.work-types summary::after { transform: rotate(90deg); }
.work-types details[open] summary::after { transform: none; }
.work-types details[open] summary { padding-bottom: 8px; }
.work-types details>div { padding: 0 32px 19px 0; }
.work-types p { font-size: 16px; line-height: 1.75; color: #465257; margin: 0 0 10px; }
.work-types a { font-size: 15px; font-weight: 670; color: #9d411a; }
.project-section { background: #1c292e; color: #fff; }
.project-section .section-line p { color: #c8d1d2; }
.project-section .standalone-link:hover { color: #ffa974; }
.project-index { border-top: 1px solid #697579; }
.project-entry { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 36px; padding: clamp(23px,3.6vw,55px) 0; color: inherit; text-decoration: none; border-bottom: 1px solid #647176; }
.case-copy span { font-size: 14px; color: #ffc299; font-weight: 650; }
.case-copy h3 { margin: 7px 0; font-size: clamp(23px,2.3vw,37px); letter-spacing: -.045em; line-height: 1.35; }
.case-copy p { font-size: 15px; color: #c5cfd0; }
.case-figure { justify-self: end; display: flex; align-items: center; gap: 14px; width: min(100%,255px); }
.case-figure>strong { font-family: "Arial Narrow","Bahnschrift","Arial",sans-serif; font-size: clamp(50px,6.6vw,99px); font-weight: 500; line-height: .95; letter-spacing: -.06em; color: #fff; font-variant-numeric: tabular-nums; }
.case-figure>div { display: flex; flex-direction: column; align-items: start; gap: 3px; }
.case-figure b { font-size: 18px; font-weight: 650; color: #ffab71; }
.case-figure small { font-size: 13px; color: #c7d0d0; }
.project-entry:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; }
.reference-section { background: #f2f3ef; }
.resource-layout { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.6fr); gap: clamp(32px,5vw,80px); }
.resource-layout .standalone-link { margin-top: 22px; }
.resource-list { border-top: 2px solid var(--home-ink); }
.resource-list a { display: grid; grid-template-columns: 90px 1fr; gap: 18px; align-items: baseline; padding: 23px 0; text-decoration: none; border-bottom: 1px solid #c6caca; }
.resource-list small { color: #8d411f; font-size: 14px; }
.resource-list h3 { font-size: clamp(17px,1.55vw,24px); font-weight: 650; line-height: 1.5; }
.resource-list a:hover h3 { text-decoration: underline; }
.start-project { padding-block: clamp(35px,4vw,64px); background: #fff; }
.start-line { align-items: center; padding-left: clamp(15px,2vw,28px); border-left: 5px solid var(--home-orange); }
.start-line h2 { font-size: clamp(26px,2.8vw,44px); }
.ink-button { background: var(--home-ink); color: #fff; white-space: nowrap; }
.ink-button:hover { background: #38464b; }
@media (max-width:800px) {
  .service-gallery{grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px;}
  .cover-copy { width: min(100%,560px); }
  .case-figure { width: auto; }
}
@media (max-width:680px) {
  .show-wrap { width: calc(100% - 40px); }
  .cover-inner { min-height: clamp(510px,72svh,650px); }
  .cover-copy { padding: 60px 0 44px; width: 100%; }
  .cover-media img { object-position: 64% 64%; }
  .cover-screen { background: linear-gradient(90deg,rgba(14,23,27,.74),rgba(16,24,30,.29) 87%),linear-gradient(0deg,rgba(9,15,16,.7),transparent 45%); }
  .cover h1 { margin-top: 18px; font-size: clamp(42px,9.9vw,59px); line-height: 1.16; }
  .cover-intro { font-size:16px; line-height:1.75; max-width:26em; }
  .cover-base { min-height:62px; }
  .photo-controls { gap:6px; }
  .photo-caption { font-size:12px; margin-right:2px; }
  .photo-controls button { width:34px; height:34px; }
  .section-line { align-items:flex-start; flex-direction:column; gap:12px; }
  .service-gallery { grid-template-columns:1fr; gap:22px; }
  .service-imagery { min-height:0; aspect-ratio:4/3; }
  .work-types summary { padding-block:16px; }
  .resource-layout { grid-template-columns:1fr; gap:25px; }
  .resource-layout .standalone-link { margin-top:10px; }
  .resource-list a { grid-template-columns:1fr; gap:4px; padding:17px 0; }
  .project-entry { grid-template-columns:1fr; gap:15px; padding-block:25px; }
  .case-figure { justify-self:start; gap:10px; }
  .case-figure>strong { font-size:50px; }
  .case-figure>div { flex-direction:row; align-items:baseline; gap:8px; }
  .case-copy p { margin-top:8px; }
  .start-line { align-items:flex-start; flex-direction:column; gap:18px; }
}
@media (max-width:365px) {
  .show-wrap { width:calc(100% - 32px); }
  .cover-links { gap:8px; }
  .warm-button,.glass-button { padding-inline:1rem; }
  .skip-cover { font-size:12px; gap:7px; }
  .photo-caption { max-width:105px; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase *, .showcase *::before, .showcase *::after { transition:none; }
}
