/* Studio Algorithm v1.5.0 — Craftco parity layer.
   Header is intentionally NOT targeted by this stylesheet. */
:root{--craft-bg:#e8e8e8;--craft-card:#f6f6f6;--craft-ink:#333;--craft-black:#1e1e1e}
body{background:var(--craft-bg);color:var(--craft-ink)}
html[lang="en"] main,html[lang="en"] footer{font-family:Satoshi,"Manrope",Arial,sans-serif;font-weight:400}
html[lang="bg"] main,html[lang="bg"] footer{font-family:"Manrope",Arial,Helvetica,sans-serif;font-weight:400}

/* Exact original content geometry: 80rem max container. */
.craftco-container{width:calc(100% - 5rem);max-width:80rem;margin-left:auto;margin-right:auto}
.craftco-card{border:1px solid var(--craft-ink);background:var(--craft-card);border-radius:1rem;overflow:hidden}

/* HERO / HEADER COMPONENT (excluding the actual site header). */
.craftco-home-top{display:grid;grid-template-columns:1fr .75fr;grid-template-rows:1.55fr 1fr;gap:1rem;height:110vh;min-height:44rem;max-height:54rem}
.craftco-hero-copy{grid-area:1/1/2/2;padding:2.5rem 2rem;display:grid;grid-template-rows:auto 1fr auto;align-items:start}
.craftco-hero-copy h1{margin:0;align-self:start;font-size:4rem;font-weight:400;line-height:1.2;letter-spacing:0;max-width:42rem}
.craftco-hero-star{font-size:2rem;line-height:1;margin-bottom:1rem}
.craftco-established{font-size:.75rem;line-height:1;text-transform:uppercase;align-self:end}
.craftco-video-card{grid-area:1/2/3/3;padding:0;position:relative}
.craftco-video-block{height:100%;min-height:100%;position:relative;overflow:hidden}
.craftco-video-block video{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}
.craftco-home-bottom{grid-area:2/1/3/2;display:grid;grid-template-columns:1.25fr .94fr;gap:1rem;min-width:0}
.craftco-trusted,.craftco-services-link{position:relative;padding:1.5rem 1.25rem;min-width:0}
.craftco-trusted h2{font-size:1.5rem;font-weight:400;line-height:1.4;margin:0;max-width:12rem}
.craftco-logo-loop{display:flex;gap:1rem;align-items:center;position:absolute;left:0;right:0;bottom:2rem;overflow:hidden}
.craftco-logo-track{display:flex;align-items:center;width:max-content;animation:craftcoLogoLoop 18s linear infinite}
.craftco-logo-set{display:flex;align-items:center;gap:1rem;padding-right:1rem;flex:none}
.craftco-logo-item{flex:none;display:flex;align-items:center;justify-content:center;min-width:7.5rem;height:2rem}
.craftco-logo-item img{display:block;width:auto;height:auto;max-width:7.7rem;max-height:1.4rem;object-fit:contain;filter:grayscale(1) contrast(1.35)}
.craftco-logo-item b{font-size:1rem;line-height:1;font-weight:700;white-space:nowrap}
.craftco-logo-loop:hover .craftco-logo-track{animation-play-state:paused}
@keyframes craftcoLogoLoop{to{transform:translateX(-50%)}}
.craftco-services-link{display:grid;grid-template-columns:1fr auto;grid-template-rows:1fr auto;transition:all .4s}
.craftco-services-link:hover{box-shadow:-4px 4px 0 0 var(--craft-ink);transform:translate(3px,-3px)}
.craftco-services-link .craftco-services-copy{grid-column:1/3;font-size:1.25rem;line-height:1.4;max-width:14rem}
.craftco-services-link .craftco-all-services{align-self:end;font-size:.75rem;line-height:1;text-transform:uppercase}
.craftco-arrow-circle{align-self:end;border:1px solid var(--craft-ink);border-radius:100%;display:flex;justify-content:center;align-items:center;width:2rem;height:2rem;font-size:1rem;line-height:1}

/* ABOUT — original 6rem internal grid gap and 3.5rem lead statement. */
.craftco-about{margin-top:1rem;padding:2.5rem 2rem;min-height:38rem;display:grid;grid-template-columns:auto 1fr;grid-template-rows:1fr auto;column-gap:6rem;row-gap:6rem}
.craftco-about-side{display:flex;flex-direction:column;align-items:flex-start;gap:1.5rem}
.craftco-eyebrow{font-size:.875rem;line-height:1.4;margin:0}
.craftco-pill{border:1px solid var(--craft-black);background:var(--craft-black);color:#fff;text-align:center;border-radius:50px;display:inline-flex;align-items:center;justify-content:center;gap:.4rem;padding:.5rem 1.25rem;font-size:.75rem;line-height:1.2}
.craftco-pill-core{background:var(--craft-card);color:var(--craft-black);border-radius:100%;width:1.35rem;height:1.35rem;display:grid;place-items:center;margin-right:-.8rem}
.craftco-about-statement{font-size:3.5rem;line-height:1.2;font-weight:400;margin:0;max-width:48rem}
.craftco-in-number{align-self:end;font-size:.875rem;line-height:1.4}
.craftco-numbers{align-self:end;display:grid;grid-template-columns:repeat(3,1fr);gap:4rem}
.craftco-number{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:2rem}
.craftco-number span{font-size:.75rem;line-height:1.2}
.craftco-number strong{font-size:4rem;line-height:1;font-weight:500}

/* PROJECTS */
.craftco-projects{margin-top:1rem;padding:2.5rem 2rem}
.craftco-projects-heading{font-size:.875rem;line-height:1.4;margin-bottom:2.5rem}
.craftco-project-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem}
.craftco-project{border:1px solid var(--craft-ink);border-radius:12px;position:relative;display:block;overflow:hidden;aspect-ratio:1.5/1;transition:all .4s;background:#ddd}
.craftco-project:hover{box-shadow:-4px 4px 0 0 var(--craft-ink);transform:translate(3px,-3px)}
.craftco-project img,.craftco-project-placeholder{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.craftco-project-placeholder{display:grid;place-items:center;background:linear-gradient(135deg,#e7e7e4,#cacac6)}
.craftco-project-placeholder span{font-size:8rem;opacity:.16;font-weight:400}
.craftco-project-content{padding:1rem;position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:space-between}
.craftco-project-meta{display:flex;flex-direction:column;align-items:flex-start}
.craftco-project-meta strong{font-size:20px;line-height:1.2;font-weight:400}
.craftco-project-meta small{color:#333333bf;text-transform:uppercase;font-size:12px;line-height:1.1}
.craftco-project-content .craftco-arrow-circle{flex:0 0 2rem}

/* CTA */
.craftco-cta{margin-top:1rem;padding:2.5rem 2rem;min-height:20rem;display:grid;grid-template-rows:auto 1fr;align-items:center}
.craftco-cta-button{justify-self:center;background:var(--craft-black);border-radius:100%;width:8rem;height:8rem;padding:4px;display:flex;position:relative;justify-content:center;align-items:center}
.craftco-cta-dash{border:1px dashed #33333380;border-radius:100%;position:absolute;inset:-8%}
.craftco-circle-text{width:100%;height:100%;animation:craftcoSpin 14s linear infinite}
.craftco-circle-text text{fill:#fff;font-size:8px;letter-spacing:1.8px;text-transform:uppercase}
.craftco-cta-arrow{color:#fff;font-size:1rem;line-height:1;position:absolute}
.craftco-cta-button:hover .craftco-circle-text{animation-play-state:paused}
@keyframes craftcoSpin{to{transform:rotate(360deg)}}
.craftco-cta-flex{display:flex;justify-content:space-between;align-items:flex-end;margin-top:2rem}
.craftco-asterisk{font-size:3rem;line-height:1}
.craftco-cta h2{font-size:3.5rem;line-height:1.2;font-weight:400;margin:0;text-align:center}

/* FOOTER */
.craftco-footer{padding-top:1rem;padding-bottom:2rem}
.craftco-footer-card{min-height:37rem;padding:2.5rem 2rem 2rem;display:flex;flex-direction:column;justify-content:space-between}
.craftco-footer-grid{display:grid;grid-template-columns:.25fr 1fr .25fr;margin-top:2rem}
.craftco-footer-center{grid-column:2;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:1.5rem}
.craftco-footer-center h2{font-size:1.5rem;line-height:1.4;font-weight:500;margin:0}
.craftco-footer-center p{font-size:.875rem;line-height:1.45;max-width:32rem;margin:0}
.craftco-socials{display:flex;gap:1rem;align-items:center;justify-content:center}
.craftco-socials a{border:1px solid var(--craft-ink);border-radius:100%;display:flex;justify-content:center;align-items:center;width:2rem;height:2rem;font-size:.75rem;line-height:1}
.craftco-footer-menu{display:flex;justify-content:center;align-items:center;margin-top:4rem;margin-bottom:1rem;gap:1rem}
.craftco-footer-menu a{letter-spacing:1px;text-transform:uppercase;font-size:12px;line-height:1;position:relative}
.craftco-footer-menu a:after{content:"";height:1px;background:var(--craft-ink);position:absolute;left:0;right:0;bottom:-5px;transform:scaleX(0);transition:transform .25s}
.craftco-footer-menu a:hover:after{transform:scaleX(1)}
.craftco-footer-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:6rem;font-size:.75rem;line-height:1.2;text-transform:uppercase}
.craftco-footer-bottom span:last-child{text-align:right}

/* Tablet: mirrors original 991px breakpoint. */
@media screen and (max-width:991px){
 .craftco-container{width:calc(100% - 2.5rem)}
 .craftco-home-top{height:auto;max-height:none;min-height:0;grid-template-columns:1fr;grid-template-rows:auto auto auto;gap:1rem}
 .craftco-hero-copy{grid-area:1/1/2/2;min-height:32rem}
 .craftco-video-card{grid-area:2/1/3/2;height:80vh}
 .craftco-home-bottom{grid-area:3/1/4/2}
 .craftco-about{grid-template-columns:1fr;row-gap:4rem;min-height:auto}
 .craftco-about-statement,.craftco-about-side,.craftco-in-number,.craftco-numbers{grid-column:1}
 .craftco-numbers{gap:3rem}
 .craftco-project-grid{grid-template-columns:1fr}
}
@media screen and (max-width:767px){
 .craftco-container{width:calc(100% - 2.5rem)}
 .craftco-hero-copy h1{font-size:3.5rem}
 .craftco-video-card{height:60vh}
 .craftco-about-statement{font-size:3rem}
 .craftco-numbers{grid-template-columns:1fr;gap:3rem}
 .craftco-number{gap:1rem}
 .craftco-cta h2{font-size:3rem}
}
@media screen and (max-width:479px){
 .craftco-container{width:calc(100% - 2.5rem)}
 .craftco-home-bottom{grid-template-columns:1fr}
 .craftco-hero-copy{padding:2.5rem 1.25rem;min-height:30rem}
 .craftco-hero-copy h1{font-size:3rem}
 .craftco-trusted,.craftco-services-link{min-height:13rem;padding:1.5rem 1.25rem}
 .craftco-about,.craftco-projects,.craftco-cta,.craftco-footer-card{padding-left:1.25rem;padding-right:1.25rem}
 .craftco-about-statement{font-size:2.4rem}
 .craftco-number strong{font-size:3.5rem}
 .craftco-project{height:30vh;aspect-ratio:auto}
 .craftco-cta-button{width:7rem;height:7rem}
 .craftco-cta-flex{align-items:center}
 .craftco-asterisk{font-size:2rem}
 .craftco-cta h2{font-size:2.75rem}
 .craftco-footer-grid{grid-template-columns:1fr}
 .craftco-footer-center{grid-column:1}
 .craftco-footer-menu{flex-direction:column}
 .craftco-footer-bottom{gap:1rem;align-items:flex-end}
 .craftco-footer-bottom span{max-width:48%}
}
@media(prefers-reduced-motion:reduce){.craftco-logo-track,.craftco-circle-text{animation:none}}

/* v1.5.1 — project image fit + explicit home CTA placement */
.craftco-home-cta-wrap{margin-top:1rem}

/* Uploaded portfolio visuals are website/device mockups, not photographic crops.
   Keep the whole composition visible inside the Craftco card geometry. */
.craftco-project img,
.project-tile>img{
  object-fit:contain;
  object-position:center center;
  background:var(--craft-bg,#f6f6f6);
}
.project-image{max-height:none;overflow:hidden}
.project-image img{display:block;width:100%;height:auto;object-fit:contain;object-position:center center;background:#f6f6f6}

/* The old 30vh mobile rule made card height depend on the phone viewport.
   Use the same fixed proportion on every device so screenshots are not stretched/cropped. */
@media screen and (max-width:479px){
  .craftco-project,
  .project-tile{
    height:auto!important;
    aspect-ratio:1.5 / 1!important;
  }
  .craftco-project img,
  .project-tile>img{object-fit:contain}
}

/* =========================================================
   v1.5.3 — Contact page parity with Craftco reference
   Header remains untouched.
   ========================================================= */
.craftco-container-small{
  width:calc(100% - 5rem);
  max-width:48rem;
  margin-left:auto;
  margin-right:auto;
}
.craftco-contact-wrap{
  padding-top:.5rem;
  padding-bottom:.5rem;
}
.craftco-contact-intro{
  min-height:16rem;
  padding:2.5rem 2rem;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
.craftco-contact-title-row{
  display:flex;
  align-items:center;
  gap:1.25rem;
}
.craftco-contact-mark{
  flex:0 0 auto;
  font-size:2.15rem;
  line-height:1;
  transform:translateY(.08em);
}
.craftco-contact-title-row h1{
  margin:0;
  font-size:4rem;
  line-height:1.1;
  font-weight:400;
  letter-spacing:0;
}
.craftco-contact-lead{
  max-width:42rem;
  margin:1rem 0 0;
  font-size:1rem;
  line-height:1.5;
}
.craftco-contact-socials{
  display:flex;
  align-items:center;
  gap:1rem;
  margin-top:2.1rem;
}
.craftco-contact-socials a,
.craftco-contact-socials span{
  border:1px solid var(--craft-ink);
  border-radius:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  width:2rem;
  height:2rem;
  flex:0 0 2rem;
  font-size:.75rem;
  line-height:1;
  color:var(--craft-ink);
}
.craftco-contact-socials a{transition:opacity .3s}
.craftco-contact-socials a:hover{opacity:.6}
.craftco-contact-form{
  margin-top:1rem;
  min-height:43rem;
  padding:4.5rem 2rem 2.5rem;
  display:flex;
  flex-direction:column;
  align-items:stretch;
}
.craftco-contact-form .notice{
  margin-bottom:1.5rem;
}
.craftco-form-field{
  display:flex;
  flex-direction:column;
  gap:.8rem;
  margin:0 0 2.25rem;
  font-size:.75rem;
  line-height:1.4;
  font-weight:400;
  text-transform:none;
  letter-spacing:0;
}
.craftco-form-field>span{
  display:block;
}
.craftco-form-field input,
.craftco-form-field textarea{
  width:100%;
  min-height:3rem;
  margin:0;
  padding:.5rem 0;
  border:0;
  border-bottom:1px solid #33333340;
  border-radius:0;
  outline:0;
  background:transparent;
  color:var(--craft-ink);
  font:inherit;
  transition:border-color .35s ease;
  box-shadow:none;
  resize:vertical;
}
.craftco-form-field textarea{
  min-height:8rem;
  padding-top:.75rem;
}
.craftco-form-field input:hover,
.craftco-form-field input:focus,
.craftco-form-field textarea:hover,
.craftco-form-field textarea:focus{
  border-bottom-color:var(--craft-ink);
}
.craftco-form-message{
  margin-bottom:2.35rem;
}
.craftco-contact-submit{
  align-self:flex-start;
  border:1px solid var(--craft-black);
  background:var(--craft-black);
  color:#fff;
  border-radius:50px;
  padding:.75rem 2rem;
  font-size:.875rem;
  line-height:1.2;
  font-weight:400;
  transition:all .4s;
}
.craftco-contact-submit:hover{
  background:transparent;
  color:var(--craft-black);
}

/* On Contact there is no intermediate CTA: form flows directly into the footer,
   matching the reference page. */
body:has(.craftco-contact-wrap) .craftco-footer{
  padding-top:.5rem;
}

@media screen and (max-width:991px){
  .craftco-container-small{width:calc(100% - 2.5rem)}
}
@media screen and (max-width:767px){
  .craftco-contact-title-row h1{font-size:3.5rem}
  .craftco-contact-form{min-height:38rem;padding-top:3.5rem}
}
@media screen and (max-width:479px){
  .craftco-container-small{width:calc(100% - 2.5rem)}
  .craftco-contact-wrap{padding-top:.25rem}
  .craftco-contact-intro{min-height:0;padding:2rem 1.25rem}
  .craftco-contact-title-row{gap:.9rem}
  .craftco-contact-mark{font-size:1.8rem}
  .craftco-contact-title-row h1{font-size:3rem;line-height:1.05}
  .craftco-contact-lead{font-size:.9375rem;line-height:1.5;margin-top:1rem}
  .craftco-contact-socials{gap:.75rem;margin-top:1.75rem}
  .craftco-contact-form{min-height:0;padding:2.75rem 1.25rem 2.25rem}
  .craftco-form-field{margin-bottom:1.8rem}
  .craftco-form-field textarea{min-height:7rem}
  .craftco-contact-submit{padding:.7rem 1.5rem}
}
.craftco-socials .craftco-social-placeholder{
  border:1px solid var(--craft-ink);
  border-radius:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  width:2rem;
  height:2rem;
  font-size:.75rem;
  line-height:1;
}

/* =========================================================
   v1.5.4 — HOME / TRUSTED COMPANIES PARITY
   Mirrors Craftco's small content block + logo row geometry.
   ========================================================= */
.craftco-trusted{
  position:relative;
  overflow:hidden;
  padding:1.5rem 1.25rem;
}
.craftco-trusted h2{
  margin:0;
  max-width:12rem;
  font-size:1.5rem;
  font-weight:400;
  line-height:1.4;
  letter-spacing:0;
}
.craftco-logo-loop{
  position:absolute;
  left:0;
  right:0;
  bottom:2rem;
  height:2rem;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.craftco-logo-track{
  display:flex;
  align-items:center;
  width:max-content;
  min-width:max-content;
  will-change:transform;
  animation:craftcoLogoLoop 14s linear infinite;
}
.craftco-logo-set{
  flex:none;
  display:flex;
  align-items:center;
  gap:1rem;
  padding-right:1rem;
}
.craftco-logo-item{
  flex:0 0 7.5rem;
  width:7.5rem;
  min-width:7.5rem;
  height:2rem;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
}
.craftco-logo-item img{
  display:block;
  width:auto;
  height:1.25rem;
  max-width:7.7rem;
  max-height:1.25rem;
  object-fit:contain;
  object-position:center;
  filter:grayscale(1) contrast(1.75) brightness(.72);
  mix-blend-mode:multiply;
}
.craftco-logo-item b{
  display:block;
  margin:0;
  font-size:1rem;
  line-height:1;
  font-weight:700;
  white-space:nowrap;
}

@media screen and (max-width:767px){
  .craftco-trusted{
    min-height:13rem;
    padding:1.5rem 1.25rem;
  }
  .craftco-trusted h2{
    max-width:12rem;
    font-size:1.5rem;
    line-height:1.4;
  }
  .craftco-logo-loop{
    bottom:2rem;
    height:2rem;
  }
  .craftco-logo-track{
    animation-duration:13s;
  }
  .craftco-logo-item{
    flex-basis:6.75rem;
    width:6.75rem;
    min-width:6.75rem;
  }
  .craftco-logo-item img{
    height:1.2rem;
    max-height:1.2rem;
    max-width:6.9rem;
  }
}

@media screen and (max-width:479px){
  .craftco-trusted{
    min-height:13rem;
  }
  .craftco-logo-set{
    gap:.875rem;
    padding-right:.875rem;
  }
}

/* =========================================================
   v1.5.5 — Project detail page parity with Craftco reference
   Header remains untouched. Project CTA is intentionally removed.
   ========================================================= */
.craftco-project-detail-page{
  display:flex;
  flex-direction:column;
  gap:1rem;
}
.craftco-project-detail-top,
.craftco-project-detail-body,
.craftco-project-detail-related{
  padding:2.5rem 2rem;
}
.craftco-project-detail-heading{
  margin-bottom:2.5rem;
}
.craftco-project-detail-title-row{
  display:flex;
  align-items:center;
  gap:.75rem;
}
.craftco-project-detail-mark{
  flex:0 0 auto;
  font-size:2rem;
  line-height:1;
}
.craftco-project-detail-title-row h1{
  margin:0;
  font-size:4rem;
  line-height:1.1;
  font-weight:400;
  letter-spacing:0;
}
.craftco-project-detail-summary{
  margin:1.35rem 0 0;
  max-width:48rem;
  font-size:1.125rem;
  line-height:1.4;
  font-weight:300;
}
.craftco-project-detail-meta{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1rem;
  margin:0 0 2.5rem;
}
.craftco-project-detail-meta>div{
  min-width:0;
}
.craftco-project-detail-meta dt{
  margin:0 0 .5rem;
  text-transform:uppercase;
  font-size:.75rem;
  line-height:1.2;
  color:#333333a6;
}
.craftco-project-detail-meta dd{
  margin:0;
  font-size:1rem;
  line-height:1.35;
}
.craftco-project-detail-meta a{
  display:inline-flex;
  gap:.35rem;
  align-items:center;
}
.craftco-project-detail-image{
  margin:0;
  width:100%;
  overflow:hidden;
  background:#ececea;
}
.craftco-project-detail-image img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  object-position:center;
  background:#ececea;
}
.craftco-project-detail-body h2,
.craftco-project-detail-related h2{
  margin:0 0 2.5rem;
  font-size:3.5rem;
  line-height:1.2;
  font-weight:400;
  letter-spacing:0;
}
.craftco-project-detail-richtext{
  font-size:1.125rem;
  line-height:1.4;
  font-weight:300;
}
.craftco-project-detail-richtext p,
.craftco-project-detail-richtext ul,
.craftco-project-detail-richtext ol,
.craftco-project-detail-richtext blockquote{
  max-width:none;
  margin-top:0;
  margin-bottom:2rem;
}
.craftco-project-detail-richtext ul,
.craftco-project-detail-richtext ol{
  padding-left:2rem;
}
.craftco-project-detail-richtext h2{
  margin:3rem 0 1.5rem;
  font-size:2.5rem;
  line-height:1.25;
  font-weight:400;
}
.craftco-project-detail-richtext h3{
  margin:2.5rem 0 1.25rem;
  font-size:2rem;
  line-height:1.4;
  font-weight:400;
}
.craftco-project-detail-richtext h4{
  margin:2rem 0 1rem;
  font-size:1.5rem;
  line-height:1.4;
  font-weight:400;
}
.craftco-project-detail-richtext img,
.craftco-project-detail-richtext figure{
  display:block;
  width:100%;
  max-width:100%;
}
.craftco-project-detail-richtext img{
  height:auto;
  margin:2.5rem 0;
}
.craftco-project-detail-richtext figure{
  margin:2.5rem 0;
}
.craftco-project-detail-richtext figure img{
  margin:0;
}
.craftco-project-detail-richtext blockquote{
  border-left:.25rem solid #33333340;
  padding:0 1.25rem;
  font-size:1.125rem;
  line-height:1.5;
}
.craftco-project-detail-related-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
}
.craftco-project-detail-related-grid .craftco-project{
  aspect-ratio:1.55/1;
}
.craftco-project-detail-related-grid .craftco-project-meta strong{
  font-size:1rem;
}
.craftco-project-detail-related-grid .craftco-project-meta small{
  font-size:.7rem;
}
.craftco-project-detail-related-grid .craftco-arrow-circle{
  width:1.75rem;
  height:1.75rem;
  flex-basis:1.75rem;
}

@media screen and (max-width:991px){
  .craftco-project-detail-meta{grid-template-columns:1fr 1fr;gap:2rem 4rem}
  .craftco-project-detail-related-grid{grid-template-columns:1fr 1fr}
  .craftco-project-detail-related-grid .craftco-project:last-child{display:none}
}
@media screen and (max-width:767px){
  .craftco-project-detail-page{width:calc(100% - 2.5rem)}
  .craftco-project-detail-top,
  .craftco-project-detail-body,
  .craftco-project-detail-related{padding:2rem 1.25rem}
  .craftco-project-detail-title-row h1{font-size:3.5rem}
  .craftco-project-detail-summary{font-size:1rem}
  .craftco-project-detail-body h2,
  .craftco-project-detail-related h2{font-size:3rem;margin-bottom:2rem}
  .craftco-project-detail-richtext{font-size:1rem}
  .craftco-project-detail-richtext h2{font-size:2.25rem}
  .craftco-project-detail-richtext h3{font-size:1.75rem}
  .craftco-project-detail-related-grid{grid-template-columns:1fr;gap:2rem}
  .craftco-project-detail-related-grid .craftco-project:last-child{display:block}
}
@media screen and (max-width:479px){
  .craftco-project-detail-page{width:calc(100% - 2.5rem)}
  .craftco-project-detail-top,
  .craftco-project-detail-body,
  .craftco-project-detail-related{padding:1.5rem 1.25rem}
  .craftco-project-detail-heading{margin-bottom:2rem}
  .craftco-project-detail-title-row{align-items:flex-start;gap:.6rem}
  .craftco-project-detail-mark{font-size:1.6rem;margin-top:.2rem}
  .craftco-project-detail-title-row h1{font-size:3rem;line-height:1.08}
  .craftco-project-detail-summary{margin-top:1rem;font-size:.95rem;line-height:1.45}
  .craftco-project-detail-meta{grid-template-columns:1fr;gap:1.25rem;margin-bottom:2rem}
  .craftco-project-detail-meta>div{padding-bottom:1rem;border-bottom:1px solid #33333340}
  .craftco-project-detail-meta>div:last-child{padding-bottom:0;border-bottom:0}
  .craftco-project-detail-meta dt{font-size:.7rem}
  .craftco-project-detail-meta dd{font-size:.95rem}
  .craftco-project-detail-body h2,
  .craftco-project-detail-related h2{font-size:2.75rem;line-height:1.1;margin-bottom:1.75rem}
  .craftco-project-detail-richtext p,
  .craftco-project-detail-richtext ul,
  .craftco-project-detail-richtext ol,
  .craftco-project-detail-richtext blockquote{margin-bottom:1.5rem}
  .craftco-project-detail-richtext img,
  .craftco-project-detail-richtext figure{margin-top:2rem;margin-bottom:2rem}
  .craftco-project-detail-richtext h2{font-size:2.2rem;margin-top:2.5rem}
  .craftco-project-detail-richtext h3{font-size:1.75rem;margin-top:2rem}
  .craftco-project-detail-related-grid{gap:1rem}
  .craftco-project-detail-related-grid .craftco-project{aspect-ratio:1.55/1!important}
  .craftco-project-detail-related-grid .craftco-project-content{padding:1rem}
  .craftco-project-detail-related-grid .craftco-project-meta strong{font-size:1rem}
  .craftco-project-detail-related-grid .craftco-project-meta small{font-size:.7rem}
}

/* =========================================================
   v1.5.6 — Shared inner-page hero parity
   Services / Projects / About. Header intentionally untouched.
   Mirrors Craftco's wide top content block: title across the top,
   supporting copy anchored to the lower-right.
   ========================================================= */
.craftco-inner-page-hero{
  min-height:32.5rem;
  margin-bottom:1rem;
  padding:4.5rem 2.5rem 3rem;
  display:grid;
  grid-template-columns:1.2fr 1fr;
  grid-template-rows:auto 1fr;
  column-gap:3rem;
  row-gap:3rem;
  align-items:start;
}
.craftco-inner-page-title-row{
  grid-column:1 / -1;
  display:flex;
  align-items:flex-start;
  gap:1.5rem;
  min-width:0;
}
.craftco-inner-page-mark{
  flex:0 0 auto;
  font-size:3rem;
  line-height:1;
  margin-top:.35rem;
}
.craftco-inner-page-title-row h1{
  margin:0;
  max-width:100%;
  font-size:4rem;
  line-height:1.1;
  font-weight:400;
  letter-spacing:0;
  text-wrap:balance;
}
.craftco-inner-page-intro{
  grid-column:2;
  grid-row:2;
  align-self:end;
  justify-self:stretch;
  margin:0;
  max-width:38rem;
  font-size:1.125rem;
  line-height:1.45;
  font-weight:300;
}

@media screen and (max-width:991px){
  .craftco-inner-page-hero{
    min-height:29rem;
    padding:3.5rem 2rem 2.5rem;
    grid-template-columns:1fr 1fr;
    column-gap:2rem;
  }
  .craftco-inner-page-title-row h1{font-size:3.5rem}
  .craftco-inner-page-mark{font-size:2.5rem}
  .craftco-inner-page-intro{font-size:1rem}
}
@media screen and (max-width:767px){
  .craftco-inner-page-hero{
    min-height:0;
    padding:2.75rem 1.25rem 2rem;
    grid-template-columns:1fr;
    grid-template-rows:auto auto;
    row-gap:6rem;
  }
  .craftco-inner-page-title-row{
    grid-column:1;
    gap:1rem;
  }
  .craftco-inner-page-title-row h1{
    font-size:3rem;
    line-height:1.08;
    text-wrap:pretty;
  }
  .craftco-inner-page-mark{
    font-size:2rem;
    margin-top:.3rem;
  }
  .craftco-inner-page-intro{
    grid-column:1;
    grid-row:2;
    max-width:31rem;
    font-size:1rem;
    line-height:1.5;
  }
}
@media screen and (max-width:479px){
  .craftco-inner-page-hero{
    padding:2.25rem 1.25rem 1.75rem;
    row-gap:5rem;
  }
  .craftco-inner-page-title-row{gap:.8rem}
  .craftco-inner-page-title-row h1{
    font-size:2.65rem;
    line-height:1.08;
  }
  .craftco-inner-page-mark{
    font-size:1.7rem;
    margin-top:.28rem;
  }
  .craftco-inner-page-intro{
    font-size:.9375rem;
    line-height:1.5;
  }
}
