:root {
  --ink: #141416;
  --muted: #62666f;
  --line: #dedfe5;
  --paper: #fbfbfd;
  --white: #ffffff;
  --accent: #0b7a75;
  --accent-dark: #07514e;
  --gold: #d99b2b;
  --coral: #e65f4f;
  --shadow: 0 18px 55px rgba(20, 20, 22, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(222, 223, 229, 0.82);
  background: rgba(251, 251, 253, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--accent), var(--coral));
  box-shadow: 0 10px 30px rgba(11, 122, 117, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #343840;
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a {
  border-radius: 999px;
  padding: 9px 14px;
}

.nav-links a:hover {
  background: #eef3f3;
  color: var(--accent-dark);
}

.cta-small,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.cta-small {
  min-height: 42px;
  padding: 0 16px;
  color: var(--white);
  background: var(--ink);
}

.button {
  min-height: 52px;
  padding: 0 20px;
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 16px 28px rgba(11, 122, 117, 0.24);
}

.button.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: none;
}

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

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #141416;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(20, 20, 22, 0.88), rgba(20, 20, 22, 0.48) 45%, rgba(20, 20, 22, 0.22)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 220px;
  z-index: -1;
  background: linear-gradient(0deg, rgba(20, 20, 22, 0.72), transparent);
}

.hero-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0 62px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #b9efeb;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.9rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.metric {
  min-height: 102px;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  font-size: 1.75rem;
  line-height: 1.1;
}

.metric span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

section {
  padding: 92px 0;
}

.section-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(260px, 0.42fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: 1.03rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(20, 20, 22, 0.07);
}

.project-image {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #e8ecec;
}

.project-image img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
  transition: transform 260ms ease;
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-type {
  position: absolute;
  left: 14px;
  bottom: 14px;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(20, 20, 22, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
}

.project-body {
  padding: 20px;
}

.project-body h3 {
  margin-bottom: 8px;
  font-size: 1.17rem;
}

.project-body p {
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 0.95rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tags span {
  border: 1px solid #e5e6eb;
  border-radius: 999px;
  padding: 5px 9px;
  color: #4d525b;
  background: #f7f8fa;
  font-size: 0.78rem;
  font-weight: 750;
}

.services {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.service-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: start;
}

.service-photo {
  position: sticky;
  top: 104px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-photo img {
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: #fcfcfd;
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--accent);
  font-weight: 900;
}

.service-item:nth-child(2) .service-icon {
  background: var(--coral);
}

.service-item:nth-child(3) .service-icon {
  background: var(--gold);
}

.service-item:nth-child(4) .service-icon {
  background: #3d5a80;
}

.service-item h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.service-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.process-band {
  background: #141416;
  color: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.17);
}

.process-step {
  min-height: 210px;
  padding: 24px;
  background: #1d1d20;
}

.process-step span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  margin-bottom: 30px;
  place-items: center;
  border-radius: 999px;
  color: var(--ink);
  background: var(--gold);
  font-weight: 900;
}

.process-step h3 {
  margin-bottom: 9px;
  font-size: 1.08rem;
}

.process-step p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
}

.appointment {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.calendly-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(20, 20, 22, 0.07);
}

.calendly-inline-widget {
  min-width: 320px;
  height: 760px;
}

.contact {
  padding-bottom: 70px;
}

.contact-shell {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 28px;
  align-items: stretch;
}

.contact-panel {
  border-radius: var(--radius);
  padding: 32px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(11, 122, 117, 0.92), rgba(20, 20, 22, 0.88)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1200&q=80") center / cover;
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin-bottom: 18px;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.contact-list a,
.contact-list div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
}

.contact-list span:first-child {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  font-weight: 900;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(20, 20, 22, 0.07);
}

.honey-field {
  display: none;
}

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

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

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

label {
  color: #343840;
  font-size: 0.86rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d7d9df;
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfbfd;
  font: inherit;
  outline: none;
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(11, 122, 117, 0.12);
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-status {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 750;
}

.form-status.error {
  color: #b42318;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: var(--white);
}

.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 880px) {
  body {
    overflow-x: hidden;
  }

  section {
    scroll-margin-top: 128px;
  }

  .nav {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .brand,
  .cta-small {
    flex: 0 0 auto;
  }

  .nav-links {
    order: 3;
    min-width: 0;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 96px;
  }

  .metrics,
  .portfolio-grid,
  .service-layout,
  .process-grid,
  .contact-shell,
  .section-head {
    grid-template-columns: 1fr;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .service-photo {
    position: static;
  }

  .service-photo img {
    aspect-ratio: 16 / 10;
  }

  .section-head {
    align-items: start;
    gap: 18px;
  }

  .contact-list span:last-child,
  .footer-inner span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .calendly-inline-widget {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .nav,
  .hero-inner,
  .section-inner,
  .footer-inner {
    width: min(1160px, calc(100% - 24px));
  }

  .nav {
    padding: 12px 0;
  }

  .brand {
    max-width: 100%;
    font-size: 1rem;
  }

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

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
    padding-bottom: 0;
  }

  .nav-links a {
    min-height: 40px;
    padding: 9px 8px;
    display: grid;
    place-items: center;
    background: #eef3f3;
    color: #2e343b;
    font-size: 0.88rem;
    text-align: center;
  }

  .cta-small {
    display: none;
  }

  section {
    padding: 58px 0;
    scroll-margin-top: 214px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(20, 20, 22, 0.92), rgba(20, 20, 22, 0.58)),
      url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1000&q=80") center / cover;
  }

  .hero-inner {
    padding: 50px 0 48px;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 0.72rem;
  }

  h1 {
    margin-bottom: 16px;
    font-size: 2.95rem;
    line-height: 0.98;
  }

  h2 {
    font-size: 2rem;
    line-height: 1.08;
  }

  h1,
  h2,
  h3,
  p,
  a,
  span,
  label {
    overflow-wrap: break-word;
  }

  .hero-copy {
    margin-bottom: 22px;
    font-size: 1rem;
  }

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

  .hero-actions {
    gap: 10px;
    margin-bottom: 32px;
  }

  .metrics {
    overflow: hidden;
    border-radius: var(--radius);
  }

  .metric {
    min-height: auto;
    padding: 16px 18px;
  }

  .metric strong {
    font-size: 1.55rem;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head p,
  .lead {
    font-size: 0.98rem;
  }

  .portfolio-grid,
  .service-list,
  .process-grid,
  .contact-shell,
  .form-grid {
    gap: 14px;
  }

  .project-image {
    aspect-ratio: 4 / 3;
  }

  .project-body {
    padding: 18px;
  }

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

  .service-layout {
    gap: 20px;
  }

  .service-item {
    gap: 12px;
    padding: 18px;
  }

  .service-icon {
    width: 48px;
    height: 48px;
  }

  .process-step {
    min-height: auto;
    padding: 20px;
  }

  .process-step span {
    margin-bottom: 18px;
  }

  .appointment .section-inner {
    width: 100%;
  }

  .appointment .section-head {
    width: min(1160px, calc(100% - 24px));
    margin-right: auto;
    margin-left: auto;
  }

  .calendly-shell {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .calendly-inline-widget {
    height: 700px;
  }

  .contact-form,
  .contact-panel {
    padding: 22px;
  }

  .contact-list a,
  .contact-list div {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
  }

  .contact-list span:first-child {
    width: 38px;
    height: 38px;
  }

  input,
  select,
  textarea {
    font-size: 1rem;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  .nav,
  .hero-inner,
  .section-inner,
  .footer-inner,
  .appointment .section-head {
    width: min(1160px, calc(100% - 20px));
  }

  .nav-links a {
    min-height: 38px;
    font-size: 0.82rem;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.82rem;
  }

  .contact-form,
  .contact-panel,
  .process-step,
  .service-item,
  .project-body {
    padding: 18px;
  }
}
