/* candieevansweb.com · Diner design: chrome silver lines, milkshake pink dots,
   checkered counter bands, Chonburi display + Maitree body. */

:root {
  --ink: #2C2C2E;
  --muted: #6E7276;
  --chrome: #9AA0A6;
  --line: #D8DBDE;
  --hair: #EDEFF0;
  --faint: #F5F6F7;
  --bg: #FCFCFA;
  --pink: #F2A9B8;
  --ring: #C3C8CD;
  --shell: 1160px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Maitree', 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

img { max-width: 100%; }

a { color: var(--ink); }

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 22px;
}

/* ------------------------------------------------------- counter band ---- */
.checker {
  height: 14px;
  background-color: #fff;
  background-image:
    repeating-linear-gradient(90deg, #A9AFB5 0 7px, rgba(0, 0, 0, 0) 7px 14px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0) 0 7px, #A9AFB5 7px 14px);
  background-size: 14px 7px, 14px 7px;
  background-repeat: repeat-x, repeat-x;
  background-position: 0 0, 0 7px;
  opacity: .42;
}

/* ------------------------------------------------------------- header ---- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 13px;
  padding-bottom: 13px;
}

.wordmark {
  font-family: 'Chonburi', Georgia, serif;
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.1;
  letter-spacing: .015em;
  text-decoration: none;
  color: var(--ink);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 15px;
}

.main-nav a {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover { color: var(--ink); }

.main-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--chrome);
}

.main-nav .btn { margin-left: 4px; }

/* ------------------------------------------------------------ buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 13px 26px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line);
  transition: background .15s ease, color .15s ease;
}

.btn:hover { background: #fff; color: var(--ink); }

.btn-sm {
  padding: 8px 16px;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line);
}

/* ---------------------------------------------------------------- hero ---- */
.hero { padding: 46px 0 34px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 46px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  margin: 0 0 16px;
  background: var(--pink);
  color: #3B2A2F;
  border-radius: 999px;
  padding: 5px 15px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
}

.hero-title {
  font-family: 'Chonburi', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 5.4vw, 4.15rem);
  line-height: 1.04;
  margin: 0 0 20px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--chrome);
  position: relative;
}

.hero-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
}

.hero-title span { display: block; }

.hero-tagline {
  font-size: 1.12rem;
  font-weight: 500;
  margin: 0 0 14px;
  max-width: 46ch;
}

.hero-intro {
  color: var(--muted);
  margin: 0 0 26px;
  max-width: 52ch;
}

/* --------------------------------------------------------- photo cards ---- */
.photo-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--ring);
  border-radius: 16px;
  padding: 10px;
  box-shadow: inset 0 0 0 1px #F0F1F2, 0 2px 8px rgba(44, 44, 46, .05);
}

.photo-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 9px;
}

.hero-card {
  justify-self: center;
  align-self: center;
  width: fit-content;
  max-width: 100%;
}

.hero-card img {
  width: auto;
  max-width: 100%;
  max-height: min(56vh, 600px);
}

/* ------------------------------------------------------------ sections ---- */
.section { padding: 58px 0; }

.section-tight { padding: 34px 0 46px; }

.section-top-border { border-top: 1px solid var(--hair); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  flex: 0 0 auto;
}

.section-title {
  font-family: 'Chonburi', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.7vw, 2.05rem);
  line-height: 1.2;
  margin: .3em 0 .35em;
}

.section-sub {
  color: var(--muted);
  max-width: 68ch;
  margin: 0 0 28px;
}

/* ----------------------------------------------------------- partners ---- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.partner-card {
  display: block;
  aspect-ratio: 250 / 150;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.partner-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}

.partner-card:hover {
  border-color: var(--chrome);
  box-shadow: 0 5px 16px rgba(44, 44, 46, .09);
}

/* ------------------------------------------------------- quick profile ---- */
.booth-table { margin: 0; }

.booth-row {
  display: grid;
  grid-template-columns: minmax(150px, 27%) 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.booth-row + .booth-row { margin-top: 9px; }

.booth-row dt,
.booth-row dd { margin: 0; padding: 12px 18px; }

.booth-row dt {
  background: var(--faint);
  border-right: 1px solid var(--line);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
}

.booth-row dd { font-weight: 500; }

/* -------------------------------------------------------------- about ---- */
.about-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 48px;
  align-items: start;
  margin-top: 26px;
}

.about-cols p { margin: 0 0 18px; }
.about-cols p:last-child { margin-bottom: 0; }

.about-card {
  width: min(100%, 394px);
  max-width: 100%;
  justify-self: center;
}

.about-card img { width: 100%; }

/* ------------------------------------------------------------- career ---- */
.career-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 46px;
  align-items: start;
  margin-top: 26px;
}

.career-text p { margin: 0 0 16px; }

.career-note {
  color: var(--muted);
  font-size: .93rem;
  border-left: 3px solid var(--chrome);
  padding-left: 14px;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 10px;
  width: 1px;
  background: var(--line);
}

.timeline li {
  position: relative;
  padding: 0 0 24px 34px;
}

.timeline li:last-child { padding-bottom: 0; }

.tl-node {
  position: absolute;
  left: 0;
  top: 5px;
  width: 15px;
  height: 15px;
  border: 1px solid var(--chrome);
  border-radius: 5px;
  background: #fff;
}

.tl-node::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
}

.tl-when {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.tl-what { display: block; }

/* ------------------------------------------------------------ gallery ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
  max-width: 1010px;
  margin-top: 34px;
}

.gallery-card { justify-self: center; width: fit-content; max-width: 100%; }

.gallery-card img { max-width: 100%; }

.gallery-card.g1 { margin-top: 0; }
.gallery-card.g2 { margin-top: 38px; }
.gallery-card.g3 { margin-top: 14px; }

.gallery-card.has-checker::after {
  content: "";
  display: block;
  height: 10px;
  margin-top: 10px;
  border-radius: 4px;
  background-image:
    repeating-linear-gradient(90deg, #A9AFB5 0 5px, rgba(0, 0, 0, 0) 5px 10px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0) 0 5px, #A9AFB5 5px 10px);
  background-size: 10px 5px, 10px 5px;
  background-repeat: repeat-x, repeat-x;
  background-position: 0 0, 0 5px;
  opacity: .45;
}

/* --------------------------------------------------------- page heads ---- */
.page-top { padding: 52px 0 6px; }

.page-title {
  font-family: 'Chonburi', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.95rem, 3.7vw, 3rem);
  line-height: 1.14;
  margin: .25em 0 .35em;
  max-width: 22ch;
}

.lead {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 72ch;
  margin: 0 0 10px;
}

/* ------------------------------------------------------- story / bio ---- */
.story-stack {
  display: grid;
  gap: 38px;
  max-width: 860px;
}

.story h2 {
  font-family: 'Chonburi', Georgia, serif;
  font-weight: 400;
  font-size: 1.42rem;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hair);
}

.story p { margin: 0 0 16px; }
.story p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------- awards ---- */
.award-list { display: grid; gap: 10px; }

.award-row {
  display: grid;
  grid-template-columns: minmax(84px, 12%) 1fr;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
}

.award-year {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ------------------------------------------------------ filmography ---- */
.film-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 52px;
}

.film-year {
  font-family: 'Chonburi', Georgia, serif;
  font-weight: 400;
  font-size: 1.34rem;
  margin: 0 0 14px;
  padding-bottom: 9px;
  border-bottom: 2px solid var(--chrome);
}

.film-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.film-list li {
  position: relative;
  padding: 0 0 12px 20px;
}

.film-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid var(--chrome);
  background: #fff;
}

.prose { max-width: 80ch; }
.prose p { margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }

.two-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 52px;
}

.tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tag-list li {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 15px;
  font-size: .88rem;
  font-weight: 500;
}

/* -------------------------------------------------------------- FAQ ---- */
.faq-list {
  display: grid;
  gap: 16px;
  max-width: 900px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px 22px;
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 1.06rem;
  font-weight: 700;
  display: flex;
  gap: 11px;
  align-items: baseline;
}

.faq-item h3::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
}

.faq-item p { margin: 0; color: #4A4D50; }

/* ------------------------------------------------------------- footer ---- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 30px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 20px 34px;
  align-items: start;
}

.brand-name {
  display: block;
  font-family: 'Chonburi', Georgia, serif;
  font-size: 1.06rem;
  line-height: 1.3;
}

.brand-line {
  display: block;
  color: var(--muted);
  font-size: .87rem;
  margin-top: 5px;
  max-width: 42ch;
}

.language-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 15px;
  font-size: .86rem;
}

.language-nav a {
  text-decoration: none;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.language-nav a:hover { color: var(--ink); }

.language-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--chrome);
}

.footer-legal {
  margin: 0;
  font-size: .84rem;
  color: var(--muted);
  white-space: nowrap;
}

/* ------------------------------------------------------------ 404 ---- */
.notfound-link { margin: 22px 0 30px; }

/* --------------------------------------------------------- responsive ---- */
@media (max-width: 1000px) {
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .film-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 880px) {
  .hero { padding: 34px 0 26px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-card { justify-self: start; }
  .about-grid,
  .career-grid,
  .two-lists { grid-template-columns: 1fr; gap: 30px; }
  .about-card { justify-self: start; }
  .gallery-grid { gap: 20px; }
  .gallery-card.g2 { margin-top: 26px; }
  .gallery-card.g3 { margin-top: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-legal { white-space: normal; }
}

@media (max-width: 620px) {
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; }
  .gallery-card { justify-self: stretch; }
  .gallery-card.g2, .gallery-card.g3 { margin-top: 0; }
  .hero-card img { max-height: none; }
  .booth-row { grid-template-columns: 1fr; }
  .booth-row dt { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
  .booth-row dd { padding-top: 10px; }
  .award-row { grid-template-columns: 1fr; gap: 6px; }
  .section { padding: 44px 0; }
  .main-nav { gap: 3px 12px; }
  .main-nav a { font-size: .74rem; letter-spacing: .06em; }
  .btn-sm { padding: 7px 13px; font-size: .72rem; }
}

/* contrast fix: WCAG AA text color for nav CTA button */
.main-nav a.btn { color: #fff; }
.main-nav a.btn:hover { background: #fff; color: var(--ink); border-color: var(--ink); }
