/* Ron Hill Imagery — cinematic informational site */
:root {
  --bg: #0a0a0b;
  --bg-elevated: #121214;
  --bg-soft: #1a1a1d;
  --text: #f2efe8;
  --text-muted: #a8a29a;
  --text-dim: #6f6a63;
  --accent: #c9a227;
  --accent-soft: #e8d48b;
  --border: rgba(242, 239, 232, 0.08);
  --border-strong: rgba(242, 239, 232, 0.14);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --max: 1120px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--accent);
  color: #0a0a0b;
  padding: 0.65rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
}

.skip-link:focus {
  top: 1rem;
  box-shadow: var(--focus);
}

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

/* ——— Nav ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1.5rem;
  position: relative;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  border-radius: 2px;
}

.logo span {
  color: var(--accent);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5rem 0.85rem;
  border-radius: 2px;
  transition: color 0.25s var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 4px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: calc(92vh - var(--nav-h));
  display: flex;
  align-items: flex-end;
  padding: 4.5rem 0 5.25rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,11,0.45) 0%, rgba(10,10,11,0.72) 52%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10,10,11,0.82) 0%, rgba(10,10,11,0.35) 55%, rgba(10,10,11,0.55) 100%),
    url("assets/ron-banner.jpg") right center / cover no-repeat;
  background-color: #0a0a0b;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 72% 42%, rgba(201, 162, 39, 0.1), transparent 52%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.15rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1.35rem;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 2.1rem;
  line-height: 1.7;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0b;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--text-muted);
}

/* ——— Sections ——— */
.section {
  padding: 5rem 0;
}

.section-tight {
  padding: 3.5rem 0 4.5rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.15rem;
}

.section-intro {
  color: var(--text-muted);
  max-width: 36rem;
  margin-bottom: 1.35rem;
  line-height: 1.7;
}

.section-intro:last-child {
  margin-bottom: 0;
}

.split .section-intro + .section-intro {
  margin-top: 0.15rem;
}

.stack-copy .section-intro {
  margin-bottom: 1.25rem;
}

.stack-copy .section-intro:last-of-type {
  margin-bottom: 0;
}

.divider {
  height: 1px;
  background: var(--border);
  border: none;
  margin: 0;
}

/* ——— Credibility strip ——— */
.cred-strip {
  border-block: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 2.35rem 0;
}

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

.cred-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--accent-soft);
  margin-bottom: 0.3rem;
}

.cred-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ——— Cards / features ——— */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  margin-top: 2.25rem;
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 1.65rem 1.45rem;
  transition: border-color 0.3s var(--ease);
}

.feature-card:hover {
  border-color: var(--border-strong);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  margin-bottom: 0.7rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.65;
}

/* ——— Work page ——— */
.page-hero {
  padding: 4.25rem 0 2.85rem;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 38rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.work-blocks {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.work-block {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.75rem;
  align-items: center;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
}

.work-block:last-child {
  border-bottom: none;
}

.work-block:nth-child(even) {
  direction: rtl;
}

.work-block:nth-child(even) > * {
  direction: ltr;
}

.work-visual {
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.work-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.work-copy h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.95rem;
}

.work-copy p {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  line-height: 1.7;
}

.work-copy p:last-child {
  margin-bottom: 0;
}

/* ——— About ——— */
.prose {
  max-width: 40rem;
}

.prose p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.prose p:last-of-type {
  margin-bottom: 0;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.25rem;
  align-items: start;
}

.about-aside {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 1.85rem 1.75rem;
}

.about-aside h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.about-aside ul li {
  color: var(--text-muted);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.about-aside ul li:last-child {
  border-bottom: none;
}

.locations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.65rem;
}

.chip {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  padding: 0.4rem 0.75rem;
}

.section-quiet {
  padding-top: 0;
}

.client-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.client-grid .chip {
  background: var(--bg-elevated);
  color: var(--text);
  border-color: var(--border-strong);
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.875rem;
  padding: 0.55rem 0.95rem;
}

.client-note {
  margin-top: 1.25rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  max-width: 42rem;
}

.prose-highlight {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
  margin: 1.25rem 0;
}

.section-intro.prose-highlight {
  max-width: 36rem;
}

.crew-grid {
  margin-top: 1.5rem;
}


/* ——— Team ——— */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

.team-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 1.85rem;
  display: flex;
  gap: 1.35rem;
  align-items: flex-start;
}

.team-avatar {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2a2a2e, #161618);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
}

.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}

.team-card p:not(.team-role) {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-card,
.contact-form-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 2rem;
}

.contact-card h2,
.contact-form-card h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 0.65rem;
}

.contact-form-card > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

.contact-row {
  margin-bottom: 1.5rem;
}

.contact-row:last-of-type {
  margin-bottom: 0;
}

.contact-row dt {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}

.contact-row dd {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.55;
}

.contact-row a,
.mailto-link {
  color: var(--accent-soft);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
  border-radius: 1px;
}

.contact-row a:hover,
.mailto-link:hover {
  border-bottom-color: var(--accent);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.65rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.contact-note {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 1.35rem;
  line-height: 1.6;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}

.field input,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 1rem;
  border-radius: 2px;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.35);
}

.field input:focus-visible,
.field textarea:focus-visible {
  box-shadow: var(--focus);
}

.form-status {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
  min-height: 1.25em;
}

.form-status[data-state="error"] {
  color: #e8a0a0;
}

.form-status[data-state="ok"] {
  color: var(--accent-soft);
}

/* ——— Home mid section visual ——— */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.75rem;
  align-items: center;
}

.split-visual {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}

.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.35rem 0;
  margin-top: 1.5rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
}

.footer-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: right;
  line-height: 1.6;
}

.footer-meta a {
  color: var(--text-muted);
  border-radius: 1px;
}

.footer-meta a:hover {
  color: var(--accent-soft);
}

/* ——— Mobile ——— */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(10, 10, 11, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.25rem 1.25rem;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--border);
  }

  .cred-grid,
  .feature-grid,
  .team-grid,
  .contact-grid,
  .about-layout,
  .split,
  .work-block,
  .work-block:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .hero {
    min-height: 68vh;
    padding: 3rem 0 3.5rem;
  }

  .hero-bg {
    background-position: 70% center;
  }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }

  .section { padding: 4rem 0; }
  .page-hero { padding: 3.25rem 0 2.25rem; }
}

@media (max-width: 520px) {
  .team-card { flex-direction: column; }
  .container { width: min(100% - 1.75rem, var(--max)); }
  .cred-grid { gap: 1.35rem; }
}

.team-credits-label {
  margin-top: 0.85rem;
  margin-bottom: 0.45rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.team-credits {
  margin-top: 0;
  gap: 0.4rem;
}

.team-credits .chip {
  font-size: 0.6875rem;
  padding: 0.28rem 0.55rem;
}

.episode-list {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.85rem;
}

.episode-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  padding: 0.9rem 1.1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.episode-list a {
  color: var(--accent-soft);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.episode-list a:hover {
  color: var(--accent);
}

.episode-meta {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

a.chip {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

a.chip:hover {
  color: var(--accent-soft);
  border-color: rgba(201, 162, 39, 0.35);
}
