/* Ed Dyson Website - Main Stylesheet */
:root {
  --background-color: #c8f1fb;
  --surface-color: rgba(255, 255, 255, 0.58);
  --surface-strong: #f7fdff;
  --text-color: #9f1518;
  --link-color: #9f1518;
  --link-hover-color: #62080a;
  --accent-color: #b7151b;
  --border-color: rgba(159, 21, 24, 0.28);
  --shadow-color: rgba(76, 28, 30, 0.14);
  --header-height: 74px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-wrap: break-word;
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 255, 255, 0.7), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0)),
    var(--background-color);
  color: var(--text-color);
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

::selection {
  background: var(--accent-color);
  color: var(--background-color);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: block;
  height: 46px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(98, 8, 10, 0.1));
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(200, 241, 251, 0.88);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 12px 30px rgba(98, 8, 10, 0.06);
  backdrop-filter: blur(10px);
}

.header-container {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

nav {
  flex: 1 1 auto;
  min-width: 0;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px clamp(14px, 2.4vw, 30px);
  list-style: none;
}

nav a {
  display: inline-block;
  color: var(--link-color);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.25;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

nav a:hover {
  color: var(--link-hover-color);
}

nav a.active {
  border-bottom: 2px solid var(--accent-color);
}

main {
  flex: 1;
  padding: 54px 0;
}

.hero {
  margin-bottom: 42px;
}

.hero-content {
  min-height: min(68vh, 630px);
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: clamp(26px, 5vw, 58px);
}

.image-container,
.text-container {
  min-width: 0;
}

.image-container {
  flex: 1 1 47%;
  max-width: 500px;
  overflow: hidden;
  background-color: var(--surface-strong);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  box-shadow: 0 28px 70px var(--shadow-color);
}

.image-container img {
  width: 100%;
  height: clamp(390px, 62vh, 610px);
  display: block;
  object-fit: cover;
  object-position: center 18%;
}

.text-container {
  flex: 1 1 53%;
  max-width: 590px;
}

.about-section {
  text-align: left;
}

.about-section h1,
.about-section h2,
.content-block h1,
.content-block h2 {
  margin-bottom: 18px;
  color: var(--text-color);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 4.6vw, 4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--link-hover-color);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

p,
li,
label,
input,
textarea,
button {
  color: var(--text-color);
}

.lead {
  max-width: 780px;
  margin: 0 0 32px;
  font-size: 1.12rem;
}

.social-links,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.social-links p,
.cta-row a,
p a {
  display: inline-block;
  margin: 0;
}

a,
.social-links a,
.link-list a {
  color: var(--link-color);
  text-decoration: none;
}

a:hover,
.social-links a:hover,
.link-list a:hover {
  color: var(--link-hover-color);
  text-decoration: underline;
}

.button,
.button-secondary,
button {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--accent-color);
  border-radius: 999px;
  background: var(--accent-color);
  color: var(--link-color);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button,
button {
  color: #fff7f7;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.34);
  color: var(--link-color);
}

.button:hover,
.button-secondary:hover,
button:hover {
  background: var(--link-hover-color);
  color: #fff7f7;
  text-decoration: none;
}

.summary-grid,
.work-grid,
.credits-grid,
.performers-grid,
.expertise-grid,
.faq-list,
.links-grid {
  display: grid;
  gap: 1rem;
}

.summary-grid,
.credits-grid,
.work-grid,
.links-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.performers-grid,
.expertise-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.info-card,
.work-item,
.credit-item,
.contact-card,
.performer,
.expertise-tag,
.faq-item,
.link-card {
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background-color: var(--surface-color);
  box-shadow: 0 16px 38px rgba(98, 8, 10, 0.06);
}

.info-card h2,
.work-item h3,
.credit-item h3,
.contact-card h2,
.faq-item h3,
.link-card h2 {
  margin-bottom: 10px;
  color: var(--link-color);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 700;
}

.content-block {
  margin-top: 2rem;
}

.content-block h2 {
  margin-top: 36px;
}

.content-block ul {
  margin: 16px 0 0 20px;
}

.credit-item ul {
  list-style: none;
  margin-left: 0;
}

.credit-item li {
  margin: 8px 0;
}

.performer,
.expertise-tag {
  text-align: center;
}

.contact-card {
  max-width: 760px;
  margin-top: 30px;
  padding: clamp(22px, 4vw, 34px);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(159, 21, 24, 0.42);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--text-color);
  font: inherit;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent-color);
  outline: 3px solid rgba(183, 21, 27, 0.15);
}

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

.hidden {
  display: none;
}

.contact-meta {
  margin-top: 18px;
  font-size: 0.95rem;
}

.link-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
  list-style: none;
}

footer {
  margin-top: 0;
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  background-color: rgba(200, 241, 251, 0.72);
  color: var(--text-color);
  text-align: center;
  font-size: 0.9rem;
}

.footer-inner {
  display: block;
}

.site-credit {
  margin-top: 6px;
}

.site-credit a {
  display: inline;
}

.fade-in {
  opacity: 1;
}

@media (max-width: 768px) {
  .header-container {
    min-height: var(--header-height);
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  nav ul {
    justify-content: center;
    gap: 8px 16px;
  }

  nav a {
    font-size: 0.92rem;
  }

  .hero-content {
    min-height: auto;
    flex-direction: column;
    gap: 24px;
  }

  .image-container,
  .text-container {
    flex: 1 1 auto;
    width: 100%;
  }

  .image-container {
    box-shadow: 0 18px 42px var(--shadow-color);
  }

  .image-container img {
    height: clamp(260px, 78vw, 420px);
  }

  .about-section {
    padding: 10px;
    text-align: center;
  }

  .social-links {
    width: 100%;
    justify-content: center;
    padding: 8px 0;
    text-align: center;
  }

  .social-links a {
    display: inline-flex;
    width: auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .logo {
    max-width: 230px;
  }

  nav ul {
    gap: 8px 12px;
  }

  nav a {
    font-size: 0.86rem;
  }

  main {
    padding: 28px 0;
  }

  .about-section h1,
  .about-section h2,
  .content-block h1,
  .content-block h2 {
    font-size: 1.85rem;
  }
}
