:root{
  --bg:#00357a;
  --accent:#0a4ea3;
  --white:#ffffff;
}

/* RESET */
*{ box-sizing:border-box; margin:0; padding:0; }

body{
  font-family:'Inter',sans-serif;
  background:var(--bg);
  color:var(--white);
}

/* HERO */
.hero{
  min-height:100vh;
  padding:64px 8vw 96px;
}

/* HEADER */
.hero-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:16px;
}

.name{
  font-family:'Playfair Display',serif;
  font-size:clamp(3.6rem,6vw,6.4rem);
  letter-spacing:.08em;
  line-height:1;
}

/* CONTACT LINKS */
.top-links{ text-align:right; }
.top-links a{
  display:block;
  font-size:.75rem;
  letter-spacing:.16em;
  color:var(--white);
  text-decoration:none;
  margin-bottom:6px;
  opacity:.9;
}
.top-links a:hover{ text-decoration:underline; }

/* TECH STACK */
.tech{
  font-size:.75rem;
  letter-spacing:.22em;
  opacity:.65;
  margin-bottom:88px;
}

/* LAYOUT */
.layout{
  display:grid;
  grid-template-columns:420px 1fr;
  gap:120px;
  align-items:start;
  max-width:1280px;
}

/* IMAGE BLOCK */
.image-block{
  position:relative;
  width:380px;
  max-width:100%;
  overflow:visible;
}

.image-block::after{
  content:"";
  position:absolute;
  inset:0;
  transform: translate(34px, 34px);
  background: var(--accent);
  z-index:0;
}

.portrait{
  position:relative;
  z-index:1;
  width:100%;
  display:block;
  filter:grayscale(100%);
}

/* TEXT */
.text{
  max-width:72ch;
  margin-left:24px;
}

.text p{
  font-family:'Playfair Display',serif;
  font-size:1rem;
  line-height:1.95;
  margin-bottom:36px;
}

.text .lead{
  font-size:1rem;
}

.quote{
  font-size:1rem;
  font-style:italic;
  opacity:.75;
  margin-top:56px;
  max-width:68ch;
}

/* VISION */
.vision{
  display:flex;
  gap:56px;
  margin-top:28px;
  align-items:center;
}

.vision-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  cursor:pointer;
}

.vision-item img{
  height:72px;
  width:auto;
  transition:transform .25s ease, filter .25s ease;
}

.vision-item:hover img{
  transform:translateY(-4px) scale(1.04);
  filter:drop-shadow(0 10px 25px rgba(255,255,255,.25));
}

.vision-item span{
  font-family:'Playfair Display',serif;
  font-size:.9rem;
  opacity:.85;
}
/* =========================
   VISION BUTTON TEXT COLOR FIX
========================= */

.vision-item span{
  color:#ffffff;          /* force white */
}

/* override link states explicitly */
.vision-item:link span,
.vision-item:visited span,
.vision-item:hover span,
.vision-item:active span{
  color:#ffffff;
}


/* PROJECTS */
.projects{
  background:#000;
  padding:120px 8vw 140px;
  color:#fff;
}

.projects-header{
  margin-bottom:72px;
}

.projects h2{
  font-family:'Playfair Display',serif;
  font-size:2.4rem;
}

/* GRID */
.project-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:48px;
  max-width:1400px;
  margin:0 auto;
}

/* CARD */
.project-card{
  background:#000;
  border-radius:14px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  height:100%;
  transition:transform .35s ease, box-shadow .35s ease;
}

.project-card:hover{
  transform:translateY(-6px);
  box-shadow:0 40px 90px rgba(0,136,255,.35);
}

.project-image img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
}

.project-body{
  padding:24px;
  flex:1;
}

.project-body h3{
  font-size:1.15rem;
  margin-bottom:10px;
}

.project-body p{
  font-size:.9rem;
  line-height:1.55;
  opacity:.85;
}

.project-footer{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  align-items:center;
}

.project-footer a{
  color:#fff;
  text-decoration:none;
  font-size:.75rem;
  letter-spacing:.14em;
  border-bottom:1px solid rgba(255,255,255,.65);
}

.project-footer a:hover{opacity:.75;}

.project-tech{
  margin-left:auto;
  font-size:.65rem;
  letter-spacing:.12em;
  opacity:.6;
}

.soon{opacity:.8;}
/* =========================
   PRODUCT MANAGEMENT — FIX
   Blue section with sidebar
========================= */

/* =========================
   PRODUCT MANAGEMENT — FIXED
========================= */

.pm-section{
  background:var(--bg);
  color:#fff;
  padding:140px 8vw;
}

.pm-header{
  margin-bottom:80px;
}

.pm-header h2{
  font-family:'Playfair Display',serif;
  font-size:clamp(3rem,6vw,5.2rem);
  letter-spacing:.08em;
}

.pm-sub{
  margin-top:12px;
  opacity:.7;
  font-size:1.05rem;
}

/* LAYOUT */
.pm-layout{
  display:grid;
  grid-template-columns: 1fr 120px;
  gap:80px;
  max-width:1200px;
}

/* CONTENT */
.pm-content{
  position:relative;
  min-height:360px;
}

.pm-role{
  display:none;
  animation:fadeIn .4s ease;
}

.pm-role.active{
  display:block;
}

.pm-role h3{
  font-size:1.4rem;
  margin-bottom:6px;
}

.pm-meta{
  display:block;
  font-size:.8rem;
  letter-spacing:.12em;
  opacity:.65;
  margin-bottom:24px;
}

.pm-role ul{
  list-style:disc;
  padding-left:20px;
  margin-bottom:28px;
}

.pm-role li{
  margin-bottom:10px;
  line-height:1.6;
}

/* TAGS */
.pm-tags{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.pm-tags span{
  font-size:.7rem;
  letter-spacing:.12em;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
}

/* TIMELINE */
.pm-timeline{
  display:flex;
  flex-direction:column;
  gap:24px;
  align-items:flex-start;
  padding-top:12px;
}

.pm-timeline button{
  background:none;
  border:none;
  color:rgba(255,255,255,.5);
  text-align:left;
  font-family:'Inter',sans-serif;
  font-size:.85rem;
  letter-spacing:.12em;
  cursor:pointer;
  transition:color .25s ease, transform .25s ease;
}

.pm-timeline button span{
  font-size:.7rem;
  opacity:.7;
}

.pm-timeline button:hover{
  color:#fff;
  transform:translateX(4px);
}

.pm-timeline button.active{
  color:#fff;
  font-weight:500;
}

/* ANIMATION */
@keyframes fadeIn{
  from{opacity:0; transform:translateY(6px);}
  to{opacity:1; transform:translateY(0);}
}

/* RESPONSIVE */
@media(max-width:900px){
  .pm-layout{
    grid-template-columns:1fr;
  }
  .pm-timeline{
    flex-direction:row;
    gap:32px;
  }
}

/* =========================
   ART SECTION — BLACK ONLY
========================= */
/* =========================
   ART — GALLERY STYLE
========================= */

.art-section{
  background:#000;
  color:#fff;
  padding:140px 8vw;
}

.art-header{
  max-width:900px;
  margin-bottom:90px;
}

.art-header h2{
  font-family:'Playfair Display',serif;
  font-size:clamp(3rem,6vw,5rem);
  letter-spacing:.08em;
}

.art-sub{
  margin-top:14px;
  font-size:1.05rem;
  opacity:.65;
}

/* GALLERY WRAPPER */
/* =========================
/* =========================
   ART — GALLERY ROOM
========================= */

.art-room{
  background:#000;
  color:#fff;
  padding:140px 8vw 180px;
}

/* =========================
   HEADER
========================= */

.art-header{
  max-width:900px;
  margin-bottom:120px;
}

.art-header h2{
  font-family:'Playfair Display', serif;
  font-size:clamp(3.2rem, 6vw, 5rem);
  letter-spacing:.08em;
}

.art-header p{
  margin-top:14px;
  font-size:1.05rem;
  opacity:.65;
}

/* =========================
   GALLERY LAYOUT
========================= */

.gallery-wall{
  max-width:1400px;
  margin:0 auto;
}

.gallery-row{
  display:grid;
  grid-template-columns: 1fr 0.8fr 1fr;
  gap:100px;
  align-items:center;
}

/* =========================
   ART FRAMES (LEFT & RIGHT)
========================= */

.art-frame{
  text-align:center;
}

.art-frame img{
  width:100%;
  display:block;
  filter:contrast(1.05);
}

.art-frame figcaption{
  margin-top:14px;
  font-size:.7rem;
  letter-spacing:.14em;
  opacity:.6;
}

/* Optional: keep right frame visually balanced */
.art-frame-right{
  max-width:380px;
  justify-self:start;
}

/* =========================
   POETRY PLACARD
========================= */

.art-placard{
  position:relative;              /* anchor for crow */
  font-family:'Playfair Display', serif;
  text-align:center;
  max-width:36ch;
  margin:0 auto;
}

.art-placard h3{
  font-size:1.2rem;
  letter-spacing:.18em;
  margin-bottom:26px;
}

.art-placard p{
  font-size:1.05rem;
  line-height:1.9;
  opacity:.85;
}

.art-placard a{
  display:inline-block;
  margin-top:26px;
  font-size:.75rem;
  letter-spacing:.16em;
  color:#fff;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.4);
}

.art-placard a:hover{
  opacity:.7;
}

/* =========================
   CROW OVERLAY (FINAL)
========================= */

.crow-overlay{
  position:absolute;

  /* clearly ABOVE the poetry */
  top:-220px;

  /* centered over placard */
  left:50%;
  transform:translateX(-50%);

  width:220px;
  max-width:34vw;
  height:auto;

  pointer-events:none;
  z-index:10;
  opacity:0.9;
}

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

@media(max-width:1000px){
  .gallery-row{
    grid-template-columns:1fr;
    gap:90px;
  }

  .crow-overlay{
    top:-160px;
    width:180px;
  }
}

/* =========================
   PM SECTION — CENTERED BLUE RECTANGLE (NOT A BANNER)
   Paste at bottom of CSS
========================= */

#product.pm-section{
  /* keep the page around it black so it transitions from Tech */
  background:#000;
  padding:140px 0;              /* top/bottom black breathing room */
}

/* this is the “balanced rectangle” */
#product .pm-panel{
  background: var(--bg);        /* your blue */
  width: min(1200px, 86vw);     /* NOT full width */
  margin: 0 auto;               /* center it */
  padding: clamp(56px, 5.5vw, 96px);
  min-height: 680px;            /* prevents “short banner” feel */
  box-shadow: 0 40px 120px rgba(0,0,0,.55);
}

/* keep your layout inside looking clean */
#product .pm-layout{
  display:grid;
  grid-template-columns: 1fr 160px;
  gap: clamp(40px, 6vw, 90px);
  align-items:start;
  margin-top: clamp(42px, 5vw, 70px);
}

/* timeline stays right, visually lighter */
#product .pm-timeline{
  display:flex;
  flex-direction:column;
  gap:18px;
  align-items:flex-end;
}

#product .pm-timeline button{
  background: transparent;
  border: 0;
  color: rgba(255,255,255,.45);
  text-align:right;
  cursor:pointer;
  padding: 6px 0;
  letter-spacing:.12em;
}

#product .pm-timeline button.active{
  color:#fff;
  border: 1px solid rgba(255,255,255,.55);
  padding: 8px 12px;
}

/* mobile: rectangle stays a rectangle */
@media (max-width: 900px){
  #product.pm-section{ padding: 90px 0; }
  #product .pm-panel{
    width: min(980px, 92vw);
    min-height: auto;
  }
  #product .pm-layout{
    grid-template-columns: 1fr;
  }
  #product .pm-timeline{
    flex-direction:row;
    justify-content:flex-start;
    align-items:flex-start;
    gap:22px;
  }
  #product .pm-timeline button{ text-align:left; }
}

.art-frame-right{
  max-width:380px;
  justify-self:start; /* pulls it toward center */
}
/* =========================
   FAQ
========================= */

.faq-section{
  background:#000;
  color:#fff;
  padding:140px 8vw;
}

.faq-header{
  max-width:720px;
  margin-bottom:80px;
}

.faq-header h2{
  font-family:'Playfair Display', serif;
  font-size:clamp(3rem, 6vw, 5rem);
  letter-spacing:.08em;
}

.faq-header p{
  margin-top:14px;
  font-size:1.05rem;
  opacity:.65;
}

.faq-list{
  max-width:820px;
}

.faq-item{
  border-bottom:1px solid rgba(255,255,255,.15);
  padding:26px 0;
}

.faq-item summary{
  list-style:none;
  cursor:pointer;
  font-family:'Playfair Display', serif;
  font-size:1.25rem;
  letter-spacing:.02em;
  position:relative;
  padding-right:32px;
}

.faq-item summary::-webkit-details-marker{
  display:none;
}

.faq-item summary::after{
  content:"+";
  position:absolute;
  right:0;
  top:0;
  font-size:1.4rem;
  opacity:.6;
  transition:transform .25s ease, opacity .25s ease;
}

.faq-item[open] summary::after{
  content:"–";
  opacity:1;
}

.faq-item p{
  margin-top:18px;
  font-size:1.05rem;
  line-height:1.85;
  opacity:.85;
  max-width:65ch;
}

/* subtle open animation */
.faq-item[open] p{
  animation:faqFade .25s ease;
}

@keyframes faqFade{
  from{opacity:0; transform:translateY(4px);}
  to{opacity:.85; transform:translateY(0);}
}
