/* =========================================================
   HRdaily.com — site.css
   Polished corporate-manga editorial system
   ========================================================= */

:root{
  --ink:#10131b;
  --ink-2:#1b2230;
  --navy:#101a2c;
  --navy-2:#16243a;
  --navy-3:#22324d;
  --paper:#fff8eb;
  --paper-2:#f5ead7;
  --cream:#fff3dc;
  --muted:#6d7280;
  --muted-light:#b8c0cf;
  --gold:#d8a84f;
  --gold-2:#f0c46b;
  --red:#b8423a;
  --red-2:#e35c52;
  --blue-glow:#78d8ff;
  --green:#4d7b56;
  --line:rgba(255,255,255,.14);
  --line-dark:rgba(16,19,27,.16);
  --shadow:0 26px 70px rgba(0,0,0,.35);
  --shadow-soft:0 16px 36px rgba(0,0,0,.18);
  --radius-xl:28px;
  --radius-lg:20px;
  --radius-md:14px;
  --radius-sm:10px;
  --max:1180px;
}

*{box-sizing:border-box}

html{
  scroll-behavior:smooth;
  background:var(--navy);
}

body{
  margin:0;
  color:var(--ink);
  background:
    radial-gradient(circle at top left, rgba(216,168,79,.25), transparent 34rem),
    linear-gradient(180deg, #0c1220 0%, #111b2d 38%, #f6ead7 38%, #fff8eb 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height:1.6;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
p{margin:0 0 1rem}
strong{font-weight:800;color:inherit}

::selection{background:var(--gold-2);color:#10131b}

/* =========================================================
   Layout utilities
   ========================================================= */

.wrap{
  width:min(var(--max), calc(100% - 40px));
  margin-inline:auto;
}

.section{
  padding:76px 0;
}

.section.tight{padding:46px 0}
.section.dark{color:var(--paper);background:linear-gradient(180deg, var(--navy), #0d1422)}
.section.paper{background:var(--paper)}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  margin:0 0 .9rem;
  color:var(--red);
  font-size:.76rem;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.kicker::before{
  content:"";
  width:30px;
  height:2px;
  background:linear-gradient(90deg, var(--red), var(--gold));
  border-radius:2px;
}

.eyebrow{
  display:inline-block;
  color:var(--gold-2);
  font-size:.75rem;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.lead{
  font-size:clamp(1.08rem, 1.6vw, 1.3rem);
  color:#394154;
  max-width:760px;
}

.dark .lead,
.hero .lead{color:#dce4f2}

.center{text-align:center}
.center .lead{margin-inline:auto}

/* =========================================================
   Header / Navigation
   ========================================================= */

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  color:var(--paper);
  background:rgba(11,17,29,.84);
  border-bottom:1px solid rgba(255,255,255,.12);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}

.nav{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:950;
  letter-spacing:.01em;
}

.brand-mark{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  color:#10131b;
  background:linear-gradient(135deg, var(--gold-2), var(--gold));
  border-radius:14px;
  box-shadow:0 10px 26px rgba(216,168,79,.28);
  font-weight:1000;
}

.brand small{
  display:block;
  color:var(--muted-light);
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:6px;
}

.nav-links a{
  color:#edf3ff;
  padding:10px 12px;
  border-radius:999px;
  font-size:.92rem;
  font-weight:750;
  opacity:.92;
}

.nav-links a:hover,
.nav-links a:focus-visible{
  background:rgba(255,255,255,.1);
  outline:none;
  opacity:1;
}

.nav-cta{
  background:linear-gradient(135deg, var(--red), #8d2f2a)!important;
  box-shadow:0 10px 22px rgba(184,66,58,.25);
}

.menu-toggle{
  display:none;
  width:46px;
  height:42px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:12px;
  color:var(--paper);
  background:rgba(255,255,255,.06);
  cursor:pointer;
}

.menu-toggle span{
  display:block;
  width:20px;
  height:2px;
  margin:5px auto;
  background:currentColor;
  border-radius:2px;
}

/* CSS-only mobile menu support:
   Use <input id="nav-check" class="nav-check" type="checkbox"> before .menu-toggle + .nav-links */
.nav-check{position:absolute;opacity:0;pointer-events:none}

/* =========================================================
   Hero
   ========================================================= */

.hero{
  position:relative;
  overflow:hidden;
  color:var(--paper);
  background:
    linear-gradient(90deg, rgba(8,12,22,.94), rgba(12,20,34,.78) 48%, rgba(12,20,34,.18)),
    var(--hero-image, none) center/cover no-repeat,
    linear-gradient(135deg, #0b1120, #17243a);
}

.hero::after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:120px;
  background:linear-gradient(0deg, rgba(8,12,22,.85), transparent);
  pointer-events:none;
}

.hero-inner{
  position:relative;
  z-index:1;
  min-height:clamp(620px, 78vh, 820px);
  display:grid;
  align-items:center;
  padding:92px 0;
}

.hero-copy{
  max-width:720px;
}

.hero h1,
.page-hero h1{
  margin:0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size:clamp(3.2rem, 8vw, 7.8rem);
  line-height:.88;
  letter-spacing:-.065em;
  text-wrap:balance;
}

.hero h1 span{
  color:var(--gold-2);
}

.hero .dek{
  max-width:710px;
  color:#e6edf7;
  font-size:clamp(1.12rem, 2vw, 1.42rem);
  line-height:1.5;
  text-shadow:0 1px 12px rgba(0,0,0,.42);
}

.hero-actions,
.actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:12px 18px;
  border:1px solid transparent;
  border-radius:999px;
  font-weight:900;
  letter-spacing:.01em;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover{transform:translateY(-2px)}

.btn.primary{
  color:#111827;
  background:linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow:0 18px 40px rgba(216,168,79,.24);
}

.btn.secondary{
  color:var(--paper);
  background:rgba(255,255,255,.1);
  border-color:rgba(255,255,255,.22);
}

.btn.dark{
  color:var(--paper);
  background:linear-gradient(135deg, var(--navy-2), var(--navy));
}

.hero-card{
  margin-top:32px;
  max-width:620px;
  padding:18px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  border-radius:var(--radius-lg);
  backdrop-filter:blur(12px);
}

.hero-card strong{color:var(--gold-2)}

/* =========================================================
   Page hero / article header
   ========================================================= */

.page-hero{
  color:var(--paper);
  padding:82px 0 56px;
  background:
    radial-gradient(circle at 10% 10%, rgba(216,168,79,.25), transparent 30rem),
    linear-gradient(135deg, #0a101c, #17243a 70%, #1f2e47);
  border-bottom:1px solid rgba(255,255,255,.1);
}

.page-hero h1{
  font-size:clamp(2.8rem, 6.5vw, 6rem);
}

.page-hero .lead{color:#dce4f2}

.breadcrumbs{
  margin-bottom:18px;
  color:#b8c0cf;
  font-size:.9rem;
}

.breadcrumbs a{text-decoration:underline;text-decoration-color:rgba(255,255,255,.32);text-underline-offset:3px}

/* =========================================================
   Cards / grids
   ========================================================= */

.grid{
  display:grid;
  gap:22px;
}

.grid.two{grid-template-columns:repeat(2, minmax(0, 1fr))}
.grid.three{grid-template-columns:repeat(3, minmax(0, 1fr))}
.grid.four{grid-template-columns:repeat(4, minmax(0, 1fr))}

.card{
  overflow:hidden;
  background:#fffdf7;
  border:1px solid rgba(16,19,27,.12);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-soft);
}

.card.dark-card{
  color:var(--paper);
  background:linear-gradient(180deg, #17243a, #111a2b);
  border-color:rgba(255,255,255,.13);
}

.card-img{
  aspect-ratio:16/10;
  width:100%;
  object-fit:cover;
  background:#111827;
}

.card-body{padding:22px}

.card h2,
.card h3{
  margin:0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  line-height:1.05;
  letter-spacing:-.025em;
}

.card h2{font-size:clamp(1.7rem, 3vw, 2.35rem)}
.card h3{font-size:1.45rem}
.card p{color:#4b5565}
.dark-card p{color:#d7deea}

.card-link{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:10px;
  color:var(--red);
  font-weight:950;
}

.card-link::after{content:"→";transition:transform .16s ease}
.card-link:hover::after{transform:translateX(3px)}

.feature-card{
  position:relative;
  min-height:420px;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  color:var(--paper);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow);
  background:#10131b;
}

.feature-card img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.72;
  transition:transform .4s ease, opacity .4s ease;
}

.feature-card:hover img{transform:scale(1.04);opacity:.85}

.feature-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg, rgba(8,12,22,.92), rgba(8,12,22,.34) 58%, rgba(8,12,22,.12));
}

.feature-card .content{
  position:relative;
  z-index:1;
  padding:28px;
}

.feature-card h2,
.feature-card h3{
  margin:0 0 10px;
  font-family:Georgia,"Times New Roman",serif;
  line-height:1;
  letter-spacing:-.035em;
}
.feature-card h2{font-size:clamp(2rem,4vw,3.4rem)}
.feature-card h3{font-size:clamp(1.6rem,3vw,2.35rem)}
.feature-card p{color:#e7edf7}

/* =========================================================
   Image treatments
   ========================================================= */

.editorial-image{
  overflow:hidden;
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,.12);
  background:#10131b;
}

.editorial-image img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
}

.portrait-img img{aspect-ratio:4/5}

.caption{
  margin-top:10px;
  color:var(--muted);
  font-size:.9rem;
}

/* =========================================================
   Article content
   ========================================================= */

.article-wrap{
  display:grid;
  grid-template-columns:minmax(0, 760px) 320px;
  gap:42px;
  align-items:start;
}

.article{
  background:#fffdf7;
  border:1px solid rgba(16,19,27,.12);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow-soft);
  padding:clamp(24px,4vw,46px);
}

.article h2,
.article h3{
  font-family:Georgia,"Times New Roman",serif;
  letter-spacing:-.025em;
  line-height:1.08;
}
.article h2{font-size:clamp(2rem,4vw,3rem);margin:2rem 0 1rem}
.article h3{font-size:clamp(1.4rem,3vw,2rem);margin:1.7rem 0 .8rem}
.article p,
.article li{font-size:1.06rem;color:#303747}
.article a{color:#9c332d;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.article ul,
.article ol{padding-left:1.25rem}
.article blockquote{
  margin:28px 0;
  padding:22px 24px;
  color:#273143;
  background:#f5ead7;
  border-left:5px solid var(--gold);
  border-radius:0 var(--radius-md) var(--radius-md) 0;
  font-size:1.18rem;
}

.article .note,
.note{
  padding:18px 20px;
  background:#fff3dc;
  border:1px solid rgba(216,168,79,.45);
  border-radius:var(--radius-md);
}

.article .warning,
.warning{
  padding:18px 20px;
  background:#fff0ed;
  border:1px solid rgba(184,66,58,.28);
  border-radius:var(--radius-md);
}

.sidebar{
  position:sticky;
  top:96px;
  display:grid;
  gap:18px;
}

.side-box{
  padding:20px;
  background:#fffdf7;
  border:1px solid rgba(16,19,27,.12);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-soft);
}

.side-box h3{
  margin:0 0 10px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.4rem;
}
.side-box a{display:block;padding:9px 0;color:#253047;font-weight:800;border-bottom:1px solid rgba(16,19,27,.08)}
.side-box a:last-child{border-bottom:0}
.side-box a:hover{color:var(--red)}

/* =========================================================
   Episode and character pages
   ========================================================= */

.episode-number{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:46px;
  height:46px;
  margin-bottom:14px;
  color:#10131b;
  background:linear-gradient(135deg, var(--gold-2), var(--gold));
  border-radius:50%;
  font-weight:1000;
}

.character-hero{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:38px;
  align-items:center;
}

.character-panel{
  padding:28px;
  color:var(--paper);
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.14);
  border-radius:var(--radius-xl);
}

.stat-list{
  display:grid;
  gap:10px;
  margin:22px 0 0;
}

.stat{
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding:12px 0;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.stat b{color:var(--gold-2)}

/* =========================================================
   Strips / callouts
   ========================================================= */

.gold-band{
  color:#10131b;
  background:
    linear-gradient(135deg, rgba(255,255,255,.28), transparent),
    linear-gradient(135deg, var(--gold-2), var(--gold));
  padding:40px;
  border-radius:var(--radius-xl);
  box-shadow:0 24px 60px rgba(216,168,79,.22);
}

.gold-band h2{
  margin:0 0 10px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(2rem,4vw,3.4rem);
  line-height:1;
}

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:38px;
  align-items:center;
}

.badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.badge{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:7px 12px;
  color:#273143;
  background:#fff8eb;
  border:1px solid rgba(16,19,27,.12);
  border-radius:999px;
  font-size:.86rem;
  font-weight:900;
}

.dark .badge,
.hero .badge{
  color:#f3f7ff;
  background:rgba(255,255,255,.09);
  border-color:rgba(255,255,255,.14);
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer{
  color:#d9e2f1;
  background:#090e18;
  border-top:1px solid rgba(255,255,255,.1);
  padding:54px 0 28px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.3fr repeat(3, 1fr);
  gap:28px;
}

.site-footer h3,
.site-footer h4{
  margin:0 0 14px;
  color:#fff8eb;
  font-family:Georgia,"Times New Roman",serif;
}

.site-footer p{color:#aeb8c8}
.site-footer a{display:block;color:#d9e2f1;padding:5px 0;font-weight:700;opacity:.85}
.site-footer a:hover{opacity:1;color:var(--gold-2)}

.footer-bottom{
  margin-top:32px;
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.1);
  color:#8f9aae;
  font-size:.9rem;
}

/* =========================================================
   Forms / contact blocks
   ========================================================= */

.contact-card{
  padding:28px;
  background:#fffdf7;
  border:1px solid rgba(16,19,27,.12);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow-soft);
}

.contact-line{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:14px 0;
  border-bottom:1px solid rgba(16,19,27,.08);
}
.contact-line:last-child{border-bottom:0}
.contact-icon{
  width:36px;
  height:36px;
  flex:0 0 36px;
  display:grid;
  place-items:center;
  color:#10131b;
  background:var(--gold-2);
  border-radius:12px;
  font-weight:1000;
}

/* =========================================================
   Tables
   ========================================================= */

.table-wrap{
  overflow:auto;
  border:1px solid rgba(16,19,27,.12);
  border-radius:var(--radius-lg);
  background:#fffdf7;
}

table{
  width:100%;
  border-collapse:collapse;
}

th,td{
  padding:13px 15px;
  text-align:left;
  border-bottom:1px solid rgba(16,19,27,.08);
}
th{background:#f5ead7;font-weight:950;color:#10131b}
tr:last-child td{border-bottom:0}

/* =========================================================
   Accessibility / motion
   ========================================================= */

:focus-visible{
  outline:3px solid var(--gold-2);
  outline-offset:3px;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:12px;
  z-index:100;
  padding:10px 14px;
  color:#10131b;
  background:var(--gold-2);
  border-radius:10px;
  font-weight:900;
}
.skip-link:focus{left:12px}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    scroll-behavior:auto!important;
    transition-duration:.001ms!important;
  }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 980px){
  .grid.three,.grid.four{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .article-wrap,.split,.character-hero{grid-template-columns:1fr}
  .sidebar{position:static}
  .footer-grid{grid-template-columns:1fr 1fr}
}

@media (max-width: 760px){
  .wrap{width:min(100% - 28px, var(--max))}
  .nav{min-height:64px}
  .menu-toggle{display:block}
  .nav-links{
    position:absolute;
    inset:64px 14px auto;
    display:none;
    flex-direction:column;
    align-items:stretch;
    padding:14px;
    background:rgba(11,17,29,.96);
    border:1px solid rgba(255,255,255,.14);
    border-radius:18px;
    box-shadow:var(--shadow);
  }
  .nav-links a{border-radius:12px}
  .nav-check:checked ~ .nav-links{display:flex}
  .hero-inner{min-height:620px;padding:70px 0}
  .hero h1,.page-hero h1{letter-spacing:-.05em}
  .grid.two,.grid.three,.grid.four{grid-template-columns:1fr}
  .section{padding:54px 0}
  .gold-band{padding:26px}
  .feature-card{min-height:360px}
  .footer-grid{grid-template-columns:1fr}
}

@media (max-width: 420px){
  .hero h1{font-size:3rem}
  .page-hero h1{font-size:2.6rem}
  .hero-actions,.actions{flex-direction:column}
  .btn{width:100%}
  .article{padding:22px}
}

/* =========================================================
   Optional page-specific hero images
   Add inline style: style="--hero-image:url('/images/...jpg')"
   ========================================================= */

.hero.hr-home{--hero-image:url('/images/hrdaily-hero-hana-resources-office-hallway.jpg')}
.hero.newsroom{--hero-image:url('/images/about-hrdaily-newsroom.jpg')}
.hero.contact{--hero-image:url('/images/contact-hr-front-desk.jpg')}
.hero.sources{--hero-image:url('/images/sources-library-of-policy-books.jpg')}
