@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #F7F7F3;
  --ink: #17221C;
  --dark: #172C21;
  --light: #EDF0EA;
  --line: #DDE3DA;
  --muted: #59645C;
  --accent: #A5DB03;
  --white: #FFFFFF;
  --shell: 1180px;
  --gutter: 40px;
  --sans: "Manrope", Arial, sans-serif;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--paper); }
body { min-width: 320px; margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--ink); background: var(--accent); }
.section-shell { width: min(var(--shell), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { text-wrap: balance; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 15px; transform: translateY(-160%); border-radius: 8px; color: var(--ink); background: var(--accent); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[id] { scroll-margin-top: 98px; }

/* Shared sticky header, language control and navigation */
.site-header { position: sticky; z-index: 40; top: 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-row { display: grid; width: min(1280px, calc(100% - var(--gutter) * 2)); height: 76px; margin: auto; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.header-brand { display: inline-flex; width: max-content; align-items: center; }
.header-brand img { width: 84px; height: 70px; object-fit: contain; }
.desktop-nav { display: flex; height: 100%; align-items: center; gap: 34px; }
.desktop-nav a { position: relative; display: inline-flex; height: 100%; align-items: center; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.desktop-nav a::after { position: absolute; right: 0; bottom: 17px; left: 0; height: 2px; transform: scaleX(0); transform-origin: left; background: var(--accent); content: ""; transition: transform .2s ease; }
.desktop-nav a:hover::after, .desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; justify-self: end; align-items: center; gap: 14px; }
.language-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
.language-switch button { min-width: 38px; min-height: 34px; padding: 0 8px; border: 0; border-radius: 6px; color: var(--muted); background: transparent; cursor: pointer; font-size: 11px; font-weight: 800; }
.language-switch button.is-active { color: var(--paper); background: var(--dark); }
.button { display: inline-flex; min-height: 50px; padding: 0 20px; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: var(--radius); text-align: center; text-decoration: none; font-size: 14px; font-weight: 700; line-height: 1.25; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.button-primary { color: var(--ink); background: var(--accent); }
.button-primary:hover { background: #92c400; }
.button-secondary { border-color: var(--ink); color: var(--ink); background: transparent; }
.button-secondary:hover { border-color: var(--dark); color: var(--paper); background: var(--dark); }
.header-estimate { min-height: 46px; padding-inline: 16px; font-size: 13px; }
.menu-button, .mobile-nav { display: none; }

.eyebrow { margin: 0 0 13px; color: var(--dark); font-size: 13px; font-weight: 800; line-height: 1.35; letter-spacing: .075em; }
.section-heading { max-width: 690px; }
.section-heading h2, .page-bottom-cta h2 { margin: 0; font-size: 40px; font-weight: 700; line-height: 1.15; letter-spacing: -.035em; }
.section-description { max-width: 48ch; margin: 16px 0 0; color: var(--muted); }
.lead { max-width: 56ch; margin: 20px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }

/* Home hero */
.home-hero { display: grid; min-height: 535px; padding-block: 62px; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; }
.home-hero-copy { max-width: 650px; }
.home-hero h1, .page-intro h1 { max-width: 13ch; margin: 0; font-size: 60px; font-weight: 700; line-height: 1.08; letter-spacing: -.045em; }
.home-hero .lead { max-width: 53ch; }
.button-row { display: flex; margin-top: 28px; flex-wrap: wrap; gap: 12px; }
.home-hero-logo { display: grid; min-height: 360px; place-items: center; }
.home-hero-logo img { width: clamp(300px, 29vw, 360px); height: auto; object-fit: contain; }

/* Numbered service preview */
.home-services, .steps-section, .faq-section { padding-block: 88px; }
.service-preview-list { display: grid; margin-top: 34px; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.service-preview-row { display: grid; min-height: 124px; padding: 22px 22px 22px 0; grid-template-columns: 42px minmax(0, 1fr) 26px; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); text-decoration: none; }
.service-preview-row:nth-child(odd) { margin-right: 24px; }
.service-preview-row:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.service-number { align-self: start; padding-top: 3px; color: var(--muted); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.service-preview-copy { display: grid; gap: 5px; }
.service-preview-copy strong { font-size: 21px; font-weight: 700; line-height: 1.3; }
.service-preview-copy small { max-width: 45ch; color: var(--muted); font-size: 14px; line-height: 1.5; }
.row-arrow { color: var(--dark); font-size: 20px; transition: transform .2s ease; }
.service-preview-row:hover .row-arrow { transform: translateX(4px); }
.text-link { display: inline-flex; margin-top: 25px; align-items: center; gap: 10px; color: var(--ink); font-size: 14px; font-weight: 800; text-decoration: none; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

/* Featured photography and project galleries */
.featured-work { padding-block: 88px; color: var(--paper); background: var(--dark); }
.section-heading-dark .eyebrow { color: var(--accent); }
.section-heading-dark h2 { color: var(--paper); }
.featured-grid { display: grid; margin-top: 35px; grid-template-columns: 1.1fr .9fr; align-items: start; gap: 24px; }
.featured-project, .project-card { min-width: 0; margin: 0; }
.project-image-button { display: block; width: 100%; padding: 0; overflow: hidden; border: 0; border-radius: var(--radius); background: #d7ddd5; cursor: zoom-in; }
.featured-project .project-image-button { aspect-ratio: 16 / 9; }
.project-image-button img { width: 100%; height: 100%; object-fit: cover; transition: transform .22s ease; }
.featured-project:nth-child(1) img { object-position: center 52%; }
.featured-project:nth-child(2) img { object-position: center 53%; }
.project-image-button:hover img { transform: scale(1.03); }
.featured-project figcaption, .project-card figcaption { padding-top: 12px; font-size: 14px; font-weight: 700; }
.text-link-on-dark { color: var(--paper); }
.page-intro { padding-block: 78px 46px; }
.page-intro h1 { max-width: 17ch; }
.page-intro .lead { margin-top: 17px; }
.project-gallery { padding-bottom: 88px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 24px; }
.project-card .project-image-button { aspect-ratio: 16 / 9; }
.project-card:nth-child(1) img { object-position: center 52%; }
.project-card:nth-child(2) img { object-position: center 53%; }
.project-image-flooring img { object-position: center 72%; }
.project-image-drywall img { object-position: center 57%; }
.project-card figcaption { border-bottom: 1px solid var(--line); padding-bottom: 14px; }

/* How to start and confirmed local service area */
.steps-list { position: relative; display: grid; margin: 38px 0 0; padding: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; }
.steps-list::before { position: absolute; top: 7px; right: 16.6%; left: 16.6%; height: 1px; background: var(--line); content: ""; }
.steps-list li { position: relative; padding: 0 30px 0 0; }
.steps-list li + li { padding-left: 28px; }
.step-number { position: relative; display: block; width: 16px; height: 16px; margin-bottom: 24px; color: var(--ink); background: var(--accent); font-size: 0; }
.steps-list h3 { max-width: 24ch; margin: 0; font-size: 23px; font-weight: 700; line-height: 1.25; }
.steps-list p { max-width: 36ch; margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.service-areas { padding-block: 68px; background: var(--light); }
.areas-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.areas-layout .section-heading h2 { max-width: 16ch; }
.area-list { display: grid; margin: 0; padding: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; border-top: 1px solid #cbd4c9; }
.area-list li { padding: 14px 0; border-bottom: 1px solid #cbd4c9; font-size: 20px; font-weight: 700; }
.area-list li:nth-child(even) { padding-left: 20px; border-left: 1px solid #cbd4c9; }

/* Native accessible FAQ disclosure rows */
.faq-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; }
.faq-section .section-heading h2 { max-width: 10ch; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; padding: 19px 44px 19px 0; cursor: pointer; font-size: 17px; font-weight: 700; line-height: 1.45; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; top: 17px; right: 4px; color: var(--dark); content: "+"; font-size: 23px; font-weight: 500; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { max-width: 65ch; margin: -2px 40px 20px 0; color: var(--muted); font-size: 15px; }

/* Estimate request form */
.estimate-section { padding-block: 88px; color: var(--paper); background: var(--dark); }
.estimate-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 60px; }
.estimate-copy .eyebrow { color: var(--accent); }
.estimate-copy h2 { max-width: 12ch; margin: 0; font-size: 40px; font-weight: 700; line-height: 1.15; letter-spacing: -.035em; }
.estimate-copy > p:not(.eyebrow) { max-width: 42ch; margin: 17px 0 0; color: #d6ded8; }
.estimate-phone { display: inline-flex; margin-top: 25px; color: var(--paper); font-size: 18px; font-weight: 800; text-decoration: none; }
.estimate-form { padding: 30px; border-radius: var(--radius); color: var(--ink); background: var(--white); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 16px; }
.form-field { min-width: 0; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; line-height: 1.4; }
.form-field .optional { margin-left: 4px; color: var(--muted); font-size: 12px; font-weight: 500; }
.form-field input, .form-field select, .form-field textarea { display: block; width: 100%; min-height: 50px; padding: 11px 13px; border: 1px solid #bec8be; border-radius: 9px; outline: 0; color: var(--ink); background: var(--white); font-size: 15px; }
.form-field textarea { min-height: 106px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #69736b; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--dark); box-shadow: 0 0 0 3px rgba(165,219,3,.35); }
.form-field :user-invalid { border-color: #8d2929; }
.form-submit { width: 100%; margin-top: 20px; cursor: pointer; }
.form-submit span:last-child { font-size: 18px; }
.form-note { margin: 13px 0 0; color: #566158; font-size: 13px; line-height: 1.5; }
.form-status { min-height: 1.4em; margin: 8px 0 0; color: var(--dark); font-size: 13px; font-weight: 600; }

/* Service page editorial list and shared page-end CTA */
.service-details { padding-bottom: 88px; }
.service-detail { display: grid; min-height: 166px; padding: 30px 32px; grid-template-columns: minmax(0, 1fr) 190px; align-items: center; gap: 28px; border-top: 1px solid var(--line); background: var(--paper); scroll-margin-top: 95px; }
.service-detail:last-child { border-bottom: 1px solid var(--line); }
.service-detail-alt { background: var(--white); }
.service-detail-info { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 18px; }
.service-detail-number { align-self: start; padding-top: 3px; color: var(--muted); font-size: 14px; font-weight: 700; }
.service-detail-copy h2 { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.25; }
.service-detail-copy p { max-width: 58ch; margin: 9px 0 0; color: var(--muted); font-size: 15px; }
.service-detail-link { display: inline-flex; min-height: 46px; align-items: center; justify-content: flex-end; gap: 10px; color: var(--ink); font-size: 14px; font-weight: 800; text-decoration: none; }
.service-detail-link span { transition: transform .2s ease; }
.service-detail-link:hover span { transform: translateX(4px); }
.page-bottom-cta { padding-block: 62px; color: var(--paper); background: var(--dark); }
.page-bottom-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.page-bottom-cta .eyebrow { margin-bottom: 9px; color: var(--accent); }
.page-bottom-cta h2 { max-width: 22ch; color: var(--paper); }
.page-bottom-cta p:not(.eyebrow) { margin: 10px 0 0; color: #d6ded8; }
.page-bottom-cta .button { flex: 0 0 auto; }

/* Shared footer */
.site-footer { padding-block: 42px 18px; color: var(--paper); background: #101b14; }
.footer-main { display: grid; padding-bottom: 30px; grid-template-columns: 1.2fr .6fr 1fr; gap: 50px; }
.footer-brand-block img { width: 104px; height: 96px; object-fit: contain; }
.footer-brand-block p { max-width: 37ch; margin: 12px 0 0; color: #d1dbd3; font-size: 14px; }
.footer-nav, .footer-areas { display: flex; align-items: flex-start; flex-direction: column; gap: 8px; }
.footer-nav h2, .footer-areas h2 { margin: 0 0 6px; color: var(--paper); font-size: 14px; font-weight: 800; }
.footer-nav a, .footer-areas a { color: #d1dbd3; font-size: 14px; text-decoration: none; }
.footer-nav a:hover, .footer-areas a:hover { color: var(--accent); }
.footer-areas p { margin: 0 0 9px; color: #d1dbd3; font-size: 14px; }
.footer-areas .footer-contact-link { margin-top: 2px; }
.footer-bottom { display: flex; padding-top: 16px; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(255,255,255,.2); color: #bec9c0; font-size: 12px; }

/* Keyboard and touch accessible lightbox */
.lightbox { width: min(1100px, calc(100vw - 28px)); max-width: none; max-height: calc(100vh - 28px); padding: 14px; overflow: visible; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); color: var(--paper); background: var(--dark); }
.lightbox::backdrop { background: rgba(12,19,14,.91); }
.lightbox-toolbar { display: flex; min-height: 42px; align-items: center; justify-content: space-between; color: #d5dfd7; font-size: 13px; }
.lightbox-close, .lightbox-control { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: var(--paper); background: rgba(255,255,255,.08); cursor: pointer; }
.lightbox-close { font-size: 28px; line-height: 1; }
.lightbox-stage { display: grid; min-height: 180px; grid-template-columns: 52px minmax(0, 1fr) 52px; align-items: center; gap: 10px; touch-action: pan-y; }
.lightbox-image { width: 100%; max-height: min(76vh, 800px); object-fit: contain; }
.lightbox-control { width: 46px; height: 46px; font-size: 31px; line-height: 1; }
.lightbox-caption { margin: 12px 58px 0; color: #d5dfd7; text-align: center; font-size: 14px; }

/* Subtle reveal as content enters the viewport */
html.has-scroll-reveal [data-reveal] { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .62s cubic-bezier(.2,.65,.3,1) var(--reveal-delay, 0ms), transform .62s cubic-bezier(.2,.65,.3,1) var(--reveal-delay, 0ms); }
html.has-scroll-reveal [data-reveal].is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

@media (max-width: 900px) {
  :root { --gutter: 30px; }
  .header-row { grid-template-columns: auto 1fr auto; gap: 18px; }
  .desktop-nav { gap: 20px; }
  .desktop-nav a { font-size: 13px; }
  .header-actions { gap: 9px; }
  .header-estimate { padding-inline: 12px; font-size: 12px; }
  .home-hero { min-height: 470px; grid-template-columns: 1.1fr .9fr; gap: 25px; }
  .home-hero h1, .page-intro h1 { font-size: 52px; }
  .home-hero-logo img { width: min(100%, 330px); }
  .faq-section { grid-template-columns: .85fr 1.15fr; gap: 32px; }
  .estimate-layout { grid-template-columns: .8fr 1.2fr; gap: 34px; }
  .estimate-form { padding: 24px; }
  .service-detail { grid-template-columns: minmax(0, 1fr) 165px; gap: 18px; }
  .footer-main { gap: 28px; }
}

@media (max-width: 700px) {
  :root { --gutter: 20px; }
  html { scroll-padding-top: 78px; }
  [id] { scroll-margin-top: 78px; }
  .header-row { height: 68px; padding-inline: var(--gutter); grid-template-columns: 1fr auto; gap: 12px; }
  .header-brand img { width: 76px; height: 64px; }
  .desktop-nav, .header-estimate { display: none; }
  .header-actions { gap: 8px; }
  .language-switch button { min-width: 35px; min-height: 36px; }
  .menu-button { display: grid; width: 42px; height: 42px; padding: 9px; align-content: center; justify-items: center; gap: 6px; border: 1px solid #aab5a9; border-radius: 9px; background: transparent; cursor: pointer; }
  .menu-button span { width: 21px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s ease; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-nav:not([hidden]) { display: grid; padding: 5px var(--gutter) 18px; gap: 0; border-top: 1px solid var(--line); background: var(--paper); }
  .mobile-nav a { display: flex; min-height: 48px; align-items: center; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 650; text-decoration: none; }
  .mobile-nav a[aria-current="page"] { color: var(--dark); }
  .mobile-nav .mobile-nav-cta { min-height: 48px; margin-top: 12px; padding-inline: 16px; justify-content: space-between; border: 0; border-radius: var(--radius); color: var(--ink); background: var(--accent); }
  .home-hero { min-height: auto; padding-block: 24px 56px; grid-template-columns: 1fr; gap: 8px; }
  .home-hero-logo { min-height: 0; order: -1; }
  .home-hero-logo img { width: clamp(205px, 57vw, 260px); }
  .home-hero-copy { padding-top: 12px; }
  .eyebrow { margin-bottom: 11px; font-size: 11px; }
  .home-hero h1, .page-intro h1 { max-width: 17ch; font-size: 40px; line-height: 1.12; }
  .home-hero .lead, .lead { margin-top: 14px; font-size: 16px; line-height: 1.6; }
  .button-row { display: grid; margin-top: 22px; grid-template-columns: 1fr; gap: 10px; }
  .button { min-height: 50px; }
  .home-services, .steps-section, .faq-section { padding-block: 56px; }
  .section-heading h2, .page-bottom-cta h2, .estimate-copy h2 { font-size: 30px; line-height: 1.2; }
  .service-preview-list { margin-top: 24px; grid-template-columns: 1fr; }
  .service-preview-row { min-height: 102px; padding: 17px 0; grid-template-columns: 34px minmax(0, 1fr) 24px; gap: 10px; }
  .service-preview-row:nth-child(odd) { margin-right: 0; }
  .service-preview-row:nth-child(even) { padding-left: 0; border-left: 0; }
  .service-preview-copy strong { font-size: 19px; }
  .service-preview-copy small { font-size: 14px; }
  .text-link { margin-top: 19px; }
  .featured-work { padding-block: 56px; }
  .featured-grid { margin-top: 24px; grid-template-columns: 1fr; gap: 24px; }
  .featured-project .project-image-button, .project-card .project-image-button { aspect-ratio: 16 / 9; }
  .featured-project figcaption, .project-card figcaption { padding-top: 10px; }
  .steps-list { margin-top: 26px; grid-template-columns: 1fr; }
  .steps-list::before { top: 8px; bottom: 12px; left: 7px; width: 1px; height: auto; }
  .steps-list li, .steps-list li + li { min-height: 116px; padding: 0 0 24px 35px; }
  .step-number { position: absolute; top: 0; left: 0; width: 15px; height: 15px; margin: 0; }
  .steps-list h3 { font-size: 21px; line-height: 1.3; }
  .steps-list p { margin-top: 6px; font-size: 15px; }
  .service-areas { padding-block: 56px; }
  .areas-layout { grid-template-columns: 1fr; gap: 24px; }
  .area-list li { padding-block: 11px; font-size: 18px; }
  .faq-section { grid-template-columns: 1fr; gap: 23px; }
  .faq-section .section-heading h2 { max-width: 18ch; }
  .faq-item summary { padding-block: 16px; font-size: 16px; }
  .faq-item summary::after { top: 14px; }
  .faq-item p { margin: 0 28px 17px 0; font-size: 15px; }
  .estimate-section { padding-block: 58px; }
  .estimate-layout { grid-template-columns: 1fr; gap: 24px; }
  .estimate-copy h2 { max-width: 16ch; }
  .estimate-copy > p:not(.eyebrow) { margin-top: 12px; font-size: 16px; }
  .estimate-phone { margin-top: 14px; font-size: 17px; }
  .estimate-form { padding: 20px 16px; }
  .form-grid { grid-template-columns: 1fr; gap: 15px; }
  .form-field-wide { grid-column: auto; }
  .form-field input, .form-field select, .form-field textarea { min-height: 50px; font-size: 16px; }
  .form-field textarea { min-height: 112px; }
  .form-submit { min-height: 52px; }
  .page-intro { padding-block: 54px 32px; }
  .service-details { padding-bottom: 56px; }
  .service-detail { min-height: 0; padding: 22px 2px; grid-template-columns: 1fr; gap: 5px; }
  .service-detail-info { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
  .service-detail-number { grid-row: 1 / span 2; }
  .service-detail-copy h2 { font-size: 21px; line-height: 1.3; }
  .service-detail-copy p { margin-top: 6px; font-size: 15px; }
  .service-detail-link { min-height: 42px; margin-left: 46px; justify-content: flex-start; font-size: 13px; }
  .page-bottom-cta { padding-block: 48px; }
  .page-bottom-cta-inner { align-items: flex-start; flex-direction: column; gap: 21px; }
  .page-bottom-cta h2 { max-width: 21ch; }
  .project-gallery { padding-bottom: 56px; }
  .project-grid { grid-template-columns: 1fr; gap: 27px; }
  .project-card figcaption { font-size: 14px; }
  .footer-main { padding-bottom: 23px; grid-template-columns: 1fr 1fr; gap: 27px 18px; }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-brand-block img { width: 92px; height: 84px; }
  .footer-brand-block p { max-width: 42ch; font-size: 14px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; font-size: 12px; }
  .lightbox { width: calc(100vw - 18px); max-height: calc(100vh - 18px); padding: 10px; }
  .lightbox-stage { grid-template-columns: 38px minmax(0, 1fr) 38px; gap: 5px; }
  .lightbox-control { width: 36px; height: 42px; border-radius: 10px; font-size: 28px; }
  .lightbox-image { max-height: 72vh; }
  .lightbox-caption { margin-inline: 5px; }
}

@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .home-hero h1, .page-intro h1 { font-size: 38px; }
  .language-switch button { min-width: 32px; padding-inline: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html.has-scroll-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
}
