@import url('https://fonts.googleapis.com/css2?family=Lalezar&family=Inter:wght@300;400;700&display=swap');

:root {
  --bg: #D1E5FE;
  --blue-dark: #094DBA;
  --blue-body: #5489D4;
  --red-accent: #FF4A4A;

  /* fluid layout: safe up to 1200px on desktop, fluid padding down to mobile */
  --page-max: 1200px;
  --text-max: 640px;
  --gutter: clamp(20px, 5vw, 64px);
  --hero-width: clamp(220px, 42vw, 400px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--blue-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

/* T mark */
.t-mark {
  display: block;
  margin: 0 auto;
}

.t-mark img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Landing page ---------- */
.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--gutter);
  gap: 4px;
}

.landing .t-mark {
  width: var(--hero-width);
  margin-bottom: 32px;
}

.wordmark {
  margin: 0 0 28px;
  color: var(--blue-dark);
}

.wordmark-svg {
  display: block;
  width: var(--hero-width);
  height: auto;
}

.landing-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 10px;
}

.landing-links a {
  display: inline-flex;
  align-items: center;
}

.landing-links a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--blue-dark);
  margin-right: 6px;
}

.copyright {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: var(--blue-body);
  margin: 0;
}

/* ---------- Inner pages (about / evaluation / design / art / contact) ---------- */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--gutter) var(--gutter) 0;
}

.site-header .t-mark {
  width: clamp(120px, 20vw, 200px);
  margin-bottom: clamp(20px, 4vw, 32px);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(12px, 3vw, 22px);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 17px;
}

.main-nav a.active {
  font-weight: 700;
}

/* outer wrapper: safe up to 1200px, fluid down to mobile */
.page-content {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: var(--gutter);
}

/* prose measure: readable line length regardless of page width */
.page-content h1,
.page-content h2,
.page-content > p,
.page-content > ul,
.page-content > figure,
.page-content > .caption {
  max-width: var(--text-max);
  margin-left: auto;
  margin-right: auto;
}

.page-content h1 {
  font-family: 'Lalezar', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(19px, 2.9vw, 24px);
  letter-spacing: 0.5px;
  margin-top: 0;
  margin-bottom: 12px;
}

.page-content h2 {
  font-family: 'Lalezar', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(17px, 2.4vw, 19px);
  letter-spacing: 0.5px;
  margin-top: 24px;
  margin-bottom: 10px;
}

.page-content p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--blue-dark);
  margin-bottom: 14px;
}

.page-content p strong {
  font-weight: 700;
}

.page-content ul {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  padding-left: 18px;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.page-content figure {
  margin: 24px auto;
  max-width: min(var(--text-max), 100%);
}

.page-content figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-content .caption {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: var(--blue-body);
  margin: 0 auto;
}

.contact-email {
  font-weight: 400;
  text-decoration: underline;
}

