:root {
  --bg: #090b10;
  --bg-soft: #10131a;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --text: #f6f2ea;
  --muted: #b7b0a2;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --primary: #8f63ff;
  --primary-deep: #6c3cf4;
  --accent: #ff9a4d;
  --accent-soft: rgba(255, 154, 77, 0.16);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Google Sans", "Google Sans Text", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  background:
    linear-gradient(rgba(9, 11, 16, 0.92), rgba(9, 11, 16, 0.98)),
    url("images/background.png") center top / 1400px auto repeat,
    radial-gradient(circle at top left, rgba(143, 99, 255, 0.12), transparent 32%),
    radial-gradient(circle at top right, rgba(255, 154, 77, 0.1), transparent 24%),
    linear-gradient(180deg, #090b10 0%, #10131a 45%, #0a0c11 100%);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 7vw, 6.1rem);
  line-height: 0.95;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.45rem;
  line-height: 1.15;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  background: #fff;
  color: #111;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(9, 11, 16, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.25rem;
}

.brand img {
  width: 180px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.35rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--text);
}

.nav-toggle span {
  width: 1.1rem;
  height: 2px;
  background: currentColor;
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

.eyebrow,
.section-label,
.card-label,
.meta-label {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-text,
.section-intro,
.hero-note p,
.content-card p,
.statement-card p,
.artists-feature p,
.project-card p,
.award-card p,
.contact-copy p,
.contact-meta p,
.stat-label {
  color: var(--muted);
}

.hero {
  position: relative;
  min-height: calc(100vh - 5.25rem);
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 11, 16, 0.94) 0%, rgba(9, 11, 16, 0.82) 48%, rgba(9, 11, 16, 0.62) 100%),
    url("images/Mourjo-3.jpg") center center / cover no-repeat;
  opacity: 0.58;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(143, 99, 255, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(9, 11, 16, 0.08), rgba(9, 11, 16, 0.45));
}

.hero-grid,
.section-heading,
.company-grid,
.artists-grid,
.awards-layout,
.contact-grid,
.about-grid,
.projects-grid,
.awards-grid,
.expertise-grid,
.hero-stats,
.contact-meta {
  display: grid;
}

.hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 2rem;
  align-items: end;
  padding: 5rem 0 4rem;
}

.hero-text {
  max-width: 44rem;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fbf7ff;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.hero-note,
.stat-card,
.content-card,
.statement-card,
.artists-feature,
.project-card,
.award-card,
.expertise-card,
.contact-panel,
.logo-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.hero-note {
  max-width: 42rem;
  padding: 1.5rem;
  border-color: rgba(255, 154, 77, 0.24);
  background: linear-gradient(180deg, rgba(255, 154, 77, 0.08), rgba(255, 255, 255, 0.03));
}

.hero-sidebar {
  display: grid;
  gap: 1.25rem;
}

.hero-portrait,
.media-frame {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-portrait img,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.object-fit-fallback .hero-portrait,
.object-fit-fallback .media-frame {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.object-fit-fallback .hero-portrait img,
.object-fit-fallback .media-frame img {
  visibility: hidden;
}

.hero-portrait {
  min-height: 28rem;
}

.hero-stats {
  gap: 1rem;
}

.stat-card {
  padding: 1.25rem 1.3rem;
}

.stat-value {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  line-height: 1;
}

.section-heading,
.artists-grid,
.awards-layout,
.contact-grid,
.company-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.section-heading {
  align-items: end;
  margin-bottom: 2rem;
}

.about-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.content-card,
.statement-card,
.artists-feature,
.project-card,
.award-card,
.contact-panel {
  padding: 1.8rem;
}

.company-copy {
  display: grid;
  gap: 1.35rem;
  align-content: start;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill-list span,
.artists-list span {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.statement-card {
  border-color: rgba(143, 99, 255, 0.28);
}

.company-media {
  display: grid;
  gap: 1.25rem;
}

.portrait-large {
  min-height: 35rem;
}

.logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
  padding: 2rem;
}

.logo-panel img {
  width: min(72%, 18rem);
  height: auto;
}

.artists-grid {
  align-items: start;
}

.artists-feature {
  padding: 1.8rem;
}

.artists-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.projects-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.project-card {
  display: grid;
  align-content: start;
  min-height: 15rem;
}

.award-year {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--accent);
  font-weight: 600;
}

.awards-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.award-card {
  min-height: 14rem;
}

.expertise-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.expertise-card {
  position: relative;
  display: grid;
  gap: 1.5rem;
  min-height: 12.5rem;
  padding: 1.35rem;
  overflow: hidden;
  text-align: left;
  font-size: 0.98rem;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}

.expertise-card::before,
.expertise-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.expertise-card::before {
  inset: 0;
  background:
    linear-gradient(150deg, rgba(143, 99, 255, 0.14), transparent 46%),
    radial-gradient(circle at bottom right, rgba(255, 154, 77, 0.18), transparent 32%);
  opacity: 0.9;
}

.expertise-card::after {
  top: 1rem;
  right: 1rem;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.expertise-card:hover,
.expertise-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(255, 154, 77, 0.24);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.expertise-card:hover::before,
.expertise-card:focus-within::before {
  transform: scale(1.03);
}

.expertise-card:hover::after,
.expertise-card:focus-within::after {
  transform: translate(-0.3rem, 0.2rem);
}

.expertise-card:nth-child(even)::before {
  background:
    linear-gradient(160deg, rgba(255, 154, 77, 0.14), transparent 44%),
    radial-gradient(circle at bottom left, rgba(143, 99, 255, 0.18), transparent 30%);
}

.expertise-index,
.expertise-title {
  position: relative;
  z-index: 1;
}

.expertise-index {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(9, 11, 16, 0.42);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.expertise-title {
  max-width: 14ch;
  align-self: end;
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  line-height: 1.08;
}

.contact-grid {
  align-items: start;
}

.contact-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.meta-label {
  display: block;
}

.contact-panel {
  display: grid;
  gap: 1.25rem;
}

.contact-portrait {
  min-height: 15rem;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 1080px) {
  .about-grid,
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 960px) {
  .hero-grid,
  .section-heading,
  .company-grid,
  .artists-grid,
  .awards-layout,
  .contact-grid,
  .about-grid,
  .projects-grid,
  .awards-grid,
  .artists-list,
  .contact-meta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 4.5rem 0;
  }

  .hero-sidebar {
    max-width: 36rem;
  }

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

  .footer-inner {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.75rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(16, 19, 26, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .section {
    padding: 4.5rem 0;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4.4rem);
  }

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

  .button {
    width: 100%;
  }

  .portrait-large,
  .hero-portrait,
  .contact-portrait {
    min-height: 22rem;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
