@media(max-width:980px){.primary-nav{gap:14px}.primary-nav>a{font-size:12px}.hero-grid{gap:35px}.hero-art{min-height:420px}.service-grid,.portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-top{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-grid{gap:35px}.about-grid{gap:45px}}@media(max-width:760px){.container{width:min(100% - 36px,600px)}.nav-wrap{min-height:72px}.brand img{height:42px;max-width:155px}.menu-toggle{display:block;margin-left:auto}.primary-nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--soft);padding:18px 24px 24px;border-bottom:1px solid var(--border);box-shadow:0 12px 20px #32180f10;align-items:stretch;gap:0;flex-direction:column}.primary-nav.is-open{display:flex}.primary-nav>a:not(.button){padding:12px 0;border-bottom:1px solid var(--border);font-size:14px}.primary-nav .button{margin-top:14px}.hero{padding-top:55px}.hero-grid,.about-grid,.contact-grid{grid-template-columns:1fr}.hero-copy{max-width:620px}.hero-art{min-height:400px;max-width:460px;margin-top:12px}.section-heading{display:block}.section-heading>p{margin-top:20px}.service-grid,.portfolio-grid{gap:12px}.selection-bar{align-items:flex-start;flex-direction:column}.selection-bar .button{width:100%}.about-visual{min-height:350px;max-width:480px;width:100%;margin-inline:auto}.about-copy{max-width:650px}.process-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}.process-grid article{margin:0;padding-top:18px}.step-number{margin-bottom:18px}.contact-details{margin-top:32px}.contact-form{padding:24px}.footer-top{gap:32px 24px}.footer-bottom{flex-wrap:wrap}.inquiry-dialog{padding:26px 20px}.form-two-col{grid-template-columns:1fr;gap:0}}@media(max-width:420px){.container{width:calc(100% - 28px)}h1{font-size:42px}.hero-art{min-height:340px}.service-grid,.portfolio-grid{grid-template-columns:1fr}.process-grid{gap:24px 14px}.process-grid h3{font-size:16px}.footer-top{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}.footer-bottom{align-items:flex-start;flex-direction:column;gap:10px}.contact-form{padding:20px}.button-row .button{width:100%}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* ==========================================================
   FLEX MEDIA DESIGNS — desktop/laptop viewport-fit refinement
   Keeps the existing brand design; adjusts only layout sizing.
   ========================================================== */

/* Avoid small horizontal overflow caused by rotated hero artwork. */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* Balanced desktop composition: content uses more of the screen
   without stretching text or artwork unnaturally. */
@media (min-width: 1200px) {
  .container {
    width: min(1240px, calc(100% - 64px));
  }

  .nav-wrap {
    min-height: 76px;
    gap: clamp(20px, 2.2vw, 36px);
  }

  .primary-nav {
    gap: clamp(16px, 1.65vw, 26px);
  }

  .hero {
    padding-top: clamp(34px, 4.2vh, 54px);
    padding-bottom: clamp(30px, 4.2vh, 52px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: clamp(36px, 5vw, 76px);
  }

  .hero-copy {
    min-width: 0;
  }

  .hero h1 {
    font-size: clamp(44px, 4.25vw, 68px);
    line-height: 1.02;
    max-width: 700px;
    overflow-wrap: normal;
  }

  .hero-art {
    min-height: clamp(330px, 47vh, 430px);
    max-width: 500px;
  }



}

/* On shorter desktop screens, reduce vertical padding and artwork
   height so the hero and service ribbon fit more comfortably. */
@media (min-width: 761px) and (max-height: 850px) {
  .hero {
    padding-top: clamp(24px, 3.5vh, 38px);
    padding-bottom: clamp(24px, 3.5vh, 38px);
  }

  .hero-grid {
    gap: clamp(28px, 4vw, 64px);
  }

  .hero-art {
    min-height: clamp(300px, 42vh, 370px);
  }

  .hero h1 {
    margin-bottom: 20px;
  }

  .button-row {
    margin-top: 22px;
  }

  .hero-note {
    margin-top: 16px;
  }


  .section {
    padding-block: clamp(3.25rem, 6vw, 6rem);
  }
}

/* Keep desktop navigation and brand from pushing outside the viewport. */
@media (min-width: 761px) and (max-width: 1100px) {
  .container {
    width: calc(100% - 40px);
  }

  .nav-wrap {
    gap: 18px;
  }

  .site-header .brand-name {
    font-size: 17px;
  }

  .site-header .brand {
    gap: 8px;
  }

  .site-header .brand img {
    width: 36px;
    height: 36px;
  }

  .primary-nav {
    gap: 12px;
  }

  .primary-nav > a {
    font-size: 11px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(40px, 4.5vw, 52px);
  }

  .hero-art {
    min-height: 340px;
  }
}

/* Avoid an overly tall first screen on compact laptops. */
@media (min-width: 761px) and (max-height: 700px) {
  .nav-wrap {
    min-height: 66px;
  }

  .hero {
    padding-top: 20px;
    padding-bottom: 22px;
  }

  .hero-art {
    min-height: 285px;
  }

  .hero h1 {
    font-size: clamp(38px, 4vw, 54px);
    margin-bottom: 16px;
  }

  .hero .button-row {
    margin-top: 16px;
  }

  .hero-note {
    margin-top: 12px;
  }

}

/* Keep the existing mobile breakpoints in control on smaller screens. */
@media (max-width: 760px) {
  html, body {
    overflow-x: hidden;
  }

  .hero {
    padding-bottom: 42px;
  }

  .hero-art {
    min-height: 360px;
  }
}

/* ===== Service cards: rounded corners, alternating outlines, smaller matching buttons ===== */
#service-grid > .service-card{border-radius:16px;overflow:hidden}
/* outline: sky-blue cards = blackish logo colour (#200800), orange cards = orange */
#service-grid > .service-card:nth-child(odd){border:2px solid #200800}
#service-grid > .service-card:nth-child(even){border:2px solid #ff6900}
#service-grid > .service-card.is-selected{outline:2px solid #32180f;outline-offset:2px}

/* "Available to discuss" row: wraps instead of colliding with the button */
.service-action{flex-wrap:wrap;gap:6px 8px}
.service-action .selected-check{min-width:0;line-height:1.3}

/* Select service + View design: same small pill size, no +/arrow signs */
#service-grid .select-service,
#service-grid .service-design-card .service-design-preview{
  font-family:'Montserrat',Manrope,Arial,sans-serif !important;
  font-size:11px !important;font-weight:800 !important;line-height:1.2 !important;
  padding:5px 11px !important;min-height:0 !important;gap:0 !important;
  border-radius:999px;white-space:nowrap;
}
#service-grid .select-service{border:1px solid currentColor}
/* View design: centred, never touching the card outline */
#service-grid .service-design-card .service-design-preview{
  margin:.6rem auto .95rem !important;
  max-width:calc(100% - 28px) !important;
  box-shadow:none !important;
}
/* Phones: cards are identical to the laptop cards (same image height, padding, text and button sizes).
   One card per row on phones so each card is the same width as on a laptop. */
@media(max-width:600px){
  #service-grid{grid-template-columns:1fr !important;gap:14px}
}
