@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #26343a;
  --ink-dark: #1d292e;
  --clay: #a76543;
  --clay-hover: #8f5436;
  --clay-pale: #f2e8df;
  --sand: #f4f1eb;
  --sand-deep: #eae4da;
  --surface: #ffffff;
  --background: #faf9f6;
  --muted: #687278;
  --line: #dddcd7;
  --success: #2f6545;
  --error: #943a30;
  --container: 1160px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --shadow: 0 22px 58px rgba(38, 52, 58, 0.13);
  --shadow-soft: 0 12px 34px rgba(38, 52, 58, 0.07);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink-dark);
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 3.5vw, 3.35rem);
  font-weight: 650;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.025em;
}

p {
  color: var(--muted);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 100px 0 108px;
}

.sr-only {
  width: 1px;
  height: 1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  padding: 10px 14px;
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 100;
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(38, 52, 58, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  transition: box-shadow 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 28px rgba(38, 52, 58, 0.08);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  position: relative;
  display: block;
  border-radius: 12px;
  background: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 8px 18px rgba(38, 52, 58, 0.16);
}

.brand-mark i {
  width: 5px;
  position: absolute;
  bottom: 10px;
  border-radius: 3px;
  background: var(--sand);
  transform: rotate(-32deg);
}

.brand-mark i:nth-child(1) {
  height: 20px;
  left: 12px;
}

.brand-mark i:nth-child(2) {
  height: 28px;
  left: 22px;
}

.brand-mark i:nth-child(3) {
  height: 15px;
  left: 32px;
  background: #cf9879;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  color: var(--ink-dark);
  font-size: 1rem;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  position: relative;
  color: #4d5b61;
  font-size: 0.83rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  height: 2px;
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  border-radius: 2px;
  background: var(--clay);
  opacity: 0;
  transform: scaleX(0.7);
  transition: opacity 180ms ease, transform 180ms var(--ease-out);
}

.site-nav a.is-active {
  color: var(--clay-hover);
}

.site-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-cta {
  min-height: 46px;
  padding: 0 15px 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border-radius: 11px;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 750;
  transition: background-color 180ms ease, transform 140ms var(--ease-out);
}

.header-cta span {
  color: #e3b79d;
  transition: transform 180ms var(--ease-out);
}

.menu-button {
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  position: relative;
  display: none;
  border: 0;
  border-radius: 11px;
  background: var(--ink);
  cursor: pointer;
}

.menu-button > span:not(.sr-only) {
  width: 20px;
  height: 2px;
  position: absolute;
  left: 13px;
  background: #ffffff;
  transition: transform 180ms var(--ease-out);
}

.menu-button > span:first-child {
  transform: translateY(-4px);
}

.menu-button > span:nth-child(2) {
  transform: translateY(4px);
}

.menu-button[aria-expanded="true"] > span:first-child {
  transform: rotate(45deg);
}

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

.hero {
  position: relative;
  min-height: min(78dvh, 680px);
  padding: 48px 0 64px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 26, 30, 0.72) 0%, rgba(18, 26, 30, 0.42) 46%, rgba(18, 26, 30, 0.18) 100%),
    linear-gradient(180deg, rgba(18, 26, 30, 0.28) 0%, transparent 38%, rgba(18, 26, 30, 0.4) 100%);
  pointer-events: none;
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 36px), var(--container));
}

.hero-copy {
  width: min(100%, 580px);
  padding: clamp(26px, 3.5vw, 36px);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(29, 41, 46, 0.58);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #faf9f6;
  box-shadow: 0 18px 48px rgba(18, 26, 30, 0.28);
}

.eyebrow,
.section-label {
  margin-bottom: 15px;
  color: var(--clay-hover);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e5b79b;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 3px;
  background: var(--clay);
}

.hero h1 {
  color: #faf9f6;
}

.hero-lede {
  max-width: 48ch;
  margin-bottom: 28px;
  color: rgba(250, 249, 246, 0.86);
  font-size: 1.05rem;
  line-height: 1.68;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.button {
  min-height: 54px;
  padding: 0 17px 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 140ms var(--ease-out), box-shadow 180ms ease;
}

.button b {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  font-weight: 600;
  transition: transform 180ms var(--ease-out);
}

.button--primary {
  background: var(--clay);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(143, 84, 54, 0.2);
}

.button--secondary {
  border-color: rgba(38, 52, 58, 0.36);
  background: transparent;
  color: var(--ink);
}

.button--secondary b {
  background: rgba(38, 52, 58, 0.07);
}

.button--full {
  width: 100%;
}

.text-link {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: #bdb7ae;
  text-underline-offset: 5px;
}

.hero .text-link {
  color: #faf9f6;
  text-decoration-color: rgba(250, 249, 246, 0.42);
}

.hero-promises {
  margin: 26px 0 0;
  padding: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
  color: rgba(250, 249, 246, 0.9);
  font-size: 0.82rem;
}

.hero-promises li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.hero-promises li:last-child {
  grid-column: 1 / -1;
}

.hero-promises span {
  color: #e5b79b;
  font-weight: 900;
}

.hero-locale {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(250, 249, 246, 0.88);
  font-size: 0.82rem;
}

.hero-locale small {
  display: block;
  margin-bottom: 3px;
  color: rgba(250, 249, 246, 0.62);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-locale strong {
  font-weight: 750;
}

.proof {
  margin-top: -28px;
  position: relative;
  z-index: 3;
}

.proof dl {
  margin: 0;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(38, 52, 58, 0.08);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.proof dl > div {
  padding: 18px 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: center;
  border-left: 1px solid var(--line);
}

.proof dl > div:first-child {
  border-left: 0;
}

.proof dt {
  color: var(--clay-hover);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.proof dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.71rem;
  line-height: 1.35;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading > p:last-child {
  max-width: 630px;
  margin-bottom: 0;
}

.services {
  background: var(--background);
}

.service-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(38, 52, 58, 0.05);
}

.service-list article {
  min-height: 210px;
  padding: 29px 30px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1.05fr) minmax(250px, 0.8fr) auto;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
  transition: background-color 200ms ease;
}

.service-list article:first-child {
  border-top: 0;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--clay-pale);
  color: var(--clay-hover);
  box-shadow: inset 0 0 0 1px rgba(167, 101, 67, 0.06);
  transition: background-color 200ms ease, color 200ms ease, transform 200ms var(--ease-out);
}

.service-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-list article > div > p {
  margin-bottom: 6px;
  color: var(--clay-hover);
  font-size: 0.67rem;
  font-weight: 750;
}

.service-list article > div > span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.service-list article > ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
  list-style: none;
  color: #59666b;
  font-size: 0.74rem;
}

.service-list article > ul li {
  display: flex;
  gap: 8px;
}

.service-list article > ul li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 0.58em;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--clay);
}

.service-list article > a {
  min-width: 152px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
}

.service-list article > a span {
  color: var(--clay-hover);
  transition: transform 180ms var(--ease-out);
}

.process {
  background:
    radial-gradient(circle at 88% 15%, rgba(167, 101, 67, 0.055), transparent 28%),
    var(--sand);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(58px, 9vw, 112px);
  align-items: start;
}

.process-intro {
  position: sticky;
  top: 120px;
}

.process-intro > p:not(.section-label) {
  max-width: 470px;
}

.process-intro .button {
  margin-top: 16px;
}

.process-list {
  margin: 0;
  padding: 0;
  position: relative;
  list-style: none;
}

.process-list::before {
  content: "";
  width: 1px;
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 18px;
  background: #d0c9bf;
}

.process-list li:last-child::after {
  content: "";
  width: 9px;
  position: absolute;
  top: 54px;
  bottom: 0;
  left: 14px;
  z-index: 0;
  background: var(--sand);
}

.process-list li {
  padding: 18px 0 28px;
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 18px;
}

.process-list li > span {
  width: 36px;
  height: 36px;
  z-index: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 0 0 7px var(--sand);
  font-size: 0.72rem;
  font-weight: 800;
}

.process-list h3 {
  margin-top: 5px;
}

.process-list p {
  max-width: 570px;
  margin-bottom: 0;
  font-size: 0.88rem;
}

.about {
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(50px, 8vw, 96px);
  align-items: start;
}

.about-copy > p:not(.section-label) {
  max-width: 570px;
}

.about-copy ul {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 13px;
  list-style: none;
  color: #46555b;
  font-size: 0.86rem;
}

.about-copy li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-copy li span {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--clay-pale);
  color: var(--clay-hover);
  font-weight: 900;
}

.testimonial {
  margin: 0;
  padding: 36px;
  position: relative;
  overflow: hidden;
  border: 1px solid #e3d8cd;
  border-radius: 24px;
  background:
    radial-gradient(circle at 95% 5%, rgba(167, 101, 67, 0.09), transparent 32%),
    #f7f2ec;
  box-shadow: var(--shadow-soft);
}

.testimonial-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.testimonial--featured {
  grid-column: 1 / -1;
}

.testimonial--compact {
  padding: 25px 23px;
  border-radius: 18px;
}

.testimonial--compact .quote-mark {
  top: -3px;
  right: 16px;
  font-size: 5.5rem;
}

.testimonial.testimonial--compact > p {
  margin-bottom: 22px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.testimonial.testimonial--compact footer {
  align-items: flex-start;
}

.testimonial.testimonial--compact footer > div {
  gap: 2px;
}

.quote-mark {
  position: absolute;
  top: 4px;
  right: 25px;
  color: rgba(167, 101, 67, 0.12);
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 1;
}

.testimonial > p {
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1.65;
}

.testimonial footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial footer > div {
  display: grid;
}

.testimonial footer strong {
  font-size: 0.78rem;
}

.testimonial footer span {
  color: var(--muted);
  font-size: 0.7rem;
}

.review-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: block;
  border-radius: 50%;
  background-image: url("assets/review-avatars-jpg-lossless.webp");
  background-repeat: no-repeat;
  background-size: 400% 400%;
  box-shadow: inset 0 0 0 1px rgba(61, 48, 36, 0.12);
}

.review-avatar--06 { background-position: 33.333% 33.333%; }
.review-avatar--02 { background-position: 33.333% 0; }
.review-avatar--11 { background-position: 66.666% 66.666%; }

.testimonial-stack {
  display: grid;
  gap: 0.85rem;
}

.reviews-disclosure {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
  max-width: 28rem;
}

.field-error {
  display: block;
  min-height: 0;
  margin-top: 6px;
  color: #a43d32;
  font-size: 0.75rem;
  line-height: 1.25;
}

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

.field [aria-invalid="true"] {
  border-color: #a43d32;
}

.form-status.is-pending {
  background: rgba(61, 48, 36, 0.08);
  color: var(--ink, #3d3024);
}

.button:active {
  transform: scale(0.97);
}

.button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.optional {
  color: var(--muted);
  font-weight: 500;
}

.contact {
  background: var(--sand-deep);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(50px, 8vw, 94px);
  align-items: center;
}

.contact-copy > p:not(.section-label) {
  max-width: 510px;
}

.contact-details {
  margin-top: 34px;
  display: grid;
  gap: 16px;
}

.contact-details a,
.contact-details p,
.contact-details address {
  margin: 0;
  display: grid;
  width: max-content;
  font-style: normal;
}

.contact-details small {
  color: var(--muted);
  font-size: 0.68rem;
}

.contact-details strong {
  margin-top: 3px;
  color: var(--ink);
  font-size: 0.9rem;
}

.contact-details strong span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.project-form {
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

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

.field {
  margin-bottom: 15px;
}

.field label {
  margin-bottom: 6px;
  display: block;
  color: #35454b;
  font-size: 0.75rem;
  font-weight: 800;
}

.field label span {
  color: var(--muted);
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  min-height: 49px;
  padding: 11px 13px;
  border: 1px solid #d8d7d2;
  border-radius: 10px;
  background: #faf9f6;
  outline: 0;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  background: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--clay);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(167, 101, 67, 0.13);
}

input:user-invalid,
select:user-invalid {
  border-color: var(--error);
}

.form-status {
  display: none;
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.74rem;
  font-weight: 700;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-info {
  border-color: #e1d0c3;
  background: #faf3ed;
  color: #77503b;
}

.form-status.is-error {
  border-color: #ecd1cc;
  background: #fbefed;
  color: var(--error);
}

.form-status.is-success {
  border-color: #cee0d4;
  background: #edf5ef;
  color: var(--success);
}

.site-footer {
  padding: 0;
  background: var(--ink-dark);
  color: #ffffff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 0 20px;
}

.footer-brand {
  display: block;
}

.footer-brand strong {
  margin: 0;
  line-height: 1.35;
}

.footer-inner span {
  color: #aab5b9;
  font-size: 0.72rem;
}

.footer-copyright {
  text-align: right;
}

.scroll-top {
  width: 50px;
  height: 50px;
  position: fixed;
  right: clamp(18px, 3vw, 42px);
  bottom: 28px;
  z-index: 35;
  display: grid;
  visibility: hidden;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(29, 41, 46, 0.94);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(29, 41, 46, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.94);
  backdrop-filter: blur(10px);
  transition: visibility 0s linear 220ms, opacity 180ms ease, background-color 180ms ease, transform 240ms var(--ease-out);
}

.scroll-top.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.scroll-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-actions {
  display: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(167, 101, 67, 0.4);
  outline-offset: 3px;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 440ms var(--ease-out), transform 440ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* —— Our work / portfolio —— */
.work {
  background: var(--sand);
}

.work .section-heading {
  margin-bottom: 40px;
}

.work-tag {
  margin: 0 0 8px;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-tile {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  color: inherit;
  text-align: left;
  background: var(--sand-deep);
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  isolation: isolate;
  transition: box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
}

.work-tile__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sand-deep);
}

.work-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 640ms var(--ease-out);
}

.work-tile__overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: grid;
  gap: 4px;
  align-content: end;
  padding: 56px 16px 16px;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(29, 41, 46, 0.82) 72%);
  pointer-events: none;
}

.work-tile__overlay .work-tag {
  color: #e5b79b;
}

.work-tile__title {
  color: #fff;
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-wrap: balance;
}

.work-tile__action {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.work-tile:focus-visible,
.work-dialog__close:focus-visible,
.work-dialog__body .button:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

.work-dialog {
  width: min(1080px, calc(100% - 28px));
  max-height: min(92vh, 860px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.work-dialog::backdrop {
  background: rgba(18, 26, 30, 0.72);
  backdrop-filter: blur(4px);
}

.work-dialog__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  max-height: min(92vh, 860px);
}

.work-dialog__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--ink-dark);
  font-size: 1.5rem;
  line-height: 1;
  background: rgba(250, 249, 246, 0.94);
  border: 1px solid var(--line);
  cursor: pointer;
}

.work-dialog__media {
  margin: 0;
  min-height: 0;
  overflow: hidden;
  background: #1d292e;
}

.work-dialog__media img {
  width: 100%;
  height: 100%;
  max-height: min(92vh, 860px);
  object-fit: cover;
  object-position: center;
}

.work-dialog__body {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 36px 32px;
  overflow: auto;
}

.work-dialog__body h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
}

.work-dialog__location {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.work-dialog__body > p:not(.work-tag):not(.work-dialog__location) {
  margin: 4px 0 10px;
  max-width: 42ch;
}

.work-dialog__body .button {
  justify-self: start;
  margin-top: 6px;
}

body.work-dialog-open {
  overflow: hidden;
}

@media (hover: none) {
  .work-tile__action {
    opacity: 1;
    transform: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover {
    color: var(--clay-hover);
  }

  .header-cta:hover {
    background: #35464c;
    transform: translateY(-1px);
  }

  .header-cta:hover span,
  .button:hover b,
  .service-list article > a:hover span {
    transform: translateX(3px);
  }

  .button:hover {
    transform: translateY(-2px);
  }

  .button--primary:hover {
    background: var(--clay-hover);
    box-shadow: 0 16px 32px rgba(143, 84, 54, 0.24);
  }

  .button--secondary:hover {
    border-color: var(--ink);
    background: rgba(255, 255, 255, 0.4);
  }

  .scroll-top.is-visible:hover {
    background: var(--clay);
    transform: translateY(-2px);
  }

  .hero .text-link:hover {
    text-decoration-color: rgba(250, 249, 246, 0.8);
  }

  .service-list article:hover {
    background: #fcfaf7;
  }

  .service-list article:hover .service-icon {
    background: var(--clay);
    color: #ffffff;
    transform: rotate(-3deg) scale(1.03);
  }

  .work-tile:hover {
    border-color: rgba(38, 52, 58, 0.22);
    box-shadow: var(--shadow-soft);
  }

  .work-tile:hover .work-tile__media img {
    transform: scale(1.08);
  }

  .work-tile:hover .work-tile__action,
  .work-tile:focus-visible .work-tile__action {
    opacity: 1;
    transform: translateY(0);
  }

  .work-tile:active {
    box-shadow: none;
  }
}

.header-cta:active,
.button:active,
.service-list article > a:active,
.mobile-actions a:active,
.scroll-top:active {
  transform: scale(0.97);
}

@media (max-width: 960px) {
  .site-nav {
    padding: 12px 20px 18px;
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    display: grid;
    visibility: hidden;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 14px 30px rgba(38, 52, 58, 0.11);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.988);
    transform-origin: top right;
    transition: visibility 0s linear 180ms, opacity 160ms ease, transform 200ms var(--ease-out);
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
  }

  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

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

  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero-shell,
  .process-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    width: min(100%, 640px);
  }

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

  .proof dl > div:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .proof dl > div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .service-list article {
    grid-template-columns: 58px 1fr auto;
  }

  .service-list article > ul {
    grid-column: 2 / 4;
  }

  .service-list article > a {
    grid-column: 3;
    grid-row: 1;
  }

  .process-intro {
    position: static;
  }

  .contact-copy {
    max-width: 650px;
  }

  .project-form {
    width: min(100%, 720px);
  }

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

  .work-dialog__panel {
    grid-template-columns: 1fr;
    max-height: min(92vh, 900px);
    overflow: auto;
  }

  .work-dialog__media img {
    max-height: 42vh;
    aspect-ratio: 16 / 10;
  }
}

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

  body {
    padding-bottom: 68px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 76px 0 82px;
  }

  .header-inner {
    min-height: 70px;
  }

  .site-nav {
    top: 70px;
    right: 10px;
    left: 10px;
    border: 1px solid var(--line);
    border-radius: 0 0 17px 17px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 28px 0 48px;
    align-items: stretch;
  }

  .hero-shell {
    display: flex;
    align-items: flex-end;
    min-height: min(68dvh, 560px);
  }

  .hero-copy {
    width: 100%;
    padding: 24px 18px;
    border-radius: 16px;
  }

  h1 {
    font-size: clamp(2.2rem, 10vw, 3.1rem);
  }

  h2 {
    font-size: clamp(1.95rem, 9.4vw, 2.65rem);
  }

  .hero-lede {
    font-size: 0.98rem;
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .hero .text-link {
    text-align: center;
  }

  .hero-promises {
    grid-template-columns: 1fr;
  }

  .hero-promises li:last-child {
    grid-column: auto;
  }

  .proof {
    margin-top: -20px;
  }

  .proof dl {
    padding: 8px 15px;
    grid-template-columns: 1fr;
    border-radius: 17px;
  }

  .proof dl > div {
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-left: 0 !important;
  }

  .proof dl > div:first-child {
    border-top: 0;
  }

  .service-list {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .service-list article {
    min-height: 0;
    margin-top: 13px;
    padding: 24px;
    grid-template-columns: 1fr;
    gap: 17px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
  }

  .service-list article:first-child {
    margin-top: 0;
    border-top: 1px solid var(--line);
  }

  .service-list article > ul,
  .service-list article > a {
    grid-column: auto;
    grid-row: auto;
  }

  .service-list article > a {
    min-width: 0;
    justify-content: flex-start;
  }

  .testimonial {
    padding: 29px 24px;
    border-radius: 20px;
  }

  .testimonial-list {
    grid-template-columns: 1fr;
  }

  .testimonial--featured {
    grid-column: auto;
  }

  .testimonial--compact {
    padding: 25px 22px;
  }

  .testimonial > p {
    font-size: 1.05rem;
  }

  .contact-grid {
    gap: 38px;
  }

  .project-form {
    padding: 24px 19px 26px;
    border-radius: 19px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 10px;
    padding: 24px 0 18px;
  }

  .footer-copyright {
    text-align: left;
  }

  .site-footer {
    padding-bottom: 0;
  }

  .scroll-top {
    width: 46px;
    height: 46px;
    right: 14px;
    bottom: 80px;
    border-radius: 14px;
  }

  .mobile-actions {
    height: 64px;
    padding: 8px;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 8px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 -8px 24px rgba(38, 52, 58, 0.12);
    backdrop-filter: blur(14px);
  }

  .mobile-actions a {
    display: grid;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 10px;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 800;
  }

  .mobile-actions a:last-child {
    border-color: var(--clay);
    background: var(--clay);
    color: #ffffff;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .work-tile__overlay {
    padding: 48px 14px 14px;
  }

  .work-tile__action {
    opacity: 1;
    transform: none;
  }

  .work-dialog__body {
    padding: 22px 18px 26px;
  }

  .work-dialog__media img {
    max-height: 36vh;
  }
}

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

  .motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: opacity 180ms ease;
  }

  .work-tile,
  .work-tile__media img,
  .work-tile__action,
  .scroll-top {
    transition: none;
  }
}

/* Shared demo, form-privacy, and legal-footer styles */
.demo-notice {
  position: relative;
  z-index: 1000;
  padding: 0.62rem 1rem;
  border-bottom: 1px solid #d8b84f;
  color: #403612;
  background: #fff3c4;
  font: 700 0.82rem/1.4 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
}

.demo-notice a {
  color: inherit;
  text-underline-offset: 0.18em;
}

.form-legal-note {
  margin: 0.85rem 0 0;
  color: inherit;
  font-size: 0.78rem;
  line-height: 1.5;
  opacity: 0.78;
}

.form-legal-note a {
  color: inherit;
  font-weight: 750;
  text-underline-offset: 0.16em;
}

.legal-footer-bar {
  display: flex;
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
  padding: 0.9rem 0 calc(1rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid currentColor;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  color: inherit;
  font: 600 0.78rem/1.5 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  opacity: 0.74;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.legal-footer-bar a {
  color: inherit;
  text-underline-offset: 0.16em;
}

@media (max-width: 680px) {
  .legal-footer-bar {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 5rem;
  }
}
