:root {
  color-scheme: light;
  --ink: #1e1b18;
  --muted: #7a726a;
  --paper: #f5f1e8;
  --surface: #ffffff;
  --wash: #eee8dc;
  --line: #b8ada0;
  --dark: #1e1b18;
  --dark-soft: #1e1b18;
  --oxblood: #6e1f28;
  --green: #2f665b;
  --brass: #a4833b;
  --sage: #7a726a;
  --stone: #b8ada0;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 18px 50px rgba(23, 21, 18, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.56;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

.site-header {
  align-items: center;
  background: rgba(245, 241, 232, 0.96);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 68px;
  padding: 12px clamp(18px, 4vw, 58px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand-link {
  align-items: center;
  display: inline-flex;
  font-family: var(--font-display);
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-mark {
  align-items: center;
  background: var(--oxblood);
  border-radius: 8px;
  color: var(--paper);
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 0.86rem;
  height: 36px;
  justify-content: center;
  width: 36px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2.4vw, 24px);
  justify-content: flex-end;
}

nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 760;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
}

.hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(9, 9, 8, 0.88) 0%, rgba(9, 9, 8, 0.76) 38%, rgba(9, 9, 8, 0.36) 100%),
    url("/assets/vytis-studios-hero.png") center / cover;
  color: white;
  display: grid;
  min-height: clamp(500px, 76svh, 720px);
  padding: clamp(56px, 8vw, 108px) clamp(22px, 6vw, 86px);
}

.hero-copy,
.page-hero-copy {
  max-width: 900px;
}

.eyebrow {
  color: var(--brass);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  font-family: var(--font-display);
  font-size: clamp(3.15rem, 9vw, 7.4rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.92;
  margin-bottom: 24px;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.2vw, 3.3rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.06;
  margin-bottom: 18px;
}

h3 {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 10px;
}

h4 {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.lede {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.24;
  max-width: 780px;
}

.lede.dark {
  color: var(--muted);
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  align-items: center;
  border: 1px solid rgba(23, 21, 18, 0.24);
  border-radius: 8px;
  display: inline-flex;
  font-weight: 820;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  text-decoration: none;
}

.hero .button {
  border-color: rgba(255, 255, 255, 0.35);
}

.button.primary,
.button.dark {
  background: var(--ink);
  color: white;
}

.hero .button.primary {
  background: white;
  color: var(--dark);
}

.button.secondary {
  background: transparent;
  color: inherit;
}

.button.accent {
  background: var(--oxblood);
  color: white;
}

.band {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 58px);
}

.band.light {
  background: var(--paper);
}

.band.white {
  background: var(--surface);
}

.band.wash {
  background: var(--wash);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.band.dark {
  background: var(--dark-soft);
  color: white;
}

.section-inner {
  margin: 0 auto;
  max-width: 1160px;
}

.section-head {
  max-width: 760px;
}

.section-head.center {
  margin: 0 auto;
  text-align: center;
}

.section-head p,
.copy-block p,
.document p,
.document li,
.project-card p,
.text-panel p,
.feature-card p,
.media-card p,
.shelf-item p,
.note-block p {
  color: var(--muted);
  font-size: 1.03rem;
}

.band.dark .section-head p,
.band.dark .copy-block p,
.band.dark .text-panel p,
.band.dark .note-block p {
  color: rgba(255, 255, 255, 0.76);
}

.split {
  align-items: center;
  display: grid;
  gap: clamp(30px, 6vw, 76px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
}

.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}

.project-grid,
.media-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

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

.feature-card,
.project-card,
.media-card,
.shelf-item,
.text-panel,
.note-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-card,
.media-card,
.shelf-item,
.text-panel,
.note-block {
  padding: clamp(22px, 4vw, 34px);
}

.feature-card {
  min-height: 300px;
}

.feature-card strong,
.media-card strong,
.shelf-item strong {
  color: var(--oxblood);
  display: block;
  font-size: 0.78rem;
  font-weight: 850;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.feature-card a,
.project-card a,
.media-card a,
.shelf-item a {
  color: var(--ink);
  font-weight: 820;
}

.project-card {
  min-height: 100%;
  overflow: hidden;
}

.project-card > img,
.image-panel > img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.project-card .card-mark,
.visual-mark {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: var(--green);
  color: white;
  display: flex;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 850;
  justify-content: center;
}

.visual-mark.oxblood {
  background: var(--oxblood);
}

.visual-mark.dark {
  background: var(--dark-soft);
}

.visual-mark img {
  filter: invert(1);
  width: 42%;
}

.project-card-body {
  padding: 22px;
}

.image-panel {
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.icon-lockup {
  align-items: center;
  display: flex;
  gap: 18px;
  margin-bottom: 24px;
}

.icon-lockup img {
  border-radius: 18px;
  box-shadow: var(--shadow);
  width: 92px;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(16, 16, 15, 0.92), rgba(16, 16, 15, 0.74)),
    url("/assets/vytis-studios-hero.png") center / cover;
  color: white;
  padding: clamp(62px, 10vw, 122px) clamp(22px, 6vw, 86px);
}

.page-hero.product {
  background: var(--surface);
  color: var(--ink);
}

.page-hero.product h1 {
  font-size: clamp(2.9rem, 5.4vw, 5.4rem);
}

.page-hero.product .lede {
  color: var(--muted);
}

.document-page {
  padding: clamp(44px, 8vw, 86px) clamp(18px, 4vw, 58px);
}

.document {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 0 auto;
  max-width: 880px;
  padding: clamp(26px, 6vw, 58px);
}

.document h1 {
  color: var(--ink);
  font-size: clamp(2.35rem, 8vw, 4.8rem);
  line-height: 0.98;
}

.document h2 {
  border-top: 1px solid var(--line);
  font-size: 1.35rem;
  margin-top: 34px;
  padding-top: 24px;
}

.document ul {
  padding-left: 1.25rem;
}

.shelf {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.shelf-item {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.2fr);
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 34px clamp(18px, 4vw, 58px);
}

.footer-inner {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  margin: 0 auto;
  max-width: 1160px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: flex-end;
}

.site-footer a {
  color: white;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .feature-grid,
  .media-grid.two,
  .split,
  .shelf-item {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: 94px;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    background-position: 58% center;
    min-height: 72svh;
  }

  .project-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .brand-link span:last-child {
    display: none;
  }
}
