/* christine426.com — static rebuild of the original Creatorlink design.
   Values measured from the live site on 2026-10-28. */
:root {
  --bg: #050505;
  --text: #f5f5f5;
  --text-soft: #ebe8eb;
  --rule: rgba(128, 128, 128, 0.45);
  --overlay: rgba(0, 0, 0, 0.7);
  --wrap: 1140px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 13px/1.8 Lora, "Nanum Gothic", serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 30px); margin: 0 auto; padding: 0 15px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 79px; padding: 0 70px; }
.logo { font: 700 16px/1.3 Lora, serif; letter-spacing: 0.15em; color: #fff; padding: 5px 0; }
.site-nav { display: flex; gap: 0; }
.site-nav a { font: 400 12px/30px Lora, serif; letter-spacing: 0.3em; color: #fff; padding: 0 0 0 40px; transition: opacity .2s; }
.site-nav a:hover { opacity: .7; }
.site-nav a.active { text-decoration: line-through; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: #fff; }

/* home */
.intro { font: 400 13px/1.6 "Open Sans", "Nanum Gothic", sans-serif; color: #a9a6a9; letter-spacing: .02em; margin: 6px 0 22px; }
.home-section:first-child .section-title { padding-top: 20px; }
.section-title { font: 400 22px/1.1 "NanumSquare", "Nanum Square", "Nanum Gothic", sans-serif; color: var(--text-soft); margin: 0; padding: 0 0 10px; }
.section-title.center { text-align: center; letter-spacing: .1em; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
@media (min-width: 992px) { .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.card figure { position: relative; margin: 0; aspect-ratio: 2 / 1; overflow: hidden; background: #111; }
.card img, .card video { display: block; width: 100%; height: 100%; object-fit: cover; }
.card figure::after { content: ""; position: absolute; inset: 0; background: transparent; transition: background-color .4s ease-in-out; }
.card figcaption { position: absolute; z-index: 1; top: 50%; left: 0; width: 100%; padding: 20px 15px 30px; transform: translateY(-50%); text-align: center; opacity: 0; transition: opacity .4s ease-in-out; }
.card:hover figure::after, .card:focus-visible figure::after { background: var(--overlay); }
.card:hover figcaption, .card:focus-visible figcaption { opacity: 1; }
.card h5 { font: 400 15px/1.5 Roboto, "Nanum Gothic", sans-serif; letter-spacing: 0.03em; color: #fff; margin: 0 0 4px; }
.card .cap { font: 400 13px/1.5 "Open Sans", "Noto Sans KR", sans-serif; color: #fff; margin: 0; }
.divider { border: 0; height: 1px; margin: 40px 0; background: linear-gradient(to right, rgba(127,127,127,0), rgba(127,127,127,.75), rgba(127,127,127,0)); }

/* project pages */
.project { padding-top: 40px; padding-bottom: 60px; }
.project-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; }
.project-title { font: 700 15px/1.5 "Nanum Gothic", sans-serif; color: var(--text); margin: 0; }
.pager { display: flex; gap: 7px; flex-shrink: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 10px 36px; margin: 18px 0 0; font: 400 12px/1.5 "Open Sans", "Nanum Gothic", sans-serif; }
.meta dt { color: #8d8a8d; text-transform: uppercase; letter-spacing: .12em; font-size: 10.5px; margin-bottom: 2px; }
.meta dd { margin: 0; color: var(--text-soft); max-width: 460px; }
.pn { width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: #fff; transition: background .2s; }
.pn:hover { background: rgba(255,255,255,.12); }
.pn.disabled { opacity: .25; }
.desc { font: 400 13px/1.5 "Open Sans", "Nanum Gothic", sans-serif; color: var(--text-soft); margin: 0 0 40px; max-width: 100%; }
.desc p { margin: 0 0 1em; }
.desc strong { font-weight: 700; }
.subhead { margin: 50px 0 20px; }
.subhead h3 { font: 700 17px/1.5 "Nanum Gothic", sans-serif; color: var(--text); margin: 0; }
.subhead p { font: 400 13px/1.5 "Open Sans", "Nanum Gothic", sans-serif; color: var(--text-soft); margin: 4px 0 0; }
.media { margin: 0 0 50px; }
.media img, .media > video { width: 100%; display: block; }
.media.video { position: relative; aspect-ratio: 16 / 9; }
.media.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.anchor { display: block; position: relative; top: -90px; visibility: hidden; }

/* carousel */
.carousel { position: relative; margin: 0 0 50px; overflow: hidden; }
.carousel .track { display: flex; transition: transform .5s cubic-bezier(.645,.045,.355,1); }
.carousel .track img { flex: 0 0 100%; width: 100%; }
.carousel button { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.35); color: #fff; border: 0; width: 44px; height: 44px; font-size: 30px; cursor: pointer; }
.carousel .prev { left: 10px; } .carousel .next { right: 10px; }
.carousel .dots { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; }
.carousel .dots i { display: inline-block; width: 9px; height: 9px; margin: 0 3px; border-radius: 50%; background: rgba(255,255,255,.35); cursor: pointer; }
.carousel .dots i.on { background: #fff; }

/* photography, resume, reel */
.photo-page { padding-bottom: 40px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 19px; margin-top: 30px; }
.photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.single { padding-top: 30px; padding-bottom: 60px; }
.resume { width: 100%; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.9); display: none; align-items: center; justify-content: center; cursor: zoom-out; }
.lb.on { display: flex; }
.lb img { max-width: 92vw; max-height: 92vh; }

/* footer */
.site-footer { padding: 20px 0 40px; color: var(--text-soft); }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.find-me { display: flex; align-items: center; gap: 0; font: 400 20px/1.3 Abel, "Nanum Gothic", sans-serif; }
.find-me .dash { display: inline-block; width: 25px; border-bottom: 2px solid #cbcbcb; margin-right: 67px; }
.contact { display: grid; grid-template-columns: 110px 1fr; row-gap: 21px; margin: 3px 0 0; font: 400 12px/1 "Droid Serif", Lora, "Nanum Gothic", serif; }
.contact dt, .contact dd { margin: 0; }
.goto-top { position: fixed; right: 70px; bottom: 42px; width: 34px; height: 34px; z-index: 40; opacity: .8; }
.goto-top::before { content: ""; position: absolute; left: 11px; top: 14px; width: 10px; height: 10px; border-left: 1.5px solid #bbb; border-top: 1.5px solid #bbb; transform: rotate(45deg); }
.goto-top:hover { opacity: 1; }

/* responsive */
@media (max-width: 767px) {
  .header-inner { padding: 0 15px; }
  .footer-inner { grid-template-columns: 1fr; row-gap: 24px; }
  .goto-top { right: 15px; bottom: 20px; }
  .site-nav { display: none; position: absolute; top: 79px; left: 0; right: 0; flex-direction: column; background: var(--bg); padding: 10px 15px 20px; }
  .nav-open .site-nav { display: flex; }
  .site-nav a { padding: 6px 0; }
  .nav-toggle { display: block; }
  .section-title { font-size: 16px; }
  .photo-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .project-top { flex-direction: column; gap: 16px; }
  .card figcaption { padding: 0 5px 5px; }
}

/* Case study reading and navigation; original homepage styling is unchanged. */
.subhead h2 { font: 700 17px/1.5 "Nanum Gothic", sans-serif; margin: 0; }
.project .desc { line-height: 1.8; max-width: 850px; margin-bottom: 24px; }
.project .media img { object-fit: contain; max-height: 900px; }
.media-caption { font: 400 12px/1.6 "Open Sans", sans-serif; color: #aaa; margin: -34px 0 40px; }
.project-link { font: 400 13px/1.8 "Open Sans", sans-serif; margin: 24px 0 40px; }
.project-link a, .project-sections a { text-decoration: underline; text-underline-offset: 4px; }
.project-sections { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 0 0 36px; font: 400 12px/1.8 "Open Sans", sans-serif; }
.project a:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
@media (max-width: 767px) { .project { padding-top: 24px; } .project .media { margin-bottom: 32px; } .media-caption { margin-top: -20px; } }
.project .media:has(+ .media-caption) { margin-bottom: 12px; }
.project .media-caption { margin: 0 0 40px; }
img, video { -webkit-user-drag: none; -webkit-touch-callout: none; user-select: none; }

/* Show the full animated ivy study with black breathing room. */
.card[href="projects/ivy-generator.html"] figure { background: #000; }
.card[href="projects/ivy-generator.html"] img {
  object-fit: contain;
  object-position: center;
  padding: 12px 0;
  background: #000;
}
