/* =========================================================
   Portfolio v2 — bardziej redakcyjny, bardziej "ładny"
   Inspiracja: greenparrot.pl + odrobina edytorskiego sznytu
   ========================================================= */

:root {
  --bg: #fbf9f4;              /* ciepła kremowa biel */
  --bg-soft: #f3efe6;         /* mocniejszy krem */
  --bg-card: #ffffff;
  --bg-dark: #0e1410;         /* prawie czarny z nutą głębi */
  --bg-dark-2: #16201a;
  --text: #11140f;
  --text-muted: #6a6f63;
  --text-soft: #9ea396;
  --accent: #ff5b2e;          /* energetyczny pomarańcz */
  --accent-2: #ffb38a;        /* brzoskwinia */
  --accent-soft: #ffe9e1;
  --accent-deep: #d63f15;
  --green: #1f3b2d;           /* głęboki zielony */
  --green-soft: #d8e4dc;
  --line: #e6e0d2;
  --radius: 16px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --maxw: 1280px;
  --shadow-sm: 0 4px 20px rgba(17, 20, 15, 0.05);
  --shadow: 0 20px 60px rgba(17, 20, 15, 0.10);
  --shadow-lg: 0 40px 100px rgba(17, 20, 15, 0.18);
  --transition: 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", "Times New Roman", Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtelna ziarnistość globalnie */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

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

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}
@media (max-width: 640px) { .container { padding: 0 20px; } }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 0.4em;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.display em { font-style: italic; font-weight: 300; }

h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); font-weight: 400; }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.7rem); font-weight: 500; }

p { margin: 0 0 1em; color: var(--text); }
.lead { font-size: 1.18rem; color: var(--text-muted); max-width: 60ch; line-height: 1.6; }

::selection { background: var(--accent); color: #fff; }

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 244, 0.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(230, 224, 210, 0.6);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  display: inline-flex; align-items: baseline;
}
.nav__logo span { color: var(--accent); font-style: italic; }
.nav__menu {
  display: flex; gap: 36px;
  list-style: none; margin: 0; padding: 0;
}
.nav__menu a {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.nav__menu a::after {
  content:"";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav__menu a:hover::after,
.nav__menu a.active::after { width: 100%; }

.nav__cta {
  background: var(--text);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.nav__cta::after { content:"→"; transition: transform var(--transition); }
.nav__cta:hover { background: var(--accent); color: #fff; }
.nav__cta:hover::after { transform: translateX(4px); }

.nav__burger {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav__burger span {
  width: 22px; height: 2px; background: var(--text); transition: var(--transition);
}

@media (max-width: 900px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav.open .nav__menu {
    display: flex;
    position: absolute; top: 80px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg);
    padding: 20px 32px 28px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open .nav__menu a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav.open .nav__cta { display: inline-flex; margin-top: 16px; align-self: flex-start; }
}

/* ---------- HERO (XXL editorial) ---------- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero__blob {
  position: absolute;
  z-index: 0;
  filter: blur(60px);
  opacity: 0.85;
  pointer-events: none;
  animation: floatBlob 14s ease-in-out infinite;
}
.hero__blob--1 {
  top: -10%; right: -10%;
  width: 720px; height: 720px;
  background: radial-gradient(circle at 30% 30%, var(--accent) 0%, transparent 65%);
  opacity: 0.5;
}
.hero__blob--2 {
  bottom: -20%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle at 50% 50%, var(--green) 0%, transparent 65%);
  opacity: 0.25;
  animation-delay: -7s;
}
@keyframes floatBlob {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 36px;
  backdrop-filter: blur(8px);
}
.hero__eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255,91,46,0.5);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,91,46,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(255,91,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,91,46,0); }
}

.hero__title {
  font-size: clamp(3rem, 9.5vw, 8.5rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  font-weight: 400;
  margin: 0 0 36px;
  max-width: 14ch;
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  position: relative;
  display: inline-block;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 8%;
  height: 12%;
  background: var(--accent-soft);
  z-index: -1;
  border-radius: 4px;
}

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-top: 60px;
}
.hero__sub { font-size: 1.25rem; color: var(--text-muted); max-width: 50ch; margin: 0 0 28px; line-height: 1.55; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__visual {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 460px;
  margin-left: auto;
}
.hero__visual svg {
  width: 100%; height: 100%;
  animation: spinSlow 60s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.hero__visual::after {
  content: ""; position: absolute; inset: 18%;
  background: var(--bg-dark);
  border-radius: 50%;
  display: block;
}
.hero__visual-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; z-index: 2;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  text-align: center;
  line-height: 1.2;
  padding: 28%;
}

@media (max-width: 900px) {
  .hero { padding: 50px 0 70px; }
  .hero__bottom { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 320px; margin: 0 auto; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.btn--primary { background: var(--text); color: #fff; }
.btn--primary:hover { background: var(--accent); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn--ghost:hover { background: var(--text); color: #fff; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-deep); }

/* ---------- MARQUEE (przewijający się pasek umiejętności) ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 28px 0;
  overflow: hidden;
  position: relative;
}
.marquee__track {
  display: flex; gap: 70px; align-items: center;
  width: max-content;
  animation: scroll 40s linear infinite;
}
.marquee__item {
  display: inline-flex; align-items: center; gap: 70px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  font-style: italic;
  font-weight: 300;
  color: var(--text);
  white-space: nowrap;
}
.marquee__item::after {
  content: "✦";
  color: var(--accent);
  font-style: normal;
  font-size: 0.7em;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ---------- SECTIONS ---------- */
.section { padding: 130px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--cream { background: var(--bg); }
.section--dark { background: var(--bg-dark); color: #efeee8; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: #b9beae; }
.section--dark .eyebrow { color: var(--accent-2); }

@media (max-width: 900px) { .section { padding: 80px 0; } }

.section__head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 70px;
}
.section__head h2 { margin: 0; max-width: 14ch; }
.section__head .lead { margin: 0; }

@media (max-width: 800px) {
  .section__head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 50px; }
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

/* ---------- COMPETENCIES (3 boksy z dużą ilustracją) ---------- */
.competencies {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.comp-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.comp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.comp-card__art {
  height: 240px;
  position: relative;
  overflow: hidden;
  background: var(--accent-soft);
}
.comp-card__art svg { width: 100%; height: 100%; transition: var(--transition-slow); }
.comp-card:hover .comp-card__art svg { transform: scale(1.06) rotate(2deg); }

.comp-card--1 .comp-card__art { background: linear-gradient(135deg, #ffe9e1 0%, #ffd4c2 100%); }
.comp-card--2 .comp-card__art { background: linear-gradient(135deg, #d8e4dc 0%, #1f3b2d 110%); }
.comp-card--3 .comp-card__art { background: linear-gradient(135deg, #11140f 0%, #2a3528 100%); }

.comp-card__body { padding: 32px 32px 36px; flex: 1; display: flex; flex-direction: column; }
.comp-card__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.comp-card h3 { margin-bottom: 14px; font-size: 1.6rem; }
.comp-card p { color: var(--text-muted); flex: 1; font-size: 0.98rem; }
.comp-card__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--text);
  margin-top: 20px;
  font-size: 0.95rem;
}
.comp-card__link::after {
  content: "→";
  transition: transform var(--transition);
}
.comp-card:hover .comp-card__link { color: var(--accent); }
.comp-card:hover .comp-card__link::after { transform: translateX(8px); }

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

/* ---------- FEATURED PROJECT (jeden duży) ---------- */
.featured {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 60px;
  align-items: center;
  border: 1px solid var(--line);
  margin-bottom: 60px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.featured::before {
  content: "WYRÓŻNIONY PROJEKT";
  position: absolute;
  top: 32px; right: 32px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.featured:hover { box-shadow: var(--shadow); }
.featured__media {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.featured__media svg { width: 100%; height: 100%; transition: var(--transition-slow); }
.featured:hover .featured__media svg { transform: scale(1.04); }
.featured__meta { display: flex; gap: 12px; align-items: center; margin-bottom: 24px; flex-wrap: wrap; }
.featured h3 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin: 0 0 24px;
  line-height: 1.05;
}
.featured p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 30px; }

@media (max-width: 900px) {
  .featured { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
  .featured::before { display: none; }
}

/* ---------- CARD GRID ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); gap: 40px; }

.card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid transparent;
  transition: var(--transition);
  position: relative;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.card__media {
  aspect-ratio: 4/3;
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}
.card__media svg, .card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--transition-slow);
}
.card:hover .card__media svg,
.card:hover .card__media img { transform: scale(1.06); }

.card__media::after {
  content: "→";
  position: absolute;
  bottom: 16px; right: 16px;
  width: 44px; height: 44px;
  background: #fff;
  color: var(--text);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  transform: translate(10px, 10px) rotate(-30deg);
  transition: var(--transition);
}
.card:hover .card__media::after {
  opacity: 1;
  transform: translate(0,0) rotate(0deg);
  background: var(--accent);
  color: #fff;
}

.card__body { padding: 28px 30px 32px; flex: 1; display: flex; flex-direction: column; }
.card__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.tag--green { background: var(--green-soft); color: var(--green); }
.tag--dark { background: #1f211c; color: #efeee8; }
.tag--cream { background: var(--bg-soft); color: var(--text); border: 1px solid var(--line); }

.card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.card__excerpt { color: var(--text-muted); font-size: 0.96rem; flex: 1; line-height: 1.55; }

@media (max-width: 1000px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid, .card-grid--2 { grid-template-columns: 1fr; } }

/* ---------- FILTERS ---------- */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.filter-btn {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--text);
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.filter-btn:hover { border-color: var(--text); transform: translateY(-1px); }
.filter-btn.active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

/* ---------- STATS / NUMBERS ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid #2a3528;
  border-bottom: 1px solid #2a3528;
}
.stat {
  padding: 50px 30px;
  border-right: 1px solid #2a3528;
  text-align: left;
}
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 300;
  line-height: 1;
  color: var(--accent-2);
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}
.stat__label {
  font-size: 0.92rem;
  color: #b9beae;
  line-height: 1.4;
}
@media (max-width: 800px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 36px 24px; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid #2a3528; }
}

/* ---------- ABOUT STRIP ---------- */
.about-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.about-strip__media {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.about-strip__media svg { width: 100%; height: 100%; }
.about-strip__sticker {
  position: absolute;
  bottom: -30px; right: -30px;
  width: 160px; height: 160px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  text-align: center;
  line-height: 1.2;
  padding: 20px;
  animation: spinSlow 30s linear infinite reverse;
  box-shadow: var(--shadow);
}
.about-strip h2 em { font-style: italic; color: var(--accent); }
@media (max-width: 900px) {
  .about-strip { grid-template-columns: 1fr; gap: 50px; }
  .about-strip__sticker { width: 110px; height: 110px; font-size: 0.9rem; bottom: -20px; right: -10px; }
}

/* ---------- QUOTE / TESTIMONIAL ---------- */
.quote-block {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.quote-block__mark {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 0.5;
  color: var(--accent);
  font-style: italic;
  margin-bottom: 30px;
}
.quote-block__text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.25;
  font-weight: 400;
  margin-bottom: 30px;
  letter-spacing: -0.015em;
}
.quote-block__text em { font-style: italic; color: var(--accent); }
.quote-block__author {
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ---------- CTA STRIP ---------- */
.cta-strip {
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 80px 64px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
  opacity: 0.3;
  filter: blur(40px);
}
.cta-strip h2 { color: #fff; margin: 0; max-width: 16ch; font-size: clamp(2rem, 4vw, 3.2rem); position: relative; z-index: 2;}
.cta-strip h2 em { color: var(--accent-2); font-style: italic; }
.cta-strip__right { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.cta-strip p { color: #b9beae; margin: 0; }
.cta-strip .btn--primary { background: var(--accent); }
.cta-strip .btn--primary:hover { background: #fff; color: var(--text); }
@media (max-width: 800px) {
  .cta-strip { grid-template-columns: 1fr; padding: 50px 32px; gap: 30px; }
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--bg-dark);
  color: #b9beae;
  padding: 100px 0 30px;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: "";
  position: absolute;
  bottom: -40%; left: 50%; transform: translateX(-50%);
  width: 90%; height: 80%;
  background: radial-gradient(ellipse, var(--accent) 0%, transparent 60%);
  opacity: 0.08;
  filter: blur(60px);
}
footer .container { position: relative; z-index: 2; }
.footer__top {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  color: #fff;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 60px;
  max-width: 18ch;
}
.footer__top em { font-style: italic; color: var(--accent-2); }
footer h4 { color: #fff; font-family: var(--font-sans); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 22px; font-weight: 600; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  padding-top: 50px;
  border-top: 1px solid #2a3528;
}
.footer__brand { font-family: var(--font-display); font-size: 1.6rem; color: #fff; margin-bottom: 14px; font-style: italic; }
.footer__brand span { color: var(--accent); }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 12px; font-size: 0.95rem; }
.footer__col a:hover { color: var(--accent-2); }
.footer__bottom {
  border-top: 1px solid #2a3528;
  padding-top: 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.85rem;
}
@media (max-width: 800px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- INNER PAGE HEADER ---------- */
.page-header {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  top: 20%; right: -15%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
  opacity: 0.15;
  filter: blur(60px);
  z-index: 0;
}
.page-header > .container { position: relative; z-index: 2; }
.page-header h1 {
  font-size: clamp(2.6rem, 7vw, 6rem);
  margin-bottom: 24px;
  max-width: 18ch;
}
.page-header h1 em { font-style: italic; color: var(--accent); }
.page-header .lead { font-size: 1.25rem; max-width: 60ch; }

/* ---------- ARTICLE / CASE ---------- */
.article {
  max-width: 780px;
  margin: 0 auto;
  padding: 80px 32px 100px;
  position: relative;
  z-index: 2;
}
.article h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 28px; line-height: 1.05; }
.article__meta {
  display: flex; gap: 14px; align-items: center;
  font-size: 0.9rem; color: var(--text-muted);
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.article p { font-size: 1.12rem; line-height: 1.78; color: #2a2d24; }
.article > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 400;
  float: left;
  line-height: 0.9;
  margin: 6px 12px 0 0;
  color: var(--accent);
}
.article h2 { margin-top: 50px; margin-bottom: 16px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.article h3 { margin-top: 36px; }
.article ul, .article ol { padding-left: 22px; }
.article ul li, .article ol li { margin-bottom: 10px; line-height: 1.7; font-size: 1.08rem; }
.article blockquote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 28px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text);
  margin: 36px 0;
  font-weight: 400;
  line-height: 1.3;
}
.article__hero {
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  margin-bottom: 50px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.article__hero svg { width: 100%; height: 100%; }

/* ---------- CONTACT FORM ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 80px;
}
.contact-info h3 { font-size: 1.5rem; margin-bottom: 24px; }
.contact-info p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 14px; }
.contact-info a { color: var(--accent); font-weight: 500; }
.contact-info a:hover { text-decoration: underline; }

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.form-row label { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; color: var(--text); }
.form-row input, .form-row textarea, .form-row select {
  padding: 16px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg);
  transition: var(--transition);
  color: var(--text);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--accent); background: #fff;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-card { padding: 28px; }
}

/* ---------- UTIL ---------- */
.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }
.divider { height: 1px; background: var(--line); margin: 100px 0; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.2,0.7,0.2,1), transform 0.9s cubic-bezier(0.2,0.7,0.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
