/* aemarion.com/about (was about.aemarion.com). Values from the Carrd original (archive/live-2026-11-26/pages/about.css). */

html { font-size: 20pt; }
@media (max-width: 1680px) { html { font-size: 15pt; } }
@media (max-width: 980px) { html { font-size: 13pt; } }

body { background-color: #EDEDED; }
/* The faint paper grain: fractal noise at 2% black, tiled every 512px, fixed behind the page. */
body::before {
  content: ''; display: block; position: fixed; left: 0; top: 0; z-index: 0; pointer-events: none;
  width: 100vw; height: 100vh; height: 100lvh; transform: scale(1);
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20viewBox%3D%220%200%20512%20512%22%20width%3D%22512%22%20height%3D%22512%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.875%22%2F%3E%3CfeColorMatrix%20type%3D%22matrix%22%20values%3D%220%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.01953125%200%22%2F%3E%3C%2Ffilter%3E%3Crect%20filter%3D%22url(%23n)%22%20width%3D%22512%22%20height%3D%22512%22%20fill%3D%22transparent%22%2F%3E%3C%2Fsvg%3E");
  background-size: 512px; background-position: center; background-repeat: repeat;
}

.inner { --width: 50rem; --pad-h: 4rem; --pad-v: 8rem; --spacing: 1rem; }

/* the book paragraph (Carrd text12, style-3) */
.blurb {
  text-align: center; max-width: 34.375rem; margin-left: auto; margin-right: auto;
  color: #8A8787; font-family: 'Crimson Text', serif; letter-spacing: 0.075rem; width: calc(100% + 0.075rem);
  font-size: 0.875em; line-height: 1.875; font-weight: 400;
}
.blurb:not(:first-child) { margin-top: 3.25rem !important; }
/* Below the paragraph: 1.875rem, not Carrd's 3.25rem (owner, 2026-11-27: the gap above the contact link was larger
   than any other on the page). The visible gap now equals the ones above and below the icons (SPECS ABOUT-5). */
.blurb:not(:last-child) { margin-bottom: 1.875rem !important; }
.blurb > * { display: inline-block; line-height: 1.2; }   /* Carrd's rule: the title and each word sit as units */

/* "❖ collaborations / inquiry" and "← back to the bibliography" (links03 / links01, style-1) */
.links {
  display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0.375rem;
  font-family: 'Petrona', serif; letter-spacing: 0.025rem; margin-right: -0.025rem;
  font-size: 0.875em; font-weight: 200; line-height: 1.5;
}
.links:not(:first-child) { margin-top: 0.875rem !important; }
.links:not(:last-child) { margin-bottom: 0.875rem !important; }
.links a {
  display: block; color: #949292; text-decoration: none;
  text-align: center;                                /* a link that wraps (phones) stays centred, line by line (owner) */
  transition: color 0.9s ease;                       /* DLM M2: slower on the way home */
}
@media (hover: hover) { .links a:hover { color: #7738B5; transition: color 0.35s ease 0.08s; } }

/* X and Threads (icons04, style-1) */
.icons { display: flex; flex-wrap: wrap; justify-content: center; font-size: 1.25em; gap: 1.125rem; letter-spacing: 0; }
.icons:not(:first-child) { margin-top: 2.125rem !important; }
.icons:not(:last-child) { margin-bottom: 2.125rem !important; }
.icons li { position: relative; z-index: 1; }
.icons a {
  display: flex; align-items: center; justify-content: center;
  width: 2em; height: 2em; border-radius: 100%; border: solid 1px rgba(0, 0, 0, 0.149);
  transition: transform 0.9s cubic-bezier(0.33, 1, 0.68, 1);
}
@media (hover: hover) { .icons a:hover { transform: scale(1.1125); transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1) 0.08s; } }
.icons svg { display: block; width: 60%; height: 60%; fill: rgba(0, 0, 0, 0.69); pointer-events: none; }
.icons .label { display: none; }

/* "Privacy © All rights reserved." (text10, style-4) */
.legal {
  text-align: center; color: rgba(161, 159, 159, 0.69); font-family: 'Archivo', sans-serif;
  letter-spacing: 0.025rem; width: calc(100% + 0.025rem); font-size: 0.75em; line-height: 1.5; font-weight: 100;
}
.legal a { color: inherit; text-decoration: underline; transition: color 0.9s ease; }
@media (hover: hover) { .legal a:hover { color: #7738B5; transition: color 0.35s ease 0.08s; } }

/* the hairline across the foot of the page (divider04, full screen) */
.rule {
  display: flex; align-items: center; justify-content: center; min-height: 1rem; border: 0; padding: 0;
  position: relative; width: 100vw; max-width: 100vw; left: 50%; margin-left: -50vw; right: auto;
}
.rule::before { content: ''; width: 100%; height: 1px; background-color: rgba(0, 0, 0, 0.149); }
.rule:not(:first-child) { margin-top: 8.875rem !important; }
.inner > .rule:last-child { margin-bottom: calc(var(--pad-v) * -1) !important; }

@media (max-width: 736px) {
  .inner { --pad-h: 2rem; --pad-v: 3.5rem; --spacing: 1rem; }
  .blurb:not(:first-child) { margin-top: 2.4375rem !important; }
  .blurb:not(:last-child) { margin-bottom: 1.40625rem !important; }   /* Carrd: 2.4375rem; 3/4 of desktop's, as Carrd's ratio */
  .blurb { letter-spacing: 0.065625rem; width: calc(100% + 0.065625rem); font-size: 1em; line-height: 1.625; }
  .legal { letter-spacing: 0.021875rem; width: calc(100% + 0.021875rem); }
  .links { letter-spacing: 0.021875rem; margin-right: -0.021875rem; }
  .links:not(:first-child) { margin-top: 0.65625rem !important; }
  .links:not(:last-child) { margin-bottom: 0.65625rem !important; }
  .icons { font-size: 1.375em; gap: 0.875rem; }
  .icons:not(:first-child) { margin-top: 1.59375rem !important; }
  .icons:not(:last-child) { margin-bottom: 1.59375rem !important; }
  .rule:not(:first-child) { margin-top: 2rem !important; }
}
@media (max-width: 480px) { .inner { --spacing: 0.875rem; } }
@media (max-width: 360px) {
  .inner { --pad-h: 1.5rem; --pad-v: 2.625rem; --spacing: 0.75rem; }
  .links { gap: 0.28125rem; }
  .icons { gap: 0.65625rem; }
}
