/* Atomic Time – strona główna. */
.atm-home { background: #fff; }
.atm-wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; box-sizing: border-box; }
.atm-sec { padding: 3.6rem 0; }
.atm-sec:nth-of-type(even) { background: var(--atm-bg); }
.atm-head { margin-bottom: 1.6rem; max-width: 760px; }
.atm-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); margin: 0 0 .4rem; }
.atm-head h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: .55rem; background: linear-gradient(90deg, var(--atm-or) 0 70%, var(--atm-graf) 70%); }
.atm-head p { margin: .6rem 0 0; color: var(--atm-steel); }
.atm-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; max-width: none; flex-wrap: wrap; }
.atm-note { font-size: .86rem; color: var(--atm-steel); }
.atm-noimg { display: block; width: 100%; height: 100%; min-height: 90px; background: repeating-conic-gradient(from 0deg at 50% 50%, var(--atm-bg-2) 0 6deg, #fff 6deg 30deg); }

/* HERO H5: tekst + zegar | indeks działów */
.atm-hero { background: radial-gradient(circle at 18% 40%, #2B333B 0, var(--atm-ink) 62%); color: #E9EDF0; padding: 3.4rem 0 3rem; position: relative; overflow: hidden; }
.atm-hero::before { content: ""; position: absolute; left: -180px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%); border-radius: 50%; background: repeating-conic-gradient(rgba(255, 255, 255, .07) 0 .6deg, transparent .6deg 6deg); -webkit-mask: radial-gradient(circle, transparent 0 236px, #000 237px 258px, transparent 259px); mask: radial-gradient(circle, transparent 0 236px, #000 237px 258px, transparent 259px); pointer-events: none; }
.atm-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 3rem; align-items: center; position: relative; }
.atm-kicker { font-family: var(--atm-mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--atm-lume); margin: 0 0 .9rem; }
.atm-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.12; margin: 0 0 1rem; font-weight: 800; }
.atm-hero__lead { font-size: 1.08rem; color: #C9D1D8; max-width: 560px; margin: 0 0 1.5rem; }
.atm-search { display: flex; max-width: 520px; border: 1px solid #47525C; border-radius: 4px; background: #1B2025; }
.atm-search input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; color: #fff; padding: .85rem 1rem; font: inherit; }
.atm-search input::placeholder { color: #8E99A3; }
.atm-search input:focus { outline: 2px solid var(--atm-or-l); outline-offset: -2px; }
.atm-search button { border: 0; background: var(--atm-or); color: #fff; font-weight: 700; padding: 0 1.3rem; cursor: pointer; font-family: 'Raleway', sans-serif; border-radius: 0 3px 3px 0; }
.atm-search button:hover { background: var(--atm-or-d); }
.atm-now { display: inline-flex; align-items: baseline; gap: .7rem; margin-top: 1.6rem; padding: .55rem .9rem; border: 1px solid #3A444D; border-radius: 4px; background: rgba(0, 0, 0, .25); flex-wrap: wrap; }
.atm-now__lbl { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #A9B2BB; }
.atm-now__t { font-family: var(--atm-mono); font-size: 1.6rem; color: var(--atm-lume); letter-spacing: .04em; font-variant-numeric: tabular-nums; text-shadow: 0 0 12px rgba(182, 227, 107, .35); }
.atm-now__z { font-family: var(--atm-mono); font-size: .8rem; color: #A9B2BB; }
.atm-index { background: rgba(255, 255, 255, .03); border: 1px solid #36404A; border-radius: var(--atm-r); padding: 1.1rem 1.2rem .6rem; }
.atm-index__h { margin: 0 0 .5rem; font-family: var(--atm-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: #A9B2BB; }
.atm-index ol { list-style: none; margin: 0; padding: 0; }
.atm-index li + li { border-top: 1px solid #323B44; }
.atm-index a { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) auto; gap: .6rem; align-items: center; padding: .52rem 0; color: #fff; text-decoration: none; }
.atm-index__n { font-family: var(--atm-mono); color: var(--atm-or-l); font-size: .9rem; }
.atm-index__name { font-family: 'Raleway', sans-serif; font-weight: 700; min-width: 0; }
.atm-index__name small { display: block; font-family: 'Lato', sans-serif; font-weight: 400; color: #98A3AD; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.atm-index__c { font-family: var(--atm-mono); font-size: .82rem; color: var(--atm-ink); background: var(--atm-lume); border-radius: 3px; padding: .05rem .45rem; min-width: 1.6rem; text-align: center; }
.atm-index a:hover .atm-index__name { color: var(--atm-or-l); }

/* Strefy czasowe */
.atm-zones { background: var(--atm-graf); color: #E9EDF0; padding: 1.3rem 0 1.1rem; border-top: 1px solid #3A444D; }
.atm-zones__h { font-size: 1rem; margin: 0 0 .7rem; color: #fff; letter-spacing: .03em; }
.atm-zones__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .6rem; }
.atm-zones__list li { border: 1px solid #3F4A54; border-radius: 4px; padding: .55rem .7rem; display: grid; gap: .1rem; }
.atm-zones__city { font-size: .8rem; color: #A9B2BB; text-transform: uppercase; letter-spacing: .08em; }
.atm-zones__t { font-family: var(--atm-mono); font-size: 1.35rem; color: #fff; font-variant-numeric: tabular-nums; }
.atm-zones__o { font-family: var(--atm-mono); font-size: .74rem; color: var(--atm-lume); }
.atm-zones__note { margin: .8rem 0 0; font-size: .84rem; color: #A9B2BB; }
.atm-zones__note a { color: var(--atm-or-l); }

/* Przewodniki na start */
.atm-guides__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.atm-guide { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: .9rem; text-decoration: none; color: inherit; border: 1px solid var(--atm-line); border-radius: var(--atm-r); padding: .7rem; background: #fff; transition: border-color .15s; }
.atm-guide:hover { border-color: var(--atm-or); }
.atm-guide__img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: var(--atm-bg-2); }
.atm-guide__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.atm-guide__body { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.atm-guide__no { font-family: var(--atm-mono); font-size: .75rem; color: var(--atm-or-d); letter-spacing: .06em; }
.atm-guide strong { font-family: 'Raleway', sans-serif; line-height: 1.25; color: var(--atm-text); }
.atm-guide__ex { font-size: .85rem; color: var(--atm-steel); }

/* Anatomia zegarka */
.atm-anat__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2.5rem; align-items: center; }
.atm-anat__fig svg { width: 100%; max-width: 400px; height: auto; display: block; margin: 0 auto; }
.atm-svg-strap { fill: #2E363E; }
.atm-svg-lug { fill: #9AA4AE; }
.atm-svg-crown { fill: #9AA4AE; stroke: #6B7580; stroke-width: 2; }
.atm-svg-case { fill: #B9C1C8; stroke: #8C969F; stroke-width: 2; }
.atm-svg-bezel { fill: #1C2126; }
.atm-svg-ticks line { stroke: #DDE3E8; stroke-width: 2; }
.atm-svg-pip { fill: var(--atm-lume); }
.atm-svg-dial { fill: #10141A; }
.atm-svg-idx circle, .atm-svg-idx rect { fill: var(--atm-lume); }
.atm-svg-date { fill: #fff; }
.atm-svg-datet { font: 700 11px var(--atm-mono); text-anchor: middle; fill: #111; }
.atm-svg-hh { stroke: #E9EDF0; stroke-width: 8; stroke-linecap: round; }
.atm-svg-mh { stroke: #E9EDF0; stroke-width: 5; stroke-linecap: round; }
.atm-svg-sh { stroke: var(--atm-or-l); stroke-width: 2; }
.atm-svg-pin { fill: var(--atm-or-l); }
.atm-hot { cursor: pointer; outline: none; }
.atm-hot circle { fill: var(--atm-or); stroke: #fff; stroke-width: 2; transition: r .15s; }
.atm-hot text { font: 700 11px var(--atm-mono); fill: #fff; text-anchor: middle; pointer-events: none; }
.atm-hot.is-on circle, .atm-hot:hover circle, .atm-hot:focus circle { fill: var(--atm-lume); stroke: var(--atm-ink); }
.atm-hot.is-on text, .atm-hot:hover text, .atm-hot:focus text { fill: var(--atm-ink); }
.atm-anat__txt h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); margin: 0 0 .5rem; }
.atm-anat__list { list-style: none; margin: 1rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; counter-reset: atmp; }
.atm-anat__list li { counter-increment: atmp; }
.atm-anat__list button { border: 1px solid var(--atm-steel-l); background: #fff; border-radius: 4px; padding: .38rem .7rem; font: inherit; font-size: .9rem; cursor: pointer; color: var(--atm-text); }
.atm-anat__list button::before { content: counter(atmp) ". "; font-family: var(--atm-mono); color: var(--atm-or-d); }
.atm-anat__list button[aria-pressed="true"] { background: var(--atm-graf); border-color: var(--atm-graf); color: #fff; }
.atm-anat__list button[aria-pressed="true"]::before { color: var(--atm-lume); }
.atm-anat__card { border-left: 4px solid var(--atm-or); background: #fff; padding: .9rem 1.1rem; min-height: 120px; }
.atm-anat__card h3 { margin: 0 0 .35rem; font-size: 1.1rem; }
.atm-anat__card p { margin: 0; }

/* Narzędzia (zakładki) */
.atm-tabs { border: 1px solid var(--atm-line); border-radius: var(--atm-r); background: #fff; max-width: 860px; }
.atm-tabs__bar { display: flex; border-bottom: 1px solid var(--atm-line); }
.atm-tabs__bar button { flex: 1 1 0; border: 0; background: var(--atm-bg); padding: .85rem 1rem; font: 700 1rem 'Raleway', sans-serif; color: var(--atm-steel); cursor: pointer; border-bottom: 3px solid transparent; }
.atm-tabs__bar button[aria-selected="true"] { background: #fff; color: var(--atm-text); border-bottom-color: var(--atm-or); }
.atm-tabs__panel { padding: 1.3rem 1.4rem; }
.atm-calc { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .9rem; align-items: end; }
.atm-calc p { margin: 0; }
.atm-calc label { display: block; font-size: .88rem; font-weight: 700; margin-bottom: .3rem; }
.atm-calc input { width: 100%; box-sizing: border-box; border: 1px solid var(--atm-steel-l); border-radius: 4px; padding: .6rem .7rem; font: 1rem var(--atm-mono); }
.atm-calc input:focus { outline: 2px solid var(--atm-or); outline-offset: 1px; }
.atm-calc__out { grid-column: 1 / -1; display: block; background: var(--atm-ink); color: #E9EDF0; padding: .9rem 1rem; border-radius: 4px; font-size: .98rem; }
.atm-calc__out b { color: var(--atm-lume); font-family: var(--atm-mono); }

/* Nowe artykuły */
.atm-latest__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }

/* Mechanizmy – tabela */
.atm-mech__scroll { overflow-x: auto; border: 1px solid var(--atm-line); border-radius: var(--atm-r); background: #fff; }
.atm-mech__t { border-collapse: collapse; width: 100%; min-width: 720px; font-size: .94rem; }
.atm-mech__t th, .atm-mech__t td { padding: .7rem .85rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--atm-line); }
.atm-mech__t thead th { background: var(--atm-graf); color: #fff; font-family: 'Raleway', sans-serif; }
.atm-mech__t tbody th { font-family: 'Raleway', sans-serif; white-space: nowrap; border-left: 4px solid var(--atm-or); }
.atm-mech__t tbody tr:last-child th, .atm-mech__t tbody tr:last-child td { border-bottom: 0; }

/* Wodoszczelność – skala głębokości */
.atm-depth__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2.5rem; align-items: center; }
.atm-depth__grid h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); margin: 0 0 .6rem; }
.atm-depth__scale { list-style: none; margin: 0; padding: 0; border-radius: var(--atm-r); overflow: hidden; }
.atm-depth__scale li { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 1rem; padding: .85rem 1.1rem; color: #fff; position: relative; }
.atm-depth__scale li:nth-child(1) { background: #5D8FA8; }
.atm-depth__scale li:nth-child(2) { background: #3F7591; }
.atm-depth__scale li:nth-child(3) { background: #2A5C79; }
.atm-depth__scale li:nth-child(4) { background: #1B425B; }
.atm-depth__scale li:nth-child(5) { background: #10283A; }
.atm-depth__scale strong { font-family: var(--atm-mono); font-size: .92rem; }
.atm-depth__scale li:nth-child(5) strong { color: var(--atm-lume); }

/* Lista kontrolna */
.atm-check__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2.5rem; align-items: start; }
.atm-check__grid h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0 0 .6rem; }
.atm-check__count { font-family: var(--atm-mono); color: var(--atm-or-d); font-weight: 700; }
.atm-check__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.atm-check__list label { display: flex; gap: .6rem; align-items: flex-start; background: #fff; border: 1px solid var(--atm-line); border-radius: 4px; padding: .65rem .75rem; cursor: pointer; height: 100%; box-sizing: border-box; }
.atm-check__list input { width: 1.15rem; height: 1.15rem; accent-color: var(--atm-or); flex: 0 0 auto; margin-top: .15rem; }
.atm-check__list input:checked + span { color: var(--atm-steel); text-decoration: line-through; text-decoration-color: var(--atm-or); }

/* Oś czasu */
.atm-time__line { list-style: none; margin: 0 0 1rem; padding: 1.6rem 0 .6rem; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; position: relative; background: linear-gradient(var(--atm-graf), var(--atm-graf)) 0 .55rem / 100% 2px no-repeat; }
.atm-time__line li { scroll-snap-align: start; position: relative; padding-top: .4rem; }
.atm-time__line li::before { content: ""; position: absolute; top: -1.35rem; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--atm-or); box-shadow: 0 0 0 4px var(--atm-bg); }
.atm-time__y { font-family: var(--atm-mono); font-size: .86rem; color: var(--atm-or-d); font-weight: 700; }
.atm-time__line h3 { margin: .2rem 0 .3rem; font-size: 1.05rem; }
.atm-time__line p { margin: 0; font-size: .9rem; color: var(--atm-steel); }

/* Słownik */
.atm-gloss__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.6rem; margin: 0; }
.atm-gloss__grid > div { border-bottom: 1px dashed var(--atm-steel-l); padding-bottom: .8rem; }
.atm-gloss__grid dt { font-family: 'Raleway', sans-serif; font-weight: 700; display: flex; align-items: center; gap: .55rem; }
.atm-gloss__grid dt span { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 2px solid var(--atm-graf); font-family: var(--atm-mono); font-size: .85rem; }
.atm-gloss__grid dd { margin: .35rem 0 0 2.35rem; font-size: .92rem; color: var(--atm-steel); }

/* Działy z listami */
.atm-cols__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.3rem; }
.atm-cols__col { border-top: 3px solid var(--atm-graf); padding-top: .7rem; }
.atm-cols__col h3 { margin: 0 0 .6rem; font-size: 1.1rem; }
.atm-cols__col h3 a { color: var(--atm-text); text-decoration: none; }
.atm-cols__col h3 a:hover { color: var(--atm-or-d); }
.atm-cols__col ul { list-style: none; margin: 0; padding: 0; }
.atm-cols__col li { padding: .45rem 0; border-bottom: 1px solid var(--atm-line); font-size: .93rem; }
.atm-cols__col li a { color: var(--atm-text); text-decoration: none; }
.atm-cols__col li a:hover { color: var(--atm-or-d); }

/* FAQ – cyfry rzymskie */
.atm-faq__wrap { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 2.5rem; }
.atm-faq__list details { border-bottom: 1px solid var(--atm-line); padding: .85rem 0; }
.atm-faq__list summary { cursor: pointer; font-family: 'Raleway', sans-serif; font-weight: 700; list-style: none; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); align-items: baseline; }
.atm-faq__list summary::-webkit-details-marker { display: none; }
.atm-faq__n { font-family: 'Raleway', serif; color: var(--atm-or-d); font-weight: 800; letter-spacing: .04em; }
.atm-faq__list details[open] summary { color: var(--atm-or-d); }
.atm-faq__list p { margin: .5rem 0 0 2.6rem; color: var(--atm-text); }

/* O redakcji – dekiel */
.atm-about { background: var(--atm-ink) !important; color: #D9DFE4; }
.atm-about__box { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 2.2rem; align-items: center; max-width: 960px; }
.atm-about__back svg { width: 100%; height: auto; display: block; }
.atm-about__back circle { fill: #2B333B; stroke: #59646E; stroke-width: 2; }
.atm-about__back .atm-about__in { fill: #1D2329; stroke: var(--atm-or-l); stroke-dasharray: 2 4; }
.atm-about__back text { font: 700 10.5px var(--atm-mono); fill: #A9B2BB; letter-spacing: .14em; }
.atm-about__back .atm-about__at { font: 800 30px 'Raleway', sans-serif; fill: var(--atm-lume); text-anchor: middle; letter-spacing: 0; }
.atm-about h2 { color: #fff; margin: 0 0 .6rem; }
.atm-about .atm-more { color: var(--atm-or-l); margin-left: .8rem; }

/* Responsywność */
@media (max-width: 1024px) {
	.atm-zones__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.atm-guides__grid, .atm-latest__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.atm-gloss__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.atm-cols__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.atm-hero__grid, .atm-anat__grid, .atm-depth__grid, .atm-check__grid, .atm-faq__wrap { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
	.atm-check__list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
	.atm-sec { padding: 2.6rem 0; }
	.atm-wrap { padding: 0 1rem; }
	.atm-hero { padding: 2.4rem 0 2.2rem; }
	.atm-zones__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.atm-guides__grid, .atm-latest__grid, .atm-gloss__grid, .atm-cols__grid { grid-template-columns: minmax(0, 1fr); }
	.atm-guide { grid-template-columns: 84px minmax(0, 1fr); }
	.atm-depth__scale li { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
	.atm-about__box { grid-template-columns: minmax(0, 1fr); }
	.atm-about__back { max-width: 150px; }
	.atm-index__name small { white-space: normal; }
	.atm-tabs__panel { padding: 1rem; }
	.atm-now__t { font-size: 1.35rem; }
}
