/* Project-led service pages. Original artwork and drawing geometry remain intact. */
.serviceProjectDesign { --project-gold: #d8b978; --project-ivory: #f7f0e3; --project-muted: #c4bdb0; --project-line: rgba(216,185,120,.22); }
.serviceProjectDesign .homePage { background: radial-gradient(ellipse at 90% 18%, rgba(151,115,52,.08), transparent 35%), #080907 !important; }
.serviceProjectDesign main { overflow: clip; }
.serviceProjectDesign .detailHero { min-height: 0; padding: 150px 0 44px; border-bottom: 0; }
.serviceProjectDesign .detailHero::before { background: radial-gradient(ellipse at 85% 55%, rgba(216,185,120,.17), transparent 57%), linear-gradient(120deg, #080907, #15140e); opacity: 1; }
.serviceProjectDesign .detailHero::after { background: linear-gradient(0deg, #080907 0, transparent 42%); }
.serviceProjectDesign .detailBreadcrumb { margin-bottom: 30px; }
.serviceProjectDesign .detailHeroGrid { grid-template-columns: minmax(0, .94fr) minmax(0, 1.16fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.serviceProjectDesign .detailHero h1 { font-size: clamp(48px, 5.8vw, 84px); line-height: 1.08; letter-spacing: -.045em; margin-bottom: 24px; }
.serviceProjectDesign .detailHero h1 span:last-child { color: #e6c888; }
.serviceProjectDesign .detailHeroLead { font-size: 15px; line-height: 1.9; max-width: 550px; }
.serviceProjectDesign .detailActions { margin-top: 26px; gap: 14px 24px; }
.serviceProjectDesign .detailButton { background: #d8b978; border-color: #d8b978; color: #15130e; font-size: 9px; min-height: 47px; }
.serviceProjectDesign .detailButton:hover { background: #efdaa5; border-color: #efdaa5; }
.serviceProjectDesign .detailTextLink { font-size: 10px; letter-spacing: .13em; }
.detailHeroProject { position: relative; margin: 0; min-width: 0; padding-top: 9px; }
.detailHeroProject::before { content: ""; position: absolute; height: 1px; width: 86px; top: 0; left: 0; background: var(--project-gold); }
.detailHeroProject img { display: block; width: 100%; height: auto; object-fit: contain; background: #14140f; border: 1px solid rgba(216,185,120,.25); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.detailHeroProject figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 5px 16px; margin-top: 16px; color: #a8a393; font-size: 10px; line-height: 1.7; }
.detailHeroProject figcaption strong { font-weight: 500; color: #e7ddc8; font-size: 12px; }
.projectHeroStamp { display: flex; flex-wrap: wrap; gap: 2px 12px; color: #ead5a7; font-size: 10px; line-height: 1.7; letter-spacing: .11em; text-transform: uppercase; padding: 12px 0; }
.projectHeroStamp > span { color: #a69c87; }
.projectHeroStamp strong { font-weight: 500; }
.serviceProjectDesign .detailServiceNav { background: transparent; border-top: 1px solid var(--project-line); border-bottom: 1px solid var(--project-line); }
.serviceProjectDesign .detailServiceNav a { padding: 19px 16px; font-size: 11px; }
.projectStory { padding: 64px 0 42px; }
.projectSectionHeading { margin-bottom: 27px; }
.projectSectionHeading .detailEyebrow { display: flex; gap: 15px; align-items: center; font-size: 9px; margin-bottom: 19px; }
.projectSectionHeading .detailEyebrow::before { content: ""; width: 30px; height: 1px; flex-shrink: 0; background: #a9894d; }
.projectSectionHeading h2 { color: var(--project-ivory); font-family: 'Playfair Display', Georgia, serif; font-size: clamp(33px, 3.9vw, 54px); font-weight: 500; line-height: 1.2; letter-spacing: -.035em; margin: 0 0 17px; text-wrap: balance; }
.projectSectionHeading > p:not(.detailEyebrow) { max-width: 760px; color: var(--project-muted); font-size: 15px; line-height: 1.85; margin: 0; }
.projectStoryGrid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 7vw, 110px); align-items: start; }
.projectStoryCopy p { font-size: 14px; line-height: 1.95; color: #c6c1b5; margin: 0 0 15px; }
.projectStoryCopy .projectCredit, .projectCredit { color: #a8a393; font-size: 11px; line-height: 1.8; margin-top: 19px; }
.projectFacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 23px 0; margin: 0; border-top: 1px solid #9d8049; border-bottom: 1px solid var(--project-line); }
.projectFacts > div { display: flex; flex-direction: column-reverse; gap: 10px; min-width: 0; }
.projectFacts dt { color: #a8a393; font-size: 9px; line-height: 1.7; text-transform: uppercase; letter-spacing: .08em; }
.projectFacts dd { margin: 0; color: #ead2a0; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(24px, 2.3vw, 34px); line-height: 1.2; overflow-wrap: anywhere; }
.projectFacts dd span { display: block; color: #c1b79f; font: 400 10px/1.6 Inter, system-ui, sans-serif; margin-top: 6px; }
.projectRecordNote { color: #a69e8a; font-size: 10px; line-height: 1.8; margin: 19px 0 0; }
.projectDrawings { padding: 30px 0 36px; }
.projectDrawingViewer { min-width: 0; }
.projectDrawingTabs { display: flex; align-items: stretch; gap: 8px 28px; border-bottom: 1px solid var(--project-line); padding: 0; margin-bottom: 22px; }
.projectDrawingTabs button { display: inline-flex; align-items: center; gap: 9px; background: transparent; border: 0; border-bottom: 2px solid transparent; color: #aaa694; padding: 15px 0; margin: 0 0 -1px; cursor: pointer; font: 500 12px/1.6 Inter, system-ui, sans-serif; text-align: left; }
.projectDrawingTabs button[aria-selected="true"] { color: #f0dbaf; border-color: #d8b978; }
.projectDrawingTabs button:hover { color: #fff6e7; }
.projectDrawingPanel { margin: 0; min-width: 0; }
.projectDrawingPanel[hidden] { display: none !important; }
.projectDrawingPanel .projectZoom { position: relative; display: block; width: 100%; height: clamp(360px, 44vw, 610px); padding: clamp(14px, 2.2vw, 32px); border: 1px solid #aa956e; background: #eeeae1; cursor: zoom-in; color: #29281f; overflow: hidden; }
.projectDrawingPanel .projectZoom img { display: block; width: 100%; height: 100%; object-fit: contain; }
.projectZoomLabel { position: absolute; right: 12px; bottom: 12px; background: #171812; color: #e3cf9f; border: 1px solid #6f6245; padding: 9px 13px; font: 500 10px/1.4 Inter, system-ui, sans-serif; letter-spacing: .03em; pointer-events: none; }
.projectDrawingPanel figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 30px; align-items: baseline; color: #aaa493; font-size: 11px; line-height: 1.8; margin: 15px 0 0; }
.projectDrawingPanel figcaption strong { color: #dfd4bc; font-weight: 500; }
.projectDrawingPanel figcaption p { margin: 0; max-width: 750px; }
.projectInsightRow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; border-bottom: 1px solid var(--project-line); padding: 30px 0 38px; }
.projectInsight { position: relative; padding: 0 0 0 20px; border-left: 1px solid #7e693f; }
.projectInsight h3 { color: #eee3ce; font-size: 15px; font-weight: 500; line-height: 1.5; margin: 0 0 9px; }
.projectInsight p { color: #b9b4a6; font-size: 12px; line-height: 1.9; margin: 0; }
.projectInsightNumber { font: 500 25px/1.3 'Playfair Display', Georgia, serif; color: #b99b5f; display: block; margin-bottom: 13px; }
.projectPermitMilestone { margin: 28px 0 10px; padding: 27px 30px; border-left: 2px solid #c8a96c; background: linear-gradient(105deg, rgba(189,148,71,.1), rgba(189,148,71,.015)); }
.projectPermitMilestone .detailEyebrow { font-size: 9px; margin-bottom: 10px; }
.projectPermitMilestone strong { color: #ecd7aa; font-family: 'Playfair Display', Georgia, serif; font-size: 30px; line-height: 1.4; font-weight: 500; }
.projectPermitMilestone p:not(.detailEyebrow) { color: #c1baa9; font-size: 12px; line-height: 1.8; margin: 10px 0 0; }
.projectTimeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 33px 0 0; margin: 0; gap: 32px; }
.projectTimeline li { position: relative; border-top: 1px solid #615233; padding: 20px 0 0; color: #bdb6a6; font-size: 12px; line-height: 1.85; }
.projectTimeline li::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: #d8b978; box-shadow: 0 0 0 5px #15160f; }
.projectTimeline time, .projectTimeline strong { display: block; color: #e4cca0; font-size: 13px; font-weight: 500; margin-bottom: 7px; }
.projectTimeline li > span { display: block; color: #ccb687; font-size: 10px; letter-spacing: .04em; }
.projectTimeline h3 { color: #eee2c8; font-size: 14px; font-weight: 500; line-height: 1.6; margin: 7px 0 9px; }
.projectTimeline p { margin: 0; }
.projectSecondaryVisual { margin: 35px auto 0; padding: 24px; background: #10110d; border: 1px solid var(--project-line); }
.projectSecondaryVisual img { display: block; width: 100%; height: auto; max-height: 680px; object-fit: contain; }
.projectSecondaryVisual figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 16px; color: #aaa493; font-size: 11px; line-height: 1.8; margin: 15px 0 0; }
.projectDetailFeature { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(30px, 5vw, 72px); padding-top: 28px; padding-bottom: 28px; }
.projectDetailFeatureCopy h2 { color: var(--project-ivory); font: 500 clamp(30px, 3vw, 42px)/1.22 'Playfair Display', Georgia, serif; letter-spacing: -.035em; margin: 0 0 20px; }
.projectDetailFeatureCopy > p:not(.detailEyebrow):not(.projectCredit) { color: var(--project-muted); font-size: 14px; line-height: 1.9; }
.projectDetailFeatureMedia { margin: 0; min-width: 0; }
.projectDetailFeatureMedia .projectZoom { display: block; position: relative; width: 100%; padding: 12px; border: 1px solid #aa956e; background: #eeeae1; cursor: zoom-in; }
.projectDetailFeatureMedia img { display: block; width: 100%; height: auto; }
.projectDetailFeatureMedia figcaption { color: #aaa493; font-size: 10px; line-height: 1.8; margin-top: 12px; }
.serviceProjectDesign .detailSection { padding-top: 49px; padding-bottom: 49px; }
.serviceProjectDesign .detailIntro { gap: 58px; }
.serviceProjectDesign .detailSection h2 { font-size: clamp(31px, 3.1vw, 43px); }
.serviceProjectDesign .detailSectionHeader { gap: 0 54px; }
.serviceProjectDesign .detailScopeItem { padding: 20px 0; }
.serviceProjectDesign .detailProcess { gap: 27px; margin-top: 28px; }
.serviceProjectDesign .detailProcess li::before { margin-bottom: 15px; }
.serviceProjectDesign .detailClose { margin-top: 0; border-bottom: 0; padding-top: 51px; padding-bottom: 59px; }
.serviceProjectDesign :is(a, button, summary):focus-visible, .projectLightbox button:focus-visible { outline: 2px solid #eed39a; outline-offset: 5px; }
.projectLightbox { width: min(1440px, calc(100vw - 40px)); max-width: none; height: min(900px, calc(100dvh - 40px)); max-height: none; margin: auto; padding: 0; border: 1px solid #87734a; color: #efe3cb; background: #0d0f0a; box-shadow: 0 30px 100px #000b; overflow: hidden; }
.projectLightbox::backdrop { background: rgba(0,0,0,.86); backdrop-filter: blur(5px); }
.projectLightbox[open] { display: flex; flex-direction: column; }
.projectLightboxHeader { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; border-bottom: 1px solid #51462f; flex: 0 0 auto; }
.projectLightboxTitle { margin: 0; font: 500 13px/1.6 Inter, system-ui, sans-serif; color: #e6d5ad; }
.projectLightboxControls { display: flex; gap: 10px; flex-shrink: 0; }
.projectLightboxControls button { min-height: 42px; padding: 8px 13px; border: 1px solid #766640; background: transparent; color: #eee1c5; cursor: pointer; font: 500 12px/1.4 Inter, system-ui, sans-serif; }
.projectLightboxCanvas { flex: 1; min-height: 0; overflow: auto; background: #eae6dd; display: flex; align-items: center; justify-content: center; padding: 20px; }
.projectLightboxCanvas:focus-visible { outline: 3px solid #8b692d; outline-offset: -4px; }
.projectDrawingFallback { color: #c4bdb0; font-size: 13px; line-height: 1.8; }
.projectDrawingFallback a { color: #e8cc92; text-decoration: underline; text-underline-offset: 4px; }
.projectLightboxCanvas img { display: block; width: 100%; height: 100%; object-fit: contain; flex-shrink: 0; }
.projectLightboxCanvas.isMagnified { display: block; }
.projectLightboxCanvas.isMagnified img { height: auto; max-width: none; object-fit: initial; }
@media (min-width: 1600px) { .serviceProjectDesign .detailHeroGrid { grid-template-columns: .9fr 1.2fr; } }
@media (max-width: 1100px) {
  .serviceProjectDesign .detailHero h1 { font-size: clamp(47px, 6.1vw, 65px); }
  .serviceProjectDesign .detailHeroGrid { gap: 30px; }
  .serviceProjectDesign .detailActions { align-items: flex-start; flex-direction: column; gap: 5px; }
  .projectStoryGrid { grid-template-columns: 1.15fr 1fr; gap: 35px; }
  .projectFacts { gap: 12px; }
  .projectFacts dd { font-size: 27px; }
}
@media (max-width: 900px) {
  .serviceProjectDesign .detailHero { padding: 31px 0 34px; }
  .serviceProjectDesign .detailHeroGrid { grid-template-columns: 1fr; gap: 30px; }
  .serviceProjectDesign .detailHero h1 { font-size: clamp(49px, 8.2vw, 72px); }
  .serviceProjectDesign .detailHeroLead { max-width: 680px; }
  .serviceProjectDesign .detailActions { flex-direction: row; align-items: center; gap: 14px 25px; }
  .serviceProjectDesign .detailHeroProject { max-width: 760px; }
  .projectStory { padding-top: 43px; padding-bottom: 20px; }
  .projectStoryGrid { grid-template-columns: 1fr; gap: 23px; }
  .projectDetailFeature { grid-template-columns: 1fr; gap: 20px; }
  .projectFacts { max-width: 650px; }
  .projectFacts dd { font-size: 31px; }
  .projectDrawingPanel .projectZoom { height: 430px; }
  .projectInsightRow { gap: 25px; }
  .projectTimeline { gap: 25px; }
}
@media (max-width: 600px) {
  .serviceProjectDesign .detailHero { padding-top: 21px; }
  .serviceProjectDesign .detailBreadcrumb { margin-bottom: 26px; }
  .serviceProjectDesign .detailHero h1 { font-size: clamp(42px, 11.3vw, 65px); line-height: 1.1; margin-bottom: 20px; }
  .serviceProjectDesign .detailHeroLead { font-size: 14px; line-height: 1.85; }
  .serviceProjectDesign .detailHeroGrid { gap: 27px; }
  .detailHeroProject figcaption { margin-top: 11px; font-size: 9px; gap: 2px 10px; }
  .detailHeroProject figcaption strong { font-size: 11px; }
  .serviceProjectDesign .detailServiceNav a { padding: 16px 6px; font-size: 9px; }
  .projectSectionHeading h2 { font-size: 34px; line-height: 1.22; }
  .projectSectionHeading > p:not(.detailEyebrow) { font-size: 14px; }
  .projectStoryCopy p { font-size: 13px; line-height: 1.9; }
  .projectStoryCopy .projectCredit { font-size: 10px; }
  .projectFacts { gap: 13px; padding: 19px 0; }
  .projectFacts dd { font-size: 23px; }
  .projectFacts dt { font-size: 8px; letter-spacing: .04em; }
  .projectDrawings { padding-top: 24px; padding-bottom: 23px; }
  .projectDrawingTabs { gap: 15px; }
  .projectDrawingTabs button { flex: 1; font-size: 10px; line-height: 1.55; min-height: 53px; padding: 12px 0; }
  .projectDrawingPanel .projectZoom { height: 330px; padding: 10px; }
  .projectZoomLabel { padding: 7px 9px; font-size: 9px; bottom: 8px; right: 8px; }
  .projectDrawingPanel figcaption { font-size: 10px; line-height: 1.8; }
  .projectInsightRow { grid-template-columns: 1fr; padding: 26px 0 32px; gap: 24px; }
  .projectInsightNumber { display: inline; margin-right: 12px; font-size: 22px; }
  .projectInsight h3 { font-size: 16px; }
  .projectPermitMilestone { padding: 22px 20px; margin-top: 22px; }
  .projectPermitMilestone strong { font-size: 27px; }
  .projectTimeline { grid-template-columns: 1fr; gap: 0; padding-top: 26px; }
  .projectTimeline li { border-top: 0; border-left: 1px solid #615233; padding: 0 0 23px 22px; }
  .projectTimeline li::before { left: -4px; top: 5px; }
  .projectTimeline li:last-child { padding-bottom: 0; }
  .projectSecondaryVisual { padding: 12px; margin-top: 27px; }
  .serviceProjectDesign .detailSection { padding-top: 37px; padding-bottom: 37px; }
  .serviceProjectDesign .detailIntro { gap: 10px; }
  .serviceProjectDesign .detailSection h2 { font-size: 31px; margin-bottom: 18px; }
  .serviceProjectDesign .detailProcess { gap: 24px 20px; }
  .serviceProjectDesign .detailClose { padding-bottom: 45px; }
  .projectLightbox { width: calc(100vw - 14px); height: calc(100dvh - 14px); }
  .projectLightboxHeader { padding: 12px; align-items: flex-start; gap: 10px; }
  .projectLightboxTitle { font-size: 11px; max-width: 45%; }
  .projectLightboxControls { gap: 6px; }
  .projectLightboxControls button { font-size: 10px; padding: 8px 10px; }
  .projectLightboxCanvas { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) { .serviceProjectDesign *, .projectLightbox * { scroll-behavior: auto !important; } }
