/* Sigg Advisory — site styles. No external requests: system fonts only. */
:root {
  --bg: #FBFBF9;
  --ink: #1F2A30;
  --muted: #5E6B71;
  --accent: #0E5C63;
  --rule: #D8DDD9;
  --soft: #EEF3F2;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Charter, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --measure: 62ch;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem .75rem; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

/* Header */
.site-header { padding: 1.75rem 0 0; }
.site-header .wrap { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.wordmark { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); text-decoration: none; letter-spacing: .01em; }
.site-nav a { color: var(--muted); text-decoration: none; margin-left: 1.5rem; font-size: .95rem; }
.site-nav a:hover { color: var(--accent); text-decoration: underline; }

/* Hero */
.hero { padding: clamp(4rem, 12vh, 8rem) 0 clamp(3rem, 8vh, 5rem); border-bottom: 1px solid var(--rule); }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.125rem, 5.2vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -.012em;
  max-width: 20ch;
  margin: 0 0 1.5rem;
}
.hero p { max-width: var(--measure); margin: 0; font-size: 1.125rem; color: var(--muted); }
.hero p strong { color: var(--ink); font-weight: 600; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem 4rem; align-items: end; }
.portrait { width: 100%; max-width: 340px; height: auto; display: block; border-radius: 4px; justify-self: end; }

/* Editorial two-column rows */
.row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 2rem 4rem;
  padding: clamp(2.5rem, 6vh, 4rem) 0;
  border-bottom: 1px solid var(--rule);
}
.row:last-of-type { border-bottom: 0; }
.row h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.375rem;
  margin: 0;
  line-height: 1.3;
  position: sticky;
  top: 1.5rem;
  align-self: start;
}
.row > div { max-width: var(--measure); }
.row p { margin: 0 0 1rem; }
.row p:last-child { margin-bottom: 0; }

/* Lists */
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { padding: .85rem 0; border-top: 1px solid var(--rule); }
.plain li:first-child { border-top: 0; padding-top: 0; }
.plain .org { display: block; font-weight: 600; }
.plain .role { display: block; color: var(--muted); font-size: .95rem; }

.contact { font-size: 1.125rem; }
.contact .email { font-family: var(--serif); font-size: 1.5rem; display: inline-block; margin-bottom: .75rem; }
address { font-style: normal; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 2rem 0 3rem; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer a { color: var(--muted); margin-right: 1.5rem; }

/* Legal pages */
.legal { padding: clamp(2.5rem, 8vh, 5rem) 0; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.875rem, 4vw, 2.5rem); margin: 0 0 .5rem; }
.legal .lead { color: var(--muted); margin: 0 0 2.5rem; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 1.375rem; margin: 2.25rem 0 .75rem; }
.legal > .wrap > * { max-width: var(--measure); }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .35rem; }
.todo { background: var(--soft); border-left: 3px solid var(--accent); padding: .1rem .5rem; }

@media (max-width: 720px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-grid .portrait { grid-row: 1; justify-self: start; max-width: 60%; }
  .row { grid-template-columns: 1fr; gap: 1rem; }
  .row h2 { position: static; }
  .site-nav a { margin-left: 0; margin-right: 1.25rem; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media print {
  .site-nav, .skip { display: none; }
  body { background: #fff; }
}
