/* Kawel.Digital homepage: a confident local studio identity, tied to PC-Service Kawel. */
:root {
  --home-ink: #111416;
  --home-panel: #1b2023;
  --home-paper: #e9ecec;
  --home-muted: #aab0b2;
  --home-dark-muted: #565b5c;
  --home-orange: #ff6a1a;
}
html { scroll-behavior: smooth; }
body:has(.home-page) { background: var(--home-ink); color: #f8f7f3; }
body:has(.home-page) .navbar { padding: 15px 0; background: rgba(17,20,22,.88); backdrop-filter: blur(12px); }
body:has(.home-page) .navbar.scrolled { background: rgba(17,20,22,.96); }
body:has(.home-page) .logo, body:has(.home-page) .nav-links a { color: #ffffff; }
body:has(.home-page) .logo span { color: var(--home-orange); }
body:has(.home-page) .logo-sub { color: #aab0b2; }
body:has(.home-page) .nav-links a:hover, body:has(.home-page) .nav-links a.active { color: var(--home-orange); }
body:has(.home-page) .btn-cta { background: var(--home-orange); color: #17191a; border-radius: 5px; }
body:has(.home-page) .btn-cta:hover { background: #ff8543; }
body:has(.home-page) .burger span { background: #f8f7f3; }
body:has(.home-page) .mobile-menu { background: #171b1d; border-color: #303639; }
body:has(.home-page) .mobile-menu a { color: #ffffff; }
body:has(.home-page) .dropdown-menu { background: #1b2023; border-color: #343a3d; }
body:has(.home-page) .dropdown-menu a { color: #f8f7f3; }

.home-page { --home-gutter: clamp(22px, 5.3vw, 84px); color: #ffffff; overflow: clip; }
.home-page > section { border-top: 0 !important; }
.home-page h1, .home-page h2, .home-page h3, .home-page p { margin-top: 0; }
.home-page h1, .home-page h2, .home-page h3 { color: inherit; text-wrap: balance; }
.home-page p { text-wrap: pretty; }
.home-page a { color: inherit; }
.home-hero { min-height: 710px; min-height: min(790px, 100svh); position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); align-items: center; gap: clamp(34px, 6vw, 100px); padding: 145px var(--home-gutter) 92px; background: var(--home-ink); }
.home-hero__copy { max-width: 650px; padding-bottom: 28px; position: relative; z-index: 1; }
.home-hero h1 { font-size: clamp(58px, 7.6vw, 112px); letter-spacing: -.065em; line-height: .91; margin: 0 0 28px; max-width: 8.6ch; }
.home-hero h1 span { color: var(--home-orange); }
.home-hero__intro { max-width: 41ch; color: #c2c7c8; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; margin-bottom: 32px; }
.home-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.home-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 0 22px; background: var(--home-orange); color: #17191a !important; border: 0; border-radius: 4px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .18s ease, transform .18s ease; }
.home-button:hover { background: #ff8543; transform: translateY(-2px); }
.home-button span { font-size: 20px; }
.home-text-link, .home-inline-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; font-weight: 600; transition: color .18s ease; }
.home-text-link:hover, .home-inline-link:hover { color: var(--home-orange); }
.home-hero__note { color: #9aa1a3; font-size: 14px; margin: 42px 0 0; }
.home-hero__work { display: block; position: relative; overflow: hidden; background: #252b2e; border-radius: 7px; text-decoration: none; }
.home-hero__work img { display: block; width: 100%; aspect-ratio: 1.52; object-fit: cover; object-position: top left; transition: transform .45s ease; }
.home-hero__work:hover img { transform: scale(1.025); }
.home-hero__work-caption { position: relative; z-index: 2; width: 100%; padding: 19px 24px; display: flex; justify-content: space-between; align-items: center; background: #202629; }
.home-hero__work-caption strong, .home-hero__work-caption small { display: block; }
.home-hero__work-caption strong { font-size: 20px; }
.home-hero__work-caption small { color: #d1d3d2; margin-top: 4px; font-size: 14px; }
.home-round-arrow { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; font-size: 20px; }
.home-hero__base { position: absolute; bottom: 0; left: var(--home-gutter); right: var(--home-gutter); display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; color: #aab0b2; font-size: 13px; }
.home-intro { padding: 100px var(--home-gutter) 108px; display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: start; background: var(--home-paper); color: var(--home-ink); }
.home-intro__body { max-width: 880px; }
.home-intro h2 { max-width: 17ch; font-size: clamp(36px, 4.5vw, 62px); line-height: 1.03; letter-spacing: -.045em; margin-bottom: 22px; }
.home-intro__body p { max-width: 58ch; color: var(--home-dark-muted); font-size: 18px; line-height: 1.65; margin-bottom: 0; }
.home-intro > .home-inline-link { justify-self: end; margin-top: 9px; }
.home-services { padding: 108px var(--home-gutter) 120px; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(44px, 9vw, 150px); background: #1a1f21; }
.home-section-heading { max-width: 500px; }
.home-section-heading h2, .home-process__heading h2, .home-faq h2, .home-contact h2 { font-size: clamp(38px, 5vw, 68px); letter-spacing: -.05em; line-height: 1.02; margin-bottom: 20px; }
.home-section-heading > p:last-child { max-width: 39ch; color: #b4babc; font-size: 17px; line-height: 1.6; }
.home-service-list { display: grid; gap: 10px; }
.home-service { display: grid; grid-template-columns: 1fr 35px; gap: 18px; align-items: center; padding: 20px 18px; background: #202629; border-radius: 4px; text-decoration: none; transition: padding .2s ease, color .2s ease, background-color .2s ease; }
.home-service:hover { padding-inline: 24px; color: var(--home-orange); background: #272f32; }
.home-service > span { min-width: 0; }
.home-service strong, .home-service small { display: block; }
.home-service strong { font-size: clamp(18px, 2vw, 24px); }
.home-service small { color: #aab0b2; font-size: 15px; line-height: 1.5; margin-top: 7px; }
.home-service__arrow { justify-self: end; font-size: 22px; }
.home-project { padding: 110px var(--home-gutter); display: grid; grid-template-columns: minmax(0, .8fr) minmax(300px, 1.2fr); gap: clamp(42px, 8vw, 128px); align-items: center; background: #e3e6e6; color: var(--home-ink); }
.home-project__image { background: #f8f6ef; overflow: hidden; border-radius: 4px; }
.home-project__image img { display: block; width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; object-position: top left; }
.home-project__copy h2 { font-size: clamp(38px, 5vw, 66px); letter-spacing: -.05em; line-height: 1; margin-bottom: 20px; }
.home-project__copy > p:not(.home-project__disclosure) { max-width: 40ch; color: #42484a; font-size: 18px; line-height: 1.6; margin-bottom: 28px; }
.home-project .home-inline-link { display: inline-block; }
.home-project__disclosure { margin: 42px 0 0; color: #42484a; font-size: 13px; line-height: 1.5; }
.home-project__disclosure a { color: #202628; }
.home-project-links { display: grid; gap: 0; border-top: 1px solid #b6bcbc; }
.home-project-links a { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 2px; color: #171b1d; border-bottom: 1px solid #b6bcbc; text-decoration: none; }
.home-project-links a:hover strong { color: #a93d0b; }
.home-project-links strong, .home-project-links small { display: block; }
.home-project-links strong { font-size: 19px; }
.home-project-links small { margin-top: 5px; color: #42484a; font-size: 14px; line-height: 1.45; }
.home-project-links a > span:last-child { font-size: 22px; }
.home-process { padding: 110px var(--home-gutter) 120px; background: #121618; }
.home-process__heading { max-width: 860px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 52px; align-items: end; }
.home-process__heading p { color: #abb1b2; font-size: 18px; line-height: 1.6; max-width: 38ch; margin: 0 0 25px; }
.home-process__steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 28px; margin: 74px 0 0; padding: 0; }
.home-process__steps li { padding-top: 0; }
.home-process__steps h3 { font-size: 22px; margin: 24px 0 9px; }
.home-process__steps p { color: #abb1b2; font-size: 16px; line-height: 1.55; margin: 0; }
.home-local { padding: 105px var(--home-gutter); display: grid; grid-template-columns: 1fr .65fr; gap: clamp(48px, 11vw, 180px); background: var(--home-paper); color: var(--home-ink); }
.home-local__copy { max-width: 740px; }
.home-local__copy h2 { max-width: 16ch; font-size: clamp(38px, 5.2vw, 70px); letter-spacing: -.05em; line-height: 1.01; margin-bottom: 25px; }
.home-local__copy > p { max-width: 52ch; color: #42484a; font-size: 18px; line-height: 1.65; margin-bottom: 28px; }
.home-local__copy .home-inline-link { display: inline-block; }
.home-local__contact { align-self: center; padding: 28px 0 0 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-style: normal; }
.home-local__contact address { font-size: 20px; line-height: 1.45; font-style: normal; margin-bottom: 4px; }
.home-local__contact a { color: #242a2c; text-decoration: none; font-size: 17px; }
.home-local__contact a:hover { color: #a93d0b; }
.home-local__contact .home-map-link { margin-top: 13px; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.home-local__photos { display: grid; grid-template-columns: 1.3fr .7fr; gap: 14px; margin-top: 38px; align-items: end; }
.home-local__photos figure { margin: 0; }
.home-local__photos img { display: block; width: 100%; height: 218px; object-fit: cover; }
.home-local__photos figure:nth-child(2) img { height: 168px; }
.home-local__photos figcaption, .home-photo-license { color: #42484a; font-size: 13px; line-height: 1.45; margin-top: 8px; }
.home-local__photos figcaption a, .home-photo-license a { color: #202628; }
.home-local__copy > .home-photo-license { margin-top: 10px; }
.home-faq { padding: 108px var(--home-gutter) 120px; display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; background: #1a1f21; }
.home-faq__list { display: grid; gap: 8px; }
.home-faq details { background: #23292b; border-radius: 4px; padding-inline: 20px; }
.home-faq summary { list-style: none; padding: 20px 30px 20px 0; position: relative; cursor: pointer; font-size: 20px; font-weight: 600; }
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after { content: "+"; position: absolute; right: 0; top: 20px; color: var(--home-orange); font-size: 25px; font-weight: 400; transition: transform .18s ease; }
.home-faq details[open] summary::after { transform: rotate(45deg); }
.home-faq details p { max-width: 62ch; padding: 0 28px 22px 0; color: #b5bbbc; font-size: 16px; line-height: 1.6; margin: 0; }
.home-contact { padding: 108px var(--home-gutter) 120px; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(44px, 10vw, 160px); background: #ff6a1a; color: #111416; }
.home-contact__copy { max-width: 560px; }
.home-contact h2 { max-width: 10ch; }
.home-contact__copy > p { color: #21130d; font-size: 18px; line-height: 1.6; margin-bottom: 25px; }
.home-contact__copy > a { display: block; width: fit-content; text-decoration: none; font-size: 17px; font-weight: 650; margin-top: 9px; }
.home-contact__copy > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-contact__form { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.home-contact__form > label:not(.home-consent):not(.home-honeypot) { margin-top: 11px; font-size: 14px; font-weight: 700; }
.home-contact__form input:not([type=checkbox]), .home-contact__form select, .home-contact__form textarea { width: 100%; border: 1px solid #6c341e; border-radius: 3px; padding: 13px 14px; background: #f3e6d9; color: #17191a; font: inherit; font-size: 16px; }
.home-contact__form textarea { resize: vertical; }
.home-contact__form input:focus, .home-contact__form select:focus, .home-contact__form textarea:focus { outline: 3px solid #17191a; outline-offset: 2px; }
.home-contact__form .home-button { align-self: flex-start; margin-top: 12px; background: #17191a; color: #fff !important; }
.home-contact__form .home-button:hover { background: #303638; }
.home-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-size: 14px; }
.home-consent input { margin-top: 4px; accent-color: #17191a; }
.home-consent a { color: #17191a; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.home-form-note { margin: 5px 0 0; color: #21130d; font-size: 13px; }
.home-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

body:has(.home-page) .footer { background: #0b0d0e; color: #ffffff; border: 0; }
body:has(.home-page) .footer-grid h4 { color: #ffffff; }
body:has(.home-page) .footer-grid a, body:has(.home-page) .footer-bottom { color: #aab0b2; }
body:has(.home-page) .footer-grid a:hover, body:has(.home-page) .footer-bottom a { color: var(--home-orange); }
body:has(.home-page) .footer a[style*="accent-light"] { color: var(--home-orange) !important; }
body:has(.home-page) .footer-grid > div:first-child p { color: #aab0b2 !important; }
body:has(.home-page) .footer-bottom { padding-inline: var(--home-gutter); border: 0; }
body:has(.home-page) .mobile-menu { border-left: 0; }
body:has(.home-page) :focus-visible { outline: 3px solid var(--home-orange); outline-offset: 4px; }
@media (max-width: 980px) {
  .home-hero { min-height: unset; grid-template-columns: 1fr 1fr; gap: 38px; padding-top: 132px; }
  .home-hero h1 { font-size: clamp(54px, 8.4vw, 82px); }
  .home-intro { grid-template-columns: 1fr; }
  .home-intro > .home-inline-link { justify-self: start; }
  .home-services { gap: 45px; }
  .home-process__steps { grid-template-columns: repeat(2,1fr); row-gap: 38px; }
}
@media (max-width: 680px) {
  .home-page { --home-gutter: 22px; }
  .home-hero { display: flex; flex-direction: column; align-items: stretch; gap: 30px; padding-top: 116px; padding-bottom: 85px; }
  .home-hero__copy { padding-bottom: 0; }
  .home-hero h1 { font-size: clamp(52px, 14.5vw, 72px); max-width: 9ch; margin-bottom: 20px; }
  .home-hero__intro { font-size: 17px; margin-bottom: 24px; }
  .home-actions { gap: 19px; }
  .home-button { min-height: 49px; padding-inline: 17px; }
  .home-hero__note { margin-top: 23px; }
  .home-hero__work { margin: 0 4px 0 0; }
  .home-hero__work img { aspect-ratio: auto; }
  .home-hero__work-caption { padding: 18px; }
  .home-hero__base { left: var(--home-gutter); right: var(--home-gutter); flex-direction: column; gap: 5px; font-size: 12px; }
  .home-intro, .home-services, .home-project, .home-process, .home-local, .home-faq, .home-contact { padding-top: 76px; padding-bottom: 80px; }
  .home-intro { display: block; }
  .home-intro h2 { font-size: clamp(37px, 10vw, 48px); }
  .home-intro__body p { font-size: 16px; }
  .home-intro > .home-inline-link { display: inline-block; margin-top: 24px; }
  .home-services { display: block; }
  .home-section-heading h2, .home-process__heading h2, .home-faq h2, .home-contact h2 { font-size: clamp(40px, 11vw, 54px); }
  .home-section-heading > p:last-child { font-size: 16px; }
  .home-service { grid-template-columns: 1fr 24px; gap: 12px; padding: 18px 12px; }
  .home-service strong { font-size: 18px; }
  .home-service small { font-size: 14px; }
  .home-project { display: flex; flex-direction: column; align-items: stretch; gap: 25px; }
  .home-project__copy h2 { font-size: 46px; }
  .home-project__copy > p:not(.home-project__disclosure) { font-size: 16px; }
  .home-project__disclosure { margin-top: 28px; }
  .home-process__heading { display: block; }
  .home-process__heading p { font-size: 16px; margin-bottom: 0; }
  .home-process__steps { margin-top: 42px; gap: 30px 18px; }
  .home-process__steps h3 { font-size: 19px; margin-top: 18px; }
  .home-process__steps p { font-size: 14px; }
  .home-local { display: block; }
  .home-local__copy h2 { font-size: clamp(39px, 10.5vw, 52px); }
  .home-local__copy > p { font-size: 16px; }
  .home-local__photos { grid-template-columns: 1fr; gap: 22px; margin-top: 30px; }
  .home-local__photos img, .home-local__photos figure:nth-child(2) img { height: auto; aspect-ratio: 1.6; }
  .home-local__contact { margin-top: 44px; }
  .home-faq { display: block; }
  .home-faq__list { margin-top: 30px; }
  .home-faq summary { font-size: 17px; padding-block: 20px; }
  .home-faq details p { font-size: 15px; }
  .home-contact { display: block; }
  .home-contact__copy { margin-bottom: 36px; }
  .home-contact__copy > p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-button, .home-hero__work img, .home-service, .home-faq summary::after { transition: none; }
  .home-button:hover, .home-service:hover { transform: none; padding-inline: initial; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .home-project__image img {
      animation: home-project-arrive linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 45%;
    }
    @keyframes home-project-arrive {
      from { transform: scale(1.035); }
      to { transform: scale(1); }
    }
  }
}
