/* cadeymercuryweb.com · Mercury */
:root {
  --bg: #F3F4F6;
  --panel: #FFFFFF;
  --ink: #22303C;
  --body: #46586A;
  --muted: #7C8B99;
  --steel: #5C6F82;
  --steel-dark: #46586A;
  --line: #E2E6EA;
  --line-2: #C9D2DA;
  --magenta: #C2185B;
  --radius: 18px;
  --shell: 1160px;
  --display: 'Rokkitt', Georgia, 'Times New Roman', serif;
  --ui: 'Geologica', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { background: #F3F4F6; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--ui);
  font-size: 17px;
  line-height: 1.68;
  -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: 600; font-size: clamp(1.65rem, 3.1vw, 2.3rem);
     line-height: 1.1; letter-spacing: -.01em; color: var(--ink); margin: .55rem 0 .6rem; }
.eyebrow { font-family: var(--ui); font-weight: 600; font-size: .74rem; letter-spacing: .2em;
           text-transform: uppercase; color: var(--steel); margin: 0; }
.section-sub { color: var(--body); max-width: 62ch; margin: 0; }
.note { color: var(--muted); font-size: .88rem; margin: 1rem 0 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88);
               border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between;
                gap: 1.2rem; padding: .85rem 24px; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-weight: 600; font-size: 1.2rem;
            letter-spacing: -.005em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 1.15rem; flex-wrap: wrap; }
.main-nav a:not(.btn) { color: var(--body); text-decoration: none; font-size: .9rem; font-weight: 500;
              border-bottom: 2px solid transparent; padding-bottom: 2px; transition: color .18s ease; }
.main-nav a:not(.btn):hover { color: var(--magenta); }
.main-nav a:not(.btn)[aria-current="page"] { color: var(--ink); border-bottom-color: var(--steel); }
.btn { display: inline-flex; align-items: center; background: var(--steel); color: #FFFFFF;
       font-family: var(--ui); font-weight: 600; font-size: .92rem; border-radius: 999px;
       padding: .7rem 1.35rem; text-decoration: none;
       transition: background .18s ease, box-shadow .18s ease, transform .18s ease; }
.btn:hover { background: var(--steel-dark); box-shadow: 0 10px 26px rgba(70, 88, 106, .28);
             transform: translateY(-1px); color: #FFFFFF; }
.btn-sm { padding: .45rem 1rem; font-size: .84rem; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 2.35rem 0 2.3rem;
        background: radial-gradient(58% 46% at 50% 0%, #FFFFFF 0%, rgba(255, 255, 255, 0) 72%); }
.arc { position: absolute; width: 780px; height: 780px; border: 1px solid var(--line-2);
       border-radius: 50%; top: 60px; pointer-events: none; }
.arc-l { left: -350px; }
.arc-r { right: -350px; }
.hero-inner { position: relative; text-align: center; }
.hero-kicker { display: inline-block; max-width: 100%;
               font-family: var(--ui); font-weight: 600; font-size: .74rem;
               letter-spacing: .2em; text-transform: uppercase; color: var(--steel); margin: 0; }
.hero-kicker::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
                       background: var(--magenta); margin-right: .55rem; vertical-align: .06em; }
.hero-title { font-family: var(--display); font-weight: 600; font-size: clamp(2.3rem, 5.4vw, 3.8rem);
              line-height: 1.02; letter-spacing: -.015em; margin: .7rem 0 .5rem; color: var(--ink); }
.hero-tagline { font-family: var(--display); font-weight: 400; font-size: clamp(1.05rem, 2vw, 1.26rem);
                color: var(--steel); margin: 0 auto .6rem; max-width: 44ch; }
.hero-intro { color: var(--body); max-width: 64ch; margin: 0 auto 1.35rem; }
.hero-cta { margin: 0; }
.hero-photo { position: relative; width: clamp(260px, 28vw, 380px); margin: 1.7rem auto 0;
              aspect-ratio: 3 / 4; border-radius: 26px; overflow: hidden;
              border: 1px solid var(--line); background: var(--panel);
              box-shadow: 0 34px 70px rgba(70, 88, 106, .16); }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover;
                  object-position: center 15%; }

/* sections */
.section { padding: 2.9rem 0; }
.section-tight { padding-top: 1.2rem; }
.section-last { padding-bottom: 4.2rem; }
.sec-head { margin-bottom: 1.6rem; }
.arc-mark { display: inline-block; width: 22px; height: 22px; border-top: 1.5px solid var(--line-2);
            border-left: 1.5px solid var(--line-2); border-top-left-radius: 100%;
            margin-right: .6rem; vertical-align: -4px; }

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

/* quick profile */
.facts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
              gap: 14px; list-style: none; margin: 0; padding: 0; }
.fact { background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
        padding: 1rem 1.15rem; }
.fact .k { display: block; font-family: var(--ui); font-weight: 600; font-size: .68rem;
           letter-spacing: .16em; text-transform: uppercase; color: var(--steel); margin-bottom: .3rem; }
.fact .v { display: block; font-size: .98rem; font-weight: 500; color: var(--ink); }

/* about */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2.6rem; align-items: center; }
.about-photo { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
               background: var(--panel); box-shadow: 0 26px 60px rgba(70, 88, 106, .14); }
.about-photo img { display: block; width: 100%; height: auto; }
.about-cols { columns: 2; column-gap: 2.4rem; }
.about-cols p { color: var(--body); margin: 0 0 1rem; break-inside: avoid; }

/* career split */
.career-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.8rem; align-items: start; }
.career-text p { color: var(--body); margin: 0 0 1rem; }

/* droplet timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.5rem; border-left: 1px solid var(--line-2); }
.timeline li { position: relative; padding: 0 0 1.4rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -1.5rem; top: .42em;
                       width: 10px; height: 10px; margin-left: -6px; background: var(--steel);
                       border: 2px solid #FFFFFF; border-radius: 50% 50% 50% 0;
                       transform: rotate(-45deg); box-shadow: 0 2px 6px rgba(70, 88, 106, .35); }
.timeline .when { display: block; font-family: var(--ui); font-weight: 600; font-size: .8rem;
                  color: var(--steel); margin-bottom: .15rem; }
.timeline .what { display: block; color: var(--body); font-size: .96rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.gallery figure { margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
                  background: var(--panel); box-shadow: 0 20px 46px rgba(70, 88, 106, .12); }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.g-a { margin-top: 26px; }
.g-b { margin-top: 0; }
.g-c { margin-top: 52px; }
.g-b img { object-position: center 28%; }

/* subpages */
.page-top { padding: 2.9rem 0 1.6rem; text-align: center; }
.page-top h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4.6vw, 3rem);
               letter-spacing: -.015em; line-height: 1.03; color: var(--ink); margin: .6rem 0 .7rem; }
.page-top .lead { color: var(--body); max-width: 64ch; margin: 0 auto; }
.reading { max-width: 76ch; margin: 0 auto; }
.story { margin: 0 0 2.5rem; }
.story h2 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); margin: 0 0 .8rem; }
.story p { color: var(--body); margin: 0 0 1rem; }
.dot-list { list-style: none; margin: .2rem 0 0; padding: 0;
            display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1.6rem; }
.dot-list li { position: relative; padding: .42rem 0 .42rem 1.05rem; color: var(--body);
               font-size: .95rem; border-bottom: 1px dashed var(--line); }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 1.12em; width: 6px; height: 6px;
                       border-radius: 50%; background: var(--steel); }

/* filmography */
.years { list-style: none; margin: .3rem 0 0; padding: 0; display: grid; gap: .5rem; }
.year { display: grid; grid-template-columns: 64px 1fr 44px; align-items: center; gap: .7rem; }
.year .yr-k { font-family: var(--ui); font-weight: 600; color: var(--steel); font-size: .9rem; }
.year .yr-bar { height: 10px; width: var(--w); min-width: 6px; border-radius: 999px;
                background: linear-gradient(90deg, #C9D2DA, #9FB0BE); }
.year .yr-v { font-family: var(--ui); font-weight: 600; color: var(--ink); text-align: right; }
.title-list { list-style: none; margin: .3rem 0 0; padding: 0; }
.title-list li { display: flex; justify-content: space-between; gap: 1.2rem; padding: .6rem 0;
                 border-bottom: 1px dashed var(--line); }
.title-list .t { color: var(--ink); font-weight: 500; }
.title-list .m { color: var(--muted); font-size: .9rem; text-align: right; }

/* faq */
.faq-list details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq-list summary { font-family: var(--display); font-weight: 600; font-size: 1.06rem; line-height: 1.35;
                    color: var(--ink); 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(--steel); font-family: var(--ui); font-weight: 600; }
.faq-list details[open] summary::after { content: "-"; }
.faq-list .answer p { color: var(--body); margin: .65rem 0 0; max-width: 72ch; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--panel);
               padding: 2rem 0 2.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr auto; gap: 1.2rem; align-items: center; }
.footer-brand { display: flex; flex-direction: column; gap: .1rem; }
.brand-name { font-family: var(--display); font-weight: 600; color: var(--ink); }
.brand-line { color: var(--muted); font-size: .83rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: .3rem .9rem; justify-content: center; }
.language-nav a { color: var(--muted); text-decoration: none; font-size: .86rem; }
.language-nav a:hover { color: var(--magenta); }
.language-nav a[aria-current="page"] { color: var(--steel); font-weight: 600; }
.footer-legal { color: var(--muted); font-size: .83rem; margin: 0; text-align: right; }

/* 404 */
.notfound { padding: 4.2rem 0 5.4rem; text-align: center; }
.notfound h1 { font-family: var(--display); font-weight: 600;
               font-size: clamp(2rem, 4.6vw, 3rem); color: var(--ink); margin: .6rem 0 .7rem; }
.notfound .lead { color: var(--body); max-width: 58ch; margin: 0 auto 1.6rem; }

@media (max-width: 1120px) {
  .arc { display: none; }
}
@media (max-width: 1020px) {
  .about-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .about-cols { columns: 1; }
  .about-photo { max-width: 420px; }
  .career-split { grid-template-columns: 1fr; gap: 1.8rem; }
  .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; padding-top: .7rem; padding-bottom: .7rem; }
  .main-nav { gap: .5rem .8rem; }
  .main-nav a:not(.btn) { font-size: .82rem; }
  .main-nav .btn-sm { padding: .38rem .8rem; font-size: .78rem; }
  .hero { padding-top: 2rem; }
  .hero-kicker { font-size: .68rem; letter-spacing: .16em; text-wrap: balance; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 118px; }
  .partner-card img { max-width: 130px; max-height: 50px; }
  .section { padding: 2.2rem 0; }
  .gallery { grid-template-columns: 1fr; }
  .g-a, .g-b, .g-c { margin-top: 0; }
  .dot-list { grid-template-columns: 1fr; }
  .year { grid-template-columns: 52px 1fr 36px; }
  .title-list li { flex-direction: column; gap: .1rem; }
  .title-list .m { text-align: left; }
}
