/*
Theme Name: Lede Coyote
Theme URI: https://ledecoyote.com
Author: Lede Coyote
Author URI: https://ledecoyote.com
Description: Custom theme for Lede Coyote, a New Orleans-based brand and design studio.
Tags: custom-menu, featured-images, one-column, full-width-template
Version: 1.0
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lede-coyote
*/

/* ============================================================
   RESET (inherited from BlankSlate)
   ============================================================ */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}
html{scroll-behavior:smooth}body{line-height:1}a{text-decoration-skip-ink:auto}a[href^="tel"]{color:inherit;text-decoration:none}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}

/* Accessibility */
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.skip-link{left:-9999rem;top:2.5rem;z-index:999999999;text-decoration:underline}
.skip-link:focus{display:block;left:6px;top:7px;font-size:14px;font-weight:600;text-decoration:none;padding:15px 23px 14px;z-index:100000}

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --dark:       #1e1e24;
  --red:        #ff5e5b;
  --white:      #ffffff;
  --gap:        12px;
  --radius:     2px;
  --font-sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --nav-h:      64px;
}

/* ============================================================
   BASE TYPOGRAPHY & BODY
   ============================================================ */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================================
   WRAPPER
   ============================================================ */
#wrapper {
  max-width: 100%;
  overflow-x: hidden;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(30,30,36,0.08);
  height: var(--nav-h);
}

#header .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

/* Logo */
#site-title { display: flex; align-items: center; }
#site-title a { display: block; line-height: 0; }
#site-title img,
#site-title svg {
  width: 140px;
  height: auto;
  display: block;
}
/* Hide blankslate text-based site title if no logo */
#site-title span { display: none; }
#site-description { display: none; }

/* Primary nav menu */
#menu nav#nav-primary ul,
#menu .menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#menu nav#nav-primary ul li a,
#menu .menu li a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s;
}

#menu nav#nav-primary ul li a:hover,
#menu .menu li a:hover,
#menu nav#nav-primary ul li.current-menu-item a,
#menu .menu li.current-menu-item a {
  color: var(--red);
}

/* Hide search from nav */
#search { display: none; }

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--dark);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-overlay ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-menu-overlay ul li a {
  font-size: 22px;
  font-weight: 400;
  color: var(--dark);
  letter-spacing: 0.04em;
  text-decoration: none;
}
.mobile-menu-overlay ul li a:hover { color: var(--red); }

/* ============================================================
   MAIN CONTENT AREA
   ============================================================ */
#container {
  min-height: 60vh;
}

#content {
  /* pages override this */
}

/* ============================================================
   PAGE TEMPLATE — HOMEPAGE (page-home.php)
   ============================================================ */

/* Hero */
.lc-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 28px 80px;
  text-align: center;
  background: var(--white);
}

.lc-hero .hero-logo {
  width: 260px;
  height: auto;
  margin-bottom: 32px;
}

.lc-hero .hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--dark);
  max-width: 700px;
  margin-bottom: 20px;
}

.lc-hero .hero-sub {
  font-size: 14px;
  color: rgba(30,30,36,0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Portfolio Grid */
.lc-grid-section {
  padding: var(--gap);
  border-top: 1px solid rgba(30,30,36,0.08);
}

.lc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.lc-grid-item {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--radius);
}

.lc-grid-item.span-wide {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

.lc-grid-item.span-tall {
  grid-row: span 2;
  aspect-ratio: 1/2;
}

.lc-grid-item .bg-mono,
.lc-grid-item .bg-hover {
  position: absolute;
  inset: 0;
  transition: opacity 0.5s;
}

.lc-grid-item .bg-hover { opacity: 0; }
.lc-grid-item:hover .bg-mono { opacity: 0; }
.lc-grid-item:hover .bg-hover { opacity: 1; }

.lc-grid-item .cell-logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20%;
  transition: filter 0.5s;
}

.lc-grid-item .cell-logo img,
.lc-grid-item .cell-logo svg {
  width: 100%;
  height: auto;
  max-height: 60%;
  object-fit: contain;
  filter: var(--logo-mono-filter, brightness(0) invert(1));
  transition: filter 0.5s;
}

.lc-grid-item:hover .cell-logo img,
.lc-grid-item:hover .cell-logo svg {
  filter: none;
}

.lc-grid-item .cell-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
  pointer-events: none;
}

.lc-grid-item:hover .cell-label { color: rgba(255,255,255,0.9); }

/* Gallery Modal */
.lc-gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(30,30,36,0.97);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lc-gallery-modal.open {
  opacity: 1;
  pointer-events: all;
}

.lc-gallery-modal .modal-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
  transition: color 0.2s;
}

.lc-gallery-modal .modal-close:hover { color: var(--white); }

.lc-gallery-modal .modal-client {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
}

.lc-gallery-modal .modal-slide {
  width: min(800px, 90vw);
  aspect-ratio: 16/10;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
  position: relative;
}

.lc-gallery-modal .modal-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lc-gallery-modal .modal-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.lc-gallery-modal .modal-nav button {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}

.lc-gallery-modal .modal-nav button:hover {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}

.lc-gallery-modal .modal-dots {
  display: flex;
  gap: 8px;
}

.lc-gallery-modal .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.2s;
}

.lc-gallery-modal .dot.active { background: var(--white); }

.lc-gallery-modal .modal-caption {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin-top: 12px;
  letter-spacing: 0.06em;
  height: 18px;
}

/* ============================================================
   PAGE TEMPLATE — CONTACT (page-contact.php)
   ============================================================ */
.lc-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: calc(100vh - var(--nav-h));
}

.lc-contact .contact-left {
  padding: 80px 60px 80px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lc-contact .contact-left h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 24px;
}

.lc-contact .contact-left p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(30,30,36,0.55);
  max-width: 380px;
}

.lc-contact .contact-details {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lc-contact .contact-details a {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(30,30,36,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.lc-contact .contact-details a:hover { color: var(--red); }

.lc-contact .contact-right {
  padding: 80px 48px 80px 60px;
  border-left: 1px solid rgba(30,30,36,0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Contact form */
.lc-contact-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 480px;
}

.lc-contact-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lc-contact-form label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(30,30,36,0.4);
}

.lc-contact-form input[type="text"],
.lc-contact-form input[type="email"],
.lc-contact-form textarea {
  background: none;
  border: none;
  border-bottom: 1px solid rgba(30,30,36,0.2);
  padding: 10px 0;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--dark);
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
  border-radius: 0;
  appearance: none;
}

.lc-contact-form input[type="text"]:focus,
.lc-contact-form input[type="email"]:focus,
.lc-contact-form textarea:focus {
  border-bottom-color: var(--dark);
}

.lc-contact-form textarea {
  resize: none;
  height: 100px;
  line-height: 1.6;
}

.lc-contact-form .submit-btn {
  align-self: flex-start;
  background: var(--dark);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s;
  font-family: var(--font-sans);
}

.lc-contact-form .submit-btn:hover { background: var(--red); }

/* ============================================================
   PAGE TEMPLATE — BLOG (page-blog.php / archive)
   ============================================================ */
.lc-blog {
  padding: 64px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.lc-blog-header {
  margin-bottom: 60px;
}

.lc-blog-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  color: var(--dark);
}

.lc-post-list { display: flex; flex-direction: column; gap: 0; }

.lc-post-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 56px 0;
  border-bottom: 1px solid rgba(30,30,36,0.08);
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.lc-post-item:first-child { border-top: 1px solid rgba(30,30,36,0.08); }

.lc-post-item:nth-child(even) .post-image { order: 2; }
.lc-post-item:nth-child(even) .post-text { order: 1; }

.lc-post-item .post-image {
  aspect-ratio: 4/3;
  background: rgba(30,30,36,0.05);
  overflow: hidden;
  border-radius: var(--radius);
}

.lc-post-item .post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.lc-post-item:hover .post-image img { transform: scale(1.03); }

.lc-post-item .post-text { padding: 20px 0; }

.lc-post-item .post-category {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
  display: block;
}

.lc-post-item .post-title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 16px;
  transition: color 0.2s;
}

.lc-post-item:hover .post-title { color: var(--red); }

.lc-post-item .post-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(30,30,36,0.55);
}

/* ============================================================
   SINGLE POST (single.php)
   ============================================================ */
.lc-single-post {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 100px;
}

.lc-single-post .post-category {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 16px;
}

.lc-single-post h1.entry-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 40px;
}

.lc-single-post .post-hero {
  aspect-ratio: 16/9;
  background: rgba(30,30,36,0.05);
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 48px;
}

.lc-single-post .post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lc-single-post .entry-content {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(30,30,36,0.85);
}

.lc-single-post .entry-content p { margin-bottom: 28px; }
.lc-single-post .entry-content h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--dark);
  margin: 48px 0 20px;
}
.lc-single-post .entry-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin: 36px 0 16px;
}
.lc-single-post .entry-content blockquote {
  border-left: 3px solid var(--red);
  padding-left: 24px;
  margin: 36px 0;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.5;
  color: var(--dark);
  font-style: italic;
}

.lc-single-post .entry-content a { color: var(--red); text-decoration: underline; }
.lc-single-post .entry-content img { max-width: 100%; height: auto; border-radius: var(--radius); }
.lc-single-post .entry-content ul, 
.lc-single-post .entry-content ol { margin: 0 0 28px 24px; }
.lc-single-post .entry-content li { margin-bottom: 8px; line-height: 1.65; }
.lc-single-post .entry-content ul li { list-style: disc; }
.lc-single-post .entry-content ol li { list-style: decimal; }

/* Post navigation */
.lc-post-nav {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px;
  border-top: 1px solid rgba(30,30,36,0.08);
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.lc-post-nav a {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(30,30,36,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.lc-post-nav a:hover { color: var(--red); }

/* ============================================================
   CAREERS PAGE (page-careers.php)
   ============================================================ */
.lc-careers {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 24px 100px;
}

.lc-careers .careers-header {
  margin-bottom: 64px;
}

.lc-careers .careers-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 20px;
}

.lc-careers .careers-header p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(30,30,36,0.55);
  max-width: 520px;
}

.lc-job-list { display: flex; flex-direction: column; gap: 0; }

.lc-job-item {
  border-bottom: 1px solid rgba(30,30,36,0.08);
}

.lc-job-item:first-child { border-top: 1px solid rgba(30,30,36,0.08); }

.lc-job-item .job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  user-select: none;
}

.lc-job-item .job-title {
  font-size: 17px;
  font-weight: 500;
  color: var(--dark);
  transition: color 0.2s;
}

.lc-job-item:hover .job-title { color: var(--red); }

.lc-job-item .job-meta {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(30,30,36,0.35);
}

.lc-job-item .job-toggle {
  font-size: 20px;
  color: rgba(30,30,36,0.3);
  transition: transform 0.3s, color 0.2s;
}

.lc-job-item.open .job-toggle {
  transform: rotate(45deg);
  color: var(--red);
}

.lc-job-item .job-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.lc-job-item.open .job-detail { max-height: 600px; }

.lc-job-item .job-detail-inner {
  padding-bottom: 32px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(30,30,36,0.7);
}

.lc-job-item .job-detail-inner p { margin-bottom: 16px; }
.lc-job-item .job-detail-inner ul { margin: 0 0 16px 20px; }
.lc-job-item .job-detail-inner li { list-style: disc; margin-bottom: 6px; }

.lc-job-item .apply-btn {
  display: inline-block;
  margin-top: 8px;
  background: var(--dark);
  color: var(--white);
  padding: 12px 28px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s;
}

.lc-job-item .apply-btn:hover { background: var(--red); text-decoration: none; }

/* Values section */
.lc-values {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid rgba(30,30,36,0.08);
}

.lc-values h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 40px;
}

.lc-values .values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 60px;
}

.lc-values .value-item h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 10px;
}

.lc-values .value-item p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(30,30,36,0.55);
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  padding: 40px 28px;
  border-top: 1px solid rgba(30,30,36,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

#footer .footer-logo img,
#footer .footer-logo svg {
  width: 90px;
  height: auto;
}

#footer .footer-copy {
  font-size: 12px;
  color: rgba(30,30,36,0.3);
  letter-spacing: 0.08em;
}

#footer .footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

#footer .footer-links a {
  font-size: 12px;
  color: rgba(30,30,36,0.4);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

#footer .footer-links a:hover { color: var(--red); }

/* Hide default copyright div from blankslate */
#copyright { display: none; }

/* ============================================================
   SIDEBAR — hidden on all Lede Coyote pages
   ============================================================ */
#sidebar { display: none; }

/* ============================================================
   GUTENBERG BLOCKS (basic support)
   ============================================================ */
.wp-block-image img { max-width: 100%; height: auto; border-radius: var(--radius); }
.wp-block-quote {
  border-left: 3px solid var(--red);
  padding-left: 24px;
  margin: 36px 0;
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .lc-grid { grid-template-columns: repeat(3, 1fr); }
  .lc-contact { grid-template-columns: 1fr; }
  .lc-contact .contact-right { border-left: none; border-top: 1px solid rgba(30,30,36,0.08); }
  .lc-values .values-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 56px; }

  #menu .menu,
  #menu nav#nav-primary ul { display: none; }
  .hamburger { display: flex; }
  .mobile-menu-overlay { display: flex; }

  .lc-grid { grid-template-columns: repeat(2, 1fr); }
  .lc-grid-item.span-tall { aspect-ratio: 1/1; grid-row: span 1; }

  .lc-hero { padding: 60px 24px 48px; }
  .lc-blog { padding: 48px 24px; }

  .lc-post-item {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
  }
  .lc-post-item:nth-child(even) .post-image { order: 0; }
  .lc-post-item:nth-child(even) .post-text  { order: 0; }

  .lc-single-post { padding: 48px 20px 80px; }
  .lc-careers { padding: 48px 20px 80px; }
  .lc-contact .contact-left,
  .lc-contact .contact-right { padding: 48px 24px; }

  #footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .lc-grid { grid-template-columns: 1fr; }
  .lc-grid-item.span-wide { aspect-ratio: 1/1; grid-column: span 1; }
}
