/* Up2You — identidade visual, responsividade e componentes legais */
:root {
  --plum: #32163b;
  --plum-deep: #231129;
  --magenta: #a90bb5;
  --magenta-dark: #7c1389;
  --pink: #e887eb;
  --cream: #f4f0eb;
  --paper: #fffaf6;
  --muted: #6c5c70;
  --line: rgba(50, 22, 59, .16);
  --display: 'Sora', sans-serif;
  --sans: 'Manrope', Arial, sans-serif;
  --shadow: 0 18px 50px rgba(35, 17, 41, .15);
  --radius-lg: 28px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--plum-deep); font-family: var(--sans); }
body.lightbox-open { overflow: hidden; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--pink); color: var(--plum); }

/* Cabeçalho */
.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  display: flex;
  width: min(calc(100% - 32px), 1408px);
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  background: rgba(247, 242, 236, .93);
  box-shadow: 0 14px 40px rgba(35, 17, 41, .12);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
  transition: box-shadow .25s, transform .25s;
}
.site-header.scrolled { box-shadow: 0 18px 50px rgba(35, 17, 41, .2); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { display: block; width: 98px; height: 48px; object-fit: contain; mix-blend-mode: multiply; }
.brand span { padding-left: 12px; border-left: 1px solid rgba(35, 17, 41, .15); color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.desktop-nav a, .mobile-nav a { transition: color .2s, background .2s; }
.desktop-nav a:hover { color: var(--magenta); }
.menu-toggle { display: none; padding: 8px; border: 0; background: transparent; color: var(--plum-deep); font-size: 24px; line-height: 1; }
.mobile-nav { display: none; }

/* Elementos recorrentes */
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--pink); font-size: 10px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; }
.eyebrow i { display: block; width: 40px; height: 1px; background: currentColor; }
.light-eyebrow { color: var(--magenta); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s cubic-bezier(.23, 1, .32, 1), transform .55s cubic-bezier(.23, 1, .32, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Hero */
.hero { position: relative; min-height: clamp(720px, 100svh, 920px); overflow: hidden; background: var(--plum); color: #f8f1e9; }
.hero-slides, .hero-shade, .hero-glow { position: absolute; inset: 0; }
.hero-slides { overflow: hidden; }
.hero-slide { position: absolute; inset: 0; background-position: center; background-size: cover; opacity: 0; transform: scale(1.04); transition: opacity .85s ease, transform 5s ease; }
.hero-slide.is-active { opacity: .82; transform: scale(1); }
.hero-shade { background: linear-gradient(90deg, rgba(40, 20, 45, .96) 0%, rgba(40, 20, 45, .78) 34%, rgba(40, 20, 45, .16) 72%, rgba(40, 20, 45, .4) 100%); }
.hero-glow { inset: auto -120px 100px auto; width: 420px; height: 420px; border-radius: 50%; background: rgba(169, 11, 181, .28); filter: blur(120px); }
.hero-inner { position: relative; z-index: 1; display: flex; min-height: inherit; max-width: 1440px; margin: auto; padding: clamp(150px, 19vh, 200px) clamp(20px, 4.5vw, 64px) clamp(40px, 7vw, 92px); flex-direction: column; justify-content: flex-end; }
.hero h1, .portfolio h2, .about h2, .budget h2, .services h2 { max-width: 980px; margin: 28px 0 0; font-family: var(--display); font-size: clamp(4rem, 10.5vw, 9.7rem); font-weight: 600; line-height: .86; letter-spacing: -.065em; }
.hero h1 em, .portfolio h2 em, .about h2 em, .budget h2 em { color: var(--pink); font-weight: 500; }
.hero-bottom { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-top: 42px; }
.hero-bottom p { max-width: 390px; margin: 0; color: rgba(238, 225, 237, .82); font-size: 18px; line-height: 1.6; }
.scroll-note { display: flex; justify-content: space-between; gap: 24px; margin-top: 72px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .5); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; }
.scroll-note b { margin-left: 10px; color: var(--pink); font-size: 16px; }
.hero-controls { position: absolute; right: clamp(20px, 4.5vw, 64px); bottom: clamp(40px, 7vw, 92px); z-index: 2; display: flex; align-items: center; gap: 18px; }
.hero-controls button { border: 0; background: transparent; color: #fff; font: 700 16px var(--sans); }
.hero-prev, .hero-next { width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, .35) !important; border-radius: 50%; transition: background .2s, border-color .2s; }
.hero-prev:hover, .hero-next:hover { border-color: var(--pink) !important; background: var(--magenta); }
.hero-dots { display: flex; align-items: center; gap: 8px; }
.hero-dots button { width: 7px; height: 7px; padding: 0; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.hero-dots button.is-active { width: 28px; border-radius: 999px; background: var(--pink); }

/* Seções */
.section-light, .section-dark { padding: clamp(84px, 10vw, 144px) clamp(20px, 4.5vw, 64px); }
.section-light { background: var(--cream); }
.section-dark { background: var(--plum); color: #f7f0e8; }
.section-grid { display: grid; max-width: 1440px; margin: auto; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.5fr); gap: clamp(48px, 7vw, 96px); }
.services h2 { color: var(--plum); font-size: clamp(3.8rem, 6vw, 6.5rem); }
.service-list { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-list article { display: grid; grid-template-columns: 64px minmax(150px, .8fr) minmax(220px, 1fr); gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); transition: color .2s; }
.service-list article:last-child { border-bottom: 0; }
.service-list article:hover h3 { color: var(--magenta); }
.service-no { color: var(--magenta); font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.service-no::before { content: '01'; }
.service-list article:nth-child(2) .service-no::before { content: '02'; }
.service-list article:nth-child(3) .service-no::before { content: '03'; }
.service-list h3 { margin: 0; color: var(--plum); font-family: var(--display); font-size: clamp(26px, 2.5vw, 34px); font-weight: 600; transition: color .2s; }
.service-list p { max-width: 350px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* Portfólio */
.portfolio-head, .full-gallery-heading { display: flex; max-width: 1440px; margin: auto; align-items: end; justify-content: space-between; gap: 40px; }
.portfolio-head h2 { font-size: clamp(4rem, 8vw, 8rem); }
.portfolio-head > p, .full-gallery-heading > p { max-width: 320px; margin: 0; color: rgba(255, 255, 255, .6); font-size: 14px; line-height: 1.7; }
.portfolio .gallery { display: grid; max-width: 1440px; margin: 64px auto 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.gallery figure { position: relative; min-height: clamp(280px, 34vw, 500px); overflow: hidden; margin: 0; background: #1b0c20; }
.gallery img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .5s, opacity .5s; }
.gallery figure:hover img { transform: scale(1.04); opacity: 1; }
.gallery figure::after { position: absolute; inset: 0; background: linear-gradient(to top, rgba(27, 12, 32, .9), transparent 65%); content: ''; pointer-events: none; }
.gallery figcaption { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: clamp(16px, 2vw, 24px); }
.gallery figcaption span { display: block; color: var(--pink); font-size: 10px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.gallery figcaption strong { display: block; margin-top: 8px; font-family: var(--display); font-size: clamp(20px, 2vw, 26px); line-height: .98; }
.text-cta { display: flex; width: max-content; max-width: 100%; align-items: center; gap: 12px; margin: 48px auto 0; padding-bottom: 8px; border-bottom: 1px solid var(--pink); color: var(--pink); font-size: 10px; font-weight: 800; letter-spacing: .2em; text-align: center; text-transform: uppercase; }
.text-cta:hover { color: #fff; }
.text-cta span { font-size: 16px; }
.full-gallery-heading { margin-top: clamp(80px, 9vw, 112px); padding-top: 48px; border-top: 1px solid rgba(255, 255, 255, .16); }
.full-gallery-heading h3 { margin: 22px 0 0; font-family: var(--display); font-size: clamp(3.5rem, 6vw, 6.5rem); font-weight: 600; line-height: .88; letter-spacing: -.06em; }
.full-gallery-heading h3 em { color: var(--pink); font-weight: 500; }
.gallery-full { display: grid; max-width: 1440px; margin: 48px auto 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(6px, 1.2vw, 16px); }
.gallery-full-item { position: relative; aspect-ratio: 1 / 1.15; overflow: hidden; margin: 0; border-radius: 12px; background: #1b0c20; cursor: zoom-in; }
.gallery-full-item:nth-child(5n + 1), .gallery-full-item:nth-child(9n + 3) { aspect-ratio: 1 / 1.3; }
.gallery-full-item img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .86; transition: transform .45s, opacity .45s, filter .45s; }
.gallery-full-item:hover img { transform: scale(1.045); opacity: 1; filter: saturate(1.08); }
.gallery-full-item::after { position: absolute; inset: 0; background: linear-gradient(to top, rgba(27, 12, 32, .58), transparent 45%); content: ''; pointer-events: none; }

/* Sobre */
.about { display: grid; max-width: 1440px; margin: auto; padding: clamp(84px, 10vw, 144px) clamp(20px, 4.5vw, 64px); align-items: center; grid-template-columns: minmax(280px, 1fr) minmax(0, 1.1fr); gap: clamp(56px, 8vw, 112px); }
.about-photo { position: relative; width: min(100%, 460px); margin: auto; }
.about-photo::before { position: absolute; z-index: 0; right: -16px; bottom: -18px; width: 100%; height: 100%; border: 1px solid rgba(169, 11, 181, .4); content: ''; }
.about-photo img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 2px; object-fit: cover; }
.corner { position: absolute; z-index: 2; top: -20px; left: -20px; width: 100px; height: 100px; border-top: 1px solid var(--magenta); border-left: 1px solid var(--magenta); }
.seal { position: absolute; z-index: 3; right: -35px; bottom: -30px; display: grid; width: 124px; height: 124px; padding: 12px; border-radius: 50%; place-items: center; background: var(--magenta); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.about h2 { color: var(--plum); font-size: clamp(4.2rem, 8vw, 8rem); }
.about-copy > p:not(.eyebrow) { max-width: 530px; margin: 32px 0 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.about-copy > p:nth-of-type(3) { margin-top: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.tags span { padding: 12px 16px; border: 1px solid rgba(50, 22, 59, .2); border-radius: 999px; color: var(--plum); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

/* Formulário */
.budget { position: relative; overflow: hidden; padding: clamp(88px, 9vw, 128px) clamp(20px, 4.5vw, 64px); background: var(--magenta); color: #fff; }
.mark-watermark { position: absolute; top: -100px; right: -70px; width: min(440px, 42vw); opacity: .12; filter: brightness(0) invert(1); }
.budget-grid { position: relative; z-index: 1; display: grid; max-width: 1440px; margin: auto; grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr); gap: clamp(56px, 8vw, 112px); }
.budget-grid > * { min-width: 0; }
.budget h2 { font-size: clamp(4.2rem, 8vw, 8rem); }
.budget h2 em { color: var(--plum); }
.budget-intro { width: 100%; max-width: 430px; margin: 34px 0 0; overflow-wrap: anywhere; color: rgba(255, 255, 255, .8); font-size: 16px; line-height: 1.7; }
.budget-form { padding: clamp(24px, 3vw, 32px); background: var(--plum); }
.budget-form label { display: block; margin-bottom: 22px; color: rgba(255, 255, 255, .6); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.budget-form input, .budget-form textarea { display: block; width: 100%; margin-top: 10px; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .2); outline: 0; background: transparent; color: #fff; font-size: 15px; letter-spacing: 0; text-transform: none; }
.budget-form textarea { min-height: 84px; resize: vertical; }
.budget-form input:focus, .budget-form textarea:focus { border-color: var(--pink); }
.budget-form input::placeholder, .budget-form textarea::placeholder { color: rgba(255, 255, 255, .35); }
.budget-form button { display: flex; width: 100%; align-items: center; justify-content: space-between; margin-top: 8px; padding: 16px 20px; border: 0; background: var(--pink); color: var(--plum); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-align: left; text-transform: uppercase; transition: background .2s; }
.budget-form button:hover { background: #fff; }
.budget-form button:disabled { cursor: wait; opacity: .65; }
.budget-form button span { font-size: 17px; }
.form-status { min-height: 16px; margin: 12px 0 0; color: var(--pink); font-size: 11px; }
.form-alert { margin-bottom: 16px; padding: 12px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; }
.form-alert.success { border: 1px solid #52c41a; background: rgba(82, 196, 26, .15); color: #b7eb8f; }
.form-alert.error { border: 1px solid #ff4d4f; background: rgba(255, 77, 79, .15); color: #ffb3b3; }
.form-privacy-note { margin: 16px 0 0; color: rgba(255, 255, 255, .55); font-size: 10px; line-height: 1.6; }
.form-privacy-note a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }

/* Lightbox */
.lightbox { position: fixed; z-index: 80; inset: 0; display: flex; align-items: center; justify-content: center; gap: 22px; padding: 42px; background: rgba(24, 8, 30, .96); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox figure { display: flex; max-width: min(86vw, 1100px); max-height: 88vh; margin: 0; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { display: block; max-width: 100%; max-height: 78vh; object-fit: contain; box-shadow: 0 24px 80px rgba(0, 0, 0, .35); }
.lightbox figcaption { color: rgba(255, 255, 255, .68); font: 700 10px var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.lightbox-close, .lightbox-prev, .lightbox-next { display: grid; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .32); border-radius: 50%; place-items: center; background: transparent; color: #fff; font: 500 24px var(--sans); transition: background .2s, border-color .2s; }
.lightbox-close { position: absolute; top: 24px; right: 28px; font-size: 30px; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { border-color: var(--pink); background: var(--magenta); }

/* Rodapé */
.site-footer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 1fr); gap: 40px; padding: 44px clamp(20px, 4.5vw, 64px) 26px; background: var(--plum-deep); color: rgba(255, 255, 255, .6); }
.site-footer > div { max-width: 1440px; }
.site-footer img { display: block; width: 112px; height: 58px; object-fit: contain; mix-blend-mode: screen; }
.site-footer p { max-width: 300px; margin: 15px 0 0; font-size: 12px; line-height: 1.7; }
.footer-meta { display: flex; align-items: end; justify-content: end; font-size: 10px; letter-spacing: .13em; text-align: right; text-transform: uppercase; }
.footer-meta strong { color: #fff; }
.footer-meta span { margin-top: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; color: var(--pink); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.footer-bottom .cookie-settings { padding: 0; border: 0; background: transparent; color: var(--pink); font-size: inherit; letter-spacing: inherit; text-transform: inherit; }
.footer-bottom .cookie-settings:hover { color: #fff; }

/* Banner LGPD / cookies */
.cookie-consent { position: fixed; z-index: 90; right: 20px; bottom: 20px; left: 20px; display: none; max-width: 1080px; margin: 0 auto; padding: 22px 24px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 20px; background: rgba(35, 17, 41, .97); box-shadow: 0 20px 60px rgba(20, 8, 25, .35); color: #fff; }
.cookie-consent.is-visible { display: block; }
.cookie-consent[hidden] { display: none; }
.cookie-consent__summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cookie-consent__summary > div { min-width: 0; }
.cookie-consent h2, .cookie-preferences h2 { margin: 0; color: var(--pink); font-family: var(--display); font-size: 23px; }
.cookie-title-mobile, .cookie-description-mobile, .cookie-label-mobile { display: none; }
.cookie-consent p { max-width: 650px; margin: 8px 0 0; overflow-wrap: anywhere; color: rgba(255, 255, 255, .72); font-size: 12px; line-height: 1.6; }
.cookie-consent a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }
.cookie-consent__legal { display: none; }
.cookie-consent .cookie-inline-button { padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--pink); font-size: inherit; font-weight: 700; letter-spacing: 0; text-decoration: underline; text-transform: none; }
.cookie-consent__actions { display: flex; flex-shrink: 0; flex-wrap: wrap; gap: 8px; justify-content: end; }
.cookie-consent button { padding: 11px 14px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; background: transparent; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cookie-consent button:hover { border-color: var(--pink); }
.cookie-consent button.cookie-primary { border-color: var(--pink); background: var(--pink); color: var(--plum); }
.cookie-preferences { display: none; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); }
.cookie-consent.is-configuring .cookie-preferences { display: block; }
.cookie-preferences__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.cookie-preferences__row:last-of-type { border-bottom: 0; }
.cookie-preferences__row strong { display: block; font-size: 12px; }
.cookie-preferences__row small { display: block; margin-top: 4px; color: rgba(255, 255, 255, .58); font-size: 11px; line-height: 1.5; }
.cookie-preferences input { width: 18px; height: 18px; accent-color: var(--pink); }
.cookie-preferences input:disabled { opacity: .7; }
.cookie-preferences .cookie-save { margin-top: 12px; }

/* Páginas legais */
.legal-page { background: var(--cream); }
.legal-main { max-width: 1120px; margin: 0 auto; padding: 176px clamp(20px, 4.5vw, 64px) 96px; }
.legal-hero { padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { max-width: 900px; margin: 24px 0 0; color: var(--plum); font-family: var(--display); font-size: clamp(3.2rem, 7vw, 7rem); font-weight: 600; line-height: .94; letter-spacing: -.06em; }
.legal-hero h1 em { color: var(--magenta); font-style: normal; }
.legal-hero p { max-width: 700px; margin: 24px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.legal-content { max-width: 820px; padding-top: 44px; }
.legal-content h2 { margin: 42px 0 12px; color: var(--plum); font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.05; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin: 26px 0 8px; color: var(--plum); font-size: 15px; }
.legal-content p, .legal-content li { color: #55465a; font-size: 15px; line-height: 1.8; }
.legal-content ul { margin: 12px 0 0; padding-left: 22px; }
.legal-content a { color: var(--magenta-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal-note { margin: 28px 0; padding: 18px 20px; border-left: 3px solid var(--magenta); background: rgba(169, 11, 181, .07); color: var(--muted); font-size: 13px; line-height: 1.7; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 44px; color: var(--magenta); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

@media (max-width: 1050px) {
  .desktop-nav { gap: 16px; }
  .service-list article { grid-template-columns: 46px minmax(130px, .8fr) minmax(170px, 1fr); }
  .site-header { min-height: 62px; }
}

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { position: fixed; z-index: 19; top: 82px; left: 16px; right: 16px; display: none; flex-direction: column; gap: 2px; padding: 12px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 24px; background: rgba(247, 242, 236, .98); box-shadow: 0 14px 40px rgba(35, 17, 41, .14); color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a { padding: 14px; border-radius: 15px; }
  .mobile-nav a:hover { background: #fff; color: var(--magenta); }
  .hero-inner { padding-top: 150px; }
  .section-grid, .about, .budget-grid { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .about { padding-top: 104px; padding-bottom: 104px; }
  .portfolio-head, .full-gallery-heading { display: block; }
  .portfolio-head > p, .full-gallery-heading > p { margin-top: 28px; }
  .portfolio .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery figure { min-height: clamp(280px, 46vw, 480px); }
  .gallery-full { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .full-gallery-heading { margin-top: 80px; }
  .footer-meta { align-items: start; justify-content: start; text-align: left; }
  .cookie-consent__summary { align-items: stretch; flex-direction: column; }
  .cookie-consent__summary > div { width: 100%; }
  .cookie-consent__actions { justify-content: start; }
}

@media (max-width: 640px) {
  .site-header { top: 10px; width: calc(100% - 20px); min-height: 58px; padding: 7px 12px; }
  .brand img { width: 82px; height: 42px; }
  .brand span { display: none; }
  .mobile-nav { top: 76px; left: 10px; right: 10px; }
  .hero, .hero-inner { min-height: 760px; }
  .hero-inner { padding: 130px 20px 36px; }
  .hero h1 { max-width: 100%; font-size: clamp(3.8rem, 18vw, 6.8rem); }
  .hero-bottom { display: block; margin-top: 34px; }
  .hero-bottom p { font-size: 15px; }
  .scroll-note { margin-top: 56px; font-size: 8px; }
  .scroll-note span:last-child { display: none; }
  .hero-controls { right: 20px; bottom: 34px; gap: 10px; }
  .hero-controls button { font-size: 14px; }
  .hero-prev, .hero-next { width: 30px; height: 30px; }
  .section-light, .section-dark { padding: 84px 20px; }
  .services h2, .about h2 { font-size: clamp(3.8rem, 17vw, 6.2rem); }
  .service-list article { grid-template-columns: 38px 1fr; gap: 9px; padding: 24px 0; }
  .service-list h3 { font-size: 28px; }
  .service-list p { grid-column: 2; font-size: 13px; }
  .portfolio .gallery { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 42px; }
  .gallery figure { min-height: 240px; }
  .gallery figcaption { padding: 15px; }
  .gallery figcaption strong { font-size: 20px; }
  .gallery figcaption span { font-size: 8px; }
  .text-cta { font-size: 9px; letter-spacing: .14em; }
  .full-gallery-heading h3 { font-size: clamp(3.4rem, 15vw, 5.7rem); }
  .gallery-full { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 34px; }
  .about-photo { width: calc(100% - 20px); margin-left: 8px; }
  .about-photo::before { right: -10px; bottom: -12px; }
  .corner { top: -12px; left: -12px; width: 76px; height: 76px; }
  .seal { right: -12px; bottom: -18px; width: 98px; height: 98px; font-size: 9px; }
  .about-copy > p:not(.eyebrow) { font-size: 14px; }
  .budget h2 { font-size: clamp(3.9rem, 17vw, 6.3rem); }
  .budget h2, .budget-intro { max-width: 100%; }
  .budget-form { padding: 24px; }
  .mark-watermark { width: 260px; }
  .site-footer { display: block; padding: 36px 20px 24px; }
  .footer-meta { margin-top: 30px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; margin-top: 30px; }
  .cookie-consent { right: 0; bottom: 0; left: 0; max-height: min(54svh, 320px); overflow-y: auto; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-right: 0; border-bottom: 0; border-left: 0; border-radius: 18px 18px 0 0; }
  .cookie-consent.is-configuring { max-height: min(78svh, 520px); }
  .cookie-consent__summary { gap: 9px; }
  .cookie-consent h2 { font-size: 18px; line-height: 1; }
  .cookie-title-full, .cookie-description-full, .cookie-label-full { display: none; }
  .cookie-title-mobile, .cookie-description-mobile, .cookie-label-mobile { display: inline; }
  .cookie-consent p { max-width: none; margin-top: 5px; font-size: 11px; line-height: 1.35; }
  .cookie-consent .cookie-consent__legal { display: block; margin-top: 4px; font-size: 10px; line-height: 1.2; }
  .cookie-consent__actions { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .cookie-consent button { width: 100%; min-height: 36px; padding: 8px 6px; font-size: 8px; letter-spacing: .03em; line-height: 1.1; }
  .cookie-consent button.cookie-primary { grid-column: auto; }
  .cookie-consent .cookie-inline-button { width: auto; min-height: 0; padding: 0; font-size: inherit; line-height: inherit; }
  .cookie-preferences { margin-top: 12px; padding-top: 12px; }
  .cookie-preferences__row { align-items: flex-start; gap: 12px; }
  .cookie-preferences__row small { max-width: 280px; }
  .cookie-preferences .cookie-save { margin-top: 12px; }
  .lightbox { gap: 8px; padding: 20px 10px; }
  .lightbox-close { top: 12px; right: 14px; }
  .lightbox-prev, .lightbox-next { width: 34px; height: 34px; font-size: 18px; }
  .lightbox img { max-width: 78vw; max-height: 72vh; }
  .legal-main { padding-top: 132px; padding-bottom: 72px; }
  .legal-hero h1 { font-size: clamp(3rem, 15vw, 5.2rem); }
  .legal-content p, .legal-content li { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
