/* ============================
   MOBILE — max 768px
   enazemi-studio / minimal
============================ */
@media (max-width: 768px) {

  /* HEADER */
  .site-header {
    height: 64px;
    padding: 0 var(--space-3);
    backdrop-filter: blur(10px);
    background: rgba(0,0,0,0.25);
  }

  .logo img {
    height: 22px;
  }

  .menu-toggle {
    width: 20px;
    height: 16px;
  }

  .menu-toggle span {
    height: 1px;
  }

  .overlay-nav a {
    font-size: 1.6rem;
    letter-spacing: 0.06em;
  }

  /* GLOBAL */
  body {
    font-size: 15px;
    line-height: 1.65;
  }

  section,
  .container,
  .wrapper {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }

  .fullscreen,
  .full-height {
    height: auto !important;
    min-height: 100vh;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr !important;
    gap: var(--space-3);
  }

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

  button {
    padding: 10px 16px;
    font-size: 14px;
  }

  h1 {
    font-size: 26px;
    line-height: 1.15;
  }

  h2 {
    font-size: 22px;
    line-height: 1.2;
  }

  h3 {
    font-size: 18px;
    line-height: 1.25;
  }

  .flex {
    flex-direction: column;
    gap: var(--space-2);
  }

  .center-mobile {
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  .hide-mobile {
    display: none !important;
  }

  .show-mobile {
    display: block !important;
  }

  /* HOME — HERO */
  .hero {
    height: 100vh;
    overflow: hidden;
    position: relative;
    padding-top: 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 0 var(--space-3);
  }

  .hero-left {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    transform: translate(-50%, -50%);
    text-align: left !important;
  }

  .hero-left h1 {
    font-size: 28px;
    line-height: 1.05;
    margin-bottom: 4px;
    font-weight: 300;
  }

  .hero-left .subtitle {
    font-size: 13px;
    opacity: 0.75;
    margin-top: 8px;
    line-height: 1.45;
  }

  .scroll-wrap {
    margin-top: 24px;
  }

  .hero-image {
    width: 100%;
    opacity: 0.6;
    transform: none;
  }

  /* PROJECTS PAGE */
  .projects-page {
    padding-top: var(--space-5);
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }

  .projects-header {
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--space-3);
  }

  .projects-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: var(--space-2);
  }

  .projects-categories {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
  }

  .projects-categories a {
    font-size: 11px;
    opacity: 0.75;
    padding: 4px 6px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .projects-page .logo img {
    content: url('/wp-content/themes/enazemi-studio/assets/images/logowhite.webp');
    height: 22px;
    filter: invert(0) brightness(0);
  }

  .projects-page .menu-toggle span {
    background-color: #000 !important;
  }

  .projects-page .site-header {
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
  }

  .projects-page .site-header.scrolled {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
  }

  /* SINGLE PROJECT */
  .single-project-fullscreen {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
    padding-top: 88px !important;
  }

  .project-left {
    width: 100%;
    margin-bottom: var(--space-2);
  }

  .project-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
  }

  .project-back {
    font-size: 12px;
    top: var(--space-3);
    left: var(--space-3);
  }

  .project-right {
    width: 100%;
    padding: 0 var(--space-3) var(--space-5);
  }

  .project-title {
    font-size: 20px;
  }

  .project-heading {
    font-size: 18px;
  }

  .project-overlay {
    grid-template-columns: 1fr;
  }

  .project-overlay.active .single-project-fullscreen {
    padding-top: 0;
  }

  /* METHOD */
  .method-hero {
    padding: 88px 6% 60px;
  }

  .method-title {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .method-lead {
    font-size: 15px;
  }

  .method-text {
    font-size: 14px;
  }

  .method-process {
    padding: 80px 24px;
  }

  .process-title {
    font-size: 32px;
    margin-bottom: 48px;
  }

  .process-grid {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .process-item {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .process-number {
    font-size: 40px;
  }

  .process-heading {
    font-size: 14px;
  }

  .process-desc {
    font-size: 13px;
  }

  /* PRINCIPLES */
  .principles-hero {
    padding: 88px 6% 60px;
  }

  .principles-title {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .principles-text {
    font-size: 14px;
  }

  .principles-list {
    padding: 80px 6%;
  }

  .principle-row {
    flex-direction: row;
    gap: 20px;
  }

  .principle-icon {
    width: 32px;
    height: 32px;
  }

  .principle-content h3 {
    font-size: 20px;
  }

  .principle-content p {
    font-size: 14px;
  }

  .principles-footer .footer-bottom-row {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 40px 0;
  }

  /* COMMISSIONS */
  .commissions-hero {
    padding-top: 88px;
    min-height: 70vh;
    padding-left: 6%;
    padding-right: 6%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .commissions-hero-inner {
    position: relative;
    z-index: 3;
  }

  .commissions-title {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .commissions-subtitle {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .commissions-text {
    font-size: 14px;
    line-height: 1.6;
  }

  .commissions-areas {
    padding: 60px 6%;
  }

  .areas-title-left {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .area-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .area-icon {
    width: 36px;
    height: 36px;
  }

  .area-label {
    font-size: 13px;
    opacity: 0.8;
  }

  .commissions-inquiry {
    padding: 60px 6%;
  }

  .inquiry-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .inquiry-image img {
    width: 100%;
    height: auto;
  }

  .areas-title-inquiry {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .inquiry-list li {
    font-size: 14px;
    line-height: 1.6;
  }

  .commissions-footer {
    padding: 60px 6%;
  }

  .footer-top-row {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-bottom-row {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
@media (max-width: 768px) {

  :root {
    --type-h1: 2.4rem;
    --type-h2: 1.8rem;
    --type-h3: 1.4rem;
    --type-h4: 1.1rem;
    --type-h5: 0.95rem;

    --type-body: 14px;
    --type-small: 12px;
  }

  .hero-title,
  .method-title,
  .principles-title,
  .commissions-title {
    font-size: var(--type-h1);
    line-height: var(--lh-tight);
    margin-bottom: var(--space-3);
  }

  .hero-subtitle,
  .method-lead,
  .principles-subtitle,
  .commissions-subtitle {
    font-size: var(--type-h4);
    line-height: var(--lh-normal);
  }

  .hero-text,
  .method-text,
  .principles-text,
  .commissions-text {
    font-size: var(--type-body);
    line-height: var(--lh-relaxed);
    max-width: 100%;
  }
}

