/* Seawolf Equity — business-card landing page.
   Palette, type and ambient treatment lifted from seawolfenergyllc.com
   so the two sites read as one family. */
:root {
  --ink: #060d18;
  --navy-950: #081120;
  --navy-900: #0b182c;
  --brass-400: #d9bd87;
  --brass-500: #c5a572;
  --brass-600: #a8884f;
  --bone: #f3efe6;
  --mist: #aebccd;
  --slate: #6f8095;
  --hairline: rgba(197, 165, 114, 0.18);
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --serif: "Fraunces", ui-serif, Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--bone);
  background: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--brass-500); color: var(--navy-950); }

/* film grain, fixed over everything */
.grain::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(32px, 6vh, 72px) 24px;
  background-image: linear-gradient(to bottom, var(--navy-950), var(--ink) 55%, var(--ink));
}
.glow {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 42%;
  width: 40rem;
  height: 40rem;
  transform: translate(-50%, -50%);
  border-radius: 9999px;
  background: rgba(168, 136, 79, 0.10);
  filter: blur(130px);
}
.watermark {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.04;
  pointer-events: none;
}
.crest-mono {
  display: inline-block;
  height: 34rem;
  aspect-ratio: 1122 / 1402;
  background-color: var(--bone);
  -webkit-mask: url(/emblem-matte.png) center / contain no-repeat;
  mask: url(/emblem-matte.png) center / contain no-repeat;
}

.card {
  width: 100%;
  max-width: 44rem;
  text-align: center;
}

.masthead { display: flex; flex-direction: column; align-items: center; }
.emblem {
  height: 10rem;
  width: auto;
  filter: drop-shadow(0 18px 50px rgba(0, 0, 0, 0.55));
}
h1 {
  margin-top: 1.75rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.1rem, 6vw, 3.1rem);
  letter-spacing: 0.025em;
  line-height: 1.1;
}
.brass { color: var(--brass-400); }
.divider { margin-top: 1.25rem; height: 1px; width: 4rem; background: rgba(197, 165, 114, 0.5); }
.eyebrow {
  margin-top: 1.25rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--mist);
}

/* the card proper: portrait + bio */
.person {
  margin-top: 3rem;
  padding: 2rem 1.5rem 0;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  justify-items: center;
  text-align: left;
}
.portrait {
  width: 11rem;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 0.25rem;
  border: 1px solid rgba(197, 165, 114, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  background: var(--navy-900);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.bio { max-width: 30rem; text-align: center; }
.bio h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.55rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.nick { font-style: italic; color: var(--brass-400); }
.role {
  margin-top: 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass-500);
}
.bio p:not(.role) {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--mist);
}
.bio p:not(.role) + p:not(.role) { margin-top: 0.85rem; }

.contact {
  margin-top: 2.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
.button {
  display: inline-block;
  padding: 0.95rem 2.1rem;
  border-radius: 9999px;
  background: var(--brass-500);
  color: var(--navy-950);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.2s ease;
}
.button:hover { background: var(--brass-400); }
.button:active { transform: translateY(1px); }
.fine { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate); }

@media (min-width: 40rem) {
  .person {
    grid-template-columns: 11.5rem 1fr;
    align-items: start;
    gap: 2.5rem;
    padding-left: 0;
    padding-right: 0;
  }
  .portrait { width: 11.5rem; }
  .bio { text-align: left; }
}

/* reveal, matching the energy site's easing */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
