/* Dyaus brochure. Self-contained: system fonts, no images. */
:root {
  --ink: #1c2430;
  --ink-soft: #3d4756;
  --muted: #5c6674;
  --paper: #f3f0e8;
  --white: #fbfaf6;
  --line: #d4cec2;
  --teal: #1b4f6e;
  --teal-deep: #102c3e;
  --teal-mid: #2c6f90;
  --brass: #8f5e34;
  --brass-light: #e4c99a;
  --max: 68rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; height: 100%; }

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

main { flex: 1 0 auto; }

a { color: var(--teal); }
a:hover { color: var(--teal-deep); }

:focus-visible {
  outline: 2px solid var(--brass-light);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.4rem 0.7rem;
  z-index: 5;
}
.skip:focus { top: 0.75rem; color: var(--white); }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  background: var(--teal-deep);
  color: var(--paper);
  border-bottom: 3px solid var(--brass);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: inherit;
}

.mark { display: flex; line-height: 0; }

.brand-name {
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: 0.2em;
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 1.35rem;
}

.nav a {
  color: var(--paper);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.15rem;
}

.nav a[aria-current="page"],
.nav a:hover {
  border-bottom-color: var(--brass-light);
  color: var(--brass-light);
}

.hero,
.page-head {
  background-color: var(--teal-deep);
  background-image:
    linear-gradient(rgba(244, 241, 234, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 234, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--paper);
}

.hero { padding: 3.4rem 0 3.2rem; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.5rem 3rem;
  align-items: center;
}

.hero-art svg {
  display: block;
  width: 100%;
  height: auto;
}

.kicker {
  margin: 0 0 0.75rem;
  color: var(--brass);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 650;
}

.hero .kicker,
.page-head .kicker { color: var(--brass-light); }

h1, h2, h3 {
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--teal-deep);
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4.5vw, 3.35rem);
  max-width: 16ch;
  color: var(--paper);
}

.lede {
  margin: 0;
  max-width: 38rem;
  font-size: 1.25rem;
  color: #e6dfd3;
}

.hero-rule {
  width: 4.5rem;
  height: 3px;
  background: var(--brass-light);
  border: 0;
  margin: 1.4rem 0 1rem;
}

.tagline {
  margin: 0;
  color: var(--brass-light);
  font-family: Palatino, "Palatino Linotype", Georgia, serif;
  font-size: 1.15rem;
}

.page-head { padding: 2.35rem 0 2.15rem; }

.page-head-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.page-head h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  max-width: none;
  margin: 0;
}

.page-art { flex: none; }

.section { padding: 3.25rem 0; }

.section-alt {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0 0 1rem;
  font-size: 1.85rem;
}

.prose { max-width: 42rem; }
.prose p { margin: 0 0 1rem; }
.prose p:last-child { margin-bottom: 0; }

.prose-ruled {
  border-left: 3px solid var(--brass);
  padding-left: 1.25rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  align-items: start;
}

.quote {
  margin: 0;
  padding: 1.35rem 1.35rem 1.25rem;
  background: var(--white);
  border-top: 4px solid var(--brass);
}

.section-alt .quote { background: var(--paper); }

.quote p {
  margin: 0 0 0.75rem;
  font-family: Palatino, "Palatino Linotype", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--ink);
}

.quote footer {
  color: var(--muted);
  font-size: 0.92rem;
}

.quote-space { margin-bottom: 2rem; }

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.principles li {
  margin: 0;
  padding: 1.2rem 1.15rem 1.35rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
}

.principles li:nth-child(2) { border-top-color: var(--brass); }
.principles li:nth-child(3) { border-top-color: var(--teal-deep); }

.principles h3 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
}

.principles p { margin: 0; color: var(--ink-soft); }

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.skills li {
  margin: 0;
  padding: 0.4rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  color: var(--teal-deep);
  font-size: 0.95rem;
}

.steps {
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 42rem;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: Palatino, "Palatino Linotype", Georgia, serif;
  color: var(--brass);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.more-row { margin-top: 1.5rem; }

.more {
  display: inline-block;
  color: var(--teal-deep);
  font-weight: 650;
  text-decoration: none;
  border-bottom: 2px solid var(--brass);
  padding-bottom: 0.1rem;
}

.more:hover { color: var(--teal); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  padding: 1.4rem 1.35rem 1.5rem;
}

.panel-brass { border-top-color: var(--brass); }

.panel h2 { margin-top: 0; }

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

address {
  font-style: normal;
  line-height: 1.55;
  margin: 0 0 1rem;
}

.mailto {
  display: inline-block;
  margin: 0 0 1rem;
  font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
  font-size: 0.95rem;
  word-break: break-all;
}

.site-footer {
  background: var(--teal-deep);
  color: #d5dde3;
  border-top: 3px solid var(--brass);
  padding: 1.9rem 0 2.3rem;
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-footer strong { color: var(--paper); }

.site-footer a { color: var(--brass-light); }

.footer-nav { display: flex; gap: 1rem; }

@media (max-width: 800px) {
  .header-inner,
  .hero-grid,
  .split,
  .principles,
  .contact-grid,
  .page-head-inner,
  .footer-inner {
    display: block;
  }

  .nav { margin-top: 0.85rem; }

  .hero-art { margin-top: 1.75rem; max-width: 22rem; }

  .page-art { margin-top: 1.35rem; }

  .principles li + li,
  .split > * + *,
  .contact-grid > * + * {
    margin-top: 1.25rem;
  }

  .hero { padding-top: 2.4rem; }

  h1 { max-width: none; }
}
