/*
Theme Name: Scope Theme
Theme URI: https://scopemfg.com/
Author: Scope Technology & Manufacturing
Description: WordPress theme conversion of the Scope single-page site.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: scope-theme
*/

    :root {
      --bg: #081a1c;
      --bg-soft: #0f2a2d;
      --card: #132f33;
      --line: #2a4b4f;
      --text: #e8f2ef;
      --muted: #b8ccc6;
      --accent: #8ac941;
      --accent-dark: #5ea92c;
      --max: 1180px;
      --radius: 16px;
      --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: "Space Grotesk", "Segoe UI", sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at 90% -10%, rgba(138, 201, 65, 0.11), transparent 35%),
        radial-gradient(circle at 0% 40%, rgba(138, 201, 65, 0.06), transparent 35%),
        var(--bg);
      line-height: 1.55;
    }

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

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

    .container {
      width: min(100% - 2rem, var(--max));
      margin-inline: auto;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 30;
      backdrop-filter: blur(8px);
      background: rgba(8, 26, 28, 0.82);
      border-bottom: 1px solid rgba(138, 201, 65, 0.08);
      overflow: visible;
    }

    .header-inner {
      min-height: 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }

    .brand-logo {
      width: 108px;
      height: 108px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transform: translateY(22px);
    }

    .brand-logo img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .nav {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      font-size: 0.92rem;
      color: var(--muted);
      margin-left: auto;
      align-items: center;
    }

    .nav a:hover,
    .nav button:hover {
      color: var(--text);
    }

    .nav button {
      font: inherit;
      color: inherit;
      background: none;
      border: 0;
      padding: 0;
      cursor: pointer;
    }

    .offerings-trigger {
      display: inline-flex;
      align-items: center;
      gap: 0.28rem;
    }

    .offerings-trigger svg {
      width: 16px;
      height: 16px;
      transition: transform 180ms ease;
    }

    .offerings-dropdown {
      position: relative;
    }

    .offerings-menu {
      position: fixed;
      top: 92px;
      left: 50%;
      transform: translateX(-50%);
      width: min(95vw, 1320px);
      max-height: calc(100dvh - 120px);
      overflow-y: auto;
      background: linear-gradient(180deg, rgba(15, 42, 45, 0.99), rgba(8, 26, 28, 0.99));
      border: 1px solid rgba(138, 201, 65, 0.08);
      border-radius: 14px;
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 180ms ease, visibility 180ms ease;
      z-index: 55;
      padding: 1.2rem;
    }

    .offerings-menu-grid {
      display: grid;
      gap: 1rem;
      grid-template-columns: 1fr 1fr;
    }

    .offerings-menu h4 {
      margin: 0 0 0.6rem;
      font-size: 0.95rem;
      color: #d9efb7;
      letter-spacing: 0.03em;
      text-transform: uppercase;
    }

    .offerings-menu-block {
      border: 1px solid rgba(138, 201, 65, 0.07);
      border-radius: 12px;
      background: rgba(8, 25, 27, 0.72);
      padding: 0.9rem;
    }

    .offerings-links {
      display: grid;
      gap: 0.5rem;
      grid-template-columns: 1fr 1fr;
    }

    .offerings-links a {
      border: 1px solid rgba(138, 201, 65, 0.06);
      border-radius: 10px;
      padding: 0.66rem 0.72rem;
      color: var(--muted);
      background: rgba(7, 22, 24, 0.5);
      font-weight: 600;
      font-size: 0.93rem;
    }

    .offerings-links a:hover {
      color: var(--text);
      border-color: rgba(138, 201, 65, 0.12);
    }

    .offerings-posts {
      display: grid;
      gap: 0.75rem;
    }

    .mini-post {
      display: grid;
      grid-template-columns: 132px 1fr;
      gap: 0.8rem;
      align-items: start;
      border: 1px solid rgba(138, 201, 65, 0.06);
      border-radius: 12px;
      overflow: hidden;
      background: rgba(7, 22, 24, 0.52);
    }

    .mini-post img {
      width: 100%;
      height: 100%;
      min-height: 115px;
      object-fit: cover;
    }

    .mini-post-copy {
      padding: 0.62rem 0.7rem;
    }

    .mini-post-copy h5 {
      margin: 0;
      color: var(--text);
      font-size: 0.92rem;
      line-height: 1.3;
    }

    .offerings-contact-btn {
      display: inline-block;
      margin-top: 0.8rem;
      border-radius: 999px;
      border: 1px solid rgba(138, 201, 65, 0.14);
      padding: 0.52rem 0.94rem;
      color: #e7f7d5;
      background: rgba(12, 36, 22, 0.45);
      font-weight: 600;
      font-size: 0.9rem;
    }

    body.offerings-open .offerings-menu {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    body.offerings-open .offerings-trigger svg {
      transform: rotate(180deg);
    }

    .menu-toggle {
      display: none;
      width: 44px;
      height: 44px;
      border-radius: 12px;
      border: 1px solid rgba(138, 201, 65, 0.12);
      background: rgba(15, 42, 45, 0.92);
      color: var(--text);
      align-items: center;
      justify-content: center;
      padding: 0;
      cursor: pointer;
      order: 3;
    }

    .menu-toggle span {
      display: block;
      width: 18px;
      height: 2px;
      border-radius: 999px;
      background: currentColor;
      transition: transform 180ms ease, opacity 180ms ease;
    }

    .menu-toggle span + span {
      margin-top: 4px;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
      transform: translateY(6px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
      opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
      transform: translateY(-6px) rotate(-45deg);
    }

    .flyout-overlay {
      position: fixed;
      inset: 0;
      background: rgba(3, 10, 12, 0.55);
      backdrop-filter: blur(1px);
      opacity: 0;
      pointer-events: none;
      transition: opacity 180ms ease;
      z-index: 35;
    }

    .flyout {
      position: fixed;
      top: 0;
      right: 0;
      width: min(94vw, 920px);
      height: 100dvh;
      padding: 1rem;
      background: linear-gradient(180deg, rgba(15, 42, 45, 0.98), rgba(8, 26, 28, 0.98));
      border-left: 1px solid rgba(138, 201, 65, 0.08);
      transform: translateX(100%);
      transition: transform 220ms ease;
      z-index: 40;
      overflow-y: auto;
    }

    .flyout-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 0.25rem 0.2rem 0.9rem;
      border-bottom: 1px solid rgba(138, 201, 65, 0.06);
      margin-bottom: 0.9rem;
    }

    .flyout-head h3 {
      margin: 0;
      font-family: "Barlow Condensed", sans-serif;
      font-size: 1.35rem;
      letter-spacing: 0.02em;
    }

    .flyout-close {
      width: 38px;
      height: 38px;
      border: 1px solid rgba(138, 201, 65, 0.1);
      border-radius: 10px;
      color: var(--text);
      background: rgba(9, 27, 29, 0.72);
      cursor: pointer;
    }

    .flyout-grid {
      display: grid;
      gap: 1rem;
      grid-template-columns: 1fr 1fr;
      align-items: start;
    }

    .flyout-block {
      border: 1px solid rgba(138, 201, 65, 0.07);
      border-radius: 12px;
      background: rgba(8, 25, 27, 0.65);
      padding: 0.8rem;
    }

    .flyout-block h4 {
      margin: 0 0 0.6rem;
      font-size: 0.95rem;
      color: #d9efb7;
      letter-spacing: 0.03em;
      text-transform: uppercase;
    }

    .flyout-links {
      display: grid;
      gap: 0.45rem;
    }

    .flyout-links a {
      color: var(--muted);
      border: 1px solid rgba(138, 201, 65, 0.06);
      border-radius: 10px;
      padding: 0.7rem 0.75rem;
      background: rgba(7, 22, 24, 0.55);
    }

    .flyout-links a:hover {
      color: var(--text);
      border-color: rgba(138, 201, 65, 0.12);
    }

    .blog-featured {
      display: grid;
      gap: 0.65rem;
      border: 1px solid rgba(138, 201, 65, 0.07);
      border-radius: 12px;
      overflow: hidden;
      background: rgba(7, 20, 22, 0.65);
    }

    .blog-featured img {
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: cover;
    }

    .blog-copy {
      padding: 0 0.75rem 0.85rem;
    }

    .blog-copy h5 {
      margin: 0 0 0.35rem;
      color: var(--text);
      font-size: 1rem;
      line-height: 1.25;
    }

    .blog-copy p {
      margin: 0;
      color: var(--muted);
      font-size: 0.88rem;
    }

    .contact-link {
      display: inline-block;
      margin-top: 0.75rem;
      border-radius: 999px;
      border: 1px solid rgba(138, 201, 65, 0.14);
      padding: 0.5rem 0.9rem;
      color: #e7f7d5;
      background: rgba(12, 36, 22, 0.45);
      font-weight: 600;
      font-size: 0.9rem;
    }

    body.flyout-open {
      overflow: hidden;
    }

    body.flyout-open .flyout-overlay {
      opacity: 1;
      pointer-events: auto;
    }

    body.flyout-open .flyout {
      transform: translateX(0);
    }

    .hero {
      min-height: calc(100vh - 72px);
      display: grid;
      place-items: center;
      position: relative;
      isolation: isolate;
      overflow: hidden;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(105deg, rgba(8, 26, 28, 0.85) 25%, rgba(8, 26, 28, 0.58) 65%, rgba(8, 26, 28, 0.92) 100%),
        url("https://scopemfg.com/wp-content/uploads/2025/01/ground.png") center/cover no-repeat;
      z-index: -2;
      transform: scale(1.04);
      animation: heroZoom 16s ease-in-out infinite alternate;
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(8, 26, 28, 0.95) 0%, transparent 45%);
      z-index: -1;
    }

    @keyframes heroZoom {
      from { transform: scale(1.02); }
      to { transform: scale(1.08); }
    }

    .hero-content {
      width: min(100% - 2rem, var(--max));
      padding: 2rem 0 4rem;
      animation: rise 650ms ease-out both;
    }

    @keyframes rise {
      from { opacity: 0; transform: translateY(22px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .eyebrow {
      font-family: "Barlow Condensed", sans-serif;
      font-size: 1rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 0.75rem;
    }

    .hero h1 {
      margin: 0;
      font-family: "Barlow Condensed", sans-serif;
      font-size: clamp(2.1rem, 6vw, 4.75rem);
      line-height: 0.95;
      max-width: 13ch;
    }

    .hero h1 .highlight {
      background: linear-gradient(to right, var(--accent), #b9e972);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .hero p {
      max-width: 62ch;
      color: var(--muted);
      margin-top: 1.15rem;
      margin-bottom: 1.8rem;
    }

    .actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
    }

    .btn {
      padding: 0.78rem 1.05rem;
      border-radius: 999px;
      border: 1px solid transparent;
      font-weight: 600;
      font-size: 0.92rem;
      transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
    }

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

    .btn-primary {
      background: var(--accent);
      color: #102412;
    }

    .btn-primary:hover {
      background: #9cde4f;
    }

    .btn-secondary {
      border-color: rgba(232, 242, 239, 0.34);
      color: var(--text);
      background: rgba(19, 47, 51, 0.62);
    }

    section {
      padding: 4.5rem 0;
    }

    h2 {
      margin: 0 0 0.8rem;
      font-family: "Barlow Condensed", sans-serif;
      font-size: clamp(1.8rem, 4vw, 3rem);
      line-height: 1;
      letter-spacing: 0.01em;
    }

    .section-copy {
      color: var(--muted);
      max-width: 75ch;
      margin-bottom: 1.5rem;
    }

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

    .card {
      background: linear-gradient(180deg, rgba(19, 47, 51, 0.9), rgba(13, 36, 39, 0.95));
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 1.1rem 1rem;
      box-shadow: var(--shadow);
    }

    .card h3 {
      margin: 0 0 0.5rem;
      font-size: 1.05rem;
      color: var(--accent);
    }

    .card p,
    .card li {
      color: var(--muted);
      margin: 0.25rem 0;
    }

    ul.clean {
      margin: 0;
      padding-left: 1.1rem;
    }

    .truth blockquote {
      margin: 0;
      padding: 1rem 1.1rem;
      background: rgba(138, 201, 65, 0.11);
      border-left: 4px solid rgba(138, 201, 65, 0.5);
      border-radius: 10px;
      color: #e4f8d0;
      font-weight: 500;
    }

    .offers {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.9rem;
    }

    .offer {
      background: rgba(15, 42, 45, 0.75);
      border: 1px solid rgba(138, 201, 65, 0.08);
      border-radius: 12px;
      padding: 1rem;
    }

    .offer a {
      color: #eaf8d8;
      font-weight: 600;
    }

    .qa-list {
      display: grid;
      gap: 0.85rem;
    }

    .qa-item {
      border: 1px solid var(--line);
      background: rgba(14, 36, 39, 0.88);
      border-radius: 12px;
      padding: 0.95rem 1rem;
    }

    .qa-item strong {
      color: var(--accent);
    }

    .team-showcase {
      border: 1px solid rgba(138, 201, 65, 0.07);
      border-radius: 18px;
      padding: 1.1rem;
      background: linear-gradient(140deg, rgba(10, 38, 25, 0.92), rgba(9, 30, 32, 0.92));
      box-shadow: var(--shadow);
    }

    .team-intro {
      display: grid;
      grid-template-columns: 1fr 1.3fr;
      gap: 1rem;
      align-items: end;
      margin-bottom: 1rem;
    }

    .team-intro h2 {
      margin: 0;
      font-size: clamp(2rem, 4vw, 3rem);
      line-height: 0.95;
    }

    .team-intro p {
      margin: 0;
      color: #cfdfd9;
      font-size: 1.05rem;
      max-width: 60ch;
    }

    .team-grid {
      display: grid;
      gap: 0.95rem;
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .team-member {
      background: rgba(10, 29, 31, 0.86);
      border: 1px solid rgba(138, 201, 65, 0.06);
      border-radius: 14px;
      overflow: hidden;
    }

    .team-photo-wrap {
      position: relative;
      background: #274843;
      aspect-ratio: 4 / 5;
    }

    .team-photo {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .team-info {
      padding: 0.8rem 0.8rem 0.9rem;
    }

    .team-name {
      margin: 0;
      color: #f0f7f3;
      font-size: 1.2rem;
      line-height: 1.1;
    }

    .team-role {
      margin: 0.2rem 0 0.5rem;
      color: #d3e8bf;
      font-weight: 700;
      font-size: 0.9rem;
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }

    .team-bio {
      margin: 0;
      color: #b7cbc5;
      font-size: 0.86rem;
      line-height: 1.45;
    }

    .image-strip {
      margin-top: 1rem;
      display: grid;
      gap: 1rem;
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pdf-figure {
      margin: 0;
      border: 1px solid var(--line);
      border-radius: 14px;
      overflow: hidden;
      background: rgba(11, 32, 35, 0.9);
      box-shadow: var(--shadow);
    }

    .pdf-figure img {
      width: 100%;
      height: auto;
      object-fit: cover;
      display: block;
    }

    .image-strip .pdf-figure img {
      height: clamp(220px, 28vw, 340px);
      object-position: center bottom;
    }

    .pdf-figure figcaption {
      padding: 0.75rem 0.9rem;
      color: var(--muted);
      font-size: 0.88rem;
      border-top: 1px solid rgba(184, 204, 198, 0.16);
    }

    .diagram-grid {
      margin-top: 1rem;
      display: grid;
      gap: 1rem;
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .visual-banner {
      padding: 0;
    }

    .visual-banner .banner-frame {
      position: relative;
      border-radius: 18px;
      overflow: hidden;
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
    }

    .visual-banner img {
      width: 100%;
      min-height: 270px;
      object-fit: cover;
    }

    .visual-banner .banner-copy {
      position: absolute;
      inset: auto 0 0 0;
      padding: 1.1rem 1rem;
      background: linear-gradient(to top, rgba(8, 26, 28, 0.92), rgba(8, 26, 28, 0.06));
      font-family: "Barlow Condensed", sans-serif;
      font-size: clamp(1.3rem, 3vw, 2rem);
      color: #f4d246;
      letter-spacing: 0.02em;
    }

    .contact-wrap {
      display: flex;
      justify-content: center;
    }

    .contact-wrap .card {
      width: min(860px, 100%);
    }

    .contact-form-wrap {
      margin-top: 0.8rem;
    }

    .contact-form-wrap .wpforms-container,
    .contact-form-wrap .wpforms-form {
      margin-left: auto;
      margin-right: auto;
    }

    .contact-list {
      list-style: none;
      margin: 0;
      padding: 0;
      color: var(--muted);
    }

    .contact-list li {
      padding: 0.4rem 0;
      border-bottom: 1px solid rgba(184, 204, 198, 0.18);
    }

    .footer {
      color: #b7cbc5;
      background: linear-gradient(180deg, #0f2a23 0%, #0c211c 100%);
      padding: 3rem 0 1.3rem;
      font-size: 0.92rem;
    }

    .footer-shell {
      display: grid;
      gap: 1.2rem;
      grid-template-columns: 1fr 2fr 1.1fr;
      align-items: start;
    }

    .footer-brand {
      display: grid;
      gap: 0.8rem;
    }

    .footer-logo img {
      width: min(220px, 100%);
      height: auto;
      display: block;
    }

    .footer-brand p {
      margin: 0;
      color: #9fbab2;
      line-height: 1.5;
      max-width: 34ch;
    }

    .footer-links-grid {
      display: grid;
      gap: 1rem;
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-links-grid h4,
    .footer-posts h4 {
      margin: 0 0 0.7rem;
      font-size: 0.88rem;
      color: #d9efb7;
      letter-spacing: 0.03em;
      text-transform: uppercase;
    }

    .footer-links-grid ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 0.42rem;
    }

    .footer-links-grid a {
      color: #b7cbc5;
      line-height: 1.3;
    }

    .footer-links-grid a:hover {
      color: #e7f7d5;
    }

    .footer-post-grid {
      display: grid;
      gap: 0.65rem;
    }

    .footer-post-card {
      display: grid;
      grid-template-columns: 110px 1fr;
      gap: 0.6rem;
      align-items: start;
      border-radius: 12px;
      overflow: hidden;
      background: rgba(7, 22, 24, 0.55);
      padding-right: 0.45rem;
    }

    .footer-post-card img {
      width: 100%;
      height: 100%;
      min-height: 84px;
      object-fit: cover;
      display: block;
    }

    .footer-post-card h5 {
      margin: 0.5rem 0;
      color: #dce9de;
      font-size: 0.88rem;
      line-height: 1.25;
      font-weight: 600;
    }

    .footer-bottom {
      margin-top: 1.4rem;
      padding-top: 0.9rem;
      border-top: 1px solid rgba(184, 204, 198, 0.16);
    }

    .footer-bottom p {
      margin: 0;
      color: #95afa8;
    }

    .value-section {
      padding: 3.5rem 0;
      background: #142B1D;
    }

    .value-layout {
      display: grid;
      gap: 1rem;
      grid-template-columns: 54px minmax(0, 1.1fr) minmax(0, 1.2fr);
      align-items: stretch;
    }

    .value-rail {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      color: #8ec54a;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      font-size: 0.8rem;
    }

    .value-rail-top,
    .value-rail-bottom {
      margin: 0;
      writing-mode: vertical-rl;
      transform: rotate(180deg);
      text-align: center;
    }

    .value-rail-dots {
      display: grid;
      gap: 0.6rem;
      margin-bottom: 0.25rem;
    }

    .value-rail-dots span {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #82c341;
    }

    .value-copy {
      padding: 0.5rem 0.5rem 0.5rem 0;
    }

    .value-copy h2 {
      margin-top: 0;
      margin-bottom: 1.3rem;
      font-size: clamp(2rem, 5.1vw, 4.2rem);
      line-height: 0.95;
      max-width: 9ch;
      color: #ecf1e8;
    }

    .value-copy ul {
      margin: 0;
      padding-left: 1.2rem;
      display: grid;
      gap: 0.65rem;
      color: #d9e4d8;
      font-size: clamp(1rem, 1.7vw, 1.22rem);
      max-width: 31ch;
    }

    .value-copy li strong {
      color: #ffffff;
      font-weight: 700;
    }

    .value-tagline {
      margin: 1.2rem 0 0;
      color: #8ec54a;
      font-size: clamp(1.3rem, 2.5vw, 2rem);
      font-weight: 700;
    }

    .value-media-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.9rem;
      align-content: start;
    }

    .value-tile {
      margin: 0;
      overflow: hidden;
      background: rgba(10, 31, 22, 0.55);
      min-height: 210px;
    }

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

    .portfolio-section {
      padding: 3.5rem 0;
      background: #10251E;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .portfolio-layout {
      display: grid;
      gap: 1.6rem;
      grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
      align-items: start;
    }

    .portfolio-copy h2 {
      margin: 0 0 0.9rem;
      color: #f2f6ed;
      font-size: clamp(2rem, 4.4vw, 3.8rem);
    }

    .portfolio-copy h3 {
      margin: 0 0 1rem;
      color: #f2f6ed;
      font-family: "Barlow Condensed", sans-serif;
      font-size: clamp(2rem, 4.8vw, 4.3rem);
      line-height: 0.95;
    }

    .portfolio-copy h3 span {
      color: #8ec54a;
    }

    .portfolio-copy ul {
      margin: 0;
      padding-left: 1.15rem;
      color: #d8e7dc;
      font-size: clamp(1rem, 1.45vw, 1.06rem);
      line-height: 1.35;
      display: grid;
      gap: 0.8rem;
      max-width: 40ch;
    }

    .portfolio-sublist {
      margin-top: 0.55rem !important;
      padding-left: 2rem !important;
      gap: 0.35rem !important;
      list-style: circle;
    }

    .portfolio-media-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      margin-bottom: 0.65rem;
    }

    .portfolio-media-title {
      margin: 0;
      color: #f3f6f0;
      font-family: "Barlow Condensed", sans-serif;
      font-size: clamp(1.2rem, 2.1vw, 1.9rem);
      font-weight: 700;
      letter-spacing: 0.01em;
    }

    .portfolio-dots {
      display: flex;
      gap: 0.45rem;
    }

    .portfolio-dots span {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      border: 2px solid rgba(231, 239, 229, 0.7);
      opacity: 0.9;
    }

    .portfolio-grid {
      display: grid;
      gap: 0.75rem;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-template-areas:
        "tl tr"
        "bl br";
    }

    .portfolio-tile {
      margin: 0;
      background: transparent;
      border: 0;
    }

    .portfolio-tile-tl { grid-area: tl; }
    .portfolio-tile-tr { grid-area: tr; }
    .portfolio-tile-bl { grid-area: bl; }
    .portfolio-tile-br { grid-area: br; }

    .portfolio-tile img {
      display: block;
      width: 100%;
      aspect-ratio: 4 / 4;
      object-fit: cover;
      background: #f0f1f2;
    }

    .portfolio-tile figcaption {
      padding: 0.45rem 0.2rem 0;
      text-align: center;
      color: #edf6ec;
      font-size: 1.02rem;
      line-height: 1.2;
    }

    .portfolio-section-evap {
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .portfolio-evap-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 0.7rem;
    }

    .portfolio-evap-head h2 {
      margin: 0;
      color: #f2f6ed;
      font-size: clamp(2rem, 4.4vw, 3.8rem);
    }

    .portfolio-evap-title {
      margin: 0 0 1rem;
      color: #8ec54a;
      font-family: "Barlow Condensed", sans-serif;
      font-size: clamp(2rem, 5vw, 4.2rem);
      line-height: 0.95;
    }

    .portfolio-evap-grid {
      display: grid;
      gap: 1.5rem;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      align-items: start;
    }

    .portfolio-evap-col ul {
      margin: 0.8rem 0 0;
      padding-left: 1.15rem;
      color: #edf5ec;
      display: grid;
      gap: 0.8rem;
      font-size: clamp(1.02rem, 1.55vw, 1.15rem);
      line-height: 1.35;
    }

    .portfolio-evap-col li strong {
      font-weight: 700;
    }

    .portfolio-evap-image {
      margin: 0;
      background: #f1f3f2;
      border: 1px solid rgba(255, 255, 255, 0.45);
    }

    .portfolio-evap-image img {
      width: 100%;
      display: block;
     
      object-fit: cover;
    }

    .portfolio-section-vessels {
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      background: #1E553A;
    }

    .portfolio-vessels-title {
      margin: 0 0 1rem;
      color: #8ec54a;
      font-family: "Barlow Condensed", sans-serif;
      font-size: clamp(2rem, 5vw, 4.2rem);
      line-height: 0.95;
    }

    .portfolio-vessels-image {
      margin: 0;
      background: #f1f3f2;
      border: 1px solid rgba(255, 255, 255, 0.45);
    }

    .portfolio-vessels-image img {
      width: 100%;
      display: block;
      aspect-ratio: 16 / 6;
      object-fit: cover;
    }

    .portfolio-vessels-copy {
      margin: 1rem auto 0;
      color: #edf5ec;
      text-align: center;
      font-size: clamp(1.05rem, 1.55vw, 1.14rem);
      line-height: 1.45;
      max-width: 72ch;
    }

    .orc-section {
      border-top: none;
      background: #224130;
    }

    .orc-layout {
      display: grid;
      gap: 1.5rem;
      grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
      align-items: start;
    }

    .orc-copy h2 {
      margin: 0 0 1rem;
      color: #e8efe5;
      font-size: clamp(2rem, 4.8vw, 4rem);
      line-height: 0.98;
    }

    .orc-copy p {
      margin: 0 0 1rem;
      color: #dceadf;
      font-size: clamp(1.05rem, 1.55vw, 1.28rem);
      line-height: 1.35;
      max-width: 36ch;
    }

    .orc-image {
      margin: 0;
      background: transparent;
      border: none;
    }

    .orc-image img {
      width: 100%;
      display: block;
      height: auto;
      aspect-ratio: auto;
      object-fit: contain;
    }

    #offerings {
      background: linear-gradient(102deg, #184734 0%, #1b4d38 54%, #1f543c 100%);
    }

    .visual-banner {
      background: linear-gradient(102deg, #174231 0%, #1a4834 52%, #1d4e38 100%);
    }

    #qa {
      background: linear-gradient(102deg, #163d2e 0%, #194332 55%, #1d4a36 100%);
    }

    #team {
      background: linear-gradient(102deg, #15382a 0%, #183f2f 56%, #1b4634 100%);
    }

    #contact {
      background: linear-gradient(102deg, #143426 0%, #173a2b 55%, #1a4130 100%);
    }

    /* Remove light green container outlines across the theme. */
    .site-header,
    .offerings-menu,
    .offerings-menu-block,
    .offerings-links a,
    .mini-post,
    .offerings-contact-btn,
    .menu-toggle,
    .flyout,
    .flyout-head,
    .flyout-close,
    .flyout-block,
    .flyout-links a,
    .blog-featured,
    .contact-link,
    .card,
    .offer,
    .qa-item,
    .team-showcase,
    .team-member,
    .pdf-figure,
    .banner-frame,
    .footer {
      border: none !important;
    }

    @media (max-width: 980px) {
      .grid-2,
      .offers,
      .team-grid,
      .image-strip,
      .diagram-grid {
        grid-template-columns: 1fr;
      }

      .value-layout {
        grid-template-columns: 1fr;
      }

      .portfolio-layout {
        grid-template-columns: 1fr;
      }

      .portfolio-evap-grid {
        grid-template-columns: 1fr;
      }

      .orc-layout {
        grid-template-columns: 1fr;
      }

      .footer-shell {
        grid-template-columns: 1fr;
      }

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

      .portfolio-vessels-copy {
        max-width: none;
      }

      .orc-copy p {
        max-width: none;
      }

      .value-rail {
        display: none;
      }

      .value-copy {
        padding-right: 0;
      }

      .value-copy ul {
        max-width: none;
      }

      .portfolio-copy ul {
        max-width: none;
      }

      .hero {
        min-height: 78vh;
      }

      .nav {
        display: none;
      }

      .menu-toggle {
        display: inline-flex;
      }

      .offerings-menu {
        display: none;
      }

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

      .team-intro {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 620px) {
      .header-inner {
        align-items: center;
        padding: 0.65rem 0;
        min-height: 84px;
      }

      .nav {
        display: none;
      }

      .brand-logo {
        width: 86px;
        height: 86px;
        transform: translateY(6px);
      }

      .hero-content {
        padding-top: 1.5rem;
      }

      .portfolio-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
          "tl"
          "tr"
          "bl"
          "br";
      }

      .portfolio-evap-image img {
        aspect-ratio: 16 / 9;
      }

      .portfolio-vessels-image img {
        aspect-ratio: 16 / 8;
      }

      .orc-image img {
        aspect-ratio: auto;
      }

      .footer-links-grid {
        grid-template-columns: 1fr;
      }

      .footer-post-card {
        grid-template-columns: 96px 1fr;
      }
    }
