:root {
  --ink: #f8f1e7;
  --muted: #c6b8a7;
  --dark: #1c150f;
  --green: #2b2418;
  --green-2: #403321;
  --gold: #d49b5b;
  --gold-light: #f0ca94;
  --line: rgba(224, 176, 112, .28);
  --max: 1180px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background-color: #171513; background-image: url('../images/fundal-terasa-1.jpeg'); background-position: center center; background-size: cover; background-repeat: no-repeat; background-attachment: fixed; font-family: "Manrope", sans-serif; line-height: 1.7; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 120px 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 10px 16px; color: #08150f; background: var(--gold-light); border-radius: 4px; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid transparent; transition: .3s ease; }
.site-header.scrolled { background: rgba(30, 22, 15, .91); border-color: var(--line); backdrop-filter: blur(18px); }
.header-inner { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { flex: 0 0 54px; width: 54px; height: 54px; overflow: hidden; border: 1px solid rgba(231,244,233,.28); border-radius: 10px; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 28px rgba(0,0,0,.28); }
.brand-mark img, .footer-inner .brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { color: #edf6ee; font-size: 16px; font-weight: 600; letter-spacing: .18em; line-height: 1.1; }
.brand-name small { display: block; margin-top: 5px; color: #b9d4bd; font-size: 10px; letter-spacing: .42em; }
.main-nav { display: flex; align-items: center; gap: clamp(15px, 2vw, 30px); margin-left: auto; }
.main-nav a { position: relative; padding: 8px 0; color: #d8dfda; font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: var(--gold); transition: right .25s ease; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.language-switch { display: flex; align-items: center; gap: 6px; color: #76857b; font-size: 12px; }
.lang { padding: 5px; color: #849188; background: none; border: 0; cursor: pointer; }
.lang.active { color: var(--gold-light); }
.menu-toggle { display: none; width: 43px; height: 43px; padding: 10px; background: transparent; border: 1px solid var(--line); border-radius: 50%; }
.menu-toggle span { display: block; height: 1px; margin: 5px 0; background: var(--gold-light); transition: .25s ease; }

.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; background: #21170f url('../images/terasa-trei.jpeg') center 54% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 20, 12, .92) 0%, rgba(47, 32, 18, .72) 48%, rgba(53, 35, 18, .35) 100%), linear-gradient(180deg, rgba(41, 28, 16, .30), rgba(30, 19, 10, .62)); }
.hero-grid { position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 76px 76px; mask-image: linear-gradient(to bottom, transparent, #000 25%, transparent); }
.hero-glow { position: absolute; width: 420px; height: 420px; right: 4vw; bottom: -200px; border: 1px solid var(--line); border-radius: 50%; box-shadow: 0 0 120px rgba(215,184,112,.08); }
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .62fr); gap: clamp(34px, 6vw, 86px); align-items: center; padding-top: 110px; padding-bottom: 70px; }
.hero-copy-block h1 { max-width: 790px; font-size: clamp(48px, 5.7vw, 82px); }
.hero-brand-visual, .company-brand-visual { margin: 0; overflow: hidden; border: 1px solid rgba(240,202,148,.38); background: #1b1917; box-shadow: 0 28px 80px rgba(0,0,0,.42); }
.hero-brand-visual { justify-self: end; width: min(100%, 430px); transform: rotate(1.2deg); }
.hero-brand-visual img, .company-brand-visual img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.eyebrow { margin: 0 0 20px; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: "Playfair Display", serif; font-weight: 500; line-height: 1.08; text-wrap: balance; }
h1 { max-width: 880px; font-size: clamp(52px, 7.2vw, 100px); }
h2 { font-size: clamp(38px, 4.7vw, 66px); }
.hero-copy { max-width: 670px; margin: 30px 0 0; color: #b9c5bd; font-size: clamp(16px, 1.4vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 25px; border: 1px solid var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .04em; transition: .25s ease; }
.button-primary { color: #07110d; background: var(--gold); }
.button-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.button-ghost:hover { color: #07110d; background: var(--gold); }
.scroll-hint { position: absolute; z-index: 3; left: 50%; bottom: 24px; width: 26px; height: 42px; border: 1px solid rgba(255,255,255,.35); border-radius: 20px; }
.scroll-hint span { position: absolute; left: 50%; top: 9px; width: 3px; height: 7px; background: var(--gold); border-radius: 3px; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 15px); } }

.about { background: #282017; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(50px, 10vw, 140px); align-items: start; }
.about-copy { padding-top: 48px; color: var(--muted); font-size: 17px; }
.about-copy p:first-child { margin-top: 0; }

.experience { background: #1c150f; border-top: 1px solid rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.04); }
.experience-intro { display: grid; grid-template-columns: 1fr .72fr; gap: clamp(45px, 8vw, 110px); align-items: end; }
.experience-intro > p { margin: 0 0 8px; color: var(--muted); font-size: 17px; }
.company-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 58px; }
.company-card { min-height: 250px; padding: 30px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(69,52,32,.78), rgba(31,23,16,.88)); transition: .3s ease; }
.company-card:hover { transform: translateY(-5px); border-color: rgba(224,176,112,.62); background: linear-gradient(145deg, rgba(87,63,36,.82), rgba(36,26,17,.92)); }
.company-card.featured { box-shadow: inset 4px 0 0 var(--gold); }
.company-card span { color: var(--gold); font-family: "Playfair Display", serif; font-size: 18px; }
.company-card h3 { margin: 58px 0 12px; color: var(--gold-light); font-family: "Playfair Display", serif; font-size: clamp(21px, 2vw, 28px); font-weight: 500; line-height: 1.15; }
.company-card p { margin: 0; color: var(--muted); font-size: 14px; }
.company-card b { display: block; margin-top: 24px; color: var(--gold-light); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.experience-note { margin: 28px 0 0; padding-left: 18px; color: #c4cec7; border-left: 2px solid var(--gold); }

.project { background: linear-gradient(180deg, #2a2117, #1c150f); }
.project-card { display: grid; grid-template-columns: 1.22fr .78fr; min-height: 620px; overflow: hidden; border: 1px solid var(--line); background: #2b2117; box-shadow: var(--shadow); }
.project-visual { position: relative; min-height: 520px; background: linear-gradient(140deg, rgba(20,19,18,.05), rgba(20,19,18,.34)), url('../images/proiect-principal.jpeg') center/cover no-repeat, #1b1917; }
.visual-label { position: absolute; left: 28px; bottom: 26px; display: none; padding: 12px 16px; color: #ece7e1; background: rgba(20,19,18,.75); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.project-visual.missing .visual-label { display: grid; }
.visual-label small { color: var(--muted); }
.project-info { align-self: center; padding: clamp(38px, 5vw, 72px); }
.project-info > p:not(.eyebrow) { margin: 28px 0 0; color: var(--muted); }
.project-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin: 42px 0 0; padding-top: 30px; border-top: 1px solid var(--line); }
.project-stats div { display: grid; gap: 3px; }
.project-stats dt { color: var(--gold-light); font-family: "Playfair Display", serif; font-size: 29px; }
.project-stats dd { margin: 0; color: #829087; font-size: 11px; text-transform: uppercase; }

.apartments { background: #1c150f; }
.section-heading { max-width: 790px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 65px; }
.feature { min-height: 300px; padding: 34px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(70,52,32,.66), rgba(31,23,16,.62)); transition: .3s ease; }
.feature:hover { transform: translateY(-7px); border-color: rgba(215,184,112,.55); }
.feature span { color: var(--gold); font-family: "Playfair Display", serif; font-size: 19px; }
.feature h3 { margin: 85px 0 12px; font-family: "Playfair Display", serif; font-size: 27px; font-weight: 500; line-height: 1.2; }
.feature p { margin: 0; color: var(--muted); }

.gallery { background: #282017; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 330px; gap: 18px; margin-top: 55px; }
.gallery-item { position: relative; min-height: 0; margin: 0; overflow: hidden; background: #1b1917; border: 1px solid var(--line); }
.gallery-item-wide { grid-column: 1 / -1; min-height: 520px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item figcaption { position: absolute; left: 20px; bottom: 18px; padding: 8px 12px; color: #f2eee1; background: rgba(20,19,18,.72); font-size: 12px; border: 1px solid var(--line); }
.gallery-item.missing::after { content: "Adaugă randarea reală"; position: absolute; inset: 0; display: grid; place-items: center; color: #bcb4ab; background: radial-gradient(circle at center, #302b26, #171513); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

.contact { background: linear-gradient(135deg, #49341f, #1c150f); }
.contact-box { display: grid; grid-template-columns: 1fr .55fr; gap: 80px; align-items: end; padding-block: 70px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-details { display: grid; gap: 12px; }
.contact-details a { color: var(--gold-light); font-size: 19px; }
.contact-details p { margin: 8px 0 0; color: var(--muted); }

.site-footer { padding: 30px 0; background: #130e0a; border-top: 1px solid rgba(255,255,255,.06); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #748178; font-size: 11px; }
.footer-inner img { width: 120px; height: 54px; object-fit: contain; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-inner a { color: var(--gold); }

/* Company detail pages */
.company-page { background: radial-gradient(circle at 82% 12%, rgba(181,123,62,.16), transparent 34%), var(--dark); }
.company-page .site-header { background: rgba(29,21,14,.92); border-color: var(--line); backdrop-filter: blur(18px); }
.company-hero { min-height: 72svh; display: grid; align-items: end; padding: 160px 0 86px; background: linear-gradient(135deg, rgba(73,53,31,.58), rgba(28,21,15,.96)); border-bottom: 1px solid var(--line); }
.company-hero h1 { max-width: 1000px; font-size: clamp(46px, 7vw, 88px); }
.company-hero .hero-copy { max-width: 760px; }
.company-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(310px, .62fr); gap: clamp(36px, 7vw, 100px); align-items: center; }
.company-hero-grid h1 { font-size: clamp(44px, 5.5vw, 78px); }
.company-brand-visual { justify-self: end; width: min(100%, 440px); }
.company-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(35px, 8vw, 110px); align-items: start; }
.legal-card { padding: clamp(28px, 5vw, 52px); background: linear-gradient(145deg, rgba(75,55,34,.72), rgba(34,25,17,.84)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.legal-list { display: grid; gap: 0; margin: 30px 0 0; }
.legal-list div { display: grid; grid-template-columns: 140px 1fr; gap: 18px; padding: 17px 0; border-top: 1px solid var(--line); }
.legal-list dt { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.legal-list dd { margin: 0; color: var(--ink); }
.company-copy { color: var(--muted); font-size: 17px; }
.company-copy h2 { margin-bottom: 28px; color: var(--ink); }
.contact-panel { margin-top: 32px; padding: 26px; border-left: 3px solid var(--gold); background: rgba(255,255,255,.035); }
.contact-panel h3 { margin: 0 0 14px; color: var(--gold-light); font-family: "Playfair Display", serif; font-size: 26px; font-weight: 500; }
.contact-panel a { display: block; margin-top: 8px; color: var(--gold-light); }
.contact-panel p { margin: 8px 0 0; }
.back-link { display: inline-flex; margin-top: 34px; color: var(--gold-light); font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

/* Full-page brand background and glass treatment */
.brand-page { position: relative; min-height: 100%; background-color: #171513; background-image: url('../images/fundal-terasa-1.jpeg') !important; background-position: center center; background-size: cover; background-repeat: no-repeat; background-attachment: fixed; isolation: isolate; }
.brand-page::before { content: none; }
.brand-page::after { content: none; }
.brand-page > main, .brand-page > .site-footer { position: relative; z-index: 1; }
.site-background { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: #171513; }
.site-background span { position: absolute; inset: -2%; opacity: 0; background-position: center center; background-size: cover; background-repeat: no-repeat; transform: scale(1.03); animation: terrace-background 18s infinite ease-in-out; }
.site-background span:nth-child(1) { background-image: url('../images/fundal-terasa-1.jpeg'); animation-delay: 0s; }
.site-background span:nth-child(2) { background-image: url('../images/fundal-terasa-2.jpeg'); animation-delay: 6s; }
.site-background span:nth-child(3) { background-image: url('../images/fundal-terasa-3.jpeg'); animation-delay: 12s; }
@keyframes terrace-background { 0%, 28% { opacity: 1; } 34%, 94% { opacity: 0; } 100% { opacity: 1; } }
.brand-page .hero { background: transparent; }
.brand-page .hero::before { background: linear-gradient(90deg, rgba(16,15,14,.48) 0%, rgba(20,18,16,.18) 50%, rgba(18,17,16,.04) 100%), linear-gradient(180deg, rgba(15,14,13,.03), rgba(18,16,14,.16)); }
.brand-page .about, .brand-page .experience, .brand-page .project, .brand-page .apartments, .brand-page .gallery, .brand-page .contact { background: transparent; }
.brand-page .section > .container { padding: clamp(28px, 4.5vw, 58px); border: 1px solid rgba(255,255,255,.28); border-radius: 24px; background: linear-gradient(135deg, rgba(34,32,30,.25), rgba(20,19,18,.20)); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 28px 70px rgba(0,0,0,.22); backdrop-filter: blur(9px) saturate(1.05); -webkit-backdrop-filter: blur(9px) saturate(1.05); }
.brand-page .company-card, .brand-page .feature, .brand-page .legal-card, .brand-page .project-card { background: linear-gradient(145deg, rgba(52,50,47,.50), rgba(22,21,20,.56)); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: inset 0 1px 0 rgba(255,255,255,.10), var(--shadow); }
.brand-page .site-header.scrolled, .brand-page.company-page .site-header { background: rgba(22,21,20,.60); border-color: rgba(255,255,255,.18); backdrop-filter: blur(24px) saturate(1.05); -webkit-backdrop-filter: blur(24px) saturate(1.05); }
.brand-page .site-footer { background: rgba(18,17,16,.68); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.brand-page .company-hero { background: linear-gradient(135deg, rgba(28,27,25,.24), rgba(18,17,16,.30)); }

/* Legal pages and consent */
.legal-page-main { padding: 150px 0 90px; }
.legal-document { padding: clamp(30px, 5vw, 68px); border: 1px solid rgba(255,255,255,.24); border-radius: 24px; background: rgba(24,23,22,.58); box-shadow: var(--shadow); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.legal-document h1 { font-size: clamp(44px, 7vw, 82px); }
.legal-document h2 { margin-top: 48px; font-size: clamp(28px, 4vw, 44px); }
.legal-document h3 { margin: 30px 0 10px; color: var(--gold-light); font-family: "Playfair Display", serif; font-size: 24px; font-weight: 500; }
.legal-document p, .legal-document li { color: #d7d1c9; font-size: 16px; }
.legal-document a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.legal-document ul { padding-left: 22px; }
.legal-document table { width: 100%; margin-top: 24px; border-collapse: collapse; }
.legal-document th, .legal-document td { padding: 14px; border: 1px solid rgba(255,255,255,.16); text-align: left; vertical-align: top; }
.legal-document th { color: var(--gold-light); background: rgba(255,255,255,.05); }
.legal-update { color: var(--muted); font-size: 13px; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
.legal-links a, .legal-links button { padding: 0; color: #bfb7ad; background: none; border: 0; cursor: pointer; font: inherit; }
.legal-links a:hover, .legal-links button:hover { color: var(--gold-light); }
.cookie-banner { position: fixed; z-index: 500; right: 18px; bottom: 18px; width: min(520px, calc(100% - 36px)); padding: 24px; border: 1px solid rgba(255,255,255,.25); border-radius: 18px; color: var(--ink); background: rgba(26,24,22,.90); box-shadow: 0 24px 70px rgba(0,0,0,.48); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-family: "Playfair Display", serif; font-size: 28px; }
.cookie-banner p { margin: 12px 0 0; color: #d1cbc3; font-size: 14px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cookie-actions button { min-height: 44px; padding: 0 17px; border: 1px solid var(--gold); color: var(--ink); background: transparent; cursor: pointer; font-weight: 700; }
.cookie-actions .cookie-accept { color: #17130f; background: var(--gold); }
.analytics-status { margin-top: 28px; padding: 22px; border-left: 3px solid var(--gold); background: rgba(255,255,255,.05); }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .header-inner { height: 78px; }
  .brand-mark { flex-basis: 48px; width: 48px; height: 48px; }
  .brand-name { font-size: 13px; }
  .menu-toggle { display: block; order: 3; }
  .language-switch { margin-left: auto; }
  .main-nav { position: fixed; inset: 78px 0 0; display: grid; align-content: center; justify-items: center; gap: 16px; margin: 0; padding: 30px; background: rgba(20,19,18,.98); opacity: 0; pointer-events: none; transform: translateY(-15px); transition: .25s ease; }
  .main-nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .main-nav a { font-size: 18px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero-content, .split, .project-card, .contact-box, .company-layout, .company-hero-grid { grid-template-columns: 1fr; }
  .hero-brand-visual, .company-brand-visual { justify-self: start; width: min(100%, 420px); }
  .experience-intro { grid-template-columns: 1fr; }
  .company-grid { grid-template-columns: 1fr; }
  .company-card { min-height: 190px; }
  .company-card h3 { margin-top: 38px; }
  .project-info { order: -1; }
  .project-visual { min-height: 430px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 230px; }
  .feature h3 { margin-top: 50px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 280px; }
  .gallery-item-wide { min-height: 430px; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 82px 0; }
  .hero { min-height: 100svh; place-items: start; background-position: 58% center; }
  .hero-content { padding-top: 145px; padding-bottom: 80px; }
  .hero-brand-visual { width: min(100%, 330px); margin-top: 8px; transform: none; }
  h1 { font-size: clamp(44px, 14vw, 64px); }
  .hero-copy { margin-top: 22px; color: #d1dad4; }
  .hero-actions { display: grid; margin-top: 30px; }
  .button { width: 100%; }
  .about-copy { padding-top: 0; }
  .project-card { min-height: auto; }
  .project-visual { min-height: 300px; background-position: center; }
  .project-stats { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; gap: 14px; margin-top: 34px; }
  .gallery-item-wide { grid-column: auto; min-height: 280px; }
  .contact-box { gap: 40px; padding-inline: 8px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .brand-name small { letter-spacing: .32em; }
  .company-hero { min-height: 64svh; padding: 130px 0 65px; }
  .company-brand-visual { width: min(100%, 330px); margin-top: 12px; }
  .brand-page .section > .container { padding: 24px 20px; border-radius: 18px; }
  .legal-list div { grid-template-columns: 1fr; gap: 5px; }
  .legal-page-main { padding: 118px 0 60px; }
  .legal-document { padding: 26px 20px; border-radius: 18px; }
  .legal-document table { display: block; overflow-x: auto; }
  .cookie-banner { right: 10px; bottom: 10px; width: calc(100% - 20px); padding: 20px; }
  .cookie-actions { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .site-background span { animation: none; opacity: 0; }
  .site-background span:first-child { opacity: 1; }
}
