/* caseycalvertweb.com · Typewriter */
:root {
  --paper: #f6f1e7;
  --card: #fffdf8;
  --ink: #1c1a17;
  --soft: #4a453c;
  --stamp: #a63a2b;
  --stamp-dark: #8c2f22;
  --line: rgba(28, 26, 23, .3);
  --line-soft: rgba(28, 26, 23, .16);
  --shell: 1180px;
  --display: 'Special Elite', 'Courier Prime', 'Courier New', monospace;
  --body: 'Courier Prime', 'Courier New', Courier, monospace;
}
* { box-sizing: border-box; }
html { background: #f6f1e7; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxNDAnIGhlaWdodD0nMTQwJz48ZmlsdGVyIGlkPSdwJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC45JyBudW1PY3RhdmVzPScyJyBzdGl0Y2hUaWxlcz0nc3RpdGNoJy8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9JzE0MCcgaGVpZ2h0PScxNDAnIGZpbHRlcj0ndXJsKCUyM3ApJyBvcGFjaXR5PScwLjYnLz48L3N2Zz4=");
  background-repeat: repeat;
}
img { max-width: 100%; }
a { color: inherit; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 26px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.14; margin: 0 0 .65rem; }
.eyebrow { font-family: var(--display); font-size: .8rem; letter-spacing: .13em;
           text-transform: uppercase; color: var(--stamp); margin: 0 0 .55rem; }
.section-sub { color: var(--soft); max-width: 64ch; margin: 0 0 1.6rem; }
.note { color: var(--soft); font-size: .86rem; margin: 1rem 0 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--paper);
               border-bottom: 1px dashed var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between;
                gap: 1.1rem; padding: .75rem 26px; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-size: 1.22rem; letter-spacing: .01em;
            text-decoration: none; color: var(--ink); white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.main-nav a { color: #4a453c; text-decoration: none; font-size: .9rem; padding: .12rem 0;
              border-bottom: 1px solid transparent; }
.main-nav a:hover { color: #a63a2b; border-bottom-color: #a63a2b; }
.main-nav a[aria-current="page"] { color: #1c1a17; border-bottom-color: #1c1a17; }
.main-nav .sep { color: rgba(28, 26, 23, .38); font-size: .85rem; }
.main-nav a.btn { color: #f6f1e7; background: #a63a2b; border-bottom-color: transparent;
                  padding: .45rem .85rem; font-size: .83rem; }
.main-nav a.btn:hover { color: #ffffff; background: #8c2f22; border-bottom-color: transparent; }
.btn { display: inline-block; background: var(--stamp); color: #f6f1e7;
       font-family: var(--display); font-size: .95rem; letter-spacing: .05em;
       padding: .6rem 1.15rem; text-decoration: none; border: 1px dashed rgba(246, 241, 231, .7);
       outline: 1px solid var(--stamp); outline-offset: 3px; transform: rotate(-.5deg); }
.btn:hover { background: var(--stamp-dark); color: #ffffff; }

/* hero */
.hero { padding: 2.1rem 0 2.5rem; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 3rem; align-items: center; }
.hero-kicker { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
               color: var(--stamp); margin: 0 0 .7rem; }
.hero-title { font-family: var(--display); font-size: clamp(2.3rem, 5.4vw, 3.7rem);
              line-height: 1.02; margin: 0 0 .8rem; }
.hero-tagline { font-family: var(--display); font-size: 1.14rem; line-height: 1.42;
                margin: 0 0 .8rem; }
.hero-intro { color: var(--soft); max-width: 52ch; margin: 0 0 1.5rem; }
.hero-photo { margin: 0; position: relative; }
.hero-photo .print { display: block; background: var(--card); padding: 13px;
                     border: 1px solid var(--line-soft); transform: rotate(.55deg);
                     box-shadow: 0 20px 44px rgba(28, 26, 23, .17), 0 2px 0 rgba(28, 26, 23, .07); }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5;
                  object-fit: cover; object-position: 50% 0%; }
.clip { position: absolute; top: -15px; left: 38px; width: 24px; height: 62px;
        border: 2px solid #9a9285; border-radius: 11px; transform: rotate(7deg); z-index: 2; }
.clip::before { content: ""; position: absolute; inset: 5px 5px 9px; border: 2px solid #b6ada0;
                border-radius: 7px; }

/* sections */
.section { padding: 2.8rem 0; border-top: 1px dashed var(--line); }
.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;
                background: var(--card); border: 1px dashed var(--line); border-radius: 4px;
                transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.partner-card:hover { border-color: var(--stamp); box-shadow: 0 10px 24px rgba(28, 26, 23, .12);
                      transform: translateY(-2px); }
.partner-card img { max-width: 188px; max-height: 66px; width: auto; height: auto; object-fit: contain; }

/* quick profile */
.facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem;
         border-top: 1px dashed var(--line); }
.fact { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem;
        padding: .58rem 0; border-bottom: 1px dotted var(--line); }
.fact .k { font-family: var(--display); font-size: .82rem; letter-spacing: .06em;
           text-transform: uppercase; color: var(--stamp); white-space: nowrap; }
.fact .v { text-align: right; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.35fr .8fr; gap: 2.8rem; align-items: start; }
.about-cols p { color: var(--soft); margin: 0 0 1.05rem; }
.float-card { background: var(--card); border: 1px solid var(--line-soft); padding: 13px 13px 16px;
              transform: rotate(-.7deg); box-shadow: 0 18px 40px rgba(28, 26, 23, .15);
              justify-self: end; width: 100%; max-width: 330px; }
.float-card img { display: block; width: 100%; height: auto; }
.float-quote { font-family: var(--display); font-size: 1.02rem; line-height: 1.45;
               margin: .9rem 0 0; }
.float-src { color: var(--soft); font-size: .78rem; margin: .3rem 0 0; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.4rem; }
.duo-card { position: relative; background: var(--card); border: 1px solid var(--line-soft);
            border-top: 2px dashed var(--line); padding: 1.7rem 1.5rem 1.5rem; }
.duo-card .keycap { position: absolute; top: -17px; left: 22px; width: 42px; height: 42px;
                    border-radius: 50%; background: var(--paper); border: 1px solid var(--line);
                    box-shadow: inset 0 -3px 0 rgba(28, 26, 23, .12), 0 2px 0 rgba(28, 26, 23, .1);
                    display: flex; align-items: center; justify-content: center;
                    font-family: var(--display); font-size: 1.02rem; color: var(--stamp); }
.duo-card h3 { font-size: 1.06rem; margin: .1rem 0 .55rem; }
.duo-card p { color: var(--soft); margin: 0; font-size: .95rem; }

/* career */
.career-grid { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
.career-text p { color: var(--soft); margin: 0 0 1rem; max-width: 74ch; }
.timeline { list-style: none; margin: .4rem 0 0; padding: 0; columns: 2; column-gap: 3rem; }
.timeline li { break-inside: avoid; position: relative; padding: .5rem 0 .5rem 1.25rem;
               font-size: .95rem; }
.timeline li::before { content: "-"; position: absolute; left: 0; top: .5rem;
                       color: var(--stamp); font-family: var(--display); }
.timeline .when { font-family: var(--display); font-weight: 400; }
.timeline .what { color: var(--soft); }

/* gallery */
.gallery { display: grid; grid-template-columns: 1.06fr .94fr; gap: 30px; align-items: start; }
.shot { margin: 0; background: #fff; padding: 12px 12px 44px; border: 1px solid var(--line-soft);
        box-shadow: 0 16px 34px rgba(28, 26, 23, .15); }
.shot img { display: block; width: 100%; height: auto; }
.shot-left { transform: rotate(-.6deg); }
.shot-stack { display: grid; gap: 30px; }
.shot-r1 { transform: rotate(.7deg); margin-top: 46px; }
.shot-r2 { transform: rotate(-.5deg); }

/* social */
.social-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem;
               border-top: 1px dashed var(--line); }
.social-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
              padding: .78rem 0; border-bottom: 1px dotted var(--line); text-decoration: none;
              transition: border-color .18s ease; }
.social-row .platform { font-family: var(--display); font-size: .98rem; }
.social-row .handle { color: var(--soft); font-size: .9rem; text-align: right; }
.social-row:hover { border-bottom-color: var(--stamp); }
.social-row:hover .platform { color: var(--stamp); }

/* subpages */
.page-top { padding: 2.3rem 0 1.5rem; border-bottom: 1px dashed var(--line); margin-bottom: 2.2rem; }
.page-top h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); line-height: 1.04; margin: .1rem 0 .7rem; }
.page-top .lead { color: var(--soft); max-width: 62ch; margin: 0; }
.reading { max-width: 78ch; border-left: 1px dashed rgba(166, 58, 43, .38);
           padding-left: 1.7rem; }
.story { margin: 0 0 2.3rem; }
.story h2 { font-size: clamp(1.2rem, 2.4vw, 1.55rem); border-top: 1px dashed var(--line-soft);
            padding-top: .85rem; margin: 0 0 .75rem; }
.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: .5rem 0 .5rem 1.15rem; position: relative;
               border-bottom: 1px dotted var(--line); }
.dot-list li::before { content: "-"; position: absolute; left: 0; top: .5rem;
                       color: var(--stamp); font-family: var(--display); }
.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: .82rem; letter-spacing: .1em;
                 text-transform: uppercase; color: var(--stamp); margin: 0 0 .5rem; }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { color: var(--soft); font-size: .89rem; padding: .32rem 0;
                 border-bottom: 1px dotted var(--line-soft); }
.stat-strip { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .4rem; }
.stat { border: 1px dashed var(--line); background: var(--card); padding: .85rem 1.2rem;
        min-width: 150px; }
.stat b { display: block; font-family: var(--display); font-size: 1.35rem; color: var(--stamp); }
.stat span { color: var(--soft); font-size: .82rem; }
.faq details { border-bottom: 1px dashed var(--line); padding: .95rem 0; }
.faq summary { font-family: var(--display); font-size: 1rem; line-height: 1.4; cursor: pointer;
               list-style: none; display: flex; gap: .6rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ">"; color: var(--stamp); flex: 0 0 auto; }
.faq details[open] summary::before { color: var(--ink); }
.faq .answer p { color: var(--soft); margin: .6rem 0 0 1.25rem; max-width: 72ch; }

/* footer */
.site-footer { border-top: 1px dashed var(--line); background: #f1ebdd; padding: 2rem 0 2.3rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 1.2rem; align-items: center; }
.footer-brand { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); font-size: 1.05rem; }
.brand-line { color: var(--soft); font-size: .83rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: .25rem .95rem; justify-content: center; }
.language-nav a { color: var(--soft); text-decoration: none; font-size: .86rem;
                  border-bottom: 1px solid transparent; }
.language-nav a:hover { color: var(--stamp); border-bottom-color: var(--stamp); }
.language-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.footer-legal { color: var(--soft); font-size: .83rem; margin: 0; text-align: right; }

/* 404 */
.notfound { padding: 4rem 0 4.5rem; }
.notfound .code { font-family: var(--display); font-size: 2.6rem; color: var(--stamp);
                  margin: 0 0 .5rem; }

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-photo { max-width: 480px; }
  .about-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .float-card { justify-self: start; transform: none; }
  .timeline { columns: 1; }
  .gallery { grid-template-columns: 1fr; }
  .shot-r1 { margin-top: 0; }
  .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: 15.5px; }
  .shell, .header-inner { padding-left: 18px; padding-right: 18px; }
  .header-inner { gap: .4rem .8rem; }
  .main-nav { gap: .3rem .6rem; }
  .main-nav .sep { display: none; }
  .main-nav a { font-size: .84rem; }
  .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; }
  .facts { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .shot, .shot-left, .shot-r1, .shot-r2 { transform: none; }
  .social-list { grid-template-columns: 1fr; }
  .reading { border-left: 0; padding-left: 0; }
  .credit-grid { grid-template-columns: 1fr; }
  .section { padding: 2.2rem 0; }
}
