/* ════════════════════════════════════════
   RAYHAN FTISS — Shared Styles
   ════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Gloock&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── TOKENS ── */
:root {
  --ink:   #0b0b0b;
  --paper: #f0ece6;
  --snow:  #ffffff;
  --red:   #C41628;
  --dim:   rgba(240,236,230,0.45);
  --serif: 'Gloock', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

::selection { background: var(--red); color: var(--snow); }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--red); }

/* ── UTILS ── */
.label {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 400;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].in { opacity: 1; transform: none; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  background: none;
  line-height: 1;
}
.btn-red { background: var(--red); color: var(--snow); }
.btn-red:hover { background: #a81222; }
.btn-ghost { border: 1px solid rgba(240,236,230,0.22); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); }

/* ════════════════════════════════════════
   NAV
   ════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.8rem 2.5rem;
  transition: background 0.35s, padding 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(11,11,11,0.95);
  backdrop-filter: blur(10px);
  padding: 1.1rem 2.5rem;
  border-bottom-color: rgba(240,236,230,0.07);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,236,230,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--paper); }

#burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
#burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--paper);
  transition: transform 0.3s, opacity 0.3s;
}
#burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
#burger.open span:nth-child(2) { opacity: 0; }
#burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 490;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
#mobile-menu.open { opacity: 1; pointer-events: all; }
#mobile-menu a {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 9vw, 4rem);
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid rgba(240,236,230,0.08);
  padding: 0.9rem 0;
  transition: color 0.2s;
}
#mobile-menu a:hover { color: var(--red); }
#mobile-menu a:last-child { border-bottom: none; }

/* ════════════════════════════════════════
   MARQUEE
   ════════════════════════════════════════ */
.marquee-track {
  overflow: hidden;
  background: var(--red);
  padding: 0.8rem 0;
  white-space: nowrap;
}
.marquee-inner {
  display: inline-block;
  animation: marquee 24s linear infinite;
}
.marquee-inner span {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin: 0 1.8rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
footer {
  border-top: 1px solid rgba(240,236,230,0.08);
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.foot-logo {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--paper);
  text-decoration: none;
}
.foot-copy {
  font-size: 0.68rem;
  color: rgba(240,236,230,0.28);
  letter-spacing: 0.05em;
}

/* ════════════════════════════════════════
   HOME — HERO
   ════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
}
.hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  will-change: transform;
}
.hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(11,11,11,0.88) 0%, rgba(11,11,11,0.25) 65%, transparent 100%),
    linear-gradient(to top, rgba(11,11,11,0.92) 0%, transparent 55%);
}
.hero-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 2.5rem 3rem;
  align-self: end;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--red);
}
.hero-name {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 10vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--paper);
  max-width: 700px;
}
.hero-name em { font-style: italic; color: var(--red); }
.hero-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 1.4rem 2.5rem;
  border-top: 1px solid rgba(240,236,230,0.07);
}
.hero-tagline {
  font-size: 0.85rem;
  color: var(--dim);
  max-width: 320px;
  line-height: 1.6;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.scroll-cue {
  position: absolute;
  right: 2.5rem;
  bottom: 5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.scroll-cue span {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(240,236,230,0.3);
  writing-mode: vertical-rl;
}
.scroll-cue-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* ════════════════════════════════════════
   HOME — ABOUT
   ════════════════════════════════════════ */
#about {
  padding: 8rem 2.5rem;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about-statement {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  color: var(--paper);
  margin: 0.8rem 0 2rem;
}
.about-statement em { font-style: italic; color: var(--red); }
.about-body {
  font-size: 0.9rem;
  color: rgba(240,236,230,0.58);
  line-height: 1.85;
  max-width: 480px;
}
.about-body p + p { margin-top: 1rem; }
.about-meta {
  display: flex;
  gap: 0;
  margin-top: 3.5rem;
  border-top: 1px solid rgba(240,236,230,0.08);
}
.about-stat { flex: 1; padding: 1.4rem 0; }
.about-stat + .about-stat { border-left: 1px solid rgba(240,236,230,0.08); padding-left: 1.4rem; }
.about-stat-n { font-family: var(--serif); font-size: 2.8rem; line-height: 1; color: var(--red); }
.about-stat-l { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(240,236,230,0.35); margin-top: 0.3rem; }
.about-img-frame { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.about-img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.about-img-frame:hover img { transform: scale(1.03); }
.about-img-label {
  position: absolute;
  bottom: 1.5rem;
  right: 0;
  background: var(--red);
  padding: 0.4rem 0.9rem;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--snow);
}

/* ════════════════════════════════════════
   HOME — SERVICES
   ════════════════════════════════════════ */
#services {
  border-top: 1px solid rgba(240,236,230,0.08);
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 2.5rem;
}
.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4.5rem;
  align-items: end;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  color: var(--paper);
  margin-top: 0.8rem;
}
.section-title em { font-style: italic; color: var(--red); }
.services-intro-text { font-size: 0.88rem; color: rgba(240,236,230,0.5); line-height: 1.8; }
.services-list { display: flex; flex-direction: column; }
.service-row {
  display: grid;
  grid-template-columns: 60px 1fr 1.2fr auto;
  align-items: start;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(240,236,230,0.07);
  cursor: default;
  transition: border-color 0.2s;
}
.service-row:last-child { border-bottom: 1px solid rgba(240,236,230,0.07); }
.service-row:hover { border-top-color: rgba(240,236,230,0.18); }
.service-row:hover .srv-num { color: var(--red); }
.srv-num { font-family: var(--serif); font-size: 0.85rem; color: rgba(240,236,230,0.22); transition: color 0.2s; padding-top: 0.2rem; }
.srv-name { font-family: var(--serif); font-size: 1.45rem; color: var(--paper); }
.srv-desc { font-size: 0.82rem; color: rgba(240,236,230,0.48); line-height: 1.7; }
.srv-tag { font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(240,236,230,0.25); text-align: right; padding-top: 0.3rem; }

/* ════════════════════════════════════════
   HOME — PORTFOLIO
   ════════════════════════════════════════ */
#portfolio {
  padding: 6rem 2.5rem;
  border-top: 1px solid rgba(240,236,230,0.08);
}
.portfolio-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1280px;
  margin: 0 auto 3.5rem;
}
.portfolio-count { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(240,236,230,0.3); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 320px;
  gap: 6px;
  max-width: 1280px;
  margin: 0 auto;
}
.pi-1 { grid-column: span 7; }
.pi-2 { grid-column: span 5; }
.pi-3 { grid-column: span 4; }
.pi-4 { grid-column: span 4; }
.pi-5 { grid-column: span 4; }
.pi-6 { grid-column: span 6; }
.pi-7 { grid-column: span 6; }
.pi-8 { grid-column: span 12; }

.portfolio-item {
  position: relative;
  overflow: hidden;
  background: #111;
  display: block;
  text-decoration: none;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s ease, filter 0.4s;
  filter: grayscale(18%) brightness(0.88);
}
.portfolio-item:hover img { transform: scale(1.06); filter: grayscale(0%) brightness(1); }
.pi-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,11,11,0.9) 0%, rgba(11,11,11,0.1) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
}
.pi-cat { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 0.35rem; }
.pi-title { font-family: var(--serif); font-size: 1.1rem; color: var(--paper); line-height: 1.2; }
.pi-year { font-size: 0.62rem; color: rgba(240,236,230,0.38); margin-top: 0.25rem; }
.pi-arrow {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 30px;
  height: 30px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(4px, -4px);
  transition: opacity 0.3s, transform 0.3s;
}
.portfolio-item:hover .pi-arrow { opacity: 1; transform: translate(0,0); }
.pi-arrow svg { width: 13px; height: 13px; }

/* ════════════════════════════════════════
   HOME — PROCESS
   ════════════════════════════════════════ */
#process {
  border-top: 1px solid rgba(240,236,230,0.08);
  padding: 6rem 2.5rem;
  max-width: 1280px;
  margin: 0 auto;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 4.5rem;
}
.process-step {
  padding-right: 2.5rem;
  border-right: 1px solid rgba(240,236,230,0.07);
}
.process-step:last-child { border-right: none; padding-right: 0; padding-left: 2.5rem; }
.process-step:nth-child(2), .process-step:nth-child(3) { padding: 0 2.5rem; }
.process-n { font-family: var(--serif); font-size: 3.5rem; color: rgba(196,22,40,0.12); line-height: 1; margin-bottom: 1.2rem; }
.process-step h4 { font-family: var(--serif); font-size: 1.15rem; color: var(--paper); margin-bottom: 0.7rem; font-weight: 400; }
.process-step p { font-size: 0.82rem; color: rgba(240,236,230,0.42); line-height: 1.75; }

/* ════════════════════════════════════════
   HOME — CONTACT
   ════════════════════════════════════════ */
#contact {
  border-top: 1px solid rgba(240,236,230,0.08);
  padding: 6rem 2.5rem;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 8rem;
  align-items: start;
}
.contact-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); color: var(--paper); margin: 0.8rem 0 2rem; line-height: 1.1; }
.contact-title em { font-style: italic; color: var(--red); }
.contact-bio { font-size: 0.88rem; color: rgba(240,236,230,0.48); line-height: 1.8; margin-bottom: 2.5rem; }
.contact-links { display: flex; flex-direction: column; gap: 1.3rem; }
.contact-lbl { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(240,236,230,0.28); margin-bottom: 0.2rem; }
.contact-links a, .contact-links span { font-size: 0.92rem; color: var(--paper); text-decoration: none; transition: color 0.2s; }
.contact-links a:hover { color: var(--red); }

.contact-form { display: flex; flex-direction: column; gap: 1.8rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(240,236,230,0.3); }
.field input, .field textarea, .field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(240,236,230,0.1);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 300;
  padding: 0.65rem 0;
  outline: none;
  transition: border-color 0.25s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 1.5rem;
}
.field select option { background: #1a1a1a; color: var(--paper); }
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--red); }
.field input::placeholder, .field textarea::placeholder { color: rgba(240,236,230,0.18); }
.field textarea { resize: none; height: 96px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.form-notice { font-size: 0.72rem; color: var(--red); display: none; margin-top: 0.2rem; }
.form-error  { font-size: 0.72rem; color: #f08080; display: none; margin-top: 0.2rem; }

/* ════════════════════════════════════════
   PROJECT PAGES
   ════════════════════════════════════════ */
.projet-hero {
  position: relative;
  height: 85svh;
  min-height: 520px;
  overflow: hidden;
}
.projet-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.projet-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,11,11,0.95) 0%, rgba(11,11,11,0.2) 55%);
}
.projet-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.projet-cat-tag {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}
.projet-hero-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--paper);
  line-height: 1.05;
  max-width: 800px;
}
.projet-hero-year {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: rgba(240,236,230,0.4);
}

.projet-body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2.5rem;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 6rem;
  align-items: start;
}
.projet-desc {
  font-size: 1rem;
  color: rgba(240,236,230,0.68);
  line-height: 1.9;
}
.projet-desc p + p { margin-top: 1.2rem; }
.projet-meta { display: flex; flex-direction: column; gap: 0; border-left: 1px solid rgba(240,236,230,0.08); padding-left: 3rem; }
.meta-item { padding: 1.2rem 0; border-bottom: 1px solid rgba(240,236,230,0.06); }
.meta-item:first-child { padding-top: 0; }
.meta-item:last-child { border-bottom: none; }
.meta-lbl { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(240,236,230,0.28); margin-bottom: 0.3rem; }
.meta-val { font-size: 0.92rem; color: var(--paper); }

.projet-nav-bar {
  border-top: 1px solid rgba(240,236,230,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  max-width: 1280px;
  margin: 0 auto;
}
.projet-nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 2rem 2.5rem;
  text-decoration: none;
  border-right: 1px solid rgba(240,236,230,0.08);
  transition: background 0.2s;
  flex: 1;
}
.projet-nav-link:last-child { border-right: none; text-align: right; }
.projet-nav-link:hover { background: rgba(240,236,230,0.03); }
.projet-nav-link.center {
  text-align: center;
  align-items: center;
  flex: 0 0 auto;
  padding: 2rem 3rem;
}
.nav-link-dir { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); }
.nav-link-title { font-family: var(--serif); font-size: 1rem; color: var(--paper); line-height: 1.2; }
.nav-link-all { font-family: var(--serif); font-size: 1rem; color: var(--paper); }

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 1024px) {
  #about { grid-template-columns: 1fr; gap: 3.5rem; }
  .about-right { max-width: 420px; }
  .services-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-row { grid-template-columns: 50px 1fr 1fr; }
  .srv-tag { display: none; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .process-step { border-right: none !important; padding: 0 !important; }
  .process-step:nth-child(odd) { border-right: 1px solid rgba(240,236,230,0.08) !important; padding-right: 2.5rem !important; }
  #contact { grid-template-columns: 1fr; gap: 4rem; }
  .projet-body { grid-template-columns: 1fr; gap: 3rem; }
  .projet-meta { border-left: none; padding-left: 0; border-top: 1px solid rgba(240,236,230,0.08); padding-top: 2rem; flex-direction: row; flex-wrap: wrap; gap: 0; }
  .meta-item { flex: 1 1 45%; border-bottom: 1px solid rgba(240,236,230,0.06); border-right: 1px solid rgba(240,236,230,0.06); padding: 1.2rem; }
}

@media (max-width: 768px) {
  #nav { padding: 1.4rem 1.5rem; }
  #nav.scrolled { padding: 0.9rem 1.5rem; }
  .nav-links { display: none; }
  #burger { display: flex; }

  .hero-body { padding: 0 1.5rem 2.5rem; }
  .hero-bottom { padding: 1.2rem 1.5rem; flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .scroll-cue { display: none; }

  #about, #services, #process, #portfolio { padding: 4.5rem 1.5rem; }
  #contact { padding: 4.5rem 1.5rem; }

  .portfolio-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .pi-1, .pi-2, .pi-3, .pi-4, .pi-5, .pi-6, .pi-7, .pi-8 { grid-column: span 2; }

  .service-row { grid-template-columns: 40px 1fr; }
  .srv-desc { display: none; }

  .process-steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .process-step { border-right: none !important; padding: 0 !important; }

  .field-row { grid-template-columns: 1fr; gap: 1.8rem; }
  footer { flex-direction: column; align-items: flex-start; gap: 0.4rem; }

  .projet-hero { height: 60svh; }
  .projet-body { padding: 3rem 1.5rem; }
  .projet-hero-content { padding: 2rem 1.5rem; }
  .projet-nav-link { padding: 1.5rem 1.2rem; }
  .projet-nav-link.center { padding: 1.5rem 1.5rem; }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .pi-1,.pi-2,.pi-3,.pi-4,.pi-5,.pi-6,.pi-7,.pi-8 { grid-column: span 1; }
  .pi-overlay { opacity: 1; }
  .meta-item { flex: 1 1 100%; border-right: none; }
}
