/* claramiaweb.com · Viewfinder design system
   Palette: paper #f4f4f0, ink #30302c, focus green #4a8a4a (marks), focus-ink #3a6b3a (text accents)
   Fonts: Chivo Mono (display, labels, figures) + Comme (body copy) */

:root {
  --paper: #f4f4f0;
  --paper-2: #eeeeea;
  --card: #fbfbf7;
  --ink: #30302c;
  --ink-soft: #55554e;
  --hair: #c9c9c2;
  --focus: #4a8a4a;
  --focus-ink: #3a6b3a;
  --mount: #e9e9e3;
  --mono: 'Chivo Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --body: 'Comme', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); }
a:hover { color: var(--focus-ink); }
:focus-visible { outline: 2px solid var(--focus-ink); outline-offset: 2px; }

.shell { width: min(1180px, 92vw); margin: 0 auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--hair); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 16px 0; }

.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-weight: 700; font-size: 16px;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  color: var(--ink); white-space: nowrap;
}
.wordmark::before {
  content: ""; width: 9px; height: 9px; background: var(--focus);
  box-shadow: inset 0 0 0 1px var(--paper);
}
.wordmark:hover { color: var(--ink); }
.wordmark:hover::before { background: var(--focus-ink); }

.main-nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase;
}
.main-nav a {
  color: var(--ink); text-decoration: none; padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--focus-ink); border-bottom-color: var(--focus); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--ink); }

/* CTA buttons. .main-nav a (0-1-1) would otherwise override .btn (0-1-0),
   so the nav button colours are restated explicitly for both states. */
.btn {
  display: inline-block; padding: 11px 20px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  color: var(--paper); background: var(--ink); border: 1px solid var(--ink);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { color: var(--ink); background: var(--paper); border-color: var(--focus); }

.main-nav a.btn { color: var(--paper); background: var(--ink); border: 1px solid var(--ink); padding: 9px 14px; font-size: 11.5px; }
.main-nav a.btn:hover { color: var(--ink); background: var(--paper); border-color: var(--focus); }

/* ------------------------------------------------------------- section head */
.sec-label {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 6px; font-family: var(--mono); font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.sec-num { color: var(--focus-ink); }
.sec-label::after { content: ""; flex: 1; height: 1px; background: var(--hair); }
.sec-sub { margin: 14px 0 0; max-width: 74ch; color: var(--ink-soft); font-size: 15.5px; }

/* ---------------------------------------------------------------- hero */
.hero { padding: 30px 0 30px; text-align: center; }
.hero-kicker {
  margin: 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-soft);
}
.hero-title {
  margin: 10px 0 0; font-family: var(--mono); font-weight: 700;
  font-size: clamp(36px, 6vw, 68px); line-height: 1.02; letter-spacing: .01em;
}
.hero-tagline { margin: 12px auto 0; max-width: 48ch; font-size: 19px; line-height: 1.5; text-wrap: balance; }
.hero-intro { margin: 12px auto 0; max-width: 74ch; color: var(--ink-soft); font-size: 16.5px; line-height: 1.7; }
.hero-cta { margin-top: 20px; }

/* viewfinder frame around the hero portrait: portrait opening so the whole head
   stays inside the crop (the source is a tight head-and-shoulders plate) */
.viewfinder {
  position: relative; margin: 26px auto 0; width: min(520px, 100%);
  aspect-ratio: 520 / 600; background: var(--mount); border: 1px solid var(--hair);
  overflow: hidden;
}
.viewfinder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.vf-corner { position: absolute; width: 30px; height: 30px; border: 0 solid var(--focus); }
.vf-tl { top: 11px; left: 11px; border-top-width: 2px; border-left-width: 2px; }
.vf-tr { top: 11px; right: 11px; border-top-width: 2px; border-right-width: 2px; }
.vf-bl { bottom: 11px; left: 11px; border-bottom-width: 2px; border-left-width: 2px; }
.vf-br { bottom: 11px; right: 11px; border-bottom-width: 2px; border-right-width: 2px; }
.vf-focus {
  position: absolute; left: 50%; top: 50%; width: 16%; height: auto;
  transform: translate(-50%, -50%); color: var(--focus);
}

/* ---------------------------------------------------------------- partners */
.partners { padding: 40px 0 6px; }
.partner-grid {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px;
}
.partner-card a {
  display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: 250px; margin: 0 auto; aspect-ratio: 250 / 150;
  padding: 10px; background: #fff; border: 1px solid var(--hair); text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
.partner-card a:hover { border-color: var(--focus); transform: translateY(-3px); }
.partner-card img { height: 64px; width: auto; max-width: 100%; object-fit: contain; }

/* ---------------------------------------------------------------- sheet (quick profile) */
.profile { padding: 44px 0 6px; }
.sheet { margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.sheet .row { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.sheet dt {
  position: relative; padding-left: 15px; font-family: var(--mono); font-size: 11.5px;
  letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.5;
}
.sheet dt::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; background: var(--focus); }
.sheet dd { margin: 0; font-size: 15.5px; line-height: 1.55; }

/* ---------------------------------------------------------------- about + focus cards */
.about { padding: 44px 0 6px; }
.focus-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0 0; }
.focus-card { position: relative; padding: 22px 20px 24px; background: var(--card); border: 1px solid var(--hair); }
.focus-card::before, .focus-card::after { content: ""; position: absolute; width: 18px; height: 18px; border: 0 solid var(--focus); }
.focus-card::before { top: 7px; left: 7px; border-top-width: 2px; border-left-width: 2px; }
.focus-card::after { bottom: 7px; right: 7px; border-bottom-width: 2px; border-right-width: 2px; }
.fc-tag { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--focus-ink); }
.focus-card h3 { margin: 10px 0 8px; font-family: var(--mono); font-size: 15px; font-weight: 600; line-height: 1.4; }
.focus-card p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.62; }

/* ---------------------------------------------------------------- career scale */
.career { padding: 44px 0 6px; }
.scale { list-style: none; margin: 22px 0 0; padding: 0; }
.scale li { display: grid; grid-template-columns: 62px minmax(0, 1fr) 54px; align-items: center; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--hair); }
.sc-year { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; }
.sc-track {
  position: relative; height: 16px;
  background-image: repeating-linear-gradient(90deg, var(--hair) 0 1px, transparent 1px 10%);
}
.sc-track span { position: absolute; left: 0; top: 3px; bottom: 3px; width: var(--v, 0%); background: var(--focus-ink); }
.sc-val { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); text-align: right; }

/* ---------------------------------------------------------------- gallery */
.gallery-sec { padding: 44px 0 6px; }
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin: 22px 0 0; }
.gallery figure {
  position: relative; display: flex; align-items: center; justify-content: center;
  grid-column: span 2; margin: 0; height: 350px; padding: 16px;
  background: var(--mount); border: 1px solid var(--hair);
}
/* last row: two plates centred under the first row of three */
.gallery figure:nth-child(4) { grid-column: 2 / span 2; }
.gallery figure:nth-child(5) { grid-column: 4 / span 2; }
.gallery figure::before, .gallery figure::after { content: ""; position: absolute; width: 16px; height: 16px; border: 0 solid var(--focus); }
.gallery figure::before { top: 7px; left: 7px; border-top-width: 2px; border-left-width: 2px; }
.gallery figure::after { bottom: 7px; right: 7px; border-bottom-width: 2px; border-right-width: 2px; }
.gallery figure img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 0 0 1px var(--hair); }

/* ---------------------------------------------------------------- social */
.social { padding: 44px 0 6px; }
.social-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.social-list li { border-bottom: 1px solid var(--hair); }
.social-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 14px 0; text-decoration: none; }
.social-list .so-plat { font-size: 15.5px; color: var(--ink); }
.social-list .so-handle { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); }
.social-list a:hover .so-plat, .social-list a:hover .so-handle { color: var(--focus-ink); }

/* ---------------------------------------------------------------- sub pages */
.page-head { padding: 52px 0 0; }
.page-label { margin: 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--focus-ink); }
.page-title { margin: 12px 0 0; font-family: var(--mono); font-weight: 700; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; }
.page-lede { margin: 18px 0 0; max-width: 72ch; font-size: 18px; line-height: 1.62; }
.frame-rule { position: relative; height: 1px; margin: 30px 0 0; background: var(--hair); }
.frame-rule::before, .frame-rule::after { content: ""; position: absolute; top: -5px; width: 11px; height: 11px; border: 2px solid var(--focus); background: var(--paper); }
.frame-rule::before { left: 0; }
.frame-rule::after { right: 0; }

.band { padding: 36px 0 0; }
.sub-h { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-family: var(--mono); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.sub-h::before { content: ""; width: 14px; height: 1px; background: var(--focus); }
.prose { max-width: 78ch; }
.prose p { margin: 0 0 16px; font-size: 16.5px; line-height: 1.72; }
.prose p:last-child { margin-bottom: 0; }

.tl { list-style: none; margin: 4px 0 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 176px minmax(0, 1fr); padding: 0; }
.tl .when {
  padding: 15px 26px 15px 0; text-align: right; font-family: var(--mono); font-size: 12px;
  letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft);
}
.tl .what { position: relative; padding: 15px 0 15px 28px; border-left: 1px solid var(--hair); font-size: 15.5px; line-height: 1.6; }
.tl .what::before { content: ""; position: absolute; left: -1px; top: 21px; width: 14px; height: 1px; background: var(--focus); }
.tl .what::after { content: ""; position: absolute; left: -5px; top: 17px; width: 7px; height: 7px; background: var(--paper); border: 2px solid var(--focus); }

.data-table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.data-table th {
  padding: 10px 12px; text-align: left; font-family: var(--mono); font-size: 11.5px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft);
  border-bottom: 1px solid var(--ink);
}
.data-table td { padding: 10px 12px; font-size: 15.5px; border-bottom: 1px solid var(--hair); }
.data-table td.num, .data-table td.year { font-family: var(--mono); font-size: 14px; }
.data-table .chips { color: var(--ink-soft); font-size: 14.5px; }

.label-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.label-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px dashed var(--hair); font-size: 15px; }
.label-list .n { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); }

.item-list { list-style: none; margin: 6px 0 0; padding: 0; }
.item-list li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.item-list .when { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); }
.item-list .item { font-size: 15.5px; }
.item-list .item span { color: var(--ink-soft); font-size: 14.5px; }

.faq-list { margin: 6px 0 0; }
.faq-item { padding: 20px 0; border-bottom: 1px solid var(--hair); }
.faq-item h3 { display: flex; gap: 14px; margin: 0 0 10px; font-family: var(--mono); font-size: 15px; font-weight: 600; line-height: 1.5; }
.faq-item h3 .qn { color: var(--focus-ink); }
.faq-item p { margin: 0; max-width: 78ch; font-size: 16px; line-height: 1.7; color: var(--ink); }
.faq-item p + p { margin-top: 10px; }

.note { margin: 18px 0 0; padding: 14px 16px 14px 18px; border-left: 2px solid var(--focus); background: var(--card); color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }

/* ---------------------------------------------------------------- footer */
.site-footer { margin-top: 58px; padding: 28px 0; background: var(--paper-2); border-top: 1px solid var(--hair); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.footer-brand .brand-name { display: block; font-family: var(--mono); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.footer-brand .brand-line { display: block; margin-top: 4px; font-size: 13.5px; color: var(--ink-soft); }
.language-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; }
.language-nav a { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; }
.language-nav a:hover { color: var(--focus-ink); border-bottom-color: var(--focus); }
.language-nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.footer-legal { margin: 0; text-align: right; font-size: 13px; color: var(--ink-soft); }

/* ---------------------------------------------------------------- 404 */
.notfound { padding: 84px 0 40px; text-align: center; }
.nf-code { margin: 0; font-family: var(--mono); font-weight: 700; font-size: clamp(56px, 12vw, 120px); line-height: 1; color: var(--ink); }
.nf-line { margin: 18px 0 0; font-size: 18px; color: var(--ink-soft); }
.nf-back { margin-top: 26px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .focus-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .main-nav { gap: 6px 14px; }
  .hero { padding: 40px 0 28px; }
  .viewfinder { aspect-ratio: 4 / 5; max-width: 520px; }
  .sheet { grid-template-columns: minmax(0, 1fr); }
  .focus-cards { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery figure, .gallery figure:nth-child(4), .gallery figure:nth-child(5) { grid-column: span 1; height: 260px; }
  .social-list { grid-template-columns: minmax(0, 1fr); }
  .label-list { grid-template-columns: minmax(0, 1fr); }
  .tl li { grid-template-columns: minmax(0, 1fr); }
  .tl .when { padding: 14px 0 0; text-align: left; }
  .tl .what { padding: 8px 0 16px 22px; }
  .tl .what::before { top: 14px; width: 12px; }
  .tl .what::after { top: 10px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
}
@media (max-width: 620px) {
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery figure, .gallery figure:nth-child(4), .gallery figure:nth-child(5) { grid-column: span 1; height: 320px; }
  .sheet .row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .sheet dt { padding-left: 13px; }
  .btn { display: block; text-align: center; }
  .main-nav a.btn { display: inline-block; }
  .item-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .tl .when { font-size: 11.5px; }
}
