/* =============================================================
   Academy — Free University / College Website Template
   uiCookies · Palette "Heritage Quad" · Fraunces + Libre Franklin
   ============================================================= */

:root{
  --navy:      #16243D;   /* collegiate ink — headings, header words, footer */
  --navy-700:  #1F3350;
  --navy-800:  #101B2E;   /* footer base */
  --garnet:    #a82853;   /* heritage crimson — primary CTA, links, accents */
  --garnet-600:#bd3f69;
  --brass:     #B08D4F;   /* antique gold — hairlines, seal, on-dark accents */
  --brass-light:#D7B775;  /* brass on dark backgrounds */
  --brass-ink: #7A5A2A;   /* brass text on light (accessible) */
  --brass-tint:#F0E8D7;   /* pale brass wash */
  --stone:     #ECEDE7;   /* page background — hued limestone, not grey/cream */
  --card:      #FFFFFF;
  --line:      #DAD9CF;
  --line-soft: #E7E6DD;
  --ink:       #22262D;
  --ink-soft:  #3A4048;
  --muted:     #5C616A;
  --r:         5px;
  --shadow-sm: 0 2px 10px rgba(16,27,46,.05);
  --shadow-md: 0 22px 44px -22px rgba(16,27,46,.30);
  --container: 1200px;
  --ff-display:"Fraunces", Georgia, "Times New Roman", serif;
  --ff-body:   "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0;
  font-family:var(--ff-body);
  font-size:1.02rem;
  line-height:1.65;
  color:var(--ink);
  background:var(--stone);
  font-optical-sizing:auto;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img{ max-width:100%; display:block; }
h1,h2,h3{ margin:0; }
p{ margin:0 0 1rem; }
p:last-child{ margin-bottom:0; }
a{ color:var(--garnet); }
[id]{ scroll-margin-top:92px; }


.shell{
  width:100%;
  max-width:var(--container);
  margin-inline:auto;
  padding-inline:clamp(20px, 5vw, 48px);
}

/* ---------- accessibility helpers ---------- */
.visually-hidden{
  position:absolute!important; width:1px; height:1px; padding:0;
  margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
.skip-link{
  position:absolute; left:16px; top:-64px; z-index:300;
  background:var(--garnet); color:#fff; padding:.7rem 1.1rem;
  border-radius:0 0 4px 4px; text-decoration:none; font-weight:600;
  transition:top .2s ease;
}
.skip-link:focus{ top:0; }
:focus-visible{ outline:2px solid var(--brass); outline-offset:3px; border-radius:2px; }

/* ---------- buttons ---------- */
.button{
  display:inline-flex; align-items:center; gap:.5rem;
  font:600 .95rem/1 var(--ff-body); letter-spacing:.01em;
  padding:.9rem 1.45rem; border-radius:2px; border:1px solid transparent;
  cursor:pointer; text-decoration:none; white-space:nowrap;
  transition:background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.button .i{ width:1.05em; height:1.05em; transition:transform .2s ease; }
.button:hover .i{ transform:translateX(3px); }
.button--sm{ padding:.62rem 1.05rem; font-size:.85rem; }
.button--primary{ background:var(--garnet); color:#fdf4e9; }
.button--primary:hover{ background:var(--garnet-600); transform:translateY(-1px); box-shadow:0 12px 22px -12px rgba(168,40,83,.7); }
.button--outline{ background:transparent; color:var(--navy); border-color:rgba(22,36,61,.32); }
.button--outline:hover{ background:var(--navy); color:#fff; border-color:var(--navy); }
.button--brass{ background:var(--brass); color:#20160a; }
.button--brass:hover{ background:#c39a58; transform:translateY(-1px); }
.button--ghost{ background:transparent; color:#f5e9d8; border-color:rgba(245,233,216,.45); }
.button--ghost:hover{ background:rgba(255,255,255,.09); border-color:#f5e9d8; }

/* ---------- eyebrow / section heads ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:.65rem;
  font:600 .78rem/1 var(--ff-body); letter-spacing:.18em; text-transform:uppercase;
  color:var(--brass-ink); margin:0 0 .3rem;
}
.eyebrow::before{ content:""; width:26px; height:1px; background:var(--brass); flex:none; }
.eyebrow--brass{ color:var(--brass-light); }
.eyebrow--brass::before{ background:var(--brass); }
.eyebrow .num{
  font-family:var(--ff-display); font-style:italic; font-weight:500;
  letter-spacing:0; text-transform:none; color:var(--brass); font-size:1.05rem;
}

.section{ padding:clamp(4rem, 8vw, 7rem) 0; }
.section-head{
  display:grid; grid-template-columns:1.1fr .9fr; gap:1.4rem 3rem; align-items:end;
  margin-bottom:clamp(2.2rem, 5vw, 3.6rem); padding-bottom:1.7rem;
  border-bottom:1px solid var(--line);
}
.section-head__note{ color:var(--muted); font-size:1.02rem; max-width:46ch; }
.section-title{
  font-family:var(--ff-display); font-weight:500; color:var(--navy);
  font-size:clamp(1.8rem, 3.6vw, 2.7rem); line-height:1.08; letter-spacing:-.01em;
  margin-top:.5rem; max-width:20ch;
}
.section-title--light{ color:#f4ede1; }
@media(max-width:820px){
  .section-head{ grid-template-columns:1fr; align-items:start; }
  .section-title{ max-width:26ch; }
}

/* ---------- brand / seal ---------- */
.brand{ display:inline-flex; align-items:center; gap:.72rem; text-decoration:none; }
.brand__seal{ width:44px; height:44px; flex:none; }
.brand__seal svg{ width:100%; height:100%; display:block; }
.brand__seal svg circle, .brand__seal svg path{ fill:none; stroke-linecap:round; stroke-linejoin:round; }
.brand__seal .ring{ stroke:var(--navy); stroke-width:1.4; }
.brand__seal .ring--in{ stroke:var(--brass); stroke-width:1; }
.brand__seal .page{ stroke:var(--garnet); stroke-width:1.4; }
.brand__seal .scroll{ stroke:var(--brass); stroke-width:1.2; }
.brand__seal .star{ stroke:var(--brass); fill:var(--brass); stroke-width:.6; }
.brand__word strong{
  display:block; font-family:var(--ff-display); font-weight:600; font-size:1.4rem;
  color:var(--navy); line-height:1; letter-spacing:.01em;
}
.brand__word em{
  display:block; font-style:normal; font-size:.6rem; letter-spacing:.22em;
  text-transform:uppercase; color:var(--brass-ink); margin-top:.32rem; font-weight:600;
}

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(243,242,236,.9); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  transition:box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled{
  background:rgba(243,242,236,.97);
  box-shadow:0 8px 26px -16px rgba(16,27,46,.5);
}
.site-header__inner{
  display:flex; align-items:center; justify-content:space-between; gap:1.5rem;
  height:76px; position:relative;
}
.primary-nav ul{ list-style:none; display:flex; gap:1.7rem; margin:0; padding:0; }
.primary-nav a{
  position:relative; font:600 .92rem/1 var(--ff-body); color:var(--navy);
  text-decoration:none; padding:.45rem 0; letter-spacing:.01em;
}
.primary-nav a::after{
  content:""; position:absolute; left:0; right:0; bottom:-3px; height:2px;
  background:var(--brass); transform:scaleX(0); transform-origin:left; transition:transform .25s ease;
}
.primary-nav a:hover::after, .primary-nav a:focus-visible::after{ transform:scaleX(1); }
.site-header__actions{ display:flex; align-items:center; gap:1rem; }
.visit-link{ font:600 .9rem/1 var(--ff-body); color:var(--navy); text-decoration:none; }
.visit-link:hover{ color:var(--garnet); }
.nav-toggle{
  display:none; width:44px; height:44px; border:1px solid var(--line); background:#fff;
  border-radius:3px; flex-direction:column; align-items:center; justify-content:center; gap:4px; cursor:pointer;
}
.nav-toggle span{ width:20px; height:2px; background:var(--navy); transition:.25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

@media(max-width:980px){
  .primary-nav{
    position:absolute; top:100%; left:0; right:0; display:none;
    background:#fff; border-bottom:1px solid var(--line);
    box-shadow:0 22px 40px -22px rgba(16,27,46,.45);
  }
  .primary-nav.is-open{ display:block; }
  .primary-nav ul{ flex-direction:column; gap:0; padding:.4rem 0; }
  .primary-nav a{ display:block; padding:.95rem clamp(20px,5vw,48px); }
  .primary-nav li + li a{ border-top:1px solid var(--line-soft); }
  .primary-nav a::after{ display:none; }
  .nav-toggle{ display:flex; }
  .visit-link{ display:none; }
}

/* ---------- hero ---------- */
.hero{
  padding:clamp(2.6rem, 6vw, 4.5rem) 0 clamp(2.6rem, 5vw, 4rem);
  background:linear-gradient(180deg, #F3F2EC 0%, var(--stone) 100%);
}
.hero__grid{
  display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(2rem, 5vw, 4.5rem); align-items:center;
}
.hero__title{
  font-family:var(--ff-display); font-weight:500; color:var(--navy);
  font-size:clamp(2.5rem, 6vw, 4.4rem); line-height:1.02; letter-spacing:-.02em;
  margin:1rem 0 1.2rem;
}
.hero__lead{ font-size:clamp(1.05rem, 1.5vw, 1.24rem); color:var(--ink-soft); max-width:46ch; margin-bottom:1.8rem; }
.hero__cta{ display:flex; gap:1rem; flex-wrap:wrap; margin-bottom:1.7rem; }
.hero__meta{ display:flex; align-items:center; gap:.9rem; flex-wrap:wrap; font-size:.92rem; color:var(--muted); }
.hero__meta strong{ color:var(--navy); }
.dot{ width:4px; height:4px; border-radius:50%; background:var(--brass); display:inline-block; }

.hero__figure{ position:relative; margin:14px; }
.hero__figure::before, .hero__figure::after{ content:""; position:absolute; width:96px; height:96px; pointer-events:none; }
.hero__figure::before{ top:-14px; left:-14px; border-top:2px solid var(--brass); border-left:2px solid var(--brass); }
.hero__figure::after{ bottom:-14px; right:-14px; border-bottom:2px solid var(--brass); border-right:2px solid var(--brass); }

.frame{ position:relative; overflow:hidden; background:#1b2c48; border-radius:var(--r); }
.frame img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.frame--hero{ aspect-ratio:4/5; box-shadow:0 34px 60px -34px rgba(16,27,46,.55); }

.hero__badge{
  position:absolute; left:16px; bottom:16px; z-index:3;
  display:flex; align-items:center; gap:.55rem;
  background:var(--garnet); color:#f5e6d3; padding:.6rem .85rem; border-radius:3px;
  box-shadow:0 14px 26px -14px rgba(16,27,46,.6);
}
.hero__badge-seal{ width:34px; height:34px; flex:none; }
.hero__badge-seal svg{ width:100%; height:100%; display:block; }
.hero__badge-seal svg *{ fill:none; stroke:#f5e6d3; stroke-width:1.2; stroke-linecap:round; stroke-linejoin:round; }
.hero__badge-seal .star{ fill:#f0d9a8; stroke:#f0d9a8; }
.hero__badge-text{ font:600 .72rem/1.25 var(--ff-body); letter-spacing:.14em; text-transform:uppercase; }

/* ---------- credential ribbon ---------- */
.ribbon{
  list-style:none; margin:clamp(2.6rem,5vw,3.6rem) 0 0; padding:1.6rem 0;
  display:grid; grid-template-columns:repeat(4,1fr); text-align:center;
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
.ribbon li{ position:relative; padding:.2rem 1rem; }
.ribbon li + li::before{
  content:""; position:absolute; left:0; top:18%; height:64%; width:1px;
  background:linear-gradient(180deg, transparent, rgba(176,141,79,.7), transparent);
}
.ribbon__num{ display:block; font-family:var(--ff-display); font-weight:500; color:var(--navy); font-size:clamp(1.5rem,3vw,2.1rem); line-height:1; }
.ribbon__lbl{ display:block; margin-top:.35rem; font-size:.76rem; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
@media(max-width:640px){
  .ribbon{ grid-template-columns:repeat(2,1fr); gap:1.4rem 0; }
  .ribbon li::before{ display:none; }
}

/* ---------- programs ---------- */
.programs{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.6rem; }
.program{
  background:var(--card); border:1px solid var(--line); border-top:2px solid var(--brass);
  padding:1.9rem 1.6rem 1.4rem; border-radius:0 0 var(--r) var(--r);
  display:flex; flex-direction:column; gap:.55rem;
  transition:box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.program:hover{ box-shadow:var(--shadow-md); transform:translateY(-4px); }
.program__icon{
  width:52px; height:52px; display:grid; place-items:center;
  border:1px solid var(--brass); border-radius:3px; color:var(--garnet); margin-bottom:.4rem;
}
.program__icon svg{ width:26px; height:26px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.program__name{ font-family:var(--ff-display); font-weight:600; font-size:1.28rem; color:var(--navy); line-height:1.15; }
.program__desc{ color:var(--muted); font-size:.98rem; flex:1; margin:0; }
.program__meta{
  display:flex; align-items:center; justify-content:space-between;
  border-top:1px solid var(--line); padding-top:.9rem; margin-top:.5rem;
}
.program__meta span{ font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--brass-ink); }
.program__meta a{ display:inline-flex; align-items:center; gap:.35rem; color:var(--garnet); font-weight:600; font-size:.85rem; text-decoration:none; }
.program__meta a .i{ width:1em; height:1em; transition:transform .2s ease; }
.program:hover .program__meta a .i{ transform:translateX(3px); }
@media(max-width:900px){ .programs{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:560px){ .programs{ grid-template-columns:1fr; } }

/* ---------- why / about ---------- */
.section--why{ background:linear-gradient(180deg, var(--stone), #F1F0EA); }
.why__grid{ display:grid; grid-template-columns:.82fr 1.18fr; gap:clamp(2rem,5vw,4.5rem); align-items:center; }
.why__figure{ position:relative; margin-right:8px; }
.frame--why{ aspect-ratio:4/5; border:1px solid rgba(176,141,79,.4); }
.why__stamp{
  position:absolute; right:-16px; bottom:26px; max-width:158px;
  background:var(--navy); color:#f0e5d2; padding:1rem 1.1rem; border-radius:3px; box-shadow:var(--shadow-md);
}
.why__stamp-num{ display:block; font-family:var(--ff-display); font-weight:500; font-size:1.9rem; color:var(--brass-light); line-height:1; }
.why__stamp-lbl{ display:block; margin-top:.35rem; font-size:.78rem; color:#c6cfdb; }
.why__lead{ font-size:1.12rem; color:var(--ink-soft); margin:1.1rem 0 1.4rem; max-width:52ch; }
.checklist{ list-style:none; margin:0 0 1.6rem; padding:0; display:grid; gap:.9rem; }
.checklist li{ display:flex; gap:.8rem; align-items:flex-start; color:var(--ink-soft); font-size:1rem; }
.checklist .check{
  flex:none; width:26px; height:26px; padding:4px; border:1px solid var(--brass);
  border-radius:50%; color:var(--garnet); fill:none; stroke:currentColor;
  stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; margin-top:1px;
}
.textlink{
  display:inline-flex; align-items:center; gap:.5rem; font-weight:600; color:var(--garnet);
  text-decoration:none; border-bottom:1px solid transparent;
}
.textlink .i{ width:1.05em; height:1.05em; transition:transform .2s ease; }
.textlink:hover{ border-color:var(--garnet); }
.textlink:hover .i{ transform:translateX(3px); }
@media(max-width:860px){
  .why__grid{ grid-template-columns:1fr; }
  .why__figure{ max-width:420px; margin-right:0; }
}

/* ---------- stats band ---------- */
.stats{
  background:radial-gradient(130% 150% at 12% 0%, #1e3559 0%, var(--navy) 58%);
  color:#dfe6f0; padding:clamp(4rem,8vw,6.2rem) 0;
}
.stats__head{ margin-bottom:clamp(2.2rem,5vw,3.2rem); }
.stats__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:2rem; }
.stat{ border-top:1px solid rgba(176,141,79,.45); padding-top:1.2rem; }
.stat__num{ display:block; font-family:var(--ff-display); font-weight:500; color:var(--brass-light); font-size:clamp(2.6rem,5vw,3.6rem); line-height:1; letter-spacing:-.01em; }
.stat__label{ display:block; margin-top:.75rem; color:#aeb9cb; font-size:.95rem; max-width:26ch; }
@media(max-width:820px){ .stats__grid{ grid-template-columns:repeat(2,1fr); gap:2rem 1.6rem; } }
@media(max-width:460px){ .stats__grid{ grid-template-columns:1fr; } }

/* ---------- campus gallery ---------- */
.gallery{ display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:210px; gap:14px; }
.gallery__item{ position:relative; overflow:hidden; border-radius:var(--r); background:#1b2c48; margin:0; }
.gallery__item img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.gallery__item:hover img{ transform:scale(1.05); }
.gallery__item figcaption{
  position:absolute; left:0; right:0; bottom:0; padding:1.5rem 1rem .9rem;
  color:#fff; font-size:.9rem; font-weight:500;
  background:linear-gradient(transparent, rgba(16,27,46,.85));
  transform:translateY(8px); opacity:0; transition:.3s ease;
}
.gallery__item:hover figcaption, .gallery__item:focus-within figcaption{ transform:none; opacity:1; }
.g-library{ grid-column:1; grid-row:1 / span 2; }
.g-quad{ grid-column:2 / span 2; grid-row:1; }
.g-students{ grid-column:4; grid-row:1; }
.g-lecture{ grid-column:2; grid-row:2; }
.g-lab{ grid-column:3; grid-row:2; }
.g-sports{ grid-column:4; grid-row:2; }
@media(max-width:820px){
  .gallery{ grid-template-columns:repeat(2,1fr); grid-auto-rows:180px; }
  .gallery__item figcaption{ opacity:1; transform:none; }
  .g-library{ grid-column:1; grid-row:1 / span 2; }
  .g-quad{ grid-column:2; grid-row:1; }
  .g-students{ grid-column:2; grid-row:2; }
  .g-lecture{ grid-column:1; grid-row:3; }
  .g-lab{ grid-column:2; grid-row:3; }
  .g-sports{ grid-column:1 / span 2; grid-row:4; }
}
@media(max-width:520px){
  .gallery{ grid-template-columns:1fr; grid-auto-rows:200px; }
  .gallery__item{ grid-column:1 !important; grid-row:auto !important; }
}

/* ---------- admissions steps ---------- */
.section--admissions{ background:#F1F0EA; }
.steps{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,1fr); gap:1.6rem; }
.step{ border-top:1px solid var(--brass); padding-top:1.3rem; }
.step__num{ display:block; font-family:var(--ff-display); font-weight:500; font-size:2.5rem; color:var(--brass); line-height:1; }
.step__title{ font-family:var(--ff-display); font-weight:600; font-size:1.2rem; color:var(--navy); margin:.6rem 0 .5rem; }
.step p{ color:var(--muted); font-size:.95rem; margin:0; }
.deadline{
  margin-top:clamp(2rem,4vw,3rem); display:flex; flex-wrap:wrap; gap:1.1rem;
  align-items:center; justify-content:space-between;
  background:var(--brass-tint); border-left:3px solid var(--brass);
  border-radius:0 var(--r) var(--r) 0; padding:1.15rem 1.5rem;
}
.deadline__text{ display:flex; align-items:center; gap:.8rem; color:var(--navy); }
.deadline__text .i{ width:1.5rem; height:1.5rem; color:var(--garnet); }
.deadline__text p{ margin:0; }
.deadline strong{ color:var(--garnet); }
@media(max-width:820px){ .steps{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:520px){ .steps{ grid-template-columns:1fr; } }

/* ---------- faculty ---------- */
.faculty{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.6rem; }
.prof{ background:var(--card); border:1px solid var(--line); border-radius:var(--r); overflow:hidden; }
.prof__photo{ position:relative; aspect-ratio:1/1; background:#1b2c48; }
.prof__photo img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  filter:grayscale(.5) contrast(1.02); transition:filter .4s ease, transform .5s ease;
}
.prof:hover .prof__photo img{ filter:grayscale(0); transform:scale(1.03); }
.prof__body{ padding:1.1rem 1.2rem 1.4rem; }
.prof__name{ font-family:var(--ff-display); font-weight:600; font-size:1.18rem; color:var(--navy); }
.prof__role{ color:var(--brass-ink); font-weight:700; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; margin:.3rem 0 .6rem; }
.prof__note{ color:var(--muted); font-size:.92rem; margin:0; }
@media(max-width:820px){ .faculty{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:460px){ .faculty{ grid-template-columns:1fr; } }

/* ---------- events + news ---------- */
.news__grid{ display:grid; grid-template-columns:.82fr 1.18fr; gap:clamp(2.5rem,5vw,4rem); align-items:start; }
.tag{ display:inline-block; font-size:.68rem; letter-spacing:.1em; text-transform:uppercase; font-weight:700; color:var(--garnet); background:rgba(124,43,52,.09); padding:.22rem .5rem; border-radius:2px; }
.tag--plain{ background:none; padding:0; color:var(--brass-ink); }

.event-list{ list-style:none; margin:1.5rem 0; padding:0; }
.event{ display:flex; gap:1.1rem; padding:1.15rem 0; border-top:1px solid var(--line); }
.event:last-child{ border-bottom:1px solid var(--line); }
.event__date{ flex:none; width:58px; text-align:center; background:var(--navy); color:#f0e5d2; border-radius:3px; padding:.55rem 0; align-self:flex-start; }
.event__day{ display:block; font-family:var(--ff-display); font-weight:500; font-size:1.45rem; line-height:1; }
.event__mon{ display:block; margin-top:.2rem; font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:var(--brass-light); }
.event__body{ padding-top:.1rem; }
.event__title{ font-family:var(--ff-display); font-weight:600; font-size:1.12rem; color:var(--navy); line-height:1.2; margin:.35rem 0 .3rem; }
.event__meta{ color:var(--muted); font-size:.88rem; margin:0; }

.story-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:1.7rem 1.5rem; margin-top:1.5rem; }
.story{ display:flex; flex-direction:column; gap:.9rem; }
.story__media{ display:block; aspect-ratio:3/2; }
.story__body{ display:flex; flex-direction:column; gap:.5rem; }
.story__meta{ display:flex; gap:.8rem; align-items:center; font-size:.8rem; color:var(--muted); }
.story__title{ font-family:var(--ff-display); font-weight:600; font-size:1.16rem; line-height:1.22; margin:0; }
.story__title a{ color:var(--navy); text-decoration:none; }
.story__title a:hover{ color:var(--garnet); }
.story__excerpt{ color:var(--muted); font-size:.95rem; margin:0; }
.story:first-child{ grid-column:1 / -1; display:grid; grid-template-columns:1.15fr 1fr; gap:1.6rem; align-items:center; }
.story:first-child .story__media{ aspect-ratio:16/10; }
.story:first-child .story__title{ font-size:1.55rem; }
@media(max-width:900px){ .news__grid{ grid-template-columns:1fr; } }
@media(max-width:600px){
  .story-grid{ grid-template-columns:1fr; }
  .story:first-child{ grid-template-columns:1fr; gap:.9rem; }
}

/* ---------- apply band ---------- */
.apply{
  position:relative; overflow:hidden; color:#f6e9d8;
  background:linear-gradient(120deg, var(--garnet) 0%, #5f2028 100%);
  padding:clamp(4rem,9vw,7rem) 0;
}
.apply__seal{ position:absolute; right:-30px; top:50%; transform:translateY(-50%); width:330px; height:330px; opacity:.1; pointer-events:none; }
.apply__seal svg{ width:100%; height:100%; }
.apply__seal svg *{ fill:none; stroke:#f6e9d8; stroke-width:1; stroke-linecap:round; stroke-linejoin:round; }
.apply__seal .star{ fill:#f6e9d8; stroke:#f6e9d8; }
.apply__inner{ position:relative; z-index:1; max-width:720px; }
.apply__title{ font-family:var(--ff-display); font-weight:500; font-size:clamp(2rem,5vw,3.2rem); line-height:1.05; color:#fdf4e6; margin:.7rem 0 1rem; }
.apply__lead{ color:#e9d6c4; font-size:1.12rem; max-width:52ch; margin-bottom:1.9rem; }
.apply__cta{ display:flex; gap:1rem; flex-wrap:wrap; }

/* ---------- footer ---------- */
.site-footer{ background:var(--navy-800); color:#c4ccd8; padding:clamp(3.5rem,7vw,5rem) 0 2rem; }
.footer__top{ display:grid; grid-template-columns:1.3fr 2fr; gap:clamp(2.5rem,5vw,4rem); padding-bottom:2.5rem; border-bottom:1px solid rgba(255,255,255,.08); }
.brand--footer .brand__seal .ring{ stroke:var(--brass); }
.brand--footer .brand__seal .ring--in{ stroke:rgba(255,255,255,.32); }
.brand--footer .brand__seal .page{ stroke:#e9dcc6; }
.brand--footer .brand__seal .scroll{ stroke:rgba(255,255,255,.32); }
.brand--footer .brand__word strong{ color:#f3ede1; }
.brand--footer .brand__word em{ color:var(--brass-light); }
.footer__addr{ font-style:normal; color:#9aa4b3; font-size:.92rem; line-height:1.75; margin:1.1rem 0; }
.footer__addr a{ color:#c4ccd8; text-decoration:none; }
.footer__addr a:hover{ color:#fff; }
.footer__social{ display:flex; gap:.6rem; }
.footer__social a{ width:38px; height:38px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.18); border-radius:3px; color:#c4ccd8; }
.footer__social a:hover{ border-color:var(--brass); color:var(--brass-light); background:rgba(176,141,79,.1); }
.footer__social .i{ width:18px; height:18px; }
.footer__cols{ display:grid; grid-template-columns:repeat(3,1fr) 1.4fr; gap:2rem; }
.footer__col h2{ font:600 .76rem/1 var(--ff-body); letter-spacing:.14em; text-transform:uppercase; color:var(--brass-light); margin:0 0 1rem; }
.footer__col ul{ list-style:none; margin:0; padding:0; display:grid; gap:.6rem; }
.footer__col a{ color:#c4ccd8; text-decoration:none; font-size:.92rem; }
.footer__col a:hover{ color:#fff; }
.footer__note{ color:#9aa4b3; font-size:.9rem; margin:0 0 .3rem; }
.subscribe{ display:flex; flex-wrap:wrap; gap:.6rem; margin-top:.8rem; }
.subscribe input{
  flex:1 1 180px; min-width:0; background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.18); color:#eef1f5; padding:.72rem .9rem;
  border-radius:3px; font:inherit;
}
.subscribe input::placeholder{ color:#8b95a4; }
.subscribe input:focus{ outline:none; border-color:var(--brass); background:rgba(255,255,255,.1); }
.subscribe__msg{ flex-basis:100%; font-size:.82rem; margin:.2rem 0 0; min-height:1em; }
.subscribe__msg.ok{ color:var(--brass-light); }
.subscribe__msg.err{ color:#e79aa0; }
.footer__bottom{ display:flex; flex-wrap:wrap; gap:.5rem 1.5rem; justify-content:space-between; padding-top:1.6rem; font-size:.85rem; color:#8f99a8; }
.footer__bottom p{ margin:0; }
.footer__credit a{ color:var(--brass-light); text-decoration:none; }
.footer__credit a:hover{ color:#fff; }
@media(max-width:900px){
  .footer__top{ grid-template-columns:1fr; }
  .footer__cols{ grid-template-columns:repeat(2,1fr); }
}
@media(max-width:520px){ .footer__cols{ grid-template-columns:1fr; } }

/* ---------- reveal animation ---------- */
.reveal{ opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s ease; }
.reveal.is-in{ opacity:1; transform:none; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1 !important; transform:none !important; transition:none !important; }
  .gallery__item img, .prof__photo img, .button, .button .i{ transition:none !important; }
  *{ animation-duration:.001ms !important; }
}
/* -------- ini anu eskul-==== */
.club-card img{
    width:100%;
    height:230px;
    object-fit:cover;
}
.club-card{
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    cursor:pointer;
    transition:.3s;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
  
}

.club-card:hover{

    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.club-detail{
    background:#fff;
    padding:30px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.gallery{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
    margin-top:20px;
}

.gallery img{
    width:100%;
    border-radius:10px;
}

/* =================================
   LOGIN PAGE
================================= */

.login-page {
    min-height: calc(100vh - 80px);
    padding: 70px 20px;
    display: flex;
    justify-content: center;
    align-items: center;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(176, 141, 79, 0.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(124, 43, 52, 0.08),
            transparent 30%
        ),
        #f3f3ef;
}


/* CONTAINER */

.login-container {
    width: 100%;
    max-width: 1050px;
    min-height: 580px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    background: #ffffff;

    border-radius: 24px;
    overflow: hidden;

    box-shadow:
        0 25px 70px rgba(22, 36, 61, 0.15);
}


/* =================================
   LEFT IMAGE
================================= */

.login-visual {
    position: relative;
    min-height: 580px;
    overflow: hidden;

    background: #16243D;
}

.login-visual img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* DARK OVERLAY */

.login-visual::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(22, 36, 61, 0.90),
            rgba(22, 36, 61, 0.15)
        );
}


/* IMAGE TEXT */

.login-visual-text {
    position: absolute;

    left: 45px;
    right: 45px;
    bottom: 45px;

    color: #ffffff;

    z-index: 2;
}

.login-visual-text span {
    display: inline-block;

    margin-bottom: 12px;

    color: #D7B775;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;
}

.login-visual-text h2 {
    margin: 0 0 15px;

    font-family: "Fraunces", serif;

    font-size: 44px;
    line-height: 1.05;
}

.login-visual-text p {
    max-width: 380px;

    margin: 0;

    color: rgba(255,255,255,.80);

    line-height: 1.7;
}


/* =================================
   LOGIN FORM
================================= */

.login-form {
    padding: 65px 60px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* HEADING */

.login-heading {
    margin-bottom: 35px;
}

.login-label {
    color: #B08D4F;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;
}

.login-heading h1 {
    margin: 8px 0;

    color: #16243D;

    font-family: "Fraunces", serif;

    font-size: 42px;
}

.login-heading p {
    margin: 0;

    color: #6b6f78;

    line-height: 1.6;
}


/* =================================
   INPUT
================================= */

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #a82853; 

    font-size: 14px;
    font-weight: 600;
}

.form-group input {
    width: 100%;

    padding: 14px 16px;

    border: 1px solid #d9d9d4;
    border-radius: 10px;

    outline: none;

    background: #fafaf8;

    font-family: inherit;
    font-size: 15px;

    transition: .25s;
}

.form-group input:focus {
    border-color: #B08D4F;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(176,141,79,.12);
}


/* PASSWORD */

.password-box {
    position: relative;
}

.password-box input {
    padding-right: 65px;
}

.show-password {
    position: absolute;

    top: 50%;
    right: 14px;

    transform: translateY(-50%);

    border: none;
    background: transparent;

    color: #7C2B34;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}


/* =================================
   OPTIONS
================================= */

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin: 5px 0 25px;

    font-size: 13px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #666;
}

.remember input {
    accent-color: #7C2B34;
}

.login-options a {
    color: #7C2B34;

    text-decoration: none;
    font-weight: 600;
}

.login-options a:hover {
    text-decoration: underline;
}


/* =================================
   LOGIN BUTTON
================================= */

.login-button {
    width: 100%;

    padding: 15px;

    border: none;
    border-radius: 10px;

    background: #a82853;

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: .5px;

    cursor: pointer;

    transition: .3s;
}

.login-button:hover {
    background: #7C2B34;

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(124,43,52,.20);
}


/* =================================
   REGISTER
================================= */

.login-register {
    margin-top: 25px;

    text-align: center;

    color: #777;

    font-size: 13px;
}

.login-register a {
    color: #7C2B34;

    font-weight: 700;

    text-decoration: none;
}

.login-register a:hover {
    text-decoration: underline;
}


/* =================================
   MOBILE
================================= */

@media (max-width: 768px) {

    .login-page {
        padding: 40px 15px;
    }

    .login-container {
        grid-template-columns: 1fr;
    }

    .login-visual {
        min-height: 300px;
    }

    .login-visual-text {
        left: 30px;
        bottom: 30px;
    }

    .login-visual-text h2 {
        font-size: 32px;
    }

    .login-form {
        padding: 40px 30px;
    }

    .login-heading h1 {
        font-size: 34px;
    }
}
.music-project {
  padding: 80px 0;
  background: #eceDE7;
}

.section-label {
  color: #7c2b34;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
}


/* =========================
   MUSIC PLAYER
========================= */

.music-player {
  max-width: 900px;
  margin: auto;

  display: grid;
  grid-template-columns: 280px 1fr;

  background: #a82853;
  color: white;

  border-radius: 20px;
  overflow: hidden;

  box-shadow: 0 20px 50px rgba(0,0,0,.15);
}


.player-cover img {
  width: 100%;
  height: 100%;
  min-height: 280px;

  object-fit: cover;
}


.player-info {
  padding: 40px;
}


.player-label {
  color: #f8f6f2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
}


.player-info h3 {
  font-family: "Fraunces", serif;
  font-size: 32px;
  margin: 10px 0 5px;
}


.player-info p {
  color: #d9d9d9;
}


/* =========================
   PROGRESS
========================= */

.progress-container {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-top: 30px;

  font-size: 12px;
}


#progress {
  flex: 1;
  accent-color: #ebe9e6;
}


/* =========================
   CONTROLS
========================= */

.player-controls {
  display: flex;
  justify-content: center;
  align-items: center;

  gap: 20px;

  margin-top: 25px;
}


.control-btn,
.play-btn {
  border: none;
  background: transparent;
  color: white;

  cursor: pointer;

  font-size: 20px;
}


.play-btn {
  width: 55px;
  height: 55px;

  border-radius: 50%;

  background: #d7b775;
  color: #830d3a;

  font-size: 18px;
}


/* =========================
   SONG CARDS
========================= */

.song-card {
  display: flex;
  align-items: center;

  background: white;

  border-radius: 15px;

  overflow: hidden;

  cursor: pointer;

  transition: .3s;

  box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.song-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .song-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .song-list {
        grid-template-columns: 1fr;
    }
}


.song-card:hover {
  transform: translateY(-7px);

  box-shadow:
    0 20px 40px rgba(0,0,0,.15);
}


.song-card img {
  width: 100px;
  height: 100px;

  object-fit: cover;
}


.song-content {
  padding: 15px;

  flex: 1;
}


.song-content span {
  font-size: 11px;

  color: #b08d4f;

  font-weight: 700;
}


.song-content h4 {
  font-family: "Fraunces", serif;

  font-size: 18px;

  margin: 5px 0;
}


.song-content p {
  margin: 0;

  font-size: 13px;

  color: #777;
}


.song-play {
  margin-right: 18px;

  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #7c2b34;
  color: white;

  font-size: 13px;
}



/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

  .music-player {
    grid-template-columns: 1fr;
  }

  .player-cover img {
    height: 300px;
  }

  .player-info {
    padding: 30px;
  }

}
/* =====================================
   SONG LIST - 3 COLUMNS
===================================== */

.music-project .song-list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    
    gap: 20px !important;
    width: 100% !important;
}


/* SETIAP ITEM */

.music-project .song-item {
    width: 100% !important;
    min-width: 0 !important;
}


/* CARD */

.music-project .song-card {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
}


/* TABLET */

@media (max-width: 900px) {

    .music-project .song-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}


/* HP */

@media (max-width: 600px) {

    .music-project .song-list {
        grid-template-columns: 1fr !important;
    }

}
/* =/* =========================================
   ADD THIS TO YOUR CSS
   ========================================= */

/* SECTION LABEL */
.section-label {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #16243D;
    font-weight: 600;
    margin-bottom: 8px;
}

/* TEXT CENTER */
.text-center {
    text-align: center;
}

.mb-5 {
    margin-bottom: 3rem;
}

.fw-bold {
    font-weight: 700;
}

/* =========================================
   LIGHTBOX STYLES
   ========================================= */

.makeup-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.makeup-lightbox.active {
    display: flex;
}

.makeup-lightbox img {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: fixed;
    top: 25px;
    right: 35px;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.3s;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    font-size: 50px;
    padding: 20px 15px;
    cursor: pointer;
    z-index: 10000;
    border-radius: 8px;
    transition: background 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.3);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-number {
    position: fixed;
    bottom: 30px;
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* =========================================
   FIXED MAKEUP GRID
   ========================================= */

.makeup-project {
    width: 100%;
    padding: 80px 20px;
    box-sizing: border-box;
}

.makeup-project .makeup-grid {
    display: grid;
    grid-template-columns: repeat(5, 160px);
    gap: 25px;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.makeup-project .makeup-card {
    position: relative;
    width: 160px;
    height: 160px;
    overflow: hidden;
    border-radius: 80px;
    background: #eee;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.makeup-project .makeup-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.makeup-project .makeup-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.makeup-project .makeup-number {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    padding: 6px 14px;
    background: rgba(255,255,255,0.92);
    color: #16243D;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    z-index: 10;
    backdrop-filter: blur(4px);
}

/* =========================================
   RESPONSIVE FIXES
   ========================================= */

@media (max-width: 950px) {
    .makeup-project .makeup-grid {
        grid-template-columns: repeat(3, 160px);
    }
}

@media (max-width: 600px) {
    .makeup-project .makeup-grid {
        grid-template-columns: repeat(2, 145px);
        gap: 18px;
    }
    .makeup-project .makeup-card {
        width: 145px;
        height: 145px;
    }
}

@media (max-width: 350px) {
    .makeup-project .makeup-grid {
        grid-template-columns: repeat(2, 125px);
        gap: 15px;
    }
    .makeup-project .makeup-card {
        width: 125px;
        height: 125px;
    }
}
/* =========================================
   MODELING SECTION - GYARU VIBES 💅
   ========================================= */

/* ----- SECTION LABEL ----- */
.section-label {
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #FF1493;
  font-weight: 700;
  margin-bottom: 8px;
}

/* ----- TEXT HELPERS ----- */
.text-center {
  text-align: center;
}
.mb-5 {
  margin-bottom: 3rem;
}
.fw-bold {
  font-weight: 700;
}

/* ----- SECTION DIVIDER ----- */
.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FF1493, #FF69B4);
  margin: 0 auto 30px auto;
  border-radius: 10px;
}
/* =========================================
   COMPLETE CSS FOR MODELING PROJECT
   ========================================= */

/* ----- RESET & BASE ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Libre Franklin', sans-serif;
  background: #fff5f7;
}

/* ----- HEADER ----- */
.site-header {
  background: linear-gradient(135deg, #FF1493, #FF69B4);
  padding: 18px 0;
  box-shadow: 0 4px 25px rgba(255, 105, 180, 0.35);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 2px;
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: scale(1.02);
}

.brand img {
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.brand__name {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ----- SECTION LABEL ----- */
.section-label {
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #FF1493;
  font-weight: 700;
  margin-bottom: 8px;
}

/* ----- TEXT HELPERS ----- */
.text-center {
  text-align: center;
}
.mb-5 {
  margin-bottom: 3rem;
}
.fw-bold {
  font-weight: 700;
}

/* ----- SECTION DIVIDER ----- */
.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FF1493, #FF69B4);
  margin: 0 auto 30px auto;
  border-radius: 10px;
}
