/* Beem Studio brand: espresso #1e1611, warm cream #f2eadb, amber #e08a2e. System fonts only.
   --accent is for fills/lines; --accent-text is the contrast-safe amber for text. */
:root {
  --bg: #f2eadb; --surface: #faf6ee; --ink: #1e1611; --muted: #6b5d50; --line: #e2d6c2;
  --accent: #e08a2e; --accent-text: #9a5414; --accent-soft: #f6dfc0; --on-accent: #1e1611;
  --shadow: 0 1px 2px #1e16110d, 0 18px 40px -28px #1e161159;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1e1611; --surface: #281e17; --ink: #f2eadb; --muted: #b3a593; --line: #3a2d23;
    --accent: #e08a2e; --accent-text: #eba158; --accent-soft: #3a2615; --on-accent: #1e1611;
    --shadow: 0 1px 2px #0006, 0 18px 40px -28px #000;
  }
}
:root[data-theme="dark"] {
  --bg: #1e1611; --surface: #281e17; --ink: #f2eadb; --muted: #b3a593; --line: #3a2d23;
  --accent: #e08a2e; --accent-text: #eba158; --accent-soft: #3a2615; --on-accent: #1e1611;
  --shadow: 0 1px 2px #0006, 0 18px 40px -28px #000;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--accent-text); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 9; }
.skip:focus { left: 8px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Header / brand */
.site-head { border-bottom: 1px solid var(--line); }
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
@media (min-width: 720px) { .head-inner { min-height: 76px; } }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand .mark { color: var(--ink); flex: none; }
.wordmark { font-weight: 650; font-size: 1.15rem; letter-spacing: -.03em; }
.logo-img { height: 18px; width: auto; display: block; }
@media (min-width: 720px) { .logo-img { height: 21px; } }
.brand-sm .logo-img { height: 16px; }
.brand-sm .wordmark { font-size: 1rem; }
.brand-sm .mark { width: 22px; height: 22px; }
.langs { display: flex; gap: 2px; font-size: .88rem; font-weight: 600; }
.langs a, .langs span { padding: 5px 10px; border-radius: 999px; text-decoration: none; color: var(--muted); }
.langs a:hover { color: var(--ink); background: var(--accent-soft); }
.langs span[aria-current] { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }

/* Sections */
main { display: block; }
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--line); }
@media (min-width: 720px) { .section { padding: 96px 0; } .section.hero { padding: 128px 0 112px; } }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 650; color: var(--accent-text); margin: 0 0 18px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.hero h1 { font-size: clamp(2.2rem, 8vw, 4rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; max-width: 14em; text-wrap: balance; }
.hero .lead { font-size: clamp(1.08rem, 2.4vw, 1.3rem); color: var(--muted); max-width: 34em; margin: 24px 0 0; }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 680; letter-spacing: -.03em; margin-bottom: 32px; }
h3 { font-size: 1.12rem; font-weight: 650; }

.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
@media (min-width: 720px) { .values { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.values li { border-top: 1px solid var(--ink); padding-top: 16px; }
.values p { margin: 8px 0 0; color: var(--muted); }

/* Cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card {
  display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
a.card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 1px 2px #0000000d, 0 20px 40px -22px #00000066; }
.card-art { display: grid; place-items: center; aspect-ratio: 16 / 10; }
.card-art img { width: 42%; max-width: 132px; height: auto; border-radius: 22%; box-shadow: 0 16px 30px -14px #000a; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .kind { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted); margin: 0; }
.card h3 { font-size: 1.3rem; }
.card .alt-names { margin: 0; color: var(--muted); font-size: .9rem; }
.card .tagline { margin: 4px 0 0; }
.card-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.badge { display: inline-block; font-size: .8rem; font-weight: 650; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); }
.more { font-weight: 650; font-size: .95rem; }
.more::after { content: " →"; color: var(--accent-text); }
.card--next { border-style: dashed; box-shadow: none; background: transparent; }
.card--next .card-art { background: repeating-linear-gradient(135deg, transparent 0 14px, var(--line) 14px 15px); color: var(--muted); }
.card--next .card-art svg { width: 56px; height: 56px; opacity: .7; }
.card--hatira-rehincisi .card-art { background: linear-gradient(160deg, #0f2c2e, #1d4a4a); border-bottom: 3px solid #c9a24a; }

/* Contact */
.contact-box { display: grid; gap: 18px; align-items: center; }
@media (min-width: 720px) { .contact-box { grid-template-columns: 1fr auto; } }
.contact-box p { margin: 0; color: var(--muted); max-width: 36em; }
.contact-box .note { font-size: .92rem; margin-top: 10px; }
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 999px; background: var(--accent); color: var(--on-accent);
  text-decoration: none; font-weight: 650; overflow-wrap: anywhere;
}
.btn:hover { color: var(--on-accent); filter: brightness(1.06); }

/* Text pages */
.doc { max-width: 720px; padding-top: 40px; padding-bottom: 40px; }
.doc h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); margin-bottom: 10px; }
.doc .meta { color: var(--muted); font-size: .95rem; margin: 0 0 28px; }
.doc h2 { font-size: 1.2rem; margin: 32px 0 8px; }
.doc .lead { font-size: 1.15rem; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: .4em 0; }
.doc li::marker { color: var(--accent); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.foot-inner { padding-top: 28px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; }
.foot-inner p { margin: 0; }
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--accent-text); }
.site-foot .brand { color: var(--ink); }
