/*
Theme Name: gcrieber Landing
Theme URI: https://gcrieber.is
Author: OpenCode
Description: Single-page landing theme for gcrieber.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: gcrieber-landing
*/

:root {
  color-scheme: dark;
  --forest-900: #1f2c26;
  --forest-800: #2a3a32;
  --forest-700: #34453c;
  --forest-600: #43564c;
  --forest-400: #6c7c73;
  --mist-100: #eef2ee;
  --mist-200: #d6ded8;
  --mint-500: #0f6f5c;
  --mint-600: #0b5c4b;
  --card: rgba(255, 255, 255, 0.06);
  --shadow: 0 28px 70px rgba(10, 17, 14, 0.35);
  --radius-lg: 32px;
  --radius-md: 20px;
  --banner-bg: #233129;
  --border-radius-huge: 400px;
  --border-radius-large: 200px;
  --border-radius-medium: 100px;
  --border-radius-small: 50px;
  --border-radius-tiny: 25px;
  --accent: #80efde;
  --accent-hover: #26E3C7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.5px;
  color: var(--mist-100);
  background: radial-gradient(1200px 700px at 85% 0%, #3b4b42 0%, var(--forest-800) 45%, var(--forest-900) 100%);
  min-height: 100vh;
}

.page-content {
  display: flex;
  flex-direction: column;
}

.page-content .top-banner {
  order: -1;
}

.page-content .footer {
  order: 10;
}

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

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

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  word-wrap: normal !important;
}

.skip-link:focus {
  clip: auto !important;
  clip-path: none;
  display: block;
  height: auto;
  width: auto;
  padding: 12px 24px;
  background: var(--mint-500);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 100000;
  position: fixed;
  top: 8px;
  left: 8px;
  border-radius: 8px;
}

a:focus-visible,
button:focus-visible,
.wp-block-button__link:focus-visible {
  outline: 2px solid var(--mint-500);
  outline-offset: 2px;
}

.page {
  position: relative;
  background:
    radial-gradient(600px 600px at 100% 0%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(520px 520px at 0% 100%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 70%),
    var(--forest-900);
}


.container {
  width: min(1120px, 90vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(31, 44, 38, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.admin-bar .site-header {
  top: 32px;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 150px;
  height: auto;
}

.brand h1 {
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  letter-spacing: 0.03em;
  color: var(--mist-100);
}

.site-title {
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  letter-spacing: 0.03em;
  color: var(--mist-100);
}

.primary-nav {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.primary-nav a {
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--mint-500);
  transition: width 0.2s ease;
}

.primary-nav a:hover::after {
  width: 100%;
}


.top-banner {
  padding: 0;
  background: var(--banner-bg);
  overflow: hidden;
}

.top-banner .wp-block-group__inner-container {
  width: 100%;
}

.banner-grid,
.top-banner .wp-block-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
  align-items: stretch;
  gap: 0;
  margin: 0;
  min-height: 85vh;
}

.banner-text {
  max-width: 680px;
  position: relative;
  z-index: 2;
  margin-right: -180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 0 64px 5vw;
}

.banner-text .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 18px;
}

.banner-text p {
  margin: 0 0 28px;
  color: rgba(242, 245, 243, 0.8);
  font-size: 1.1rem;
  line-height: 1.65;
}

.banner-text .hero-actions {
  margin-top: 8px;
}

.banner-text h2 {
  margin: 0 0 24px;
  font-family: "Plus Jakarta Sans", "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(3.5rem, 5.5vw, 4.222rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #f2f5f3;
  text-shadow: 5px 5px 0px rgba(0, 0, 0, 0.2);
}

.banner-grid .wp-block-column {
  margin: 0;
}

.top-banner .wp-block-column {
  margin: 0;
}

.top-banner .wp-block-column:last-child {
  position: relative;
  margin-right: calc((100vw - min(1120px, 90vw)) / -2);
}

.top-banner .wp-block-image {
  margin: 0;
  border-radius: var(--border-radius-huge) 0 0 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  height: 100%;
  max-height: 95vh;
}

.top-banner .wp-block-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.2;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
}

.top-banner .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-section {
  padding: 72px 0 96px;
}

.hero-section .wp-block-group__inner-container {
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 48px;
}

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 18px;
}

.hero-text h2 {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1.1;
  color: var(--mist-100);
}

.hero-text .wp-block-heading {
  margin: 0 0 18px;
}

.hero-text p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.hero-text .wp-block-paragraph {
  margin: 0 0 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-actions .wp-block-button {
  margin: 0;
}

.btn-primary,
.wp-block-button.btn-primary .wp-block-button__link {
  display: inline-block;
  padding: 0.8em 1.8em;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  background: var(--accent);
  color: #28332C;
}

.btn-primary:hover,
.wp-block-button.btn-primary .wp-block-button__link:hover {
  background: var(--accent-hover);
  color: #28332C;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(128, 239, 222, 0.3);
}

.btn-ghost,
.wp-block-button.btn-ghost .wp-block-button__link {
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border 0.2s ease;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  background: transparent;
}

.btn-ghost:hover,
.wp-block-button.btn-ghost .wp-block-button__link:hover {
  border-color: #fff;
  color: #fff;
  transform: translateY(-1px);
}

.hero-media img,
.hero-media .wp-block-image img {
  width: 100%;
  height: clamp(280px, 45vw, 460px);
  object-fit: cover;
  border-radius: 220px 24px 24px 220px;
  box-shadow: var(--shadow);
}

.hero-media .wp-block-image {
  margin: 0;
}

.section {
  padding: 64px 0;
  scroll-margin-top: clamp(100px, 18vw, 160px);
}

.section .wp-block-group__inner-container {
  width: 100%;
}

.section-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 36px 40px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section-card > .wp-block-group__inner-container {
  display: grid;
  gap: 12px;
}

.section h2 {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  color: var(--mist-100);
}

.section .wp-block-heading {
  margin: 0 0 18px;
}

.section p {
  margin: 0 0 10px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.section .wp-block-paragraph {
  margin: 0 0 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.contact-grid > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.contact-block {
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-block h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--mist-100);
}
/*
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
*/
.staff-grid > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.staff-card {
  padding: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.staff-card > .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.staff-photo {
  margin: 0;
}

.staff-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.staff-card h3 {
  margin: 0 0 6px;
  padding: 18px 20px 0;
  font-size: 1.05rem;
  color: var(--mist-100);
  min-height: 2.6em;
}

.staff-card p {
  margin: 0 0 6px;
  padding-left: 20px;
  padding-right: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.staff-card .wp-block-group__inner-container > p:last-child {
  padding-bottom: 18px;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  margin: 0;
}

.wp-block-separator.divider {
  border: none;
}

.award-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.award-badges > .wp-block-group__inner-container {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.award-badge {
  margin: 0;
}

.award-badge img {
  height: 80px;
  width: auto;
  display: block;
  border-radius: 10px;
}

.footer,
.site-footer {
  padding: 24px 0 48px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner > .wp-block-group__inner-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-left,
.footer-right {
  margin: 0;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-right span {
  opacity: 0.5;
}

.footer a,
.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.footer a:hover,
.site-footer a:hover {
  color: #fff;
}

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

@media (max-width: 768px) {
  :root {
    --border-radius-huge: 120px;
    --border-radius-large: 100px;
    --border-radius-medium: 50px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .primary-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 22px;
  }

  .brand img {
    width: 140px;
  }

  .hero-media img {
    border-radius: 120px 24px 24px 120px;
  }

  .banner-grid,
  .top-banner .wp-block-columns {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .banner-text {
    margin-right: 0;
    padding: 40px 5vw 28px;
    max-width: none;
  }

  .top-banner .wp-block-column:last-child {
    margin-right: 0;
  }

  .top-banner .wp-block-image {
    border-radius: 80px 0 0 0;
    max-height: 60vh;
    height: auto;
  }

  .top-banner .wp-block-image img {
    height: clamp(300px, 50vw, 500px);
  }
}

@media (max-width: 600px) {
  body.admin-bar .site-header {
    top: 0;
  }

  .container {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-inner {
    padding: 16px 0 20px;
  }

  .primary-nav {
    justify-content: center;
    gap: 10px 14px;
    font-size: 0.88rem;
  }

  .top-banner {
    padding: 0;
  }

  .banner-grid,
  .top-banner .wp-block-columns {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
  }

  .banner-text {
    margin-right: 0;
    padding: 28px 5vw 20px;
    max-width: none;
  }

  .banner-text h2 {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .banner-text p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .top-banner .wp-block-column:last-child {
    margin-right: 0;
  }

  .top-banner .wp-block-image {
    border-radius: 50px 0 0 0;
    max-height: 50vh;
    height: auto;
  }

  .top-banner .wp-block-image img {
    height: clamp(250px, 60vw, 380px);
  }

  .section {
    padding: 28px 0;
  }

  .section-card {
    padding: 20px 14px;
    border-radius: 14px;
  }

  .contact-grid,
  .contact-grid > .wp-block-group__inner-container {
    grid-template-columns: 1fr;
  }

  .contact-block {
    padding: 14px 16px;
    border-radius: 12px;
  }


  .staff-card h3 {
    padding: 12px 14px 0;
    font-size: 0.95rem;
  }

  .staff-card p {
    padding-left: 14px;
    padding-right: 14px;
    font-size: 0.88rem;
  }

  .staff-card .wp-block-group__inner-container > p:last-child {
    padding-bottom: 14px;
  }

  .award-badge img {
    height: 60px;
  }

  .award-badges,
  .award-badges > .wp-block-group__inner-container {
    gap: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .wp-block-button .wp-block-button__link {
    text-align: center;
  }

  .footer-inner,
  .footer-inner > .wp-block-group__inner-container {
    flex-direction: column-reverse;
    align-items: stretch;
    text-align: center;
  }

  .footer-right {
    display: flex;
    justify-content: space-evenly;
    gap: 0;
  }

  .footer-right span {
    display: none;
  }

  .footer,
  .site-footer {
    font-size: 0.85rem;
    word-break: break-word;
    padding: 20px 0 32px;
  }
}

/* Tablet breakpoint for staff grid */
@media (max-width: 768px) and (min-width: 601px) {
  .container {
    width: min(1120px, 96vw);
  }


  .section-card {
    padding: 28px 24px;
  }

  .award-badge img {
    height: 70px;
  }
}
