:root {
    /* colors & dimensions */
    --bg: #3D5650;
    --gold: #D4AF37;
    --path-length: 0;             /* override via JS */
  
    /* fonts */
    --font-body: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
  
    /* hero image */
    --Mainpic: url('pic4.png');
  }
  
  /* reset & full‑screen flex */
  *, *::before, *::after {
    box-sizing: border-box;
  }
  html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: var(--font-body);
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  /* --- SVG animation --- */
  #hello-container {
    position: absolute;
    inset: 0;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
  }
  #hello-wrapper {
    width: 30vw;
    max-width: 200px;
  }
  .hello {
    fill: none;
    stroke: var(--gold);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-miterlimit: 10;
    stroke-dasharray: var(--path-length);
    stroke-dashoffset: var(--path-length);
    animation: drawReverse 3s ease-in-out forwards;
  }
  @keyframes drawReverse {
    0%   { stroke-dashoffset: var(--path-length); }
    40%  { stroke-dashoffset: 0; }
    60%  { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: var(--path-length); }
  }
  
  /* --- Portfolio landing page --- */
  #portfolio {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    background: var(--bg);
    color: white;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
  }
  #portfolio.show {
    display: flex;
    opacity: 1;
  }
  
  /* header */
  header {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    padding: 1.5rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0,0,0,0.4);
    z-index: 5;
  }
  .logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
  }
  nav a {
    margin: 0 1rem;
    font-size: 1.1rem;
    color: white;
    text-decoration: none;
  }
  .cta {
    font-family: var(--font-heading);
    font-size: 1rem;
    background: #5DAA4E;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-transform: capitalize;
    cursor: pointer;
  }
  
  /* --- Hero: image directly on top of text --- */
  .hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg);
    padding: 0;
  }
  
  /* pseudo-element for the hero image */
  .hero::before {
    content: "";
    display: block;
    width: 50%;
    max-width: 70%;
    aspect-ratio: 16 / 9;
    background: var(--Mainpic) center/contain no-repeat;
    margin-top: 5rem;
    margin-bottom: -4rem;
  }
  
  /* text block beneath the image */
  .hero-text {
    max-width: 70%;
    margin: 2rem auto;
    text-align: center;
    padding: 0 1rem;
  }
  .hero-text h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 0rem;
    line-height: 1.2;
    color: var(--gold);
  }
  .hero-text p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: white;
  }
  