:root {
  --background: #e8e5dc;
  --foreground: #3e3a37;
  --primary: #71705c;
  --secondary: #4e4f47;
  --muted: #ddd9ce;
  --muted-foreground: #71705c;
  --border: #cdc9bd;
  --bone: #e8e5dc;
  --olive: #4e4f47;
  --brass: #71705c;
  --header-height: 96px;
  --container-width: 1400px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(232, 229, 220, 0.8);
  backdrop-filter: blur(14px);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.site-logo {
  height: 28px;
  width: auto;
}

.site-logo--inverse {
  filter: brightness(0) invert(1);
}

.icon-button {
  position: relative;
  width: 44px;
  height: 44px;
  color: var(--foreground);
  transition: color 0.3s ease;
}

.icon-button:hover {
  color: var(--brass);
}

.icon-button--light {
  color: #fff;
}

.icon-button--light:hover {
  color: rgba(255, 255, 255, 0.8);
}

.icon-close,
.hero-arrow::before,
.hero-arrow::after,
.gallery-arrow::before,
.gallery-arrow::after,
.gallery-modal__close::before,
.gallery-modal__close::after,
.button-primary__arrow::before,
.button-primary__arrow::after {
  position: absolute;
  content: "";
}

.icon-menu {
  display: block;
  width: 28px;
  height: 28px;
  margin: 8px;
}

.icon-close {
  display: block;
  width: 28px;
  height: 28px;
  margin: 8px;
}

.gallery-modal__close::before,
.gallery-modal__close::after {
  top: 21px;
  left: 50%;
  width: 24px;
  height: 1.5px;
  margin-left: -12px;
  border-radius: 999px;
  background: currentColor;
}

.gallery-modal__close::before {
  transform: rotate(45deg);
}

.gallery-modal__close::after {
  transform: rotate(-45deg);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.menu-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 210;
  width: min(100%, 24rem);
  height: 100dvh;
  transform: translateX(100%);
  background: var(--olive);
  color: #fff;
  transition: transform 0.5s ease;
}

.side-menu.is-open {
  transform: translateX(0);
}

.side-menu__content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 40px;
}

.side-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
}

.side-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.side-menu__nav a {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 2.25rem;
  line-height: 1;
  transition: color 0.3s ease;
}

.side-menu__nav a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.side-menu__footer {
  margin-top: auto;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-menu__footer a,
.side-menu__footer p {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.side-menu__footer p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.6);
}

.hero-section {
  padding: 106px 0 48px;
}

.hero-slider {
  position: relative;
  height: 75vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--muted);
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease, transform 1s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(232, 229, 220, 0.4);
  transition: width 0.3s ease, background 0.3s ease;
}

.hero-dot:hover,
.hero-dot.is-active {
  background: var(--bone);
}

.hero-dot.is-active {
  width: 32px;
}

.hero-arrow,
.gallery-arrow {
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.hero-arrow {
  position: absolute;
  width: 44px;
  height: 44px;
  color: rgba(232, 229, 220, 0.5);
  transition: color 0.3s ease;
}

.hero-arrow:hover {
  color: var(--bone);
}

.hero-arrow--prev {
  left: 24px;
}

.hero-arrow--next {
  right: 24px;
}

.hero-arrow::before,
.hero-arrow::after,
.gallery-arrow::before,
.gallery-arrow::after {
  width: 18px;
  height: 1.5px;
  background: currentColor;
  left: 10px;
}

.hero-arrow--prev::before,
.gallery-arrow--prev::before {
  top: 17px;
  transform: rotate(-45deg);
}

.hero-arrow--prev::after,
.gallery-arrow--prev::after {
  top: 29px;
  transform: rotate(45deg);
}

.hero-arrow--next::before,
.gallery-arrow--next::before {
  top: 17px;
  transform: rotate(45deg);
}

.hero-arrow--next::after,
.gallery-arrow--next::after {
  top: 29px;
  transform: rotate(-45deg);
}

.manifesto-section,
.projects-section,
.cta-section {
  margin-top: -40px;
  position: relative;
  z-index: 1;
  padding-top: 56px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
  align-items: start;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--muted-foreground);
}

.eyebrow--accent {
  color: var(--primary);
}

.eyebrow--light {
  color: #fff;
}

.eyebrow--small {
  font-size: 0.72rem;
}

.hairline {
  width: 48px;
  height: 1px;
  margin-top: 16px;
  background: var(--border);
}

.manifesto-text,
.band-title,
.section-heading h2,
.about-title,
.cta-section h2,
.footer-links a,
.projects-card__title {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 300;
  letter-spacing: -0.01em;
}

.manifesto-text {
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.15;
}

.manifesto-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.manifesto-card {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.manifesto-card h2 {
  margin: 8px 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 300;
}

.manifesto-card p,
.about-copy,
.footer-copy,
.muted-copy {
  color: var(--muted-foreground);
}

.manifesto-card p {
  font-size: 0.92rem;
  line-height: 1.7;
}

.testimonial-band,
.about-band {
  margin-top: 60px;
  color: #fff;
}

.testimonial-band {
  background: var(--secondary);
  padding: 112px 0 160px;
}

.band-title {
  margin-top: 16px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: #fff;
}

.testimonial-quote {
  padding: 8px 0 8px 32px;
  border-left: 1px solid var(--primary);
}

.testimonial-quote p {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-style: italic;
  line-height: 1.5;
  color: #fff;
}

.testimonial-quote .eyebrow {
  margin-top: 24px;
}

.link-underline {
  position: relative;
  display: inline-block;
  color: inherit;
}

.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.link-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.eyebrow-link {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.testimonial-band .eyebrow-link {
  margin-top: 48px;
}

.about-band .eyebrow-link {
  margin-top: 40px;
}

.projects-section {
  padding-bottom: 160px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.section-heading h2,
.cta-section h2 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px 24px;
}

.project-card {
  display: block;
  text-align: left;
}

.project-card.is-offset {
  margin-top: 96px;
}

.project-card__media,
.image-frame {
  overflow: hidden;
  background: var(--muted);
}

.project-card__media {
  aspect-ratio: 4 / 5;
}

.project-card__media img,
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.project-card:hover .project-card__media img,
.image-frame:hover img {
  transform: scale(1.04);
}

.project-card__meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.projects-card__title {
  font-size: 2rem;
  line-height: 1.1;
}

.project-card__details p {
  margin-top: 4px;
  font-size: 0.92rem;
  color: var(--muted-foreground);
}

.project-card__year {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.about-band {
  background: var(--olive);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
  padding: 112px 0 144px;
}

.about-image-frame {
  max-width: 480px;
  aspect-ratio: 4 / 5;
}

.about-title {
  margin-top: 20px;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 1.05;
  color: #fff;
}

.about-copy {
  max-width: 32rem;
  margin-top: 32px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

.cta-section {
  padding-top: 64px;
  padding-bottom: 96px;
  margin-top: 60px;
  text-align: center;
}

.cta-section h2 {
  width: min(100%, 850px);
  margin: 24px auto 0;
  line-height: 1.05;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  padding: 16px 32px;
  background: var(--primary);
  color: var(--bone);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

.button-primary:hover {
  background: var(--secondary);
}

.button-primary__arrow {
  position: relative;
  width: 14px;
  height: 14px;
}

.button-primary__arrow::before,
.button-primary__arrow::after {
  background: currentColor;
}

.button-primary__arrow::before {
  top: 6px;
  left: 0;
  width: 12px;
  height: 1px;
}

.button-primary__arrow::after {
  top: 2px;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  background: transparent;
}

.site-footer {
  margin-top: 128px;
  border-top: 1px solid var(--border);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0;
}

.footer-logo {
  opacity: 0.9;
}

.footer-copy {
  max-width: 20rem;
  margin-top: 24px;
  font-size: 0.875rem;
  line-height: 1.625;
}

.footer-links {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.footer-links a {
  width: fit-content;
}

.footer-bottom {
  border-top: 1px solid var(--border);
}

.footer-bottom__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
}

.gallery-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.gallery-modal__dialog {
  position: relative;
  width: min(96vw, 1400px);
  height: 92vh;
  margin: 4vh auto 0;
  background: var(--background);
  display: flex;
  flex-direction: column;
}

.gallery-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  color: var(--foreground);
  z-index: 4;
}

.gallery-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 12px;
}

.gallery-modal__header h2 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 300;
}

.gallery-modal__stage {
  position: relative;
  flex: 1;
  background: var(--muted);
  overflow: hidden;
}

.gallery-modal__stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-arrow {
  position: absolute;
  width: 48px;
  height: 48px;
  color: rgba(62, 58, 55, 0.6);
  background: rgba(232, 229, 220, 0.8);
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease;
}

.gallery-arrow:hover {
  background: var(--background);
  color: var(--foreground);
}

.gallery-arrow--prev {
  left: 16px;
}

.gallery-arrow--next {
  right: 16px;
}

.gallery-modal__thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 16px 24px 20px;
}

.gallery-thumb {
  flex: 0 0 auto;
  width: 80px;
  height: 64px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: border-color 0.3s ease, opacity 0.3s ease;
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
  opacity: 1;
}

.gallery-thumb.is-active {
  border-color: var(--foreground);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.desktop-only {
  display: inline-flex;
}

.page-hero {
  padding: 112px 0 64px;
}

.page-hero--wide {
  padding-bottom: 80px;
}

.page-hero h1,
.content-title,
.band-panel__quote,
.portfolio-card__title,
.contact-link,
.contact-link--small {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 300;
  letter-spacing: -0.01em;
}

.page-hero h1 {
  max-width: 52rem;
  font-size: clamp(3.6rem, 8vw, 6.5rem);
  line-height: 0.98;
}

.page-lead {
  max-width: 34rem;
  margin-top: 32px;
  color: var(--muted-foreground);
  line-height: 1.8;
}

.accent-word {
  color: var(--brass);
  font-style: normal;
}

.about-page-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.about-page-grid {
  padding-bottom: 112px;
}

.about-page-copy {
  max-width: 36rem;
  padding-top: 24px;
  display: grid;
  gap: 24px;
  line-height: 1.9;
  color: rgba(62, 58, 55, 0.85);
}

.about-page-copy .lead-copy {
  color: var(--foreground);
  font-size: 1.35rem;
}

.value-band,
.included-band {
  background: var(--secondary);
  color: #fff;
}

.value-band .container,
.included-band .container {
  padding: 96px 0 128px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.value-item .hairline {
  background: rgba(255, 255, 255, 0.9);
  margin-top: 0;
  margin-bottom: 24px;
}

.value-item h2,
.service-row h2,
.method-step h2,
.philosophy-quote,
.testimonial-card p {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 300;
}

.value-item h2 {
  margin-bottom: 12px;
  font-size: 2.2rem;
}

.value-item p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.philosophy-section {
  padding: 96px 0 128px;
}

.philosophy-quote {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.2;
}

.philosophy-note {
  max-width: 36rem;
  margin-top: 32px;
  color: var(--muted-foreground);
  line-height: 1.8;
}

.services-list {
  padding-bottom: 112px;
  border-top: 1px solid var(--border);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 4fr) minmax(0, 7fr);
  gap: 24px 48px;
  padding: 40px 0 56px;
  border-bottom: 1px solid var(--border);
}

.service-row h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.service-row p {
  padding-top: 10px;
  color: var(--muted-foreground);
  line-height: 1.9;
  font-size: 1.04rem;
}

.olive-cta {
  padding: 96px 0 128px;
  margin-top: 0;
  background: var(--olive);
  color: var(--bone);
  text-align: center;
}

.olive-cta h2 {
  width: min(100%, 800px);
  margin: 0 auto;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 300;
  line-height: 1.05;
}

.olive-cta p {
  width: min(100%, 36rem);
  margin: 24px auto 0;
  color: rgba(232, 229, 220, 0.8);
  line-height: 1.8;
}

.olive-cta .button-secondary {
  margin-top: 40px;
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: var(--brass);
  color: var(--foreground);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease;
}

.button-secondary:hover {
  background: var(--bone);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px 48px;
  padding-bottom: 112px;
}

.method-step {
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.method-step__heading {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 16px;
}

.method-step h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.method-step p {
  max-width: 28rem;
  margin-left: 56px;
  color: var(--muted-foreground);
  line-height: 1.9;
  font-size: 1.04rem;
}

.included-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 40px;
}

.included-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 40px;
}

.included-list li {
  display: flex;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.included-list span:first-child {
  color: var(--brass);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  padding-bottom: 112px;
}

.testimonial-card {
  padding: 40px 40px 48px;
  background: var(--secondary);
  color: #fff;
}

.testimonial-card p {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-style: italic;
  line-height: 1.5;
}

.testimonial-card .eyebrow {
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.7);
}

.testimonial-card .hairline {
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.2);
}

.contact-grid {
  padding-bottom: 112px;
  gap: 64px;
}

.contact-stack {
  display: grid;
  gap: 40px;
}

.contact-link {
  display: inline-flex;
  margin-top: 12px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.contact-link--small {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.contact-note,
.contact-list,
.contact-panel p {
  color: rgba(62, 58, 55, 0.85);
  line-height: 1.8;
}

.contact-list {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
}

.contact-panel {
  padding: 32px;
  background: var(--secondary);
  color: #fff;
}

.contact-panel .eyebrow,
.contact-panel label {
  color: #fff;
}

.contact-form {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.contact-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.contact-input,
.contact-textarea {
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  color: #fff;
  outline: none;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.contact-textarea {
  min-height: 120px;
  resize: vertical;
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 48px;
}

.filter-button {
  padding: 10px 20px;
  border: 1px solid var(--border);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.filter-button:hover {
  color: var(--foreground);
  border-color: var(--foreground);
}

.filter-button.is-active {
  background: var(--foreground);
  border-color: var(--foreground);
  color: var(--bone);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 24px;
  padding-bottom: 112px;
}

.portfolio-card {
  display: block;
  text-align: left;
}

.portfolio-card__media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--muted);
}

.portfolio-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.portfolio-card:hover .portfolio-card__media img {
  transform: scale(1.04);
}

.portfolio-card__body {
  display: block;
  margin-top: 20px;
}

.portfolio-card__title {
  display: block;
  font-size: 2rem;
  line-height: 1.1;
}

.portfolio-card__body p {
  margin-top: 4px;
  color: var(--muted-foreground);
  font-size: 0.92rem;
}

@media (max-width: 1024px) {
  .manifesto-cards,
  .projects-grid,
  .about-grid,
  .footer-main,
  .value-grid,
  .testimonial-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .project-card.is-offset {
    margin-top: 0;
  }

  .footer-bottom__content,
  .section-heading,
  .service-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-page-grid,
  .contact-grid,
  .included-grid {
    grid-template-columns: 1fr;
  }

  .service-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .included-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(calc(100% - 32px), var(--container-width));
  }

  .site-logo {
    height: 26px;
  }

  .hero-section {
    padding-top: 96px;
  }

  .hero-slider {
    min-height: 420px;
    height: 70vh;
  }

  .hero-arrow {
    display: none;
  }

  .section-grid,
  .about-grid,
  .about-page-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-page-grid,
  .contact-grid,
  .method-grid,
  .portfolio-grid,
  .value-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .method-step p {
    margin-left: 0;
  }

  .project-filters {
    padding-bottom: 32px;
  }

  .testimonial-band {
    padding: 96px 0 128px;
  }

  .projects-section {
    padding-bottom: 112px;
  }

  .about-grid {
    padding: 96px 0 112px;
  }

  .cta-section {
    padding-bottom: 72px;
  }

  .desktop-only {
    display: none;
  }

  .side-menu {
    width: 100%;
    max-width: none;
  }

  .side-menu__content {
    padding: 32px;
  }

  .gallery-modal__dialog {
    width: 100vw;
    height: 100vh;
    margin-top: 0;
  }

  .gallery-modal__header,
  .gallery-modal__thumbs {
    padding-left: 20px;
    padding-right: 20px;
  }
}
