/* ===========================
   Delphinian — Stylesheet
   =========================== */

/* --- Design Tokens --- */
:root {
  --color-deep: #0a1628;
  --color-ocean: #0f2440;
  --color-surface: #132d4f;
  --color-mid: #1a3a63;
  --color-blue: #3a8fd4;
  --color-blue-light: #5ab0f0;
  --color-sky: #8ccbf2;
  --color-foam: #d0e8f7;
  --color-white: #f0f4f8;
  --color-grey: #94a7b8;
  --color-grey-light: #c2d0dc;

  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --content-width: 800px;
  --radius: 12px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-deep);
  color: var(--color-foam);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-blue-light);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-sky);
}

/* --- Typography --- */
h1, h2, h3 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: normal;
  line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }

/* --- Layout --- */
.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Header --- */
.site-header {
  text-align: center;
  padding: 5rem 1.5rem 3rem;
  background: linear-gradient(180deg, var(--color-ocean) 0%, var(--color-deep) 100%);
}

.site-header__logo {
  width: 180px;
  height: 180px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(90, 176, 240, 0.2);
  /* placeholder styling until art is added */
  background: radial-gradient(circle at 40% 40%, var(--color-mid), var(--color-ocean));
  display: none;
}

.site-header__logo[src] {
  display: block;
}

.site-header__title {
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

.site-header__subtitle {
  color: var(--color-sky);
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}

.site-header__latin {
  color: var(--color-grey);
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 0.5rem;
}

/* --- Banner --- */
.banner {
  height: 400px;
  background: url('imgs/delphinian.jpg') center 30% / cover no-repeat fixed;
  border-top: 1px solid rgba(90, 176, 240, 0.1);
  border-bottom: 1px solid rgba(90, 176, 240, 0.1);
}

/* --- Latin Feature --- */
.latin-feature {
  text-align: center;
  padding: 3.5rem 1.5rem 2rem;
}

.latin-feature__name {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-style: italic;
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.latin-feature__common {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-grey);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* --- About / Content Section --- */
.content {
  padding: 3rem 0;
  text-align: center;
}

.content p {
  color: var(--color-grey-light);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 1.2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Divider --- */
.divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-mid), transparent);
  margin: 2rem auto;
  max-width: 400px;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-ocean);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--color-grey);
  font-size: 0.85rem;
}

.site-footer p + p {
  margin-top: 0.4rem;
}

/* --- Responsive --- */
@media (max-width: 600px) {
  .banner {
    height: 240px;
    background-attachment: scroll;
  }

  .site-header {
    padding: 3.5rem 1.5rem 2rem;
  }

  .site-header__logo {
    width: 140px;
    height: 140px;
  }

  .latin-feature {
    padding: 2.5rem 1.5rem 1.5rem;
  }
}
