html {
      scroll-behavior: smooth;
    }

    :root {
      --dark: #111111;
      --text: #222222;
      --muted: #777777;
      --line: rgba(0,0,0,0.10);
      --cream: #f3f3f3;
      --soft-grey: rgba(0,0,0,0.045);
      --trans-grey: rgba(255,255,255,0.76);
      --gold: #9b7a47;
      --white: #ffffff;
    }

    * { box-sizing: border-box; }

    html,
    body {
      width: 100%;
      max-width: 100%;
      overflow-x: hidden;
    }

    body {
      margin: 0;
      font-family: "Arial Nova", Arial, Helvetica, sans-serif;
      color: var(--text);
      background: #f8f8f8;
      font-size: 16px;
      line-height: 1.65;
    }

    body.menu-open {
      overflow: hidden;
    }

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

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

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

    .eyebrow {
      color: var(--gold);
      text-transform: uppercase;
      letter-spacing: 0.18em;
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 14px;
    }

    .section-title {
      font-family: "Arial Nova", Arial, Helvetica, sans-serif;
      font-size: clamp(32px, 3vw, 56px);
      line-height: 1.08;
      letter-spacing: -0.025em;
      font-weight: 700;
      margin: 0;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      padding: 14px 22px;
      border: 1px solid var(--dark);
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      transition: 0.25s ease;
    }

    .btn:hover {
      background: var(--dark);
      color: var(--white);
    }

    .btn.light {
      border-color: rgba(255,255,255,0.5);
      color: var(--white);
    }

    .btn.light:hover {
      background: var(--trans-grey);
      color: var(--dark);
    }

    header {
      position: sticky;
      top: 0;
      z-index: 200;
      background: rgba(255,255,255,0.96);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(0,0,0,0.08);
      box-shadow: 0 8px 30px rgba(0,0,0,0.045);
    }

    .nav {
      min-height: 78px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 30px;
      position: relative;
    }

    .logo {
      display: flex;
      align-items: center;
      position: relative;
      z-index: 260;
    }

    .logo img {
      width: auto;
      height: 58px;
      max-width: 190px;
      object-fit: contain;
    }

    .menu {
      display: flex;
      align-items: center;
      gap: 34px;
      list-style: none;
      margin: 0;
      padding: 0;
      font-size: 14px;
      font-weight: 600;
    }

    .menu li {
      position: relative;
    }

    .menu a {
      position: relative;
      transition: color 0.2s ease;
    }

    .menu > li > a::after,
    .menu > li > .submenu-toggle::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -8px;
      width: 0;
      height: 2px;
      background: var(--gold);
      transition: width 0.22s ease;
    }

    .menu > li:hover > a::after,
    .menu > li:hover > .submenu-toggle::after {
      width: 100%;
    }

    .submenu-toggle {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      border: 0;
      background: transparent;
      padding: 0;
      font-family: inherit;
      font-size: inherit;
      font-weight: inherit;
      color: inherit;
      cursor: pointer;
    }

    .submenu-toggle .chevron {
      font-size: 11px;
      transition: transform 0.2s ease;
    }

    .menu li:hover .chevron {
      transform: rotate(180deg);
    }

    .dropdown {
      position: absolute;
      top: 100%;
      left: 0;
      min-width: 270px;
      background: rgba(255,255,255,0.98);
      border: 1px solid var(--line);
      box-shadow: 0 24px 70px rgba(0,0,0,0.12);
      padding: 18px;
      opacity: 0;
      pointer-events: none;
      transform: translateY(12px);
      transition: 0.2s ease;
      border-radius: 18px;
    }

    .menu li:hover .dropdown,
    .menu li.is-submenu-open .dropdown {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }

    .dropdown strong {
      display: block;
      color: var(--gold);
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      margin: 12px 0 8px;
    }

    .dropdown strong:first-child {
      margin-top: 0;
    }

    .dropdown a {
      display: block;
      padding: 6px 0;
      color: #333;
      font-size: 13px;
    }

    .mobile-toggle {
      display: none;
      width: 44px;
      height: 44px;
      border: 1px solid rgba(0,0,0,0.10);
      border-radius: 12px;
      background: rgba(255,255,255,0.9);
      cursor: pointer;
      position: relative;
      z-index: 260;
      padding: 0;
    }

    .mobile-toggle span {
      display: block;
      width: 20px;
      height: 2px;
      background: var(--dark);
      margin: 5px auto;
      border-radius: 20px;
      transition: 0.25s ease;
    }

    .mobile-toggle.is-open span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .mobile-toggle.is-open span:nth-child(2) {
      opacity: 0;
    }

    .mobile-toggle.is-open span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-backdrop {
      display: none;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      width: 100%;
      max-width: 100%;
      min-height: auto;
      padding: 18px 18px 0;
      gap: 18px;
      background: #f8f8f8;
      border-bottom: 0;
      box-sizing: border-box;
    }

    .hero-card {
      position: relative;
      overflow: hidden;
      min-height: calc(100vh - 120px);
      min-width: 0;
      background: var(--dark);
      border-radius: 22px;
      box-shadow: 0 18px 50px rgba(0,0,0,0.13);
    }

    .hero-card::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.78), rgba(0,0,0,0.18), rgba(0,0,0,0.03));
    }

    .hero-card img {
      transform: scale(1.02);
      transition: 0.7s ease;
      opacity: 0.88;
    }

    .hero-card:hover img {
      transform: scale(1.1);
      opacity: 1;
    }

    .hero-content {
      position: absolute;
      inset: 0;
      z-index: 2;
      color: var(--white);
      min-width: 0;
      font-size: 16px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;

      padding: 46px 34px 34px;
    }

    .hero-content h2 {
      font-family: "Arial Nova", Arial, Helvetica, sans-serif;
      font-size: 28px;
      line-height: 1.15;
      letter-spacing: -0.02em;
      font-weight: 700;
      margin: 0 0 16px;
      text-shadow: 0 4px 24px rgba(0,0,0,0.35);
    }

    .hero-card-description {
      color: rgba(255,255,255,.92);
      font-size: 15px;
      line-height: 1.45;
      margin: 0 0 24px;
      max-width: 92%;

      display: -webkit-box;
      -webkit-line-clamp: 7;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .hero-content .btn {
      margin-top: auto;
      align-self: flex-start;
    }

    section {
      padding: 100px 0;
      scroll-margin-top: 92px;
    }

    .intro {
      background: var(--soft-grey);
      margin-top: 18px;
      border-radius: 28px 28px 0 0;
    }

    .intro-grid {
      display: grid;
      grid-template-columns: 1fr 1.25fr;
      gap: 70px;
      align-items: start;
    }

    .intro h1 {
      font-family: "Arial Nova", Arial, Helvetica, sans-serif;
      font-size: clamp(36px, 4.5vw, 60px);
      line-height: 1.08;
      margin: 0;
      letter-spacing: -0.025em;
      font-weight: 700;
    }

    .intro-lead {
      font-size: 20px;
      color: #333;
      max-width: 760px;
      margin: 0 0 28px;
    }

    .quick-menu {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin: 35px 0 0;
      padding: 0;
      list-style: none;
    }

    .quick-menu a {
      border: 1px solid var(--line);
      padding: 10px 16px;
      background: var(--trans-grey);
      font-size: 13px;
      font-weight: 700;
      border-radius: 20px;
      box-shadow: 0 10px 28px rgba(0,0,0,0.055);
      transition: 0.22s ease;
    }

    .quick-menu a:hover {
      transform: translateY(-2px);
      background: #ffffff;
      box-shadow: 0 16px 34px rgba(0,0,0,0.09);
    }

    .about-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px 34px;
      margin-top: 34px;
      padding: 0;
      list-style: none;
    }

    .about-list li::before {
      content: "—";
      color: var(--gold);
      margin-right: 10px;
    }

    .process {
      background: var(--dark);
      color: var(--white);
      margin: 0 18px;
      border-radius: 30px;
      overflow: hidden;
      box-shadow: 0 22px 70px rgba(0,0,0,0.16);
    }

    .process .eyebrow,
    .process .muted {
      color: #c9b48e;
    }

    .process-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
      background: transparent;
      margin-top: 50px;
    }

    .process-card {
      background: rgba(255,255,255,0.055);
      border: 1px solid rgba(255,255,255,0.09);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
      padding: 36px 30px;
      min-height: 250px;
      border-radius: 20px;
    }

    .process-card .num {
      font-family: "Arial Nova", Arial, Helvetica, sans-serif;
      font-size: 46px;
      color: var(--gold);
      margin-bottom: 34px;
      display: block;
    }

    .process-card h3 {
      font-size: 24px;
      margin: 0 0 14px;
    }

    .process-card p,
    .process-card .process-body {
      color: #cfcfcf;
      font-size: 14px;
      margin: 0;
    }

    .feature-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 70px;
      align-items: center;
    }

    .feature-images {
      display: grid;
      grid-template-columns: 0.85fr 1.15fr;
      gap: 20px;
      align-items: end;
    }

    .feature-images .small {
      aspect-ratio: 4 / 5;
      margin-top: 70px;
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 18px 50px rgba(0,0,0,0.12);
    }

    .feature-images .large {
      aspect-ratio: 4 / 5.6;
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 18px 50px rgba(0,0,0,0.12);
    }

    .tabs {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      margin: 25px 0;
      padding: 0;
      list-style: none;
    }

    .tabs a {
      font-size: 13px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--muted);
    }

    .case-studies {
      background: rgba(0,0,0,0.035);
      margin: 18px;
      border-radius: 30px;
    }

    .project-filter {
      display: flex;
      gap: 22px;
      flex-wrap: wrap;
      margin: 40px 0;
      padding: 0;
      list-style: none;
      font-weight: 700;
      color: var(--muted);
    }

    .project-filter li:first-child {
      color: var(--dark);
    }

    .project-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    .project-card {
      position: relative;
      min-height: 310px;
      overflow: hidden;
      background: #ddd;
      box-shadow: 0 16px 44px rgba(0,0,0,0.12);
    }

    .project-card::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.72), transparent);
    }

    .project-card img {
      transition: 0.55s ease;
    }

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

    .project-card h3 {
      position: absolute;
      z-index: 2;
      left: 22px;
      right: 22px;
      bottom: 20px;
      color: var(--white);
      margin: 0;
      font-family: "Arial Nova", Arial, Helvetica, sans-serif;
      font-size: 17px;
      line-height: 1.05;
    }

    footer {
      background: #717171;
      color: var(--white);
      padding: 80px 0 35px;
      margin: 18px;
      border-radius: 30px 30px 0 0;
      box-shadow: 0 -10px 45px rgba(0,0,0,0.12);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.4fr 0.7fr 1fr;
      gap: 60px;
    }

    footer h2 {
      font-family: "Arial Nova", Arial, Helvetica, sans-serif;
      font-size: clamp(25px, 1.2vw, 48px);
      line-height: 1.12;
      font-weight: 700;
      margin: 0 0 20px;
    }

    footer p,
    footer li {
      color: #ffffff;
    }

    footer ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }

    footer li {
      margin-bottom: 10px;
    }

    footer h4 {
      color: #ffffff;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      font-size: 15px;
      margin: 0 0 18px;
    }

    .copyright {
      border-top: 1px solid rgba(255,255,255,0.14);
      margin-top: 60px;
      padding-top: 24px;
      color: #ffffff;
      font-size: 13px;
    }

    @media (max-width: 1180px) {
      .hero-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .hero-card {
        min-height: 460px;
      }
    }

    @media (max-width: 980px) {
      .mobile-toggle {
        display: block;
      }

      .mobile-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.34);
        opacity: 0;
        pointer-events: none;
        transition: 0.25s ease;
        z-index: 150;
      }

      .mobile-backdrop.is-open {
        opacity: 1;
        pointer-events: auto;
      }

      .menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(390px, 88vw);
        height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 104px 24px 28px;
        background: rgba(255,255,255,0.99);
        border-left: 1px solid rgba(0,0,0,0.08);
        box-shadow: -24px 0 70px rgba(0,0,0,0.16);
        transform: translateX(105%);
        transition: transform 0.28s ease;
        z-index: 240;
        overflow-y: auto;
        font-size: 16px;
        pointer-events: auto;
      }

      .menu.is-open {
        transform: translateX(0);
      }

      .menu li {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.08);
      }

      .menu > li > a,
      .menu > li > .submenu-toggle {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 0;
        min-height: 52px;
      }

      .menu > li > a::after,
      .menu > li > .submenu-toggle::after {
        display: none;
      }

      .menu li:hover .chevron {
        transform: none;
      }

      .menu li.is-submenu-open .chevron {
        transform: rotate(180deg);
      }

      .dropdown {
        position: static;
        min-width: 0;
        width: 100%;
        max-height: 0;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        overflow: hidden;
        padding: 0 16px;
        margin: 0;
        border: 0;
        border-radius: 16px;
        box-shadow: none;
        background: rgba(0,0,0,0.035);
        transition: max-height 0.28s ease, padding 0.28s ease, margin 0.28s ease;
      }

      .menu li:hover .dropdown {
        transform: none;
      }

      .menu li.is-submenu-open .dropdown {
        max-height: 700px;
        padding: 16px;
        margin: 0 0 16px;
      }

      .dropdown a {
        padding: 9px 0;
        position: relative;
        z-index: 2;
      }

      .hero-grid,
      .process-grid,
      .project-grid,
      .intro-grid,
      .feature-grid,
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }

      .hero-grid {
        padding: 14px;
        gap: 14px;
      }

      .hero-card {
        min-height: 430px;
      }

      section {
        padding: 70px 0;
      }
    }

    @media (max-width: 640px) {
      .container {
        width: min(100% - 28px, 1180px);
      }

      .logo img {
        height: 48px;
      }

      .hero-grid,
      .process-grid,
      .project-grid,
      .intro-grid,
      .feature-grid,
      .footer-grid,
      .about-list,
      .feature-images {
        grid-template-columns: 1fr;
      }

      .nav {
        min-height: 70px;
      }

      .hero-grid {
        padding: 10px;
        gap: 12px;
      }

      .hero-card {
        min-height: 360px;
        border-radius: 18px;
      }

      .hero-content h2 {
        font-size: 28px;
      }

      .feature-images .small {
        margin-top: 0;
      }

      .process,
      .case-studies,
      footer {
        margin-left: 10px;
        margin-right: 10px;
        border-radius: 22px;
      }

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


/* Rich text content from the admin WYSIWYG editor */
.rich-text p {
  margin: 0 0 1em;
}

.rich-text p:last-child {
  margin-bottom: 0;
}

.rich-text ul,
.rich-text ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
}

.rich-text strong {
  font-weight: 800;
}
