:root{
  --bg: #f6f4f0;
  --ink: #222;
  --muted: rgba(34,34,34,0.72);
  --hairline: rgba(34,34,34,0.16);
  --wash: rgba(246,244,240,0.92);
  --max: 860px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.62;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(246,244,240,0.90), rgba(246,244,240,0.90)),
    url('background_body_soft.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

a{
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover{
  text-decoration-thickness: 2px;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 0;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--hairline);
}

.skip-link:focus{
  left: 12px;
  top: 12px;
  z-index: 10;
}

header.site-header{
  padding: 44px 18px 18px;
  border-bottom: 1px solid var(--hairline);
  background: linear-gradient(to bottom, var(--wash), rgba(246,244,240,0.70));
  backdrop-filter: blur(2px);
}

.wrap{
  max-width: var(--max);
  margin: 0 auto;
}

.brand{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.site-title{
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.domain{
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

nav.primary-nav{
  margin-top: 16px;
}

nav.primary-nav ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

nav.primary-nav a{
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  color: rgba(34,34,34,0.92);
}

nav.primary-nav a[aria-current="page"]{
  border-bottom-color: rgba(34,34,34,0.55);
}

main{
  padding: 28px 18px 56px;
}

.lede{
  font-size: 15px;
  color: var(--muted);
  max-width: 72ch;
  margin: 12px 0 0;
}

.state{
  padding: 34px 0;
  border-top: 1px solid var(--hairline);
}

.state:first-of-type{
  border-top: 0;
  padding-top: 18px;
}

.state .inner{
  max-width: 78ch;
}

.state h1{
  margin: 0 0 10px;
  font-size: 30px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  font-weight: 600;
}

.state h2{
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: 0.01em;
  line-height: 1.25;
  font-weight: 600;
}

.state p{
  margin: 10px 0 0;
}

.state-1{ padding-bottom: 42px; }

.state-2{ --shift: 0.98; }
.state-2 .inner{ opacity: 0.98; }

.state-3{ --shift: 0.96; }
.state-3 .inner{ opacity: 0.96; letter-spacing: 0.002em; }

.state-4 .inner{
  border-left: 2px solid rgba(34,34,34,0.22);
  padding-left: 14px;
}

.state-5 .inner{
  max-width: 74ch;
}

.state-6 .inner{
  border-left: 1px solid rgba(34,34,34,0.18);
  padding-left: 14px;
  color: rgba(34,34,34,0.90);
}

.state-7 .inner{
  max-width: 70ch;
  color: rgba(34,34,34,0.88);
}

.final-state{
  padding: 36px 0 10px;
  border-top: 1px solid var(--hairline);
}

.final-lines{
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  max-width: 70ch;
}

.final-lines li{
  padding: 6px 0;
  border-bottom: 1px solid rgba(34,34,34,0.08);
}

.final-lines li:last-child{
  border-bottom: 0;
}

.contact-block{
  margin-top: 34px;
  padding: 22px 0 0;
  border-top: 1px solid var(--hairline);
}

.contact-block h2{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
}

.contact-block p{
  margin: 6px 0 0;
  color: rgba(34,34,34,0.90);
}

.meta{
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.01em;
}

.page-title{
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
}

.ital-intro{
  font-style: italic;
  color: rgba(34,34,34,0.78);
  max-width: 76ch;
  margin: 0 0 18px;
}

.stack{
  max-width: 78ch;
}

.stack p{
  margin: 12px 0 0;
}

.link-list{
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  max-width: 78ch;
}

.link-list li{
  padding: 12px 0;
  border-top: 1px solid rgba(34,34,34,0.10);
}

.link-list li:first-child{
  border-top: 1px solid rgba(34,34,34,0.10);
}

.link-list a{
  text-decoration: none;
  border-bottom: 1px solid rgba(34,34,34,0.35);
}

.link-list .desc{
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  max-width: 74ch;
}

footer.site-footer{
  padding: 26px 18px 40px;
  border-top: 1px solid var(--hairline);
  background: linear-gradient(to bottom, rgba(246,244,240,0.70), var(--wash));
}

footer .foot-grid{
  display: block;
  max-width: var(--max);
  margin: 0 auto;
}

footer nav ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

footer nav a{
  text-decoration: none;
  border-bottom: 1px solid rgba(34,34,34,0.22);
  padding-bottom: 2px;
}

.foot-meta{
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  max-width: 90ch;
}

.subtle-rule{
  margin-top: 18px;
  border-top: 1px solid rgba(34,34,34,0.10);
  padding-top: 12px;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

/* myteamzenithas.pro — Internal State Layers Interface */

:root{
  --bg: #f6f4f0;
  --text: #222;
  --muted: rgba(34,34,34,0.72);
  --faint: rgba(34,34,34,0.14);
  --fainter: rgba(34,34,34,0.08);
  --paper: rgba(246,244,240,0.86);
  --paper-strong: rgba(246,244,240,0.92);
  --max: 72ch;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(246,244,240,0.90), rgba(246,244,240,0.90)),
    url('background_body_soft.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

a{
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover{ text-decoration-thickness: 2px; }

.skip-link{
  position: absolute;
  left: -9999px;
  top: 12px;
  padding: 10px 12px;
  background: var(--paper-strong);
  border: 1px solid var(--faint);
  border-radius: 10px;
}
.skip-link:focus{ left: 12px; z-index: 10; }

.site-header{
  position: sticky;
  top: 0;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  background: rgba(246,244,240,0.78);
  border-bottom: 1px solid var(--fainter);
}

.header-inner{
  max-width: calc(var(--max) + 16ch);
  margin: 0 auto;
  padding: 18px 18px 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.site-title{
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.2px;
  font-weight: 650;
}
.site-title a{
  text-decoration: none;
}
.site-title a:hover{
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.nav{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.nav a{
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 10px;
}
.nav a:hover{
  background: rgba(246,244,240,0.70);
  outline: 1px solid var(--fainter);
}
.nav a[aria-current="page"]{
  background: rgba(246,244,240,0.90);
  outline: 1px solid var(--faint);
}

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 18px 56px;
}

main{
  background: var(--paper);
  border: 1px solid var(--fainter);
  border-radius: 16px;
  padding: 28px 20px;
  box-shadow:
    0 1px 0 rgba(0,0,0,0.03),
    0 12px 28px rgba(0,0,0,0.06);
}

@media (min-width: 760px){
  main{ padding: 38px 36px; }
}

h1, h2{
  line-height: 1.25;
  letter-spacing: 0.1px;
  font-weight: 650;
}

h1{
  margin: 0 0 12px;
  font-size: clamp(26px, 3.6vw, 38px);
}

h2{
  margin: 0 0 10px;
  font-size: 20px;
}

p{ margin: 0 0 14px; }

.lede{
  color: var(--muted);
  margin-bottom: 18px;
}

.layer{
  padding: 26px 0;
}
.layer + .layer{
  border-top: 1px solid var(--fainter);
}

/* Subtle depth changes per layer (no grids, no cards) */
.layer--1{ padding-top: 6px; }
.layer--2{ padding-top: 34px; }
.layer--3{ padding-top: 30px; }
.layer--4{ padding-top: 36px; }
.layer--5{ padding-top: 32px; }
.layer--6{ padding-top: 38px; }
.layer--7{ padding-top: 34px; }
.layer--final{ padding-top: 28px; }

.layer--2 h2{ letter-spacing: 0.12px; }
.layer--4 h2{ letter-spacing: 0.08px; }
.layer--6 h2{ letter-spacing: 0.14px; }

.soft-italic{
  font-style: italic;
  color: rgba(34,34,34,0.78);
  margin: 6px 0 18px;
}

.meta-line{
  color: rgba(34,34,34,0.70);
  font-size: 14px;
  margin: 0 0 18px;
}

.final-lines{
  margin: 0;
  padding-left: 18px;
  list-style: none;
}
.final-lines li{
  margin: 8px 0;
  padding-left: 10px;
  position: relative;
}
.final-lines li::before{
  content: "—";
  position: absolute;
  left: -10px;
  color: rgba(34,34,34,0.58);
}

.link-list{
  margin: 0;
  padding-left: 18px;
}
.link-list li{ margin: 10px 0; }

.contact-block{
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--fainter);
}
.contact-block dt{ font-weight: 650; }
.contact-block dd{
  margin: 0 0 10px;
  color: rgba(34,34,34,0.88);
}

.site-footer{
  margin-top: 18px;
  color: rgba(34,34,34,0.76);
  font-size: 14px;
}

.footer-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 18px 28px;
}

.footer-nav{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 10px;
}

.footer-nav a{
  text-decoration: none;
}
.footer-nav a:hover{
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.small{
  font-size: 13px;
  color: rgba(34,34,34,0.70);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

