/* Fictional persona site. No trackers, no remote assets. */
:root {
  --paper: #f3eee5;
  --paper-2: #eae3d6;
  --ink: #1e1a16;
  --ink-soft: #4a453e;
  --line: #d4cbbd;
  --olive: #3e4a3b;
  --clay: #8a4b32;
  --max: 44rem;
  --wide: 58rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .wordmark {
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

h1, h2, h3, p, ul {
  margin: 0;
}

a {
  color: var(--clay);
  text-underline-offset: 0.15em;
}

a:hover, a:focus-visible {
  color: var(--ink);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: color-mix(in srgb, var(--paper) 92%, white);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
}

.wordmark {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.125rem;
}

.wordmark:hover, .wordmark:focus-visible {
  color: var(--olive);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  font-size: 0.95rem;
}

nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

nav a:hover, nav a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}

.intro {
  display: grid;
  grid-template-columns: 11.5rem 1fr;
  gap: 2.25rem;
  align-items: center;
  padding: 3.25rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.eyebrow {
  color: var(--olive);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

h1 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-bottom: 0.9rem;
  max-width: 22ch;
}

.intro-copy p + p,
.lede,
.section p {
  color: var(--ink-soft);
}

.section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

h2 {
  font-size: 1.55rem;
  margin-bottom: 1rem;
}

.lede {
  max-width: var(--max);
  margin-bottom: 1.6rem;
}

.services {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 2rem;
}

.services h3,
.case h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.cases {
  display: grid;
  gap: 1.25rem;
}

.case {
  background: color-mix(in srgb, var(--paper-2) 70%, var(--paper));
  border: 1px solid var(--line);
  padding: 1.25rem 1.3rem 1.35rem;
}

.case-label {
  display: block;
  color: var(--olive);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.contact .email {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 1.15rem;
}

.place {
  margin-top: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-footer {
  padding: 1.4rem 0 2rem;
}

.site-footer p {
  color: var(--ink-soft);
  font-size: 0.85rem;
}


.socials {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.35rem;
}

.socials li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.55rem;
}

.socials a {
  font-weight: 600;
  text-decoration: none;
}

.socials a:hover,
.socials a:focus-visible {
  text-decoration: underline;
}

.socials .handle {
  color: var(--ink-soft);
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.55rem 1.25rem;
}

.footer-socials {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.footer-socials a {
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 2rem);
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    padding: 2rem 0 2rem;
  }

  .portrait {
    width: min(13.5rem, 58vw);
  }

  .services {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  h1 {
    max-width: none;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 0 0.85rem;
    min-height: 0;
    gap: 0.45rem;
  }

  .section {
    padding: 2.25rem 0;
  }
}

@media (max-width: 400px) {
  body {
    font-size: 1.05rem;
  }

  .wrap {
    width: calc(100% - 1.75rem);
  }

  nav {
    gap: 0.55rem 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
