/* option D: 2008 portfolio vibe. pixel mosaic, black boxes, white cards */
:root { --pink: #000; --blue: #000; --white: #fff; --black: #000; }

body {
  margin: 0;
  background: #ddd;
  color: #000;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  line-height: 1.5;
}
.page { max-width: 900px; margin: 0 auto; padding: 0 16px; }
a { color: var(--pink); font-weight: bold; text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, .hello {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  letter-spacing: -1px;
  margin: 0;
}

/* top */
.top { display: grid; grid-template-columns: 300px 1fr; gap: 0 24px; padding-top: 32px; position: relative; }
.tag {
  display: inline-block; background: var(--blue); color: var(--white);
  font: bold 15px/1 Arial, sans-serif; letter-spacing: -1px; padding: 6px; width: 72px;
}
h1 { font-size: 46px; color: #000;  margin: 4px 0 0; }
h1 a { color: #000; }
.hello { font-size: 30px; line-height: 1.15; color: #000;  padding-top: 16px; }

.box { background: var(--black); padding: 12px 16px 16px; }
.box h2 { font-size: 24px; color: #fff; margin-bottom: 8px; }
.boxes { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; margin-top: 8px; }
.boxes .box:nth-child(2) { margin-top: 64px; }
.boxes .box:nth-child(3) { margin-top: 112px; }
.box ul { list-style: none; padding: 0; margin: 0; }
.box li { padding: 3px 0; }
.box li::before { content: "→ "; color: var(--pink); }

.flower { position: absolute; width: 48px; pointer-events: none; }
.rainbow { position: absolute; width: 140px; pointer-events: none; }

/* sections */
section { margin-top: 48px; }
section > h2 { font-size: 30px; color: #000; display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
section > h2::before {
  content: "▼"; font-size: 12px; background: var(--black); color: #fff;
  width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center;
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card {
  background: #fff; color: #333; padding: 6px 6px 10px; position: relative;
  /* little black corner squares */
  background-image:
    linear-gradient(#000, #000), linear-gradient(#000, #000),
    linear-gradient(#000, #000), linear-gradient(#000, #000);
  background-size: 6px 6px;
  background-repeat: no-repeat;
  background-position: 0 0, 100% 0, 0 100%, 100% 100%;
}
.card img, .card .thumb { width: 100%; display: block; aspect-ratio: 16 / 10; object-fit: cover; }
.card .thumb { background: #ccc; color: #333; display: flex; align-items: center; justify-content: center; }
.card b { display: block; margin-top: 8px; color: #000; }
.card p { margin: 0 0 6px; }
.card a { color: var(--pink); }

.wide { background: #fff; color: #000; padding: 16px; }
.wide table { width: 100%; border-collapse: collapse; font-size: 12px; }
.wide td { padding: 6px 4px; border-bottom: 1px dotted #ccc; }
.wide td:first-child { font-weight: bold; color: var(--blue); white-space: nowrap; }
.wide td:last-child { text-align: right; }

form { display: flex; gap: 6px; margin-top: 8px; }
input { font: inherit; padding: 4px; border: 0; flex: 1; min-width: 0; }
button { font: bold 11px Verdana, sans-serif; background: var(--pink); color: #fff; border: 0; padding: 4px 10px; cursor: pointer; }
button:hover { background: var(--blue); }

/* footer */
footer { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; }
footer .box:nth-child(2) { margin-top: -48px; }
footer h2 { color: #fff; }

@media (max-width: 720px) {
  .top { grid-template-columns: 1fr; }
  .hello { font-size: 24px; }
  .boxes, .cards, footer { grid-template-columns: 1fr; gap: 16px; }
  .boxes .box:nth-child(n), footer .box:nth-child(n) { margin-top: 0; }
  .rainbow, .flower { display: none; }
}

/* basic colors for layout review */
a { color: #000; text-decoration: underline; }
.box { color: #fff; }
.box a, .box li::before { color: #fff; }
.rainbow, .flower { display: none; }
button { background: #555; }
button:hover { background: #000; }
