/* Telic Engineering B.V. — Field notes (/notes/). Loaded after style.css on notes pages only.
   Uses the tokens from style.css; no new colours or fonts. */

/* page head: plain navy with the standard glow (no photo) */
.page-head--notes h1 { max-width: 24ch; }
.note-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-200); }
.note-meta span { color: var(--blue-300); }

/* overview list: drawing-style rows, 1.5px top rule, 0.5px dividers */
.notes-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--navy-600); }
.notes-list li { border-bottom: 0.5px solid rgba(0, 69, 112, 0.4); }
.notes-list__item { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 22px 0; color: var(--ink); }
.notes-list__item::after { content: "→"; color: var(--blue-500); font-size: 20px; padding-right: 4px; transition: transform 160ms ease; }
.notes-list__item:hover { color: var(--ink); }
.notes-list__item:hover::after { transform: translateX(4px); }
.notes-list__item:hover .notes-list__title { color: var(--navy-600); }
.notes-list__thumb img { display: block; width: 120px; height: 150px; object-fit: cover; border: 1px solid var(--navy-600); background: var(--navy-900); }
.notes-list__text { display: flex; flex-direction: column; gap: 6px; max-width: 72ch; }
.notes-list__date { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-600); }
.notes-list__title { font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; line-height: 1.2; color: var(--navy-700); transition: color 160ms ease; }
.notes-list__lede { font-size: 16.5px; font-weight: 300; color: var(--ink-2); line-height: 1.55; }
.notes-empty { margin-top: 0; }

/* single note */
.note__grid { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: clamp(32px, 4.5vw, 64px); align-items: start; border-top: 1.5px solid var(--navy-600); padding-top: 32px; }
.note__figure { margin: 0; position: sticky; top: 96px; }
.note__figure img { display: block; width: 100%; max-width: 600px; height: auto; aspect-ratio: 4 / 5; border: 1px solid var(--navy-600); background: var(--navy-900); }
.note__body { display: flex; flex-direction: column; gap: 18px; max-width: 62ch; font-size: 18px; font-weight: 300; color: var(--ink); line-height: 1.65; }
.note__body p:first-child { font-size: 20px; font-weight: 400; color: var(--navy-700); line-height: 1.5; }
.note__list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--navy-600); }
.note__list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; padding: 12px 0; border-bottom: 0.5px solid rgba(0, 69, 112, 0.4); font-size: 17px; line-height: 1.55; }
.note__n { font-size: 13px; color: var(--navy-600); padding-top: 3px; }
.note__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 10px; padding-top: 24px; border-top: 0.5px solid rgba(0, 69, 112, 0.4); }
.note__back { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-600); }
.note__back::before { content: "← "; }
.note__back:hover { color: var(--blue-500); }

@media (max-width: 1000px) {
  .note__grid { grid-template-columns: 1fr; }
  .note__figure { position: static; max-width: 600px; }
}
@media (max-width: 600px) {
  .notes-list__item { grid-template-columns: 88px minmax(0, 1fr); gap: 18px; align-items: start; padding: 18px 0; }
  .notes-list__item::after { display: none; }
  .notes-list__thumb img { width: 88px; height: 110px; }
  .notes-list__lede { font-size: 15.5px; }
  .note__body { font-size: 17px; }
  .note__body p:first-child { font-size: 19px; }
  .note__list li { grid-template-columns: 30px minmax(0, 1fr); font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .notes-list__item::after, .notes-list__title { transition: none; } }

/* contact block under a note: the post's own acquisition line as heading (longer than the generic one) */
.contact__copy h2.contact__title--note { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; max-width: 30ch; }

/* page head with photo (gas turbine package on site, fb/37; no logos, no people), same overlay as the other subpages */
.page-head--notes { background-image: linear-gradient(90deg, rgba(11, 26, 46, 0.95) 0%, rgba(11, 26, 46, 0.84) 55%, rgba(11, 26, 46, 0.66) 100%), url(../img/head-notes.jpg); background-size: cover; background-position: center 45%; }

/* overview: newest note as a feature on top (image + first paragraph, rest folded), earlier notes below */
.feature { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; border-top: 1.5px solid var(--navy-600); padding-top: 32px; }
.feature__figure { display: block; }
.feature__figure img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; border: 1px solid var(--navy-600); background: var(--navy-900); transition: transform 160ms ease; }
.feature__figure:hover img { transform: translateY(-2px); }
.feature__body { display: flex; flex-direction: column; gap: 14px; max-width: 62ch; }
.feature__title { font-size: clamp(26px, 2.6vw, 36px); font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; }
.feature__title a { color: var(--navy-700); }
.feature__title a:hover { color: var(--navy-600); }
.feature__lede p { font-size: 20px; font-weight: 400; color: var(--navy-700); line-height: 1.5; }
.feature__more { border-top: 0.5px solid rgba(0, 69, 112, 0.4); }
.feature__more summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 12px; padding: 14px 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-600); }
.feature__more summary::-webkit-details-marker { display: none; }
.feature__more summary::before { content: "+"; font-size: 16px; line-height: 1; color: var(--blue-500); width: 14px; }
.feature__more[open] summary::before { content: "\2013"; }
.feature__more summary:hover { color: var(--blue-500); }
.feature__close, .feature__more[open] .feature__open { display: none; }
.feature__more[open] .feature__close { display: inline; }
.feature__rest { padding-bottom: 8px; }
.feature__link { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-600); }
.feature__link::after { content: " →"; }
.feature__link:hover { color: var(--blue-500); }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature__figure { max-width: 360px; }
}
@media (prefers-reduced-motion: reduce) { .feature__figure img { transition: none; } }
.feature__rest p:first-child { font-size: inherit; font-weight: inherit; color: inherit; }
.feature__more { border-bottom: 0.5px solid rgba(0, 69, 112, 0.4); }
.feature .note__actions { border-top: 0; padding-top: 6px; margin-top: 0; }
