/*
 Theme Name:   Employ Scott
 Theme URI:    https://employscott.com
 Description:  GeneratePress child theme for employscott.com
 Author:       Scott Jackson
 Template:     generatepress
 Version:      1.0.0
 Text Domain:  employscott
*/

/* ── DESIGN TOKENS ─────────────────────────────────────── */

:root {
  --cardinal: #990000;
  --cardinal-dark: #6B0000;
  --cardinal-light: #B22222;
  --gold: #FFCC00;
  --gold-muted: #C9A84C;
  --gold-light: #F5E6B0;
  --cream: #FAF7F2;
  --ink: #1A1008;
  --ink-mid: #3D2B1F;
  --ink-light: #6B5744;
  --rule: rgba(153,0,0,0.15);
  --rule-gold: rgba(201,168,76,0.3);
}

/* ── RESET / BASE ───────────────────────────────────────── */

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

body, h1, h2, h3, p, ul {
  margin: 0;
}
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ── BLOG NAV (header.php — blog + single post pages) ───── */

.blog-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 4rem;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule-gold);
  min-height: 64px;
}

.blog-nav-mark {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cardinal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s;
}

.blog-nav-mark:hover { opacity: 0.7; }

.blog-nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.blog-nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-nav-links a:hover { color: var(--cardinal); }

body.admin-bar .blog-nav { top: 32px; }

@media screen and (max-width: 782px) {
  body.admin-bar .blog-nav { top: 46px; }
}

@media (max-width: 900px) {
  .blog-nav { padding: 1rem 2rem; }
}

/* ── BLOG NAV ────────────────────────────────────────────── */

nav:has(.nav-mark) {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 4rem;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule-gold);
}

.nav-mark {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cardinal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

nav:has(.nav-mark) .nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

nav:has(.nav-mark) .nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
  text-decoration: none;
  transition: color 0.2s;
}

nav:has(.nav-mark) .nav-links a:hover { color: var(--cardinal); }

/* ── HAMBURGER ──────────────────────────────────────────── */

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  z-index: 110;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cardinal);
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(250,247,242,0.98);
  backdrop-filter: blur(8px);
  padding: 5rem 2rem 2rem;
  flex-direction: column;
  gap: 0;
  z-index: 99;
  border-bottom: 1px solid var(--rule-gold);
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}

.nav-drawer.open { transform: translateY(0); }

.nav-drawer a {
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule-gold);
  transition: color 0.2s;
}

.nav-drawer a:hover { color: var(--cardinal); }

/* WordPress admin bar offset */
body.admin-bar nav:has(.nav-mark) {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar nav:has(.nav-mark) {
    top: 46px;
  }
}

/* Safer header vertical spacing */
nav:has(.nav-mark) {
  min-height: 64px;
  line-height: 1.2;
}

.nav-mark,
nav:has(.nav-mark) .nav-links a {
  line-height: 1.2;
}

/* ── HERO ───────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--cardinal-dark);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 60px,
    rgba(201,168,76,0.03) 60px,
    rgba(201,168,76,0.03) 61px
  );
  pointer-events: none;
}

.hero::after {
  content: 'SJ';
  position: absolute;
  right: -0.05em;
  bottom: -0.2em;
  font-family: 'Playfair Display', serif;
  font-size: clamp(16rem, 30vw, 28rem);
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

.hero-content-col {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 10rem 4rem 7rem;
  position: relative;
  z-index: 1;
  animation: fadeSlideIn 1s ease both;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--gold-muted);
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.06;
  color: white;
  margin-bottom: 0.5rem;
}

.hero-headline em {
  font-style: italic;
  color: var(--gold-muted);
}

.hero-subhead {
  font-family: 'EB Garamond', serif;
  font-size: 1.25rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2.5rem;
  font-style: italic;
}

.hero-proof {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  max-width: 480px;
}

.proof-stat { display: flex; flex-direction: column; }

.proof-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-muted);
  line-height: 1;
}

.proof-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 0.25rem;
  max-width: 10ch;
  line-height: 1.3;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--cardinal);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--cardinal-light);
  transform: translateY(-1px);
}

.btn-ghost {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}

.btn-ghost:hover { color: var(--gold-muted); }
.btn-ghost::after { content: '↓'; font-size: 0.85rem; }

/* ── GOLD DIVIDER ───────────────────────────────────────── */

.gold-rule {
  height: 4px;
  background: linear-gradient(to right, var(--cardinal), var(--gold), var(--cardinal));
}

/* ── SECTIONS ───────────────────────────────────────────── */

section { position: relative; z-index: 1; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 4rem;
}

.section-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule-gold);
}

/* ── ABOUT ──────────────────────────────────────────────── */

.about-section { background: white; }

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.about-headline span { color: var(--cardinal); }

.about-body {
  font-family: 'EB Garamond', serif;
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--ink-mid);
  margin-bottom: 1.25rem;
}

.about-sidebar { padding-top: 0.5rem; }

.sidebar-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
}

.sidebar-item:first-child { border-top: 1px solid var(--rule); }

.sidebar-item-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 0.3rem;
}

.sidebar-item-value {
  font-size: 0.9rem;
  color: var(--ink-mid);
  font-weight: 400;
}

/* ── PILLARS ────────────────────────────────────────────── */

.pillars-section { background: var(--cardinal-dark); color: white; }
.pillars-section .section-label { color: rgba(201,168,76,0.7); }
.pillars-section .section-label::after { background: rgba(201,168,76,0.2); }

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

.pillar {
  padding: 2.5rem;
  border: 1px solid rgba(201,168,76,0.2);
  position: relative;
  transition: border-color 0.3s;
}

.pillar:hover { border-color: var(--gold-muted); }

.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s ease;
}

.pillar:hover::before { height: 100%; }

.pillar-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(201,168,76,0.15);
  line-height: 1;
  margin-bottom: 1rem;
}

.pillar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.pillar-body {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* ── TESTIMONIALS ───────────────────────────────────────── */

.testimonials-section { background: var(--cream); }

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

.testimonial {
  padding: 2rem;
  background: white;
  border-left: 3px solid var(--gold-muted);
}

.testimonial-quote {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-mid);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--cardinal);
  line-height: 0;
  vertical-align: -0.6rem;
  margin-right: 0.15rem;
  font-family: 'Playfair Display', serif;
}

.testimonial-attr {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
}

.testimonial-attr span {
  display: block;
  color: var(--cardinal);
  margin-top: 0.15rem;
}

/* ── CONTACT ────────────────────────────────────────────── */

.contact-section { background: var(--ink); color: white; }
.contact-section .section-label { color: rgba(201,168,76,0.6); }
.contact-section .section-label::after { background: rgba(201,168,76,0.15); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.contact-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.contact-headline em { color: var(--gold-muted); font-style: italic; }

.contact-subtext {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.contact-detail a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.contact-detail a:hover { color: var(--gold-muted); }

.resume-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 0.2rem;
  transition: color 0.2s, border-color 0.2s;
}

.resume-link:hover { color: var(--gold-muted); border-color: var(--gold-muted); }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.form-field { display: flex; flex-direction: column; gap: 0.4rem; }

.form-field label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  padding: 0.75rem 1rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--gold-muted); }

.form-field select option { background: var(--ink); }
.form-field textarea { resize: vertical; min-height: 100px; }

.btn-submit {
  align-self: flex-start;
  padding: 0.85rem 2.5rem;
  background: var(--cardinal);
  color: white;
  font-family: 'Barlow', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover { background: var(--cardinal-light); }

/* ── FOOTER ─────────────────────────────────────────────── */

footer {
  background: #0F0905;
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-mark {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
}

.footer-copy {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}

/* ── GENERATEPRESS OVERRIDES ────────────────────────────── */

.site-content .content-area { width: 100%; padding: 0; }
.entry-content { max-width: 100%; }
.single .entry-header { display: none; }
.single .post-image { display: none; }



/* ── BLOG / SINGLE POST LAYOUT ──────────────────────────── */

/* Keep custom fixed header available on blog/archive/single pages without disturbing WordPress post navigation. */
body.blog nav:has(.nav-mark),
body.archive nav:has(.nav-mark),
body.single-post nav:has(.nav-mark) {
  display: flex !important;
}

/* Offset normal WordPress content for the fixed header. */
body.blog .site-content,
body.archive .site-content,
body.single-post .site-content {
  padding-top: 5.25rem;
}

body.admin-bar.blog .site-content,
body.admin-bar.archive .site-content,
body.admin-bar.single-post .site-content {
  padding-top: 7.25rem;
}

/* Restore normal post headers on individual posts. */
body.single-post .entry-header {
  display: block !important;
  max-width: 760px;
  margin: 0 auto 2rem;
  padding: 0 2rem;
}

body.single-post .entry-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1.08;
  color: var(--ink);
  margin: 0 0 1rem;
}

body.single-post .entry-meta,
body.single-post .posted-on,
body.single-post .byline,
body.single-post .cat-links,
body.single-post .tags-links {
  font-family: 'Barlow', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-muted);
}

/* Tighter, readable article column. */
body.single-post .inside-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem 4.5rem;
  background: transparent;
}

body.single-post .entry-content {
  max-width: 760px;
  margin: 0 auto;
  font-family: 'EB Garamond', serif;
  font-size: 1.18rem;
  line-height: 1.78;
  color: var(--ink-mid);
}

body.single-post .entry-content p,
body.single-post .entry-content ul,
body.single-post .entry-content ol,
body.single-post .entry-content blockquote,
body.single-post .entry-content figure {
  margin-bottom: 1.35rem;
}

body.single-post .entry-content h2,
body.single-post .entry-content h3 {
  font-family: 'Playfair Display', serif;
  color: var(--ink);
  line-height: 1.18;
  margin: 2.5rem 0 1rem;
}

body.single-post .entry-content h2 { font-size: clamp(1.6rem, 2.5vw, 2.1rem); }
body.single-post .entry-content h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }

body.single-post .entry-content a {
  color: var(--cardinal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

body.single-post .entry-content blockquote {
  border-left: 3px solid var(--gold-muted);
  padding-left: 1.25rem;
  color: var(--ink);
  font-style: italic;
}

body.single-post .entry-content hr {
  border: 0;
  border-top: 1px solid var(--rule-gold);
  margin: 2.25rem 0;
}

body.single-post .entry-content img,
body.single-post .entry-content figure img {
  max-width: 100%;
  height: auto;
}

body.single-post .post-navigation .nav-links,
body.single-post .navigation.post-navigation .nav-links {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--rule-gold);
}

body.single-post .post-navigation .nav-previous,
body.single-post .post-navigation .nav-next {
  min-width: 0;
}

body.single-post .post-navigation .nav-next {
  text-align: right;
}

body.single-post .post-navigation a {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  text-decoration: none;
}

body.single-post .post-navigation a:hover {
  color: var(--cardinal);
}

body.single-post .post-navigation .meta-nav,
body.single-post .post-navigation .screen-reader-text {
  font-family: 'Barlow', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-muted);
}

/* Blog landing/archive breathing room. */
body.blog .site-main,
body.archive .site-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 4rem 5rem;
}

body.blog .inside-article,
body.archive .inside-article {
  background: transparent;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 900px) {
  nav:has(.nav-mark) { padding: 1rem 2rem; }
  nav:has(.nav-mark) .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-drawer { display: flex; }
  .hero-content-col { padding: 7rem 2rem 4rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .pillars-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .section-inner { padding: 4rem 2rem; }
  footer { flex-direction: column; gap: 0.5rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }

  /* Ensure nav shows on all page types on mobile */
  body.single-post nav:has(.nav-mark),
  body.blog nav:has(.nav-mark),
  body.archive nav:has(.nav-mark) {
    display: flex !important;
  }
}

  body.blog .site-content,
  body.archive .site-content,
  body.single-post .site-content {
    padding-top: 4.75rem;
  }

  body.admin-bar.blog .site-content,
  body.admin-bar.archive .site-content,
  body.admin-bar.single-post .site-content {
    padding-top: 6rem;
  }

  body.blog .site-main,
  body.archive .site-main,
  body.single-post .inside-article,
  body.single-post .entry-header {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  body.single-post .inside-article {
    padding-top: 2.25rem;
  }

  body.single-post .entry-content {
    font-size: 1.1rem;
  }

  body.single-post .post-navigation .nav-links,
  body.single-post .navigation.post-navigation .nav-links {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  body.single-post .post-navigation .nav-next {
    text-align: left;
  }
}

/* ── GRAVITY FORMS OVERRIDES ────────────────────────────── */
 
/* Hide "* indicates required fields" notice */
.contact-section .gform_required_legend { display: none !important; }
 
/* Strip default GF wrapper styling */
.contact-section .gform_wrapper,
.contact-section .gform_wrapper form {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  max-width: 100% !important;
  width: 100% !important;
}
 
/* Field containers */
.contact-section .gform_wrapper .gfield {
  padding: 0 !important;
  margin-bottom: 1.25rem !important;
}
 
/* Field labels */
.contact-section .gform_wrapper .gfield_label {
  font-family: 'Barlow', sans-serif !important;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.35) !important;
  margin-bottom: 0.5rem !important;
}
 
/* Sub-labels (First / Last) */
.contact-section .gform_wrapper .gfield_sublabel_above label,
.contact-section .gform_wrapper .name_sub_label,
.contact-section .gform_wrapper .ginput_complex label {
  font-family: 'Barlow', sans-serif !important;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.35) !important;
  margin-top: 0.35rem !important;
}
 
/* All inputs, selects, textareas */
.contact-section .gform_wrapper input:not([type=submit]),
.contact-section .gform_wrapper select,
.contact-section .gform_wrapper textarea {
  width: 100% !important;
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  color: white !important;
  padding: 0.75rem 1rem !important;
  font-family: 'Barlow', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 300 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  min-height: 52px !important;
  -webkit-appearance: none !important;
}
 
/* Focus state */
.contact-section .gform_wrapper input:not([type=submit]):focus,
.contact-section .gform_wrapper select:focus,
.contact-section .gform_wrapper textarea:focus {
  border-color: var(--gold-muted) !important;
  box-shadow: none !important;
  outline: none !important;
}
 
/* Placeholder text */
.contact-section .gform_wrapper input::placeholder,
.contact-section .gform_wrapper textarea::placeholder {
  color: rgba(255,255,255,0.25) !important;
}
 
/* Select dropdown options */
.contact-section .gform_wrapper select option {
  background: var(--ink) !important;
  color: white !important;
}
 
/* First / Last name side by side */
.contact-section .gform_wrapper .ginput_complex.ginput_container_name {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.25rem !important;
}
 
/* Hide required asterisks */
.contact-section .gform_wrapper .gfield_required { display: none !important; }
 
/* Submit button */
.contact-section .gform_wrapper input[type=submit],
.contact-section .gform_wrapper button[type=submit] {
  width: auto !important;
  background: var(--cardinal) !important;
  color: white !important;
  font-family: 'Barlow', sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0.85rem 2.5rem !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  box-shadow: none !important;
  min-height: auto !important;
}
 
.contact-section .gform_wrapper input[type=submit]:hover,
.contact-section .gform_wrapper button[type=submit]:hover {
  background: var(--cardinal-light) !important;
}
 
/* Submit container */
.contact-section .gform_wrapper .gform_footer,
.contact-section .gform_wrapper .gform_page_footer {
  padding: 0 !important;
  margin-top: 1.5rem !important;
}
 
/* Validation errors */
.contact-section .gform_wrapper .gfield_error input,
.contact-section .gform_wrapper .gfield_error select,
.contact-section .gform_wrapper .gfield_error textarea {
  border-color: var(--cardinal-light) !important;
}
 
.contact-section .gform_wrapper .validation_message,
.contact-section .gform_wrapper .gfield_validation_message {
  color: var(--gold-muted) !important;
  font-size: 0.75rem !important;
  font-family: 'Barlow', sans-serif !important;
  margin-top: 0.25rem !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}
 
/* Form-level validation error banner */
.contact-section .gform_wrapper .gform_validation_errors {
  background: transparent !important;
  border: 1px solid var(--cardinal-light) !important;
  color: rgba(255,255,255,0.7) !important;
  font-family: 'Barlow', sans-serif !important;
  font-size: 0.85rem !important;
  padding: 1rem !important;
  margin-bottom: 1.5rem !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
 
/* Confirmation / success message */
.contact-section .gform_confirmation_wrapper,
.contact-section .gform_confirmation_message {
  background: transparent !important;
  border: 1px solid var(--gold-muted) !important;
  color: rgba(255,255,255,0.7) !important;
  font-family: 'EB Garamond', serif !important;
  font-size: 1rem !important;
  padding: 1.5rem !important;
  border-radius: 0 !important;
}
 
/* Mobile */
@media (max-width: 900px) {
  .contact-section .gform_wrapper .ginput_complex.ginput_container_name {
    grid-template-columns: 1fr !important;
  }
}

/* ── BLOG / SINGLE POST HEADER + POST NAV FIXES ─────────── */

/* ── SINGLE POST: SUPPRESS GP DEFAULTS ─────────────────── */

/* Hide GeneratePress's own post navigation — we use .post-nav-strip and .post-nav in single.php */
body.single-post .post-navigation,
body.single-post nav.post-navigation,
body.single-post .navigation.post-navigation {
  display: none !important;
}

/* Hide GP site header on single posts — header.php handles it */
body.single-post .site-header { display: none !important; }

/* Ensure custom post-nav is always in document flow */
.post-nav {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  z-index: 1 !important;
}

/* ── FINAL OVERRIDES: SINGLE POST + GRAVITY FORMS ───────── */

/* Hide GeneratePress / WordPress default Previous / Next post navigation.
   Keep the custom cardinal .post-nav-strip in single.php. */
body.single-post .post-navigation,
body.single-post nav.post-navigation,
body.single-post .navigation.post-navigation,
body.single-post #nav-below,
body.single-post .site-main > nav.navigation,
body.single-post .inside-article > nav.navigation {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Hide Gravity Forms required-field legend:
   '"*" indicates required fields' / '"" indicates required fields' */
.contact-section .gform_required_legend,
.contact-section .gform_heading .gform_required_legend,
.contact-section .gform_wrapper .gform_required_legend,
.contact-section .gform_wrapper p.gform_required_legend {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}