:root {
  --site-accent: #d9c7aa;
  --site-muted: rgba(255, 255, 255, 0.6);
  --site-line: rgba(255, 255, 255, 0.18);
  --site-panel: rgba(255, 255, 255, 0.04);
}

body {
  background: #151515;
}

#bg {
  cursor: pointer;
}

#bg::before {
  background-attachment: fixed;
  background-image:
    radial-gradient(circle at top, rgba(217, 199, 170, 0.12), transparent 34%),
    linear-gradient(to top, rgba(18, 18, 18, 0.6), rgba(18, 18, 18, 0.6)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  background-position: center, center, center;
  background-size: cover, cover, cover;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

#bg::after {
  background-image: url("/assets/images/slides/slide-1.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

body[data-bg-variant="slide-1"] #bg::after {
  background-image: url("/assets/images/slides/slide-1.jpg");
}

body[data-bg-variant="branch"] #bg::after {
  background-image: url("/assets/images/works/branch-1600.jpg");
}

body[data-bg-variant="untitled"] #bg::after {
  background-image: url("/assets/images/works/untitled-muje-1600.jpg");
}

body[data-bg-variant="focus"] #bg::after {
  background-image: url("/assets/images/works/focus-1600.jpg");
}

a:hover {
  color: var(--site-accent);
}

#header .logo {
  width: 6rem;
  height: 6rem;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

#header .logo .symbol {
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.32rem;
  text-indent: 0.32rem;
  font-weight: 600;
}

#header > * {
  transition-duration: 0.45s;
}

#header .content .inner {
  padding: 3rem 2.5rem;
}

#header .content .inner p {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-kicker,
.section-kicker,
.work-meta,
.site-locale-switcher {
  text-transform: uppercase;
  letter-spacing: 0.24rem;
}

.hero-kicker,
.section-kicker,
.work-meta {
  color: var(--site-muted);
  font-size: 0.7rem;
  font-weight: 600;
}

.button.primary {
  background: rgba(255, 255, 255, 0.9);
  color: #111 !important;
}

.button.primary:hover {
  background: var(--site-accent);
}

body > .site-locale-switcher {
  position: fixed;
  top: 2rem;
  right: 2.5rem;
  z-index: 10002;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  gap: 0.9rem;
}

body > .site-locale-switcher a,
body > .site-locale-switcher strong {
  border-bottom: 0;
}

.hero-image {
  border: solid 1px var(--site-line);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem;
}

.about-image {
  border: 0;
  background: transparent;
  padding: 0;
}

.hero-image img,
.image.main img,
.work-image img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-grid,
.cv-grid,
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.feature-grid {
  grid-template-columns: 1.4fr 0.9fr;
  align-items: start;
}

.feature-copy {
  border-left: solid 1px var(--site-line);
  padding-left: 1.5rem;
}

.feature-copy p:last-child {
  margin-bottom: 0;
}

.work-entry,
.cv-card,
.contact-card,
.quote-panel {
  border: solid 1px var(--site-line);
  background: var(--site-panel);
  padding: 1.2rem;
}

.work-entry {
  padding: 0;
  border: 0;
  background: transparent;
}

.work-entry-spaced {
  margin-top: 3.5rem;
}

.work-image {
  margin-bottom: 1.5rem;
}

.work-image img {
  max-height: none;
  object-fit: contain;
}

.work-entry h3,
.cv-card h3,
.contact-card h3 {
  margin-bottom: 0.75rem;
}

.work-entry p:last-child,
.cv-card ul:last-child,
.contact-card p:last-child {
  margin-bottom: 0;
}

.work-meta {
  margin-bottom: 0.75rem;
}

.quote-panel {
  font-style: italic;
  color: rgba(255, 255, 255, 0.78);
}

.bg-hint {
  margin-top: 1.4rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.76rem;
  letter-spacing: 0.06rem;
}

.cv-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cv-list,
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cv-list li,
.contact-list li {
  padding: 0.7rem 0;
  border-bottom: solid 1px rgba(255, 255, 255, 0.08);
}

.cv-list li:last-child,
.contact-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.cv-year {
  display: inline-block;
  min-width: 3rem;
  color: var(--site-accent);
}

.contact-list span {
  display: block;
  color: var(--site-muted);
  font-size: 0.8rem;
  letter-spacing: 0.08rem;
}

#footer {
  color: rgba(255, 255, 255, 0.58);
}

@media screen and (max-width: 980px) {
  .feature-grid,
  .cv-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-copy {
    border-left: 0;
    padding-left: 0;
    border-top: solid 1px var(--site-line);
    padding-top: 1.5rem;
  }
}

@media screen and (max-width: 736px) {
  #header .content .inner {
    padding: 2.25rem 1rem;
  }

  body > .site-locale-switcher {
    top: 1rem;
    right: 1rem;
  }
}
