/* ===== Aikee Villano - public site ===== */
:root {
  --sky: #8FB8DE;
  --steel: #3A6EA5;
  --steel-ink: #2B5A8C;      /* darker steel for text (AA contrast) */
  --tint: #E3EAF2;
  --bg: #F2F4F7;
  --ink: #14202E;
  --navy: #0B1C2E;
  --muted: #5B6675;
  --white: #FFFFFF;
  --shadow: 0 10px 30px rgba(20, 52, 90, .14);
}
html { scroll-behavior: smooth; }
body { font-family: 'IBM Plex Sans', system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.65; padding-top: 76px; }
h1, h2, h3, h4, h5 { font-family: 'Barlow Condensed', Georgia, serif; font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
a { color: var(--steel-ink); }
.text-muted { color: var(--muted) !important; }
.text-steel { color: var(--steel-ink); }
.prose { max-width: 62ch; font-size: 1.05rem; }
:focus-visible { outline: 3px solid var(--steel); outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 2000; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn { border-radius: 999px; font-weight: 500; padding-inline: 1.5rem; transition: background-color .2s, color .2s, border-color .2s; }
.btn-accent { background: var(--sky); border: 2px solid var(--sky); color: var(--ink); }
.btn-accent:hover, .btn-accent:focus { background: var(--steel); border-color: var(--steel); color: #fff; }
.btn-outline-accent { background: transparent; border: 2px solid var(--steel); color: var(--steel-ink); }
.btn-outline-accent:hover { background: var(--steel); color: #fff; }
.link-accent { font-weight: 500; text-decoration: none; border-bottom: 2px solid var(--sky); }
.link-accent:hover { border-color: var(--steel); }

/* Navbar */
.site-nav { background: rgba(250, 249, 252, .9); backdrop-filter: blur(10px); transition: box-shadow .25s; padding-block: .8rem; }
.site-nav.scrolled { box-shadow: 0 4px 24px rgba(11, 28, 46, .07); }
.navbar-brand { font-family: 'Barlow Condensed', serif; font-size: 1.35rem; font-weight: 600; color: var(--ink); }
.site-nav .nav-link { color: var(--ink); font-weight: 500; padding: .5rem .9rem; border-radius: 999px; }
.site-nav .nav-link:hover { color: var(--steel-ink); }
.site-nav .nav-link.active { background: var(--tint); color: var(--steel-ink); }
.navbar-toggler { border: 0; color: var(--ink); font-size: 1.3rem; }

/* Hero */
.hero { padding: 3rem 0 5rem; }
.hero-name { font-size: clamp(3.2rem, 9vw, 6.5rem); font-weight: 500; line-height: .98; margin-bottom: 1.25rem; overflow-wrap: anywhere; }
.hero-tagline { font-family: 'Barlow Condensed', serif; font-size: clamp(1.25rem, 2.5vw, 1.7rem); color: var(--steel-ink); margin-bottom: 1rem; }
.hero-intro { max-width: 52ch; font-size: 1.1rem; color: var(--muted); }

/* Arch portrait */
.arch { position: relative; width: min(100%, 380px); aspect-ratio: 4 / 5; margin-inline: auto; }
.arch::before { content: ''; position: absolute; inset: 0; transform: translate(16px, 16px); border-radius: 999px 999px 28px 28px; background: var(--sky); }
.arch img, .arch-ph { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 28px 28px; background: var(--tint); display: block; }
.arch-ph { display: flex; align-items: center; justify-content: center; color: var(--steel-ink); font-family: 'Barlow Condensed', serif; font-size: 4.5rem; }
.arch-sm { width: min(100%, 300px); }

/* Single page-load moment */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-name, .hero .arch { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero .arch { animation-delay: .15s; }

/* Sections */
.section { padding: 5rem 0; }
.section-tint { background: var(--tint); }
.page-head { padding: 3rem 0 2.5rem; }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.badge-soft { display: inline-block; background: var(--tint); color: var(--steel-ink); border-radius: 999px; padding: .2rem .85rem; font-size: .85rem; font-weight: 500; }
.section-tint .badge-soft { background: #fff; }
.tech-tag { background: var(--bg); border: 1px solid #D5DDE7; color: var(--ink); border-radius: 8px; padding: .1rem .6rem; font-size: .8rem; }

/* Project cards */
.project-card { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s; }
.project-card:hover { transform: translateY(-4px); }
.project-thumb { display: block; aspect-ratio: 16 / 10; background: var(--tint); }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; color: var(--sky); }
.project-body { padding: 1.4rem; }
.project-body h3 a { color: var(--ink); text-decoration: none; }
.project-body h3 a:hover { color: var(--steel-ink); }
.detail-img { aspect-ratio: 16 / 10; border-radius: 28px; overflow: hidden; background: var(--tint); box-shadow: var(--shadow); }
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-btn { border: 1.5px solid var(--sky); background: transparent; color: var(--ink); border-radius: 999px; padding: .35rem 1.1rem; font-weight: 500; transition: background-color .2s; }
.filter-btn:hover { background: var(--tint); }
.filter-btn.active { background: var(--steel); border-color: var(--steel); color: #fff; }
.project-item.is-hidden { display: none; }

/* Skills */
.skill-card { background: #fff; border-radius: 16px; padding: 1.15rem 1.3rem; box-shadow: var(--shadow); height: 100%; }
.skill-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--steel-ink); display: inline-flex; align-items: center; justify-content: center; }
.bar { height: 6px; border-radius: 6px; background: var(--tint); overflow: hidden; }
.bar span { display: block; height: 100%; width: var(--w); background: var(--steel); border-radius: 6px; }
.js .bar span { width: 0; transition: width .9s cubic-bezier(.2, .7, .2, 1); }
.js .bar.in-view span { width: var(--w); }

/* Timeline */
.timeline { position: relative; padding-left: 2rem; border-left: 2px solid var(--sky); }
.tl-item { position: relative; padding-bottom: 2rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ''; position: absolute; left: calc(-2rem - 7px); top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--steel); box-shadow: 0 0 0 4px var(--bg); }
.section-tint .tl-item::before { box-shadow: 0 0 0 4px var(--tint); }
.tl-period { color: var(--steel-ink); font-weight: 500; font-size: .9rem; margin-bottom: .2rem; }
.tl-org { color: var(--muted); margin-bottom: .6rem; }

/* Forms / contact */
.form-card { background: #fff; border-radius: 24px; padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: var(--shadow); }
.form-control, .form-select { border-radius: 12px; border-color: #CBD5E1; padding: .7rem 1rem; background-color: var(--bg); }
.form-control:focus, .form-select:focus { border-color: var(--steel); box-shadow: 0 0 0 .2rem rgba(20, 52, 90, .25); }
.contact-mini li { display: flex; align-items: center; gap: .8rem; margin-bottom: .8rem; }
.contact-mini i { width: 36px; height: 36px; border-radius: 50%; background: var(--tint); color: var(--steel-ink); display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* Footer */
.site-footer { background: var(--ink); color: #D5DEE8; padding: 2rem 0; font-size: .95rem; }
.social-list a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background-color .2s; }
.social-list a:hover { background: var(--sky); color: var(--ink); }

@media (max-width: 991.98px) {
  .section { padding: 3.5rem 0; }
  .navbar-collapse { padding: 1rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .bar span { width: var(--w); }
}


/* ===== Men's theme: navy + steel, condensed headlines, square corners ===== */
body { font-size: 1.02rem; }
h1, h2, h3, h4, h5 { font-weight: 600; letter-spacing: 0; line-height: 1.05; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
h3.h5 { font-size: 1.5rem; }
.btn { border-radius: 6px; font-weight: 600; letter-spacing: .01em; }
.badge-soft, .tech-tag, .filter-btn { border-radius: 6px; }
.badge-soft { background: var(--tint); }

/* Dark navigation */
.site-nav { background: rgba(11, 28, 46, .96); backdrop-filter: none; }
.site-nav.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.navbar-brand { color: #fff; font-size: 1.7rem; font-weight: 700; letter-spacing: .02em; }
.navbar-brand:hover { color: var(--sky); }
.site-nav .nav-link { color: #D5DEE8; border-radius: 6px; font-weight: 500; }
.site-nav .nav-link:hover { color: #fff; }
.site-nav .nav-link.active { background: rgba(255, 255, 255, .1); color: #fff; }
.navbar-toggler { color: #fff; }
.site-nav :focus-visible { outline-color: var(--sky); }

/* Hero: full-bleed navy, one strong typographic moment */
.hero { background: var(--navy); color: #fff; padding: 4rem 0 6rem; }
.hero-name { font-size: clamp(4rem, 13vw, 9rem); font-weight: 700; text-transform: uppercase; line-height: .9; letter-spacing: -.005em; }
.hero-tagline { color: var(--sky); font-family: 'IBM Plex Sans', sans-serif; font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 500; }
.hero-intro { color: #C5D0DD; }
.hero .btn-accent:hover, .hero .btn-accent:focus { background: #fff; border-color: #fff; color: var(--navy); }
.hero .btn-outline-accent { border-color: #fff; color: #fff; }
.hero .btn-outline-accent:hover { background: #fff; color: var(--navy); }
.hero :focus-visible { outline-color: var(--sky); }

/* Portrait: cut-corner frame with offset outline */
.arch::before { border-radius: 10px; background: transparent; border: 2px solid var(--sky); transform: translate(16px, 16px); }
.arch img, .arch-ph { border-radius: 10px; clip-path: polygon(0 0, calc(100% - 56px) 0, 100% 56px, 100% 100%, 0 100%); }
.arch-ph { background: #17304D; color: var(--sky); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 6rem; }
.arch-sm .arch-ph { font-size: 3.5rem; }
.page-head h1 { font-size: clamp(3rem, 8vw, 5.5rem); text-transform: uppercase; }

/* Cards, skills, timeline */
.project-card, .skill-card, .form-card, .detail-img { border-radius: 10px; box-shadow: 0 8px 24px rgba(11, 28, 46, .1); }
.project-card { border-top: 3px solid var(--steel); }
.skill-icon { border-radius: 8px; background: var(--navy); color: var(--sky); }
.bar, .bar span { border-radius: 2px; }
.contact-mini i { border-radius: 8px; background: var(--navy); color: var(--sky); }
.timeline { border-left-color: var(--steel); }
.tl-item::before { border-radius: 2px; transform: rotate(45deg); top: .45rem; }
.tl-period { font-weight: 600; }
.form-control, .form-select { border-radius: 6px; }

/* Footer */
.site-footer { background: var(--navy); color: #C5D0DD; }
.social-list a { border-radius: 6px; }
.section-tint .badge-soft { background: #fff; }
