/*
Theme Name: Harbel Remedies
Theme URI: https://harbelremedies.com
Author: Harbel Remedies
Description: One-page herbal wellness theme inspired by Gilgit-Baltistan.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: harbel-remedies
*/

:root {
    --green-950: #142419;
    --green-900: #1d3327;
    --green-700: #2f5a43;
    --green-500: #4f8a6a;
    --green-100: #e4ece6;
    --sand-50: #fbf8f2;
    --sand-100: #f6f1e7;
    --sand-200: #ece3d0;
    --ochre: #c58b3c;
    --ochre-light: #e8c58f;
    --text: #2a2a2a;
    --muted: #666b66;
    --white: #ffffff;
    --radius: 16px;
    --radius-lg: 28px;
    --shadow-sm: 0 2px 10px rgba(20, 36, 25, 0.06);
    --shadow: 0 16px 40px rgba(20, 36, 25, 0.12);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; scroll-padding-top: 90px; }
  body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3 {
    font-family: var(--font-display);
    color: var(--green-900);
    line-height: 1.18;
    letter-spacing: -0.012em;
    font-weight: 700;
  }
  p { max-width: 68ch; }
  a { color: var(--green-700); text-decoration: none; transition: color .2s var(--ease); }
  img { max-width: 100%; display: block; }
  :focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 6px; }
  .container { width: min(1180px, 92%); margin: 0 auto; }

  .skip-link {
    position: absolute; left: 1rem; top: -4rem; z-index: 200;
    background: var(--green-900); color: var(--white); padding: .6rem 1rem; border-radius: 8px;
  }
  .skip-link:focus { top: 1rem; }

  /* Buttons */
  .btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .9rem 1.8rem; border-radius: 999px;
    font-family: var(--font-body); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
    border: 2px solid transparent; cursor: pointer;
    transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  }
  .btn:hover { transform: translateY(-2px); }
  .btn-primary { background: var(--green-700); color: var(--white); box-shadow: 0 8px 20px rgba(47, 90, 67, .25); }
  .btn-primary:hover { background: var(--green-900); color: var(--white); }
  .btn-outline { border-color: var(--green-700); color: var(--green-700); background: transparent; }
  .btn-outline:hover { background: var(--green-700); color: var(--white); }
  .btn-sm { padding: .6rem 1.2rem; font-size: .88rem; }
  .btn-light { background: var(--white); color: var(--green-900); }
  .btn-light:hover { background: var(--ochre-light); color: var(--green-900); }
  .btn-ghost-light { border-color: rgba(255,255,255,.7); color: var(--white); background: transparent; }
  .btn-ghost-light:hover { background: var(--white); color: var(--green-900); }

  .eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-family: var(--font-body); font-size: .76rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .2em; color: var(--ochre);
    margin-bottom: 1rem;
  }
  .eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

  /* Header */
  .site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
  }
  .site-header.scrolled { border-bottom-color: var(--sand-200); box-shadow: 0 8px 24px rgba(20, 36, 25, .07); }
  .nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .8rem 0; position: relative; }
  .logo-link { display: inline-flex; align-items: center; }
  .logo-link img { height: clamp(34px, 3.2vw, 58px); width: auto; }
  .nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; font-size: .92rem; font-weight: 500; }
  .nav-links a { position: relative; color: var(--text); padding: .4rem 0; }
  .nav-links a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
    background: var(--ochre); transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--ease);
  }
  .nav-links a:hover, .nav-links a.active { color: var(--green-700); }
  .nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
  .nav-right { display: flex; align-items: center; gap: .75rem; }
  .menu-toggle {
    display: none; width: 44px; height: 44px; border-radius: 12px;
    background: var(--green-100); border: none; cursor: pointer;
    color: var(--green-900); font-size: 1.3rem; align-items: center; justify-content: center;
  }

  /* Hero */
  .hero {
    position: relative; min-height: min(92vh, 1000px);
    display: flex; align-items: center;
    color: var(--white); overflow: hidden; background: var(--green-900);
  }
  .hero-slider { position: absolute; inset: 0; outline-offset: -4px; }
  .slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity 1.1s ease, transform 7s var(--ease); }
  .slide.active { opacity: 1; transform: scale(1); }
  .slide img { width: 100%; height: 100%; object-fit: cover; }
  .hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
      linear-gradient(90deg, rgba(20,36,25,.94) 0%, rgba(20,36,25,.72) 45%, rgba(20,36,25,.25) 100%),
      linear-gradient(0deg, rgba(20,36,25,.55) 0%, rgba(20,36,25,0) 35%);
  }
  .hero-content { position: relative; z-index: 2; padding: 7rem 0 9rem; }
  .hero-content .eyebrow { color: var(--ochre-light); }
  .hero-content h1 { color: var(--white); font-size: clamp(2.4rem, 5.2vw, 4rem); margin-bottom: 1.3rem; max-width: 16ch; }
  .hero-content p.lead { font-size: 1.1rem; opacity: .9; max-width: 36rem; margin-bottom: 2.2rem; }
  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

  .slider-arrow {
    position: absolute; bottom: 1.6rem; z-index: 3;
    width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255,255,255,.14); color: var(--white); font-size: 1.5rem; line-height: 1;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    transition: background .25s var(--ease);
  }
  .slider-arrow:hover { background: rgba(255,255,255,.3); }
  .slider-arrow.prev { right: 5.2rem; }
  .slider-arrow.next { right: 1.5rem; }
  .hero-controls {
    position: absolute; left: 0; right: 0; bottom: 2rem; z-index: 3;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  }
  .container.hero-controls { width: min(1180px, 92%); margin: 0 auto; }
  .slider-dots { display: flex; gap: .5rem; }
  .slider-dots button {
    width: 28px; height: 4px; border-radius: 4px; border: none; padding: 0; cursor: pointer;
    background: rgba(255,255,255,.35); transition: background .3s var(--ease), width .3s var(--ease);
  }
  .slider-dots button.active { background: var(--white); width: 44px; }
  .scroll-cue {
    font-size: .76rem; text-transform: uppercase; letter-spacing: .2em; color: rgba(255,255,255,.85);
    display: inline-flex; align-items: center; gap: .6rem;
  }
  .scroll-cue::after {
    content: ""; width: 1px; height: 34px; background: linear-gradient(var(--ochre-light), transparent);
    animation: cue 2.4s var(--ease) infinite;
  }
  @keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

  /* Highlights ribbon */
  .ribbon { background: var(--sand-100); border-bottom: 1px solid var(--sand-200); }
  .ribbon ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.4rem; padding: 1.2rem 0; font-family: var(--font-body); font-size: .88rem; font-weight: 600; color: var(--green-900); letter-spacing: .04em; }
  .ribbon li { display: inline-flex; align-items: center; gap: .6rem; }
  .ribbon li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ochre); margin-right: 2.4rem; }
  @media (max-width: 860px) { .ribbon li + li::before { display: none; } }

  /* Sections */
  section { padding: 6.5rem 0; }
  .section-head { text-align: center; max-width: 660px; margin: 0 auto 3.6rem; }
  .section-head .eyebrow { justify-content: center; }
  .section-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
  .section-head h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: .9rem; }
  .section-head p { color: var(--muted); margin: 0 auto; }

  /* Pillars */
  .pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.25rem; }
  .pillar {
    position: relative; background: var(--white); border: 1px solid var(--sand-200);
    border-radius: var(--radius); padding: 2.2rem 1.6rem 2rem; text-align: left;
    overflow: hidden; transition: translate .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  }
  .pillar::before {
    content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
    background: linear-gradient(90deg, var(--ochre), var(--ochre-light)); transform: scaleX(0); transform-origin: left;
    transition: transform .45s var(--ease);
  }
  .pillar:hover { translate: 0 -6px; box-shadow: var(--shadow); border-color: transparent; }
  .pillar:hover::before { transform: scaleX(1); }
  .pillar .num { font-family: var(--font-display); font-size: .95rem; color: var(--ochre); letter-spacing: .08em; }
  .pillar .icon {
    width: 56px; height: 56px; margin: 1.1rem 0 1.2rem;
    border-radius: 16px; background: var(--green-100); color: var(--green-700);
    display: grid; place-items: center; font-size: 1.4rem;
    transition: background .35s var(--ease), color .35s var(--ease);
  }
  .pillar:hover .icon { background: var(--green-700); color: var(--white); }
  .pillar h3 { font-size: 1.12rem; margin-bottom: .5rem; }
  .pillar p { font-size: .92rem; color: var(--muted); }

  /* Story */
  .story { background: linear-gradient(rgba(246,241,231,.95), rgba(246,241,231,.95)), url('assets/images/p4.jpg') center / cover; }
  .story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
  .story-media { position: relative; }
  .story-media::before {
    content: ""; position: absolute; inset: 22px -22px -22px 22px;
    border: 2px solid var(--ochre); border-radius: var(--radius-lg); z-index: 0;
  }
  .story-media img {
    position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
    border-radius: var(--radius-lg); box-shadow: var(--shadow);
  }
  .story-badge {
    position: absolute; z-index: 2; left: -18px; bottom: 36px;
    background: var(--green-900); color: var(--white); border-radius: 14px;
    padding: .9rem 1.2rem; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    box-shadow: var(--shadow);
  }
  .story-badge span { display: block; font-family: var(--font-display); font-size: 1.2rem; text-transform: none; letter-spacing: 0; color: var(--ochre-light); font-weight: 600; }
  .story h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); margin-bottom: 1.2rem; }
  .story p { margin-bottom: 1.1rem; color: var(--text); }
  .story-copy .btn { margin-top: .6rem; }

  /* Botanicals */
  .botanical-list { display: flex; flex-direction: column; gap: 5rem; }
  .botanical { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
  .botanical:nth-child(even) .botanical-img { order: 2; }
  .botanical-img { position: relative; }
  .botanical-img img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg);
    box-shadow: var(--shadow); transition: transform .8s var(--ease);
  }
  .botanical:hover .botanical-img img { transform: scale(1.02); }
  .botanical-num {
    display: flex; align-items: center; gap: 1rem;
    font-family: var(--font-display); font-size: 3.2rem; line-height: 1; color: var(--ochre); margin-bottom: 1rem;
  }
  .botanical-num::after { content: ""; flex: 1; height: 1px; background: var(--sand-200); max-width: 140px; }
  .botanical-text h3 { font-size: 2.1rem; margin-bottom: .3rem; }
  .botanical-text .latin { font-style: italic; color: var(--muted); margin-bottom: 1.1rem; font-family: var(--font-display); font-size: 1.05rem; }
  .botanical-text p { margin-bottom: .8rem; color: var(--text); }
  @media (max-width: 860px) {
    .botanical { grid-template-columns: 1fr; gap: 1.8rem; }
    .botanical:nth-child(even) .botanical-img { order: 0; }
  }

  /* Stats */
  .stats { position: relative; background: var(--green-900); color: var(--white); padding: 5rem 0; overflow: hidden; }
  .stats::before {
    content: ""; position: absolute; inset: 0; background: url('assets/images/p2.jpg') center / cover; opacity: .18;
  }
  .stats::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 15% 0%, rgba(197,139,60,.25), transparent 50%);
  }
  .stats .container { position: relative; z-index: 1; }
  .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem; text-align: center; }
  .stat-number {
    font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.2rem); font-weight: 700;
    color: var(--ochre-light); line-height: 1.1; font-variant-numeric: tabular-nums;
  }
  .stat-label { font-size: .95rem; opacity: .85; text-transform: uppercase; letter-spacing: .14em; margin-top: .4rem; }

  /* Gallery */
  .gallery-strip { padding: 0 0 6.5rem; }
  .gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
  .gallery-grid img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius);
    transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  }
  .gallery-grid img:hover { transform: scale(1.02); box-shadow: var(--shadow); }
  @media (max-width: 860px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-grid img { aspect-ratio: 16 / 10; }
  }

  /* Reviews */
  .testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
  .testimonial {
    position: relative; background: var(--sand-50); border: 1px solid var(--sand-200);
    border-radius: var(--radius); padding: 2.2rem 2rem 2rem;
  }
  .testimonial::before {
    content: "\201C"; position: absolute; top: .4rem; right: 1.4rem;
    font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--ochre); opacity: .35;
  }
  .testimonial p { font-style: italic; margin-bottom: 1.3rem; color: var(--text); }
  .testimonial .name { font-family: var(--font-body); font-weight: 700; color: var(--green-900); }
  .testimonial .role { font-size: .85rem; color: var(--muted); }

  /* Journal */
  .blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.8rem; }
  .post {
    display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--sand-200); background: var(--white);
    transition: translate .35s var(--ease), box-shadow .35s var(--ease);
  }
  .post:hover { translate: 0 -5px; box-shadow: var(--shadow); }
  .post-thumb { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--ease); }
  .post:hover .post-thumb { transform: scale(1.04); }
  .post-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
  .post-meta { font-size: .74rem; font-weight: 600; color: var(--ochre); text-transform: uppercase; letter-spacing: .12em; margin-bottom: .6rem; }
  .post h3 { font-size: 1.14rem; line-height: 1.32; margin-bottom: .6rem; }
  .post p { font-size: .92rem; color: var(--muted); margin-bottom: 1.1rem; }
  .read-more { margin-top: auto; font-weight: 600; font-size: .9rem; color: var(--green-700); }
  .read-more:hover { color: var(--ochre); }

  /* Contact */
  .cta { background: linear-gradient(rgba(246,241,231,.95), rgba(246,241,231,.95)), url('assets/images/p5.jpg') center / cover; text-align: center; }
  .cta h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: .9rem; }
  .cta .intro { color: var(--muted); max-width: 560px; margin: 0 auto 3rem; }
  .contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.3rem; max-width: 960px; margin: 0 auto; }
  .contact-card {
    display: flex; flex-direction: column; align-items: center; gap: .4rem;
    background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm);
    border: 1px solid transparent; padding: 2.2rem 1.5rem; color: var(--text);
    transition: translate .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  }
  a.contact-card:hover { translate: 0 -4px; box-shadow: var(--shadow); border-color: var(--ochre-light); }
  .contact-icon {
    width: 48px; height: 48px; border-radius: 14px; background: var(--green-100); color: var(--green-700);
    display: grid; place-items: center; font-size: 1.2rem; margin-bottom: .5rem;
  }
  .contact-label { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--ochre); }
  .contact-value { font-weight: 700; color: var(--green-900); word-break: break-word; }

  /* Footer */
  footer { background: var(--green-950); color: rgba(255,255,255,.78); padding: 5rem 0 2rem; }
  .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
  footer h4 { font-family: var(--font-body); color: var(--white); margin-bottom: 1rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; }
  footer ul { list-style: none; }
  footer li { margin-bottom: .55rem; }
  footer a { color: rgba(255,255,255,.8); transition: color .2s var(--ease); }
  footer a:hover { color: var(--ochre-light); }
  .footer-logo { display: inline-block; background: var(--white); border-radius: 12px; padding: .6rem 1rem; margin-bottom: 1.1rem; }
  .footer-logo img { height: 46px; width: auto; }
  .footer-about { max-width: 34ch; }
  .socials { display: flex; gap: .7rem; margin-top: 1.4rem; flex-wrap: wrap; }
  .socials a {
    font-size: .85rem; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .45rem 1.05rem;
  }
  .socials a:hover { border-color: var(--ochre-light); color: var(--ochre-light); }
  .footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.6rem; font-size: .85rem; text-align: center; }

  /* Motion: reveal on scroll */
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .reveal.visible { opacity: 1; transform: none; }

  /* Hero entrance */
  @keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  .hero-content > * { animation: fadeUp 1s var(--ease) both; }
  .hero-content > :nth-child(2) { animation-delay: .12s; }
  .hero-content > :nth-child(3) { animation-delay: .24s; }
  .hero-content > :nth-child(4) { animation-delay: .36s; }

  /* Responsive */
  @media (min-width: 1080px) and (max-width: 1199px) {
    .nav-links { gap: 1.1rem; font-size: .88rem; }
    .nav-right .btn { padding: .55rem 1rem; }
  }
  @media (max-width: 1079px) {
    .menu-toggle { display: inline-flex; }
    .nav-links {
      position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
      flex-direction: column; align-items: stretch; gap: 0;
      background: var(--white); border-bottom: 1px solid var(--sand-200);
      box-shadow: 0 16px 30px rgba(20,36,25,.08);
      display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links li a { display: block; padding: 1rem 4%; border-top: 1px solid var(--sand-100); }
    .nav-links a::after { display: none; }
    .nav-links a.active { background: var(--sand-50); }
    section { padding: 4.5rem 0; }
    .story-grid, .footer-grid { grid-template-columns: 1fr; }
    .story-grid { gap: 3.5rem; }
    .story-badge { left: 14px; }
    .story-media::before { inset: 16px -12px -12px 16px; }
  }
  @media (max-width: 560px) {
    .nav-right .btn { display: none; }
    .hero-content { padding: 5rem 0 8rem; }
    .slider-arrow { display: none; }
    .scroll-cue { display: none; }
    .hero-controls { justify-content: flex-start; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
    .slide { transform: none; }
  }

  /* Tablet, laptop, large screen and TV scaling */
  @media (max-width: 1439px) { .scroll-cue { display: none; } }
  @media (min-width: 1440px) {
    .slider-arrow { top: 50%; bottom: auto; transform: translateY(-50%); }
    .slider-arrow.prev { right: auto; left: 1.5rem; }
  }
  @media (min-width: 1500px) {
    html { font-size: 17px; }
    .container { width: min(1440px, 90%); }
  }
  @media (min-width: 1900px) {
    html { font-size: 19px; }
    .container { width: min(1640px, 88%); }
    .hero-content h1 { max-width: 18ch; }
  }
  @media (min-width: 2400px) {
    html { font-size: 22px; }
    .container { width: min(1900px, 84%); }
  }
  @media (min-width: 600px) and (max-width: 1079px) {
    .pillars { grid-template-columns: repeat(2, 1fr); }
    .pillars .pillar:last-child { grid-column: 1 / -1; }
    .blog-grid, .testimonials { grid-template-columns: repeat(2, 1fr); }
    .botanical-img img { aspect-ratio: 16 / 10; }
  }

/* WordPress hardening: admin bar offset, logo and header sizing */
.site-header { position: sticky; top: 0; }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
.site-header .nav { width: min(1180px, 92%); margin: 0 auto; max-height: 120px; }
.site-header .logo-link { display: flex; align-items: center; flex: 0 0 auto; max-width: 240px; overflow: hidden; }
.site-header .logo-link img,
.site-header img.custom-logo {
  height: clamp(34px, 3.2vw, 58px) !important;
  max-height: 58px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain;
}
.custom-logo-link { display: inline-flex; }
