/* =============================================
   YORK REYNOLDS — style.css
   Palette: #0a0a0a / #cc1111 / #ffffff
   Type: Cormorant Garamond + Raleway
============================================= */

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

:root {
  --black:     #0a0a0a;
  --red:       #cc1111;
  --white:     #ffffff;
  --white-dim: rgba(255,255,255,0.55);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Raleway', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ── HEADER ─────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.6rem 3rem;
  display: flex;
  align-items: center;
}

.yr-logo-img {
  height: 48px;
  width: auto;
  display: block;
  /* The logo from the old site has a coloured background — 
     mix-blend-mode makes it sit cleanly on dark bg */
  mix-blend-mode: screen;
  filter: brightness(1.1);
}

/* ── HERO ───────────────────────────────── */
main {
  flex: 1;
  display: flex;
  align-items: center;
}

.hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6vw;
  padding: 8rem 6vw 6rem;
}

/* Photo */
.photo-wrap {
  position: relative;
  flex-shrink: 0;
}

.photo-glow {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(180,10,10,0.2) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.photo-placeholder {
  position: relative;
  z-index: 1;
  width: 320px;
  height: 420px;
  border: 1px solid rgba(204,17,17,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1a0404 0%, #0d0202 100%);
  overflow: hidden;
}

.photo-placeholder.has-photo {
  background: none;
  border: none;
}

.photo-placeholder.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  filter: drop-shadow(0 0 40px rgba(180,10,10,0.25));
}

.photo-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  opacity: 0.4;
}

.placeholder-svg { width: 90px; height: 110px; }

.photo-label {
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-dim);
}

/* Hero text */
.hero-text { max-width: 520px; }

.name {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 7vw, 7rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 2.5rem;
}

.taglines {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border-left: 1px solid rgba(204,17,17,0.35);
  padding-left: 1.5rem;
}

.tagline {
  font-size: clamp(0.8rem, 1.4vw, 1rem);
  font-weight: 200;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-dim);
  line-height: 1.6;
}

/* ── FOOTER ─────────────────────────────── */
footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 2.5rem 3rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-link {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-link:hover { color: var(--white); }
.contact-link:hover { color: var(--red); }

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-divider { color: rgba(255,255,255,0.2); font-size: 0.8rem; }

.footer-company { min-width: 120px; }
.footer-company-name {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

.footer-copy {
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 768px) {
  header { padding: 1.5rem; }

  .hero {
    flex-direction: column;
    padding: 7rem 1.5rem 4rem;
    gap: 3rem;
    text-align: left;
  }

  .photo-placeholder { width: 260px; height: 340px; }
  .name { font-size: clamp(3rem, 12vw, 4.5rem); }

  footer { padding: 2rem 1.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .footer-copy { text-align: left; }
}

/* ── ENTRANCE ANIMATION ─────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .photo-wrap  { animation: fadeUp 0.9s ease both; animation-delay: 0.1s; }
  .name        { animation: fadeUp 0.9s ease both; animation-delay: 0.25s; }
  .taglines    { animation: fadeUp 0.9s ease both; animation-delay: 0.45s; }
  footer       { animation: fadeIn 1.2s ease both; animation-delay: 0.6s; }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
}
