/* ==================================================
   ARIANNA HOGAN
   Poet & Portraitist
   Bone + Blush v1 — Main Site
================================================== */

:root {
  --charcoal: #1C1C1C;
  --black: #050505;

  --ivory: #FAF8F5;
  --warm-cream: #F6F2F0;

  --blush: #F3E3DF;
  --blush-deep: #EDDAD5;

  --rose-brown: #7A4F46;
  --taupe-rose: #8A6E66;
  --sepia: #8A6F52;
  --candle: #C9A36B;
  --soft-grey: #C6C6C6;

  --max-width: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ivory);
  color: var(--charcoal);
  font-family: "Lato", sans-serif;
  font-weight: 300;
  line-height: 1.7;
  font-size: 1rem;
}

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

a { color: inherit; text-decoration: none; }

p { margin-bottom: 1.25rem; }

h1, h2, h3, h4, .logo {
  font-family: "Playfair Display", serif;
  color: var(--charcoal);
}

h1 {
  font-size: clamp(3.8rem, 8vw, 7.3rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0.015em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
}

h3 { font-size: 1.45rem; font-weight: 500; }

.hero-subtext,
.poem,
.quote,
blockquote,
.collection-card small {
  font-family: "Cormorant Garamond", serif;
}

.container {
  width: min(100% - 3rem, var(--max-width));
  margin-inline: auto;
}

.section { padding: clamp(4rem, 8vw, 7rem) 0; }

.section-paper { background: var(--ivory); color: var(--charcoal); }

.section-blush { background: var(--blush); color: var(--charcoal); }

.section-dark { background: var(--charcoal); color: var(--ivory); }

.section-dark h2,
.section-dark h3 { color: var(--ivory); }

.section-kicker,
.eyebrow {
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--taupe-rose);
  margin-bottom: 0.75rem;
}

.section-dark .section-kicker,
.hero .eyebrow { color: #c8aaa6; }

/* Header */

.site-header {
  position: absolute;
  z-index: 10;
  width: 100%;
}

.nav-container {
  width: min(100% - 3rem, var(--max-width));
  margin: auto;
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.28rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ivory);
  line-height: 1;
}

.logo span {
  display: block;
  margin-top: 0.18rem;
  font-family: "Lato", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blush);
  opacity: 0.86;
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2.4rem);
}

.nav-links a {
  color: rgba(250, 248, 245, 0.78);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-links a:hover { color: var(--blush); }

/* Hero */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--charcoal);
  color: var(--ivory);
}

.hero-image {
  min-height: 100vh;
  background:
    linear-gradient(rgba(5,5,5,0.18), rgba(5,5,5,0.18)),
    url("../assets/img/arianna-portrait.png");
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) contrast(1.08) brightness(0.78);
  position: relative;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(138,111,82,0.12);
}

.hero-content {
  padding: clamp(4rem, 8vw, 7rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content h1 { color: var(--ivory); margin-bottom: 1.5rem; }

.hero-subtext {
  max-width: 42rem;
  color: var(--blush);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.45;
  font-style: italic;
}

.hero-buttons {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 0.9rem 1.45rem;
  border: 1px solid currentColor;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  transition: 0.25s ease;
}

.btn-primary { color: var(--ivory); }
.btn-primary:hover { background: var(--ivory); color: var(--charcoal); }

.btn-secondary { color: var(--blush); }
.btn-secondary:hover { background: var(--blush); color: var(--charcoal); }

/* Intro */

.intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.intro-copy { max-width: 720px; font-size: 1.08rem; }

/* Section headings */

.section-heading { margin-bottom: 2rem; }
.section-heading.centred { text-align: center; }

/* Collection Cards */

.collection-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 1rem;
}

.collection-card {
  min-height: 280px;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(28, 28, 28, 0.14);
  box-shadow: 0 18px 34px rgba(28, 28, 28, 0.18);
}

.collection-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transform: scale(1);
  transition: transform 0.6s ease;
}

.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      to top,
      rgba(5,5,5,0.88),
      rgba(5,5,5,0.20)
    );

  opacity: 1;
  transition: opacity 0.4s ease;
}

.collection-card:hover::before {
  transform: scale(1.04);
}

.collection-card:hover::after {
  opacity: 0.82;
}

.collection-card span,
.collection-card small {
  position: relative;
  z-index: 2;
  text-align: center;
}

.collection-card span {
  font-family: "Playfair Display", serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}

.collection-card small {
  color: rgba(250, 248, 245, 0.82);
  font-size: 1rem;
  line-height: 1.35;
}

.phoenix {
  --card-bg: url("../assets/img/poetry/card-phoenix.jpg");
}

.cloak {
  --card-bg: url("../assets/img/poetry/cloak-placeholder.jpg");
}

.illumination {
  --card-bg: url("../assets/img/poetry/card-illumination.jpg");
}

.soil {
  --card-bg: url("../assets/img/poetry/card-soil.jpg");
}

.spectres {
  --card-bg: url("../assets/img/poetry/card-spectres.jpg");
}
.soil { --card-bg: radial-gradient(circle at 50% 37%, rgba(122, 79, 70, 0.55), transparent 23%), linear-gradient(145deg, #241a16, #050505); }

.spectres { --card-bg: radial-gradient(circle at 50% 25%, rgba(198, 198, 198, 0.34), transparent 26%), linear-gradient(145deg, #2d2b2a, #050505); }

/* Art + poem */

.art-poem-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.65fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.art-card {
  min-height: 230px;
  margin: 0;
  padding: 1rem;
  display: flex;
  align-items: end;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(250, 248, 245, 0.12);
  background: var(--art-bg), linear-gradient(145deg, #1c1c1c, #050505);
}

.art-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,0.9), rgba(5,5,5,0.04));
}

.art-card figcaption {
  position: relative;
  z-index: 2;
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  color: rgba(250, 248, 245, 0.82);
}

.thorns { --art-bg: radial-gradient(circle at 48% 28%, rgba(122, 79, 70, 0.48), transparent 26%), linear-gradient(145deg, #241612, #050505); }
.sea { --art-bg: radial-gradient(circle at 50% 42%, rgba(98, 98, 98, 0.52), transparent 30%), linear-gradient(145deg, #111a1d, #050505); }
.roses { --art-bg: radial-gradient(circle at 52% 35%, rgba(122, 79, 70, 0.6), transparent 22%), linear-gradient(145deg, #1f1112, #050505); }
.moon { --art-bg: radial-gradient(circle at 52% 22%, rgba(243, 227, 223, 0.36), transparent 21%), linear-gradient(145deg, #1b1716, #050505); }

.featured-poem {
  border-left: 1px solid rgba(250, 248, 245, 0.18);
  padding-left: 2rem;
}

.featured-poem blockquote {
  margin: 0 0 1.5rem;
  color: var(--blush);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  font-style: italic;
}

.text-link {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--rose-brown);
}

.text-link.light { color: #c8aaa6; }
.text-link::after { content: " →"; }

/* Projects */

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.project-card {
  background: var(--warm-cream);
  border: 1px solid rgba(28, 28, 28, 0.08);
  padding: 2rem;
}

.project-card h3 { margin-bottom: 0.8rem; }
.project-card p { margin-bottom: 0; }

/* Closing + Footer */

.closing {
  background: var(--blush);
  color: var(--charcoal);
  padding: 3rem 1.5rem;
  text-align: center;
}

.closing p {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
  font-style: italic;
}

.site-footer {
  background: var(--black);
  color: rgba(250, 248, 245, 0.68);
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-size: 0.82rem;
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.footer-links a:hover { color: var(--blush); }

/* Responsive */

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

  .hero-image {
    min-height: 60vh;
    order: 1;
  }

  .hero-content {
    order: 2;
    padding: 4rem 2rem;
  }

  .collection-grid { grid-template-columns: repeat(3, 1fr); }

  .art-poem-grid,
  .intro-grid { grid-template-columns: 1fr; }

  .featured-poem {
    border-left: 0;
    border-top: 1px solid rgba(250, 248, 245, 0.18);
    padding-left: 0;
    padding-top: 2rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    background: var(--charcoal);
  }

  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-image { min-height: 55vh; }

  .collection-grid,
  .art-grid,
  .project-grid { grid-template-columns: 1fr; }
}
