/* cody-cummings.com · Lantern */
:root {
  --bg: #f8f2e4;
  --panel: #fffaf0;
  --panel-2: #fdf4e2;
  --ink: #35291b;
  --soft: #4f4230;
  --muted: #6d5b44;
  --copper: #8a5a2a;
  --copper-dark: #6b4319;
  --candle: #d98a3e;
  --line: #e3d5b8;
  --hair: #ede1c9;
  --radius: 16px;
  --shell: 1140px;
  --display: 'Inknut Antiqua', Georgia, 'Times New Roman', serif;
  --body: 'IBM Plex Sans Condensed', 'Segoe UI', 'Helvetica Neue', sans-serif;
}
* { box-sizing: border-box; }
html { background: #f8f2e4; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxODAnIGhlaWdodD0nMTgwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC45JyBudW1PY3RhdmVzPScyJyBzdGl0Y2hUaWxlcz0nc3RpdGNoJy8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9JzE4MCcgaGVpZ2h0PScxODAnIGZpbHRlcj0ndXJsKCUyM24pJyBvcGFjaXR5PScwLjUnLz48L3N2Zz4=");
  background-repeat: repeat;
}
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: 700; font-size: clamp(1.5rem, 3vw, 2.05rem);
     line-height: 1.16; margin: 0 0 .6rem; letter-spacing: -.005em; }
.eyebrow { font-family: var(--display); font-weight: 500; font-size: .76rem; letter-spacing: .16em;
           text-transform: uppercase; color: var(--copper); margin: 0 0 .55rem; }
.section-sub { color: var(--muted); max-width: 64ch; margin: 0 0 1.5rem; }
.note { color: var(--muted); font-size: .88rem; margin: 1rem 0 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(248, 242, 228, .94);
               border-bottom: 1px solid var(--hair); backdrop-filter: blur(9px); }
.header-inner { display: flex; align-items: center; justify-content: space-between;
                gap: 1rem; padding: .7rem 24px; flex-wrap: wrap; }
.wordmark { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--display);
            font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; text-decoration: none;
            color: var(--ink); white-space: nowrap; }
.wordmark svg { display: block; }
.main-nav { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.main-nav a { color: var(--muted); text-decoration: none; font-size: .93rem; position: relative;
              padding: .15rem 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
                     background: var(--candle); border-radius: 2px; transition: width .22s ease; }
.main-nav a:hover { color: var(--copper); }
.main-nav a:hover::after { width: 100%; }
.main-nav a[aria-current="page"] { color: var(--copper); }
.main-nav a[aria-current="page"]::after { width: 100%; background: var(--copper); }
.btn { display: inline-flex; align-items: center; gap: .45rem; background: var(--copper); color: #fdf6e7;
       font-family: var(--display); font-weight: 500; font-size: .95rem; border-radius: 999px;
       padding: .66rem 1.25rem; text-decoration: none;
       transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.btn:hover { background: var(--copper-dark); color: #fffdf6; transform: translateY(-1px);
             box-shadow: 0 10px 26px rgba(107, 67, 25, .28); }
.btn-sm { padding: .42rem 1rem; font-size: .85rem; }
.main-nav a.btn { color: #fdf6e7; padding: .46rem 1.02rem; font-size: .85rem; }
.main-nav a.btn::after { display: none; }
.main-nav a.btn:hover { color: #fffdf6; background: var(--copper-dark); }

/* hero */
.hero { padding: 2.6rem 0 2rem; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.06fr; gap: 2.6rem; align-items: center; }
.hero-text { position: relative; }
.hero-wash { position: absolute; top: -34px; left: -40px; width: min(132%, 540px); height: auto;
             pointer-events: none; z-index: 0; }
.hero-text > * { position: relative; z-index: 1; }
.hero-kicker { font-family: var(--display); font-weight: 500; font-size: .78rem; letter-spacing: .17em;
               text-transform: uppercase; color: var(--copper); margin: 0 0 .95rem; }
.hero-title { font-family: var(--display); font-weight: 700; font-size: clamp(2.3rem, 5.4vw, 3.9rem);
              line-height: 1.04; margin: 0 0 1rem; }
.hero-title span { display: block; }
.hero-title .accent { color: var(--copper); }
.hero-tagline { font-family: var(--display); font-weight: 500; font-size: 1.14rem; line-height: 1.5;
                margin: 0 0 .9rem; max-width: 36ch; }
.hero-intro { color: var(--soft); max-width: 50ch; margin: 0 0 1.55rem; }
.hero-figure { position: relative; margin: 0; }
.hero-figure::before { content: ""; position: absolute; inset: -26px -18px auto; height: 72%;
                       background: radial-gradient(closest-side, rgba(217, 138, 62, .22), rgba(217, 138, 62, 0) 72%);
                       z-index: 0; pointer-events: none; }
.hero-handle { display: block; width: 210px; margin: 0 auto -12px; position: relative; z-index: 2; }
.hero-photo { position: relative; z-index: 1; border: 1px solid var(--line); border-radius: 18px;
              overflow: hidden; background: var(--panel); box-shadow: 0 22px 50px rgba(84, 58, 28, .18); }
.hero-photo img { display: block; width: 100%; height: auto; }

/* sections */
.section { padding: 2.7rem 0; }
.section-tight { padding-top: 1.2rem; }
.section-last { padding-bottom: 4.2rem; }

/* 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: 12px; background: var(--panel);
                transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.partner-card:hover { border-color: var(--candle); box-shadow: 0 12px 26px rgba(138, 90, 42, .16);
                      transform: translateY(-2px); }
.partner-card img { max-width: 186px; max-height: 64px; width: auto; height: auto; object-fit: contain; }

/* lantern cards */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lantern-card { position: relative; padding: 1.3rem 1.3rem 1.2rem; border: 1px solid var(--line);
                border-radius: 16px; overflow: hidden;
                background-image: repeating-linear-gradient(90deg, rgba(138, 90, 42, .06) 0 1px, transparent 1px 15px),
                                  linear-gradient(180deg, var(--panel), var(--panel-2));
                box-shadow: 0 14px 30px rgba(84, 58, 28, .09); }
.lantern-card::before { content: ""; position: absolute; top: 0; left: 15%; right: 15%; height: 6px;
                        border-radius: 0 0 8px 8px;
                        background: linear-gradient(90deg, var(--copper), var(--candle));
                        opacity: .8; }
.card-handle { display: block; width: 62px; margin: .1rem auto .75rem; }
.lantern-card h3 { font-family: var(--display); font-weight: 700; font-size: 1.05rem; margin: 0 0 .6rem;
                   color: var(--copper); text-align: center; }
.card-lines { list-style: none; margin: 0; padding: 0; }
.card-lines li { position: relative; padding: .42rem 0 .42rem 1.1rem; color: var(--soft); font-size: .95rem;
                 border-bottom: 1px dashed var(--hair); }
.card-lines li:last-child { border-bottom: 0; }
.card-lines li::before { content: ""; position: absolute; left: 0; top: 1.02em; width: 8px; height: 5px;
                         border: 1.6px solid var(--candle); border-bottom: 0; border-radius: 8px 8px 0 0; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.45fr .9fr; gap: 2.4rem; align-items: start; }
.about-cols { columns: 2; column-gap: 2rem; }
.about-cols p { margin: 0 0 1rem; color: var(--soft); break-inside: avoid; }
.about-quote { margin: 1.1rem 0 0; padding: 1rem 1.2rem; border-left: 3px solid var(--candle);
               background: var(--panel); border-radius: 0 12px 12px 0;
               font-family: var(--display); font-weight: 500; font-size: 1.02rem; line-height: 1.5; }
.about-quote cite { display: block; margin-top: .45rem; font-family: var(--body); font-style: normal;
                    font-size: .82rem; color: var(--muted); }
.float-card { margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 16px;
              background: var(--panel); box-shadow: 0 18px 40px rgba(84, 58, 28, .13);
              transform: translateY(18px); }
.float-card img { display: block; width: 100%; height: auto; border-radius: 10px; }

/* timeline */
.career-split { display: grid; grid-template-columns: 1.02fr .98fr; gap: 2.4rem; align-items: start; }
.career-text p { color: var(--soft); margin: 0 0 1rem; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.7rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; top: .5rem; bottom: .6rem; width: 2px;
                    background: linear-gradient(180deg, var(--candle), rgba(217, 138, 62, .22));
                    border-radius: 2px; }
.timeline li { position: relative; padding: 0 0 1.12rem; }
.timeline li:last-child { padding-bottom: .2rem; }
.timeline li::before { content: ""; position: absolute; left: -1.7rem; top: .48em; width: 15px; height: 9px;
                       margin-left: -8.5px; border: 2px solid var(--candle); border-bottom: 0;
                       border-radius: 15px 15px 0 0; background: var(--bg); }
.timeline .when { display: block; font-family: var(--display); font-weight: 500; font-size: .84rem;
                  color: var(--copper); margin-bottom: .1rem; }
.timeline .what { display: block; color: var(--soft); font-size: .96rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tile { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
        background: var(--panel); box-shadow: 0 14px 30px rgba(84, 58, 28, .11); }
.tile img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tile-1 img { object-position: 50% 0%; }
.tile-2 img { object-position: 53% 50%; }
.tile-3 img { object-position: 50% 50%; }
.tile-4 img { object-position: 77% 50%; }

/* photo credit */
.credit { color: var(--muted); font-size: .84rem; margin: .9rem 0 0; max-width: 74ch; }

/* social */
.social-list { border-top: 1px solid var(--line); }
.social-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1.1rem;
              padding: 1.05rem .4rem; border-bottom: 1px solid var(--line); text-decoration: none;
              transition: background .2s ease, box-shadow .2s ease, padding .2s ease; }
.social-row .platform { font-family: var(--display); font-weight: 700; font-size: clamp(1.05rem, 2.2vw, 1.38rem);
                        color: var(--ink); }
.social-row .handle { color: var(--muted); font-size: .92rem; }
.social-row:hover { background: var(--panel); box-shadow: inset 3px 0 0 var(--candle); padding-left: .85rem; }
.social-row:hover .platform { color: var(--copper); }

/* subpages */
.page-top { padding: 2.4rem 0 1.2rem; border-bottom: 1px solid var(--line); margin-bottom: 2.2rem; }
.page-top h1 { font-family: var(--display); font-weight: 700; font-size: clamp(1.85rem, 4.4vw, 2.75rem);
               line-height: 1.08; margin: .1rem 0 .7rem; }
.page-top .lead { color: var(--muted); max-width: 64ch; margin: 0; }
.reading { max-width: 76ch; }
.story { margin: 0 0 2.4rem; }
.story h2 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); 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 { position: relative; color: var(--soft); padding: .5rem 0 .5rem 1.15rem;
               border-bottom: 1px dashed var(--hair); }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 1.06em; width: 8px; height: 5px;
                       border: 1.6px solid var(--candle); border-bottom: 0; border-radius: 8px 8px 0 0; }
.credit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; margin-top: 1.1rem; }
.credit-col h3 { font-family: var(--display); font-weight: 500; font-size: .76rem; letter-spacing: .15em;
                 text-transform: uppercase; color: var(--copper); margin: 0 0 .5rem; }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { color: var(--soft); font-size: .93rem; padding: .3rem 0; border-bottom: 1px dashed var(--hair); }
.stat-strip { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .4rem; }
.stat { border: 1px solid var(--line); border-radius: 12px; background: var(--panel);
        padding: .85rem 1.2rem; min-width: 150px; }
.stat b { display: block; font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--copper); }
.stat span { color: var(--muted); font-size: .84rem; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1.02rem 0; }
.faq-list summary { font-family: var(--display); font-weight: 500; font-size: 1.04rem; 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(--copper); font-family: var(--display); }
.faq-list details[open] summary::after { content: "×"; color: var(--candle); }
.faq-list .answer p { color: var(--soft); margin: .7rem 0 0; max-width: 72ch; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: #f3e9d3; padding: 1.9rem 0 2.1rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 1.1rem; align-items: center; }
.footer-brand { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; }
.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(--copper); }
.language-nav a[aria-current="page"] { color: var(--copper); }
.footer-legal { color: var(--muted); font-size: .84rem; margin: 0; text-align: right; }

/* 404 */
.notfound { padding: 4rem 0 5rem; }
.notfound .lead { color: var(--muted); margin: 0 0 1.6rem; }

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.9rem; }
  .hero-wash { left: -16px; }
  .hero-figure { max-width: 660px; }
  .about-grid, .career-split { grid-template-columns: 1fr; gap: 1.8rem; }
  .about-cols { columns: 1; }
  .float-card { transform: none; max-width: 430px; }
  .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: .5rem .9rem; }
  .main-nav { gap: .6rem .85rem; }
  .main-nav a { font-size: .86rem; }
  .hero { padding: 1.8rem 0 1.4rem; }
  .hero-wash { left: 0; top: -12px; width: 100%; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 118px; }
  .partner-card img { max-width: 128px; max-height: 50px; }
  .card-grid, .credit-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .social-row { flex-direction: column; gap: .15rem; }
  .section { padding: 2.2rem 0; }
}
