/* Lu Yixiu v1 — clean, institutional, ICA-friendly */
:root{
  --bg: #f5f3ef;
  --card: #ffffff;
  --ink: #1f2933;
  --muted: #3b4a57;
  --line: #dfe3e8;
  --accent: #7a4b2a;   /* refined brown */
  --accent2: #27485b;  /* deep slate */
  --ok: #0f766e;
  --warn: #b45309;
  --radius: 16px;
  --shadow: 0 12px 28px rgba(0,0,0,.08);
  --max: 1080px;
}

*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: radial-gradient(900px 500px at 20% 0%, rgba(122,75,42,.08), transparent 55%),
              radial-gradient(700px 460px at 90% 10%, rgba(39,72,91,.07), transparent 60%),
              var(--bg);
  line-height: 1.55;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

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

.skip-link{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left: 16px; top: 16px; width:auto; height:auto; padding:10px 12px;
  background: var(--card); border:1px solid var(--line); border-radius: 10px; z-index: 9999;
  box-shadow: var(--shadow);
}

header{
  position: sticky; top:0; z-index: 50;
  background: rgba(245,243,239,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 18px;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 12px;  /* slightly tighter than before */
}

.brand{
  display:flex; align-items:center; gap: 12px;
  min-width: 220px;
}

.mark{
  width: 36px;
  height: 36px;
  border-radius: 10px;

  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  color: #5a3a2a;
  line-height: 1;
  flex-shrink: 0;
    border-radius: 8px; /* instead of too round */
  background: #f3efe9; /* flatter, less gradient */
  border: 1px solid #e5e0d8;
}

.brand .mark{
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(122,75,42,.18), rgba(39,72,91,.14));
  border: 1px solid var(--line);
  display:grid; place-items:center;
  font-weight: 700;
  letter-spacing: .5px;
}
.brand .title {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand .title strong{
  font-size: 15px;
  font-weight: 600;
}

.brand .title span{
  font-size: 12px;
  color: var(--muted);
  margin-top: 1px;
}

.navlinks{
  display:flex; align-items:center; gap: 14px;
  flex-wrap: wrap;
  justify-content:flex-end;
}
.navlinks a{
  font-size: 13px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
}
.navlinks a[aria-current="page"]{
  color: var(--ink);
  background: rgba(122,75,42,.10);
  border: 1px solid rgba(122,75,42,.14);
  text-decoration: none;
}

.nav-cta{
  display:flex; align-items:center; gap: 10px;
}

.nav-cta .button {
  padding: 6px 12px;
  font-size: 13px;
}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 14px;
    border-radius: 12px;  /* was 999px */
  border: 1px solid rgba(0,0,0,0.08);
  background: transparent;
  color: #2f3e49;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.button:hover{
  background: rgba(0,0,0,0.04);
}
.button.primary{
  background: rgba(122,75,42,0.12);
  color: #5a3a2a;
  border: 1px solid rgba(122,75,42,0.2);


}
.button.primary:hover{ filter: brightness(1.03); }

main{ padding: 28px 0 56px; }
.hero::before{
  content:"";
  position:absolute;
  inset:-40px -20px -20px -20px;
  background: radial-gradient(
    800px 400px at 20% 10%,
    rgba(122,75,42,0.10),
    transparent 60%
  ),
  radial-gradient(
    600px 300px at 85% 15%,
    rgba(39,72,91,0.10),
    transparent 65%
  );
  z-index:-1;
  pointer-events:none;
}
.hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; }
}
.card{
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero .intro{
  padding: 30px 32px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}
  box-shadow: 0 16px 36px rgba(0,0,0,0.08);
}
.kicker{
  display:inline-flex; align-items:center; gap: 8px;
  font-size: 12px; color: var(--muted);
  border:1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(245,243,239,.75);
}
.h1{
  margin: 12px 0 8px;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -0.6px;
  font-weight: 700;
}
@media (max-width: 520px){
  .h1{
    font-size: 30px;
    line-height: 1.14;
  }
}
.lead{
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}
.meta-row{
  display:flex; flex-wrap:wrap; gap: 10px;
  margin-top: 14px;
}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  font-size: 12px; color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(39,72,91,.04);
}
.pill strong{ color: var(--ink); font-weight:600; }

.hero .side{
  padding: 18px;
  display:flex;
  flex-direction: column;
  gap: 12px;
}
.hero .side .portrait{
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,0.08);
  background: #fff;
  padding: 6px;
}
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,0.08);
  background: #fff;
  padding: 6px;
}
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
  background: linear-gradient(135deg, rgba(39,72,91,.12), rgba(122,75,42,.10));
  min-height: 220px;
  display:grid;
  place-items:center;
  color: var(--muted);
  font-size: 13px;
  text-align:center;
  padding: 16px;
}
.hero .side img{
  width:100%;
  height: auto;

}
@media (max-width: 900px){
  .hero .side img{ height: 240px; }
}

.section{
  margin-top: 22px;
}
.section h2{
  font-size: 18px;
  margin: 0 0 10px;
  letter-spacing: -0.2px;
}
.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px){
  .grid3{ grid-template-columns: 1fr; }
}
.tile{ padding: 16px; 
 border-radius: 12px;

}


  .hero .side{
    padding: 16px;
  }

.tile h3{
  margin: 0 0 6px;
  font-size: 14px;
}
.tile p{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.note{
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(122,75,42,.075);
  color: var(--muted);
  font-size: 13px;
}
.note strong{ color: var(--ink); }

footer{
  border-top: 1px solid var(--line);
  
  color: var(--muted);
  font-size: 12px;
    padding: 18px 0;
}
.footer-row{
  display:flex; gap: 12px; align-items:flex-start; justify-content:space-between;
  flex-wrap: wrap;
}
.footer-row a{ color: var(--muted); }
.small{ font-size: 12px; color: var(--muted); }

.pagehead{
  padding: 18px;
}
.pagehead h1{
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing:-0.25px;
}
.pagehead p{ margin:0; color: var(--muted); }

.content{
  padding: 18px;
}
.content h2{ margin: 18px 0 8px; font-size: 16px; }
.content p, .content li{ color: var(--muted); font-size: 13px; }
.content ul{ margin: 8px 0 0 18px; }

.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.table th, .table td{
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  text-align:left;
  vertical-align: top;
}
.table th{
  background: rgba(39,72,91,.05);
  color: var(--ink);
  font-weight: 600;
}
.table tr:last-child td{ border-bottom: none; }

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.7);
  color: var(--muted);
}
.badge.ok{ background: rgba(15,118,110,.08); border-color: rgba(15,118,110,.18); }
.badge.warn{ background: rgba(180,83,9,.08); border-color: rgba(180,83,9,.18); }

.formrow{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 10px;
}
.input{
  flex: 1 1 240px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
}

hr.sep{
  border: none;
  border-top: 1px solid var(--line);
  margin: 16px 0;
}


/* --- Mobile polish (phones) --- */
@media (max-width: 720px){

  /* Slightly tighter page padding */
  .container{
    width: min(var(--max), calc(100% - 24px));
  }

  /* Header becomes stacked for clarity */
  .nav{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 0;
  }

  /* Brand row: keep compact */
  .brand{
    min-width: 0;
    justify-content: flex-start;
  }

  /* Nav links: center and wrap nicely */
  .navlinks{
    justify-content: center;
    gap: 8px;
  }
  .navlinks a{
    padding: 8px 10px;
    font-size: 13px;
  }

  /* CTA buttons: full width so they don’t look cramped */
  .nav-cta{
    justify-content: flex-start;
  }
  .nav-cta .button{
    width: auto;
  }

  /* Hero spacing + typography */
  main{ padding: 18px 0 44px; }
  .h1{ font-size: 26px; }
  .lead{ font-size: 14px; }

  /* Buttons rows stack */
  .formrow .button{
    flex: 1 1 100%;
  }

  /* Pills look better stacked on very small screens */
  .pill{
    width: 100%;
    justify-content: space-between;
  }

  /* Footer items center on mobile */
  .footer-row{
    justify-content: center;
    text-align: center;
    gap: 8px;
  }
}


/* Readability overrides (v1) */
body { color: #24323d; }
p, li { color: #24323d; }
.lead { color: #24323d; }
.small { color: #3b4a57; }
.kicker { color: #3b4a57; }
.note { color: #24323d; }


/* --- Hero subtitle refinement --- */
.hero .h1 {
  margin-bottom: 14px;
}

.hero-subtitle{
  margin: 6px 0 20px;
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.hero-subtitle .dot{
  opacity: .55;
}

/* Improve spacing between heading + subtitle on mobile */
@media (max-width: 720px){
  .hero-subtitle{
    font-size: 15px;
    line-height: 1.45;
  }
}


/* Contact section two-column layout */
.grid2{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:16px;
  align-items: stretch;
}
@media (max-width:900px){
  .grid2{
    grid-template-columns:1fr;
  }
}

.credential{
font-size:16px;
color:#444;
margin-top:6px;
}


/*
.profile-meta p {
  margin: 10px 0;
  font-size: 16px;
  line-height: 1.7;
  color: #24323d;
}*/

.profile-meta{
  margin-top: 16px;
}

.profile-meta strong {
  display: inline-block;
  min-width: 78px;
  font-weight: 600;
  color: #1f2d3d;
}

@media (max-width: 720px){
  .profile-meta p {
    font-size: 15px;
    line-height: 1.65;
  }

  .profile-meta strong {
    min-width: 0;
    display: inline;
  }
}


/* Hero refinement v2 */
.hero .intro{
  padding: 30px 32px;
}
.hero-copy{
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(31,41,51,.08);
  margin-bottom: 18px;
}
.eyebrow{
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #7b8792;
  font-weight: 500;
}
.credential{
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1f2d3d;
  line-height: 1.35;
}
.lead{
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 14px;
  color: #2f3e49;
}
.lead-secondary{
  margin-bottom: 0;
}
.hero-actions{
  margin-top: 14px;
    gap: 8px;
}
.hero-actions .button{
  min-height: 44px;
  padding: 11px 16px;
}
.profile-meta{
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.card.intro{
  padding: 22px;
}


.hero .side{
  padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(245,243,239,0.9));
  border: 1px solid var(--line);
  border-radius: 18px;
}
.quick-access{
  padding: 18px 20px;
  background: rgba(255,255,255,0.85);
  border-radius: 14px;
}
.quick-access h3{
  margin: 0 0 10px;
  font-size: 15px;
}
.quick-access ul{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.quick-access li{
  margin: 8px 0;
  font-size: 13px;
  line-height: 1.5;
}
.quick-access a{
  text-underline-offset: 2px;
}
@media (max-width: 900px){
  .hero .intro{ padding: 24px 22px; }
}



.portrait-caption{
  margin-top:10px;
  font-size:13px;
  color:#33414c;
  line-height:1.6;
}

.portrait-caption strong{
  font-size:14px;
  color:#1f2d3d;
}

.portrait-caption{
  margin-top:14px;
  font-size:13px;
  color:#33414c;
  line-height:1.6;
  text-align:center;
}


.meta-label{
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #5b6b78;
}

.meta-item{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.hero-actions{
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.card.tile {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Clickable tile hover effect */
.card.tile {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
  padding: 18px;
}



.card.tile:hover h3 {
  color: var(--accent);
    transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.10);
  border-color: rgba(0,0,0,0.08);
}

.logo-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}

.brand .title strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.brand .title span {
  font-size: 12px;
  color: var(--muted);
  margin-top: 1px;
}

.brand .title span {
  font-size: 12px;
  color: var(--muted);
}


.profile-meta {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  display: grid;
  gap: 12px;
}
.meta-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  column-gap: 16px;
}


.meta-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
}


.meta-value {
  font-size: 14px;
  line-height: 1.7;
  color: #374151;
}

@media (max-width: 720px){
  .meta-item{
    grid-template-columns: 1fr;
    row-gap: 2px;
  }

  .meta-label{
    line-height: 1.4;
  }

  .meta-value{
    max-width: none;
  }
}

.portrait-about {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 16px;
}

.portrait-about img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.portrait-img{
  width:100%;
  border-radius:16px;
  display:block;
}

@media (max-width: 768px) {
  .nav {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start; 
    gap: 8px;
  }

  .navlinks {
    flex: 1 1 100%;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
  }

  .nav-cta {
    flex: 1 1 100%;
    display: flex;
    justify-content: flex-start;
    align-self: flex-start;
    margin-top: 6px;
    margin-left: 0;
  }

  .nav-cta .button,
  .nav-cta .button.primary {
    display: inline-flex;
    width: auto;
    padding: 8px 14px;
    font-size: 0.9rem;
    border-radius: 8px;
    white-space: nowrap;
    margin-left: 0;
  }
}
/* Fix: show portrait at top on mobile */
@media (max-width: 900px){
  .hero{
    display:flex;
    flex-direction:column;
  }
  .hero .side{
    order:-1;
  }
}


@media (max-width: 900px){
  .hero .side{
    padding: 16px;
  }

  .hero .side img{
    width: 100%;
    height: auto;
    max-width: 280px;
  }
}


/* refine portrait alignment on mobile */
@media (max-width: 900px){
  .hero .side .portrait{
    display:flex;
    justify-content:center;
  }

  .hero .side img{
    margin:0 auto;
  }
}
