/* ==========================================
   1. Custom Fonts (@font-face)
   ========================================== */
@font-face {
  font-family: 'Thunky';
  src: url('assets/fonts/Thunky DEMO.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'SugarMagic';
  src: url('assets/fonts/Peachy Mighties.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Alice';
  src: url('assets/fonts/Alice Simon DEMO.otf') format('opentype');
  font-weight: bolder;
  font-style: normal;
  font-size: large;
}

@font-face {
  font-family: 'Roherat';
  src: url('assets/fonts/Roherat-Regular.ttf') format('truetype');
  font-weight: bolder;
  font-style: normal;
}


/* ==========================================
   2. Global Typography & Defaults
   ========================================== */
html { 
  scroll-behavior: smooth; 
}

body { 
  font-family: 'Inter', system-ui, sans-serif; 
}

h1, h2, h3, h4, h5, h6 { 
  font-family: 'SugarMagic', Georgia, serif; 
}


/* ==========================================
   3. Background Pattern (Repeating JPG)
   ========================================== */
.bg-paper-grain {
  background-color: #ECFAFF;
  /* background-image: url('assets/pictures/background.jpg'); Make sure your image file is named correctly
  background-repeat: repeat;             Tiles the image across the page */
}


/* ==========================================
   4. Custom UI & Helper Classes
   ========================================== */
.deco-rule {
  background-image: linear-gradient(to right, #16334a 50%, transparent 50%);
  background-size: 6px 1px;
  background-repeat: repeat-x;
  background-position: 0 50%;
}

.icon { 
  width: 1em; 
  height: 1em; 
  display: inline-block; 
  vertical-align: -0.125em; 
}

.nav-tab { 
  position: relative; 
}

.nav-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background-color: #6FA1C2;
}

.portrait-frame {
  background-color: #c9ebf9;
  padding: 12px;
  box-shadow: 0 1px 0 oklch(0.31 0.055 245 / 0.08), 0 8px 24px -12px oklch(0.31 0.055 245 / 0.18);
}

.portrait-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, oklch(0.95 0.025 225) 0%, oklch(0.88 0.07 220) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

blockquote {
  border-left: 3px solid #6FA1C2;
  padding-left: 1.5rem;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
}

.credential-tag {
  display: inline-block;
  border: 1px solid oklch(0.31 0.055 245 / 0.2);
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #91BCDA;
}

.portrait-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 45%;
}