/* ========================================================================== */
/* Start Responsive Styles                                                    */
/* ========================================================================== */

/* Start Large Tablet / Small Desktop */
@media (max-width: 1180px) {
  :root {
    --header-height: 78px;
  }

  .header__inner {
    grid-template-columns: auto auto 1fr;
  }

  .brand__logo {
    width: 158px;
  }

  .menu-toggle {
    position: relative;
    z-index: 121;
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 7px;
    border: 1px solid var(--color-line);
    border-radius: 50%;
  }

  .menu-toggle > span:not(.sr-only) {
    display: block;
    width: 19px;
    height: 2px;
    background: currentColor;
    transition: transform var(--transition);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-of-type(2) {
    transform: translateY(4.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-of-type(3) {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    padding: 100px clamp(28px, 8vw, 100px);
    background: var(--color-cream);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
    transition:
      opacity var(--transition),
      transform var(--transition);
  }

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

  .primary-nav a {
    font-size: clamp(1.8rem, 5vw, 3.2rem);
  }

  .header-actions {
    justify-self: end;
  }

  .hero__grid {
    min-height: 640px;
    padding-block: 64px;
  }

  .hero__content {
    width: min(60%, 640px);
  }

  .hero h1 {
    font-size: clamp(3.1rem, 6vw, 5.2rem);
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-cta__inner {
    grid-template-columns: 1fr 1fr;
  }

  .contact-cta .button {
    justify-self: start;
  }
}
/* End Large Tablet / Small Desktop */

/* Start Tablet */
@media (max-width: 900px) {
  .topbar__inner {
    justify-content: center;
  }

  .topbar a {
    display: none;
  }

  .header-quote {
    display: none;
  }

  .hero__grid {
    min-height: 860px;
    padding-block: 64px 280px;
  }

  .hero__content {
    width: 100%;
    max-width: 720px;
    margin: 0;
    padding: 0;
  }

  .hero::before {
    background: linear-gradient(
      to bottom,
      rgba(248, 246, 241, 0.99) 0%,
      rgba(248, 246, 241, 0.96) 61%,
      rgba(248, 246, 241, 0.77) 77%,
      rgba(248, 246, 241, 0.2) 100%
    );
  }

  .hero__background {
    object-position: 38% center;
  }

  .hero__visual {
    min-height: 510px;
  }

  .visual-label--top {
    inset-inline-start: 14px;
  }

  .visual-card {
    inset-inline-end: 14px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .category-section,
  .featured-products,
  .brand-story {
    padding-block: 84px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-card--featured {
    grid-column: span 2;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card--wide {
    grid-column: span 2;
  }

  .solutions-strip__grid {
    grid-template-columns: 1fr;
  }

  .solutions-strip article {
    min-height: auto;
    border-inline-start: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 38px 0;
  }

  .solutions-strip article:first-child {
    border-top: 0;
  }

  .solutions-strip h3 {
    margin-top: 16px;
  }

  .brand-story__grid {
    grid-template-columns: 1fr;
  }

  .brand-story__badge {
    min-height: 360px;
  }

  .contact-cta__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .footer__language {
    grid-column: 2 / -1;
  }
}
/* End Tablet */

/* Start Mobile */
@media (max-width: 640px) {
  :root {
    --header-height: 70px;
    --radius-large: 25px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container-width));
  }

  .topbar {
    font-size: 0.65rem;
  }

  .topbar__inner {
    min-height: 30px;
    text-align: center;
  }

  .header__inner {
    min-height: var(--header-height);
    grid-template-columns: 1fr auto auto;
    gap: 9px;
  }

  .brand__logo {
    width: 122px;
    max-height: 54px;
  }

  .brand {
    gap: 8px;
  }

  .brand__mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 11px;
  }

  .brand__copy strong {
    font-size: 1rem;
  }

  .brand__copy small {
    font-size: 0.54rem;
  }

  .header-actions {
    gap: 5px;
  }

  .cart-button {
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .cart-button > span:first-child {
    display: none;
  }

  .language-toggle,
  .menu-toggle,
  .cart-button {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .hero__grid {
    min-height: 830px;
    padding-block: 48px 240px;
  }

  .eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.05em;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(2.85rem, 14vw, 4.25rem);
    line-height: 1.03;
  }

  .hero h1 em {
    margin-top: 4px;
  }

  .hero__lead {
    font-size: 0.93rem;
    line-height: 1.85;
  }

  .hero__actions {
    align-items: stretch;
    gap: 14px;
    margin-top: 28px;
  }

  .hero__actions .button--gold {
    flex: 1 1 100%;
  }

  .hero__actions .button--text {
    justify-content: flex-start;
  }

  .hero__benefits {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .hero__benefits li,
  .hero__benefits li:first-child {
    border-inline-start: 0;
    border-top: 1px solid var(--color-line);
    padding: 10px 0;
  }

  .hero__visual {
    min-height: 350px;
  }

  .product-stage {
    inset: 20px 0 16px;
  }

  .product-stage__main {
    inset-inline-start: 4%;
    inset-block-end: 9%;
    width: 70%;
    height: 62%;
  }

  .product-stage__item--chair {
    inset-inline-end: 4%;
    inset-block-start: 12%;
    width: 31%;
    height: 46%;
    padding: 8px;
  }

  .product-stage__item--safe {
    inset-inline-end: 3%;
    inset-block-end: 7%;
    width: 29%;
    height: 29%;
    padding: 7px;
  }

  .product-stage figcaption {
    inset-inline-start: 7px;
    inset-block-end: 7px;
    padding: 4px 7px;
    font-size: 0.5rem;
  }

  .product-stage__line {
    display: none;
  }

  .office-scene {
    inset: 20px 0 16px;
  }

  .office-scene__sun {
    width: 96px;
    height: 96px;
  }

  .office-scene__frame {
    transform: scale(0.72);
    transform-origin: top left;
  }

  .office-scene__desk {
    inset-inline-start: 13%;
    width: 74%;
    transform: scale(0.82);
    transform-origin: bottom center;
  }

  .office-scene__chair {
    inset-inline-start: 36%;
    transform: scale(0.74);
    transform-origin: bottom center;
  }

  .office-scene__plant {
    transform: scale(0.7);
    transform-origin: bottom center;
  }

  .visual-label--top {
    inset-inline-start: 10px;
    inset-block-start: 2px;
  }

  .visual-card {
    inset-inline-end: 8px;
    width: 178px;
    padding: 13px 15px;
  }

  .visual-card strong {
    font-size: 2.3rem;
  }

  .category-section,
  .featured-products,
  .brand-story {
    padding-block: 66px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h2,
  .brand-story h2,
  .contact-cta h2 {
    font-size: clamp(2.1rem, 11vw, 3.25rem);
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card,
  .category-card--featured {
    min-height: 220px;
    grid-column: auto;
  }

  .category-card__media,
  .category-card--featured .category-card__media {
    inset-inline-end: 14px;
    inset-block-start: 14px;
    width: 48%;
    height: 112px;
  }

  .category-card--featured > div {
    max-width: 100%;
  }

  .category-card--featured h3 {
    font-size: 1.25rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card,
  .product-card--wide {
    min-height: 440px;
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(245px, 1fr) auto;
  }

  .product-card__media {
    min-height: 245px;
  }

  .product-card__content {
    min-height: 190px;
    padding: 22px;
  }

  .solutions-strip article {
    padding-inline: 2px;
  }

  .brand-story__badge {
    min-height: 305px;
    padding: 30px;
  }

  .brand-story__badge strong {
    font-size: 3.4rem;
  }

  .contact-cta {
    padding-block: 62px;
  }

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

  .contact-cta__actions {
    width: 100%;
  }

  .site-footer {
    padding-top: 58px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px 24px;
  }

  .footer__brand,
  .footer__language {
    grid-column: 1 / -1;
  }

  .brand--footer .footer__logo {
    width: min(250px, 100%);
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 46px;
  }
}
/* End Mobile */

/* End Responsive Styles */
