/* ========================
   PORTFOLIO PAGE — NEW
   ======================== */

/* HERO */
.port-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 140px 80px 80px;
  position: relative;
  overflow: hidden;
}

.port-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.orb-a {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(200,169,110,0.12) 0%, transparent 70%);
  top: -80px;
  right: -60px;
  animation: orbFloat 10s ease-in-out infinite;
}

.orb-b {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(212,204,232,0.15) 0%, transparent 70%);
  bottom: 0;
  left: 100px;
  animation: orbFloat 13s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-24px) scale(1.04); }
}

.port-hero-inner { position: relative; z-index: 1; max-width: 760px; }

.port-title {
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 28px;
}

.port-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.port-sub {
  font-size: 1.05rem;
  color: rgba(24,22,20,0.6);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 560px;
}

.port-sub em { font-style: italic; color: var(--charcoal); }

.port-invite {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(24,22,20,0.5);
  letter-spacing: 0.05em;
  border: 1px solid rgba(200,169,110,0.25);
  background: rgba(200,169,110,0.05);
  padding: 12px 22px;
  border-radius: 100px;
}

.invite-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ========================
   DIRECTIONS GRID
   ======================== */

.directions-section {
  padding: 40px 60px 100px;
}

.directions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.direction-card {
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  transform-style: preserve-3d;
}

.direction-card:hover {
  box-shadow: 0 40px 80px rgba(24,22,20,0.18);
}

.card-wide {
  grid-column: span 2;
}

/* Visual area */
.dc-visual {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.card-wide .dc-visual { height: 280px; }

.dc-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease);
}

.direction-card:hover .dc-bg {
  transform: scale(1.04);
}

.dc-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.direction-card:hover .dc-glow { opacity: 1; }

.dc-content-overlay {
  position: absolute;
  inset: 0;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

/* Shared UI elements in mockups */
.dc-ui-element { pointer-events: none; }

.ui-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.ui-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

.ui-line {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

.ui-pill {
  width: 48px;
  height: 18px;
  background: rgba(255,255,255,0.15);
  border-radius: 100px;
}

.ui-big-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.ui-sub-line {
  width: 75%;
  height: 10px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  margin-bottom: 8px;
}

.ui-sub-line.short { width: 45%; background: rgba(255,255,255,0.08); }

/* Pop card blobs */
.dc-blob-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.blob-pink {
  width: 60px;
  height: 60px;
  background: rgba(200,48,74,0.4);
  bottom: 0;
  left: 50%;
  filter: blur(8px);
  animation: blobPop 4s ease-in-out infinite;
}

.blob-yellow {
  width: 40px;
  height: 40px;
  background: rgba(255,217,0,0.5);
  filter: blur(6px);
  animation: blobPop 5s ease-in-out infinite reverse;
}

@keyframes blobPop {
  0%,100% { transform: scale(1) translate(0,0); }
  50% { transform: scale(1.2) translate(4px, -4px); }
}

/* Editorial layout */
.editorial-layout {
  flex-direction: row !important;
  padding: 16px !important;
  gap: 20px;
}

.editorial-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.edit-big-word {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  line-height: 1;
  letter-spacing: -0.02em;
}

.edit-big-word.gold { color: #C8A96E; }
.edit-big-word.coral { color: #E8896A; }

.editorial-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Organic blob */
.organic-blob-bg {
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(58,90,40,0.15);
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  top: -10px;
  right: 10px;
  animation: morphBlob 8s ease-in-out infinite;
  filter: blur(2px);
}

@keyframes morphBlob {
  0%,100% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; }
  50%      { border-radius: 30% 70% 40% 60% / 60% 40% 70% 30%; }
}

/* Tech elements */
.tech-grid-lines {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: absolute;
  top: 10px;
  right: 16px;
  opacity: 0.2;
}

.tgl {
  width: 60px;
  height: 1px;
  background: #4D9EFF;
}

.tech-badge {
  display: inline-block;
  background: rgba(77,158,255,0.15);
  border: 1px solid rgba(77,158,255,0.3);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: #4D9EFF;
  margin-top: 14px;
}

/* Card info area */
.dc-info {
  padding: 28px;
  background: var(--ivory);
  border: 1px solid rgba(24,22,20,0.06);
  border-top: none;
}

.card-dark .dc-info { background: #141210; border-color: rgba(200,169,110,0.1); }
.card-dark .dc-title, .card-dark .dc-desc { color: var(--cream); }
.card-dark .dc-desc { color: rgba(247,243,236,0.55); }

.dc-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(200,169,110,0.25);
  background: rgba(200,169,110,0.06);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.dc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.2;
}

.dc-desc {
  font-size: 0.85rem;
  color: rgba(24,22,20,0.6);
  line-height: 1.75;
  margin-bottom: 18px;
}

/* Colour palette swatches */
.dc-palette {
  display: flex;
  gap: 6px;
  align-items: center;
}

.swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-block;
  transition: transform 0.25s var(--bounce);
}

.swatch:hover { transform: scale(1.4); }

/* ========================
   PROCESS PEEK
   ======================== */

.process-peek {
  padding: 120px 80px;
  background: var(--cream);
}

.peek-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.peek-left h2 {
  font-size: clamp(2.8rem, 4vw, 4.5rem);
  font-weight: 300;
  margin-bottom: 24px;
  line-height: 1.1;
}

.peek-left h2 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.peek-left p {
  font-size: 1rem;
  color: rgba(24,22,20,0.62);
  line-height: 1.85;
  max-width: 420px;
}

.peek-left p em { font-style: italic; color: var(--charcoal); -webkit-text-fill-color: var(--charcoal); }

.peek-right {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.peek-stat { border-bottom: 1px solid rgba(24,22,20,0.08); padding-bottom: 40px; }
.peek-stat:last-child { border-bottom: none; padding-bottom: 0; }

.ps-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.peek-stat:hover .ps-num { color: var(--gold); }

.ps-label {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: rgba(24,22,20,0.45);
}

/* ========================
   FOUNDING CLIENT CTA
   ======================== */

.founding-cta {
  background: var(--charcoal);
  padding: 140px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.fc-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.fc-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(200,169,110,0.12);
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
}

.fc-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.fc-headline {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.05;
  margin-bottom: 28px;
}

.fc-headline em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fc-sub {
  font-size: 1rem;
  color: rgba(247,243,236,0.55);
  line-height: 1.8;
  margin-bottom: 56px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.fc-blob-1, .fc-blob-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.fc-blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,169,110,0.1) 0%, transparent 70%);
  top: -80px;
  left: -80px;
}

.fc-blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232,137,106,0.08) 0%, transparent 70%);
  bottom: -60px;
  right: -60px;
}

/* ========================
   CHAR SPLIT ANIMATION
   ======================== */

.split-text .char {
  animation: charReveal 0.6s var(--bounce) both;
}

@keyframes charReveal {
  from { opacity: 0; transform: translateY(20px) rotateX(-30deg); }
  to   { opacity: 1; transform: translateY(0) rotateX(0); }
}

/* ========================
   RESPONSIVE
   ======================== */

@media (max-width: 1100px) {
  .directions-grid { grid-template-columns: repeat(2, 1fr); }
  .card-wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  .port-hero { padding: 120px 24px 60px; }
  .directions-section { padding: 20px 20px 60px; }
  .directions-grid { grid-template-columns: 1fr; }
  .card-wide { grid-column: span 1; }
  .card-wide .dc-visual { height: 240px; }
  .editorial-layout { flex-direction: column !important; }
  .process-peek { padding: 80px 24px; }
  .peek-container { grid-template-columns: 1fr; gap: 60px; }
  .founding-cta { padding: 80px 24px; }
}
