/* xeaurastudio.com: one static page, the Xeaura brand (src/app/(site)/site.css,
   src/lib/brand/mark.ts). No JavaScript, no outside requests: the two Geist
   faces are served from fonts/ (OFL, see fonts/OFL.txt). Dark is the brand's
   default; a light preference gets the same page on paper. */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/geist-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/geist-mono-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Fallback";
  src: local("Arial");
  ascent-override: 95.94%;
  descent-override: 28.16%;
  line-gap-override: 0%;
  size-adjust: 104.76%;
}

:root {
  color-scheme: dark;
  --ink: #07080a;
  --ink-raised: #0d0f13;
  --ink-overlay: #12151a;
  --paper: #eef1f5;
  --paper-dim: #9aa1ac;
  --paper-faint: #7a808b;
  --line: rgba(238, 241, 245, 0.09);
  --line-strong: rgba(238, 241, 245, 0.16);
  --glow: rgba(238, 241, 245, 0.06);
  --button-bg: var(--paper);
  --button-ink: var(--ink);
  --button-hover: #ffffff;
  --font-sans: "Geist", "Geist Fallback", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --ink: #f4f5f7;
    --ink-raised: #ffffff;
    --ink-overlay: #e9ebef;
    --paper: #12151a;
    --paper-dim: #4f5560;
    --paper-faint: #5e6470;
    --line: rgba(18, 21, 26, 0.1);
    --line-strong: rgba(18, 21, 26, 0.18);
    --glow: rgba(18, 21, 26, 0.045);
    --button-bg: #12151a;
    --button-ink: #eef1f5;
    --button-hover: #000000;
  }
}

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

html {
  background: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: var(--line-strong);
  color: var(--paper);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

p {
  margin: 0;
}

h1,
h2 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 4px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  text-decoration: none;
}
.skip:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Labels: mono, small caps, wide tracking, the brand's quiet signature. */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paper-faint);
}
.index {
  display: inline-block;
  margin-right: 1.25em;
  color: var(--paper-dim);
}

/* Header */
.top {
  position: relative;
  z-index: 2;
}
.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  text-decoration: none;
}
.mark {
  width: 28px;
  height: 28px;
  flex: none;
}
.wordmark {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-sub {
  margin-left: 2px;
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paper-faint);
  line-height: 1;
}
.top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-dim);
  text-decoration: none;
  transition: color 0.3s;
}
.top-link:hover {
  color: var(--paper);
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 120%;
  background: radial-gradient(55% 45% at 50% 40%, var(--glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
}
.hero h1 {
  margin-top: 28px;
  max-width: 14ch;
  font-size: clamp(2.5rem, 2rem + 4.2vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.lead {
  margin-top: 28px;
  max-width: 36rem;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--paper-dim);
  text-wrap: pretty;
}
.lead-second {
  margin-top: 18px;
}
.lead a {
  color: var(--paper);
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.3s;
}
.lead a:hover {
  text-decoration-color: var(--paper);
}
.actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
}

/* The one primary action: solid paper with ink text, like xeaura.com. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--button-bg);
  color: var(--button-ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s;
}
.button:hover {
  background: var(--button-hover);
}
.button span {
  transition: transform 0.5s var(--ease);
}
.button:hover span {
  transform: translateX(4px);
}
.text-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 8px;
  transition: text-decoration-color 0.3s;
}
.text-link:hover {
  text-decoration-color: var(--paper);
}

/* The sender card: the email's header, laid out plainly, so the page answers
   "was that real?" before the reader scrolls. */
.hero-grid {
  display: grid;
  gap: 48px;
}
.from-card {
  align-self: start;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--ink-raised);
  padding: 22px 24px 8px;
  max-width: 30rem;
}
.from-card-head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paper-faint);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.from-list {
  margin: 0;
}
.from-list > div {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.5;
}
.from-list > div:last-child {
  border-bottom: 0;
}
.from-list dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-faint);
  padding-top: 2px;
}
.from-list dd {
  margin: 0;
  color: var(--paper);
}
/* The address on its own line on a phone, never broken inside the domain. */
.from-addr {
  display: block;
  white-space: nowrap;
}
@media (min-width: 640px) {
  .from-addr {
    display: inline;
  }
}

/* Sections */
.section {
  border-top: 1px solid var(--line);
  padding: 72px 0;
}
.section-grid {
  display: grid;
  gap: 36px;
}
.section-intro h2 {
  margin-top: 20px;
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  line-height: 1.12;
}

/* Founder */
.founder {
  display: grid;
  gap: 28px;
}
.portrait {
  margin: 0;
  width: 176px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--ink-raised);
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
}
.founder-text p + p {
  margin-top: 18px;
}
.founder-text {
  max-width: 36rem;
  color: var(--paper-dim);
}
.body-strong {
  color: var(--paper);
  font-size: 1.15rem;
  line-height: 1.55;
}
.signature {
  margin-top: 28px !important;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paper-faint);
}

/* About the emails: rows under hairlines */
.rows {
  margin: 0;
  border-top: 1px solid var(--line);
}
.row {
  display: grid;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.row dt {
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.row dd {
  margin: 0;
  color: var(--paper-dim);
  text-wrap: pretty;
}
.row dd a {
  color: var(--paper);
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.3s;
}
.row dd a:hover {
  text-decoration-color: var(--paper);
}

/* Links out */
.links {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.links a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "url arrow"
    "desc arrow";
  gap: 6px 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 0.3s;
}
.links a:hover {
  border-bottom-color: var(--line-strong);
}
.link-url {
  grid-area: url;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--paper);
}
.link-desc {
  grid-area: desc;
  font-size: 15px;
  line-height: 1.55;
  color: var(--paper-dim);
  text-wrap: pretty;
}
.link-arrow {
  grid-area: arrow;
  color: var(--paper-faint);
  transition: transform 0.5s var(--ease), color 0.3s;
}
.links a:hover .link-arrow {
  color: var(--paper);
  transform: translateX(4px);
}

/* Contact */
.contact {
  padding-bottom: 96px;
}
.contact-title {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(1.15rem, 0.6rem + 3.4vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.email {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.28em;
  transition: text-decoration-color 0.3s;
}
.email:hover {
  text-decoration-color: var(--paper);
}
.contact-note {
  margin-top: 20px;
  max-width: 32rem;
  color: var(--paper-dim);
  text-wrap: pretty;
}

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 32px 0 40px;
  font-size: 14px;
  color: var(--paper-faint);
}
.foot-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.foot-brand .mark {
  width: 22px;
  height: 22px;
}
.foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.foot-links a {
  display: inline-block;
  min-height: 32px;
  line-height: 32px;
  color: var(--paper-dim);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
  transition: color 0.3s, text-decoration-color 0.3s;
}
.foot-links a:hover {
  color: var(--paper);
  text-decoration-color: var(--paper);
}

/* Tablet and up */
@media (min-width: 640px) {
  .wrap {
    padding-left: 32px;
    padding-right: 32px;
  }
  .hero {
    padding: 104px 0 120px;
  }
  .section {
    padding: 96px 0;
  }
  .founder {
    grid-template-columns: 208px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }
  .portrait {
    width: 208px;
  }
  .row {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 40px;
    padding: 28px 0;
  }
  .foot-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Desktop */
@media (min-width: 960px) {
  .wrap {
    padding-left: 40px;
    padding-right: 40px;
  }
  .top-row {
    min-height: 88px;
  }
  .hero {
    padding: 128px 0 152px;
  }
  .section {
    padding: 120px 0;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 80px;
    align-items: center;
  }
  .from-card {
    justify-self: end;
    width: 100%;
  }
  .section-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 80px;
    align-items: start;
  }
  .section-intro {
    position: sticky;
    top: 48px;
  }
  .section-intro h2 {
    max-width: 14ch;
  }
  .links a {
    padding: 26px 0;
  }
}

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