/* === Local fonts: use RELATIVE paths (project site safe) === */
@font-face {
  font-family: "SF Pixelate";
  src: url("assets/fonts/SF Pixelate.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SF Pixelate";
  src: url("assets/fonts/SF Pixelate Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SF Pixelate";
  src: url("assets/fonts/SF Pixelate Oblique.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "SF Pixelate";
  src: url("assets/fonts/SF Pixelate Bold Oblique.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Futura";
  src: url("assets/fonts/Futura Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Futura";
  src: url("assets/fonts/Futura Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Futura";
  src: url("assets/fonts/Futura Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* === Colors & globals === */
:root {
  --bg: #fff;
  --text: #111;
  --muted: #60666c;
  --accent: #ff004d;
  --accent2: #00a7c7;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 "Futura", "Harmonia Sans W01 Semibold", ui-sans-serif,
    system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* === Layout === */
.wrap {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 5rem 1rem;
}
.stack {
  display: grid;
  gap: 0.8rem;
  justify-items: center;
  text-align: center;
}

/* === Nav directly above glitch text (homepage only) === */
.nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
}
.nav a {
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  font-family: "Futura", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 0.01em;
}
.nav a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* === Glitch text uses SF Pixelate === */
#glitch-target {
  font-family: "SF Pixelate", ui-monospace, SFMono-Regular, Menlo, Consolas,
    monospace;
  font-weight: 700;
  font-size: clamp(36px, 9vw, 104px);
  line-height: 0.9;
  letter-spacing: 0.5px;
  text-shadow: 1px 0 var(--accent), -1px 0 var(--accent2),
    0 0 12px rgba(255, 0, 77, 0.15);
}

/* === Social + email === */
.social {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: 0;
}
.pill {
  border: 1px solid var(--border);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: #fafafa;
}
.pill:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.pill--ig {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.pill--ig svg {
  display: block;
}

.contact-block {
  display: grid;
  gap: 0.25rem; /* small space between IG button + email */
  justify-items: center;
}

.email {
  margin: 0;
  font-size: clamp(12px, 1.1vw, 14px);
  line-height: 1.4;
}
.email a {
  color: var(--muted);
  text-decoration: underline;
}

/* === About page: logo header only === */
.logo-header {
  margin: 0;
  padding: 0.5rem 0;
  text-align: center;
}
.logo-header a {
  text-decoration: none;
  color: inherit;
}
.logo-header #glitch-target {
  font-family: "SF Pixelate", monospace;
  font-weight: 700;
  font-size: clamp(36px, 8vw, 96px);
  line-height: 1;
}
/* === ABOUT PAGE === */
.about-text {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1.2rem;   /* keeps side spacing */
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
}
.about-text p {
  margin-bottom: 1.2rem;
}
.about-text strong {
  font-weight: 700;
  color: var(--accent);
}
.contact-block {
  margin: 2rem auto;
  text-align: center;
}
.contact-block .email {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}
/* About page header (glitch logo only) */
.about-header {
  padding: 1rem 0;
  text-align: center;
}
.about-header p {
  margin: 0;
}
/* === About page photos grid === */
.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;  /* 2 equal columns */
  gap: 1.5rem;
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.about-photos img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: 2px solid var(--border);
  border-radius: 6px;
}
