/* sexcams.agency — shared styles */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');

:root {
  --ink: #0e0b12;
  --ink-soft: #16121c;
  --panel: #1c1622;
  --panel-line: #2f2536;
  --text: #ede7ee;
  --text-dim: #b4a9be;
  --text-faint: #7c7186;
  --ember: #e8a15c;
  --ember-hot: #f4b56f;
  --wine: #a83a5c;
  --focus: #f4b56f;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  line-height: 1.55;
  min-height: 100svh;
}

.display {
  font-family: "Fraunces", ui-serif, Georgia, serif;
  font-optical-sizing: auto;
}

a {
  color: inherit;
}

img, svg {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ember);
  color: var(--ink);
  padding: 0.6em 1em;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* atmosphere */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 82% 8%, rgba(232, 161, 92, 0.16), transparent 60%),
    radial-gradient(55% 45% at 12% 92%, rgba(168, 58, 92, 0.20), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 55%, var(--ink) 100%);
}
.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1.25rem, 5vw, 3rem);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: "Fraunces", ui-serif, Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.brand span.dot {
  color: var(--ember);
}

.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--panel-line);
  background: var(--panel);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}
.age-badge strong {
  color: var(--ember-hot);
  font-size: 1rem;
}

/* hero */
.hero {
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(2.5rem, 10vh, 6rem) 1.5rem clamp(3rem, 8vh, 5rem);
  min-height: 62vh;
}

.hero-inner {
  max-width: 40rem;
  display: grid;
  gap: 1.6rem;
  justify-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--panel-line);
}

h1.headline {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1.03;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #fff 0%, var(--text) 55%, var(--ember-hot) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  color: var(--text-dim);
  max-width: 32rem;
  margin: 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  padding: 1.05rem 2.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ember) 0%, var(--wine) 130%);
  color: #1a1010;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 0 12px 30px -10px rgba(168, 58, 92, 0.55);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -8px rgba(232, 161, 92, 0.5);
}
.cta:active {
  transform: translateY(0);
}
.cta svg {
  width: 1.1rem;
  height: 1.1rem;
}

.fine-print {
  font-size: 0.8rem;
  color: var(--text-faint);
  max-width: 30rem;
}

/* info strip */
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--panel-line);
  border-top: 1px solid var(--panel-line);
  border-bottom: 1px solid var(--panel-line);
  margin: 0 auto;
  max-width: 64rem;
}
.info-strip div {
  background: var(--ink-soft);
  padding: 1.4rem 1rem;
  text-align: center;
}
.info-strip strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  color: var(--ember-hot);
  margin-bottom: 0.2rem;
}
.info-strip span {
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* footer */
.site-footer {
  padding: 2.5rem clamp(1.25rem, 5vw, 3rem) 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  color: var(--text-faint);
  font-size: 0.85rem;
  border-top: 1px solid var(--panel-line);
  margin-top: clamp(2rem, 6vh, 4rem);
}
.site-footer nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.site-footer a {
  text-decoration: none;
  color: var(--text-dim);
}
.site-footer a:hover {
  color: var(--ember-hot);
}

/* content pages */
.page {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
.page h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 0.3rem;
}
.page .updated {
  color: var(--text-faint);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}
.page h2 {
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  margin-top: 2.2rem;
  color: var(--ember-hot);
}
.page p, .page li {
  color: var(--text-dim);
}
.page a {
  color: var(--ember-hot);
}

/* 404 */
.error-page {
  min-height: 80svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}
.error-page .code {
  font-family: "Fraunces", serif;
  font-size: clamp(4rem, 18vw, 8rem);
  color: var(--panel-line);
  line-height: 1;
  margin: 0;
}
.error-page h1 {
  font-family: "Fraunces", serif;
  margin: 0.5rem 0 1rem;
}
.error-page p {
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}
.error-page a.home-link {
  color: var(--ember-hot);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--ember);
  padding-bottom: 2px;
}

/* breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-faint);
}
.breadcrumb a {
  text-decoration: none;
  color: var(--text-dim);
}
.breadcrumb a:hover {
  color: var(--ember-hot);
}

.back-home {
  text-align: center;
  margin: 0 auto clamp(2rem, 6vh, 3rem);
}
.back-home a {
  text-decoration: none;
  color: var(--ember-hot);
  font-weight: 600;
  font-size: 0.9rem;
}
.back-home a:hover {
  text-decoration: underline;
}

/* content sections */
.section {
  padding: clamp(2.5rem, 8vh, 4rem) clamp(1.25rem, 5vw, 3rem);
}
.section-alt {
  background: var(--ink-soft);
  border-top: 1px solid var(--panel-line);
  border-bottom: 1px solid var(--panel-line);
}
.section-inner {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}
.section-inner-narrow {
  max-width: 42rem;
  text-align: left;
}
.section h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin: 0 0 0.6rem;
  color: var(--text);
}
.section-inner-narrow h2 {
  font-size: 1.35rem;
  color: var(--ember-hot);
  margin-top: 2.2rem;
}
.section-inner-narrow h2:first-child {
  margin-top: 0;
}
.section-lede {
  color: var(--text-dim);
  max-width: 34rem;
  margin: 0 auto 2.2rem;
}
.section-inner-narrow p {
  color: var(--text-dim);
}

/* interest cards */
.interest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: left;
}
.interest-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.2rem 0.9rem;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.interest-card svg {
  grid-row: 1 / 3;
  width: 1.8rem;
  height: 1.8rem;
  color: var(--ember-hot);
}
.interest-label {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.05rem;
}
.interest-desc {
  font-size: 0.82rem;
  color: var(--text-faint);
}
.interest-card:hover,
.interest-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--ember);
  box-shadow: 0 12px 26px -14px rgba(232, 161, 92, 0.45);
}

@media (max-width: 860px) {
  .interest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .info-strip {
    grid-template-columns: 1fr;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .interest-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta {
    transition: none;
  }
}
