/* codylaneweb.com · Wind Chime (memorial archive) */
:root {
  --bg: #f2f6f8;
  --panel: #ffffff;
  --panel-2: #fbfdfe;
  --ink: #22343a;
  --soft: #2b4247;
  --muted: #4d6166;
  --green: #4a7a6a;
  --green-deep: #3f6b5d;
  --green-deep-hover: #345a4e;
  --green-text: #2f5d4f;
  --silver: #8aa8b8;
  --line: #d7e2e7;
  --radius: 14px;
  --shell: 1140px;
  --display: 'Amita', Georgia, serif;
  --body: 'Happy Monkey', 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: #f2f6f8; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.7;
  -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; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; margin: 0 0 0.7rem; }
.eyebrow { font-family: var(--body); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-deep); margin: 0 0 0.6rem; }
.section-sub { color: var(--muted); max-width: 60ch; margin: 0 0 1.6rem; }
.note { color: var(--muted); font-size: 0.86rem; margin: 1rem 0 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(242, 246, 248, 0.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 0.7rem 24px; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 1.1rem; text-decoration: none; color: var(--ink); white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.main-nav a { color: #3a4d52; text-decoration: none; font-size: 0.9rem; padding: 0.1rem 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: #1e3236; }
.main-nav a[aria-current="page"] { color: var(--green-text); border-bottom-color: var(--silver); }
.main-nav a.btn { color: #f7fbfa; background: var(--green-deep); border-radius: 999px; padding: 0.4rem 1rem; font-size: 0.85rem; text-decoration: none; border-bottom: none; }
.main-nav a.btn:hover { color: #ffffff; background: var(--green-deep-hover); }
.btn { display: inline-block; background: var(--green-deep); color: #f7fbfa; font-family: var(--body); font-size: 0.95rem; border: none; border-radius: 999px; padding: 0.72rem 1.5rem; text-decoration: none; }
.btn:hover { background: var(--green-deep-hover); color: #ffffff; }

/* hero */
.hero { padding: 2.4rem 0 1.4rem; text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-kicker { font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green-deep); margin: 0 0 0.6rem; }
.hero-title { font-size: clamp(2.5rem, 6vw, 3.7rem); line-height: 1.02; margin: 0 0 0.5rem; color: #1d3136; }
.hero-dates { color: var(--green-text); font-size: 0.98rem; margin: 0 0 0.8rem; }
.hero-intro { color: var(--muted); max-width: 62ch; margin: 0 0 1.4rem; }
.hero-stage { display: flex; align-items: flex-start; justify-content: center; gap: clamp(10px, 3.5vw, 52px); }
.hero-photo { margin: 0; width: min(292px, 56vw); }
.hero-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.chime { width: clamp(44px, 6.5vw, 86px); height: auto; }
.hero-cta { margin: 1.5rem 0 0; }

/* sections */
.section { padding: 2.6rem 0; }
.section-tight { padding-top: 0.9rem; }
.section-last { padding-bottom: 4rem; }

/* 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: var(--radius); background: var(--panel); }
.partner-card:hover { border-color: #b9ccd6; }
.partner-card img { max-width: 190px; max-height: 66px; width: auto; height: auto; object-fit: contain; }

/* quick profile: chime-tube records */
.record-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
.record { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.85rem 1rem 0.85rem 2rem; }
.record::before { content: ""; position: absolute; left: 0.75rem; top: 0.85rem; bottom: 0.85rem; width: 5px; border-radius: 3px; background: linear-gradient(180deg, #a9c4d2, #4a7a6a); }
.record .k { display: block; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: #42625c; }
.record .v { display: block; color: #203236; }

/* about */
.about-cols { column-count: 2; column-gap: 2.4rem; }
.about-cols p { color: var(--soft); margin: 0 0 1rem; }

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

/* timeline: tube column gradient */
.timeline { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 4px; border-radius: 2px; background: linear-gradient(180deg, #a9c4d2, #4a7a6a); }
.timeline li { position: relative; padding: 0 0 1.05rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -26px; top: 4px; width: 12px; height: 20px; border-radius: 6px; background: linear-gradient(180deg, #b9d0da, #4a7a6a); }
.timeline .when { display: block; font-family: var(--display); font-weight: 400; color: #37615a; font-size: 0.95rem; }
.timeline .what { display: block; color: var(--soft); font-size: 0.97rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.gallery figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 22%; }

/* subpages */
.page-top { padding: 2.3rem 0 1.2rem; border-bottom: 1px solid var(--line); margin-bottom: 2.1rem; }
.page-top h1 { font-size: clamp(2rem, 4.6vw, 2.9rem); line-height: 1.05; margin: 0.15rem 0 0.7rem; }
.page-top .lead { color: var(--muted); max-width: 64ch; margin: 0; }
.reading { max-width: 78ch; }
.story { margin: 0 0 2.2rem; }
.story h2 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); margin: 0 0 0.7rem; }
.story p { color: var(--soft); margin: 0 0 1rem; }
.pull-quote { margin: 1.2rem 0 0; padding: 1.1rem 1.3rem; border-left: 5px solid var(--silver); border-radius: 0 var(--radius) var(--radius) 0; background: var(--panel); }
.pull-quote blockquote { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.35rem; color: #1d3136; }
.pull-quote .quote-src { margin: 0.4rem 0 0; color: var(--muted); font-size: 0.84rem; }
.year-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin-top: 1rem; }
.year-chip { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); padding: 0.6rem 0.7rem; text-align: center; }
.year-chip b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.05rem; color: #37615a; }
.year-chip span { display: block; color: var(--muted); font-size: 0.8rem; }
.credit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; margin-top: 1.1rem; }
.credit-col h3 { font-size: 0.95rem; margin: 0 0 0.5rem; color: #37615a; }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { color: var(--soft); font-size: 0.92rem; padding: 0.32rem 0; border-bottom: 1px dashed #cfe0e5; }
.stat-strip { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.6rem; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 0.85rem 1.2rem; min-width: 150px; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.5rem; color: #37615a; }
.stat span { display: block; color: var(--muted); font-size: 0.84rem; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq-list summary { font-family: var(--body); font-size: 1.02rem; 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(--green-deep); font-weight: 700; }
.faq-list details[open] summary::after { content: "-"; color: var(--green-text); }
.faq-list .answer p { color: var(--soft); margin: 0.6rem 0 0; max-width: 72ch; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: #e8eff2; padding: 1.9rem 0 2.1rem; }
.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); font-weight: 700; }
.brand-line { color: var(--muted); font-size: 0.84rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: 0.3rem 0.9rem; justify-content: center; }
.language-nav a { color: #3c5157; text-decoration: none; font-size: 0.87rem; }
.language-nav a:hover { color: #1e3236; }
.language-nav a[aria-current="page"] { color: var(--green-text); }
.footer-legal { color: var(--muted); font-size: 0.84rem; margin: 0; text-align: right; }

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

@media (max-width: 1020px) {
  .career-split { grid-template-columns: 1fr; gap: 1.6rem; }
  .about-cols { column-count: 1; }
  .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; }
  .main-nav { gap: 0.6rem 0.85rem; }
  .main-nav a { font-size: 0.85rem; }
  .record-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 124px; }
  .partner-card img { max-width: 136px; max-height: 52px; }
  .gallery { grid-template-columns: 1fr; }
  .credit-grid { grid-template-columns: 1fr; }
  .hero-photo { width: min(252px, 60vw); }
  .chime { width: 40px; }
  .section { padding: 2.2rem 0; }
}
