/*
Theme Name: BLACKTONERAW
Theme URI: https://blacktoneraw.de
Author: BLACKTONERAW
Description: Minimal, cinematic photography theme for BLACKTONERAW.
Version: 1.5.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: blacktoneraw
*/

:root {
  --bg: #050505;
  --text: #f2f2f2;
  --muted: rgba(242,242,242,.62);
  --line: rgba(255,255,255,.16);
  --max: 1500px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 26px 34px;
  pointer-events: none;
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  pointer-events: auto;
}

.brand {
  font-size: 18px;
  line-height: 1;
  letter-spacing: .18em;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.main-nav a {
  position: relative;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  transition: color .25s ease;
}

.main-nav a:hover { color: #fff; }

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: #fff;
  transition: right .25s ease;
}

.main-nav a:hover::after { right: 0; }

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #080808;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.01);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.28) 55%, rgba(0,0,0,.48) 100%),
    linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.08) 60%, rgba(0,0,0,.42) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 34px 52px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-title {
  margin: 0;
  max-width: 900px;
  font-size: clamp(54px, 9vw, 150px);
  line-height: .86;
  letter-spacing: -.055em;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-subtitle {
  margin: 28px 0 0;
  max-width: 420px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.72);
}

.hero-index {
  position: absolute;
  right: 34px;
  bottom: 52px;
  z-index: 3;
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--muted);
}

.section {
  min-height: 80svh;
  display: flex;
  align-items: center;
  padding: 120px 34px;
  border-top: 1px solid var(--line);
}

.section-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.section-number {
  display: block;
  margin-bottom: 24px;
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--muted);
}

.section-title {
  margin: 0;
  font-size: clamp(48px, 8vw, 120px);
  line-height: .9;
  letter-spacing: -.05em;
  text-transform: uppercase;
}

.section-copy {
  max-width: 520px;
  margin-top: 30px;
  color: var(--muted);
}

.site-footer {
  padding: 30px 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .site-header { padding: 20px; }
  .site-header-inner { align-items: flex-start; }
  .main-nav { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
  .main-nav a { font-size: 9px; }
  .hero-content { padding: 0 20px 38px; }
  .hero-index { right: 20px; bottom: 38px; }
  .hero-subtitle { max-width: 300px; }
  .section { padding: 90px 20px; }
  .site-footer { padding: 25px 20px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-media { animation: heroBreath 16s ease-in-out infinite alternate; }
  @keyframes heroBreath {
    from { transform: scale(1.01); }
    to { transform: scale(1.035); }
  }
}


/* BLACKTONERAW editorial sections */
.section {
  min-height: 92svh;
  position: relative;
  overflow: hidden;
}

.section-inner {
  position: relative;
  z-index: 2;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 60px;
  align-items: end;
}

.section-kicker {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.48);
  margin-bottom: 22px;
}

.section-title {
  max-width: 900px;
}

.section-copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.section-link::after {
  content: "↗";
  font-size: 15px;
  transition: transform .25s ease;
}

.section-link:hover::after {
  transform: translate(4px,-4px);
}

.section-mark {
  position: absolute;
  right: -30px;
  bottom: -80px;
  font-size: clamp(180px, 32vw, 520px);
  line-height: .7;
  font-weight: 700;
  letter-spacing: -.08em;
  color: rgba(255,255,255,.025);
  user-select: none;
  pointer-events: none;
}

.section--alt {
  background: #0a0a0a;
}

.section--image {
  background-size: cover;
  background-position: center;
}

.section--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.62);
}

.hero-content {
  padding-bottom: 64px;
}

.hero-title {
  text-wrap: balance;
}

.scroll-cue {
  position: absolute;
  left: 34px;
  bottom: 27px;
  z-index: 3;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

.scroll-cue span {
  display: inline-block;
  margin-left: 10px;
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  0%,100% { transform: translateY(0); opacity: .5; }
  50% { transform: translateY(5px); opacity: 1; }
}

@media (max-width: 760px) {
  .section-grid { grid-template-columns: 1fr; gap: 35px; }
  .scroll-cue { left: 20px; bottom: 18px; }
}


/* BLACKTONERAW software showcases */
.software-showcase {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1983 / 793 !important;
  overflow: hidden !important;
  flex: none !important;
  background-color: #050505;
  border-top: 1px solid var(--line);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.software-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.02);
  pointer-events: none;
}

.software-showcase-label {
  position: absolute;
  z-index: 4;
  left: 34px;
  bottom: 26px;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  pointer-events: none;
}

@media (max-width: 760px) {
  .software-showcase {
    aspect-ratio: 16 / 9 !important;
    background-position: center center;
  }
  .software-showcase-label { left: 20px; bottom: 18px; }
}
