﻿/* -----------------------------------------------------------
   Square Foot LLC – Full Site Stylesheet
   Branding: Red #e23a50, Charcoal #333, Muted Gray #777
   ----------------------------------------------------------- */

:root {
  --sf-primary: #333333;
  --sf-primary-dark: #111111;
  --sf-accent: #e23a50;
  --sf-accent-soft: #f8d6db;
  --sf-box: #f5f5f5;
  --sf-bg: #f5f5f5;
  --sf-text: #222222;
  --sf-muted: #777777;
  --sf-white: #ffffff;
  --sf-border: #dddddd;

  --sf-radius-lg: 18px;
  --sf-radius-pill: 999px;
  --sf-shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.08);
}

/* -----------------------------------------------------------
   Global Resets
   ----------------------------------------------------------- */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--sf-bg);
  color: var(--sf-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Utilities */
.sf-container {
  width: min(1120px, 100% - 3rem);
  margin: 0 auto;
}

/* -----------------------------------------------------------
   HEADER
   ----------------------------------------------------------- */

header {
  background: var(--sf-white);
  border-bottom: 1px solid var(--sf-border);
  position: sticky;
  top: 0;
  z-index: 999;
}

.sf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;   /* allows stacking when needed */
}

.sf-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.sf-logo-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  /* no fixed height – lets the image keep natural aspect ratio */
}

.sf-logo-img {
  display: block;
  max-height: 52px;    /* controls size */
  height: auto;        /* maintain aspect ratio */
  width: auto;         /* never stretch */
  object-fit: contain; /* extra safety */
}


.sf-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Tagline and brand text */
.sf-brand-text h1 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.sf-tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sf-muted);
  line-height: 1.2;
  text-align: left;
}
/* Nav */
nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.sf-nav-link {
  position: relative;
  padding: 0.35rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--sf-muted);
  transition: color 0.2s ease;
}

.sf-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--sf-accent);
  border-radius: 999px;
  transition: width 0.2s ease;
}

.sf-nav-link:hover,
.sf-nav-link--active {
  color: var(--sf-primary);
}

.sf-nav-link:hover::after,
.sf-nav-link--active::after {
  width: 100%;
}

/* Header Phone */
.sf-header-phone {
  font-size: 0.9rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--sf-radius-pill);
  border: 1px solid var(--sf-border);
  background: #fafafa;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.sf-header-phone i {
  color: var(--sf-accent);
}

/* Mobile Menu Button */
.sf-menu-toggle {
  display: none;
  font-size: 1.3rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var( --sf-accent);
}

/* -----------------------------------------------------------
   HERO SECTION – default.asp (gradient + collage)
   ----------------------------------------------------------- */

.sf-hero {
  padding: 3.5rem 0 3rem;
  background:
    radial-gradient(circle at top left, #fce4e8 0, transparent 55%),
    radial-gradient(circle at bottom right, #e5e5e5 0, transparent 50%);
}

.sf-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 0;
}

/* Hero chip */
.sf-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--sf-radius-pill);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0,0,0,0.06);
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.sf-chip i {
  color: var(--sf-accent);
}

.sf-hero-line {
  border-bottom: 1px #cccccc solid;
}

/* Hero text (global) */
.sf-hero h1,
.sf-hero h2 {
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  margin: 0 0 0.75rem;
  color: var(--sf-primary-dark);
}
.sf-hero h1 span,
.sf-hero h2 span {
  color: var(--sf-accent);
}

.sf-hero-lede {
  font-size: 1rem;
  color: var(--sf-muted);
  max-width: 40rem;
  margin-bottom: 1.3rem;
}

/* CTA Buttons */
.sf-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.sf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: var(--sf-radius-pill);
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}

/* CTAs */
.sf-btn-primary {
  background: linear-gradient(135deg, var(--sf-primary), var(--sf-primary-dark));
  color: var(--sf-white);
  box-shadow: var(--sf-shadow-soft);
}

.sf-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(0,0,0,0.12);
}

.sf-btn-ghost {
  background: #ffffff;
  border: 1px solid var(--sf-border);
  color: var(--sf-primary);
}

/* Hero meta icons */
.sf-hero-meta {
  font-size: 0.85rem;
  color: var(--sf-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.sf-hero-meta i {
  color: var(--sf-accent);
}

/* Optional light variant (if used elsewhere) */
.sf-hero-meta-light i {
  color: #ffffff;
}

/* Collage / skyline block (right side) */

.sf-hero-visual {
  position: relative;
}

.sf-hero-image-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 5px solid #ffffff;
  border-radius: var(--sf-radius-lg);
  overflow: hidden;
  box-shadow: var(--sf-shadow-soft);
  position: relative;
}

.sf-hero-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* White skyline made of bars, sticking up ABOVE the image */
.sf-hero-skyline-up {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 80px;
  pointer-events: none;
}

.sf-hero-skyline-up::before {
  content: "";
  position: absolute;
  inset: 0 8% 0 8%;
  background: linear-gradient(
    to right,
    rgba(255,255,255,1) 0%,   rgba(255,255,255,1) 4%,
    transparent        4%,   transparent        8%,
    rgba(255,255,255,1) 8%,  rgba(255,255,255,1) 12%,
    transparent        12%,  transparent        18%,
    rgba(255,255,255,1) 18%, rgba(255,255,255,1) 23%,
    transparent        23%,  transparent        28%,
    rgba(255,255,255,1) 28%, rgba(255,255,255,1) 33%,
    transparent        33%,  transparent        35%,
    rgba(255,255,255,1) 35%, rgba(255,255,255,1) 40%,
    transparent        40%,  transparent        42%,
    rgba(255,255,255,1) 42%, rgba(255,255,255,1) 48%,
    transparent        48%,  transparent        50%,
    rgba(255,255,255,1) 50%, rgba(255,255,255,1) 56%,
    transparent        56%,  transparent        58%,
    rgba(255,255,255,1) 58%, rgba(255,255,255,1) 64%,
    transparent        64%,  transparent        66%,
    rgba(255,255,255,1) 66%, rgba(255,255,255,1) 71%,
    transparent        71%,  transparent        76%,
    rgba(255,255,255,1) 76%, rgba(255,255,255,1) 80%,
    transparent        80%,  transparent        84%,
    rgba(255,255,255,1) 84%, rgba(255,255,255,1) 90%,
    transparent        90%,  transparent        100%
  );
  clip-path: polygon(
    0% 100%, 0% 65%,
    4% 65%, 4% 50%, 10% 50%, 10% 65%,
    14% 65%, 14% 45%, 20% 45%, 20% 65%,
    24% 65%, 26% 48%, 30% 52%, 32% 45%, 34% 65%,
    38% 65%, 38% 55%, 44% 55%, 44% 65%,
    48% 65%, 50% 38%, 52% 52%, 54% 38%, 56% 65%,
    60% 65%, 60% 50%, 66% 50%, 66% 65%,
    70% 65%, 72% 44%, 76% 58%, 78% 44%, 80% 65%,
    84% 65%, 84% 56%, 90% 56%, 90% 65%,
    94% 65%, 96% 50%, 100% 55%, 100% 100%
  );
  -webkit-mask-image: linear-gradient(to top, black 0%, black 40%, transparent 100%);
  mask-image: linear-gradient(to top, black 0%, black 40%, transparent 100%);
}

/* -----------------------------------------------------------
   DEFAULT2.ASP – LIGHT HERO WITH SUBTLE GRAYSCALE BACKGROUND
   ----------------------------------------------------------- */

.sf-hero.sf-hero-photo--street {
  background: #fafafa;
  position: relative;
  color: var(--sf-primary-dark);
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  z-index: 0;
}

/* Grayscale street photo, brightened and softened */
.sf-hero.sf-hero-photo--street::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/images/home-hero-street.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 40%;
  -webkit-filter: grayscale(100%) brightness(1.9) blur(2px);
  filter: grayscale(100%) brightness(1.9) blur(2px);
  opacity: 0.16;
  transform: scale(1.03);
  z-index: 0;
}

/* Soft white wash over the image */
.sf-hero.sf-hero-photo--street::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.28),
    rgba(255, 255, 255, 0.18)
  );
  z-index: 1;
}

/* Content above background & overlay */
.sf-hero.sf-hero-photo--street .sf-hero-inner {
  position: relative;
  z-index: 2;
}

/* Typography tweaks for DEFAULT2 hero */
.sf-hero.sf-hero-photo--street .sf-hero-lede {
  color: #e23a50;
  font-weight: 400;
}

.sf-hero.sf-hero-photo--street .sf-hero-meta {
  color: #333333;
}

.sf-hero.sf-hero-photo--street .sf-hero-meta i {
  color: #333333;
}

/* Optional button variants */
.sf-btn-primary-light {
  background: linear-gradient(135deg, #ffffff, #dddddd);
  color: #222222;
}

.sf-btn-primary-light i {
  color: #e23a50;
}

.sf-btn-ghost-dark {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.7);
  color: #ffffff;
}

/* -----------------------------------------------------------
   PROJECT HERO – MAP BACKGROUND (per-project image)
   ----------------------------------------------------------- */

.sf-project-hero {
  position: relative;
  padding: 3.2rem 0 2.7rem;
  color: var(--sf-primary-dark);
  background: #fafafa;
  overflow: hidden;
}

/* Use the per-page CSS variable for the background image */
.sf-project-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--proj-hero-img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.4;
  z-index: 0;
}

.sf-project-hero-inner {
  position: relative;
  z-index: 1;
}

.sf-project-hero .sf-section-kicker {
  color: var(--sf-muted);
}
.sf-project-hero h1,
.sf-project-hero h2 {
  margin: 0 0 0.4rem;
  color: var(--sf-primary-dark);
}

.sf-project-hero-sub {
  max-width: 44rem;
  font-size: 0.95rem;
  color: var(--sf-primary-dark);
}

/* -----------------------------------------------------------
   PROJECT BODY – WHITE CONTENT AREA
   ----------------------------------------------------------- */

.sf-project-body {
  background: #ffffff;
  padding: 2.5rem 0 3rem;
}

.sf-project-body-main p {
  font-size: 0.95rem;
  color: var(--sf-muted);
  margin-bottom: 0.85rem;
}

.sf-project-figure {
  margin: 0 0 1.2rem;
}

.sf-project-highlights {
  padding-left: 1.1rem;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--sf-muted);
}

.sf-project-highlights li {
  margin-bottom: 0.35rem;
}

.sf-project-body-aside {
  font-size: 0.85rem;
  color: var(--sf-muted);
}

/* -----------------------------------------------------------
   SECTIONS & CARDS
   ----------------------------------------------------------- */

.sf-section {
  padding: 2.5rem 0;
}

.sf-section-content {
  background-color: #ffffff;
}

.sf-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.sf-section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--sf-muted);
}

.sf-section-title {
  font-size: 1.45rem;
  margin: 0;
  color: var(--sf-primary-dark);
}

/* Cards Grid */
.sf-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.sf-card {
  background: var(--sf-white);
  border-radius: var(--sf-radius-lg);
  padding: 1.2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.sf-card:hover {
  border-color: var(--sf-accent);
  box-shadow: 0 10px 30px rgba(226, 58, 80, 0.18);
}

.sf-card-gray {
  background: var(--sf-box);
  border-radius: var(--sf-radius-lg);
  padding: 1.2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
}

/* Make full-card links behave like block elements */
.sf-card-wrapper {
  text-decoration: none;
  color: inherit;
  display: block;
}

.sf-card-wrapper .sf-card-link {
  color: var(--sf-primary);
}

.sf-card-wrapper:hover .sf-card {
  border-color: var(--sf-accent);
  box-shadow: 0 10px 30px rgba(226, 58, 80, 0.18);
}

.sf-card-icon {
  width: 32px;
  height: 32px;
  background: var(--sf-accent-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sf-accent);
  font-size: 1rem;
}

.sf-card-title {
  font-weight: 600;
  font-size: 1rem;
  margin-top: 0.4rem;
}

.sf-card-body {
  font-size: 0.9rem;
  color: var(--sf-muted);
  margin: 0.5rem 0 0.75rem;
}

.sf-card-link {
  font-size: 0.9rem;
  color: var(--sf-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Project card images */
.sf-card-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.sf-card-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* -----------------------------------------------------------
   BIO SECTION – larger rounded-square photos
   ----------------------------------------------------------- */

.sf-bio-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sf-bio {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
}

.sf-bio-photo {
  width: 150px;
  height: 150px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  background: #eee;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.sf-bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-bio-content {
  flex: 1;
}

.sf-bio-name {
  margin: 0 0 0.25rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--sf-primary-dark);
}

.sf-bio-title {
  font-size: 0.95rem;
  color: var(--sf-muted);
  margin-bottom: 0.6rem;
}

.sf-bio-text {
  font-size: 0.95rem;
  color: var(--sf-muted);
  line-height: 1.55;
}

/* -----------------------------------------------------------
   PAGE HEROES
   ----------------------------------------------------------- */

.sf-page-hero {
  padding: 2.5rem 0 1.8rem;
}
.sf-page-hero h1,
.sf-page-hero h2 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
}

/* -----------------------------------------------------------
   PROJECT PAGE LAYOUT
   ----------------------------------------------------------- */

.sf-multi-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

.sf-project-mini-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.sf-project-mini-list li {
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.sf-project-mini-meta {
  font-size: 0.8rem;
  color: var(--sf-muted);
}

/* -----------------------------------------------------------
   FOOTER
   ----------------------------------------------------------- */

footer {
  background: var(--sf-primary-dark);
  color: #f0f0f0;
  padding: 2rem 0 1.5rem;
  margin-top: 3rem;
}

.sf-footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

/* Footer Logo */
.sf-footer-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

/* Image-based footer mark using your icon */
.sf-footer-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: none !important;
  padding: 0;
  overflow: hidden;
}

.sf-footer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Footer Social */
.sf-footer-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.sf-footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.18);
  transition: background 0.15s ease, transform 0.15s ease;
}

.sf-footer-social a:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-1px);
}

.sf-footer-right {
  text-align: right;
}

.sf-footer-bottom {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #bbbbbb;
}

/* -----------------------------------------------------------
   CONTACT FORM
   ----------------------------------------------------------- */

.sf-contact-form-section {
  background: #ffffff;
  border-top: 1px solid var(--sf-border);
}

.sf-contact-form-header {
  margin-bottom: 1.2rem;
}

.sf-contact-panel {
  background: #f7f7f9;
  border-radius: 18px;
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.sf-form {
  max-width: 720px;
}

/* grid for name / org / city / phone / email */
.sf-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin-bottom: 1.2rem;
}

/* support both .sf-form-field and .sf-field in markup */
.sf-form-field,
.sf-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

/* label variants */
.sf-form-field label,
.sf-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--sf-primary-dark);
}

/* required asterisk */
.sf-required {
  color: var(--sf-accent);
  margin-left: 0.15rem;
}

/* inputs + textarea */
.sf-input,
.sf-textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--sf-border);
  font: inherit;
  font-size: 0.9rem;
  color: var(--sf-text);
  background: #fafafa;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.sf-input:focus,
.sf-textarea:focus {
  outline: none;
  border-color: var(--sf-accent);
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(226, 58, 80, 0.12);
}

.sf-textarea {
  resize: vertical;
  min-height: 110px;
}

.sf-form-actions {
  margin-top: 0.75rem;
}

/* reCAPTCHA placeholder spacing */
.sf-form-recaptcha {
  margin-top: 0.5rem;
}

.g-recaptcha {
  transform-origin: left top;
}

/* validation states */
.sf-field.sf-invalid .sf-input,
.sf-field.sf-invalid textarea {
  border-color: #e23a50;
}

.sf-error {
  font-size: 0.8rem;
  color: #c0392b;
  margin-top: 0.25rem;
}

/* Contact map image */
.sf-contact-map img {
  display: block;
  width: 100%;
  max-width: 520px;
  border-radius: 12px;
  box-shadow: none;     /* <- remove shadow */
}

/* Full-Width CTA Bar */
.sf-cta-bar {
  background: var(--sf-primary-light, #f8f4f4);
  padding: 2.8rem 0;
  border-top: 1px solid #e4e4e4;
  border-bottom: 1px solid #e4e4e4;
}

.sf-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.sf-cta-text h3 {
  margin: 0;
  font-size: 1.45rem;
  color: var(--sf-heading, #222);
}

.sf-cta-text p {
  margin: 0.35rem 0 0 0;
  font-size: 0.95rem;
  color: var(--sf-muted);
}

.sf-cta-btn {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  white-space: nowrap;
}
/* CTA bar button — red */
.sf-cta-btn {
  background: #C44545;
  border-color: #C44545;
  color: #fff;
}

.sf-cta-btn:hover {
  background: #a73838;
  border-color: #a73838;
  color: #fff;
}

/* Responsive */
@media (max-width: 700px) {
  .sf-cta-inner {
    flex-direction: column;
    text-align: center;
  }
}




/* -----------------------------------------------------------
   RESPONSIVE
   ----------------------------------------------------------- */

/* Brand on its own line above nav/phone on medium screens */
	@media (max-width: 1100px) {
	  .sf-header-inner {
	    align-items: flex-start;
	  }
	
	  .sf-brand {
	    width: 100%;
	    margin-bottom: 0.35rem;
	    justify-content: center;   /* center logo + tagline */
	  }
	
	 .sf-brand-text,
	  .sf-tagline {
	    text-align: left;
	  }	
	  nav {
	    margin-left: 0;
	  }
	}



/* Cards: 3 → 2 → 1 columns */
@media (max-width: 990px) {
  .sf-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .sf-cards {
    grid-template-columns: 1fr;
  }

  .sf-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sf-bio-photo {
    margin-bottom: 0.9rem;
  }
}

/* Main breakpoint for layout/nav/form */
/* Main breakpoint for layout/nav/form */
@media (max-width: 720px) {

  nav {
    display: none;
    flex-direction: column;
    background: var(--sf-white);
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--sf-border);
  }

  .sf-nav-open nav {
    display: flex;
  }

  .sf-menu-toggle {
    display: inline-flex;
  }

  .sf-brand {
    width: 100%;
    margin-bottom: 0.35rem;
  }  

  .sf-hero-inner,
  .sf-multi-col {
    grid-template-columns: 1fr;
  }

  .sf-footer-inner {
    grid-template-columns: 1fr;   /* stack all 3 sections */
    text-align: center;
    row-gap: 1.25rem;
  }

  /* FIXED: center & stack icon + company name + address */
  .sf-footer-logo {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sf-footer-logo > div {
    text-align: center;
  }

  .sf-footer-right {
    text-align: center;
  }

  .sf-hero.sf-hero-photo--street {
    padding: 3.2rem 0 3rem;
  }

  .sf-project-hero {
    padding: 2.6rem 0 2.2rem;
  }

  .sf-form-grid {
    grid-template-columns: 1fr;
  }
}
