:root {
  --bg: #f2f6f5;
  --surface: #ffffff;
  --surface-alt: #e8f4f2;
  --ink: #142225;
  --muted: #566c70;
  --line: #1b3e43;
  --accent: #2f8c88;
  --shadow: rgba(20, 34, 37, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(47, 140, 136, 0.16), transparent 28rem),
    linear-gradient(180deg, #fbfcfc, var(--bg));
}

.page {
  width: min(1120px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.hero,
.card {
  background: var(--surface);
  border: 3px solid var(--line);
  border-radius: 24px;
  box-shadow: 10px 10px 0 var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1rem;
  padding: 1.2rem;
  margin-bottom: 1.4rem;
  background: linear-gradient(135deg, rgba(32, 134, 131, 0.09), rgba(255, 255, 255, 1));
}

.hero-copy h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 56ch;
}

.hero-brand {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.hero-brand img {
  width: 100%;
  display: block;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  display: block;
  padding: 1rem;
  background: linear-gradient(180deg, #ffffff, #f5fbfb);
  transition: transform 180ms ease, box-shadow 180ms ease;
  text-decoration: none;
  color: inherit;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 14px 14px 0 rgba(20, 34, 37, 0.14);
}

.btn-email {
  margin-top: 0.75rem;
  padding: 0.35rem 0.9rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
}

.btn-email:hover {
  background: var(--line);
  transform: translateY(-1px);
}

.thumb {
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  border: 2px solid rgba(27, 62, 67, 0.22);
  background:
    linear-gradient(135deg, rgba(47, 140, 136, 0.35), rgba(255, 255, 255, 0)),
    linear-gradient(160deg, #deefed, #f8fbfb 70%);
  margin-bottom: 1rem;
}

.thumb-bloomsday {
  background:
    linear-gradient(135deg, rgba(47, 140, 136, 0.1), rgba(255, 255, 255, 0.05)),
    url("images/BloomsdayHat.jpg") center / cover no-repeat;
}

.thumb-herenowthis {
  background:
    linear-gradient(135deg, rgba(47, 140, 136, 0.1), rgba(255, 255, 255, 0.05)),
    url("images/HereNowThis.jpg") center / cover no-repeat;
}
.thumb-nowhere {
  background:
    linear-gradient(135deg, rgba(47, 140, 136, 0.1), rgba(255, 255, 255, 0.05)),
    url("images/NowHere.jpg") center / cover no-repeat;
}
.thumb-remembary {
  background:
    linear-gradient(135deg, rgba(47, 140, 136, 0.1), rgba(255, 255, 255, 0.05)),
    url("images/Remembary.jpg") center / cover no-repeat;
}
.thumb-starships {
  background:
    linear-gradient(135deg, rgba(47, 140, 136, 0.1), rgba(255, 255, 255, 0.05)),
    url("images/starships.jpg") center / cover no-repeat;
}
.thumb-speaking {
  background:
    linear-gradient(135deg, rgba(47, 140, 136, 0.1), rgba(255, 255, 255, 0.05)),
    url("images/Speaking.jpg") center / cover no-repeat;
}
.thumb-development {
  background:
    linear-gradient(135deg, rgba(47, 140, 136, 0.1), rgba(255, 255, 255, 0.05)),
    url("images/Workstation.jpg") center / cover no-repeat;
}

.thumb-remembaryscreen {
  background:
    linear-gradient(135deg, rgba(47, 140, 136, 0.1), rgba(255, 255, 255, 0.05)),
    url("images/RemembaryScreen.jpg") center / cover no-repeat;
}

.card h2 {
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
  line-height: 1.1;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.98rem;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page {
    width: min(100vw - 1rem, 1120px);
  }

  .hero,
  .card {
    border-radius: 20px;
    box-shadow: 8px 8px 0 var(--shadow);
  }
}