@import "../../shared/fancy-base.css";

:root {
  --bg: #ffffff;
  --bg-2: #f8f9fa;
  --surface: #ffffff;
  --surface-strong: #f3f5f7;
  --border: #e5e5e5;
  --text: #2d2d2d;
  --text-muted: #4b5563;
  --text-soft: #6b7280;
  --accent: #1abc9c;
  --accent-2: #16a085;
  --accent-text: #ffffff;
  --font: "Montserrat", sans-serif;
  --font-display: "Playfair Display", serif;
  --max-w: 1200px;
  --content-w: 780px;
  --radius: 6px;
  --radius-sm: 6px;
  --header-h: 80px;
  --card-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  --hover-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-header::before {
  content: none;
  pointer-events: none;
}

.header-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  height: 100%;
  padding: 0 60px;
  gap: 20px;
}

.header-brand {
  color: var(--text);
  align-items: center;
  gap: 0;
}

.header-headshot {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.header-brand-text {
  max-width: 12rem;
  line-height: 1.08;
}

.header-site-name {
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.header-tagline {
  display: none;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.3;
}

.header-nav {
  margin-left: auto;
  gap: 1.75rem;
}

.header-nav a {
  padding: 0;
  border-radius: 0;
  color: rgba(45, 45, 45, 0.92);
  font-size: 0.9rem;
  font-weight: 500;
  background: transparent;
}

.header-nav a:hover,
.header-nav a.nav-active {
  color: var(--text);
  background: transparent;
}

.header-cta {
  display: none;
}

.hamburger {
  color: var(--text);
  position: relative;
  width: 42px;
  height: 42px;
}

.hamburger svg {
  opacity: 0;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 20px;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease,
    box-shadow 0.22s ease;
}

.hamburger::before {
  box-shadow:
    0 -6px 0 currentColor,
    0 6px 0 currentColor;
}

.hamburger::after {
  opacity: 0;
}

.hamburger[aria-expanded="true"]::before {
  transform: rotate(45deg);
  box-shadow: none;
}

.hamburger[aria-expanded="true"]::after {
  opacity: 1;
  transform: rotate(-45deg);
}

.mobile-nav {
  top: var(--header-h);
  left: 0;
  right: 0;
  max-width: none;
  bottom: auto;
  margin: 0;
  padding: 0 20px 18px;
  background: rgba(18, 12, 8, 0.985);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: visible;
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.mobile-nav a.nav-active {
  background: rgba(255, 255, 255, 0.14);
  border-bottom-color: transparent;
  color: #ffffff;
}

.main-content {
  padding-top: var(--header-h);
  padding-bottom: 0;
}

.container {
  max-width: var(--max-w);
}

.page-start:has(> .hero:first-child) {
  padding-top: 0;
}

body.theme-seven-home .site-header {
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.theme-seven-home .site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(18, 12, 8, 0.78), rgba(18, 12, 8, 0.42) 58%, rgba(18, 12, 8, 0));
}

body.theme-seven-home .header-brand,
body.theme-seven-home .header-site-name,
body.theme-seven-home .header-nav a,
body.theme-seven-home .hamburger {
  color: #ffffff;
}

body.theme-seven-home .header-site-name,
body.theme-seven-home .header-nav a {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.hero {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 0;
  min-height: 100vh;
  padding: 0;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #120c08;
  border: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(45, 45, 45, 0.42), rgba(45, 45, 45, 0.42)),
    linear-gradient(to top, rgba(18, 12, 8, 0.76), rgba(18, 12, 8, 0.18) 42%, rgba(18, 12, 8, 0.28) 100%);
  z-index: 1;
}

.hero .home-hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: calc(var(--header-h) + 2rem) 3rem 6.2rem;
}

.hero .hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 60px;
  text-align: center;
}

.hero .hero-media {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  z-index: 0;
  display: block !important;
}

.hero .hero-media-card {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.hero .hero-media-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero__title {
  margin-bottom: 1.25rem;
  color: #ffffff;
  font-family: var(--font);
  font-size: clamp(3rem, 4.7vw, 4.8rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero__body {
  max-width: 100%;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.96);
  font-size: 1.1875rem;
  line-height: 1.65;
}

.hero .hero__body > * + * {
  display: none;
}

.hero__actions {
  display: none;
}

.theme-seven-page-content {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 4rem 0 5rem;
}

.page-content,
.post-content {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 4rem 0 5rem;
}

.page-content > *,
.post-content > * {
  max-width: 100%;
}

.page-content p,
.post-content p {
  margin-bottom: 1.5rem;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.85;
}

.page-content a,
.post-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.theme-seven-page-header {
  margin-bottom: 2rem;
  text-align: center;
}

.theme-seven-page-title {
  color: var(--text);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
}

.theme-seven-page-body {
  color: var(--text);
}

.theme-seven-page-body p {
  margin-bottom: 1.5rem;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.85;
}

.theme-seven-page-body em {
  color: var(--text-muted);
}

.theme-seven-page-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.homepage-about {
  display: block;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 2.6rem 0 4.2rem;
}

.homepage-about .section-heading {
  margin-bottom: 0;
  text-align: left;
}

.homepage-about .section-heading p {
  display: block;
  margin: 0 0 1.5rem;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.85;
}

.homepage-about .section-heading p:last-child {
  margin-bottom: 0;
}

.homepage-socials {
  display: none;
}

.homepage-posts {
  background: #ffffff;
  padding: 5.5rem 0;
}

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

.section-heading h2 {
  color: var(--text);
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 700;
}

.section-heading p {
  display: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid rgba(45, 45, 45, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  box-shadow: var(--hover-shadow);
  transform: none;
}

.feature-image-container {
  aspect-ratio: 4 / 3;
}

.feature-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-content {
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.feature-date {
  margin-bottom: 0.9rem;
  color: var(--text-soft);
  font-size: 0.85rem;
  font-weight: 500;
}

.feature-content h3 {
  margin-bottom: 0.9rem;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.4;
}

.feature-category {
  margin-bottom: 0.9rem;
  color: var(--text-soft);
  font-size: 0.85rem;
  font-weight: 500;
}

.feature-content h3 a {
  color: inherit;
}

.feature-content p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.feature-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text) !important;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-link:hover {
  background: transparent;
  color: var(--accent) !important;
}

.site-footer {
  background: #2d2d2d;
  color: #ffffff;
  border-top: 0;
  padding: 42px 0 22px;
}

.footer-nav {
  display: none;
}

.site-footer .footer-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.site-footer .footer-brand-col--theme-seven {
  gap: 14px;
}

.site-footer .footer-brand-name,
.site-footer .footer-heading {
  color: #ffffff;
}

.site-footer .footer-brand-name {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0;
}

.site-footer .footer-heading {
  margin-bottom: 1rem;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.site-footer .footer-recent-item {
  margin-bottom: 0.85rem;
}

.site-footer .footer-recent-title {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.55;
}

.site-footer .footer-recent-title a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.22);
  text-underline-offset: 0.18em;
}

.site-footer .footer-recent-title a:hover {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.62);
}

.site-footer .footer-social--theme-seven {
  display: flex;
  gap: 12px;
}

.site-footer .footer-social--theme-seven a {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.site-footer .footer-social--theme-seven a svg {
  width: 18px;
  height: 18px;
}

.site-footer .footer-social--theme-seven a:hover {
  transform: none;
  color: #ffffff;
  border-color: transparent;
}

.site-footer .footer-bottom {
  margin-top: 34px;
  padding: 18px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  text-align: left;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0 20px;
  }

  .header-nav {
    display: none;
  }

  .hero {
    min-height: 560px;
  }

  .hero .home-hero {
    min-height: 560px;
    padding: calc(var(--header-h) + 1.25rem) 1.25rem 3.25rem;
  }

  .hero .hero-copy {
    padding: 0 20px;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .hero__body {
    font-size: 1.0625rem;
  }

  .theme-seven-page-content {
    padding: 3rem 0 4rem;
  }

  .page-content,
  .post-content {
    padding: 3rem 0 4rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
