/* ============================================================
   PARCELS PARTNERS — Shared Stylesheet
   Theme: STONE (cool taupe-grey)
   Font:  Josefin Sans
   Used by every page for consistent design + navigation.
   ============================================================ */

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

:root {
  --c1: #6E6860;   /* primary stone grey */
  --c2: #8A7E6E;   /* taupe accent       */
  --c3: #6A6258;   /* mid stone          */
  --c4: #DDD8CE;   /* light stone / lines */
  --c5: #F7F6F4;   /* off-white          */
  --tx: #1C1A18;   /* near-black text     */
  --mt: #5A5550;   /* muted text         */
  --bg: #ffffff;   /* page background     */
  --bg2: #F9F8F6;  /* alt section bg     */
}

body {
  font-family: 'Josefin Sans', sans-serif;
  background: var(--bg);
  color: var(--tx);
}

/* ── NAV ───────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: 80px; padding: 0 80px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg); border-bottom: 1px solid var(--c4);
}
.nl { display: flex; align-items: center; gap: 20px; text-decoration: none; }
.nl svg { width: 28px; height: 42px; flex-shrink: 0; }
.nl-name { font-size: 13px; font-weight: 600; letter-spacing: 5px; color: var(--c1); display: block; line-height: 1; }
.nl-sub  { font-size: 7px;  font-weight: 400; letter-spacing: 5px; color: var(--c2); display: block; margin-top: 5px; }
.nm { display: flex; gap: 40px; }
.nm a {
  font-size: 11px; font-weight: 400; letter-spacing: 4px;
  color: var(--mt); text-decoration: none; transition: color 0.2s;
}
.nm a:hover, .nm a.active { color: var(--c1); }
.nc {
  font-size: 10px; font-weight: 600; letter-spacing: 3px;
  padding: 11px 26px; border: 1px solid var(--c1);
  color: var(--c1); background: transparent; cursor: pointer;
  text-decoration: none; transition: all 0.2s;
}
.nc:hover { background: var(--c1); color: #fff; }

/* ── HERO (homepage — dark with video/animation bg) ── */
.hero {
  min-height: calc(100vh - 80px);
  padding: 0 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  background: var(--tx);
  position: relative; overflow: hidden;
}

/* Background layer: video or CSS animation */
.hero-bg { position: absolute; inset: 0; z-index: 0; }

/* Uncomment <video> in index.html when you have a compressed file */
.hero-bgvid {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; opacity: 0.32;
}

/* CSS animated fallback — architectural grid shifting through stone tones */
.hero-anim {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1C1A18 0%, #252220 35%, #2E2926 65%, #1C1A18 100%);
  background-size: 300% 300%;
  animation: hbg 14s ease infinite;
}
.hero-anim::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(110,104,96,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110,104,96,0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: hgrid 28s linear infinite;
}
.hero-dim { position: absolute; inset: 0; background: rgba(20,18,16,0.45); }

@keyframes hbg {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}
@keyframes hgrid {
  from { background-position: 0 0; }
  to   { background-position: 64px 64px; }
}

.hero-l { padding: 100px 80px 100px 0; border-right: 1px solid rgba(255,255,255,0.07); position: relative; z-index: 1; }
.hero-tag { font-size: 10px; font-weight: 400; letter-spacing: 6px; color: rgba(176,168,152,0.65); margin-bottom: 40px; display: block; }
.hero-h1 { font-size: 72px; font-weight: 100; line-height: 1.05; color: var(--c4); margin-bottom: 32px; letter-spacing: -1px; }
.hero-h1 span { color: var(--c2); font-weight: 300; }
.hero-p { font-size: 12px; font-weight: 400; letter-spacing: 0.5px; line-height: 2.2; color: rgba(221,216,206,0.55); max-width: 360px; margin-bottom: 52px; }
.hero-btns { display: flex; align-items: center; gap: 32px; }
.hero-r { padding: 100px 0 100px 80px; display: flex; flex-direction: column; position: relative; z-index: 1; }

/* ── BUTTONS ──────────────────────────────────────── */
.btn-p {
  font-size: 10px; font-weight: 600; letter-spacing: 4px;
  padding: 14px 36px; background: var(--c1); color: #fff;
  border: none; cursor: pointer; text-decoration: none; transition: opacity 0.2s;
  display: inline-block;
}
.btn-p:hover { opacity: 0.85; }
.btn-s {
  font-size: 10px; font-weight: 400; letter-spacing: 4px;
  color: rgba(221,216,206,0.6); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.18); padding-bottom: 3px;
}

/* ── STATS ────────────────────────────────────────── */
.stat-row { display: grid; grid-template-columns: 1fr 1fr; }
.stat { padding: 48px 40px; border-bottom: 1px solid rgba(255,255,255,0.07); border-right: 1px solid rgba(255,255,255,0.07); }
.stat:nth-child(2n) { border-right: none; }
.stat:nth-child(3), .stat:nth-child(4) { border-bottom: none; }
.stat-n { font-size: 56px; font-weight: 100; color: var(--c2); line-height: 1; margin-bottom: 10px; letter-spacing: -2px; }
.stat-l { font-size: 10px; font-weight: 400; letter-spacing: 4px; color: rgba(176,168,152,0.5); }
.stat.hl { background: rgba(110,104,96,0.2); }
.stat.hl .stat-n { color: var(--c4); }
.stat.hl .stat-l { color: var(--c2); }

/* ── BAND ─────────────────────────────────────────── */
.band { padding: 20px 80px; background: var(--c1); display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.band span { font-size: 9px; font-weight: 400; letter-spacing: 5px; color: rgba(255,255,255,0.45); }
.band-dot { width: 2px; height: 2px; border-radius: 50%; background: var(--c2); opacity: 0.5; }

/* ── SECTION COMMON ───────────────────────────────── */
.sec { padding: 120px 80px; }
.sec-alt { padding: 120px 80px; background: var(--bg2); }
.sec-hd { margin-bottom: 72px; }
.sec-ey { font-size: 10px; font-weight: 400; letter-spacing: 6px; color: var(--c2); margin-bottom: 16px; display: block; }
.sec-tt { font-size: 44px; font-weight: 100; color: var(--tx); letter-spacing: -0.5px; line-height: 1.1; }
.sec-hd-row { display: flex; align-items: flex-end; justify-content: space-between; border-bottom: 1px solid var(--c4); padding-bottom: 28px; margin-bottom: 72px; }
.sec-lk { font-size: 10px; font-weight: 400; letter-spacing: 4px; color: var(--mt); text-decoration: none; border-bottom: 1px solid var(--c4); padding-bottom: 3px; }

/* ── SERVICES ─────────────────────────────────────── */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--c4); border-left: 1px solid var(--c4); }
.svc-card { padding: 48px 40px; border-bottom: 1px solid var(--c4); border-right: 1px solid var(--c4); transition: background 0.25s; }
.svc-card:hover { background: var(--bg2); }
.svc-i { width: 32px; height: 1px; background: var(--c2); margin-bottom: 32px; }
.svc-n { font-size: 12px; font-weight: 600; letter-spacing: 3px; color: var(--c1); margin-bottom: 16px; }
.svc-d { font-size: 11px; font-weight: 400; letter-spacing: 0.5px; line-height: 2.0; color: var(--mt); }

/* services detail list (services page) */
.svc-detail { display: grid; grid-template-columns: 200px 1fr; gap: 0; border-bottom: 1px solid var(--c4); padding: 64px 0; }
.svc-detail-num { font-size: 13px; font-weight: 400; letter-spacing: 4px; color: var(--c2); }
.svc-detail-num span { display: block; width: 40px; height: 1px; background: var(--c2); margin-top: 20px; }
.svc-detail-body { }
.svc-detail-n { font-size: 28px; font-weight: 100; color: var(--tx); letter-spacing: -0.5px; margin-bottom: 24px; }
.svc-detail-d { font-size: 12px; font-weight: 400; letter-spacing: 0.5px; line-height: 2.2; color: var(--mt); max-width: 620px; margin-bottom: 32px; }
.svc-detail-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; max-width: 620px; }
.svc-detail-list div { font-size: 10px; font-weight: 400; letter-spacing: 1px; color: var(--mt); padding-left: 18px; position: relative; line-height: 1.8; }
.svc-detail-list div::before { content: ''; position: absolute; left: 0; top: 11px; width: 8px; height: 1px; background: var(--c2); }

/* ── ABOUT ────────────────────────────────────────── */
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
.about-l { background: var(--c1); padding: 100px 80px; display: flex; flex-direction: column; justify-content: center; }
.about-ey { font-size: 10px; font-weight: 400; letter-spacing: 6px; color: var(--c2); margin-bottom: 24px; }
.about-tt { font-size: 46px; font-weight: 100; color: var(--c4); line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 28px; }
.about-tx { font-size: 11px; font-weight: 400; letter-spacing: 0.5px; line-height: 2.2; color: rgba(232,226,216,0.65); max-width: 380px; }
.about-r { background: var(--bg2); padding: 100px 80px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--c4); }
.val-list { display: flex; flex-direction: column; gap: 28px; }
.val-item { display: flex; align-items: flex-start; gap: 20px; }
.val-line { width: 24px; height: 1px; background: var(--c2); margin-top: 8px; flex-shrink: 0; }
.val-tx { font-size: 11px; font-weight: 400; letter-spacing: 0.5px; line-height: 1.9; color: var(--mt); }

/* ── TEAM (grid + teaser) ─────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--c4); border-left: 1px solid var(--c4); }
.team-card { padding: 52px 44px; border-bottom: 1px solid var(--c4); border-right: 1px solid var(--c4); }
.team-init { width: 52px; height: 52px; border: 1px solid var(--c4); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 100; color: var(--c2); margin-bottom: 28px; }
.team-n { font-size: 12px; font-weight: 600; letter-spacing: 3px; color: var(--c1); margin-bottom: 8px; }
.team-r { font-size: 10px; font-weight: 400; letter-spacing: 4px; color: var(--c2); margin-bottom: 20px; }
.team-b { font-size: 11px; font-weight: 400; letter-spacing: 0.3px; line-height: 2.0; color: var(--mt); }

.team-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.teaser-p { font-size: 11px; font-weight: 400; letter-spacing: 0.5px; line-height: 2.1; color: var(--mt); margin: 24px 0 40px; max-width: 400px; }
.team-teaser-r { display: flex; flex-direction: column; }
.teaser-card { display: flex; align-items: center; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--c4); }
.teaser-card:first-child { border-top: 1px solid var(--c4); }
.teaser-init { width: 48px; height: 48px; border: 1px solid var(--c4); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 100; color: var(--c2); }

/* ── PROJECTS ─────────────────────────────────────── */
.proj-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--c4); border-left: 1px solid var(--c4); }
.proj-card { padding: 48px 40px; border-bottom: 1px solid var(--c4); border-right: 1px solid var(--c4); min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; cursor: default; transition: background 0.3s; }
.proj-card:hover { background: var(--c1); }
.proj-card:hover .proj-n { color: var(--c4); }
.proj-card:hover .proj-tg, .proj-card:hover .proj-lc { color: var(--c2); }
.proj-bg-mark { position: absolute; top: 32px; right: 28px; opacity: 0.06; pointer-events: none; }
.proj-tg { font-size: 9px; font-weight: 400; letter-spacing: 4px; color: var(--c2); margin-bottom: 12px; transition: color 0.3s; }
.proj-n { font-size: 18px; font-weight: 400; color: var(--tx); line-height: 1.25; margin-bottom: 10px; transition: color 0.3s; letter-spacing: 0.5px; }
.proj-lc { font-size: 9px; font-weight: 400; letter-spacing: 3px; color: var(--mt); transition: color 0.3s; }

/* ── CONTACT ──────────────────────────────────────── */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; background: var(--c1); min-height: 560px; }
.contact-l { padding: 100px 80px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid rgba(255,255,255,0.08); }
.contact-ey { font-size: 10px; font-weight: 400; letter-spacing: 6px; color: var(--c2); margin-bottom: 28px; }
.contact-tt { font-size: 52px; font-weight: 100; color: var(--c4); line-height: 1.1; letter-spacing: -0.5px; margin-bottom: 28px; }
.contact-tx { font-size: 11px; font-weight: 400; letter-spacing: 0.5px; line-height: 2.2; color: rgba(232,226,216,0.55); max-width: 340px; margin-bottom: 40px; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info-item { display: flex; gap: 16px; align-items: baseline; }
.contact-info-label { font-size: 8px; font-weight: 600; letter-spacing: 3px; color: var(--c2); min-width: 56px; }
.contact-info-val { font-size: 11px; font-weight: 400; letter-spacing: 1px; color: rgba(232,226,216,0.75); }
.contact-r { padding: 100px 80px; display: flex; flex-direction: column; justify-content: center; }
.cform { display: flex; flex-direction: column; gap: 32px; }
.cfield { display: flex; flex-direction: column; gap: 10px; }
.clbl { font-size: 10px; font-weight: 400; letter-spacing: 4px; color: var(--c2); }
.cinp { background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding: 8px 0; font-family: 'Josefin Sans', sans-serif; font-size: 12px; font-weight: 400; letter-spacing: 1px; color: var(--c4); outline: none; transition: border-color 0.2s; }
.cinp:focus { border-color: rgba(255,255,255,0.35); }
.cinp::placeholder { color: rgba(255,255,255,0.15); }
.ctxta { resize: none; height: 70px; }
.csub { margin-top: 8px; align-self: flex-start; font-family: 'Josefin Sans', sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 4px; padding: 13px 32px; border: 1px solid rgba(255,255,255,0.25); color: var(--c4); background: transparent; cursor: pointer; transition: all 0.2s; }
.csub:hover { background: rgba(255,255,255,0.08); }

/* ── PAGE HERO (inner pages) ──────────────────────── */
.pg-hero { padding: 100px 80px 80px; border-bottom: 1px solid var(--c4); display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 80px; background: var(--bg); }
.pg-ey { font-size: 10px; font-weight: 400; letter-spacing: 6px; color: var(--c2); margin-bottom: 20px; display: block; }
.pg-tt { font-size: 64px; font-weight: 100; line-height: 1.05; color: var(--tx); letter-spacing: -1px; }
.pg-p  { font-size: 11px; font-weight: 400; letter-spacing: 0.5px; line-height: 2.2; color: var(--mt); }

/* ── PARTNER CARDS (team page) ────────────────────── */
.partners { padding: 0 80px 120px; background: var(--bg); }
.partner { display: grid; grid-template-columns: 320px 1fr; gap: 0; border-bottom: 1px solid var(--c4); padding: 80px 0; }
.partner-left { padding-right: 60px; border-right: 1px solid var(--c4); }
.p-init { width: 72px; height: 72px; border: 1px solid var(--c4); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 100; color: var(--c2); margin-bottom: 32px; }
.p-name { font-size: 20px; font-weight: 600; letter-spacing: 3px; color: var(--c1); margin-bottom: 10px; }
.p-role { font-size: 10px; font-weight: 400; letter-spacing: 4px; color: var(--c2); margin-bottom: 32px; }
.p-meta { display: flex; flex-direction: column; gap: 12px; }
.p-meta-item { display: flex; align-items: flex-start; gap: 14px; }
.p-meta-label { font-size: 8px; font-weight: 600; letter-spacing: 3px; color: var(--c4); min-width: 60px; margin-top: 2px; }
.p-meta-val { font-size: 10px; font-weight: 400; letter-spacing: 1px; color: var(--mt); line-height: 1.7; }
.partner-right { padding-left: 60px; }
.p-bio { font-size: 12px; font-weight: 400; letter-spacing: 0.5px; line-height: 2.2; color: var(--mt); margin-bottom: 48px; }
.p-expertise { margin-bottom: 48px; }
.p-ex-title { font-size: 9px; font-weight: 600; letter-spacing: 4px; color: var(--c1); margin-bottom: 20px; }
.p-ex-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.p-ex-item { font-size: 10px; font-weight: 400; letter-spacing: 0.5px; color: var(--mt); padding: 12px 16px; border: 1px solid var(--c4); line-height: 1.5; }
.p-pr-title { font-size: 9px; font-weight: 600; letter-spacing: 4px; color: var(--c1); margin-bottom: 20px; }
.p-pr-list { display: flex; flex-direction: column; }
.p-pr-item { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--c4); font-size: 10px; font-weight: 400; letter-spacing: 1px; }
.p-pr-name { color: var(--tx); }
.p-pr-loc { color: var(--c2); font-size: 9px; letter-spacing: 2px; }

/* ── VALUES STRIP ─────────────────────────────────── */
.values-strip { background: var(--c1); padding: 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.vs-ey { font-size: 10px; font-weight: 400; letter-spacing: 6px; color: var(--c2); margin-bottom: 20px; display: block; }
.vs-tt { font-size: 44px; font-weight: 100; color: #E8E2D8; line-height: 1.15; letter-spacing: -0.5px; }
.vs-r { display: flex; flex-direction: column; gap: 24px; }
.vs-item { display: flex; align-items: flex-start; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.vs-item:last-child { border-bottom: none; padding-bottom: 0; }
.vs-line { width: 24px; height: 1px; background: var(--c2); margin-top: 9px; flex-shrink: 0; }
.vs-tx { font-size: 11px; font-weight: 400; letter-spacing: 0.5px; line-height: 1.9; color: rgba(232,226,216,0.65); }

/* ── PROJECTS (detail — used on projects page) ────── */
.proj-d { font-size: 10px; font-weight: 400; letter-spacing: 0.5px; line-height: 1.9; color: var(--mt); margin-bottom: 20px; transition: color 0.3s; }
.proj-card:hover .proj-d { color: rgba(232,226,216,0.55); }
.proj-scale { font-size: 8px; font-weight: 600; letter-spacing: 3px; color: var(--c4); margin-top: 8px; transition: color 0.3s; }
.proj-card:hover .proj-scale { color: rgba(232,226,216,0.45); }

/* ── FOOTER ───────────────────────────────────────── */
.foot { padding: 28px 80px; background: var(--c1); border-top: 1px solid rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: space-between; }
.foot-n { font-size: 11px; font-weight: 600; letter-spacing: 5px; color: var(--c2); }
.foot-c { font-size: 10px; font-weight: 400; letter-spacing: 2px; color: rgba(255,255,255,0.18); }
.foot-lk { display: flex; gap: 24px; }
.foot-lk a { font-size: 10px; font-weight: 400; letter-spacing: 3px; color: rgba(255,255,255,0.25); text-decoration: none; transition: color 0.2s; }
.foot-lk a:hover { color: rgba(255,255,255,0.6); }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 960px) {
  .nav { padding: 0 32px; height: 70px; flex-wrap: wrap; }
  .nm { gap: 22px; }
  .nm a { font-size: 10px; letter-spacing: 2px; }
  .hero, .about-wrap, .contact-wrap, .team-teaser, .pg-hero,
  .values-strip, .svc-grid, .team-grid, .proj-grid, .partner {
    grid-template-columns: 1fr;
  }
  .hero { padding: 40px 32px; gap: 60px; min-height: 0; }
  .hero-l { padding: 0 0 60px; border-right: none; border-bottom: 1px solid var(--c4); }
  .hero-r { padding: 0; }
  .hero-h1 { font-size: 52px; }
  .pg-tt { font-size: 46px; }
  .contact-tt { font-size: 40px; }
  .sec, .sec-alt { padding: 72px 32px; }
  .band { padding: 18px 32px; gap: 18px; }
  .about-l, .about-r, .contact-l, .contact-r, .values-strip { padding: 60px 32px; }
  .about-r, .contact-r { border-left: none; }
  .partners { padding: 0 32px 72px; }
  .partner { padding: 56px 0; }
  .partner-left { padding-right: 0; border-right: none; padding-bottom: 40px; border-bottom: 1px solid var(--c4); margin-bottom: 40px; }
  .partner-right { padding-left: 0; }
  .svc-detail { grid-template-columns: 1fr; gap: 24px; }
  .foot { flex-direction: column; gap: 16px; text-align: center; padding: 28px 32px; }
}
@media (max-width: 560px) {
  .nm { gap: 16px; }
  .nc { padding: 9px 16px; }
  .hero-h1 { font-size: 42px; }
  .sec-tt, .vs-tt { font-size: 34px; }
  .pg-tt { font-size: 38px; }
  .svc-grid, .team-grid, .proj-grid, .p-ex-grid, .svc-detail-list, .stat-row { grid-template-columns: 1fr; }
  .stat:nth-child(odd) { border-right: none; }
}
