
:root{
  --ink:#111315;
  --ink-soft:#24272a;
  --paper:#ececea;
  --paper-deep:#d9d9d6;
  --line:#b8bab9;
  --yellow:#f2c300;
  --red:#c51624;
  --white:#ffffff;
  --glass:rgba(12,14,16,.82);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.5}
body.menu-open{overflow:hidden}
img{display:block;max-width:100%}
a{color:inherit}
h1,h2,h3,.primary-nav,.button,.eyebrow,.section-kicker,.header-button{
  font-family:"Arial Narrow",Arial,Helvetica,sans-serif;
  text-transform:uppercase;
}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;left:12px;top:-60px;background:#fff;color:#111;padding:10px;z-index:999}
.skip-link:focus{top:12px}
.content-shell,.page-section{width:min(1240px,calc(100% - 48px));margin:auto}
.site-header{position:absolute;z-index:100;top:0;left:0;right:0;padding:18px 22px}
.header-shell{
  width:min(1440px,100%);
  margin:auto;
  display:grid;
  grid-template-columns:280px 1fr auto;
  align-items:center;
  gap:26px;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:16px;
}
.glass{
  background:var(--glass);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:0 16px 44px rgba(0,0,0,.28);
}
.brand img{width:260px;max-height:164px;object-fit:contain}
.primary-nav{display:flex;justify-content:center;gap:23px;font-weight:700;letter-spacing:.035em;color:#fff}
.primary-nav a{text-decoration:none;position:relative;padding:7px 0;white-space:nowrap}
.primary-nav a::after{content:"";position:absolute;left:0;right:100%;bottom:0;height:2px;background:var(--yellow);transition:right .22s ease}
.primary-nav a:hover::after,.primary-nav a.active::after{right:0}
.header-actions{display:flex;gap:9px;align-items:center}
.header-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:42px;
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.6);
  border-radius:8px;
  color:#fff;
  text-decoration:none;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.025em;
  background:rgba(255,255,255,.035);
  white-space:nowrap;
  transition:.2s;
}
.header-button:hover{background:rgba(255,255,255,.11)}
.header-button-accent{border-color:var(--yellow);color:var(--yellow)}
.button-icon{font-size:.9rem}
.menu-toggle{display:none}
.hero{position:relative;color:#fff;background-size:cover;background-position:center}
.hero-home{min-height:94vh;background-image:url("../images/hero.webp")}
.hero-shade{
  position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(0,0,0,.08) 0 48%,rgba(0,0,0,.68) 72%,rgba(0,0,0,.88) 100%),
    linear-gradient(180deg,rgba(0,0,0,.20),transparent 35%,rgba(0,0,0,.15));
}
.hero-copy{
  position:absolute;z-index:2;
  top:53%;right:max(4vw,44px);
  transform:translateY(-42%);
  width:min(510px,42vw);
}
.eyebrow,.section-kicker{color:var(--yellow);letter-spacing:.14em;font-size:.76rem;font-weight:700}
.hero h1,.inner-title h1{
  margin:.35rem 0 1rem;
  font-size:clamp(3rem,5.8vw,6.5rem);
  line-height:.91;
  letter-spacing:-.025em;
}
.lead{max-width:470px;font-size:1.05rem;line-height:1.55;color:rgba(255,255,255,.88)}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.button{
  display:inline-flex;align-items:center;gap:17px;
  padding:12px 18px;
  border:1px solid currentColor;
  border-radius:7px;
  text-decoration:none;
  font-weight:700;
  cursor:pointer;
  transition:transform .18s,background .18s;
}
.button:hover{transform:translateY(-2px)}
.button-red{background:var(--red);border-color:var(--red);color:#fff}
.button-light{color:#fff;border-color:rgba(255,255,255,.72);background:rgba(0,0,0,.16)}
.button-dark{color:var(--ink);border-color:var(--ink)}
.services-overview{background:#e6e6e3;padding:95px 0 82px}
.section-intro h2{margin:.25rem 0 3rem;font-size:clamp(2.6rem,5vw,5rem);line-height:.95}
.home-services{border-top:1px solid var(--line)}
.home-service{
  display:grid;
  grid-template-columns:95px 1fr;
  gap:30px;
  align-items:center;
  padding:25px 0;
  border-bottom:1px solid var(--line);
}
.home-service img{width:82px;height:82px;object-fit:contain}
.home-service h3{font-size:1.45rem;margin:0 0 6px}
.home-service p{margin:0;color:#505356;max-width:720px}
.recent-work{background:#16181a;color:#fff;padding:92px 0}
.section-intro-light .section-kicker{color:#d4d6d7}
.project-editorial{display:grid;grid-template-columns:1.4fr .8fr;gap:22px}
.project-main,.project-small{position:relative;display:block;overflow:hidden;color:#fff;text-decoration:none;border-radius:9px}
.project-main{min-height:540px}
.project-main img,.project-small img{width:100%;height:100%;object-fit:cover;filter:brightness(.82);transition:.35s}
.project-main:hover img,.project-small:hover img{transform:scale(1.018);filter:brightness(.9)}
.project-secondary{display:grid;gap:22px}
.project-small{min-height:259px}
.project-caption{position:absolute;left:24px;right:24px;bottom:20px;text-shadow:0 2px 7px rgba(0,0,0,.6)}
.project-caption span{color:var(--yellow);text-transform:uppercase;font-size:.75rem;letter-spacing:.12em}
.project-caption h3{font-size:2rem;margin:.2rem 0}
.project-small .project-caption h3{font-size:1.4rem}
.mail-callout{background:#cacbc9;padding:82px 0}
.mail-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:78px;align-items:start}
.mail-grid h2{margin:.2rem 0;font-size:clamp(3rem,5vw,4.8rem);line-height:.95}
.mail-copy p{font-size:1.08rem;color:#3f4244;line-height:1.65}
.inner-hero{
  position:relative;
  min-height:61vh;
  display:flex;
  align-items:flex-end;
  padding:0 max(24px,calc((100% - 1240px)/2)) 62px;
  color:#fff;
  background-size:cover;
  background-position:center;
}
.inner-services{background-image:url("../images/workshop.webp")}
.inner-portfolio{background-image:url("../images/layout.webp")}
.inner-pricing{background-image:url("../images/class37.webp")}
.inner-mail{background-image:url("../images/york.webp")}
.inner-contact{background-image:url("../images/depot.webp")}
.inner-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.78),rgba(0,0,0,.2))}
.inner-title{position:relative;z-index:2}
.page-section{padding-top:86px;padding-bottom:90px}
.narrow-intro{max-width:780px;margin-bottom:58px}
.narrow-intro h2{font-size:clamp(2rem,4vw,3.8rem);line-height:1;margin:.35rem 0 1rem}
.narrow-intro>p:last-child{font-size:1.08rem;color:#4d5053}
.service-detail-list{border-top:1px solid var(--line)}
.service-detail{
  display:grid;
  grid-template-columns:105px 1fr;
  gap:32px;
  align-items:center;
  padding:27px 0;
  border-bottom:1px solid var(--line);
}
.service-detail img{width:90px;height:90px;object-fit:contain}
.service-detail h2{margin:0 0 6px;font-size:1.6rem}
.service-detail p{margin:0;color:#505356;max-width:760px}
.portfolio-grid{columns:3 300px;column-gap:22px}
.portfolio-grid figure{break-inside:avoid;margin:0 0 22px;background:#fff;border-radius:8px;overflow:hidden}
.portfolio-grid img{width:100%}
.portfolio-grid figcaption{display:flex;justify-content:space-between;gap:18px;padding:14px}
.portfolio-grid figcaption span{color:#676a6d;text-align:right}
.price-list{border-top:1px solid var(--line);margin-bottom:30px}
.price-list>div{display:grid;grid-template-columns:1fr 220px;gap:20px;padding:18px 0;border-bottom:1px solid var(--line)}
.price-list strong{text-align:right}
.steps{list-style:none;padding:0;margin:0 0 36px;border-top:1px solid var(--line)}
.steps li{display:grid;grid-template-columns:90px 1fr;gap:25px;padding:28px 0;border-bottom:1px solid var(--line)}
.steps>li>span{font-size:2rem;color:#666}
.steps h2{margin:0 0 5px}
.steps p{margin:0;color:#555}
.contact-grid{display:grid;grid-template-columns:1fr .85fr;gap:70px}
.quote-form{display:grid;gap:16px}
.quote-form label{display:grid;gap:6px;font-weight:700}
.quote-form input,.quote-form select,.quote-form textarea{
  width:100%;padding:13px;border:1px solid #a6a8aa;border-radius:5px;background:#fff;font:inherit
}
.contact-card{padding:28px;background:#dcdcd9;border-radius:9px}
.contact-card h2{font-size:2.3rem;margin:.25rem 0 12px}
.contact-card a{text-decoration:none;font-weight:700}
.contact-card img{margin-top:24px;border-radius:7px}
.reveal{opacity:0;transform:translateY(16px);transition:opacity .55s ease,transform .55s ease}
.reveal.visible{opacity:1;transform:none}

@media(max-width:1180px){
  .header-shell{grid-template-columns:230px 1fr}
  .brand img{width:220px}
  .header-actions{grid-column:2;justify-content:flex-end}
  .primary-nav{justify-content:flex-end}
}
@media(max-width:900px){
  .site-header{padding:10px}
  .header-shell{display:grid;grid-template-columns:1fr auto;padding:10px}
  .brand img{width:230px}
  .menu-toggle{display:flex;flex-direction:column;gap:5px;width:43px;height:43px;align-items:center;justify-content:center;background:transparent;border:1px solid rgba(255,255,255,.5);border-radius:7px}
  .menu-toggle span:not(.sr-only){width:20px;height:2px;background:#fff}
  .primary-nav{
    display:none;position:absolute;top:100%;left:10px;right:10px;
    flex-direction:column;align-items:stretch;gap:0;
    padding:14px;background:rgba(10,12,14,.96);border-radius:10px;
  }
  .primary-nav.open{display:flex}
  .primary-nav a{padding:11px}
  .header-actions{grid-column:1/-1;justify-content:stretch}
  .header-button{flex:1}
  .hero-copy{width:48vw}
  .project-editorial{grid-template-columns:1fr}
  .project-secondary{grid-template-columns:1fr 1fr}
  .mail-grid{grid-template-columns:1fr;gap:28px}
}
@media(max-width:680px){
  .content-shell,.page-section{width:min(100% - 28px,1240px)}
  .brand img{width:205px}
  .header-actions{gap:6px}
  .header-button{font-size:.69rem;padding:9px 8px}
  .hero-home{min-height:100svh;background-position:42% center}
  .hero-shade{background:linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,.08) 36%,rgba(0,0,0,.88) 70%)}
  .hero-copy{left:18px;right:18px;bottom:30px;top:auto;transform:none;width:auto}
  .hero h1{font-size:clamp(2.65rem,13vw,4.2rem)}
  .services-overview,.recent-work{padding:74px 0}
  .home-service{grid-template-columns:74px 1fr;gap:17px}
  .home-service img{width:68px;height:68px}
  .project-secondary{grid-template-columns:1fr}
  .project-main{min-height:390px}
  .project-small{min-height:235px}
  .inner-hero{min-height:72vh;padding-bottom:38px}
  .service-detail{grid-template-columns:80px 1fr;gap:18px}
  .service-detail img{width:72px;height:72px}
  .portfolio-grid{columns:1}
  .price-list>div{grid-template-columns:1fr}
  .price-list strong{text-align:left;color:#666}
  .steps li{grid-template-columns:58px 1fr}
  .contact-grid{grid-template-columns:1fr;gap:38px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .reveal{opacity:1;transform:none;transition:none}
  *{transition:none!important}
}


/* FINAL TOP-BAR REVISION
   Only the desktop top-bar presentation is changed.
   All page content, images, logos and lower sections remain untouched. */
@media (min-width: 901px) {
  .site-header {
    padding: 12px 18px !important;
  }

  .header-shell {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: 280px 1fr auto !important;
    align-items: start !important;
    gap: 28px !important;
    padding: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .brand {
    align-self: start !important;
  }

  .brand img {
    width: 270px !important;
    max-height: none !important;
  }

  .primary-nav {
    align-self: start !important;
    justify-self: center !important;
    margin-top: 10px !important;
    padding: 11px 18px !important;
    gap: 24px !important;
    color: #fff !important;
    background: rgba(10,12,14,.34) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.16) !important;
  }

  .header-actions {
    align-self: start !important;
    justify-self: end !important;
    margin-top: 10px !important;
    padding: 0 !important;
    gap: 10px !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .header-button {
    min-height: 42px !important;
    padding: 10px 14px !important;
    background: rgba(10,12,14,.42) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }
}


/* ===== POLISH ROUND ===== */

/* Show slightly more of the locomotive while keeping the TMD sign visible. */
@media (min-width: 901px){
  .hero-home{background-position:38% center !important}
}

/* Keep top-right actions perfectly matched. */
.header-actions .header-button{
  height:44px !important;
  min-width:132px !important;
  box-sizing:border-box !important;
}
.header-actions .header-button-accent{
  min-width:164px !important;
}

/* Individual service detail pages */
.service-page-hero{
  min-height:66vh;
}
.service-page-title{
  display:grid;
  grid-template-columns:110px 1fr;
  gap:28px;
  align-items:end;
}
.service-page-title img{
  width:98px;
  height:98px;
  object-fit:contain;
  box-shadow:0 8px 22px rgba(0,0,0,.28);
}
.service-copy-grid{
  display:grid;
  grid-template-columns:1fr .9fr;
  gap:70px;
  align-items:start;
}
.service-copy-grid h2{
  font-size:clamp(2.1rem,4vw,4rem);
  line-height:1;
  margin:.25rem 0 1rem;
}
.service-copy-grid p{
  font-size:1.08rem;
  color:#4f5254;
}
.service-gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin:55px 0 30px;
}
.service-gallery img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:8px;
}

/* Journal-style portfolio */
.journal-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:28px;
}
.journal-card{
  text-decoration:none;
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  transition:transform .22s ease, box-shadow .22s ease;
}
.journal-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 34px rgba(0,0,0,.13);
}
.journal-card img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
}
.journal-copy{
  padding:20px;
}
.journal-copy .section-kicker{
  color:#6a6d70;
}
.journal-copy h2{
  margin:.25rem 0 .6rem;
}
.journal-copy p{
  margin:0;
  color:#5a5d60;
}
.project-article{
  max-width:900px;
  margin:auto;
}
.project-article img{
  width:100%;
  border-radius:10px;
  margin:28px 0;
}
.project-meta{
  display:flex;
  gap:24px;
  flex-wrap:wrap;
  margin:20px 0 30px;
  padding:16px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

/* Pricing cards */
.price-cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-bottom:34px;
}
.price-card{
  background:#fff;
  border-radius:10px;
  padding:24px;
  box-shadow:0 8px 22px rgba(0,0,0,.06);
}
.price-card h2{
  margin:0 0 8px;
  font-size:1.5rem;
}
.price-card p{
  color:#5a5d60;
  min-height:74px;
}
.price-card strong{
  display:block;
  margin-top:18px;
  color:#777;
}

/* Contact page additions */
.contact-note{
  margin-top:20px;
  padding:20px;
  background:#d2d3d0;
  border-radius:8px;
}
.map-panel{
  margin-top:24px;
  border-radius:8px;
  overflow:hidden;
  min-height:280px;
  background:
    linear-gradient(rgba(17,19,21,.1),rgba(17,19,21,.1)),
    url("../images/york.webp") center/cover no-repeat;
  display:flex;
  align-items:flex-end;
}
.map-panel a{
  margin:18px;
  background:rgba(12,14,16,.84);
  color:#fff;
  padding:11px 14px;
  border-radius:7px;
  text-decoration:none;
}

@media(max-width:900px){
  .service-copy-grid{grid-template-columns:1fr}
  .service-gallery{grid-template-columns:1fr 1fr}
  .price-cards{grid-template-columns:1fr 1fr}
}
@media(max-width:680px){
  .service-page-title{grid-template-columns:76px 1fr;gap:16px}
  .service-page-title img{width:68px;height:68px}
  .service-gallery,.journal-grid,.price-cards{grid-template-columns:1fr}
}
