/*
Theme Name: Brandit Studio Preview – Luftigare rubrik
Theme URI: https://branditexpo.se
Author: Brandit
Description: En modern, lättredigerad förhandsversion för Brandit Skylt & Reklam.
Version: 3.9.1
Text Domain: brandit-studio
*/

:root {
  --brand-green: #29493d;
  --brand-green-deep: #203a31;
  --brand-orange: #d4511d;
  --brand-cream: #f6f2ea;
  --brand-ink: #161a17;
  --brand-muted: #667068;
  --brand-line: rgba(22, 26, 23, .16);
  --site-width: min(1220px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--brand-cream); color: var(--brand-ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.site-width { width: var(--site-width); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { width: auto; height: auto; padding: 12px; margin: 0; clip: auto; background: #fff; color: #000; z-index: 100000; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--brand-green); border-bottom: 1px solid rgba(255,255,255,.14); box-shadow: 0 8px 20px rgba(20,43,35,.12); transition: background-color .28s ease, border-color .28s ease, box-shadow .28s ease; }
.header-row { min-height: 96px; display: flex; justify-content: flex-start; align-items: center; gap: 24px; transition: min-height .28s ease; }
.brand-mark { display: inline-flex; align-items: center; min-width: max-content; color: var(--brand-cream); }
.brand-mark .custom-logo-link img { width: auto; max-height: 70px; filter: brightness(0) invert(1); transition: max-height .28s ease, filter .28s ease; }
.brand-mark--image img { width: auto; max-width: 300px; max-height: 70px; filter: brightness(0) invert(1); transition: max-height .28s ease, filter .28s ease; }
.wordmark { display: grid; justify-items: center; text-align: center; line-height: 1; letter-spacing: .08em; }
.wordmark strong { font-size: 30px; font-weight: 900; letter-spacing: .12em; transition: font-size .28s ease; }
.wordmark strong b { color: var(--brand-orange); }
.wordmark span { margin-top: 9px; color: var(--brand-cream); font-size: 10px; font-weight: 700; letter-spacing: .23em; text-transform: uppercase; transition: color .28s ease, font-size .28s ease, margin .28s ease; }
.primary-nav { margin-left: auto; }
.primary-nav .menu { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; padding: 0; margin: 0; list-style: none; }
.primary-nav a { display: block; padding: 8px 0; color: var(--brand-cream); font-size: 13px; font-weight: 800; letter-spacing: .02em; transition: color .2s ease; }
.primary-nav .current-menu-item > a, .primary-nav a:hover { color: var(--brand-orange); }
.header-contact { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 14px; background: var(--brand-cream); color: var(--brand-green-deep); font-size: 12px; font-weight: 800; letter-spacing: .02em; transition: background-color .28s ease, color .28s ease, min-height .28s ease, padding .28s ease, transform .18s ease; }
.header-contact:hover { background: var(--brand-orange); color: #fff; transform: translateY(-2px); }
.menu-toggle { display: none; border: 1px solid rgba(255,255,255,.45); background: transparent; color: var(--brand-cream); padding: 10px 13px; font: inherit; font-size: 12px; font-weight: 800; text-transform: uppercase; transition: color .28s ease, border-color .28s ease; }
.site-header.is-scrolled { background: var(--brand-green-deep); border-color: rgba(255,255,255,.14); box-shadow: 0 10px 24px rgba(20,43,35,.24); }
.site-header.is-scrolled .header-row { min-height: 68px; }
.site-header.is-scrolled .brand-mark { color: var(--brand-cream); }
.site-header.is-scrolled .brand-mark--image img, .site-header.is-scrolled .brand-mark .custom-logo-link img { max-height: 48px; filter: brightness(0) invert(1); }
.site-header.is-scrolled .wordmark strong { font-size: 25px; }
.site-header.is-scrolled .wordmark span { margin-top: 6px; color: var(--brand-cream); font-size: 8px; }
.site-header.is-scrolled .primary-nav a { color: var(--brand-cream); }
.site-header.is-scrolled .primary-nav .current-menu-item > a, .site-header.is-scrolled .primary-nav a:hover { color: #f8b18d; }
.site-header.is-scrolled .header-contact { min-height: 36px; padding: 8px 12px; background: var(--brand-cream); color: var(--brand-green-deep); }
.site-header.is-scrolled .header-contact:hover { background: var(--brand-orange); color: #fff; }
.site-header.is-scrolled .menu-toggle { border-color: rgba(255,255,255,.45); color: var(--brand-cream); }
#tjanster, #referenser, #kontakt { scroll-margin-top: 112px; }

/* Subtle scroll-in movement */
.reveal-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity .58s ease, transform .58s cubic-bezier(.2,.75,.25,1); transition-delay: calc(var(--reveal-index, 0) * 70ms); }
.reveal-on-scroll.reveal--visible { opacity: 1; transform: translateY(0); }

/* Buttons and introduction */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 19px; background: var(--brand-orange); color: #fff; border: 1px solid var(--brand-orange); font-size: 12px; font-weight: 800; letter-spacing: .02em; transition: .18s ease; }
.button:hover { background: #b83f12; border-color: #b83f12; transform: translateY(-2px); }
.button--light { background: transparent; color: var(--brand-cream); border-color: rgba(255,255,255,.45); }
.button--light:hover { background: var(--brand-cream); color: var(--brand-green); border-color: var(--brand-cream); }
.eyebrow { margin: 0 0 18px; color: var(--brand-orange); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow--light { color: #f7b08f; }
.section-title { margin: 0; max-width: 13ch; font-size: clamp(38px, 5vw, 70px); line-height: .96; letter-spacing: -.065em; }
.section-title em { color: var(--brand-orange); font-style: normal; }

/* Home */
.home-hero { position: relative; overflow: hidden; background: var(--brand-green); color: var(--brand-cream); }
.hero-layout { position: relative; display: flex; min-height: min(760px, calc(100vh - 96px)); }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-start; width: min(700px, 64%); padding: 112px 0 90px; }
.hero-title { position: relative; z-index: 1; margin: 0; max-width: 10ch; font-size: clamp(52px, 7.2vw, 105px); line-height: 1.04; letter-spacing: -.075em; }
.hero-title strong { color: var(--brand-orange); font-weight: inherit; }
.hero-services { position: relative; z-index: 1; width: fit-content; max-width: 100%; margin: 40px 0 30px; padding: 0; background: transparent; color: var(--brand-cream); font-size: 12px; font-weight: 800; letter-spacing: .16em; line-height: 1.35; text-transform: uppercase; text-shadow: 0 1px 12px rgba(0,0,0,.32); }
.hero-copy__description { position: relative; z-index: 1; max-width: 40ch; margin: 0; color: #e0e7e1; font-size: 18px; }
.hero-image { position: absolute; z-index: 0; top: 0; bottom: 0; left: 50%; width: 100vw; min-height: 0; overflow: hidden; background: #1f352d; transform: translateX(-50%); }
.hero-image img { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); max-width: none; object-fit: cover; filter: blur(6px) saturate(.76) brightness(.68); transform: scale(1.045); }
.hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,58,48,.97) 0%, rgba(25,63,52,.88) 40%, rgba(28,48,42,.52) 68%, rgba(15,28,23,.36) 100%); pointer-events: none; }
.home-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 12vw; padding: 118px 0; }
.home-intro .lead { max-width: 34ch; margin: 10px 0 0; font-size: 20px; }
.service-section { padding: 0 0 118px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.section-heading p:last-child { max-width: 35ch; margin: 0; color: var(--brand-muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 360px; display: flex; flex-direction: column; justify-content: end; overflow: hidden; border: 1px solid rgba(22,26,23,.08); border-radius: 20px; background: linear-gradient(135deg, #25473d, #3e6254); color: var(--brand-cream); box-shadow: 0 12px 25px rgba(17,37,30,.13); transition: transform .3s ease, box-shadow .3s ease; }
.service-card::before { content: ''; position: absolute; z-index: 0; inset: 0; background: radial-gradient(circle at 85% 16%, rgba(243,161,125,.24), transparent 31%), linear-gradient(120deg, transparent 35%, rgba(255,255,255,.07) 35% 36%, transparent 36%); transition: opacity .35s ease; }
.service-card:nth-child(2) { background: linear-gradient(135deg, #385249, #243f36); }
.service-card:nth-child(3) { background: linear-gradient(135deg, #2f594d, #496459); }
.service-card:nth-child(4) { background: linear-gradient(135deg, #485c50, #29483e); }
.service-card:nth-child(5) { background: linear-gradient(135deg, #25483e, #596958); }
.service-card:nth-child(6) { background: linear-gradient(135deg, #415c4e, #203b33); }
.service-card__image { position: absolute; inset: 0; opacity: 0; transform: scale(.92); transition: transform .46s cubic-bezier(.2,.8,.2,1), opacity .32s ease; }
.service-card__image img { width: 100%; height: 100%; object-fit: cover; }
.service-card__image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,29,24,.94), rgba(16,29,24,.28)); }
.service-card:hover .service-card__image, .service-card:focus-visible .service-card__image { transform: scale(1.055); opacity: .9; }
.service-card:hover::before, .service-card:focus-visible::before { opacity: 0; }
.service-card:hover, .service-card:focus-visible { transform: translateY(-6px); box-shadow: 0 20px 36px rgba(17,37,30,.22); }
.service-card__content { position: relative; z-index: 1; display: grid; grid-template-rows: auto 1fr auto; gap: 10px; width: 100%; height: 100%; padding: 26px; }
.service-card__icon { align-self: center; display: grid; width: 78px; height: 78px; place-items: center; padding: 14px; border: 1px solid rgba(246,242,234,.64); border-radius: 50%; background: rgba(30,56,47,.14); color: #f3a17d; box-shadow: inset 0 0 0 8px rgba(246,242,234,.055); transition: transform .34s ease, opacity .25s ease, border-color .34s ease, background .34s ease; }
.service-card__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.service-card__details { align-self: end; display: block; width: 100%; }
.service-card__title { display: block; min-height: 52px; font-size: 24px; font-weight: 700; line-height: 1; letter-spacing: -.05em; }
.service-card__text { display: block; max-height: 0; margin-top: 0; max-width: 30ch; overflow: hidden; opacity: 0; transform: translateY(9px); font-size: 14px; line-height: 1.45; transition: max-height .42s ease, margin .25s ease, opacity .22s ease, transform .32s ease; }
.service-card:hover .service-card__icon, .service-card:focus-visible .service-card__icon { opacity: .14; transform: scale(.78) translateY(-8px); border-color: transparent; background: transparent; }
.service-card:hover .service-card__text, .service-card:focus-visible .service-card__text { max-height: 210px; margin-top: 9px; opacity: 1; transform: translateY(0); }
.projects-section { padding: 0 0 118px; overflow: hidden; }
.projects-heading { align-items: end; }
.project-carousel { overflow: hidden; }
.project-track { display: flex; gap: 22px; overflow-x: auto; padding: 0 0 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--brand-orange) transparent; }
.project-track::-webkit-scrollbar { height: 6px; }
.project-track::-webkit-scrollbar-thumb { background: var(--brand-orange); }
.project-card { flex: 0 0 min(430px, 84vw); display: grid; grid-template-rows: 310px auto; scroll-snap-align: start; background: var(--brand-green); color: var(--brand-cream); }
.project-card__image { position: relative; overflow: hidden; background: #1f352d; }
.project-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-card:hover .project-card__image img { transform: scale(1.05); }
.project-card__image span { display: grid; height: 100%; place-items: center; padding: 24px; color: #f3a17d; font-weight: 800; text-transform: uppercase; text-align: center; }
.project-card__copy { min-height: 176px; padding: 25px 25px 29px; }
.project-card__label { margin: 0 0 32px; color: #f3a17d; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.project-card__copy h3 { margin: 0 0 9px; font-size: 25px; line-height: 1; letter-spacing: -.045em; }
.project-card__copy p:last-child { margin: 0; font-size: 14px; }
.project-controls { display: flex; align-items: center; gap: 13px; margin-top: 20px; color: var(--brand-muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.project-control { display: inline-grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--brand-line); background: transparent; color: var(--brand-green); font: inherit; font-size: 22px; cursor: pointer; transition: .18s ease; }
.project-control:hover { background: var(--brand-orange); border-color: var(--brand-orange); color: #fff; }
.process { padding: 112px 0; background: var(--brand-green-deep); color: var(--brand-cream); }
.process-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 12vw; }
.steps { border-top: 1px solid rgba(255,255,255,.28); }
.step { display: grid; grid-template-columns: 54px 1fr; gap: 17px; padding: 23px 0; border-bottom: 1px solid rgba(255,255,255,.28); }
.step span { color: #f3a17d; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.step h3 { margin: 0 0 5px; font-size: 23px; line-height: 1; letter-spacing: -.045em; }
.step p { margin: 0; color: #d4ded7; font-size: 14px; }

/* Pages and Gutenberg content */
.page-hero { overflow: hidden; background: var(--brand-green); color: var(--brand-cream); }
.page-hero__layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 410px; }
.page-hero__copy { display: flex; flex-direction: column; justify-content: center; padding: 72px 8vw 72px 0; }
.page-hero__copy h1 { margin: 0; max-width: 11ch; font-size: clamp(48px, 6vw, 84px); line-height: .88; letter-spacing: -.075em; }
.page-hero__image { min-height: 320px; }
.page-hero__image img { width: 100%; height: 100%; object-fit: cover; }
.page-shell { display: grid; grid-template-columns: minmax(0, 1fr); padding: 82px 0 120px; }
.entry-content { width: min(100%, 900px); font-size: 18px; }
.entry-content > * { margin-top: 0; margin-bottom: 1.25em; }
.entry-content h2 { margin-top: 2.4em; font-size: clamp(30px, 4vw, 51px); line-height: 1; letter-spacing: -.055em; }
.entry-content h3 { margin-top: 2em; font-size: 25px; line-height: 1.05; letter-spacing: -.04em; }
.entry-content p { max-width: 67ch; }
.entry-content a { color: var(--brand-orange); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry-content .wp-block-image, .entry-content .wp-block-gallery { margin: 44px 0; }
.entry-content .wp-block-quote { margin: 48px 0; padding: 26px 30px; border-left: 5px solid var(--brand-orange); background: #ece5d9; font-size: 25px; line-height: 1.25; }
.entry-content .wp-block-button__link { background: var(--brand-orange); color: #fff; border-radius: 0; font-weight: 800; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
.entry-content .wp-block-cover { margin: 45px 0; }
.about-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding: 104px 0 120px; }
.about-intro { grid-column: 1 / -1; display: grid; grid-template-columns: .8fr 1.2fr; gap: 12vw; padding-bottom: 56px; border-bottom: 1px solid var(--brand-line); }
.about-lead { max-width: 19ch; margin: 0; font-size: clamp(31px, 4vw, 54px); line-height: 1; letter-spacing: -.06em; }
.about-block { min-height: 332px; padding: 39px; background: #e9dfd0; }
.about-block--who { grid-column: 1 / -1; background: var(--brand-green); color: var(--brand-cream); }
.about-block--who > div { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 34px; }
.about-block--who h2 { margin-bottom: 0; }
.about-block--network { background: #efe8dc; }
.about-block--ambition { background: #df6a36; color: #fff; }
.about-block h2 { margin: 0 0 23px; max-width: 13ch; font-size: clamp(30px, 3.4vw, 49px); line-height: .95; letter-spacing: -.06em; }
.about-block__copy { max-width: 49ch; font-size: 16px; }
.about-block__copy p { margin: 0 0 1em; }
.about-block__copy p:last-child { margin-bottom: 0; }
.about-cta { grid-column: 1 / -1; padding: clamp(44px, 7vw, 88px); background: var(--brand-green-deep); color: var(--brand-cream); text-align: center; }
.about-cta h2 { max-width: 11ch; margin: 0 auto 20px; font-size: clamp(38px, 5vw, 68px); line-height: .9; letter-spacing: -.07em; }
.about-cta > p:not(.eyebrow) { max-width: 52ch; margin: 0 auto 28px; color: #d4ded7; }

/* Footer */
.site-footer { background: var(--brand-green); color: var(--brand-cream); }
.footer-contact { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; padding: 84px 0 68px; background: var(--brand-cream); color: var(--brand-ink); box-shadow: 0 0 0 100vmax var(--brand-cream); clip-path: inset(0 -100vmax); }
.footer-contact h2 { margin: 0 0 18px; max-width: 11ch; font-size: clamp(37px, 4.5vw, 62px); line-height: .92; letter-spacing: -.065em; }
.footer-contact .eyebrow--light { color: var(--brand-orange); }
.footer-contact__intro > p:not(.eyebrow):not(.form-message) { max-width: 39ch; margin: 0; color: var(--brand-muted); }
.footer-direct { display: grid; grid-template-columns: 1fr 1fr; gap: 25px 34px; margin-top: 38px; }
.footer-direct h3 { margin: 0 0 7px; color: #f3a17d; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-direct a, .footer-direct span { display: block; margin: 0 0 4px; color: var(--brand-ink); font-size: 14px; }
.footer-direct a:hover { color: #f3a17d; }
.footer-contact > div:last-child { align-self: start; padding: 34px; background: #fff; box-shadow: 0 16px 38px rgba(22,26,23,.14); }
.contact-form { display: grid; grid-template-columns: 1fr; gap: 14px; }
.contact-form p { margin: 0; }
.contact-form p:nth-of-type(3) { grid-column: 1 / -1; }
.contact-form label { display: block; margin-bottom: 6px; color: var(--brand-ink); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-form small { font-size: inherit; font-weight: 400; letter-spacing: .02em; text-transform: none; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--brand-line); border-radius: 0; background: #fff; color: var(--brand-ink); font: inherit; padding: 12px; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--brand-orange); outline-offset: 2px; }
.contact-form .button { justify-self: start; margin-top: 5px; }
.footer-contact .button--light { background: var(--brand-orange); color: #fff; border-color: var(--brand-orange); }
.footer-contact .button--light:hover { background: #b83f12; border-color: #b83f12; color: #fff; }
.contact-mail-note { grid-column: 1 / -1; margin: 0; color: var(--brand-muted); font-size: 13px; }
.contact-mail-note a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.contact-trap { position: absolute !important; left: -9999px; }
.form-message { grid-column: 1 / -1; margin: 0 0 15px; padding: 12px 14px; font-size: 14px; }
.form-message--success { background: rgba(230,250,235,.15); border-left: 3px solid #b9e7c2; }
.form-message--error { background: rgba(255,220,210,.15); border-left: 3px solid #f3a17d; }
.footer-main { display: grid; grid-template-columns: 1.1fr .9fr .8fr; gap: 40px; padding: 74px 0 52px; }
.footer-heading { margin: 0 0 15px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #f3a17d; }
.footer-main p, .footer-main a { margin: 0 0 7px; font-size: 16px; }
.footer-main a:hover { color: #f3a17d; }
.footer-socials { display: flex; gap: 11px; margin: 0 0 16px; }
.footer-socials a { display: grid; width: 38px; height: 38px; margin: 0; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: #fff; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.footer-socials a:hover { border-color: #f3a17d; background: #f3a17d; color: #183f34; transform: translateY(-2px); }
.footer-socials svg { display: block; width: 19px; height: 19px; }
.footer-people { display: grid; gap: 22px; }
.footer-person strong { display: block; margin-bottom: 5px; font-size: 18px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.22); color: #c6d1ca; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.footer-base nav { display: flex; flex-wrap: wrap; gap: 13px 20px; }

@media (max-width: 900px) {
  .primary-nav .menu { gap: 8px 15px; }
  .hero-layout, .page-hero__layout, .home-intro, .process-layout, .about-layout, .footer-contact, .footer-main { grid-template-columns: 1fr; }
  .hero-copy { width: min(620px, 75%); padding: 96px 0 68px; min-height: 520px; }
  .home-intro, .process-layout { gap: 38px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero__copy { padding: 66px 0; }
  .about-intro { grid-template-columns: 1fr; gap: 28px; }
  .about-block--who > div { grid-template-columns: 1fr; gap: 22px; }
  .footer-main { gap: 30px; padding: 60px 0 40px; }
}
@media (max-width: 650px) {
  :root { --site-width: min(100% - 34px, 1220px); }
	.header-row { min-height: 78px; }
	.brand-mark .custom-logo-link img, .brand-mark--image img { max-height: 56px; }
	.wordmark strong { font-size: 23px; }
	.wordmark span { margin-top: 6px; font-size: 8px; }
  .menu-toggle { display: inline-flex; }
	.primary-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 16px 17px 21px; background: var(--brand-green); border-bottom: 1px solid rgba(255,255,255,.14); transition: top .28s ease, background-color .28s ease, border-color .28s ease; }
  .primary-nav.is-open { display: block; }
  .primary-nav .menu { display: grid; gap: 0; }
  .primary-nav li { border-top: 1px solid rgba(255,255,255,.14); }
  .primary-nav a { padding: 13px 0; }
	.site-header.is-scrolled .header-row { min-height: 64px; }
	.site-header.is-scrolled .brand-mark .custom-logo-link img, .site-header.is-scrolled .brand-mark--image img { max-height: 43px; }
	.site-header.is-scrolled .wordmark strong { font-size: 21px; }
	.site-header.is-scrolled .wordmark span { margin-top: 5px; font-size: 7px; }
	.site-header.is-scrolled .primary-nav { top: 64px; background: var(--brand-green-deep); border-bottom-color: rgba(255,255,255,.14); }
	.site-header.is-scrolled .primary-nav li { border-top-color: rgba(255,255,255,.14); }
  .hero-title { font-size: clamp(48px, 14vw, 76px); }
  .hero-copy { width: 100%; padding-top: 86px; }
  .hero-image img { filter: blur(5px) saturate(.72) brightness(.62); }
  .hero-image::after { background: linear-gradient(90deg, rgba(20,58,48,.91), rgba(20,58,48,.67)); }
  .home-intro, .service-section { padding-bottom: 76px; }
  .home-intro { padding-top: 78px; }
  .section-heading { display: block; }
  .section-heading p:last-child { margin-top: 18px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid { gap: 14px; }
  .service-card { min-height: 290px; border-radius: 17px; }
  .process { padding: 76px 0; }
  .projects-section { padding-bottom: 76px; }
  .project-card { grid-template-rows: 260px auto; }
  .footer-contact { gap: 35px; padding: 66px 0 54px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form p:nth-of-type(3) { grid-column: auto; }
  .footer-direct { grid-template-columns: 1fr; gap: 21px; }
  .page-shell { padding: 60px 0 84px; }
  .about-layout { gap: 40px; padding: 72px 0 80px; }
  .about-intro { padding-bottom: 40px; }
	.about-block { min-height: 0; padding: 28px; }
  .about-block--who { grid-column: auto; }
  .entry-content { font-size: 17px; }
  .footer-base { display: block; }
  .footer-base nav { margin-top: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header, .header-row, .brand-mark .custom-logo-link img, .brand-mark--image img, .wordmark strong, .wordmark span, .primary-nav, .primary-nav a, .header-contact, .menu-toggle, .reveal-on-scroll { transition: none; }
  .reveal-on-scroll { opacity: 1; transform: none; }
}


/* Tydligt arbetsflöde utan nummerserier */
@media (min-width: 901px) {
  .process-layout { display: block; }
  .process .section-title { max-width: none; white-space: nowrap; }
  .steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; }
  .step { display: block; min-width: 0; padding: 27px 32px; }
  .step:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.28); }
  .step h3 { margin-bottom: 8px; font-size: 26px; }
  .step p { max-width: 36ch; font-size: 15px; line-height: 1.5; }
}
@media (max-width: 900px) {
  .step { grid-template-columns: 1fr; }
}


/* Fyra steg på en rad på större skärmar */
@media (min-width: 901px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .step { padding: 24px 22px; }
  .step:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.28); }
  .step:nth-child(even) { border-right: 1px solid rgba(255,255,255,.28); }
  .step:last-child { border-right: 0; }
  .step h3 { font-size: 22px; }
  .step p { font-size: 14px; }
}


/* Arbetssteg i en tydlig lodrät lista */
@media (min-width: 901px) {
  .steps { grid-template-columns: 1fr; }
  .step { padding: 27px 0; }
  .step:nth-child(odd), .step:nth-child(even) { border-right: 0; }
  .step h3 { font-size: 26px; }
  .step p { max-width: 68ch; font-size: 15px; }
}


/* Rubrik till vänster och arbetssteg till höger */
@media (min-width: 901px) {
  .process-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 64px;
    align-items: start;
  }
  .process .section-title { white-space: normal; }
  .steps { grid-template-columns: 1fr; margin-top: 0; }
  .step { padding: 24px 0; }
}


/* Tjänstesidor: stilla exempelbilder i stället för bildbläddring */
.service-gallery .service-slider-viewport { overflow: visible; }
.service-gallery .service-slider-track {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100% !important;
  transform: none !important;
}
.service-gallery .service-slide {
  min-width: 0 !important;
  width: auto !important;
  margin: 0 !important;
}
.service-gallery .service-slide img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.service-gallery .service-slider-controls { display: none !important; }
@media (max-width: 700px) {
  .service-gallery .service-slider-track { grid-template-columns: 1fr; }
  .service-gallery .service-slide img { height: 250px; }
}
