/* wholivedhere.ca — shared stylesheet
   Archive / sepia theme, extended from the original coming-soon page. */

:root {
  --paper: #f1ead8;
  --paper-deep: #e6dcc2;
  --ink: #1f1a12;
  --ink-soft: #3a3022;
  --sepia: #8a6a3a;
  --accent: #9b2d1f;
  --rule: #bfa87a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse at 20% 10%, rgba(155, 45, 31, 0.06), transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(138, 106, 58, 0.10), transparent 55%);
}

/* Paper grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.10  0 0 0 0 0.07  0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Vignette */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(40, 28, 12, 0.25) 100%);
}

.page {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
}

a { color: inherit; }

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
  animation: fadeDown 1.2s ease-out both;
}

header a.mark-link { text-decoration: none; }

.mark {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sepia);
}

.mark span {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--rule);
  margin-right: 0.4rem;
}

.file-no {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  text-align: right;
  line-height: 1.7;
}

/* Nav */
nav.site-nav {
  padding: 1rem 0 1.25rem;
  border-bottom: 1px solid var(--rule);
  animation: fadeDown 1.2s ease-out both;
}

nav.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
}

nav.site-nav a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.15rem;
  transition: border-color 0.2s, color 0.2s;
}

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

nav.site-nav a.request-link {
  color: var(--accent);
  font-weight: 600;
}

/* Main */
main {
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  padding: clamp(2rem, 8vh, 6rem) 0;
  position: relative;
}

main.two-col {
  align-content: center;
}

@media (min-width: 900px) {
  main.two-col {
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
  }
}

main.article {
  display: block;
  padding: clamp(2rem, 6vh, 4rem) 0;
  max-width: 68ch;
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: fadeUp 1s ease-out 0.2s both;
}

.eyebrow::before {
  content: "";
  display: block;
  width: 2.2rem;
  height: 1px;
  background: var(--accent);
}

h1 {
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.5rem;
  animation: fadeUp 1.2s ease-out 0.35s both;
}

main.two-col h1 { font-size: clamp(3rem, 9vw, 7.5rem); line-height: 0.92; }

h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

h1 .here {
  position: relative;
  display: inline-block;
}

h2 {
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 2.25rem 0 0.9rem;
  color: var(--ink);
}

h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sepia);
  margin: 1.75rem 0 0.75rem;
}

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  max-width: 38ch;
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
  animation: fadeUp 1.2s ease-out 0.5s both;
}

main.article .lede { max-width: none; }

.lede strong { color: var(--ink); font-weight: 600; }

main.article p {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

main.article p strong { color: var(--ink); font-weight: 600; }

main.article ul, main.article ol {
  margin: 0 0 1.25rem 1.4rem;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

main.article li { margin-bottom: 0.4rem; }

.status-card {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.25rem;
  background: rgba(255, 252, 240, 0.45);
  border: 1px solid var(--rule);
  box-shadow: 4px 4px 0 rgba(138, 106, 58, 0.15);
  animation: fadeUp 1.2s ease-out 0.65s both;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(155, 45, 31, 0.6);
  animation: pulse 2.4s infinite;
}

.status-card .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Record card (homepage specimen) */
.record {
  position: relative;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 28px,
      rgba(138, 106, 58, 0.18) 28px,
      rgba(138, 106, 58, 0.18) 29px
    ),
    var(--paper-deep);
  border: 1px solid var(--rule);
  padding: 2rem 1.75rem 1.75rem;
  transform: rotate(1.2deg);
  box-shadow:
    0 1px 0 rgba(31, 26, 18, 0.05),
    6px 8px 0 rgba(138, 106, 58, 0.18),
    12px 20px 40px rgba(40, 28, 12, 0.18);
  animation: fadeIn 1.4s ease-out 0.8s both;
  max-width: 420px;
  margin: 3rem auto 0;
}

@media (min-width: 900px) {
  .record { margin: 0; }
}

.record::before {
  content: "CONFIDENTIAL";
  position: absolute;
  top: 1.5rem;
  right: -0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 0.25rem 0.55rem;
  transform: rotate(6deg);
  opacity: 0.85;
  background: rgba(241, 234, 216, 0.6);
}

.record h2 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sepia);
  padding-bottom: 0.75rem;
  margin: 0 0 1rem;
  border-bottom: 1px solid var(--rule);
}

.record dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1.25rem;
  font-size: 1.05rem;
}

.record dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sepia);
  padding-top: 0.35rem;
}

.record dd {
  font-family: 'Cormorant Garamond', serif;
  color: var(--ink);
  font-weight: 500;
  padding-bottom: 0.4rem;
  border-bottom: 1px dashed rgba(138, 106, 58, 0.4);
}

.record dd.redacted {
  position: relative;
  color: transparent;
  user-select: none;
}

.record dd.redacted::before {
  content: "";
  position: absolute;
  inset: 0.35rem 0 0.5rem;
  background: var(--ink);
  opacity: 0.88;
}

.stamp {
  margin-top: 1.25rem;
  text-align: right;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--accent);
  font-size: 0.95rem;
  opacity: 0.75;
}

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 1rem 0 3rem;
  animation: fadeUp 1.2s ease-out 0.6s both;
}

@media (min-width: 800px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: rgba(255, 252, 240, 0.4);
  border: 1px solid var(--rule);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 4px 0 rgba(138, 106, 58, 0.12);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 6px 8px 0 rgba(138, 106, 58, 0.16);
}

.service-card h3 {
  margin-top: 0;
  color: var(--accent);
}

.service-card p {
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink-soft);
  flex: 1;
  margin-bottom: 1.25rem;
}

.price-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 1rem;
}

.price-tag small {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sepia);
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  width: fit-content;
}

.btn:hover { background: var(--accent); color: var(--paper); }

.btn.btn-solid {
  background: var(--accent);
  color: var(--paper);
}

.btn.btn-solid:hover {
  background: #7c2419;
  border-color: #7c2419;
}

.btn.btn-quiet {
  border-color: var(--rule);
  color: var(--ink-soft);
}

.btn.btn-quiet:hover {
  background: var(--ink-soft);
  color: var(--paper);
  border-color: var(--ink-soft);
}

/* Callouts */
.callout {
  background: rgba(155, 45, 31, 0.06);
  border-left: 3px solid var(--accent);
  padding: 1.1rem 1.4rem;
  margin: 1.5rem 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.callout strong { color: var(--ink); }

.callout.muted {
  background: rgba(138, 106, 58, 0.08);
  border-left-color: var(--sepia);
}

/* Forms */
form.request-form {
  display: grid;
  gap: 1.25rem;
  max-width: 640px;
  margin-top: 1.5rem;
}

/* Honeypot field — off-screen, not display:none, so it stays in the DOM
   for bots that fill in every field but is invisible and unreachable
   (tabindex -1) for real visitors. */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sepia);
}

.form-row .hint {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-family: 'Cormorant Garamond', serif;
  text-transform: none;
  letter-spacing: normal;
}

.form-row input,
.form-row select,
.form-row textarea {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--ink);
  background: rgba(255, 252, 240, 0.55);
  border: 1px solid var(--rule);
  padding: 0.65rem 0.85rem;
  width: 100%;
}

.form-row textarea { min-height: 7rem; resize: vertical; }

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 0.5rem;
}

#form-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--sepia);
}

/* Payment panel */
.payment-panel {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

@media (min-width: 700px) {
  .payment-panel { grid-template-columns: 1fr 1fr; }
}

.payment-option {
  border: 1px solid var(--rule);
  padding: 1.5rem;
  background: rgba(255, 252, 240, 0.35);
}

.payment-option h3 { margin-top: 0; }

.payment-option p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

/* Footer */
footer {
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sepia);
  animation: fadeUp 1s ease-out 1s both;
}

footer a {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

footer a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

footer .disclaimer {
  width: 100%;
  order: 10;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(138, 106, 58, 0.3);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: none;
  line-height: 1.5;
  color: var(--sepia);
  opacity: 0.85;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: rotate(1.2deg) translateY(20px); }
  to   { opacity: 1; transform: rotate(1.2deg) translateY(0); }
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(155, 45, 31, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(155, 45, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(155, 45, 31, 0); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
