:root {
  --ink: #252c23;
  --olive: #596342;
  --olive-dark: #353e2d;
  --paper: #faf9f5;
  --cream: #f0eee6;
  --line: #d9dcd1;
  --sans: 'Avenir Next', Avenir, 'Segoe UI', Arial, sans-serif;
  --serif: var(--sans);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.8 var(--sans);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

button, a, input, select, textarea, summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid #a7b085;
  outline-offset: 5px;
}

h1, h2, h3, p, figure {
  margin: 0;
}

h1, h2, h3 {
  text-wrap: balance;
  font-weight: 400;
}

h1 {
  font-size: clamp(3.5rem, 6.8vw, 7rem);
  line-height: 1.12;
  letter-spacing: -.055em;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.23;
  letter-spacing: -.04em;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.4;
  letter-spacing: -.02em;
  margin-bottom: .7rem;
}

p {
  margin-bottom: 1.4rem;
}

em {
  font-style: normal;
  color: var(--olive);
}

.wrap {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.eyebrow {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .17em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 1.5rem;
}

.lede {
  font-size: 1.13rem;
  line-height: 1.9;
  color: #62685e;
  max-width: 650px;
}

.center {
  text-align: center;
}

.center .lede {
  margin-inline: auto;
}

.intro {
  max-width: 820px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  min-height: 54px;
  padding: 15px 26px;
  background: var(--olive-dark);
  border: 1px solid var(--olive-dark);
  color: #fff;
  font-size: .88rem;
  line-height: 1.6;
  font-weight: 500;
  cursor: pointer;
  transition: background .25s, transform .25s;
}

.btn:hover {
  background: #535f40;
  transform: translateY(-3px);
}

.btn.light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.btn.light:hover {
  background: #e3e7d7;
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
}

.underlink {
  display: inline-block;
  font-size: .92rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
}

.underlink:hover {
  color: var(--olive);
}

.actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 245, .97);
  border-bottom: 1px solid #e5e6dc;
  backdrop-filter: blur(16px);
}

.nav {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  flex: none;
}

.logo img {
  width: 205px;
  height: 77px;
  object-fit: contain;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: .9rem;
}

.navlinks>a:not(.btn) {
  padding: 10px 0;
  position: relative;
}

.navlinks>a:not(.btn):after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--olive);
  transition: width .3s;
}

.navlinks>a:hover:after, .navlinks>a.active:after {
  width: 100%;
}

.navlinks .btn {
  font-size: .83rem;
  padding: 12px 20px;
}

.menu {
  display: none;
}

.skip {
  position: fixed;
  z-index: 100;
  top: -100px;
  background: #fff;
  padding: 10px 20px;
}

.skip:focus {
  top: 10px;
}

.opening {
  position: relative;
  min-height: min(790px, calc(100svh - 100px));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.hero-image, .hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: opening-zoom 18s ease-out both;
}

.hero-shade {
  background: linear-gradient(180deg, #121c1735, #111b155a 40%, #0d170f70);
}

.opening-copy {
  position: relative;
  text-align: center;
  padding: 70px 24px 105px;
}

.opening-copy .eyebrow {
  display: inline-block; color: #fff; margin-bottom: 24px; padding: 7px 12px; background: rgba(0, 0, 0, 0.28); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45); }

.opening-copy p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.85;
  margin: 26px auto 30px;
  color: #f3f5ed;
}

.hero-bottom {
  position: absolute;
  bottom: 26px;
  left: 48px;
  right: 48px;
  display: flex;
  justify-content: space-between;
  font-size: .73rem;
  letter-spacing: .13em;
}

.hero-bottom a {
  letter-spacing: .04em;
}

.service-strip {
  display: flex;
  justify-content: space-evenly;
  gap: 24px;
  padding: 26px 40px;
  border-bottom: 1px solid var(--line);
  font-size: .84rem;
  color: #555f4a;
}

.service-strip + .section {
  padding-top: 80px;
}

.service-strip + .section .intro {
    max-width: 1100px;
}

.visual-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 60px;
  align-items: start;
}

.visual-pair figure:last-child {
  margin-top: 0;
}

.visual-pair img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.visual-pair figure:last-child img {
  height: 480px;
}

.visual-pair figcaption {
  font-size: 1rem;
  padding-top: 17px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.olive-section, .dark {
  background: var(--olive-dark);
  color: var(--paper);
}

.olive-section .eyebrow, .dark .eyebrow {
  color: #cbd3b6;
}

.olive-section .lede, .dark .lede {
  color: #dce1d3;
}

.image-frame {
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landscape {
  aspect-ratio: 4/3;
}

.portrait {
  aspect-ratio: 4/5;
}

.image-frame img, .project-feature img, .visual-pair img {
  transition: transform .8s;
}

.image-frame:hover img, .project-feature:hover img {
  transform: scale(1.025);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-top: 75px;
  padding-top: 50px;
  border-top: 1px solid #ffffff25;
}

.benefits h3 {
  font-size: 1.2rem;
  margin-top: 24px;
}

.benefits p {
  font-size: .95rem;
  color: #d4dbc9;
}

.line-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  color: inherit;
  flex: none;
}

.line-icon svg {
  width: 100%;
  height: 100%;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 35px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 30px;
}

.project-feature {
  min-width: 0;
  overflow: hidden;
}

.project-feature img {
  height: 480px;
  width: 100%;
  object-fit: cover;
}

.project-feature div {
  padding-top: 22px;
}

.project-feature h3 {
  margin-bottom: 4px;
}

.project-feature span {
  font-size: .9rem;
  color: #676f60;
}

.image-note {
  margin-top: 28px!important;
}

.matcher-section {
  background: var(--cream);
}

.matcher-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 35px;
}

.matcher-head p {
  max-width: 420px;
  color: #60665b;
}

.matcher-shell {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  background: var(--paper);
  border: 1px solid var(--line);
}

.matcher-options {
  padding: 20px;
}

.match-option {
  width: 100%;
  text-align: left;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 4px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 23px 20px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.match-option small {
  grid-column: 2;
  font-size: .85rem;
  line-height: 1.6;
}

.match-option strong {
  font-weight: 500;
}

.match-option.active {
  background: #e8ebdf;
}

.match-option .line-icon {
  grid-row: 1/3;
  align-self: center;
  width: 26px;
}

.matcher-result {
  padding: 32px;
  border-left: 1px solid var(--line);
  position: relative;
}

.result-number {
  display: none;
}

.result-visual {
  height: 210px;
  margin-bottom: 26px;
  overflow: hidden;
}

.result-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.matcher-result .eyebrow {
  font-size: .72rem;
  margin-bottom: 10px;
}

.matcher-result h3 {
  font-size: 1.8rem;
}

.matcher-result p, .matcher-result li {
  font-size: .95rem;
}

.matcher-result ul {
  padding-left: 20px;
  margin-bottom: 25px;
}

.simple-steps {
  margin: 32px 0;
}

.simple-steps article {
  display: flex;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.simple-steps h3 {
  font-size: 1.2rem;
}

.simple-steps p {
  font-size: .97rem;
  margin: 0;
  color: #62685e;
}

.simple-steps .line-icon {
  color: var(--olive);
  margin-top: 5px;
}

.closing {
  position: relative;
  text-align: center;
  color: white;
  padding: 110px 24px;
  overflow: hidden;
}

.closing>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.closing:after {
  content: '';
  position: absolute;
  inset: 0;
  background: #152011a8;
}

.closing>div {
  position: relative;
  z-index: 1;
}

.closing .eyebrow {
  color: #e5eadc;
}

.closing h2 {
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.closing p {
  color: #ecf0e7;
}

.footer {
  padding: 70px 0 24px;
  background: #20271d;
  color: #d6dccd;
}

.footer-word {
  display: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
}

.footer img {
  width: 225px;
  background: var(--paper);
  padding: 12px;
  margin-bottom: 20px;
}

.footer p, .footer a {
  font-size: .9rem;
}

.footer h3 {
  font-size: .8rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #b0bc9e;
  margin-bottom: 20px;
}

.footer a {
  display: block;
  margin: 10px 0;
}

.footer a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: .8rem;
  color: #abb49e;
  border-top: 1px solid #ffffff25;
  padding-top: 24px;
  margin-top: 50px;
}

.page-hero {
  padding: 75px 0;
  background: var(--cream);
  text-align: center;
}

.page-hero .display {
  font-size: clamp(2.7rem, 5.2vw, 5.4rem);
  max-width: 1000px;
  margin: 0 auto 25px;
  line-height: 1.2;
}

.page-hero .lede {
  margin-inline: auto;
}

.page-hero .actions {
  justify-content: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.card {
  padding: 35px;
  border: 1px solid var(--line);
}

.card p {
  font-size: 1rem;
  color: #62685e;
  margin: 0;
}

.number {
  color: var(--olive);
  margin-bottom: 25px;
}

.dark .card {
  border-color: #ffffff30;
}

.dark .card p {
  color: #d5ddca;
}

.dark .number {
  color: #c6d0b4;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 45px;
}

.package {
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.package .btn {
  margin-top: auto;
}

.package h3 {
  font-size: 1.6rem;
}

.package p, .package li {
  font-size: .96rem;
}

.package ul {
  padding-left: 20px;
  margin: 0 0 30px;
}

.package li {
  margin-bottom: 12px;
}

.package.featured {
  background: var(--olive-dark);
  color: white;
}

.package.featured .eyebrow {
  color: #cdd6bb;
}

.process {
  margin-top: 30px;
}

.process-row {
  display: grid;
  grid-template-columns: 40px 180px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.process-row p {
  margin: 0;
  font-size: 1rem;
}

.process-row h3 {
  font-size: 1.25rem;
}

.dark .process-row {
  border-color: #ffffff30;
}

.cta-band {
  background: var(--cream);
  padding: 65px 0;
}

.cta-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.cta-flex h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.cta-flex .btn {
  flex-shrink: 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 30px;
}

.portfolio-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.portfolio-item:nth-child(even) {
  padding-top: 0;
}

.portfolio-item .meta {
  font-size: .9rem;
  padding: 14px 0;
}

.notice {
  font-size: .85rem;
  color: #686f61;
}

.faq .wrap {
  max-width: 900px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 23px 0;
}

.faq summary {
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1.6;
}

.faq p {
  margin: 20px 0 0;
  color: #636b5c;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1/-1;
}

.field label {
  font-size: .88rem;
}

.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0;
  padding: 13px;
  background: #fff;
  border: 1px solid #cbd0c3;
  color: var(--ink);
  border-radius: 0;
}

.field input[type=checkbox] {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 7px;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-status {
  margin-top: 15px;
  font-size: .95rem;
}

.tag {
  display: none;
}

.reveal {
  opacity: 1;
}

.motion .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s, transform .75s;
}

.motion .reveal.on {
  opacity: 1;
  transform: none;
}

.actions .text-link {
  align-self: center;
}

.compare {
  display: none;
}

@keyframes opening-zoom {
  from {
    transform: scale(1.07);
  }

  to {
    transform: scale(1);
  }
}

@media(max-width:1050px) {
  .wrap {
    width: calc(100% - 56px);
  }

  .navlinks {
    gap: 20px;
  }

  .navlinks .btn {
    display: none;
  }

  .split {
    gap: 45px;
  }

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

  .package {
    padding: 25px;
  }

  .hero-bottom {
    left: 28px;
    right: 28px;
  }

  .footer-grid {
    gap: 30px;
  }
}

@media(max-width:760px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: calc(100% - 40px);
  }

  .section {
    padding: 70px 0;
  }

  .nav {
    height: 84px;
  }

  .logo img {
    width: 177px;
    height: 66px;
  }

  .menu {
    display: block;
    border: 1px solid var(--line);
    background: transparent;
    font-size: .8rem;
    letter-spacing: .1em;
    padding: 10px 13px;
    color: var(--ink);
  }

  .navlinks {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 24px;
    display: none;
    flex-direction: column;
    gap: 15px;
    border-bottom: 1px solid var(--line);
    max-height: calc(100svh - 84px);
    overflow: auto;
  }

  .navlinks.open {
    display: flex;
  }

  .navlinks .btn {
    display: inline-flex;
  }

  .opening {
    min-height: 690px;
    min-height: calc(90svh - 84px);
  }

  .opening-copy {
    padding: 80px 20px 100px;
  }

  .opening h1 {
    font-size: clamp(3.3rem, 12vw, 5rem);
  }

  .opening-copy .eyebrow {
    font-size: .65rem;
    letter-spacing: .13em;
  }

  .hero-image img {
    object-position: 60% center;
  }

  .hero-bottom {
    justify-content: center;
    bottom: 25px;
  }

  .hero-bottom>span {
    display: none;
  }

  .service-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    padding: 22px 15px;
    gap: 12px;
    font-size: .75rem;
  }

  .visual-pair {
    gap: 22px;
    margin-top: 35px;
    grid-template-columns: 1fr 1fr;
  }

  .visual-pair figure:last-child {
    margin-top: 45px;
  }

  .visual-pair img {
    height: 290px;
  }

  .visual-pair figure:last-child img {
    height: 240px;
  }

  .visual-pair figcaption {
    font-size: .86rem;
  }

  .split, .matcher-head, .matcher-shell {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .benefits {
    gap: 25px;
    margin-top: 45px;
    padding-top: 35px;
  }

  .benefits p {
    font-size: .9rem;
  }

  .benefits h3 {
    font-size: 1.08rem;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

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

  .project-feature img {
    height: 360px;
  }

  .matcher-shell {
    gap: 0;
  }

  .matcher-result {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 25px;
  }

  .matcher-options {
    padding: 10px;
  }

  .match-option {
    padding: 18px;
  }

  .matcher-head {
    gap: 10px;
  }

  .matcher-head h2 {
    margin-bottom: 5px;
  }

  .portrait {
    aspect-ratio: 5/4;
  }

  .closing {
    padding: 80px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .footer-grid>div:first-child {
    grid-column: 1/-1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .page-hero {
    padding: 55px 0;
  }

  .page-hero .display {
    font-size: clamp(2.7rem, 9vw, 4rem);
  }

  .cards, .package-grid {
    grid-template-columns: 1fr;
  }

  .process-row {
    grid-template-columns: 32px 1fr;
    gap: 12px 22px;
  }

  .process-row p {
    grid-column: 2;
  }

  .cta-flex {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .portfolio-grid {
    gap: 30px;
    grid-template-columns: 1fr;
  }

  .portfolio-item:nth-child(even) {
    padding-top: 0;
  }

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

  .field.full {
    grid-column: auto;
  }

  .actions {
    justify-content: center;
  }

  .simple-steps {
    margin: 25px 0;
  }

  a[href^="mailto:"] {
    overflow-wrap: anywhere;
  }
}

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

  *, *:before, *:after {
    animation: none!important;
    transition: none!important;
  }

  .motion .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Original portfolio: preserve full image composition. */

.portfolio-grid {
  align-items: start;
}

/* Shared sizing prevents long text and nested grids from pushing the page wider. */

.wrap>*, .split>*, .footer-grid>*, .matcher-shell>*, .matcher-head>*, .form-grid>*, .cards>*, .package-grid>* {
  min-width: 0;
}

.btn {
  max-width: 100%;
  text-align: center;
  white-space: normal;
}

.footer-social {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 22px;
  align-items: center;
}

.footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #ffffff45;
  font-size: .8rem;
  flex: 0 0 auto;
  white-space: nowrap;
}

.footer-social svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.footer .footer-social a:hover {
  background: #ffffff12;
}

@media(max-width:1000px) {
  .nav {
    gap: 20px;
  }

  .navlinks {
    gap: 18px;
  }

  .logo img {
    width: 180px;
  }

  .cards, .package-grid {
    gap: 18px;
  }

  .card {
    padding: 25px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 35px;
  }

  .process-row {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px 20px;
  }

  .process-row p {
    grid-column: 2;
  }
}

@media(max-width:900px) {
  .menu {
    display: block;
    border: 1px solid var(--line);
    background: transparent;
    font-size: .8rem;
    letter-spacing: .1em;
    min-height: 44px;
    padding: 10px 13px;
    color: var(--ink);
    flex: none;
  }

  .nav {
    height: 84px;
  }

  .navlinks {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 20px;
    display: none;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - 84px);
    overflow-y: auto;
  }

  .navlinks.open {
    display: flex;
  }

  .navlinks>a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .navlinks .btn {
    display: inline-flex;
    max-width: 360px;
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .cards, .package-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .matcher-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .matcher-head p {
    max-width: none;
  }

  .matcher-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .matcher-result {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .cta-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
  }

  .cta-flex .btn {
    flex-shrink: 1;
  }
}

@media(max-width:600px) {
  html {
    scroll-padding-top: 96px;
  }

  .wrap {
    width: calc(100% - 40px);
  }

  .section {
    padding: 58px 0;
  }

  .nav {
    gap: 12px;
  }

  .logo img {
    width: 160px;
    height: 62px;
  }

  h2 {
    font-size: clamp(1.9rem, 7.5vw, 2.6rem);
    line-height: 1.28;
    letter-spacing: -.03em;
  }

  h3 {
    line-height: 1.45;
  }

  .page-hero {
    padding: 45px 0;
  }

  .page-hero .display {
    font-size: clamp(2.15rem, 8.5vw, 3.2rem);
    line-height: 1.22;
    letter-spacing: -.035em;
  }

  .lede {
    font-size: 1rem;
    line-height: 1.85;
  }

  .eyebrow {
    font-size: .72rem;
    letter-spacing: .12em;
    margin-bottom: 18px;
  }

  .opening {
    min-height: 570px;
    min-height: max(570px, calc(88svh - 84px));
  }

  .opening-copy {
    width: 100%;
    padding: 58px 20px 90px;
  }

  .opening h1 {
    font-size: clamp(2.8rem, 11.5vw, 4rem);
    line-height: 1.15;
    letter-spacing: -.04em;
  }

  .opening-copy p {
    font-size: 1rem;
  }

  .opening-copy .eyebrow {
    font-size: .7rem;
  }

  .opening-copy .btn {
    gap: 14px;
    padding-inline: 20px;
  }

  .visual-pair {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .visual-pair figure:last-child {
    margin-top: 0;
  }

  .visual-pair img, .visual-pair figure:last-child img {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .visual-pair figcaption {
    text-align: center;
    padding-top: 12px;
  }

  .benefits {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .benefits article {
    border-bottom: 1px solid #ffffff25;
    padding-bottom: 12px;
  }

  .benefits article:last-child {
    border: 0;
  }

  .benefits h3 {
    margin-top: 14px;
    font-size: 1.2rem;
  }

  .benefits p {
    font-size: 1rem;
  }

  .section-heading {
    align-items: center;
    text-align: center;
  }

  .project-feature img {
    height: auto;
    aspect-ratio: auto;
  }

  .project-feature div {
    text-align: center;
  }

  .image-frame.landscape, .image-frame.portrait {
    aspect-ratio: auto;
  }

  .image-frame img {
    height: auto;
    object-fit: contain;
  }

  .matcher-options {
    padding: 8px;
  }

  .match-option {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 4px 12px;
    padding: 17px 12px;
  }

  .matcher-result {
    padding: 24px 18px;
  }

  .matcher-result h3 {
    font-size: 1.6rem;
  }

  .result-visual {
    height: auto;
  }

  .result-visual img {
    height: auto;
  }

  .simple-steps article {
    gap: 16px;
  }

  .simple-steps article>div {
    min-width: 0;
  }

  .simple-steps h3 {
    font-size: 1.12rem;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .actions .btn {
    width: 100%;
  }

  .card, .package {
    padding: 25px 22px;
  }

  .closing {
    padding: 68px 20px;
  }

  .closing h2 {
    font-size: clamp(2rem, 8.5vw, 3rem);
    line-height: 1.25;
  }

  .footer {
    padding: 50px 0 24px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
    gap: 28px;
  }

  .footer-grid>div:first-child {
    grid-column: auto;
  }

  .footer img {
    margin: 0 auto 20px;
    max-width: 100%;
  }

  .footer p {
    max-width: 34ch;
    margin-inline: auto;
  }

  .footer h3 {
    margin-bottom: 12px;
  }

  .footer a {
    padding: 5px 0;
    min-height: 40px;
  }

  .footer-social {
    justify-content: center;
    gap: 10px;
  }

  .footer .footer-social a {
    padding: 8px 10px;
  }

  .footer-bottom {
    text-align: center;
    align-items: center;
    margin-top: 32px;
  }

  .field input, .field select, .field textarea {
    font-size: 16px;
  }

  .form-grid {
    gap: 20px;
  }

  .field label {
    line-height: 1.65;
  }
}

/* Formspree feedback */

.form-feedback {
  min-height: 0;
  font-size: .92rem;
  line-height: 1.6;
  margin: 0 0 14px;
}

.form-feedback:empty {
  display: none;
}

.form-success {
  color: #3f5a35;
}

.form-error, .form-field-error {
  color: #8a342c;
}

.form-field-error {
  display: block;
  font-size: .82rem;
  line-height: 1.45;
  margin-top: 2px;
}

.form-field-error:empty {
  display: none;
}

[data-fs-field][aria-invalid="true"] {
  border-color: #8a342c;
}

.btn:disabled {
  opacity: .65;
  cursor: wait;
  transform: none;
}
