/* Optional Google fonts (matches the “Lovable-style” look) */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Raleway:wght@300;400;500&display=swap");

/* Adobe Caslon Pro for the ASHLAR headline only.
   Put WOFF2 files into ./fonts/ (same folder level as styles.css) */
@font-face{
  font-family: "Adobe Caslon Pro";
  src: url("./fonts/AdobeCaslonPro-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Adobe Caslon Pro";
  src: url("./fonts/AdobeCaslonPro-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root{
  --bg: #141414;

  /* Lovable palette-style values (HSL) */
  --fg: hsl(40 20% 90%);
  --muted: hsl(40 10% 55%);
  --accent: hsl(36 30% 58%);

  --font-body: "Raleway", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-brand: "Adobe Caslon Pro", "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

*{ box-sizing: border-box; }

html, body{ height: 100%; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  overflow: hidden; /* keeps it clean like the Lovable holder */
}

/* Centre layout */
.wrap{
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;   /* content area + footer */
  justify-items: center;          /* horizontal centring */
  align-items: center;            /* vertical centring of the content row */
  position: relative;
  padding: 3rem 1.5rem 1.5rem;    /* slightly less bottom padding now */
}


/* Subtle noise overlay */
.wrap::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* Soft radial glow */
.wrap::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, hsl(36 30% 58% / 0.07) 0%, transparent 70%);
}

.content{
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 38rem;
}

/* ASHLAR headline */
.brand{
  margin: 0 0 1.25rem;
  font-family: var(--font-brand);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0.35em;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.05;
}

/* Divider line */
.rule{
  height: 1px;
  width: 4rem;
  margin: 0 auto 2.25rem;
  background: color-mix(in oklab, var(--accent) 40%, transparent);
}

.status{
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
  font-size: clamp(1rem, 2.1vw, 1.25rem);
}

.note{
  margin: 0 auto 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 34rem;
}

.email{
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  transition: opacity 0.2s ease;
}
.email:hover{ opacity: 0.7; }

.footer{
  position: static;               /* IMPORTANT: remove absolute positioning */
  padding-bottom: 0.25rem;
  text-align: center;
  color: color-mix(in oklab, var(--muted) 92%, transparent);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}