:root {
  --color-purple: #871f66; 
  --color-teal: #00475d;
  --color-lilac: #eee9f6;
  --color-ink: #25232a;  
  --color-muted: #545259; 
  --color-line: #dedbe3;  
  --color-card: #f3f2f4;   
  --color-white: #ffffff;
  --content-width: 1200px;
  --page-gutter: clamp(22px, 7.5vw, 120px);
  --header-height: 130px;
  --font-main: "Avenir Next", Avenir, "Century Gothic", Futura, "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-white);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(35,30,45,.08);
}
.header-inner {
  width: min(100% - 2 * var(--page-gutter), var(--content-width));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.header-link {
  justify-self: start;
  padding: 10px 20px;
  border: 0;
  background-color:var(--color-purple);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .025em;
  border-radius: 6px;
}
.header-link:hover {  filter: brightness(130%); }
.header-link--primary { background-color:var(--color-teal); justify-self: end; }
.website-logo {
  display: grid;
  place-items: center;
  width: 450px;
  min-height: 48px;
  color: var(--color-purple);
  text-decoration: none;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
}
  .website-logo img { max-width: 100%;  }

.hero { width: 100%; height: clamp(250px, 36vw, 510px); overflow: hidden; background: #e9e6ec; }
.hero img { display: block; width: 100%; height: 100%; object-fit: cover; }

.hp-hero{    
  width: 100%;
  height: 300px;
  background-image: url("../images/bino-designs-hero-image.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.content-backdrop {
  background-color: #f8f7f9;
  background-image: linear-gradient(rgba(255,255,255,.76), rgba(255,255,255,.76)), url("../images/bino-designs-background.png");
  background-position: right top;
  background-size: ;
  background-repeat: no-repeat;
}
.page-content { width: min(100% - 2 * var(--page-gutter), var(--content-width)); margin: 0 auto; padding: 58px 0 72px; }
.content-section { margin: 0 0 78px; }
.content-section:last-child { margin-bottom: 0; }
.section-heading { margin: 0 0 34px; padding: 4px 22px 4px; color: var(--color-white); background: var(--color-purple); }
.section-heading h1, .section-heading h2 { margin: 0; font-size: 1.65rem; line-height: 1.4; font-weight: 400; letter-spacing: .035em; text-align: center}
.two-column { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.intro-copy { padding: 12px 0; }
.intro-copy h2, .packages-intro h2 { margin: 5px 0 17px; font-size: clamp(1.55rem, 2.5vw, 2.25rem); line-height: 1.25; font-weight: 600; letter-spacing: -.025em; }
.intro-copy p { max-width: 570px; color: var(--color-muted); }
.eyebrow { margin: 0 0 7px; color: var(--color-purple); font-size: .76rem; line-height: 1.4; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.image-wash {
  padding: clamp(24px, 3vw, 42px);
  /*background-image: linear-gradient(rgba(255,255,255,.86), rgba(255,255,255,.86)), url("../images/text-background.svg");
  background-size: cover;
  background-position: center;*/
}
.image-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.image-grid img { display: block; width: 100%; aspect-ratio: 1.25 / 1; object-fit: cover; background: #e7e3eb; }

.services-layout { display: grid; grid-template-columns: minmax(230px, .78fr) minmax(0, 1.5fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.service-list { display: flex; flex-direction: column; }
.service-item {
  width: 100%; min-height: 78px; display: grid; grid-template-columns: 58px 1fr 22px; align-items: center; gap: 14px;
  padding: 9px 5px 9px 0; text-align: left; color: var(--color-ink); background: transparent;
  border: 0; border-bottom: 1px dotted var(--color-line); font-size: .96rem; font-weight: 500; transition: color .18s ease;
}
.service-item img { width: 58px; height: 52px; object-fit: cover; background: #e8e4ed; border-radius: 12px;}
.service-item:hover, .service-item.is-active { color: var(--color-purple); font-weight: 700; }
.service-arrow { justify-self: end; opacity: 0; transform: translateX(-5px); transition: opacity .18s ease, transform .18s ease; font-size: 1.35rem; }
.service-item.is-active .service-arrow { opacity: 1; transform: translateX(0); }
.service-swipe{ display: none;}
.service-detail-image { display: block; width: 100%; /*aspect-ratio: 16 / 7;*/ object-fit: cover; margin-bottom: 22px; background: #e8e4ed; }
.service-detail h3 { margin: 3px 0 12px; font-size: 1.55rem; line-height: 1.3; font-weight: 600; }
.service-description p { margin: 0 0 12px; color: var(--color-muted); }
.more-copy { padding-top: 2px; }
.read-more { padding: 0; border: 0; background: none; color: var(--color-purple); font-size: .88rem; font-weight: 700; }
.read-more:hover { color: var(--color-teal); }
.service-points { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 26px; margin: 22px 0 0; padding-left: 19px; color: var(--color-muted); font-size: .9rem; }
.service-points li::marker, .package-card li::marker { color: var(--color-purple); }

.packages-intro { max-width: 680px; margin: 0 auto 35px; text-align: center; }
.packages-intro p:last-child { max-width: 600px; margin: 0 auto; color: var(--color-muted); }
.package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.package-card { display: flex; flex-direction: column; align-items: flex-start; padding: 30px 27px 27px; background: var(--color-card); }
.package-card h3 { margin: 3px 0 10px; font-size: 1.45rem; line-height: 1.3; font-weight: 600; }
.package-card > p:not(.eyebrow) { margin: 0 0 15px; color: var(--color-muted); font-size: .92rem; }
.package-card ul { margin: 0 0 25px; padding-left: 18px; color: var(--color-muted); font-size: .88rem; }
.package-card li { padding: 3px 0; }
.outline-button { margin-top: auto; padding: 10px 15px; border: 1px solid var(--color-purple); color: var(--color-purple); background: transparent; font-size: .85rem; font-weight: 700; }
.outline-button span { padding-left: 12px; }
.outline-button:hover { color: white; background: var(--color-purple); }
.coming-section > p { margin: -12px 0 0; color: var(--color-muted); }

.site-footer {
  min-height: 190px;
  color: var(--color-white);
  background: #30263d url("../images/bino-designs-footer-background.jpg") center/cover no-repeat;
}
.footer-inner { width: min(100% - 2 * var(--page-gutter), var(--content-width)); min-height: 190px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 30px; }
.footer-spacer { text-align: center}

.footer-links .client-login{font-size: 18px; font-weight: bold; text-decoration: underline; display: block;}
.footer-links { text-align: center; }
.footer-links a { text-decoration: none; font-size: .85rem; }
.footer-links a:hover { text-decoration: underline; }
.footer-links > span { padding: 0 10px; opacity: .65; }
.footer-links p { margin: 9px 0 0; color: rgba(255,255,255,.75); font-size: .76rem; }
.footer-links p.footer-localtext{font-size: 16px;line-height: 19px; margin-bottom: 6px; font-weight: bold;}
.footer-icon { text-align: center}
.human-icon { width: 120px; object-fit: contain; }

/* Modals and forms */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 22px; }
.modal.is-open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(25,20,32,.68); }
.modal-panel { position: relative; z-index: 1; width: min(100%, 680px); max-height: min(90vh, 850px); overflow-y: auto; padding: clamp(26px, 4vw, 44px); background: white; box-shadow: 0 20px 70px rgba(0,0,0,.22); }
.modal-panel--contact { border-top: 6px solid var(--color-purple); }
.modal-panel--project { border-top: 6px solid var(--color-teal); }
.modal-close { position: absolute; top: 12px; right: 18px; padding: 0 5px; border: 0; background: none; color: var(--color-muted); font-size: 2rem; line-height: 1; }
.modal-panel h2 { margin: 3px 0 5px; font-size: 1.8rem; line-height: 1.2; }
.modal-intro { margin: 0 0 23px; color: var(--color-muted); font-size: .92rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 17px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; color: var(--color-ink); font-size: .82rem; font-weight: 600; }
.form-full { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea, .form-grid select { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid #d9d5df; border-radius: 0; outline: none; background: #fff; color: var(--color-ink); font-size: .92rem; font-weight: 400; }
.form-grid textarea { resize: vertical; }
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { border-color: var(--color-purple); box-shadow: 0 0 0 2px rgba(101,66,166,.12); }
.form-grid input:invalid:not(:placeholder-shown), .form-grid textarea:invalid:not(:placeholder-shown) { border-color: #b54c55; }
.honeypot { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-message { min-height: 22px; margin: 13px 0 5px; color: var(--color-purple); font-size: .84rem; }
.form-submit { padding: 12px 18px; border: 0; color: white; background: var(--color-purple); font-size: .88rem; font-weight: 700; }
.modal-panel--project .form-submit { background: var(--color-teal); }
.form-submit:hover { filter: brightness(.92); }
.form-submit:disabled { cursor: wait; opacity: .65; }

@media (max-width: 800px) {
  :root { --header-height: 100px; --page-gutter: 5vw; }
  .hp-hero {height: 200px;}
  .two-column { gap: 30px; }

  .services-layout { grid-template-columns: minmax(190px, .8fr) minmax(0, 1.2fr); gap: 28px; }
  .service-item { grid-template-columns: 48px 1fr 18px; gap: 10px; font-size: .88rem; }
  .service-item img { width: 48px; height: 44px; }
  .package-card { padding: 24px 19px; }
}
@media (max-width: 600px) {
  :root { --page-gutter: 22px; --header-height: 0px; }
  .section-heading h1, .section-heading h2{font-size: 1.2rem;}
  .site-header { height: auto; }
  .header-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    padding: 12px 0 14px;
  }
  .website-logo {
    order: 0;
    width: 85%;
    margin-bottom: 2px;
  }
  .website-logo img { max-width: 100%;  }
  .header-link,
  .header-link--primary {
    order: 1;
    justify-self: auto;
    width: min(100%, 260px);
    min-height: 42px;
    padding: 11px 18px;
    font-size: .82rem;
  }
  .header-link--primary { order: 2; }
  .hero { height: clamp(110px, 32vw, 170px); }
  .hp-hero {height: 116px;}
  .page-content { padding-top: 36px; padding-bottom: 48px; }
  .content-section { margin-bottom: 55px; }
  .section-heading { margin-bottom: 23px; padding: 10px 15px; }
  .two-column, .services-layout { grid-template-columns: 1fr; }
  .intro-layout .intro-copy { order: 1; }
  .intro-layout .image-grid { order: 2; }
  .reverse-layout .image-grid { order: 2; }
  .reverse-layout .intro-copy { order: 1; }
  .image-grid { gap: 8px; }
  
  .service-list { flex-direction: row;width: 100%; overflow-x: scroll; position: relative;min-height: 121px;
    overflow-y: hidden; } 
  .service-item img{display:none;}
  .service-item {grid-template-columns: 116px 10px; gap: 10px; font-weight: bold; text-align: center; font-size:1rem;}
  .service-arrow {display:none;}
  .service-swipe{ display: inline-block; float: right; text-align: right; margin-top: -50px;}
   
  .services-layout { gap: 27px; }
  .service-item { min-height: 66px; }
  .service-detail-image { aspect-ratio: 16 / 8; }
  .package-grid { grid-template-columns: 1fr; gap: 13px; }
  .package-card { padding: 25px; }
  .footer-inner { min-height: 160px; grid-template-columns: 1fr; gap: 15px; }
  .footer-links a { font-size: .76rem; }
  .footer-icon {margin: 0px auto; }
  .modal { padding: 12px; }
  .modal-panel { max-height: 94vh; padding: 30px 20px 24px; }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .form-full { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
