:root{
  --ink:#151515;
  --muted:#6b665f;
  --sand:#f7f2ea;
  --sand-2:#efe5d8;
  --gold:#ad8f5d;
  --gold-2:#c8ae7f;
  --white:#fffdf8;
  --line:#e2d8c9;
  --dark:#171614;

  --radius-sm:14px;
  --radius-md:22px;
  --shadow-soft:0 18px 45px rgba(20,16,12,.07);
  --shadow-card:0 20px 50px rgba(20,16,12,.08);
}

/* ==========================
   BASE
========================== */

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:'Libre Franklin', Arial, sans-serif;
  color:var(--ink);
  background:var(--white);
  line-height:1.6;
}

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

a{
  color:inherit;
  text-decoration:none;
}

p{
  margin-top:0;
}

.serif{
  font-family:'Playfair Display', Georgia, serif;
}

.container{
  width:min(1180px, calc(100% - 40px));
  margin:auto;
}

.kicker{
  margin:0 0 14px;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.72rem;
  font-weight:700;
  color:var(--gold);
}

.muted{
  color:var(--muted);
}

.section p,
.page-hero p,
.case-section p,
.cv-details p,
.about-text p{
  text-align:justify;
  text-justify:inter-word;
}

/* ==========================
   BUTTONS
========================== */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  min-height:48px;
  padding:.9rem 1.15rem;
  border:1px solid var(--ink);
  background:transparent;
  color:var(--ink);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.72rem;
  font-weight:700;
  line-height:1.25;
  text-align:center;
  transition:.25s ease;
}

.btn:hover{
  background:var(--ink);
  color:#fff;
}

.btn.gold{
  border-color:var(--gold);
  background:var(--gold);
  color:#fff;
}

.btn.gold:hover{
  background:var(--ink);
  border-color:var(--ink);
}

.btn.light{
  border-color:#fff;
  color:#fff;
}

.btn.light:hover{
  background:#fff;
  color:var(--ink);
}

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

.site-header{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(255,253,248,.96);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}

.nav{
  height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:2rem;
}

.brand{
  font-family:'Playfair Display', Georgia, serif;
  letter-spacing:.18em;
  font-size:1.1rem;
}

.menu{
  display:flex;
  align-items:center;
  gap:1.5rem;
}

.menu a{
  text-transform:uppercase;
  letter-spacing:.13em;
  font-size:.72rem;
  font-weight:700;
  color:#2b2925;
}

.menu a:hover{
  color:var(--gold);
}

.menu-toggle{
  display:none;
  background:none;
  border:0;
  font-size:1.8rem;
  color:var(--ink);
}

.mobile-menu{
  display:none;
  border-top:1px solid var(--line);
  padding:1rem 20px;
  background:var(--white);
}

.mobile-menu a{
  display:block;
  padding:.75rem 0;
  text-transform:uppercase;
  letter-spacing:.13em;
  font-size:.82rem;
  font-weight:700;
}

.mobile-menu.open{
  display:block;
}

/* ==========================
   HOME HERO
========================== */

.hero{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  min-height:680px;
}

.hero-copy{
  display:flex;
  align-items:center;
  padding:5rem 0;
}

.hero h1{
  margin:.8rem 0 1rem;
  font-size:clamp(3rem, 7vw, 5.8rem);
  line-height:.96;
}

.hero .lead{
  max-width:620px;
  font-size:1.15rem;
  color:#36312b;
}

.hero p{
  color:var(--muted);
}

.hero-media{
  min-height:480px;
  background:
    linear-gradient(135deg, rgba(20,20,20,.18), rgba(173,143,93,.18)),
    url("/assets/images/index-image-1.jpg") center/cover;
}

.hero-actions{
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
  margin-top:2rem;
}

/* ==========================
   SECTIONS
========================== */

.section{
  padding:6rem 0;
}

.section.alt,
.case-section.alt{
  background:var(--sand);
}

.section.dark{
  background:var(--dark);
  color:#fff;
}

.section-title{
  margin:.5rem 0 1rem;
  font-size:clamp(2.1rem, 4vw, 3.5rem);
  line-height:1.05;
}

.intro{
  max-width:760px;
  color:var(--muted);
  font-size:1.04rem;
}

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4rem;
  align-items:center;
}

/* ==========================
   STATS / META / CHIPS
========================== */

.stats,
.grid-4,
.case-meta{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  border-top:1px solid var(--line);
  border-left:1px solid var(--line);
  margin-top:2.5rem;
}

.stat,
.expertise,
.case-meta div{
  background:var(--white);
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.stat{
  padding:1.35rem;
}

.stat strong{
  display:block;
  font-family:'Playfair Display', Georgia, serif;
  font-size:2rem;
}

.expertise{
  min-height:250px;
  padding:2rem;
}

.expertise .num{
  color:var(--gold);
  font-weight:700;
  letter-spacing:.14em;
}

.expertise h3{
  font-family:'Playfair Display', Georgia, serif;
  font-size:1.45rem;
}

.case-meta{
  gap:0;
  background:transparent;
}

.case-meta div{
  padding:1.2rem;
}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap:.65rem;
  margin-top:1.4rem;
}

.chip{
  padding:.55rem .8rem;
  border:1px solid var(--line);
  background:#fff;
  font-size:.85rem;
}

/* ==========================
   CARDS
========================== */

.cards{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1.4rem;
  margin-top:2.5rem;
}

.card{
  display:flex;
  flex-direction:column;
  background:var(--white);
  border:1px solid var(--line);
  overflow:hidden;
  transition:.25s ease;
}

.card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-card);
}

.card-img{
  height:235px;
  overflow:hidden;
  background:var(--sand-2);
}

.card-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.5s ease;
}

.card:hover img{
  transform:scale(1.04);
}

.card-body{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:1.5rem;
}

.card h3{
  margin:.4rem 0;
  font-family:'Playfair Display', Georgia, serif;
  font-size:1.45rem;
  line-height:1.2;
}

.card p{
  color:var(--muted);
}

.link-more{
  margin-top:auto;
  color:var(--gold);
  font-size:.75rem;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-weight:700;
}

/* ==========================
   PROJECT / CASE PAGES
========================== */

.page-hero{
  padding:5rem 0 3rem;
  background:var(--sand);
  border-bottom:1px solid var(--line);
}

.page-hero h1{
  margin:.5rem 0;
  font-size:clamp(2.6rem, 5vw, 5rem);
  line-height:1;
}

.project-hero{
  display:grid;
  grid-template-columns:1fr .85fr;
  gap:3rem;
  align-items:center;
}

.project-hero img{
  width:100%;
  height:430px;
  object-fit:cover;
  border:1px solid rgba(173,143,93,.16);
}

.case-section{
  padding:4.5rem 0;
}

.case-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:3rem;
}

.list-clean{
  padding-left:1.1rem;
}

.list-clean li{
  margin:.55rem 0;
}

.quote-block{
  margin-top:2rem;
  padding:1.6rem;
  background:var(--sand);
  border-left:3px solid var(--gold);
}

/* ==========================
   LIVRABLES / DOCUMENT CARDS
========================== */

.deliverables-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
  align-items:stretch;
  margin-top:2rem;
}

.deliverable-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:370px;
  padding:24px;
  background:#fffdf9;
  border:1px solid var(--line);
  transition:.25s ease;
}

.deliverable-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-card);
}

.deliverable-card .kicker{
  margin-bottom:20px;
}

.deliverable-card h3{
  min-height:64px;
  margin:0 0 18px;
  font-family:'Playfair Display', Georgia, serif;
  font-size:1.55rem;
  line-height:1.18;
}

.deliverable-card > p:not(.kicker){
  flex-grow:1;
  min-height:84px;
  margin:0;
  color:var(--muted);
  line-height:1.65;
}

.deliverable-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  min-height:32px;
  margin-top:auto;
  margin-bottom:22px;
}

.deliverable-tags span{
  padding:6px 10px;
  border:1px solid var(--line);
  background:#fff;
  font-size:.76rem;
  line-height:1.2;
}

.deliverable-card .btn{
  width:100%;
  min-height:58px;
  margin-top:0;
}

.deliverable-card.locked{
  overflow:hidden;
}

.deliverable-card.locked:after{
  content:'AperÃ§u protÃ©gÃ©';
  position:absolute;
  top:.85rem;
  right:-2.3rem;
  transform:rotate(35deg);
  background:var(--dark);
  color:#fff;
  font-size:.62rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:.25rem 2.2rem;
}

.deliverable-preview{
  width:calc(100% + 48px);
  max-width:calc(100% + 48px);
  height:260px;
  object-fit:cover;
  display:block;
  border-bottom:1px solid var(--line);
  background:var(--sand);
  margin:-24px -24px 20px;
}

.locked-link{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  color:var(--gold);
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-weight:800;
}

.ip-note{
  margin-top:1.5rem;
  padding:1rem;
  background:#fff8ed;
  border:1px solid var(--line);
  color:#5e5548;
}

.ip-note strong{
  color:var(--ink);
}

.detail-preview{
  width:100%;
  max-width:1050px;
  margin:0 auto;
  border:1px solid var(--line);
  background:var(--white);
  box-shadow:var(--shadow-soft);
}

/* ==========================
   PREVIEW GRID
========================== */

.protected-preview{
  padding:90px 0;
  background:var(--white);
}

.protected-preview .intro{
  max-width:760px;
  margin:18px 0 42px;
  color:var(--muted);
  font-size:1.05rem;
}

.preview-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:22px;
}

.preview-card{
  min-height:330px;
  display:flex;
  flex-direction:column;
  padding:28px;
  border:1px solid rgba(181,154,102,.35);
  background:#fffdf8;
  transition:.25s ease;
}

.preview-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(30,24,18,.08);
}

.preview-status{
  margin-bottom:18px;
  color:var(--gold);
  font-size:.68rem;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-weight:700;
}

.preview-type{
  margin-bottom:20px;
  color:var(--muted);
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.2em;
  font-weight:700;
}

.preview-card h2{
  margin:0 0 18px;
  font-family:'Playfair Display', Georgia, serif;
  font-size:1.35rem;
  line-height:1.2;
}

.preview-card p{
  margin-bottom:26px;
  color:var(--muted);
  line-height:1.6;
}

.preview-card .btn{
  margin-top:auto;
  width:100%;
}

/* ==========================
   IMPACT SECTION
========================== */

.impact-section{
  padding:90px 0;
  background:var(--white);
  overflow:hidden;
}

.impact-inner{
  display:grid;
  grid-template-columns:40% 60%;
  align-items:center;
  gap:60px;
}

.impact-title{
  max-width:500px;
}

.impact-kicker{
  margin:0 0 22px;
  color:var(--gold);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.impact-title h2{
  margin:0;
  font-family:'Playfair Display', Georgia, serif;
  font-size:clamp(3rem, 4vw, 4.4rem);
  line-height:.98;
  font-weight:500;
  color:var(--ink);
}

.impact-stats{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
}

.impact-stat{
  min-height:135px;
  padding:22px 24px;
  border-left:1px solid rgba(185,154,98,.28);
}

.impact-label{
  display:block;
  min-height:48px;
  margin-bottom:20px;
  color:var(--gold);
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.17em;
  text-transform:uppercase;
  line-height:1.45;
}

.impact-stat strong{
  display:block;
  color:var(--ink);
  font-size:1.05rem;
  font-weight:700;
  line-height:1.35;
}

/* ==========================
   TIMELINE
========================== */

.timeline{
  margin-top:2rem;
  border-left:1px solid var(--line);
  padding-left:1.5rem;
}

.timeline-item{
  position:relative;
  margin-bottom:1.6rem;
}

.timeline-item:before{
  content:'';
  position:absolute;
  left:-1.82rem;
  top:.35rem;
  width:.7rem;
  height:.7rem;
  border-radius:50%;
  border:1px solid var(--gold);
  background:var(--white);
}

/* ==========================
   CV
========================== */

.cv-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:3rem;
}

.cv-box{
  padding:1.5rem;
  border:1px solid var(--line);
  background:#fff;
}

.cv-download-placeholder{
  margin-top:1rem;
  padding:1rem;
  border:1px dashed var(--gold);
  background:#fffaf1;
  color:var(--muted);
}

.cv-hero{
  padding-bottom:70px;
}

.cv-mini-card{
  padding:38px;
  border:1px solid rgba(190,160,120,.25);
  border-radius:28px;
  background:#fff;
  box-shadow:0 24px 70px rgba(0,0,0,.07);
}

.cv-mini-card h2{
  margin-bottom:10px;
}

.cv-mini-card p{
  margin-bottom:24px;
  color:#6d665f;
}

.cv-mini-card ul{
  list-style:none;
  padding:0;
  margin:0;
}

.cv-mini-card li{
  padding:12px 0;
  border-bottom:1px solid rgba(0,0,0,.08);
  color:#2b2b2b;
}

.cv-mini-card li:last-child{
  border-bottom:none;
}

.cv-showcase{
  display:grid;
  grid-template-columns:.9fr 1fr;
  gap:60px;
  align-items:start;
}

.cv-preview-card{
  padding:18px;
  border-radius:28px;
  background:#f4efe8;
  box-shadow:0 24px 70px rgba(0,0,0,.08);
}

.cv-frame{
  width:100%;
  height:720px;
  border:none;
  border-radius:18px;
  background:#fff;
}

.cv-details p{
  color:#5f5a54;
  line-height:1.8;
}

.cv-points{
  display:grid;
  gap:22px;
  margin:34px 0;
}

.cv-points div{
  padding:24px;
  border-left:3px solid #c7a66b;
  border-radius:0 18px 18px 0;
  background:#fbf8f3;
}

.cv-points h3{
  margin-bottom:8px;
}

/* ==========================
   ABOUT
========================== */

.about-me-section{
  background:#fbf8f3;
}

.about-me-container{
  display:grid;
  grid-template-columns:.75fr 1.25fr .8fr;
  gap:42px;
  align-items:start;
}

.about-me-photo{
  position:sticky;
  top:110px;
}

.about-me-photo img{
  width:100%;
  height:520px;
  object-fit:cover;
  border:1px solid rgba(190,160,120,.18);
  border-radius:28px;
  box-shadow:0 24px 70px rgba(0,0,0,.08);
}

.about-me-content p{
  margin-bottom:22px;
  color:#5f5a54;
  line-height:1.9;
}

.about-me-side{
  display:flex;
  flex-direction:column;
  gap:24px;
}

.interest-card{
  padding:30px;
  border:1px solid rgba(190,160,120,.18);
  border-radius:24px;
  background:#fff;
  box-shadow:0 18px 50px rgba(0,0,0,.05);
}

.interest-card h3{
  margin-bottom:18px;
}

.interest-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.interest-tags span{
  padding:10px 14px;
  border-radius:999px;
  background:#f4efe8;
  color:#6a6259;
  font-size:.9rem;
}

.interest-card ul{
  padding-left:18px;
  margin:0;
}

.interest-card li{
  margin-bottom:12px;
  color:#5f5a54;
}

.about-intro{
  display:grid;
  grid-template-columns:420px 1fr;
  gap:80px;
  align-items:center;
}

.about-photo img{
  width:100%;
  display:block;
  object-fit:cover;
  border-radius:18px;
  box-shadow:0 24px 60px rgba(0,0,0,.08);
}

.about-photo-caption{
  margin-top:15px;
  color:#8a8175;
  font-size:.9rem;
  line-height:1.5;
}

.about-text p{
  margin-bottom:20px;
}

/* ==========================
   LIFE / JOURNEY
========================== */

.life-grid,
.soft-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:24px;
  margin-top:42px;
}

.life-card{
  min-height:260px;
  padding:30px;
  border:1px solid rgba(190,160,120,.18);
  border-radius:26px;
  background:#fff;
  box-shadow:0 18px 50px rgba(0,0,0,.04);
}

.life-card span,
.journey-date{
  display:inline-block;
  margin-bottom:18px;
  color:#b8945c;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.life-card h3,
.soft-grid h3,
.journey-item h3{
  margin-bottom:12px;
}

.life-card p,
.soft-grid p,
.journey-item p{
  color:#5f5a54;
  line-height:1.7;
}

.soft-grid div{
  padding-left:22px;
  border-left:2px solid #c7a66b;
}

.journey{
  display:grid;
  gap:22px;
  margin-top:46px;
}

.journey-item{
  display:grid;
  grid-template-columns:180px 1fr;
  gap:34px;
  padding:28px;
  border:1px solid rgba(190,160,120,.18);
  border-radius:26px;
  background:#fff;
  box-shadow:0 18px 50px rgba(0,0,0,.04);
}

.journey-item.highlight{
  background:#fbf8f3;
  border-color:rgba(184,148,92,.35);
}

/* ==========================
   CONTACT / CTA / FOOTER
========================== */

.contact-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:3rem;
}

.contact-card{
  padding:1.5rem;
  border:1px solid #403b35;
}

.contact-link{
  text-decoration:underline;
  text-decoration-color:var(--gold);
  text-underline-offset:4px;
}

.form-note{
  padding:1.2rem;
  border:1px solid var(--line);
  background:var(--sand);
  color:var(--muted);
}

.cta{
  padding:4rem 0;
  background:var(--dark);
  color:#fff;
}

.footer{
  padding:2rem 0;
  background:#0f0e0d;
  color:#ddd;
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
}

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

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

  .preview-grid{
    grid-template-columns:repeat(2, 1fr);
  }

  .impact-inner{
    grid-template-columns:1fr;
    gap:42px;
  }

  .impact-stats{
    grid-template-columns:repeat(2, 1fr);
  }

  .life-grid,
  .soft-grid{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media(max-width:980px){
  .hero,
  .split,
  .project-hero,
  .case-grid,
  .contact-grid,
  .cv-grid,
  .cv-showcase,
  .about-intro{
    grid-template-columns:1fr;
  }

  .hero{
    min-height:auto;
  }

  .hero-copy{
    padding:4rem 0;
  }

  .hero-media{
    min-height:360px;
  }

  .stats,
  .grid-4,
  .case-meta{
    grid-template-columns:repeat(2, 1fr);
  }

  .cards{
    grid-template-columns:repeat(2, 1fr);
  }

  .menu{
    display:none;
  }

  .menu-toggle{
    display:block;
  }

  .about-photo{
    max-width:450px;
    margin:auto;
  }

  .about-me-container{
    grid-template-columns:1fr;
  }

  .about-me-photo{
    position:static;
  }
}

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

  .deliverable-card{
    min-height:auto;
  }

  .deliverable-card h3,
  .deliverable-card > p:not(.kicker),
  .deliverable-tags{
    min-height:auto;
  }
}

@media(max-width:650px){
  .container{
    width:min(100% - 28px, 1180px);
  }

  .nav{
    height:64px;
  }

  .brand{
    font-size:.95rem;
  }

  .hero h1{
    font-size:2.75rem;
  }

  .section{
    padding:4rem 0;
  }

  .stats,
  .grid-4,
  .cards,
  .case-meta,
  .preview-grid,
  .impact-stats,
  .life-grid,
  .soft-grid{
    grid-template-columns:1fr;
  }

  .hero-actions{
    flex-direction:column;
  }

  .btn{
    width:100%;
  }

  .project-hero img{
    height:300px;
  }

  .card-img{
    height:205px;
  }

  .footer-inner{
    display:block;
  }

  .section-title{
    font-size:2.2rem;
  }

  .impact-title h2{
    font-size:2.7rem;
  }

  .impact-stat{
    min-height:auto;
    padding:22px 0;
    border-left:none;
    border-top:1px solid rgba(185,154,98,.28);
  }

  .impact-label{
    min-height:auto;
    margin-bottom:12px;
  }

  .cv-frame{
    height:460px;
  }

  .cv-mini-card{
    padding:28px;
  }

  .journey-item{
    grid-template-columns:1fr;
    gap:12px;
  }
}