:root {
  color-scheme: dark;
  --ink: #f3fbff;
  --muted: #a9c2cb;
  --line: rgba(201, 239, 248, 0.18);
  --panel: rgba(4, 21, 29, 0.82);
  --violet: #b9a2ff;
  --teal: #54d5d1;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: #031118; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(49, 139, 148, 0.22), transparent 35rem),
    radial-gradient(circle at 90% 85%, rgba(102, 70, 168, 0.2), transparent 30rem),
    #031118;
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}

.card {
  width: min(100%, 29rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--panel);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.portrait {
  position: relative;
  min-height: 18.5rem;
  background:
    linear-gradient(to bottom, rgba(2, 14, 20, 0.05) 30%, rgba(3, 17, 24, 0.95) 100%),
    url("underwater-hero.png") center 57% / cover no-repeat;
}

.mark {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  background: rgba(2, 20, 27, .54);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  letter-spacing: .08em;
  backdrop-filter: blur(8px);
}

.location {
  position: absolute;
  top: 1.45rem;
  right: 1.3rem;
  padding: .55rem .75rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(2, 20, 27, .54);
  color: #e2f6f7;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.content { padding: 0 1.35rem 1.25rem; }

.eyebrow {
  margin: -1rem 0 .45rem;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 9vw, 3rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.035em;
}

.intro {
  max-width: 24rem;
  margin: .8rem 0 1.35rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.links { display: grid; gap: .7rem; }

.link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.3rem;
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255,255,255,.035);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.link:hover,
.link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(84,213,209,.68);
  background: rgba(84,213,209,.09);
  outline: none;
}

.link.primary {
  border-color: rgba(185,162,255,.5);
  background: linear-gradient(110deg, rgba(84,213,209,.13), rgba(185,162,255,.13));
}

.link.quiet { background: transparent; }

.link span:first-child { display: grid; gap: .18rem; }
.link strong { font-size: 1rem; font-weight: 750; }
.link small { color: var(--muted); font-size: .78rem; line-height: 1.3; }
.arrow { color: var(--teal); font-size: 1.3rem; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.15rem;
  padding: .25rem .15rem 0;
  color: #7896a1;
  font-size: .76rem;
}

.depth { color: var(--violet); }

@media (min-width: 760px) {
  .card { width: min(100%, 54rem); display: grid; grid-template-columns: 1.05fr .95fr; }
  .portrait { min-height: 40rem; }
  .content { display: flex; flex-direction: column; justify-content: center; padding: 3rem 2.25rem 2rem; }
  .eyebrow { margin-top: 0; }
  footer { margin-top: auto; padding-top: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .link { transition: none; }
}
