
* {
  box-sizing: border-box;
}

:root {
  --paper: #ffffff;
  --paper-soft: #fafbf9;
  --ink: #171A16;
  --muted: #697069;
  --green: #B6C9AF;
  --green-soft: #E7EEE3;
  --line: rgba(23, 26, 22, 0.16);
  --max: 1280px;
  --header-h: 132px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

/* =========================
   HEADER / NAV
   ========================= */

.site-header {
  background: var(--paper);
}

.header-inner {
  position: relative;
  width: min(var(--max), calc(100% - 64px));
  min-height: var(--header-h);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-self: start;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
}

.main-nav a {
  position: relative;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: currentColor;
}

.main-nav a.active::after {
  right: 0;
}

.center-brand {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
}

.logo-shape {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--ink);
  border: 2px solid var(--paper);
  outline: 1px solid var(--green);
  clip-path: polygon(50% 0%, 89% 18%, 100% 60%, 78% 91%, 50% 100%, 22% 91%, 0% 60%, 11% 18%);
  font-size: 10px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: .14em;
  text-align: center;
}

.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
}

.call-link,
.header-quote {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
}

.header-quote {
  padding: 11px 16px;
  border: 1px solid var(--ink);
}

.header-quote:hover {
  background: var(--green);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  align-content: center;
  justify-items: center;
  gap: 5px;
  -webkit-tap-highlight-color: transparent;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .18s ease, opacity .18s ease;
}

/* Animate 3-line hamburger when open */
.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* =========================
   HOMEPAGE
   ========================= */

.home-hero {
  width: 100%;
}

.hero-media {
  position: relative;
  width: 100%;
  height: clamp(440px, 62vh, 700px);
  overflow: hidden;
  background: var(--green);
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(23,26,22,.42);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.home-copy {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding: 66px 0 78px;
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.home-copy h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(34px, 3.6vw, 50px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 600;
}

.home-copy p {
  max-width: 770px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 31px;
}

.outline-button,
.solid-button {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.outline-button {
  border: 1px solid var(--ink);
  background: white;
}

.solid-button {
  border: 1px solid var(--green);
  background: var(--green);
}

.outline-button:hover,
.solid-button:hover {
  background: var(--green-soft);
}

/* =========================
   GENERAL PAGE
   ========================= */

.page-shell {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
}

.page-intro {
  padding: 48px 0 56px;
}

.page-intro h1 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.06;
  letter-spacing: -.04em;
  font-weight: 600;
}

.page-intro > p:last-child {
  max-width: 760px;
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}


.services-visual {
  display: grid;
  grid-template-columns: 1.45fr .775fr .775fr;
  gap: 12px;
  margin: 0 0 52px;
}

.services-visual figure {
  margin: 0;
  min-height: 270px;
  overflow: hidden;
  background: var(--green);
}

.services-visual-main {
  min-height: 360px !important;
}

.services-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* =========================
   SERVICES
   ========================= */

.service-list {
  border-top: 1px solid var(--line);
  margin-bottom: 84px;
}

.service-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.service-num {
  color: #8d928a;
  font-size: 9px;
}

.service-item h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 600;
}

.service-item p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.service-item .service-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.service-item .service-arrow:hover {
  background: var(--green);
  border-color: var(--green);
  transform: translate(2px, -2px);
}

/* =========================
   WORK
   ========================= */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 24px;
  padding-bottom: 94px;
}

.project-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--green);
  position: relative;
}

.project-media img,
.project-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-media span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(23,26,22,.4);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.project-card h2 {
  margin: 13px 0 4px;
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 17px;
  letter-spacing: -.015em;
  font-weight: 600;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}


.real-work-grid .project-media {
  background: #e9ebe7;
}

.real-work-grid .project-card:nth-child(3n + 2) .project-media {
  aspect-ratio: 4 / 5;
}

.real-work-grid .project-card:nth-child(3n) .project-media {
  aspect-ratio: 5 / 4;
}

/* =========================
   ABOUT
   ========================= */

.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 68px;
  padding-bottom: 94px;
}

.about-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--green);
}

.about-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 38%;
}

.about-text h2 {
  margin: 0 0 17px;
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -.02em;
  font-weight: 600;
}

.about-text p {
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

/* =========================
   CONTACT
   ========================= */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
  gap: 50px;
  padding-bottom: 94px;
}

.contact-form {
  display: grid;
  gap: 21px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.contact-form label > span {
  color: var(--ink);
  font-size: 11px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 11px;
  border: 1px solid #7d8279;
  border-radius: 0;
  background: white;
  color: var(--ink);
  outline: none;
}

.contact-form textarea {
  min-height: 142px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.submit-button {
  width: fit-content;
  min-height: 50px;
  padding: 0 27px;
  border: 1px solid var(--ink);
  background: white;
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
}

.submit-button:hover {
  background: var(--green);
}

.contact-aside {
  border-left: 1px solid var(--line);
  padding-left: 30px;
}

.contact-aside h2 {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.contact-aside p,
.contact-aside a {
  display: block;
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.form-note {
  margin: -7px 0 0;
  color: #898e87;
  font-size: 10px;
}

.submitted-note {
  display: none;
  padding: 20px 0;
  color: var(--ink);
  font-size: 13px;
}

.location-card {
  margin-top: 32px;
}

.location-card h2 {
  margin: 0 0 13px;
}

.map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--green);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(82%) contrast(.92);
}

.map-open {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 11px 0 0 !important;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
  color: var(--ink) !important;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.location-note {
  margin-top: 9px !important;
  color: var(--muted) !important;
  font-size: 10px !important;
  line-height: 1.5 !important;
}

/* =========================
   LOWER CTA + FOOTER
   Green is a surface color only.
   Text remains dark.
   ========================= */

.lower-cta {
  padding: 58px 24px;
  background: var(--green);
  color: var(--ink);
  text-align: center;
}

.lower-cta p {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.lower-cta a {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.lower-cta a:hover {
  background: white;
}

.site-footer {
  background: var(--green);
  color: var(--ink);
}

.footer-inner {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding: 40px 0 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
}

.footer-brand {
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
}

.footer-brand p {
  margin: 9px 0 0;
  color: rgba(23,26,22,.68);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: normal;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.copyright {
  grid-column: 1 / -1;
  color: rgba(23,26,22,.52);
  font-size: 9px;
}

/* Hide quote CTAs for users who already submitted */
.quote-used [data-quote-cta] {
  display: none !important;
}

/* =========================
   LAPTOPS
   ========================= */

@media (max-width: 1180px) {
  :root {
    --header-h: 112px;
  }

  .header-inner,
  .page-shell,
  .home-copy,
  .footer-inner {
    width: min(var(--max), calc(100% - 42px));
  }

  .main-nav {
    gap: 18px;
    font-size: 9px;
  }

  .header-right {
    gap: 15px;
  }

  .center-brand {
    width: 76px;
    height: 76px;
  }

  .logo-shape {
    width: 62px;
    height: 62px;
    font-size: 9px;
  }

  .home-copy h1,
  .page-intro h1 {
    max-width: 700px;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr);
    gap: 38px;
  }
}

/* =========================
   TABLETS + MOBILE MENU
   ========================= */


@media (max-width: 1100px) {
  .services-visual {
    grid-template-columns: 1.4fr .8fr;
  }

  .services-visual figure:last-child {
    display: none;
  }

  :root {
    --header-h: 82px;
  }

  .header-inner,
  .page-shell,
  .home-copy,
  .footer-inner {
    width: min(100% - 30px, var(--max));
  }

  .header-inner {
    min-height: var(--header-h);
    grid-template-columns: auto 1fr auto;
  }

  .center-brand {
    justify-self: start;
    order: -1;
    width: 60px;
    height: 60px;
  }

  .logo-shape {
    width: 54px;
    height: 54px;
    font-size: 8px;
  }

  .main-nav {
    display: none;
    position: absolute;
    z-index: 1000;
    top: calc(var(--header-h) - 6px);
    left: auto;
    right: 0;
    width: 230px;
    max-width: calc(100vw - 30px);
    padding: 18px 20px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: 0 16px 34px rgba(0,0,0,.09);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 12px 2px;
    border-bottom: 0;
    font-size: 10px;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a.active {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 7px;
  }

  .call-link {
    display: none;
  }

  .header-quote {
    padding: 9px 11px;
    font-size: 8px;
  }

  .menu-button {
    display: grid;
    position: relative;
    z-index: 1001;
  }

  .hero-media {
    height: min(56vh, 560px);
    min-height: 390px;
  }

  .home-copy {
    padding: 52px 0 62px;
  }

  .page-intro {
    padding: 42px 0 48px;
  }

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

  .about-grid {
    grid-template-columns: .9fr 1.1fr;
    gap: 42px;
  }

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

  .contact-aside {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 28px 0 0;
  }

  .map-frame {
    max-width: 480px;
    aspect-ratio: 16 / 10;
  }
}

/* =========================
   PHONES
   ========================= */

@media (max-width: 760px) {
  .header-right .header-quote {
    display: none;
  }

  .header-right {
    gap: 8px;
  }

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


@media (max-width: 640px) {
  .services-visual {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 38px;
  }

  .services-visual figure,
  .services-visual-main {
    min-height: 0 !important;
    aspect-ratio: 16 / 10;
  }

  .services-visual figure:not(.services-visual-main) {
    display: none;
  }



  .hero-media {
    height: 48vh;
    min-height: 340px;
  }

  .home-copy {
    padding: 43px 0 52px;
  }

  .home-copy h1 {
    font-size: 31px;
    line-height: 1.1;
  }

  .page-intro h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  .home-copy p,
  .page-intro > p:last-child,
  .about-text p {
    font-size: 14px;
  }

  .home-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .outline-button,
  .solid-button {
    width: 100%;
  }

  .service-item {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 11px;
    padding: 22px 0;
  }

  .service-item h2 {
    font-size: 19px;
  }

  .service-item p {
    font-size: 13px;
  }

  .service-item .service-arrow {
    grid-column: 2;
    justify-self: start;
    margin-top: 8px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .project-media {
    aspect-ratio: 16 / 10;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-photo {
    max-width: 100%;
    aspect-ratio: 16 / 11;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    gap: 18px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .social-links {
    justify-content: flex-start;
  }

  .copyright {
    grid-column: auto;
  }

  .lower-cta {
    padding: 48px 20px;
  }
}

/* =========================
   SMALL PHONES
   ========================= */


@media (max-width: 480px) {
  .main-nav {
    width: min(250px, calc(100vw - 22px));
    right: 0;
  }
}

@media (max-width: 390px) {
  .header-inner,
  .page-shell,
  .home-copy,
  .footer-inner {
    width: calc(100% - 22px);
  }

  .center-brand {
    width: 52px;
    height: 52px;
  }

  .logo-shape {
    width: 48px;
    height: 48px;
    font-size: 7px;
  }

  .menu-button {
    width: 40px;
    height: 40px;
  }

  .home-copy h1 {
    font-size: 28px;
  }

  .page-intro h1 {
    font-size: 29px;
  }

  .hero-media {
    min-height: 300px;
  }

  .map-frame {
    aspect-ratio: 1 / 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}


/* V20: narrower, less panoramic homepage hero */
.home-hero {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.hero-media {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 760px) {
  .home-hero {
    width: calc(100% - 32px);
  }

  .hero-media {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}


/* =========================
   V21 — CLEAN OUR WORK GRID
   ========================= */

.projects-grid.real-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 54px;
  align-items: start;
  padding-bottom: 100px;
}

.real-work-grid .project-card {
  min-width: 0;
}

.real-work-grid .project-media,
.real-work-grid .project-card:nth-child(3n + 2) .project-media,
.real-work-grid .project-card:nth-child(3n) .project-media {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #eef0ec;
}

.real-work-grid .project-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .28s ease;
}

.real-work-grid .project-card:hover .project-media img {
  transform: scale(1.015);
}

.real-work-grid .project-card h2 {
  margin: 14px 0 0;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.28;
  font-weight: 500;
  letter-spacing: -.01em;
}

.real-work-grid .project-card p {
  display: none;
}

@media (max-width: 1000px) {
  .projects-grid.real-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 44px;
  }
}

@media (max-width: 640px) {
  .projects-grid.real-work-grid {
    grid-template-columns: 1fr;
    row-gap: 34px;
  }

  .real-work-grid .project-media,
  .real-work-grid .project-card:nth-child(3n + 2) .project-media,
  .real-work-grid .project-card:nth-child(3n) .project-media {
    aspect-ratio: 3 / 2;
  }

  .real-work-grid .project-card h2 {
    margin-top: 11px;
    font-size: 15px;
  }
}


/* V22: no stray header divider beside homepage hero */
.home-page .header-inner {
  border-bottom: 0;
}


/* V24 dynamic service loading */
.service-list[data-dynamic-services]:empty::before {
  content: "Loading services…";
  display: block;
  padding: 28px 0;
  color: #6d736b;
  font-size: 14px;
}
