/*
Theme Name: Aashik
Theme URI: https://aashikp.com/
Author: Aashik P
Description: A deliberately minimal, single-page personal site.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: aashik
*/

:root {
  color-scheme: light;
  --paper: #eaf1f6;
  --ink: #162033;
  --muted: #5c687a;
  --signal: #ff5d3a;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

main {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: clamp(1.25rem, 4vw, 3.5rem);
}

.intro {
  width: min(100%, 72rem);
  align-self: center;
  padding: clamp(4rem, 12vh, 8rem) 0;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(4.3rem, 13vw, 10.5rem);
  font-weight: 760;
  letter-spacing: -0.075em;
  line-height: 0.78;
}

.bio {
  max-width: 36rem;
  margin: clamp(2.25rem, 6vw, 4.75rem) 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.6vw, 2.15rem);
  line-height: 1.28;
}

.actions {
  display: flex;
  align-items: center;
  margin: 2.25rem 0 0;
}

.contact {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 3.25rem;
}

.reveal {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  padding: 0.85rem 1rem;
  font: 700 0.78rem/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 160ms ease, transform 160ms ease;
}

.reveal:hover {
  background: var(--signal);
  transform: translateY(-2px);
}

.email {
  min-width: min(19rem, 65vw);
  color: var(--muted);
  font: 500 clamp(0.8rem, 1.5vw, 0.95rem)/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.email a {
  color: var(--ink);
  font: inherit;
  text-decoration-color: var(--signal);
  text-underline-offset: 0.25rem;
}

.wordpress {
  width: 1.8rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
  justify-self: end;
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.wordpress .dashicons {
  width: 1.8rem;
  height: 1.8rem;
  font-size: 1.8rem;
}

.wordpress:hover {
  color: var(--signal);
  transform: translateY(-2px);
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}

@media (max-width: 700px) {
  h1 {
    font-size: clamp(4rem, 22vw, 7rem);
  }

  .contact {
    width: 100%;
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
