/* ==========================================================================
   IOT — Instytut Optymalizacji Technologii
   Static rebuild of iotsmart.pl — design system
   ========================================================================== */

:root {
  /* Opt out of Chrome for Android "Auto Dark Theme". Without this, Chrome
     force-darkens the page: the header turns dark while the hamburger bars
     stay dark ink, so the button and the open menu become unreadable. */
  color-scheme: light;

  --blue:      #2a4a9c;
  --blue-dark: #1e3670;
  --green:     #41873a;
  --green-dark:#356f2f;
  --gold:      #a08a2e;
  --ink:       #1b2430;
  --body:      #3d4a5a;
  --muted:     #6a7787;
  --line:      #e5e9f0;
  --bg:        #ffffff;
  --bg-soft:   #f4f7fb;
  --bg-dark:   #16223a;
  --shadow-sm: 0 1px 3px rgba(20,34,60,.08), 0 1px 2px rgba(20,34,60,.06);
  --shadow-md: 0 6px 24px rgba(20,34,60,.10);
  --shadow-lg: 0 18px 50px rgba(20,34,60,.16);
  --radius:    14px;
  --radius-sm: 9px;
  --maxw:      1160px;
  --header-h:  76px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: clamp(48px, 7vw, 92px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #cdd7e6; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green); margin-bottom: .8rem;
}
.section--dark .eyebrow { color: #8fd08a; }

.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .8em 1.5em; border-radius: 999px;
  font-weight: 600; font-size: .98rem; cursor: pointer;
  border: 2px solid transparent; transition: all .18s ease; white-space: nowrap;
}
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: 138px; height: auto; }

.primary-nav .nav-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 4px;
}
.nav-list > li { position: relative; }
.nav-list a {
  display: flex; align-items: center; gap: .35em;
  padding: .6em .9em; border-radius: 8px;
  color: var(--ink); font-weight: 600; font-size: .97rem;
}
.nav-list a:hover { background: var(--bg-soft); color: var(--blue); }
.nav-list a.active { color: var(--blue); }
.nav-list a.active::after {
  content: ""; position: absolute; left: .9em; right: .9em; bottom: .35em; height: 2px;
  background: var(--green); border-radius: 2px;
}
.nav-cta { background: var(--blue); color: #fff !important; padding: .6em 1.25em !important; border-radius: 999px !important; }
.nav-cta:hover { background: var(--blue-dark); color: #fff !important; }
.nav-cta::after { display: none !important; }

.caret { width: 12px; height: 12px; transition: transform .2s ease; }
.has-dropdown.open > a .caret { transform: rotate(180deg); }

.dropdown {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 268px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s ease;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { padding: .6em .8em; border-radius: 7px; font-weight: 500; font-size: .93rem; }
.dropdown a::after { display: none !important; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px; padding: 0;
}
.nav-toggle span { display: block; height: 2px; width: 24px; margin: 0 auto; background: var(--ink); border-radius: 2px; transition: all .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero / cover sections
   ========================================================================== */
.cover {
  position: relative; display: flex; align-items: center;
  min-height: 460px; padding: 64px 0; color: #fff; overflow: hidden;
}
.cover { background-size: cover; background-position: center; background-repeat: no-repeat; }
.cover::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.cover > .container { position: relative; z-index: 2; }
.cover--blue::after   { background: linear-gradient(120deg, rgba(30,54,112,.82), rgba(42,74,156,.62)); }
.cover--green::after  { background: linear-gradient(120deg, rgba(53,111,47,.86), rgba(65,135,58,.60)); }
.cover--gold::after   { background: linear-gradient(120deg, rgba(94,82,25,.86), rgba(160,138,46,.60)); }
.cover--dark::after   { background: linear-gradient(120deg, rgba(16,26,48,.86), rgba(20,40,80,.66)); }

.hero { min-height: 50vh; padding: 46px 0; }
.hero-panel { max-width: 720px; }
.badge-pill {
  display: inline-flex; align-items: center; gap: .55em;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
  padding: .5em 1.1em; border-radius: 999px; font-size: .85rem; font-weight: 600;
  letter-spacing: .02em; margin-bottom: 1.1rem; backdrop-filter: blur(4px);
}
.hero h1 { color: #fff; margin-bottom: .6rem; text-shadow: 0 2px 18px rgba(0,0,0,.28); }
.hero p { color: rgba(255,255,255,.94); font-size: 1.14rem; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6rem; }

/* Cover heading "frame" (matches original translucent title blocks) */
.cover .frame-title {
  display: inline-block; background: rgba(42,74,156,.78); color: #fff;
  padding: .5em .8em; border-radius: 8px; text-align: center;
}
.cover--green .frame-title { background: rgba(53,111,47,.82); }
.cover--gold  .frame-title { background: rgba(120,104,32,.82); }
.cover .frame-text {
  background: rgba(42,74,156,.72); color: #fff; padding: 1.1em 1.3em; border-radius: 10px;
}
.cover--green .frame-text { background: rgba(53,111,47,.78); }
.cover--gold  .frame-text { background: rgba(120,104,32,.80); }
.cover h1, .cover h2, .cover h3 { color: #fff; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }

.section-head { max-width: 66ch; margin-bottom: 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .card-icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), #3a5cbf); margin-bottom: 18px;
}
.card .card-icon.green { background: linear-gradient(135deg, var(--green), #5aa64f); }
.card .card-icon.gold  { background: linear-gradient(135deg, var(--gold), #c4ab48); }
.card .card-icon img { width: 30px; height: 30px; filter: brightness(0) invert(1); }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }

/* feature card with image */
.feature { text-align: center; }
.feature img.feat-photo { border-radius: 12px; margin: 16px auto 0; box-shadow: var(--shadow-sm); }

/* info link cards (materiały informacyjne) */
.info-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  padding: 34px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; height: 100%;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-card img { width: 74px; height: 74px; object-fit: contain; }
.info-card h3 { color: var(--blue); margin: 0; font-size: 1.1rem; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px; }
.stat .num { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; color: var(--blue); line-height: 1; }
.section--dark .stat .num { color: #8fd08a; }
.stat .lbl { font-size: .92rem; color: var(--muted); margin-top: .4rem; }
.section--dark .stat .lbl { color: #9fb0c4; }

/* media */
.media-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); background: #000; }
.media-frame video, .media-frame iframe { display: block; width: 100%; aspect-ratio: 16/9; border: 0; }

.rounded { border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; }
.rounded img { width: 100%; }

/* list with checkmarks */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--green);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2 18.6 6.8z'/></svg>") center/16px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2 18.6 6.8z'/></svg>") center/16px no-repeat;
}

/* ---------- Project cards (portfolio) ---------- */
.project-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease; height: 100%;
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.project-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project-card:hover .thumb img { transform: scale(1.05); }
.project-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.project-card .tag { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: .5rem; }
.project-card h3 { font-size: 1.18rem; }
.project-card .more { margin-top: auto; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: .4em; padding-top: 10px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery a { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery a:hover img { transform: scale(1.06); }

/* ---------- Page banner (inner pages) ---------- */
.page-banner { background: linear-gradient(120deg, var(--bg-dark), #23386a); color: #fff; padding: clamp(48px,7vw,84px) 0; }
.page-banner h1 { color: #fff; margin-bottom: .3rem; }
.page-banner .crumbs { color: rgba(255,255,255,.7); font-size: .92rem; }
.page-banner .crumbs a { color: rgba(255,255,255,.9); }

/* ---------- Partners ---------- */
.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px; }
.partners img { max-height: 66px; width: auto; filter: grayscale(1); opacity: .7; transition: all .2s ease; }
.partners img:hover { filter: grayscale(0); opacity: 1; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { text-align: center; padding: 32px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.contact-card .ci { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; background: var(--bg-soft); }
.contact-card .ci img { width: 30px; height: 30px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card a { font-weight: 600; }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.map-frame iframe { display: block; width: 100%; height: 400px; border: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #0f1a2e; color: #9fb0c4; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr; gap: 36px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-logo { width: 118px; margin-bottom: 16px; background: #fff; padding: 9px 13px; border-radius: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #9fb0c4; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 0 0 .6rem; font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer-bottom p { margin: 0; font-size: .85rem; color: #6d7d92; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 820px) {
  /* backdrop-filter makes .site-header the containing block for any
     fixed-position descendant, which collapses the nav panel below to zero
     height. Drop it here so the panel positions against the viewport. */
  .site-header { backdrop-filter: none; background: #fff; }
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 auto; width: min(340px, 86vw);
    background: #fff; box-shadow: var(--shadow-lg); padding: 16px;
    transform: translateX(100%); transition: transform .28s ease; overflow-y: auto;
    border-left: 1px solid var(--line);
  }
  .primary-nav.open { transform: translateX(0); }
  .primary-nav .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { padding: .85em 1em; border-radius: 9px; }
  .nav-list a.active::after { display: none; }
  .nav-cta { justify-content: center; margin-top: 8px; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: 2px 0 10px 14px;
    padding: 2px 0 2px 8px; min-width: 0;
  }
  .caret { display: none; }
  .nav-list > li { border-bottom: 1px solid var(--bg-soft); }
  .split { grid-template-columns: 1fr; }
  .split.reverse > *:first-child { order: 2; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-3, .grid-2, .gallery, .contact-cards { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
}

/* ==========================================================================
   Skip link, focus, prose (inner pages), careers/docs
   ========================================================================== */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff; padding: .7em 1.1em; border-radius: 0 0 8px 0; z-index: 200; font-weight: 600; }
.skip-link:focus { left: 0; color: #fff; }
:focus-visible { outline: 3px solid rgba(42,74,156,.5); outline-offset: 2px; border-radius: 4px; }
main { scroll-margin-top: var(--header-h); }

.prose { max-width: 820px; margin: 0 auto; }
.prose.wide { max-width: 1000px; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.7rem; color: var(--blue); }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose figure { margin: 1.9rem 0; }
.prose figure img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }
.prose figcaption { font-size: .88rem; color: var(--muted); text-align: center; margin-top: .6rem; }
.prose blockquote { margin: 1.6rem 0; padding: 1rem 1.4rem; border-left: 4px solid var(--green); background: var(--bg-soft); border-radius: 0 10px 10px 0; color: var(--ink); font-size: 1.05rem; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.6rem 0; }

.callout { display: flex; gap: 16px; padding: 20px 22px; background: var(--bg-soft); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0; margin: 1.8rem 0; }
.callout .ci { flex-shrink: 0; font-size: 1.4rem; line-height: 1.4; }
.callout p:last-child { margin-bottom: 0; }

.info-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,4vw,52px); align-items: center; margin: 2.6rem 0; }
.info-split img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }
.info-split h3 { margin-top: 0; }
@media (max-width: 760px) { .info-split { grid-template-columns: 1fr; } .info-split.reverse > *:first-child { order: 2; } }

/* Careers / document downloads */
.doc-list { display: grid; gap: 16px; margin: 8px 0 0; }
.doc-card { display: flex; align-items: center; gap: 18px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.doc-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.doc-card .doc-ic { flex-shrink: 0; width: 46px; height: 56px; border-radius: 8px; background: linear-gradient(135deg,var(--blue),#3a5cbf); color: #fff; display: grid; place-items: center; font-size: .64rem; font-weight: 800; letter-spacing: .06em; }
.doc-card .doc-meta { flex: 1; min-width: 0; }
.doc-card h3 { margin: 0 0 .2rem; font-size: 1.06rem; }
.doc-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.doc-card .btn { flex-shrink: 0; }
@media (max-width: 560px) { .doc-card { flex-wrap: wrap; } .doc-card .btn { width: 100%; justify-content: center; } }

/* Embedded PDF postings */
.pdf-embed { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 32px; }
.pdf-embed .pe-head { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.pdf-embed .pe-head .pe-title { display: flex; align-items: center; gap: 14px; }
.pdf-embed .pe-head .doc-ic { width: 40px; height: 50px; }
.pdf-embed .pe-head h2, .pdf-embed .pe-head h3 { margin: 0; font-size: 1.14rem; }
.pdf-embed .pe-head .pe-sub { margin: 2px 0 0; font-size: .86rem; color: var(--muted); }
.pdf-embed .pe-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pdf-embed .pe-actions .btn { padding: .55em 1.1em; font-size: .9rem; }
.pdf-embed .pe-frame { width: 100%; height: min(82vh, 920px); border: 0; display: block; background: #525659; }
.pdf-embed .pe-fallback { padding: 30px 22px; color: var(--muted); text-align: center; }
@media (max-width: 560px) { .pdf-embed .pe-frame { height: 72vh; } .pdf-embed .pe-actions .btn { flex: 1; justify-content: center; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
