/* ============================================================
   LAW ARCHITECTS — Main Stylesheet
   Style: Minimal & Monochrome
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:         #F9F8F6;
  --bg-dark:    #111110;
  --ink:        #1A1A18;
  --ink-muted:  #7A7A76;
  --rule:       #E2E1DC;
  --accent:     #1A1A18;
  --white:      #FFFFFF;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', 'Helvetica Neue', Arial, sans-serif;

  --nav-h:      72px;
  --max-w:      1320px;
  --gutter:     clamp(24px, 5vw, 80px);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease;
}

.nav.scrolled {
  background: rgba(249, 248, 246, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--rule);
}

/* Subtle top gradient so logo/nav stays readable over the image */
.hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: calc(var(--nav-h) * 2);
  background: linear-gradient(to bottom, rgba(249,248,246,0.7) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.nav__inner {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 0.2s;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--ink);
}

.nav__cta {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  padding: 0.55em 1.4em;
  transition: background 0.2s, color 0.2s;
}

.nav__cta:hover {
  background: var(--ink);
  color: var(--white);
}

/* --- Dropdown --- */
.nav__item {
  position: relative;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: -1rem;
  background: var(--bg);
  border: 1px solid var(--rule);
  min-width: 180px;
  list-style: none;
  padding: 0.5rem 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 200;
}

.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1;
  pointer-events: all;
  transform: none;
}

.nav__dropdown li a {
  display: block;
  padding: 0.5rem 1.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 0.15s, background 0.15s;
}

.nav__dropdown li a:hover {
  color: var(--ink);
  background: var(--bg);
}

/* Drawer sub-links */
.nav__drawer-sub {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-left: 1.2rem;
  border-left: 1px solid var(--rule);
  margin-top: 0.75rem;
}

.nav__drawer-sub a {
  font-family: var(--font-sans) !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted) !important;
}

.nav__drawer-sub a:hover {
  color: var(--ink) !important;
}

/* Hamburger (mobile) */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  /* Cinematic: 16:9 on desktop, tall on mobile */
  min-height: clamp(520px, 56.25vw, 95svh);
  padding-top: 0; /* bleeds under transparent nav */
  display: grid;
  grid-template-rows: 1fr auto;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  position: relative;
}

/* Full-bleed landscape background image */
.hero__image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.hero__image-overlay {
  position: absolute;
  inset: 0;
  /* only a thin fade at the very bottom to keep text readable */
  background: linear-gradient(
    to bottom,
    transparent 55%,
    rgba(249,248,246,0.85) 75%,
    rgba(249,248,246,1.00) 88%
  );
}

.hero__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--gutter);
  padding-top: calc(var(--nav-h) + clamp(32px, 4vw, 60px));
  padding-bottom: clamp(20px, 2.5vw, 36px);
  /* right padding leaves room for the WhatsApp badge */
  padding-right: clamp(180px, 20vw, 260px);
  max-width: var(--max-w);
  margin-inline: auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* WhatsApp badge — absolute bottom-right, monochrome */
.hero__whatsapp {
  position: absolute;
  right: var(--gutter);
  bottom: 52px; /* sits just above the marquee strip */
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: clamp(80px, 10vw, 110px);
  height: clamp(80px, 10vw, 110px);
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  border-radius: 50%;
  text-align: center;
  transition: background 0.2s, transform 0.25s;
}

.hero__whatsapp:hover {
  background: #222;
  transform: scale(1.06);
}

.hero__whatsapp svg {
  width: clamp(18px, 2.2vw, 26px);
  height: clamp(18px, 2.2vw, 26px);
  flex-shrink: 0;
}

.hero__whatsapp span {
  font-size: clamp(0.55rem, 0.7vw, 0.65rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.3;
  font-weight: 500;
}

/* Marquee items as links */
.hero__marquee-inner a {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-inline: 2rem;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.hero__marquee-inner a::before {
  content: '—';
  margin-right: 2rem;
  color: var(--rule);
}

.hero__marquee-inner a:hover {
  color: var(--ink);
}

.hero__eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.9rem;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.8vw, 4.2rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 18ch;
}

.hero__title em {
  font-style: italic;
  color: var(--ink-muted);
}

.hero__sub {
  margin-top: 3rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero__tagline {
  max-width: 36ch;
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  color: var(--ink-muted);
  line-height: 1.65;
}

.hero__scroll {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  flex-shrink: 0;
}

.hero__scroll-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--ink-muted);
}

.hero__marquee {
  border-top: 1px solid var(--rule);
  padding: 1rem var(--gutter);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  background: rgba(249,248,246,0.92);
  backdrop-filter: blur(8px);
}

.hero__marquee-inner {
  display: inline-block;
  animation: marquee 30s linear infinite;
}

.hero__marquee-inner span {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-inline: 2rem;
}

.hero__marquee-inner span::before {
  content: '—';
  margin-right: 2rem;
  color: var(--rule);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(40px, 5vw, 72px);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}

.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
}

.section-link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  color: var(--ink-muted);
  transition: color 0.2s;
}

.section-link::after {
  content: '→';
  transition: transform 0.2s;
}

.section-link:hover {
  color: var(--ink);
}

.section-link:hover::after {
  transform: translateX(4px);
}

/* ============================================================
   PORTFOLIO SECTION
   ============================================================ */
#work {
  padding-block: clamp(80px, 10vw, 140px);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

/* Card base */
.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--rule);
}

.project-card--large {
  grid-column: span 7;
  aspect-ratio: 4 / 3;
}

.project-card--tall {
  grid-column: span 5;
  aspect-ratio: 3 / 4;
}

.project-card--wide {
  grid-column: span 5;
  aspect-ratio: 4 / 3;
}

.project-card--medium {
  grid-column: span 7;
  aspect-ratio: 16 / 9;
}

.project-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Placeholder when no image */
.project-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #E8E7E2 0%, #D4D3CD 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-card__image,
.project-card:hover .project-card__placeholder {
  transform: scale(1.04);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,24,0.75) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 3vw, 36px);
}

.project-card:hover .project-card__overlay {
  opacity: 1;
}

.project-card__info {
  color: var(--white);
}

.project-card__cat {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.35rem;
}

.project-card__name {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
}

.project-card__year {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  opacity: 0.6;
}

/* Below-card meta (always visible) */
.project-card__meta {
  padding: 0.9rem 0 0;
}

.project-card__meta-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
}

.project-card__meta-sub {
  font-size: 0.72rem;
  color: var(--ink-muted);
  margin-top: 0.15rem;
  letter-spacing: 0.03em;
}

/* Wrap card + meta */
.project-item {
  display: flex;
  flex-direction: column;
}

.project-item--large  { grid-column: span 7; }
.project-item--tall   { grid-column: span 5; }
.project-item--wide   { grid-column: span 5; }
.project-item--medium { grid-column: span 7; }

.project-item .project-card {
  flex: 1;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
#about {
  padding-block: clamp(80px, 10vw, 140px);
  border-top: 1px solid var(--rule);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.about__image-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--rule);
  overflow: hidden;
}

.about__image-wrap img {
  object-position: center top;
}

.about__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #E2E1DC 0%, #C8C7C0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.about__content {
  padding-top: clamp(24px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.about__heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
}

.about__heading em {
  font-style: italic;
  color: var(--ink-muted);
}

.about__text {
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  color: var(--ink-muted);
  line-height: 1.75;
  max-width: 44ch;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

.about__stat-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1;
}

.about__stat-label {
  font-size: 0.72rem;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  margin-top: 0.3rem;
  line-height: 1.4;
}

.about__cta-wrap {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85em 1.8em;
  border: 1px solid var(--ink);
  transition: background 0.25s, color 0.25s;
  cursor: pointer;
  background: none;
}

.btn--primary {
  background: var(--ink);
  color: var(--white);
}

.btn--primary:hover {
  background: transparent;
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--white);
}

/* ============================================================
   CONTACT BAND
   ============================================================ */
#contact {
  background: var(--bg-dark);
  color: var(--white);
  padding-block: clamp(80px, 10vw, 140px);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}

.contact__heading {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.01em;
}

.contact__heading em {
  font-style: italic;
  opacity: 0.45;
}

.contact__side {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-width: 240px;
}

.contact__detail-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: 0.3rem;
}

.contact__detail-val {
  font-size: 0.9rem;
  opacity: 0.85;
}

.btn--light {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}

.btn--light:hover {
  background: var(--white);
  color: var(--bg-dark);
  border-color: var(--white);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  background: var(--bg-dark);
  color: var(--white);
  padding: 2rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy {
  font-size: 0.72rem;
  opacity: 0.35;
  letter-spacing: 0.05em;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer__links a {
  font-size: 0.72rem;
  opacity: 0.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.footer__links a:hover {
  opacity: 1;
}

/* ============================================================
   MOBILE NAV DRAWER — compact slide-in panel
   ============================================================ */
.nav__drawer {
  position: fixed;
  top: var(--nav-h);
  right: 0;
  width: min(300px, 88vw);
  max-height: calc(100svh - var(--nav-h));
  overflow-y: auto;
  background: var(--bg);
  z-index: 99;
  padding: 1.5rem 1.75rem 2rem;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  box-shadow: -8px 12px 40px rgba(0,0,0,0.08);
  display: none;
}

.nav__drawer.open {
  display: flex;
}

/* Top-level drawer links */
.nav__drawer > a,
.nav__drawer > div > a {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule);
  display: block;
  text-decoration: none;
}

.nav__drawer > a:last-of-type {
  border-bottom: none;
}

/* Accordion toggle button */
.drawer__section {
  border-bottom: 1px solid var(--rule);
}

.drawer__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0.7rem 0;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  text-align: left;
}

.drawer__arrow {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink-muted);
  transition: transform 0.25s;
  display: inline-block;
}

.drawer__toggle[aria-expanded="true"] .drawer__arrow {
  transform: rotate(90deg);
}

/* Accordion sub-list */
.drawer__sub {
  list-style: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s;
  padding: 0 0 0 0.75rem;
}

.drawer__sub.open {
  max-height: 320px;
  padding-bottom: 0.75rem;
}

.drawer__sub li a {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 0.45rem 0;
  text-decoration: none;
  transition: color 0.15s;
  border-left: 2px solid var(--rule);
  padding-left: 0.75rem;
  margin-left: 0;
}

.drawer__sub li a:hover {
  color: var(--ink);
  border-left-color: var(--ink);
}

/* Drawer enquire button */
.drawer__cta {
  margin-top: 1.5rem;
}

/* Drawer sub-links (old style - kept for archive page) */
.nav__drawer-sub {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-left: 1.2rem;
  border-left: 1px solid var(--rule);
  margin-top: 0.75rem;
}

.nav__drawer-sub a {
  font-family: var(--font-sans) !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted) !important;
}

.nav__drawer-sub a:hover {
  color: var(--ink) !important;
}

/* ============================================================
   ANIMATIONS — Hero entrance (CSS-only, no JS needed)
   ============================================================ */
.hero__eyebrow,
.hero__title,
.hero__sub .hero__tagline,
.hero__sub .hero__scroll {
  animation: fadeUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.hero__title        { animation-delay: 0.1s; }
.hero__tagline      { animation-delay: 0.25s; }
.hero__scroll       { animation-delay: 0.35s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   ANIMATIONS — Scroll Reveal (below-the-fold sections)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .nav__links,
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

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

  .project-item--large,
  .project-item--medium { grid-column: span 2; }
  .project-item--tall,
  .project-item--wide   { grid-column: span 1; }

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

  .about__image-wrap {
    aspect-ratio: 4 / 3;
    max-height: 480px;
  }

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

@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .project-item--large,
  .project-item--medium,
  .project-item--tall,
  .project-item--wide { grid-column: span 1; }

  .project-card--large,
  .project-card--medium { aspect-ratio: 4 / 3; }
  .project-card--tall,
  .project-card--wide   { aspect-ratio: 4 / 3; }

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

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