.office{
  --parchment:#f2efe4;
  --ink:#231f20;
  --crimson:#8a1c1c;
  --gold:#cfb53b;
  --faded:#6b655f;
  --white:#ffffff;
  --dark-bg:#1a1614;
  --font-serif:"Cinzel",serif;
  --font-sans:"Lato",sans-serif;
  --font-reading:"Merriweather",serif;

  margin:0;
  padding:0;
  background:var(--parchment);
  color:var(--ink);
  font-family:var(--font-reading);
  line-height:1.6;
  overflow-x:hidden;
}
html,
body {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  width: 100%;
  min-height: 100%;
}
.office *,
.office *::before,
.office *::after{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

.office{
  scroll-behavior:smooth;
  animation:pageLoadFadeIn .6s cubic-bezier(.4,0,.2,1);
}

@keyframes pageLoadFadeIn{
  from{opacity:0;}
  to{opacity:1;}
}

/* Overlay */
.office .page-transition-overlay{
  position:fixed;
  inset:0;
  background:linear-gradient(135deg,#1a1614 0%,#2a2220 100%);
  z-index:9999;
  opacity:0;
  pointer-events:none;
  transition:opacity .5s cubic-bezier(.4,0,.2,1);
}

.office .page-transition-overlay.active{
  opacity:1;
  pointer-events:auto;
}

/* Hero */
.office .hero{
  padding:150px 40px 80px;
  background:linear-gradient(135deg,var(--dark-bg) 0%,#2a2220 100%);
  text-align:center;
  position:relative;
  overflow:hidden;
}

.office .hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23cfb53b' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  opacity:.3;
  pointer-events:none;
}

.office .hero-content{
  position:relative;
  z-index:1;
  max-width:800px;
  margin:auto;
}

.office .hero-title{
  font-family:var(--font-serif);
  font-size:64px;
  font-weight:900;
  letter-spacing:4px;
  color:var(--gold);
  margin-bottom:20px;
  text-shadow:0 4px 20px rgba(207,181,59,.3);
}

.office .hero-dash{
  width:60px;
  height:3px;
  margin:20px auto;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
  box-shadow:0 0 10px rgba(207,181,59,.5);
}

.office .hero-subtitle{
  font-family:var(--font-sans);
  font-size:18px;
  text-transform:uppercase;
  letter-spacing:3px;
  color:var(--parchment);
  opacity:.9;
}

/* Main */
.office .main-content{
  padding:100px 40px;
  background:var(--parchment);
}

.office .section-intro{
  max-width:900px;
  margin:0 auto 80px;
  text-align:center;
}

.office .section-intro p{
  font-size:20px;
  line-height:1.8;
  opacity:.9;
}

/* Grid */
.office .office-bearers{
  max-width:1400px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
  gap:60px;
}

/* Card */
.office .bearer-card{
  background:var(--white);
  border-radius:8px;
  overflow:hidden;
  position:relative;
  transition:.4s ease;
  box-shadow:0 10px 40px rgba(138,28,28,.15);
}

.office .bearer-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:4px;
  background:linear-gradient(90deg,var(--crimson),var(--gold));
}

.office .bearer-card:hover{
  transform:translateY(-10px);
  box-shadow:0 20px 60px rgba(138,28,28,.25);
}

/* Image */
.office .image-container{
  position:relative;
  width:100%;
  height:400px;
  overflow:hidden;
  background:linear-gradient(135deg,var(--crimson),#6a1414);
}

.office .image-container::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:50%;
  background:linear-gradient(to top,rgba(0,0,0,.6),transparent);
}

.office .bearer-image{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.office .image-placeholder{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--gold);
}

.office .image-placeholder svg{
  width:120px;
  height:120px;
  opacity:.4;
}

/* Badge */
.office .position-badge{
  position:absolute;
  left:20px;
  bottom:20px;
  z-index:2;
  background:rgba(138,28,28,.95);
  color:var(--gold);
  padding:10px 20px;
  border-radius:4px;
  font-family:var(--font-sans);
  font-size:12px;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
  box-shadow:0 4px 10px rgba(0,0,0,.3);
}

/* Info */
.office .bearer-info{
  padding:40px 30px;
}

.office .bearer-name{
  font-family:var(--font-serif);
  font-size:28px;
  font-weight:700;
  margin-bottom:10px;
  letter-spacing:1px;
}

.office .bearer-department{
  font-family:var(--font-sans);
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:1.5px;
  color:var(--faded);
  margin-bottom:20px;
}

.office .bearer-bio{
  font-size:16px;
  line-height:1.8;
  opacity:.85;
  margin-bottom:25px;
}

/* Contact */
.office .contact-info{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding-top:20px;
  border-top:1px solid rgba(138,28,28,.1);
}

.office .contact-item{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:14px;
  color:var(--ink);
  text-decoration:none;
  transition:color .3s ease;
}

.office .contact-item:hover{
  color:var(--crimson);
}

.office .contact-icon{
  width:20px;
  height:20px;
  color:var(--crimson);
  flex-shrink:0;
}

/* Tablet */
@media (max-width:768px){

  .office .hero{
    padding:120px 20px 60px;
  }

  .office .hero-title{
    font-size:42px;
    letter-spacing:2px;
  }

  .office .hero-subtitle{
    font-size:14px;
  }

  .office .main-content{
    padding:60px 20px;
  }

  .office .section-intro{
    margin-bottom:50px;
  }

  .office .section-intro p{
    font-size:18px;
  }

  .office .office-bearers{
    grid-template-columns:1fr;
    gap:40px;
  }

  .office .bearer-name{
    font-size:24px;
  }

  .office .bearer-department{
    font-size:13px;
  }

  .office .bearer-bio{
    font-size:15px;
  }

  .office .image-container{
    height:350px;
  }

  .office .bearer-info{
    padding:30px 25px;
  }
}

/* Mobile */
@media (max-width:480px){

  .office .hero-title{
    font-size:32px;
    letter-spacing:1px;
  }

  .office .hero-subtitle{
    font-size:12px;
  }

  .office .section-intro p{
    font-size:16px;
  }

  .office .bearer-card{
    margin:0 -10px;
  }

  .office .position-badge{
    font-size:11px;
    padding:8px 16px;
  }

  .office .bearer-name{
    font-size:22px;
  }

  .office .contact-item{
    font-size:13px;
  }

  .office .contact-icon{
    width:18px;
    height:18px;
  }
}