/* daniella-rush.com · Rails · batch39 #10 */
:root {
  --bg: #141a20;
  --panel: #10151b;
  --panel-2: #1a2129;
  --ink: #e8eaec;
  --soft: #cfd6db;
  --muted: #aab6bf;
  --signal: #c8a83f;
  --signal-hi: #ddc25e;
  --tie: #8a7258;
  --line: #232c34;
  --shell: 1160px;
  --display: 'Bungee Outline', 'JetBrains Mono', ui-monospace, monospace;
  --body: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html { background: #141a20; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
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.9vw, 1.95rem);
     line-height: 1.15; letter-spacing: .015em; margin: 0 0 .7rem; color: var(--ink); }
.eyebrow { display: flex; align-items: center; gap: .6rem; font-size: .78rem; letter-spacing: .14em;
           text-transform: uppercase; color: var(--signal); margin: 0 0 .8rem; }
.eyebrow .num { color: var(--signal-hi); }
.eyebrow .rail-glyph, .qcard .rail-glyph { color: rgba(232, 234, 236, .55); flex: none; }
.section-sub { color: var(--muted); max-width: 64ch; margin: 0 0 1.6rem; }
.note { color: var(--muted); font-size: .85rem; margin: 1rem 0 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background-color: #141a20;
               border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between;
                gap: 1rem; padding: .8rem 24px; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-size: 1.12rem; letter-spacing: .05em;
            text-transform: uppercase; text-decoration: none; color: var(--ink); white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: .3rem 1.1rem; flex-wrap: wrap; }
.main-nav a { color: #b9c4cc; text-decoration: none; font-size: .8rem; letter-spacing: .05em;
              text-transform: uppercase; padding: .15rem 0; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
                     background-color: #c8a83f; transition: width .2s ease; }
.main-nav a:hover { color: #e8eaec; }
.main-nav a:hover::after { width: 100%; }
.main-nav a[aria-current="page"] { color: #e8eaec; }
.main-nav a[aria-current="page"]::after { width: 100%; background-color: #5a4a3a; }
.main-nav a.btn { color: #141a20; background-color: #c8a83f; text-transform: none;
                  letter-spacing: .01em; padding: .42rem .95rem; }
.main-nav a.btn::after { display: none; }
.main-nav a.btn:hover { color: #141a20; background-color: #ddc25e; }
.btn { display: inline-flex; align-items: center; gap: .5rem; background-color: #c8a83f;
       color: #141a20; font-family: var(--body); font-weight: 700; font-size: .84rem;
       letter-spacing: .02em; padding: .75rem 1.3rem; text-decoration: none; border-radius: 2px;
       transition: background-color .18s ease, transform .18s ease; }
.btn:hover { background-color: #ddc25e; color: #141a20; transform: translateY(-1px); }
.btn-sm { font-size: .74rem; padding: .45rem .95rem; }
.btn-lg { font-size: .92rem; padding: .85rem 1.6rem; }

/* hero */
.hero { position: relative; min-height: clamp(560px, 74vh, 780px); overflow: hidden;
        border-bottom: 1px solid var(--line); }
.hero-media { position: absolute; inset: 0; margin: 0; }
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.hero-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(58%, 720px);
              background: linear-gradient(90deg, rgba(16, 21, 27, .22) 0%, rgba(16, 21, 27, .94) 22%, #10151b 42%);
              clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
              display: flex; flex-direction: column; justify-content: flex-end;
              padding: 2rem 2.5rem 2.6rem 10.5rem; }
.rail-edge { position: absolute; left: 14%; top: 6%; bottom: 6%; width: 56px;
             opacity: .9; pointer-events: none; }
.hero-copy { position: relative; max-width: 30rem; }
.hero-kicker { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
               color: #c8a83f; margin: 0 0 .9rem; }
.hero-title { font-family: var(--display); font-weight: 400; font-size: clamp(2.1rem, 4.4vw, 3.3rem);
              line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; margin: 0 0 1rem; }
.hero-tagline { font-size: 1.02rem; line-height: 1.6; color: #e8eaec; margin: 0 0 .8rem; }
.hero-intro { color: #b9c4cc; margin: 0 0 1.6rem; }

/* sections */
.section { padding: 3rem 0; }
.section-tight { padding-top: 1.6rem; }
.section-last { padding-bottom: 4.2rem; }
.rail-strip { height: 18px; margin: 0 auto; max-width: var(--shell);
              border-top: 2px solid rgba(232, 234, 236, .16);
              border-bottom: 2px solid rgba(232, 234, 236, .16);
              background-image: repeating-linear-gradient(90deg, #5a4a3a 0 18px, transparent 18px 48px);
              background-size: auto 6px; background-position: center; background-repeat: repeat-x; }

/* partners */
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 250px)); gap: 16px; }
.partner-card { display: flex; align-items: center; justify-content: center; width: 250px; height: 150px;
                border: 1px solid var(--line); border-radius: 3px; background-color: #10151b;
                transition: border-color .2s ease, transform .2s ease; }
.partner-card:hover { border-color: #3a4750; transform: translateY(-2px); }
.partner-card img { max-width: 190px; max-height: 66px; width: auto; height: auto; object-fit: contain; }

/* quick profile */
.qcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.qcard { background-color: #10151b; border: 1px solid var(--line); border-top: 3px solid #5a4a3a;
         padding: 1.2rem 1.35rem 1.3rem; }
.qcard .rail-glyph { display: block; margin: 0 0 .75rem; }
.card-k { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
          color: #c8a83f; margin: 0 0 .45rem; }
.card-v { color: #e8eaec; font-size: .92rem; margin: 0; }

/* about */
.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 2.4rem; align-items: center; }
.about-photo { margin: 0; border: 1px solid var(--line); background-color: #10151b; padding: 8px; }
.about-photo img { display: block; width: 100%; height: auto; }
.about-text p { color: #cfd6db; margin: 0 0 1rem; }
.about-text p:last-child { margin-bottom: 0; }

/* timeline */
.career-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.6rem; align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 42px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 12px; top: 8px; bottom: 8px; width: 12px;
                    border-left: 2px solid rgba(232, 234, 236, .28);
                    border-right: 2px solid rgba(232, 234, 236, .28); }
.timeline li { position: relative; padding: 0 0 1.2rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -36px; top: .45em; width: 26px; height: 7px;
                       border-radius: 3px; background-color: #8a7258; }
.timeline .when { display: block; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
                  color: #d3b45a; margin-bottom: .15rem; }
.timeline .what { display: block; color: #cfd6db; font-size: .9rem; }
.career-text p { color: #cfd6db; margin: 0 0 1rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1010px; align-items: start; }
.gallery figure { margin: 0; border: 1px solid var(--line); background-color: #10151b; }
.gallery img { display: block; width: 100%; height: auto; }
.credit { color: #9fabb4; font-size: .8rem; margin: 1.1rem 0 0; }
.credit a { color: #d3b45a; }

/* social */
.social-list { border-top: 1px solid var(--line); }
.social-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem;
              padding: 1rem .4rem; border-bottom: 1px solid var(--line); text-decoration: none;
              background-color: #10151b; transition: background-color .2s ease, padding .2s ease; }
.social-row .platform { font-family: var(--display); font-size: 1.12rem; letter-spacing: .03em; color: #e8eaec; }
.social-row .handle { color: #aab6bf; font-size: .82rem; }
.social-row:hover { background-color: #141b22; padding-left: .8rem; }
.social-row:hover .platform { color: #ddc25e; }

/* subpages */
.page-top { padding: 2.6rem 0 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 2.2rem; }
.page-top h1 { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 4.2vw, 2.7rem);
               line-height: 1.08; letter-spacing: .02em; text-transform: uppercase; margin: .15rem 0 .8rem; }
.page-top .lead { color: #aab6bf; max-width: 64ch; margin: 0; }
.reading { max-width: 78ch; }
.story { margin: 0 0 2.4rem; }
.story h2 { font-size: clamp(1.15rem, 2.3vw, 1.45rem); }
.story p { color: #cfd6db; margin: 0 0 1rem; }
.dot-list { list-style: none; margin: 0; padding: 0; }
.dot-list li { color: #cfd6db; font-size: .9rem; padding: .5rem 0 .5rem 1.15rem; position: relative;
               border-bottom: 1px dashed #232c34; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 4px;
                       border-radius: 2px; background-color: #8a7258; }
.credit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.7rem; margin-top: 1rem; }
.credit-col h3 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
                 color: #d3b45a; margin: 0 0 .5rem; font-weight: 400; }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { color: #cfd6db; font-size: .88rem; padding: .32rem 0; border-bottom: 1px dashed #232c34; }
.stat-strip { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .4rem; }
.stat { background-color: #10151b; border: 1px solid var(--line); padding: .9rem 1.2rem; min-width: 152px; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.3rem; color: #c8a83f; }
.stat span { color: #aab6bf; font-size: .78rem; }
.qa-list { border-top: 1px solid var(--line); }
.qa-item { border-bottom: 1px solid var(--line); }
.qa-item summary { color: #e8eaec; cursor: pointer; padding: 1rem 0; list-style: none;
                   display: flex; justify-content: space-between; gap: 1rem;
                   font-family: var(--display); font-size: 1rem; letter-spacing: .02em; }
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item summary::after { content: "+"; color: #c8a83f; }
.qa-item[open] summary::after { content: "·"; color: #ddc25e; }
.qa-body p { color: #cfd6db; margin: .2rem 0 1.1rem; max-width: 74ch; }

/* footer */
.site-footer { background-color: #0e1317; border-top: 1px solid var(--line); padding: 2rem 0 2.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr auto 1fr; gap: 1.4rem; align-items: center; }
.footer-brand { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); color: #e8eaec; letter-spacing: .04em; text-transform: uppercase; }
.brand-line { color: #aab6bf; font-size: .75rem; }
.lang-nav { display: flex; flex-wrap: wrap; gap: .3rem .6rem; justify-content: center; }
.lang-nav a { color: #b9c4cc; text-decoration: none; font-size: .75rem; }
.lang-nav a:hover { color: #e8eaec; }
.lang-nav a[aria-current="page"] { color: #ddc25e; }
.footer-legal { color: #9fabb4; font-size: .78rem; margin: 0; text-align: right; }

/* 404 */
.notfound { padding: 4rem 0 5rem; }

@media (max-width: 1020px) {
  .about-grid, .career-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .about-photo { max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .lang-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
}
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-media { position: static; }
  .hero-media img { height: auto; aspect-ratio: 3 / 4; object-position: 50% 10%; }
  .hero-panel { position: static; width: auto; clip-path: none; padding: 1.7rem 1.4rem 2.1rem;
                background: linear-gradient(180deg, #10151b, #0e1317); }
  .rail-edge { display: none; }
  .hero-copy { max-width: none; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .shell, .header-inner { padding-left: 18px; padding-right: 18px; }
  .header-inner { gap: .5rem .9rem; }
  .main-nav { gap: .55rem .8rem; }
  .main-nav a { font-size: .76rem; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 120px; }
  .partner-card img { max-width: 130px; max-height: 50px; }
  .qcards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .credit-grid { grid-template-columns: 1fr; }
  .social-row { flex-direction: column; gap: .15rem; }
  .section { padding: 2.3rem 0; }
}
