@media (min-width:1600px) {
  .wrapper {
    max-width: 1680px;
  }
  .hero-callout h2 {
    font-size: 2rem;
  }
}

@media (max-width:1200px) {
  .site-header-inner {
    padding: 1rem 2rem;
    grid-template-columns: auto 1fr auto;
  }
  .hero-split {
    grid-template-columns: 1fr 1fr;
  }
  .panel-body {
    padding: 1.25rem 1.5rem;
  }
  h1 {
    font-size: clamp(1.8rem, 2vw, 2.4rem);
  }
  h2 {
    font-size: 1.3rem;
  }
}

@media (max-width:992px) {

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    background: none;
    color: var(--text-primary);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 2001;
  }

  .menu-toggle.is-open {
    color: var(--accent);
  }

  .site-header-inner {
    grid-template-columns: auto auto;
    align-items: center;
  }

  .nav-block {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: var(--bg-panel);
    border-left: 1px solid var(--border-soft);
    box-shadow: 0 0 80px rgba(0,0,0,0.9);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 1.5rem 2rem;
    gap: 1rem;
    transition: right 0.35s var(--transition-slow);
    z-index: 2000;
  }

  .nav-block.active {
    right: 0;
  }

  .nav-pill {
    width: 100%;
    text-align: left;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    font-size: 13px;
  }

  .status-block {
    display: none;
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hero-callout {
    padding: 2rem 1.5rem;
  }
  .hero-callout h2 {
    font-size: clamp(1.8rem, 5vw, 2.2rem);
  }
  .hero-callout p {
    font-size: 1.2rem;
  }
  .hero-image-card {
    min-height: 260px;
  }

  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
  .panel {
    margin-bottom: 2rem;
  }

  .blog-item {
    grid-template-columns: 1fr;
  }
  .work-card {
    padding: 1rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width:768px) {

  h1 { font-size: clamp(1.6rem, 5vw, 2rem); }
  h2 { font-size: clamp(1.3rem, 4vw, 1.6rem); }
  p, li { font-size: 15px; }

  .hero-callout {
    padding: 1.5rem;
  }
  .hero-callout h2 {
    margin-top: .25rem;
    font-size: 2rem;
  }
  .hero-callout p {
    font-size: 1.05rem;
  }

  .panel-body {
    padding: 1.25rem 1.25rem 1.1rem;
  }

  .form-field input,
  .form-field textarea {
    font-size: 14px;
  }

  .work-layout {
    grid-template-columns: 1fr;
  }

  .client-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(100px,1fr));
    gap: 1.5rem;
  }
}

@media (max-width:600px) {

  .site-header-inner {
    padding: .75rem 1rem;
  }
.brand-block img {
    height: 35px;
}
  .menu-toggle {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .hero-callout h2 {
    font-size: 1.7rem;
  }

  .hero-callout p {
    font-size: 1rem;
  }

  .panel-body {
    padding: 1rem;
  }

  .blog-meta h3 {
    font-size: 1rem;
  }

  .work-title {
    font-size: .95rem;
  }

  .site-footer {
    font-size: 10px;
    gap: .75rem;
  }
}

@media (max-width:480px) {

  .hero-callout {
    border-radius: var(--radius-md);
    padding: 1.25rem;
  }

  .hero-callout h2 {
    font-size: 1.5rem;
  }

  .hero-callout p {
    font-size: .95rem;
  }

  .panel-body {
    padding: .85rem 1rem;
  }

  .nav-block {
    width: 100%;
  }

  .blog-item,
  .work-card {
    border-radius: var(--radius-md);
    padding: .75rem;
  }

  .form-field input,
  .form-field textarea {
    font-size: 13px;
    padding: .7rem .8rem;
  }

  .btn-accent {
    padding: .9rem;
    font-size: 13px;
  }
}

@media (max-width:992px) {

  .site-header-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .75rem;
    padding: .75rem 1rem 1rem;
  }

  .brand-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    color: var(--text-primary);
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 5;
  }

  .menu-toggle.is-open {
    color: var(--accent);
  }

  .nav-block {
    border-left: 0;
    border-right: 0;
    padding: 0;
    margin-top: .25rem;
    flex-direction: column;
    align-items: stretch;
    gap: .5rem;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--transition-slow);
  }

  body.nav-open .nav-block {
    max-height: 80vh; 
  }

  .nav-pill {
    width: 100%;
    text-align: left;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    font-size: 13px;
  }

  .status-block {
    display: none;
  }

  .nav-pill.has-dropdown {
    padding: 0;
    overflow: hidden;
  }

  .nav-pill.has-dropdown .pill-inner {
    padding: 1rem 1.25rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .nav-pill.has-dropdown .dropdown-menu {
    position: static;
    left: auto;
    top: auto;
    min-width: 100%;
    margin: 0;
    width: 100%;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: none;
    border-top: 1px solid var(--border-soft);
    background: var(--bg-panel-alt);
    padding: .75rem 1.25rem 1rem;
    display: none;
  }

  .nav-pill.has-dropdown.open .dropdown-menu {
    display: block;
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hero-callout {
    padding: 2rem 1.5rem;
  }
  .hero-callout h2 {
    font-size: clamp(1.8rem, 5vw, 2.2rem);
  }
  .hero-callout p {
    font-size: 1.2rem;
  }
  .hero-image-card {
    min-height: 260px;
  }
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
  .panel {
    margin-bottom: 2rem;
  }
  .blog-item {
    grid-template-columns: 1fr;
  }
  .work-card {
    padding: 1rem;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* === FINAL MOBILE NAV OVERRIDE === */
@media (max-width: 992px) {

  .site-header-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .75rem;
    padding: .75rem 1rem 1rem;
  }

  .brand-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    color: var(--text-primary);
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 2001;
  }

  .menu-toggle.is-open {
    color: var(--accent);
  }

  .nav-block {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: var(--bg-panel);
    border-left: 1px solid var(--border-soft);
    border-top: 1px solid var(--border-soft);
    box-shadow: 0 0 80px rgba(0,0,0,0.9);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 1.5rem 2rem;
    gap: 1rem;
    transition: right 0.35s var(--transition-slow);
    z-index: 2000;
  }

  .nav-block.active {
    right: 0;
  }

  .nav-pill {
    width: 100%;
    text-align: left;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    font-size: 13px;
  }

  .status-block {
    display: none;
  }

  .nav-pill.has-dropdown {
    padding: 0;
    overflow: hidden;
  }

  .nav-pill.has-dropdown .pill-inner {
    padding: 1rem 1.25rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .nav-pill.has-dropdown .dropdown-menu {
    position: static;
    left: auto;
    top: auto;
    min-width: 100%;
    margin: 0;
    width: 100%;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: none;
    border-top: 1px solid var(--border-soft);
    background: var(--bg-panel-alt);
    padding: .75rem 1.25rem 1rem;
    display: none;
  }

  .nav-pill.has-dropdown.open .dropdown-menu {
    display: block;
  }
}
/* ================================
   FIX MOBILE DROPDOWNS (HOME + STUDIO)
   Makes ALL mobile dropdowns behave correctly
   ================================ */

@media (max-width: 992px) {

  /* Make dropdown menus always full width */
  .nav-pill.has-dropdown .dropdown-menu {
    position: relative !important;
    width: 100% !important;
    left: 0 !important;
    top: 0 !important;
    margin: 0 !important;
    padding: 0.75rem 1.25rem 1rem !important;
    border-radius: 0 0 var(--radius-md) var(--radius-md) !important;
  }

  /* Ensure the container pill does NOT hide the dropdown */
  .nav-pill.has-dropdown {
    width: 100%;
    overflow: visible !important;
  }

  /* Fix the inner clickable header so it stays aligned */
  .nav-pill.has-dropdown .pill-inner {
    width: 100%;
    padding: 1rem 1.25rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Fix Studio dropdown clipping */
  .nav-block {
    overflow: visible !important;
  }

  /* Prevent sliding panel from clipping dropdowns */
  body.nav-open .nav-block {
    max-height: none !important;
  }
}
.nav-pill.has-dropdown.open {
    background: var(--bg-panel-alt);
}

@media (max-width: 1400px) {
  .status-block {
    display: none !important;
  }
  .nav-block {
  padding:0;
  margin:0;
}

}
@media (max-width: 1200px) {



.team-card {

    margin: 0 0rem;
  }
}
