:root {
  --ink: #182126;
  --muted: #59666f;
  --line: #dbe2e5;
  --paper: #f7f8f6;
  --white: #ffffff;
  --teal: #3f9635;
  --teal-dark: #20562c;
  --lime: #9fcf45;
  --steel: #30404a;
  --shadow: 0 22px 60px rgba(24, 33, 38, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 248, 246, 0.94);
  border-bottom: 1px solid rgba(219, 226, 229, 0.78);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(24, 33, 38, 0.16);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
  color: var(--steel);
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--teal-dark);
  border-color: var(--lime);
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 21, 25, 0.88) 0%, rgba(12, 21, 25, 0.72) 38%, rgba(12, 21, 25, 0.22) 72%, rgba(12, 21, 25, 0.12) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: clamp(48px, 9vh, 92px) 0;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.cta-band .eyebrow {
  color: var(--lime);
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.35rem, 6vw, 5.45rem);
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 3.1rem);
}

h3 {
  font-size: 1.12rem;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.04rem, 1.7vw, 1.25rem);
}

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

.hero-actions {
  margin-top: 34px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-facts span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 4vw, 56px);
}

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

.intro-band,
.studio-showcase {
  background: var(--white);
}

.intro-grid,
.split,
.cta,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.intro-grid p,
.split p,
.page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

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

.home-service-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.service-card,
.project-card,
.proof-grid article,
.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card {
  display: grid;
  min-height: 260px;
  padding: 26px;
  align-content: start;
  gap: 18px;
}

.service-card p,
.project-card p,
.contact-panel p,
.legal p,
.detail-row p {
  color: var(--muted);
}

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  color: var(--teal-dark);
  background: rgba(198, 217, 76, 0.28);
  font-size: 0.82rem;
  font-weight: 900;
}

.split-section {
  background: #e8eeee;
}

.proof-section {
  background: var(--white);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.proof-grid article {
  min-height: 220px;
  padding: 24px;
  box-shadow: none;
}

.proof-grid p {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 15px 18px;
  border-left: 4px solid var(--teal);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.cta-band {
  color: var(--white);
  background: var(--steel);
}

.cta {
  align-items: center;
  justify-content: space-between;
}

.cta h2 {
  max-width: 760px;
}

.page-hero {
  padding: clamp(70px, 10vw, 132px) clamp(18px, 4vw, 56px) clamp(46px, 7vw, 82px);
  background: linear-gradient(135deg, #ffffff 0%, #eef2f1 100%);
}

.compact-hero {
  padding-top: clamp(48px, 7vw, 82px);
  padding-bottom: clamp(34px, 5vw, 56px);
}

.compact-hero h1 {
  font-size: clamp(2rem, 4.3vw, 4rem);
}

.page-hero .section-inner {
  margin-left: max(18px, calc((100vw - 1160px) / 2));
  margin-right: auto;
}

.page-hero h1 {
  color: var(--ink);
}

.legal h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
}

.page-hero p {
  max-width: 760px;
  margin-top: 20px;
}

.contact-hero {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.16), rgba(198, 217, 76, 0.16)),
    #ffffff;
}

.service-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.compact-section {
  padding-top: clamp(26px, 4vw, 44px);
}

.compact-service-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  background: transparent;
  border: 0;
}

.service-detail {
  display: grid;
  gap: 16px;
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-detail h2 {
  font-size: clamp(1.2rem, 1.55vw, 1.55rem);
  line-height: 1.18;
}

.service-detail p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.detail-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 26px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.showcase-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow);
}

.showcase-grid p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.inline-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.inline-list li {
  padding: 10px 12px;
  border-left: 3px solid var(--teal);
  background: #eef3ef;
  font-weight: 800;
}

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

.project-card {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  overflow: hidden;
}

.project-card > div:last-child {
  padding: clamp(24px, 4vw, 42px);
}

.project-image {
  min-height: 250px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.8), rgba(48, 64, 74, 0.92)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.24) 0 1px, transparent 1px 24px);
}

.project-photo {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  object-position: center;
}

.image-access {
  background:
    linear-gradient(135deg, rgba(198, 217, 76, 0.72), rgba(24, 33, 38, 0.9)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 22px);
}

.image-rack {
  background:
    linear-gradient(135deg, rgba(48, 64, 74, 0.88), rgba(15, 118, 110, 0.72)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px 18px);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--steel);
  font-weight: 800;
}

.contact-form .wide {
  grid-column: 1 / -1;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(15, 118, 110, 0.22);
  border-color: var(--teal);
}

.contact-panel {
  padding: 28px;
}

.contact-panel a {
  color: var(--teal-dark);
  font-weight: 800;
}

.small-note {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.legal {
  max-width: 960px;
  line-height: 1.68;
}

.legal h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.25;
}

.legal p {
  max-width: 900px;
  margin-top: 0;
  margin-bottom: 14px;
}

.legal-list {
  display: grid;
  gap: 8px;
  max-width: 900px;
  margin: 14px 0 18px;
  padding-left: 22px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.86);
  background: #162126;
}

.site-footer p {
  margin: 6px 0 0;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

@media (max-width: 1120px) {
  .home-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 760px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(12, 21, 25, 0.84) 0%, rgba(12, 21, 25, 0.7) 56%, rgba(12, 21, 25, 0.32) 100%);
  }

  .intro-grid,
  .split,
  .cta,
  .contact-layout,
  .detail-row,
  .compact-service-list,
  .project-card,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .site-header {
    gap: 10px;
    min-height: 0;
    padding: 10px 18px;
  }

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

  .main-nav {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 0.8rem;
    scrollbar-width: none;
  }

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

  .main-nav a {
    flex: 0 0 auto;
    padding: 7px 0;
    white-space: nowrap;
  }

  .hero {
    min-height: 660px;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-facts span {
    width: 100%;
    text-align: center;
  }

  .section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .page-hero {
    padding-top: 42px;
    padding-bottom: 32px;
  }

  .page-hero h1 {
    font-size: 2rem;
    line-height: 1.12;
  }

  .legal h1 {
    font-size: clamp(1.45rem, 6.8vw, 1.7rem);
  }

  .page-hero p {
    font-size: 1rem;
  }

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

  .service-card,
  .service-detail,
  .proof-grid article {
    min-height: auto;
    padding: 20px;
  }

  .project-card > div:last-child {
    padding: 22px;
  }

  .project-photo,
  .project-image {
    height: 260px;
    min-height: 0;
  }

  .button {
    width: 100%;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}
