/* cali-logan.com · Constellation */
:root {
  --night: #101828;
  --silver: #C7CEDB;
  --amber: #D9A441;
  --white: #EFF2F7;
  --paper: #F6F7FA;
  --panel: #FFFFFF;
  --ink: #101828;
  --soft: #3A4460;
  --muted: #6D7689;
  --line: #E1E5EE;
  --radius: 20px;
  --shell: 1150px;
  --display: 'Julius Sans One', 'Cantarell', system-ui, sans-serif;
  --body: 'Cantarell', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  letter-spacing: .1em;
  line-height: 1.22;
  margin: 0 0 .7rem;
}
.eyebrow {
  font-family: var(--display);
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 .55rem;
}
.eyebrow .num { color: var(--amber); }
.section-sub { color: var(--muted); max-width: 64ch; margin: 0 0 1.7rem; }
.note { color: var(--muted); font-size: .9rem; margin: 1rem 0 0; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 247, 250, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between;
                gap: 1.2rem; padding: .75rem 24px; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-size: 1rem; letter-spacing: .22em;
            text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 1.05rem; flex-wrap: wrap; }
.main-nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: .9rem; padding: .15rem 0;
              border-bottom: 1px solid transparent; }
.main-nav a:not(.btn):hover { color: var(--ink); }
.main-nav a:not(.btn)[aria-current="page"] { color: var(--ink); border-bottom-color: var(--amber); }
.btn {
  display: inline-flex; align-items: center;
  background: var(--amber); color: #1C1607;
  font-family: var(--body); font-weight: 700; font-size: .95rem;
  border-radius: 999px; padding: .68rem 1.25rem; text-decoration: none;
  transition: box-shadow .18s ease, transform .18s ease, background .18s ease;
}
.btn:hover { background: #E3B25C; box-shadow: 0 6px 24px rgba(217, 164, 65, .35); transform: translateY(-1px); }
.btn-sm { padding: .4rem .95rem; font-size: .84rem; }

/* hero */
.hero { position: relative; background: var(--night); color: var(--white); overflow: hidden; }
.constellation { position: absolute; top: 26px; left: 50%; margin-left: -520px; opacity: .8; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 2.8rem;
             align-items: center; padding: 3.1rem 0 3.3rem; position: relative; }
.hero-kicker { font-family: var(--display); font-size: .74rem; letter-spacing: .32em;
               text-transform: uppercase; color: var(--silver); margin: 0 0 1.1rem; }
.hero-name { font-family: var(--display); font-weight: 400; margin: 0 0 1.15rem;
             font-size: clamp(2.2rem, 5.4vw, 3.9rem); line-height: 1.02; letter-spacing: .14em; }
.hero-name::after { content: ""; display: block; width: 92px; height: 1px; margin-top: 1.05rem;
                    background: linear-gradient(90deg, var(--amber) 0 10px, var(--silver) 10px 100%); }
.hero-tagline { font-size: 1.14rem; line-height: 1.45; margin: 0 0 .9rem; max-width: 34ch; color: var(--white); }
.hero-intro { color: #AEB7C9; max-width: 52ch; margin: 0 0 1.7rem; }
.hero-photo { margin: 0; display: grid; place-items: center; }
.hero-photo img { width: min(100%, 352px); border-radius: var(--radius);
                  border: 1px solid var(--silver);
                  box-shadow: 0 0 0 7px rgba(199, 206, 219, .07), 0 28px 60px rgba(0, 0, 0, .5); }

/* sections */
.section { padding: 3.1rem 0; }
.section-tight { padding-top: 2.5rem; }
.section-last { padding-bottom: 4.4rem; }

/* partners */
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 250px)); gap: 18px; }
.partner-card { display: flex; align-items: center; justify-content: center; width: 250px; height: 150px;
                border: 1px solid var(--silver); border-radius: 12px; background: var(--panel);
                transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.partner-card:hover { border-color: var(--night); box-shadow: 0 10px 26px rgba(16, 24, 40, .12); transform: translateY(-2px); }
.partner-card img { max-width: 188px; max-height: 66px; width: auto; height: auto; object-fit: contain; }

/* quick profile: silver-line frames */
.frames { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
          list-style: none; margin: 0; padding: 0; border-radius: 16px; overflow: hidden; }
.frame { border: 1px solid var(--silver); margin: -1px 0 0 -1px; background: var(--panel);
         padding: .85rem 1.05rem; display: flex; flex-direction: column; gap: .18rem; }
.frame .k { font-family: var(--display); font-size: .64rem; letter-spacing: .24em;
            text-transform: uppercase; color: var(--muted); }
.frame .v { font-size: 1rem; color: var(--ink); }
.frame-solo { justify-content: center; }
.frame-solo .v { font-family: var(--display); font-size: .95rem; letter-spacing: .06em; color: var(--night); }

/* about */
.about-grid { display: grid; grid-template-columns: 1.28fr .95fr; gap: 3rem; align-items: start; }
.about-text p { color: var(--soft); margin: 0 0 1.05rem; }
.about-media { margin: 0; background: var(--panel); border: 1px solid var(--line);
               border-radius: 16px; padding: 12px 12px 14px; }
.about-media img { display: block; width: 100%; border-radius: 10px; }
.about-quote { font-family: var(--display); font-size: 1.02rem; letter-spacing: .04em;
               line-height: 1.45; margin: .95rem .2rem 0; color: var(--night); }
.about-src { color: var(--muted); font-size: .8rem; margin: .3rem .2rem 0; }

/* timeline: star nodes */
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.5rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 3px; top: .5em; bottom: .3em;
                    width: 1px; background: var(--silver); }
.timeline li { position: relative; padding: 0 0 1.45rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -1.5rem; top: .52em;
                       width: 7px; height: 7px; margin-left: 0; background: var(--silver);
                       transform: rotate(45deg); }
.timeline li:first-child::before { background: var(--amber); }
.timeline .when { display: block; font-family: var(--display); font-size: .82rem;
                  letter-spacing: .08em; color: var(--night); margin-bottom: .15rem; }
.timeline .what { display: block; color: var(--soft); font-size: .96rem; }
.career-split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 3rem; align-items: start; }
.career-text p { color: var(--soft); margin: 0 0 1rem; }

/* gallery: staggered */
.gallery { display: grid; grid-template-columns: 1fr 1.14fr 1fr; gap: 22px; align-items: start; }
.gallery figure { margin: 0; background: var(--panel); border: 1px solid var(--line);
                  border-radius: 14px; padding: 10px; }
.gallery img { display: block; width: 100%; border-radius: 8px; }
.g-a { margin-top: 44px; }
.g-b { margin-top: 0; }
.g-c { margin-top: 86px; }

/* social */
.social-list { display: flex; flex-wrap: wrap; gap: .7rem; }
.social-pill { display: inline-flex; align-items: baseline; gap: .75rem; padding: .62rem 1.2rem;
               border: 1px solid var(--silver); border-radius: 999px; background: var(--panel);
               text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.social-pill .platform { font-family: var(--display); font-size: .84rem; letter-spacing: .12em;
                         text-transform: uppercase; }
.social-pill .handle { color: var(--muted); font-size: .88rem; }
.social-pill:hover { border-color: var(--night); box-shadow: 0 8px 22px rgba(16, 24, 40, .1); }

/* sub pages */
.page-top { padding: 2.7rem 0 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 2.4rem; }
.page-top h1 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 4.4vw, 2.8rem);
               letter-spacing: .12em; line-height: 1.08; margin: .1rem 0 .85rem; }
.page-top .lead { color: var(--muted); max-width: 64ch; margin: 0; }
.reading { max-width: 76ch; }
.story { margin: 0 0 2.5rem; }
.story h2 { font-size: clamp(1.15rem, 2.3vw, 1.45rem); margin: 0 0 .8rem; }
.story p { color: var(--soft); margin: 0 0 1rem; }
.dot-list { list-style: none; margin: 0; padding: 0; }
.dot-list li { color: var(--soft); padding: .6rem 0 .6rem 1.25rem; position: relative;
               border-bottom: 1px dashed var(--line); }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 7px; height: 7px;
                       background: var(--amber); transform: rotate(45deg); }
.credit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem; margin-top: 1.2rem; }
.credit-col h3 { font-family: var(--display); font-size: .72rem; letter-spacing: .22em;
                 text-transform: uppercase; color: var(--muted); margin: 0 0 .5rem; }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { color: var(--soft); font-size: .92rem; padding: .34rem 0; border-bottom: 1px dashed var(--line); }
.stat-strip { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .4rem; }
.stat { border: 1px solid var(--silver); border-radius: 12px; background: var(--panel);
        padding: .85rem 1.2rem; min-width: 148px; }
.stat b { display: block; font-family: var(--display); font-size: 1.22rem; letter-spacing: .06em; color: var(--night); }
.stat span { color: var(--muted); font-size: .85rem; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1.05rem 0; }
.faq-list summary { font-family: var(--display); font-size: 1rem; letter-spacing: .05em; line-height: 1.4;
                    cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--amber); }
.faq-list details[open] summary::after { content: "·"; }
.faq-list .answer p { color: var(--soft); margin: .7rem 0 0; max-width: 72ch; }

/* footer */
.site-footer { border-top: 1px solid var(--silver); background: var(--panel); padding: 2rem 0 2.3rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 1.2rem; align-items: center; }
.footer-brand { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); letter-spacing: .14em; text-transform: uppercase; font-size: .95rem; }
.brand-line { color: var(--muted); font-size: .84rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: .3rem .9rem; justify-content: center; }
.language-nav a { color: var(--muted); text-decoration: none; font-size: .87rem; }
.language-nav a:hover { color: var(--ink); }
.language-nav a[aria-current="page"] { color: var(--ink); border-bottom: 1px solid var(--amber); }
.footer-legal { color: var(--muted); font-size: .84rem; margin: 0; text-align: right; }

/* 404 */
.notfound { padding: 4.5rem 0 5.5rem; }

@media (max-width: 1020px) {
  .constellation { left: auto; right: -60px; margin-left: 0; opacity: .5; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; padding: 2.6rem 0 2.8rem; }
  .hero-photo img { width: min(100%, 320px); }
  .about-grid, .career-split { grid-template-columns: 1fr; gap: 1.9rem; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .shell, .header-inner { padding-left: 18px; padding-right: 18px; }
  .header-inner { gap: .45rem .8rem; }
  .wordmark { font-size: .92rem; letter-spacing: .16em; }
  .main-nav { gap: .5rem .8rem; }
  .main-nav a:not(.btn) { font-size: .82rem; }
  .btn-sm { padding: .32rem .72rem; font-size: .8rem; }
  .constellation { top: 14px; right: -110px; opacity: .4; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 122px; }
  .partner-card img { max-width: 132px; max-height: 52px; }
  .gallery { grid-template-columns: 1fr; gap: 16px; }
  .g-a, .g-b, .g-c { margin-top: 0; }
  .credit-grid { grid-template-columns: 1fr; }
  .section { padding: 2.4rem 0; }
}
