
/* =====================
   Color Tokens
   ===================== */
   :root{
    --bg: #333;
    --surface: #fff;
  
    /* grayscale */
    --text: #111;
    --text-muted: #666;
    --text-subtle: #888;
  
    /* ui */
    --border: #3c3c3c;
    --bar: #e5e5e5;
  
    /* buttons */
    --btn-text: var(--text);
    --btn-border: var(--text);
    --btn-bg: #fff;
    --btn-hover: #f2f2f2;
  }
  
  /* dark / image background theme */
  .container.mrbw, .container.romero{
    --text: #fff;
    --text-muted: rgba(255,255,255,.85);
    --text-subtle: rgba(255,255,255,.7);
    --border: rgba(255,255,255,.45);
  }
  
  /* =====================
     Base Reset
     ===================== */
  *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body{
    font-family: 'Jost',"Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
    background-color: var(--bg);
    display: flex;
    justify-content: center;
    color: var(--text);
    background-image: url(../img/pae_bg.jpg);
    background-attachment: fixed;
    background-size: cover;
  }
  
  img{width: 100%;}


  /* =====================
     Container
     ===================== */
  .container{
    max-width: 640px;
    width: 100%;
    background-color: var(--surface);
    min-height: 100vh;
    position: relative;
    background-image: url(../img/artist_bg.png);
    background-size: cover;
  }
  
  .container.mrbw{
    background-image: url(../img/pae_bg.jpg)!important;
  }
  
  .container.romero{
    background-image: url(../img/romero_bg.png)!important;
  }
  /* =====================
     Header
     ===================== */
  .header{
    padding: 50px 20px 40px;
    text-align: center;
    background-color: var(--surface);
  }
  
  .header h1{
    font-family: 'Jost', sans-serif;
    font-size: 52px;
    font-weight: 700;
    letter-spacing: 0.25em;
    margin-right: -0.25em;
    text-transform: uppercase;
    line-height: 1;
  }
  
  h1>img{
    width: 80%;
    display: block;
    margin: 0 auto;
  }
  
  /* =====================
     Sub Bar
     ===================== */
  .sub-bar{
    background-color: var(--bar);
    padding: 12px 0;
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.15em;
    color: var(--text-muted);
  }
  
  /* =====================
     Hero
     ===================== */
  .hero-image{
    width: 100%;
    aspect-ratio: 4 / 5;
    background-color: #eee;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* =====================
     Section
     ===================== */
  .section-container{
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
  }
  
  .section-title{
    font-family: 'Jost', sans-serif;
    font-size: 48px;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 4px;
    color: var(--text);
  }
  
  .section-subtitle{
    font-size: 12px;
    color: var(--text-subtle);
    margin-bottom: 35px;
    display: block;
    letter-spacing: 0.05em;
  }
  
  .body-text{
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 2em;
    text-align: justify;
    color: var(--text-muted);
  }
  
  /* =====================
     Artwork
     ===================== */
  .artwork-stack{
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
  }
  
  .artwork-frame{
    width: 100%;
    background-color: #f5f5f5;
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #eee;
  }
  
  .artwork-frame img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .artwork-caption {
    margin-top: 0;         
    font-size: 11px;     
    line-height: 1.4;
    letter-spacing: 0.15em;
    color: var(--color-text-light);
    text-align: center;
    opacity: 0.85;
  }
  .container.mrbw .artwork-caption {
    color: white
  }

  .artwork-gap-tight {
    margin-bottom: -25px;
  }

  .artwork-gap-tight-britto {
    margin-bottom: -20px; 
  }
  
  .artwork-caption-britto {
    margin-top: 12px;   
    position: relative;
    z-index: 1;
  }
  
  .container.romero .artwork-caption-britto {
    color: white
  }
  
  
  /* =====================
     Career
     ===================== */
  .career-section{
    padding-bottom: 40px;
  }
  
  .career-box{
    border: 0.5px solid var(--border);
    margin-bottom: 25px;
    position: relative;
  }
  
  .career-box-title{
    padding: 15px 20px;
    font-size: 18px;
    border-bottom: 0.5px solid var(--border);
    letter-spacing: 0.05em;
    color: var(--text);
  }
  
  .career-box-content{
    padding: 20px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted);
  }
  
  /* =====================
     Back Button
     ===================== */
  .bottom-action-area{
    padding: 20px 40px 40px;
    display: flex;
    justify-content: flex-start;
  }
  
  .back-button{
    background-color: #ffffffd6;
    width: 80px;
    height: 80px;
    border: 1px solid var(--btn-border);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--btn-text);
    transition: all 0.3s ease;
  }
  
  .back-button svg{
    width: 20px;
    height: 20px;
    margin-bottom: 5px;
  }
  
  .back-button span{
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
  }
  
  /* =====================
     Banner Gallery
     ===================== */
  .banner-gallery{
    width: 100%;
    height: 400px;
    background-image: url('../img/gallery_banner.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 40px;
    z-index: 1;
  }
  
  .gallery-button-wrapper{
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 40px;
  }
  
  .gallery-button{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--btn-bg);
    color: var(--btn-text);
    text-decoration: none;
    padding: 18px 20px;
    width: 100%;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 0.15em;
    transition: background-color 0.2s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  
  .gallery-button span{
    flex: 1;
    text-align: center;
  }
  
  .gallery-button svg{
    width: 22px;
    height: 22px;
    position: absolute;
    right: 25px;
  }
  
  .gallery-button:hover{
    background-color: var(--btn-hover);
  }
  
  /* =====================
     Responsive
     ===================== */
  @media (max-width: 480px){
    .header h1{
      font-size: 36px;
      letter-spacing: 0.15em;
    }
    .section-container{
      padding: 40px 25px;
    }
    .section-title{
      font-size: 38px;
    }
    .banner-gallery{
      height: 350px;
      padding-bottom: 25px;
    }
    .gallery-button-wrapper{
      padding: 0 25px;
    }
    .gallery-button{
      padding: 15px;
      font-size: 14px;
    }
  }