/* Chris Diamond · chrisdiamondweb.com
   Kingfisher build: deep teal water, mist text, electric orange accents. */

:root {
  --bg: #1c3038;
  --bg-deep: #16262d;
  --bg-soft: #223a43;
  --bg-lift: #27434d;
  --line: #2f4d58;
  --line-soft: #26404a;
  --ink: #e8f0f0;
  --ink-soft: #a8c0c4;
  --ink-dim: #8aa6ab;
  --accent: #d97a2e;
  --accent-light: #f0924a;
  --on-accent: #10191d;
  --nav-link: #cfe0e2;
  --shell: 1160px;
  --font-display: 'Headland One', Georgia, 'Times New Roman', serif;
  --font-body: 'Istok Web', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-light); text-decoration: none; }
a:hover { color: #ffb173; text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1.1em; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--on-accent);
  padding: 10px 16px;
  z-index: 20;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Header */

.site-header {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line-soft);
}

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

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.wordmark:hover { color: var(--ink); text-decoration: none; }
.wordmark .mark { flex: none; }

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 15px;
}

.main-nav a {
  color: var(--nav-link);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover {
  color: var(--accent-light);
  text-decoration: none;
  border-bottom-color: var(--accent);
}
.main-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--line);
}

/* Buttons: colour is set explicitly on .main-nav a.btn so the nav link rule
   cannot override the button text, including on hover. */

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 13px 26px;
  border: 1px solid var(--accent);
  border-radius: 2px;
}
.btn:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--on-accent);
  text-decoration: none;
}

.btn-small {
  font-size: 14px;
  padding: 8px 16px;
}

.main-nav a.btn {
  color: var(--on-accent);
  border-bottom: none;
  padding: 8px 16px;
}
.main-nav a.btn:hover {
  color: var(--on-accent);
  background: var(--accent-light);
  border-color: var(--accent-light);
  border-bottom: none;
}

/* Hero */

.hero {
  background:
    radial-gradient(1100px 420px at 88% -12%, rgba(217, 122, 46, 0.16), rgba(28, 48, 56, 0) 68%),
    linear-gradient(180deg, #203843 0%, #1c3038 100%);
  border-bottom: 1px solid var(--line-soft);
  padding: 46px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 46px;
  align-items: center;
}

.hero-kicker {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin: 0 0 14px;
}

.hero-title {
  font-size: 54px;
  margin: 0 0 12px;
  letter-spacing: 0.01em;
}

.hero-tagline {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.hero-intro {
  font-size: 17px;
  max-width: 46ch;
  margin: 0 0 26px;
}

.hero-photo { margin: 0; }

.hero-photo img {
  width: 100%;
  aspect-ratio: 1180 / 800;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.ripple-lines { display: block; width: 100%; height: 46px; margin-top: 2px; }

/* Section frame */

.section { padding: 54px 0; }
.section-tight { padding: 44px 0; }

.section-head { margin-bottom: 26px; }

.sec-num {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent-light);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 12px;
}

.sec-title {
  font-size: 32px;
  margin: 0 0 8px;
}

.sec-sub {
  color: var(--ink-soft);
  margin: 0;
  max-width: 62ch;
}

.band { background: var(--bg-deep); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

/* Partners */

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.partner-card {
  display: block;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 14px;
}
.partner-card:hover {
  border-color: var(--accent);
  text-decoration: none;
  background: var(--bg-lift);
}

.partner-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 150px;
  margin: 0 auto;
  background: #f4f6f6;
  border-radius: 2px;
  overflow: hidden;
}

.partner-frame img {
  width: 250px;
  height: 150px;
  object-fit: contain;
}

.partner-name {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Quick profile */

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 42px;
  border-top: 1px solid var(--line);
}

.profile-row {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
}

.profile-key {
  color: var(--accent-light);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 3px;
}

.profile-val { margin: 0; }

/* About + skim cards */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: 44px;
  align-items: start;
}

.about-copy p:last-child { margin-bottom: 0; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.skim-card {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 22px 20px 20px;
}
.skim-card::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(217, 122, 46, 0) 88%);
}

.card-tag {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 8px;
}

.card-title { font-size: 22px; margin: 0 0 8px; }
.card-text { margin: 0; font-size: 16px; color: var(--ink-soft); }

/* Ripple timeline */

.ripple-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 30px;
  position: relative;
}
.ripple-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.rt-item {
  position: relative;
  padding: 0 0 22px;
}
.rt-item:last-child { padding-bottom: 0; }
.rt-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(217, 122, 46, 0.16);
}

.rt-when {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--accent-light);
  margin-bottom: 2px;
}

.rt-text { margin: 0; color: var(--ink-soft); }
.rt-text strong { color: var(--ink); font-weight: 700; }

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg-soft);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 0;
  background: var(--bg-soft);
}

/* trims the bright element at the bottom edge of the 2025 portrait */
.gallery-item.gc-3 img { transform: scale(1.08); transform-origin: 50% 0; }

.gallery-tile {
  border: 1px dashed var(--line);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #223a43 0%, #1c3038 100%);
}
.gallery-tile svg { width: 70%; height: auto; }

/* Social */

.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  border-top: 1px solid var(--line);
}

.social-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.social-name { color: var(--ink-soft); font-size: 15px; letter-spacing: 0.04em; }
.social-handle { color: var(--accent-light); }
.social-row:hover .social-handle { color: #ffb173; }

/* Footer */

.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  margin-top: 10px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 20px 40px;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 30px;
}

.footer-brand { display: flex; flex-direction: column; gap: 6px; }

.footer-name {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
}
.footer-name:hover { color: var(--ink); text-decoration: none; }

.footer-note { margin: 0; font-size: 14px; color: var(--ink-dim); }

.language-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 14px;
  justify-content: center;
}
.language-nav a { color: var(--ink-soft); }
.language-nav a:hover { color: var(--accent-light); }
.language-nav a[aria-current="page"] { color: var(--ink); border-bottom: 1px solid var(--accent); }

.footer-legal {
  margin: 0;
  font-size: 14px;
  color: var(--ink-dim);
  text-align: right;
}

/* Subpages */

.page-hero {
  background: linear-gradient(180deg, #203843 0%, #1c3038 100%);
  border-bottom: 1px solid var(--line-soft);
  padding: 44px 0 36px;
}

.page-kicker {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin: 0 0 12px;
}

.page-title { font-size: 42px; margin: 0 0 12px; }
.page-lead { font-size: 18px; color: var(--ink-soft); max-width: 68ch; margin: 0; }

.prose { max-width: 74ch; }
.prose h2 { font-size: 27px; margin: 38px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; margin: 26px 0 8px; }
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 1.1em; }
.prose li { margin-bottom: 8px; color: var(--ink-soft); }
.prose li strong { color: var(--ink); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
  gap: 44px;
  align-items: start;
}

.bio-photo { margin: 0; }
.bio-photo img { width: 100%; border: 1px solid var(--line); border-radius: 2px; }
.bio-photo figcaption { display: none; }

.table-wrap { overflow-x: auto; margin: 0 0 1.4em; }

.fact-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 16px;
}
.fact-table th, .fact-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.fact-table th {
  color: var(--accent-light);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fact-table thead th { border-bottom: 1px solid var(--line); color: var(--ink); }

.award-list {
  list-style: none;
  margin: 0 0 1.4em;
  padding: 0;
}
.award-item {
  border-left: 3px solid var(--accent);
  background: var(--bg-soft);
  padding: 16px 20px;
  margin-bottom: 14px;
}
.award-item p { margin: 0; }
.award-item .award-year {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--accent-light);
  margin-bottom: 4px;
}
.award-item .award-cat { color: var(--ink); }
.award-item .award-meta { color: var(--ink-soft); font-size: 15px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.4em; padding: 0; list-style: none; }
.tag {
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
}

.caliber-note {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: 18px 22px;
  margin: 0 0 1.6em;
}
.caliber-note p:last-child { margin-bottom: 0; }

.faq-list { max-width: 78ch; }
.faq-item {
  border-bottom: 1px solid var(--line-soft);
  padding: 4px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--ink);
  padding: 16px 30px 16px 0;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  color: var(--accent-light);
  font-family: var(--font-body);
  font-size: 22px;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:hover { color: var(--accent-light); }
.faq-item .faq-a { padding: 0 0 18px; color: var(--ink-soft); max-width: 72ch; }
.faq-item .faq-a p:last-child { margin-bottom: 0; }

/* 404 */

.notfound-wrap { padding: 70px 0 90px; }
.notfound-title { font-size: 46px; margin: 0 0 12px; }
.notfound-text { color: var(--ink-soft); max-width: 54ch; }

/* Responsive */

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-title { font-size: 44px; }
  .about-grid, .split { grid-template-columns: 1fr; gap: 30px; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
  .profile-grid { grid-template-columns: 1fr; }
  .social-list { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .shell { padding: 0 18px; }
  .hero { padding: 32px 0 28px; }
  .hero-title { font-size: 36px; }
  .sec-title { font-size: 26px; }
  .page-title { font-size: 32px; }
  .card-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-frame { height: 132px; }
  .profile-row { grid-template-columns: 1fr; gap: 2px; }
  .section { padding: 40px 0; }
  .main-nav { font-size: 14px; gap: 4px 14px; }
  .fact-table th, .fact-table td { padding: 10px 8px; }
  .fact-table { font-size: 14px; }
  .fact-table th { font-size: 12px; letter-spacing: 0.04em; }
}

@media (max-width: 430px) {
  .hero-title { font-size: 32px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; text-align: center; }
  .main-nav a.btn { width: auto; }
  .fact-table { font-size: 13px; }
  .fact-table th, .fact-table td { padding: 8px 6px; }
  .fact-table th { font-size: 11px; }
}
