:root {
  --bg: #f5f1ea;
  --paper: rgba(255, 251, 246, 0.78);
  --paper-strong: rgba(255, 252, 248, 0.9);
  --ink: #1f2c39;
  --muted: #607181;
  --line: rgba(31, 44, 57, 0.1);
  --navy: #20354b;
  --navy-strong: #102031;
  --sand: #ddc7a7;
  --ice: #c4dbe8;
  --glow: rgba(169, 204, 223, 0.32);
  --shadow: 0 24px 60px rgba(27, 42, 57, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(221, 199, 167, 0.34), transparent 28%),
    radial-gradient(circle at top right, rgba(196, 219, 232, 0.52), transparent 24%),
    linear-gradient(180deg, #faf6f0 0%, var(--bg) 100%);
  font: 16px/1.65 "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(250, 246, 240, 0.78);
  border-bottom: 1px solid rgba(31, 44, 57, 0.06);
}

.topbar,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar {
  min-height: 78px;
}

.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), #395775);
  color: #fdf8f1;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy small,
.section-label,
.eyebrow,
.project-status {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.language-picker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(31, 44, 57, 0.1);
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.76);
  color: var(--muted);
}

.language-icon {
  font-size: 1rem;
  line-height: 1;
}

.language-picker select {
  min-width: 112px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  outline: none;
}

.hero,
.section {
  padding: 40px 0;
}

.hero {
  padding-top: 56px;
}

.hero-grid,
.reason-grid,
.about-grid {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
}

.hero h1,
.section-heading h2,
.panel h3,
.about-grid h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
}

.intro,
.section-heading p,
.panel p,
.project-card p,
.about-copy p {
  color: var(--muted);
}

.intro {
  max-width: 58ch;
  margin: 18px 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 26px 0 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-solid {
  background: linear-gradient(135deg, var(--navy), #37526d);
  color: #fffdf8;
  box-shadow: 0 16px 30px rgba(32, 53, 75, 0.18);
}

.button-soft {
  border-color: rgba(31, 44, 57, 0.12);
  background: rgba(255, 252, 248, 0.7);
}

.hero-art {
  display: flex;
  justify-content: center;
}

.art-frame {
  position: relative;
  width: min(480px, 100%);
  padding: 18px;
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(249, 243, 235, 0.9)),
    linear-gradient(140deg, rgba(196, 219, 232, 0.2), rgba(221, 199, 167, 0.16));
  border: 1px solid rgba(31, 44, 57, 0.06);
  box-shadow: var(--shadow);
}

.art-frame::before {
  content: "";
  position: absolute;
  inset: auto 12% -14px 12%;
  height: 28px;
  border-radius: 999px;
  background: rgba(31, 44, 57, 0.08);
  filter: blur(18px);
}

.art-frame img {
  position: relative;
  z-index: 1;
  border-radius: 28px;
}

.section-heading {
  max-width: 64ch;
  margin-bottom: 24px;
}

.section-heading h2,
.about-grid h2 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

.section-heading p {
  margin: 14px 0 0;
}

.project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.9fr));
  gap: 18px;
}

.project-card,
.panel {
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.project-card-featured {
  background:
    linear-gradient(180deg, rgba(255, 251, 246, 0.98), rgba(244, 239, 232, 0.92)),
    linear-gradient(140deg, rgba(196, 219, 232, 0.16), rgba(221, 199, 167, 0.14));
}

.project-card h3,
.panel h3 {
  font-size: 1.35rem;
}

.project-card h3 {
  margin: 8px 0 12px;
}

.panel h3 {
  margin: 0 0 12px;
}

.project-card p,
.panel p {
  margin: 0;
}

.project-points {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--ink);
}

.project-points li + li {
  margin-top: 8px;
}

.reason-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel-soft {
  background:
    radial-gradient(circle at top right, var(--glow), transparent 32%),
    var(--paper-strong);
}

.about-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 14px;
}

.about-copy p {
  margin: 0;
}

.about-quote {
  margin: 18px 0 0;
  color: var(--navy);
  font-size: 1.05rem;
  font-style: italic;
}

.site-footer {
  padding: 20px 0 36px;
}

.footer-row {
  padding-top: 18px;
  border-top: 1px solid rgba(31, 44, 57, 0.08);
  color: var(--muted);
  font-size: 0.95rem;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .hero-grid,
  .project-grid,
  .reason-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .project-card,
  .panel {
    padding: 22px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .topbar-right {
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
  }

  .nav {
    gap: 12px;
  }

  .language-picker {
    width: 100%;
    justify-content: space-between;
  }

  .language-picker select {
    min-width: 0;
    width: 100%;
    text-align: right;
  }

  .hero,
  .section {
    padding: 28px 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
