:root {
  color-scheme: dark;
  --back: #14221d;
  --text: #f3eddf;
  --muted: #c1c7b9;
  --accent: #e0bf81;
  --line: #5e6860;
  font: 100%/1.5 system-ui, sans-serif;
  scroll-behavior: smooth;
}
:root[data-theme="gece"] {
  --back: #191e31;
  --muted: #c2c8d9;
  --accent: #c2cafd;
  --line: #656c80;
}
:root[data-theme="toprak"] {
  --back: #35241e;
  --muted: #d3c1b3;
  --accent: #f2ba98;
  --line: #80665a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--back);
  color: var(--text);
  transition: background-color .35s ease, color .35s ease;
}
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.frame { width: min(88rem, calc(100% - clamp(2rem, 10vw, 10rem))); margin-inline: auto; }
.header, .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.header { min-height: 5.5rem; border-bottom: 1px solid var(--line); }
.header a, .footer a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.header a:hover, .footer a:hover { color: var(--accent); }
.brand { gap: .7rem; font-weight: 650; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font: italic 1.25rem Georgia, serif;
}
.nav-link, .footer a { gap: .55rem; font-size: .875rem; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  padding-block: clamp(2.75rem, 6vw, 7rem);
}
.eyebrow { margin: 0; color: var(--accent); font-size: .72rem; letter-spacing: .17em; text-transform: uppercase; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; }
h1 { margin: .18em 0 .22em; font-size: clamp(3.5rem, 7.6vw, 8rem); line-height: .96; letter-spacing: -.085em; }
h1 em { color: var(--accent); font-weight: inherit; }
.intro { max-width: 32ch; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.25rem); }
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 1.8rem;
  margin-top: 1.6rem;
  min-height: 48px;
  padding-inline: 1rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}
.hero-link:hover { background: var(--accent); color: var(--back); }
.art {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .4rem;
  background: radial-gradient(ellipse at center, #48574e, #101a15 72%);
}
.art img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 4.5; object-fit: cover; }
.art figcaption {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  padding: .3rem .6rem;
  background: #16221e;
  color: #f3eddf;
  font-size: .75rem;
}
.palette {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  border-block: 1px solid var(--line);
  padding-block: clamp(1.5rem, 4vw, 3rem);
  scroll-margin-top: 1rem;
}
.palette h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.palette p { margin: .3rem 0 0; color: var(--muted); }
.options { display: flex; gap: .5rem; flex-wrap: wrap; }
.options button {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  cursor: pointer;
  padding: .5rem .7rem;
  min-height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}
.options button[aria-pressed="true"], .options button:hover { color: var(--accent); border-color: var(--accent); }
.chip { width: .8rem; height: .8rem; border-radius: 50%; }
.forest { background: #b4c19b; }
.night { background: #a8b4ef; }
.earth { background: #d89f7f; }
.footer { min-height: 5rem; color: var(--muted); }
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; }
  .art img { aspect-ratio: 4 / 3; }
  .header { min-height: 4.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
