/* enXhine — coming soon
   Self-hosted Manrope (SIL OFL 1.1, see fonts/OFL.txt). No external requests. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/manrope-latin-300.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/manrope-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/manrope-latin-500.woff2") format("woff2");
}

:root {
  --ivory: #F7F5EF;
  --black: #0B0B0B;
  --gold: #BA7517;       /* large text + lines only */
  --gold-dark: #8A5A12;  /* small text (5.4:1 on ivory) */
  --grey: #4A4945;       /* body text (8.6:1) */
  --muted: #5F5E5A;      /* muted text (5.9:1) */
  --max: 1200px;
  --gutter: 24px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  color: var(--black);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; }

::selection { background: var(--black); color: var(--ivory); }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--black);
  color: var(--ivory);
  font-size: 14px;
  text-decoration: none;
  border-radius: 999px;
}
.skip-link:focus { top: 16px; }

/* Decorative diagonal hairline — echoes the gold stroke of the "x" */
.hairline {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hairline line {
  stroke: var(--gold);
  stroke-width: 1;
  stroke-opacity: .5;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  padding-top: var(--gutter);
  padding-bottom: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: inline-flex;
  line-height: 0;
  border-radius: 4px;
}
.logo svg { display: block; width: 120px; height: auto; }

.header-link {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  text-decoration: none;
  padding: 12px 0;           /* comfortable 44px+ tap target */
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: transparent;
  transition: text-decoration-color .3s var(--ease);
}
.header-link:hover { text-decoration-color: var(--gold); }

/* Main */
.main {
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 48px;
}

.label {
  margin: 0 0 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.headline {
  margin: 0 0 32px;
  font-weight: 300;
  font-size: clamp(52px, min(9vw, 13vh), 120px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--black);
}
.headline span { display: block; }
.headline .accent { color: var(--gold); }

.lead {
  margin: 0 0 28px;
  max-width: 580px;
  font-size: 20px;
  line-height: 1.6;
  color: var(--grey);
}

.services {
  margin: 0 0 40px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .2em;
  line-height: 1.9;
  text-transform: uppercase;
  color: var(--black);
}
.services .dot { color: var(--gold-dark); }
.services .nw,
.contact a { white-space: nowrap; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  border-radius: 999px;
  background: var(--black);
  color: var(--ivory);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .01em;
  text-decoration: none;
  border: 1px solid var(--black);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.button:hover {
  background: transparent;
  color: var(--black);
}

.contact {
  margin: 0;
  font-size: 16px;
  color: var(--grey);
}
.contact a {
  color: var(--black);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: text-decoration-color .3s var(--ease);
}
.contact a:hover { text-decoration-color: var(--black); }

/* Footer */
.site-footer {
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  font-size: 14px;
  color: var(--muted);
}
.site-footer p { margin: 0; }
.site-footer a {
  color: var(--muted);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.site-footer a:hover { color: var(--black); }

/* Secondary pages (privacy, 404) */
.page {
  flex: 1;
  padding-top: 48px;
  padding-bottom: 72px;
}
.page h1 {
  margin: 0 0 32px;
  font-weight: 300;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.prose { max-width: 680px; }
.prose h2 {
  margin: 40px 0 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.prose p,
.prose li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--grey);
}
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 16px; padding-left: 20px; }
.prose a {
  color: var(--black);
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.prose .updated { font-size: 14px; color: var(--muted); }

/* Entrance animation */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.reveal {
  opacity: 0;
  animation: rise .8s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 80ms);
}
.hairline { animation: fade .9s ease-out both; }

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

/* Responsive */
@media (max-width: 720px) {
  .main { align-items: flex-start; padding-top: 40px; }
  .label { margin-bottom: 20px; }
  .headline { margin-bottom: 24px; }
  .lead { font-size: 18px; }
  .services { letter-spacing: .16em; }
  .actions { flex-direction: column; align-items: flex-start; }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 380px) {
  .logo svg { width: 104px; }
  .lead { font-size: 17px; }
}
