/*
Theme Name: Chaitanya Design Reference
Theme URI: https://chaitanyadesign.com/
Author: Chaitanya Design Pvt. Ltd.
Description: A fresh, secure, fast, modern agency theme for Chaitanya Design.
Version: 1.3.5
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chaitanya-design
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, one-column, two-columns, wide-blocks
*/

:root {
  --color-primary: #8b0624;
  --color-primary-dark: #5d0018;
  --color-accent: #c8103a;
  --color-secondary: #0f1115;
  --color-text: #1d1d1d;
  --color-muted: #5f6368;
  --color-light: #f8f9fb;
  --color-border: #e7e3e6;
  --color-white: #ffffff;
  --shadow-sm: 0 10px 28px rgba(15, 17, 21, 0.06);
  --shadow-md: 0 18px 46px rgba(15, 17, 21, 0.12);
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --container: 72rem;
  --gutter: 1.25rem;
  --transition: 180ms ease;
  --font-display: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-light);
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--color-secondary);
  letter-spacing: -0.04em;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

a:hover,
a:focus {
  color: var(--color-secondary);
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 2 * var(--gutter)), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-secondary);
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

.section {
  padding: clamp(3rem, 6vw, 6rem) 0;
}

.section--soft {
  background: var(--color-light);
}

.section-heading {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-title {
  margin: 0;
  color: var(--color-secondary);
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1.1;
}

.section-description {
  margin: 1rem 0 0;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

/* Legend1st-inspired design layer. */
:root {
  --color-primary: #d41030;
  --color-primary-dark: #b60d28;
  --color-accent: #3858e9;
  --color-accent-dark: #183ad6;
  --color-secondary: #302c2c;
  --color-text: #302c2c;
  --color-muted: #696588;
  --color-light: #f5f5f5;
  --color-border: rgba(0, 0, 0, 0.125);
  --color-white: #ffffff;
  --color-black: #070707;
  --shadow-sm: rgba(0, 0, 0, 0.02) 0 0 0 1px, rgba(0, 0, 0, 0.04) 0 2px 35px 0;
  --shadow-md: rgba(0, 0, 0, 0.04) 0 4px 50px 0;
  --radius-sm: 3px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --container: 1400px;
  --gutter: 40px;
  --transition: 180ms ease;
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--color-secondary);
}

a {
  color: var(--color-black);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--color-primary);
  text-decoration: underline;
}

.container {
  width: min(calc(100% - 2 * var(--gutter)), var(--container));
}

.section {
  padding: 60px 0;
}

.section--soft {
  background: var(--color-light);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-kicker,
.card__eyebrow {
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
  line-height: 16.8px;
  letter-spacing: 0;
}

.section-title {
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.4;
  font-weight: 700;
}

.section-description,
.hero__lead,
.card__text,
.entry-content,
.service-card__desc,
.process-step__text,
.testimonial-card__text,
.blog-card__excerpt,
.career-card__text,
.portfolio-card__text,
.site-footer__about {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 21px;
}

.card,
.partner-logo-card,
.feature-card,
.service-card,
.portfolio-card,
.testimonial-card,
.blog-card,
.process-step,
.career-card,
.industry-card {
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.feature-card,
.service-card,
.portfolio-card,
.testimonial-card,
.blog-card,
.process-step,
.career-card,
.industry-card {
  padding: 24px;
}

.card:hover,
.service-card:hover,
.portfolio-card:hover,
.blog-card:hover,
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.button,
.wp-block-button__link,
input[type='submit'] {
  min-width: 100px;
  min-height: 43px;
  padding: 14px 27px;
  border: 0;
  border-radius: 25px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 500;
  line-height: 15px;
  box-shadow: none;
}

.button:hover,
.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
input[type='submit']:hover,
input[type='submit']:focus {
  background: var(--color-primary-dark);
  color: var(--color-white);
  text-decoration: none;
  transform: none;
  box-shadow: none;
}

.button:active,
.wp-block-button__link:active,
input[type='submit']:active {
  background: #a00a23;
}

.button--ghost {
  height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-black);
  font-size: 16px;
  font-weight: 400;
  line-height: 18.4px;
}

.button--ghost:hover,
.button--ghost:focus {
  background: rgba(212, 16, 48, 0.08);
  color: var(--color-secondary);
}

.site-header,
body:not(.has-scrolled) .site-header,
body.has-scrolled .site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--color-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: none;
  backdrop-filter: none;
}

.site-header__inner {
  min-height: 90px;
}

.site-branding__mark {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.site-branding__text strong {
  color: var(--color-secondary);
  font-size: 16px;
  font-weight: 700;
}

.site-branding__text span {
  color: var(--color-muted);
  font-size: 12px;
}

.primary-nav a,
.footer-nav a {
  position: relative;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: var(--color-secondary);
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus {
  color: var(--color-primary);
  text-decoration: none;
}

.primary-nav a:hover::after,
.primary-nav a:focus::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 8px;
  height: 2px;
  background: var(--color-primary);
}

.nav-toggle {
  border: 0;
  background: transparent;
  color: var(--color-secondary);
}

.nav-toggle:hover,
.nav-toggle:focus {
  color: var(--color-primary);
}

.hero {
  padding: 72px 0 60px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
}

.hero__grid {
  gap: 52px;
}

.hero__title {
  max-width: 760px;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.1;
  font-weight: 700;
}

.hero__lead {
  max-width: 680px;
  margin-top: 20px;
  font-size: 16px;
  line-height: 27.2px;
}

.hero__actions {
  gap: 16px;
  margin-top: 28px;
}

.hero__panel {
  padding: 24px;
  border-radius: 16px;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
}

.hero__mockup {
  border-radius: 12px;
  background: var(--color-light);
  border: 0;
  animation: none;
}

.hero__mockup-caption {
  padding: 20px;
}

.hero__mockup-caption strong {
  color: var(--color-secondary);
  font-size: 16px;
  line-height: 1.4;
}

.hero__mockup-caption span {
  color: var(--color-muted);
  font-size: 12px;
  line-height: 16.8px;
}

.stat {
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
}

.stat__value {
  color: #112337;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.stat__label {
  color: var(--color-muted);
  font-size: 12px;
  line-height: 16.8px;
}

.card__title {
  color: var(--color-secondary);
  font-size: 24px;
  font-weight: 700;
  line-height: 33.6px;
}

.feature-card--dark {
  background: #112337;
  color: var(--color-white);
  border: 0;
  box-shadow: none;
}

.feature-card--dark .card__eyebrow {
  color: #ffffff;
}

.feature-card--dark .card__text {
  color: rgba(255, 255, 255, 0.78);
}

.feature-card--dark .button--ghost {
  color: #ffffff;
}

.pill {
  min-height: 0;
  padding: 4px 12px;
  border-radius: 25px;
  background: rgba(212, 16, 48, 0.1);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
}

.partner-logo-card {
  min-height: 110px;
  padding: 24px;
}

.partner-logo-card img {
  max-height: 48px;
}

.media-frame {
  border-radius: 12px;
  background: var(--color-light);
}

.site-footer {
  background: #112337;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer::before {
  background: var(--color-primary);
  border-radius: 0;
}

.site-footer a {
  color: #ffffff;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #ffffff;
  text-decoration: underline;
}

.entry-title,
.page-title,
.archive-title,
.search-title {
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.1;
  font-weight: 700;
}

.form-control,
textarea,
input[type='text'],
input[type='email'],
input[type='url'],
input[type='tel'],
input[type='search'] {
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  background: var(--color-white);
  color: #112337;
  font-size: 14px;
  line-height: 38px;
}

textarea {
  min-height: 120px;
  padding: 12px;
  line-height: 21px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(56, 88, 233, 0.1);
}

::placeholder {
  color: #949494;
  opacity: 0.7;
}

@media (min-width: 64rem) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

@media (max-width: 63.99rem) {
  :root {
    --gutter: 32px;
  }

  .section {
    padding: 40px 0;
  }

  .site-header__inner {
    min-height: 76px;
  }

  .hero {
    padding: 40px 0;
  }

  .hero__title {
    font-size: clamp(32px, 7vw, 40px);
  }
}

@media (max-width: 47.99rem) {
  :root {
    --gutter: 20px;
  }

  body {
    font-size: 14px;
  }

  .section {
    padding: 32px 0;
  }

  .section-title,
  .card__title {
    font-size: 24px;
    line-height: 33.6px;
  }

  .hero__actions .button,
  .header-cta .button {
    width: 90%;
  }

  .primary-nav {
    padding: 20px;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
  }
}

.grid--5 {
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1rem;
}

.partner-logo-card {
  display: grid;
  place-items: center;
  min-height: 6.75rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--color-white);
  transition: transform var(--transition), box-shadow var(--transition);
}

.partner-logo-card img {
  max-width: 100%;
  max-height: 3rem;
  object-fit: contain;
  filter: saturate(0.95);
}

.partner-logo-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button,
.wp-block-button__link,
input[type='submit'] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(139, 6, 36, 0.18);
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.button:hover,
.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
input[type='submit']:hover,
input[type='submit']:focus {
  transform: translateY(-2px);
  background: var(--color-primary-dark);
  color: var(--color-white);
  box-shadow: 0 16px 32px rgba(93, 0, 24, 0.22);
}

.button--ghost {
  background: var(--color-white);
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: none;
}

.button--accent {
  background: var(--color-accent);
  color: var(--color-white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 249, 251, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

body:not(.has-scrolled) .site-header {
  position: absolute;
  width: 100%;
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

body.has-scrolled .site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(231, 227, 230, 0.96);
  box-shadow: 0 10px 30px rgba(15, 17, 21, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.75rem;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--color-secondary);
  text-decoration: none;
}

.site-branding__mark {
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border-radius: 0.95rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  font-weight: 800;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(139, 6, 36, 0.2);
}

.site-branding__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 0.3rem;
  background: var(--color-white);
}

.site-branding__text strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}

.site-branding__text span {
  display: block;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.primary-nav ul,
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a,
.footer-nav a {
  color: var(--color-secondary);
  font-weight: 600;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus,
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--color-primary);
}

.header-cta {
  display: inline-flex;
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-secondary);
}

.hero {
  padding: clamp(7rem, 10vw, 9rem) 0 clamp(4rem, 6vw, 6rem);
  background:
    radial-gradient(circle at top left, rgba(139, 6, 36, 0.14), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
}

.hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero__title {
  margin: 0;
  color: var(--color-secondary);
  font-size: clamp(2.8rem, 6vw, 5.75rem);
  line-height: 0.94;
  max-width: 11ch;
}

.hero__lead {
  max-width: 40rem;
  margin: 1rem 0 0;
  color: var(--color-muted);
  font-size: 1.12rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.hero__panel {
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 249, 251, 0.94)),
    var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.hero__mockup {
  overflow: hidden;
  border-radius: 1.35rem;
  background: linear-gradient(160deg, rgba(139, 6, 36, 0.08), rgba(15, 17, 21, 0.03));
  border: 1px solid rgba(139, 6, 36, 0.08);
  animation: hero-float 7s ease-in-out infinite;
}

.hero__mockup img {
  display: block;
  width: 100%;
  transform: scale(1.01);
}

.hero__mockup-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem 0.75rem;
}

.hero__mockup-caption strong {
  color: var(--color-secondary);
  font-family: var(--font-display);
}

.hero__mockup-caption span {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.stat {
  padding: 1.1rem 1rem;
}

.stat__value {
  display: block;
  color: var(--color-secondary);
  font-size: 1.55rem;
  font-weight: 800;
}

.stat__label {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.feature-card,
.service-card,
.portfolio-card,
.testimonial-card,
.blog-card,
.process-step,
.career-card,
.industry-card {
  padding: 1.4rem;
}

.cta-card {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.case-meta {
  margin: 1.5rem 0;
}

.feature-card--dark {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-secondary));
  border-color: transparent;
  color: rgba(255, 255, 255, 0.92);
}

.feature-card--dark .card__title,
.feature-card--dark .card__text,
.feature-card--dark .card__eyebrow {
  color: #fff;
}

.feature-card--dark .button--ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  background: transparent;
}

.card__eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card__title {
  margin: 0 0 0.75rem;
  color: var(--color-secondary);
  font-size: 1.15rem;
  line-height: 1.25;
}

.card__text,
.entry-content,
.service-card__desc,
.process-step__text,
.testimonial-card__text,
.blog-card__excerpt,
.career-card__text,
.portfolio-card__text,
.site-footer__about {
  color: var(--color-muted);
}

.service-card__icon,
.portfolio-card__meta,
.portfolio-card__result,
.industry-card .card__eyebrow {
  color: var(--color-primary);
}

.service-card__icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 0.9rem;
  background: rgba(139, 6, 36, 0.08);
}

.service-card__icon svg {
  width: 1.4rem;
  height: 1.4rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--color-muted);
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--color-light);
  color: var(--color-secondary);
  font-size: 0.85rem;
  font-weight: 600;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-light);
}

.media-frame img {
  display: block;
  width: 100%;
  transition: transform 280ms ease;
}

.portfolio-card:hover .media-frame img {
  transform: scale(1.05);
}

.portfolio-card__result {
  display: inline-flex;
  margin: 0.75rem 0 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(139, 6, 36, 0.08);
  font-size: 0.85rem;
  font-weight: 700;
}

.portfolio-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.portfolio-card__tags .pill {
  background: #fff;
  border: 1px solid var(--color-border);
}

.site-footer {
  padding: 3rem 0 2rem;
  background: var(--color-secondary);
  color: rgba(255, 255, 255, 0.86);
}

.site-footer::before {
  content: '';
  display: block;
  height: 0.25rem;
  margin-bottom: 2rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

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

.site-footer__grid {
  display: grid;
  gap: 1.5rem;
}

.site-footer__brand strong,
.site-footer__title {
  color: #fff;
}

.site-footer__brand strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.entry-header {
  padding: 2.5rem 0 1rem;
}

.entry-title,
.page-title,
.archive-title,
.search-title {
  margin: 0;
  color: var(--color-secondary);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.entry-meta,
.post-meta,
.search-meta {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.entry-content > * + * {
  margin-top: 1.15rem;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-white);
  text-decoration: none;
}

.pagination .current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.section-reveal,
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 540ms ease, transform 540ms ease;
}

.is-visible,
body.has-scrolled .section-reveal,
body.has-scrolled .reveal-on-scroll {
  opacity: 1;
  transform: translateY(0);
}

.counter {
  font-variant-numeric: tabular-nums;
}

.hero__actions .button,
.header-cta .button {
  border-radius: 999px;
}

.button:active,
.wp-block-button__link:active,
input[type='submit']:active {
  transform: translateY(0);
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.comments-area,
.not-found,
.search-no-results {
  padding: 2rem 0 4rem;
}

.form-control,
textarea,
input[type='text'],
input[type='email'],
input[type='url'],
input[type='tel'],
input[type='search'] {
  width: 100%;
  min-height: 3rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 0.85rem;
  background: var(--color-white);
  color: var(--color-text);
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

label {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--color-secondary);
  font-weight: 600;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.site-search {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.site-search input {
  flex: 1;
}

@media (min-width: 48rem) {
  .hero__grid {
    grid-template-columns: 1.4fr 0.9fr;
  }

  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (max-width: 61.99rem) {
  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 1rem;
    padding: 1rem var(--gutter) 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transform: translateY(-0.5rem);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav ul {
    flex-direction: column;
  }

  .header-cta {
    width: 100%;
  }

  .header-cta .button {
    width: 100%;
  }
}
