/*
Theme Name: Elias Creator
Theme URI: https://heyelias.de/
Author: Elias
Description: A minimal, red-accented WordPress theme for a content creator.
Version: 1.0.3
Text Domain: elias-creator
*/

:root {
  --ink: #09090b;
  --ink-raised: #111114;
  --ink-soft: #18181c;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --paper: #f6f4f1;
  --muted: #aaa9ad;
  --red: #eb3b3b;
  --red-hot: #ff5757;
  --red-dark: #a81721;
  --shell: min(1180px, calc(100vw - 48px));
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 87% 10%, rgba(235, 59, 59, 0.1), transparent 26rem),
    radial-gradient(circle at 14% 70%, rgba(235, 59, 59, 0.045), transparent 32rem);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: -4rem; left: 1rem; padding: .65rem .85rem; color: var(--ink); background: var(--paper); border-radius: .4rem; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 4px; }

.social-rail {
  border-bottom: 1px solid var(--line);
  background: rgba(9, 9, 11, .84);
  backdrop-filter: blur(18px);
}

.social-rail__inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.social-rail__label,
.eyebrow,
.section-kicker,
.page-overline,
.gear-index,
.footer-label {
  color: var(--muted);
  font-size: .69rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.social-links { display: flex; align-items: center; gap: .3rem; }

.social-link {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: var(--paper);
  border: 1px solid transparent;
  border-radius: 50%;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}

.social-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.social-link:hover { color: white; background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.social-link--youtube svg path:first-child,
.social-link--youtube-main svg path:first-child,
.social-link--youtube-vod svg path:first-child { fill: currentColor; stroke: none; }
.social-link--youtube svg path:last-child,
.social-link--youtube-main svg path:last-child,
.social-link--youtube-vod svg path:last-child { fill: var(--ink); stroke: none; }
.social-link--tiktok svg path { stroke-width: 2; }

.site-header { position: sticky; z-index: 40; top: 0; border-bottom: 1px solid transparent; background: rgba(9, 9, 11, .7); backdrop-filter: blur(18px); transition: border-color .25s var(--ease), background .25s var(--ease); }
.site-header.is-scrolled { border-color: var(--line); background: rgba(9, 9, 11, .92); }
.site-header__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { position: relative; display: inline-block; font-size: 1.22rem; font-weight: 860; letter-spacing: -.06em; text-transform: uppercase; }
.brand::after { content: "."; color: var(--red); }

.primary-nav { display: flex; align-items: center; gap: 1.8rem; }
.primary-nav a { position: relative; padding-block: .35rem; color: #d4d2d2; font-size: .86rem; font-weight: 650; transition: color .2s ease; }
.primary-nav a::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .25s var(--ease); }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: #fff; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle { display: none; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 15px; height: 1px; margin: 4px auto; background: var(--paper); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }

.hero { position: relative; isolation: isolate; min-height: min(700px, calc(100svh - 124px)); display: grid; align-items: center; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, .93fr) minmax(360px, 1.07fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(5rem, 10vw, 9rem); }
.hero__copy { position: relative; z-index: 2; max-width: 590px; }
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; color: var(--paper); margin: 0 0 1.15rem; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 620px; margin-bottom: 1.4rem; font-size: clamp(3.35rem, 8vw, 7rem); font-weight: 850; letter-spacing: -.075em; line-height: .88; text-wrap: balance; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero__lede { max-width: 510px; margin-bottom: 2rem; color: #c0bfc2; font-size: clamp(1.02rem, 1.6vw, 1.18rem); line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; }

.button-link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.1rem; border: 1px solid var(--red); background: var(--red); color: white; font-size: .85rem; font-weight: 750; letter-spacing: .02em; transition: transform .25s var(--ease), background .25s ease, box-shadow .25s ease; }
.button-link:hover { background: var(--red-hot); box-shadow: 0 14px 28px rgba(235, 59, 59, .18); transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: .55rem; color: #dedbdd; font-size: .86rem; font-weight: 700; }
.text-link::after { content: "↗"; color: var(--red); font-size: 1.05rem; transition: transform .25s var(--ease); }
.text-link:hover::after { transform: translate(2px, -2px); }

.hero__visual { position: relative; min-height: clamp(350px, 42vw, 540px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #111115; box-shadow: 0 30px 80px rgba(0, 0, 0, .34); animation: reveal-up .8s .15s both var(--ease); }
.hero__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(9, 9, 11, .2), transparent 50%, rgba(235, 59, 59, .1)); pointer-events: none; }
.hero__visual img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; object-position: center; opacity: .88; transform: scale(1.015); transition: transform 1s var(--ease), opacity .6s var(--ease); }
.hero__visual:hover img { opacity: 1; transform: scale(1.045); }
.hero__visual-note { position: absolute; z-index: 1; right: 1.15rem; bottom: 1.05rem; left: 1.15rem; display: flex; justify-content: space-between; gap: 1rem; color: #eee; font-size: .72rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.hero__visual-note span:last-child { color: var(--red-hot); }

.home-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-strip__inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.signal { min-height: 154px; padding: 1.6rem 2rem; border-right: 1px solid var(--line); }
.signal:first-child { border-left: 1px solid var(--line); }
.signal__number { display: block; margin-bottom: .9rem; color: var(--red); font-size: .7rem; font-weight: 750; letter-spacing: .13em; }
.signal h2 { margin-bottom: .35rem; font-size: 1.05rem; letter-spacing: -.02em; }
.signal p { margin: 0; color: var(--muted); font-size: .9rem; }

.content-section { padding-block: clamp(5rem, 10vw, 9rem); }
.content-section--border { border-bottom: 1px solid var(--line); }
.section-heading { max-width: 650px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-kicker { display: block; margin-bottom: .9rem; color: var(--red-hot); }
.section-heading h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4.5vw, 3.8rem); font-weight: 820; letter-spacing: -.06em; line-height: .98; }
.section-heading p { max-width: 535px; margin: 0; color: var(--muted); font-size: 1.03rem; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.principle { min-height: 240px; padding: clamp(1.45rem, 3vw, 2.5rem); background: var(--ink-raised); transition: background .25s ease; }
.principle:hover { background: #1d1d22; }
.principle__mark { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 2.5rem; color: var(--red-hot); border: 1px solid rgba(235, 59, 59, .55); border-radius: 50%; font-size: .78rem; font-weight: 800; }
.principle h3 { margin-bottom: .75rem; font-size: 1.15rem; letter-spacing: -.025em; }
.principle p { margin: 0; color: var(--muted); font-size: .95rem; }

.bottom-note { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding-block: clamp(3.5rem, 7vw, 6rem); }
.bottom-note p { max-width: 780px; margin: 0; font-size: clamp(1.35rem, 3vw, 2.25rem); font-weight: 560; letter-spacing: -.045em; line-height: 1.16; }
.bottom-note strong { color: var(--red-hot); font-weight: inherit; }

.page-hero { padding-block: clamp(4.5rem, 9vw, 8rem) clamp(3rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.page-overline { display: block; margin-bottom: 1.1rem; color: var(--red-hot); }
.page-hero h1 { max-width: 820px; margin-bottom: 1.25rem; font-size: clamp(3.1rem, 7vw, 6.4rem); font-weight: 850; letter-spacing: -.075em; line-height: .9; }
.page-hero p { max-width: 590px; margin: 0; color: var(--muted); font-size: 1.07rem; }

.gear-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.gear-card { min-height: 254px; padding: clamp(1.5rem, 4vw, 3.1rem); background: var(--ink-raised); transition: background .25s ease, transform .3s var(--ease); }
.gear-card:hover { background: #1c1c20; }
.gear-index { display: block; margin-bottom: 3.2rem; color: var(--red-hot); }
.gear-card h2 { margin-bottom: .8rem; font-size: clamp(1.4rem, 2.5vw, 2rem); letter-spacing: -.045em; }
.gear-card p { max-width: 400px; margin: 0; color: var(--muted); }

.equipment-table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.equipment-table { width: 100%; border-collapse: collapse; text-align: left; }
.equipment-table thead th { padding: .95rem 1.35rem; color: var(--muted); background: var(--ink); font-size: .69rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.equipment-table tbody tr { background: var(--ink-raised); transition: background .25s ease; }
.equipment-table tbody tr:hover { background: #1c1c20; }
.equipment-table tbody th,
.equipment-table tbody td { padding: 1rem 1.35rem; border-top: 1px solid var(--line); vertical-align: middle; }
.equipment-table tbody th { color: var(--paper); font-size: .95rem; font-weight: 720; }
.equipment-table tbody td { color: var(--muted); font-size: .93rem; }
.equipment-table tbody td:last-child { color: #d0ced1; }
.equipment-product { display: flex; align-items: center; gap: .85rem; }
.equipment-icon { flex: 0 0 auto; display: grid; width: 38px; height: 38px; place-items: center; color: var(--red-hot); border: 1px solid rgba(235, 59, 59, .5); border-radius: 50%; background: rgba(235, 59, 59, .08); }
.equipment-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.setup-note { display: grid; grid-template-columns: .75fr 1.25fr; gap: 2rem; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.4rem; border-top: 1px solid var(--line); }
.setup-note h2 { margin: 0; color: var(--red-hot); font-size: .78rem; font-weight: 760; letter-spacing: .14em; text-transform: uppercase; }
.setup-note p { max-width: 620px; margin: 0; font-size: clamp(1.1rem, 2vw, 1.42rem); letter-spacing: -.025em; line-height: 1.35; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.45rem 3rem 1.45rem 0; list-style: none; cursor: pointer; font-size: clamp(1.05rem, 2.1vw, 1.4rem); font-weight: 690; letter-spacing: -.025em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: .1rem; color: var(--red-hot); font-size: 1.7rem; font-weight: 300; transition: transform .25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { max-width: 700px; padding: 0 3rem 1.55rem 0; color: var(--muted); }
.faq-answer p { margin: 0; }

.site-footer { padding-block: 2.5rem; border-top: 1px solid var(--line); }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-footer p { margin: 0; color: var(--muted); font-size: .78rem; }
.footer-label { color: var(--paper); }

.js-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.js-ready [data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes reveal-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (max-width: 780px) {
  :root { --shell: min(100vw - 32px, 1180px); }
  .social-rail__label { display: none; }
  .social-rail__inner { justify-content: center; }
  .site-header__inner { min-height: 66px; flex-wrap: wrap; }
  .menu-toggle { display: none; }
  .primary-nav { order: 3; width: 100%; justify-content: space-between; gap: .8rem; padding-bottom: .75rem; }
  .js-ready .site-header__inner { flex-wrap: nowrap; }
  .js-ready .menu-toggle { display: block; }
  .js-ready .primary-nav { position: absolute; top: 100%; right: 0; left: 0; display: grid; gap: 0; width: auto; padding: .55rem 1rem 1rem; border-bottom: 1px solid var(--line); background: rgba(9, 9, 11, .98); transform: translateY(-1rem); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s var(--ease); }
  .js-ready .primary-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .primary-nav a { padding: .9rem .35rem; }
  .primary-nav a::after { display: none; }
  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; padding-block: 4.5rem 3rem; }
  .hero__visual { min-height: 330px; }
  .home-strip__inner, .principles { grid-template-columns: 1fr; }
  .signal { min-height: auto; padding: 1.35rem; border-bottom: 1px solid var(--line); border-right: 0; }
  .signal:first-child { border-left: 0; }
  .signal:last-child { border-bottom: 0; }
  .principle { min-height: auto; }
  .principle__mark { margin-bottom: 1.5rem; }
  .bottom-note, .setup-note { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
  .gear-grid { grid-template-columns: 1fr; }
  .gear-card { min-height: auto; }
  .gear-index { margin-bottom: 2rem; }
  .equipment-table,
  .equipment-table tbody,
  .equipment-table tr,
  .equipment-table th,
  .equipment-table td { display: block; width: 100%; }
  .equipment-table thead { display: none; }
  .equipment-table tbody tr { padding: 1.1rem 1.25rem; }
  .equipment-table tbody th,
  .equipment-table tbody td { padding: 0; border: 0; }
  .equipment-table tbody th { margin-bottom: .8rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
  .equipment-table tbody th::before,
  .equipment-table tbody td::before { display: block; margin-bottom: .25rem; color: var(--muted); font-size: .65rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
  .equipment-table tbody th::before { content: attr(data-label); }
  .equipment-table tbody td { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: .38rem; text-align: right; }
  .equipment-table tbody td::before { content: attr(data-label); text-align: left; }
  .site-footer__inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 430px) {
  .social-links { gap: .08rem; }
  .social-link { width: 30px; height: 30px; }
  .hero h1 { font-size: clamp(3rem, 16vw, 4.35rem); }
  .hero__actions { align-items: flex-start; flex-direction: column; }
  .hero__visual { min-height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
