:root{
  --paper: #e7dcc7;         /* aged paper-ish text */
  --ink: #1a1410;           /* deep brown/black */
  --rust: rgba(120, 60, 25, 0.35);
  --grime: rgba(0, 0, 0, 0.35);
}

*{ box-sizing: border-box; }

body{
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  color: var(--paper);
  background-color: #201b13;
}

/* Banner uses your metal texture */
.banner{
  background-image: url("images/metal.png");
  background-repeat: repeat-x;
  border-bottom: 4px solid rgba(0,0,0,0.55);
  box-shadow: 0 10px 30px rgba(0,0,0,0.55);
}

.banner-inner{
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 14px;
  text-align: center;
}

.logo{
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f3e7cf;
  text-shadow:
    0 2px 0 rgba(0,0,0,0.65),
    0 0 18px rgba(0,0,0,0.45);
}

.tagline{
  margin-top: 8px;
  font-family: "Trebuchet MS", Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: rgba(243,231,207,0.8);
}

.wrap{
  max-width: 980px;
  margin: 22px auto 36px;
  padding: 0 12px;
}

/* Main “metal plate” */
.plate{
  position: relative;
  padding: 22px 18px;
  border-radius: 10px;

  /* Metal base + grime overlays */
  background:
    radial-gradient(900px 500px at 20% 15%, rgba(255,255,255,0.06), transparent 60%),
    radial-gradient(700px 420px at 70% 30%, rgba(0,0,0,0.35), transparent 60%),
    radial-gradient(900px 520px at 40% 90%, rgba(120,60,25,0.35), transparent 60%),
    url("images/metal.png");

  background-blend-mode: screen, multiply, multiply, normal;

  border: 2px solid rgba(0,0,0,0.6);

  /* bevel */
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.06) inset,
    0 0 0 6px rgba(0,0,0,0.35) inset,
    0 16px 45px rgba(0,0,0,0.65);
}
.plate::after{
  content:"";
  position: absolute;
  inset: 15px;                    /* leaves the metal border/rivets visible */
  background-color: #493c27;   /* dark overlay */
  border-radius: 10px;
  pointer-events: none;
  z-index: 0;
}

.plate > *{
  position: relative;
  z-index: 1;                     /* put content above the overlay */
}

/* Rivets */
.rivet{
  width: 14px;
  height: 14px;
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.35), rgba(255,255,255,0.05) 45%, rgba(0,0,0,0.55) 70%),
    radial-gradient(circle at 70% 75%, rgba(0,0,0,0.35), transparent 55%);
  border: 1px solid rgba(0,0,0,0.6);
  box-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.rivet.tl{ top: 12px; left: 12px; }
.rivet.tr{ top: 12px; right: 12px; }
.rivet.bl{ bottom: 12px; left: 12px; }
.rivet.br{ bottom: 12px; right: 12px; }

h1{
  margin: 0 0 10px 0;
  font-family: "Trebuchet MS", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.35rem;
  color: #f6eddc;
  text-shadow: 0 2px 0 rgba(0,0,0,0.6);
}

/* ===== LAYOUT WITH SIDEBAR ===== */

.layout{
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  align-items: start;
}

/* Sidebar tweaks */
.sidebar{
  padding: 18px 14px;
}

.sidebar h2{
  margin-top: 0;
}

/* Nav buttons */
.nav{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.nav a{
  display: block;
  padding: 8px 10px;
  text-decoration: none;
  color: #f6eddc;

  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.55) inset;
}

.nav a:hover{
  filter: brightness(1.1);
}

/* Main content spacing */
.content{
  padding: 22px 18px;
}

/* Mobile layout */
@media (max-width: 760px){
  .layout{
    grid-template-columns: 1fr;
  }
}

h2{
  margin: 16px 0 8px 0;
  font-family: "Trebuchet MS", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-size: 1.0rem;
  color: rgba(246,237,220,0.9);
}

p, li{
  color: rgba(246,237,220,0.9);
  line-height: 1.6;
}

hr{
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  margin: 16px 0;
}

.links{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.links a{
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #f6eddc;

  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.55) inset;
}

.links a:hover{
  filter: brightness(1.08);
}

.footer{
  text-align: center;
  opacity: 0.8;
  padding: 0 12px 26px;
  color: rgba(246,237,220,0.75);
}

.sidebar p {
  text-align: center;
}

/* ===== PROFILE CARD ===== */

.profile-card{
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
  padding: 14px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.6) inset;
}

.profile-photo{
  position: relative;
  padding: 6px;
  background: url("images/metal.png");
  border-radius: 8px;
  border: 2px solid rgba(0,0,0,0.6);
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.05) inset,
    0 8px 20px rgba(0,0,0,0.6);
}

.profile-photo img{
  display: block;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
  filter: contrast(1.05) brightness(0.95);
}

/* Fake metal screws */
.profile-photo::before,
.profile-photo::after{
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle at 35% 35%, #999, #333 70%);
  border-radius: 50%;
}

.profile-photo::before{
  top: -5px;
  left: -5px;
}

.profile-photo::after{
  bottom: -5px;
  right: -5px;
}

.profile-info h2{
  margin-top: 0;
}

@media (max-width: 640px){
  .profile-card{
    flex-direction: column;
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 640px){
  .banner-inner{ padding: 22px 14px; }
  .plate{ padding: 18px 14px; }
  .links{ gap: 8px; }
}