/* ============================================================
   COLORS AND FONTS - change these first, the whole site updates
   Style: black ink line art on white, thick panel borders,
   hand-drawn lettering, one red accent (the red cheeks)
   ============================================================ */
@font-face {
  font-family: "Atiifiia_manga";
  src: url("fonts/AtiifiiaManga-Regular.woff2") format("woff2"),
       url("fonts/AtiifiiaManga-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

:root {
  --paper:  #ffffff;   /* page background */
  --ink:    #111111;   /* all lines and text */
  --muted:  #555555;   /* secondary text */
  --red:    #e5231f;   /* accent, taken from the cheeks in the artwork */

  --border: 5px;       /* thickness of the manga panel lines */

  --font-heading: "Atiifiia_manga", "Yomogi", sans-serif;       /* headings (your font) */
  --font-header:  "Atiifiia_manga", "Zen Kurenaido", sans-serif; /* logo + menu (your font) */
  --font-display: "Yomogi", "Zen Maru Gothic", sans-serif;      /* buttons + prices */
  --font-body:    "Zen Maru Gothic", system-ui, sans-serif;     /* paragraphs */
}

/* ============================================================
   BASICS
   ============================================================ */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* The whole page sits inside one thick frame, like a manga page */
body {
  margin: 0.75rem;
  border: calc(var(--border) + 1px) solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.25rem, 6vw, 4rem); max-width: 16ch; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.2em; }

p { margin: 0 0 1em; max-width: 60ch; }

a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: var(--red); }

/* Visible outline when navigating with the keyboard */
a:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ============================================================
   LAYOUT: each section is centered with a maximum width
   ============================================================ */
.site-header,
main > section,
.site-footer {
  width: min(1080px, 100% - 3rem);
  margin-inline: auto;
}

main > section { padding-block: 4rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  align-items: center;
  padding-block: 1.5rem;
  font-family: var(--font-header);
}

.logo {
  font-family: var(--font-header);
  font-size: 5rem;
  text-decoration: none;
}

.site-header nav { display: flex; gap: 2rem; font-size: 3.5rem; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; text-decoration-color: var(--red); }

/* The page you are currently on gets a red underline */
.site-header nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

/* ============================================================
   BUTTONS: black outline, fills red on hover
   ============================================================ */
.button {
  display: inline-block;
  padding: 0.55rem 1.4rem;
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.button:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ============================================================
   HERO: one big panel with a thick border
   ============================================================ */
.hero {
  border: var(--border) solid var(--ink);
  padding: 3.5rem 2.5rem;
  margin-top: 1rem;
}
.hero p { font-size: 1.2rem; color: var(--muted); }

/* ============================================================
   SHOP
   ============================================================ */
.print-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 3rem 2rem;
  margin-top: 2.5rem;
}

/* Every artwork gets a panel border. Your real images already have
   their own frame (like the sample), so images get no extra border. */
.print img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 1rem;
}

.art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: var(--border) solid var(--ink);
  margin-bottom: 1rem;
}
.art::after {
  content: "artwork here";
  font-family: var(--font-display);
  color: var(--muted);
}

.details { color: var(--muted); margin-bottom: 0.25em; }
.price { font-family: var(--font-display); font-size: 1.3rem; color: var(--red); }

/* Featured print on the home page */
.featured .print { max-width: 340px; margin-top: 2rem; }
.featured .print a:has(img) { display: block; }

/* Contact page */
.contact { padding-bottom: 3rem; }

/* ============================================================
   ABOUT AND FOLLOW: separated by thick panel lines
   ============================================================ */
.about,
.follow { border-top: var(--border) solid var(--ink); }

.social-links {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}
/* Social links reuse the button look */
.social-links a {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-display);
  text-decoration: none;
}
.social-links a:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding-block: 2rem 3rem;
  border-top: var(--border) solid var(--ink);
  color: var(--muted);
  font-size: 0.9rem;
}

/* ============================================================
   SMALL SCREENS (phones)
   ============================================================ */
@media (max-width: 560px) {
  main > section { padding-block: 3rem; }
  .hero { padding: 2rem 1.25rem; }
  .site-header nav { gap: 1rem; }
}
