/* mediarosenqvist.com — one stylesheet, no build step. */

@font-face { font-family: "Sora"; font-weight: 700; font-display: swap; src: url("/assets/sora-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url("/assets/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url("/assets/manrope-latin-600-normal.woff2") format("woff2"); }

:root {
  --paper: #f6f4ef;
  --surface: #ffffff;
  --ink: #161616;
  --muted: #5b5853;
  --line: #dedad2;
  --red: #c8102e;
  --red-ink: #ffffff;
  --band: #161616;
  --band-ink: #f6f4ef;
  --band-muted: #a9a49b;
  --ok: #1f7a43;
  --err: #b3261e;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121212;
    --surface: #1b1b1b;
    --ink: #edeae4;
    --muted: #a9a49b;
    --line: #2e2c29;
    --red: #e5384f;
    --red-ink: #ffffff;
    --band: #1b1b1b;
    --band-ink: #edeae4;
    --band-muted: #a9a49b;
    --ok: #5cc98a;
    --err: #ff8a80;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(72rem, 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--surface); padding: .5rem .75rem; }

.label {
  font: 600 .75rem/1.2 "Manrope", sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}
.label::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--red); margin-right: .6rem; vertical-align: .05em; }

h1, h2, h3 { font-family: "Sora", "Manrope", sans-serif; font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); margin-bottom: 1.25rem; }

/* header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.logo { display: block; background: #fff; border-radius: .5rem; padding: .25rem .5rem; }
.logo img { width: 8.5rem; }
.top nav { display: flex; align-items: center; gap: clamp(.75rem, 2.5vw, 1.75rem); }
.top nav a { font-weight: 600; font-size: .875rem; text-decoration: none; }
.top nav a:hover { color: var(--red); }
.top nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: .2rem .65rem; }
@media (max-width: 560px) { .top nav .opt { display: none; } }

/* hero */
.hero { background: var(--band); color: var(--band-ink); margin-top: clamp(1.5rem, 4vw, 3rem); border-radius: 1rem; padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem); }
.hero .label { color: var(--band-muted); margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.hero h1 { font-size: clamp(3rem, 11vw, 7.5rem); line-height: .92; }
.hero h1 span { display: block; color: var(--red); }
.hero p { max-width: 36rem; margin: 2rem 0 0; font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--band-ink); }

section { padding-block: clamp(3.5rem, 8vw, 6rem); }
section + section { border-top: 1px solid var(--line); }
.lead { color: var(--muted); max-width: 40rem; margin: 0 0 2.5rem; }

/* ventures */
.ventures { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: v; }
.ventures li { border-bottom: 1px solid var(--line); counter-increment: v; }
.ventures a {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  gap: .25rem 1rem;
  align-items: baseline;
  padding: 1.35rem 0;
  text-decoration: none;
}
.ventures a::before { content: counter(v, decimal-leading-zero); grid-row: span 2; color: var(--muted); font-size: .8rem; font-weight: 600; }
.ventures h3 { font-size: clamp(1.35rem, 3vw, 1.9rem); }
.ventures .host { color: var(--muted); font-size: .875rem; white-space: nowrap; }
.ventures .host::after { content: " \2197"; color: var(--red); }
.ventures p { grid-column: 2 / 4; margin: 0; color: var(--muted); max-width: 44rem; }
.ventures a:hover h3 { color: var(--red); }
@media (max-width: 560px) {
  .ventures a { grid-template-columns: 2rem 1fr; }
  .ventures .host { grid-column: 2; }
  .ventures p { grid-column: 2; }
}

/* about */
.about { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; }
.about img { border-radius: 1rem; aspect-ratio: 1; object-fit: cover; width: 100%; }
.about blockquote { margin: 2rem 0 0; padding-left: 1.25rem; border-left: 3px solid var(--red); font-size: 1.15rem; }
.about cite { display: block; margin-top: .75rem; font-style: normal; color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about img { max-width: 20rem; } }

/* contact */
.contact { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }
form { background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1.25rem, 4vw, 2rem); display: grid; gap: 1.1rem; }
label { display: grid; gap: .4rem; font-weight: 600; font-size: .9rem; }
input, textarea {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: .5rem;
  padding: .7rem .8rem;
  width: 100%;
}
textarea { resize: vertical; min-height: 9rem; }
input:focus, textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: transparent; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
button {
  font: 600 1rem/1 "Manrope", sans-serif;
  background: var(--red);
  color: var(--red-ink);
  border: 0;
  border-radius: 999px;
  padding: .95rem 1.6rem;
  cursor: pointer;
  justify-self: start;
}
button:disabled { opacity: .6; cursor: progress; }
.status { margin: 0; min-height: 1.5em; font-weight: 600; }
.status.ok { color: var(--ok); }
.status.err { color: var(--err); }

/* footer */
footer { border-top: 1px solid var(--line); padding-block: 2rem 3rem; color: var(--muted); font-size: .875rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
