/* KAMACH VENTURES — lightweight, responsive site styles */
:root {
  color-scheme: light;
  --navy: #142d43;
  --navy-deep: #0c2030;
  --navy-soft: #203f57;
  --orange: #bd4d08;
  --orange-bright: #ff862d;
  --ink: #1c2d3b;
  --muted: #536473;
  --line: #dbe2e6;
  --pale: #f3f6f7;
  --white: #fff;
  --content-width: 1200px;
  --page-gutter: clamp(20px, 4vw, 48px);
  --section-space: clamp(56px, 7vw, 92px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 24px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

img,
picture,
svg {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

a {
  color: var(--orange);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--navy);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #e76b13;
  outline-offset: 3px;
}

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

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.55em;
  color: var(--navy);
  line-height: 1.16;
}

h1,
h2 {
  letter-spacing: -0.025em;
}

h3,
h4 {
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1.15em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  padding-left: 1.3em;
}

li + li {
  margin-top: 0.35em;
}

.container {
  width: min(100% - 2 * var(--page-gutter), var(--content-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  transform: translateY(-180%);
  background: var(--white);
  color: var(--navy-deep);
  font-weight: 700;
  box-shadow: 0 4px 16px #0003;
}

.skip-link:focus {
  transform: translateY(0);
}

.icon {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
  vertical-align: -0.13em;
  fill: currentColor;
}

/* Header and primary navigation */
.utility-bar {
  background: var(--pale);
  border-bottom: 1px solid #e8edef;
  color: #425768;
  font-size: 0.8rem;
  font-weight: 600;
}

.utility-bar .container {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.utility-bar a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: inherit;
}

.utility-bar a:hover {
  color: var(--orange);
}

.site-header {
  position: relative;
  z-index: 30;
  background: var(--white);
}

.header-inner {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 19px;
}

.brand {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  border-left: 5px solid var(--orange);
  padding-left: 14px;
  color: var(--navy-deep);
  text-decoration: none;
}

.brand:hover {
  color: var(--navy-deep);
}

.brand img {
  width: auto;
  max-width: 230px;
  max-height: 76px;
  object-fit: contain;
}

.brand-name {
  display: block;
  color: var(--navy);
  font-size: clamp(1.22rem, 2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: 0.075em;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-sub {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.header-details {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 3vw, 42px);
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.4;
}

.header-details a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.header-details a:hover {
  color: var(--orange);
  text-decoration: underline;
}

.header-details strong {
  display: block;
  color: var(--navy);
}

.main-nav {
  position: relative;
  z-index: 25;
  background: var(--navy);
  color: var(--white);
}

.nav-shell {
  display: flex;
  min-height: 56px;
  align-items: stretch;
}

.nav-links,
.dropdown,
.mobile-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
}

.nav-item,
.nav-links > li {
  position: relative;
  margin: 0;
}

.nav-links > li > a,
.nav-links > li > button,
.nav-links > li > summary,
.nav-links > li > details > summary,
.nav-links > .nav-item > a,
.nav-links > .nav-item > button,
.nav-links > .nav-item > summary,
.nav-links > .nav-item > details > summary {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 14px 19px;
  background: transparent;
  color: var(--white);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}

.nav-links summary,
.menu-toggle {
  list-style: none;
}

.nav-links summary::-webkit-details-marker,
.menu-toggle::-webkit-details-marker {
  display: none;
}

.nav-links > li > details > summary::after,
.nav-links > .nav-item > summary::after {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: -4px 0 0 3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  content: "";
}

.nav-links > li > a:hover,
.nav-links > li > button:hover,
.nav-links > li > details > summary:hover,
.nav-links > li > summary:hover,
.nav-links > li:focus-within > a,
.nav-links > li > a[aria-current="page"],
.nav-links > li > details[open] > summary {
  background: var(--navy-soft);
  color: var(--white);
}

.nav-links a[aria-current="page"] {
  box-shadow: inset 0 -3px var(--orange-bright);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  min-width: 230px;
  padding: 7px 0;
  background: var(--white);
  border-top: 3px solid var(--orange);
  box-shadow: 0 12px 24px #071b2a33;
  visibility: hidden;
  opacity: 0;
}

.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown,
.nav-item:hover > details > .dropdown,
.nav-item:focus-within > details > .dropdown,
.nav-item > details[open] > .dropdown,
details[open] > .dropdown {
  visibility: visible;
  opacity: 1;
}

.dropdown li {
  margin: 0;
}

.dropdown a {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 17px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.dropdown a:hover,
.dropdown a:focus-visible {
  background: var(--pale);
  color: var(--orange);
}

.menu-toggle,
.mobile-menu {
  display: none;
}

/* Home hero */
.home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(470px, 48vw, 640px);
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
}

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

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
  background-position: center;
  background-size: cover;
}

.hero-shade {
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 25, 38, 0.94) 0%, rgba(9, 28, 42, 0.77) 44%, rgba(9, 28, 42, 0.16) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  padding-block: clamp(70px, 9vw, 125px);
}

.eyebrow,
.section-kicker {
  display: block;
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-hero .eyebrow,
.page-masthead .eyebrow,
.site-footer .eyebrow,
.site-footer .section-kicker {
  color: var(--orange-bright);
}

.hero-title {
  max-width: 800px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  font-weight: 800;
  line-height: 1.06;
  text-wrap: balance;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 28px;
  color: #f6f8fa;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.7;
}

.button,
button.button,
input.button,
button[type="submit"],
input[type="submit"] {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 2px solid var(--orange);
  border-radius: 2px;
  padding: 11px 22px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
button.button:hover,
input.button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.button-light {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy);
}

.button-light:hover {
  border-color: var(--white);
  background: transparent;
  color: var(--white);
}

.button-outline {
  border-color: currentColor;
  background: transparent;
  color: var(--navy);
}

.home-hero .button-outline,
.page-masthead .button-outline,
.site-footer .button-outline {
  color: var(--white);
}

.button-outline:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
}

/* Sections, service cards and photographic content */
.intro,
.section-band {
  padding-block: var(--section-space);
}

.intro {
  background: var(--white);
}

.section-band {
  background: var(--pale);
}

.section-band + .section-band {
  border-top: 1px solid var(--line);
}

.section-title {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.1vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
}

.section-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.75;
}

.service-grid,
.project-grid,
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 35px;
}

.service-card,
.project-card,
.photo-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.service-card {
  display: flex;
  flex-direction: column;
  border-bottom: 4px solid var(--orange);
}

.service-card-image,
.project-card > img,
.project-card > a > img,
.photo-card > img,
.photo-card > a > img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #dfe6e9;
}

.service-card-image {
  overflow: hidden;
}

.service-card-image img,
.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px 26px 28px;
}

.service-body h2,
.service-body h3,
.project-card h2,
.project-card h3,
.photo-card h2,
.photo-card h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}

.service-body p,
.project-card p,
.photo-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.service-body > a:last-child {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: auto;
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
}

.service-body > a:last-child:hover {
  color: var(--navy);
  text-decoration: underline;
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(35px, 6vw, 80px);
}

.feature-image {
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  object-fit: cover;
  background: #dfe6e9;
}

.feature-text {
  min-width: 0;
}

.feature-text h2 {
  font-size: clamp(2rem, 3.1vw, 3rem);
}

.feature-text p,
.feature-text li {
  color: var(--muted);
}

.project-card,
.photo-card {
  display: flex;
  flex-direction: column;
}

.project-card > a,
.photo-card > a {
  color: inherit;
  text-decoration: none;
}

.project-card > a:hover,
.photo-card > a:hover {
  color: var(--orange);
}

.project-card > :not(img):not(a),
.photo-card > :not(img):not(a) {
  margin-inline: 22px;
}

.project-card > h2,
.project-card > h3,
.photo-card > h2,
.photo-card > h3 {
  margin-top: 20px;
}

.project-card > p:last-child,
.photo-card > p:last-child {
  margin-bottom: 22px;
}

.photo-card figcaption {
  padding: 16px 20px;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.4;
}

/* Interior pages */
.page-masthead {
  padding-block: clamp(48px, 6vw, 82px);
  background: var(--navy);
  color: var(--white);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 9px;
  margin: 0 0 18px;
  padding: 0;
  color: #e1e8ec;
  font-size: 0.82rem;
  line-height: 1.5;
  list-style: none;
}

.breadcrumbs li {
  margin: 0;
}

.breadcrumbs a {
  color: var(--white);
}

.breadcrumbs a:hover {
  color: #ffd0ac;
}

.page-title {
  max-width: 950px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.45rem, 4vw, 3.7rem);
  line-height: 1.1;
}

.page-lead {
  max-width: 760px;
  margin: 16px 0 0;
  color: #edf2f4;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  align-items: start;
  gap: clamp(32px, 5vw, 68px);
  padding-block: var(--section-space);
}

.content-main,
.rich-content {
  min-width: 0;
}

.rich-content {
  max-width: 820px;
  line-height: 1.75;
}

.rich-content h2 {
  margin-top: 1.65em;
  font-size: clamp(1.65rem, 2.4vw, 2.2rem);
}

.rich-content h3 {
  margin-top: 1.5em;
  font-size: 1.3rem;
}

.rich-content > :first-child {
  margin-top: 0;
}

.rich-content ul,
.rich-content ol {
  margin-block: 1em 1.5em;
}

.rich-content li::marker {
  color: var(--orange);
}

.rich-content img {
  width: 100%;
  height: auto;
  margin-block: 28px;
}

.side-panel {
  padding: 26px;
  border-top: 4px solid var(--orange);
  background: var(--pale);
}

.side-panel h2,
.side-panel h3 {
  font-size: 1.2rem;
}

.side-panel a {
  overflow-wrap: anywhere;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-block: 30px;
}

.contact-card {
  min-width: 0;
  padding: 25px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  background: var(--white);
}

.contact-card h2,
.contact-card h3 {
  font-size: 1.15rem;
}

.contact-card a {
  overflow-wrap: anywhere;
}

.photo-grid figure,
figure.photo-card {
  margin: 0;
}

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

.field {
  min-width: 0;
}

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

.field:has(textarea) {
  grid-column: 1 / -1;
}

.field label,
label.field {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
select,
textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 1px solid #aab8c0;
  border-radius: 2px;
  padding: 11px 13px;
  background: var(--white);
  color: var(--ink);
  line-height: 1.4;
}

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

input::placeholder,
textarea::placeholder {
  color: #637481;
  opacity: 1;
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
}

/* Footer */
.site-footer {
  padding-top: clamp(52px, 6vw, 80px);
  background: var(--navy-deep);
  color: #e2e9ed;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 50px;
}

.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer strong {
  color: var(--white);
}

.site-footer h2,
.site-footer h3,
.site-footer h4 {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.site-footer a {
  color: #f2f6f8;
  overflow-wrap: anywhere;
}

.site-footer a:hover {
  color: #ffb57e;
}

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

.site-footer li + li {
  margin-top: 9px;
}

.site-footer li a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.site-footer label {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid #ffffff35;
  padding-block: 22px;
  color: #ccd7dd;
  font-size: 0.82rem;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
}

.footer-bottom p {
  margin: 0;
}

/* Small laptops and tablets */
@media (max-width: 900px) {
  .header-inner {
    min-height: 94px;
  }

  .header-details {
    gap: 18px;
    font-size: 0.8rem;
  }

  .nav-shell {
    display: block;
    min-height: 0;
  }

  .nav-shell > .nav-links {
    display: none;
  }

  .mobile-menu {
    display: block;
    width: 100%;
  }

  .menu-toggle,
  .mobile-menu > summary {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    border: 0;
    padding: 12px 0;
    background: transparent;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    list-style: none;
    text-align: left;
    cursor: pointer;
  }

  .menu-toggle::after,
  .mobile-menu > summary::after {
    width: 22px;
    height: 16px;
    flex: 0 0 auto;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
    content: "";
  }

  .mobile-menu > summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu .nav-links,
  .mobile-menu > ul {
    display: block;
    padding: 0 0 12px;
    border-top: 1px solid #ffffff35;
  }

  .mobile-menu li,
  .mobile-menu .nav-item {
    margin: 0;
  }

  .mobile-menu .nav-links > li > a,
  .mobile-menu .nav-links > li > button,
  .mobile-menu .nav-links > li > summary,
  .mobile-menu .nav-links > li > details > summary,
  .mobile-menu > ul > li > a,
  .mobile-menu > ul > li > details > summary {
    display: flex;
    min-height: 48px;
    align-items: center;
    width: 100%;
    padding: 12px 6px;
    color: var(--white);
    font-size: 0.94rem;
    text-decoration: none;
  }

  .mobile-menu .dropdown,
  .mobile-menu details > ul {
    position: static;
    min-width: 0;
    padding: 0 0 6px 15px;
    border: 0;
    background: transparent;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
  }

  .mobile-menu .dropdown a,
  .mobile-menu details > ul a {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 10px 8px;
    color: #eef3f5;
  }

  .mobile-menu .dropdown a:hover,
  .mobile-menu details > ul a:hover {
    background: var(--navy-soft);
    color: var(--white);
  }

  .service-grid,
  .project-grid,
  .photo-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

/* Phones */
@media (max-width: 650px) {
  :root {
    --page-gutter: 20px;
    --section-space: 56px;
  }

  .utility-bar .container {
    min-height: 0;
    flex-wrap: wrap;
    gap: 2px 14px;
    padding-block: 8px;
  }

  .header-inner {
    min-height: 82px;
    padding-block: 15px;
  }

  .brand {
    padding-left: 11px;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .brand-sub {
    font-size: 0.62rem;
  }

  .brand img {
    max-width: 185px;
    max-height: 56px;
  }

  .header-details {
    display: none;
  }

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

  .hero-shade {
    background: linear-gradient(90deg, rgba(7, 25, 38, 0.92), rgba(7, 25, 38, 0.61));
  }

  .hero-content {
    padding-block: 65px;
  }

  .hero-title {
    font-size: clamp(2.45rem, 10vw, 3.5rem);
  }

  .service-grid,
  .project-grid,
  .photo-grid,
  .contact-grid,
  .feature-split,
  .content-grid,
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-grid,
  .project-grid,
  .photo-grid {
    gap: 20px;
    margin-top: 28px;
  }

  .feature-split {
    gap: 28px;
  }

  .content-grid {
    gap: 35px;
  }

  .field.full,
  .field.full-width {
    grid-column: auto;
  }

  .field:has(textarea) {
    grid-column: auto;
  }

  .footer-grid {
    gap: 30px 24px;
    padding-bottom: 40px;
  }
}

@media (max-width: 420px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Layout and navigation for the static page templates */
.brand { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; }
.nav-links > a.nav-item {
  display: flex; min-height: 56px; align-items: center; padding: 14px 19px;
  color: #fff; font-size: .83rem; font-weight: 700; letter-spacing: .035em;
  line-height: 1.3; text-decoration: none;
}
.nav-links > a.nav-item:hover,
.nav-links > a.nav-item:focus-visible,
.nav-links > details[open] > summary { background: var(--navy-soft); color: #fff; }
.hero-title span { display: block; color: #ffae75; font-size: .57em; margin-top: .25em; text-transform: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.section-pad { padding-block: var(--section-space); }
.intro-inner, .resource-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); }
.intro-copy, .resource-intro p { color: var(--muted); font-size: 1.07rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.text-link, .footer-more { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; }
.text-link:hover, .footer-more:hover { text-decoration: underline; }
.feature-split { background: #fff; }
.feature-text { max-width: 610px; padding: 34px var(--page-gutter) 34px 0; }
.feature-reverse { background: var(--pale); }
.feature-reverse .feature-image { order: 2; }
.feature-reverse .feature-text { order: 1; justify-self: end; padding: 34px 0 34px var(--page-gutter); }
.cta-strip { background: var(--navy); color: #fff; padding-block: 50px; }
.cta-strip .section-kicker { color: var(--orange-bright); }
.cta-strip h2 { margin: 0; color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.5rem); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.content-grid { padding-block: 0; }
.side-panel { padding: 0; overflow: hidden; }
.side-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.side-panel-body { padding: 24px; }
.button-outline-dark { background: transparent; border-color: var(--navy); color: var(--navy); }
.button-outline-dark:hover { background: var(--navy); color: #fff; }
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.value-card { padding: 28px; background: var(--pale); border-top: 4px solid var(--orange); }
.value-card > span { color: var(--orange); font-size: .8rem; font-weight: 800; }
.value-card h2 { margin: 15px 0; font-size: 1.35rem; }
.value-card p { color: var(--muted); }
.safety-note { margin-top: 48px; max-width: 820px; }
.safety-note h2 { font-size: 1.6rem; }
.safety-note p { color: var(--muted); }
.section-intro { max-width: 850px; margin-bottom: 38px; }
.service-details, .project-list { display: grid; gap: 28px; }
.service-detail, .project-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); background: var(--pale); }
.service-detail-photo, .project-main-photo { aspect-ratio: 4 / 3; min-width: 0; overflow: hidden; }
.service-detail-photo img, .project-main-photo img { width: 100%; height: 100%; object-fit: cover; }
.service-detail-copy, .project-copy { align-self: center; padding: clamp(24px, 4vw, 48px); }
.service-detail-copy h2, .project-copy h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.service-detail-copy p, .project-copy p { color: var(--muted); }
.service-detail-copy .section-kicker, .project-copy .section-kicker { color: var(--orange); }
.project-thumbs { display: flex; gap: 10px; margin-top: 25px; }
.project-thumbs img { width: min(30%, 110px); aspect-ratio: 1; object-fit: cover; }
.contact-grid { grid-template-columns: 1fr 1.25fr; margin-block: 0; align-items: start; }
.contact-card h2, .contact-form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.contact-card, .contact-form-card { padding: clamp(24px, 4vw, 42px); }
.contact-form-card { background: var(--pale); }
.contact-list { display: grid; gap: 24px; margin-top: 30px; }
.contact-list span { display: block; color: var(--navy); font-weight: 700; }
.form-note { margin-top: 16px; color: var(--muted); font-size: .9rem; }
.enquiry-form button { margin-top: 18px; }
.footer-grid { grid-template-columns: 1.15fr 1fr 1fr; }
.footer-company h2 { font-size: 1.55rem; }
.footer-kicker { color: var(--orange-bright); font-weight: 800; font-size: .8rem; letter-spacing: .1em; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; }
@media (max-width: 900px) {
  .mobile-menu .nav-links { display: block; }
  .mobile-menu .nav-links > a.nav-item,
  .mobile-menu .nav-links > details.nav-item > summary { display: flex; min-height: 48px; align-items: center; padding: 12px 6px; color: #fff; font-size: .94rem; }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .intro-inner, .resource-intro, .service-detail, .project-detail, .contact-grid { grid-template-columns: 1fr; }
  .section-heading, .cta-inner { align-items: flex-start; flex-direction: column; }
  .feature-text, .feature-reverse .feature-text { padding: 10px var(--page-gutter) 48px; }
  .feature-reverse .feature-image, .feature-reverse .feature-text { order: initial; }
  .value-grid { grid-template-columns: 1fr; }
  .service-detail-photo, .project-main-photo { aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* The custom mark is served as a small, transparent WebP. */
.brand { flex-direction: row; align-items: center; gap: 12px; border-left: 0; padding-left: 0; }
.brand-mark { width: 58px !important; height: 58px; object-fit: contain; flex: 0 0 58px; }
.brand-copy { display: block; min-width: 0; }
.image-note { color: var(--muted); font-size: .875rem; }
@media (max-width: 650px) {
  .brand { padding-left: 0; gap: 9px; }
  .brand-mark { width: 48px !important; height: 48px; flex-basis: 48px; }
}

.site-footer .image-note { color: #cad7de; }

/* Strong keyboard focus and shrink-safe gallery cards on narrow connections. */
@media (max-width: 900px) {
  .mobile-menu .dropdown a:focus-visible { background: #fff; color: #142d43; }
}
.project-detail, .project-copy, .project-main-photo { min-width: 0; }
.project-thumbs a { display: block; flex: 0 1 110px; width: 30%; min-width: 0; overflow: hidden; }
.project-thumbs a img { width: 100%; min-width: 0; max-width: 100%; overflow: hidden; }
@media (max-width: 650px) {
  .project-detail { grid-template-columns: minmax(0, 1fr); }
}

/* Project gallery: show the complete photograph, with lightweight thumbnails. */
.new-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.new-photo-card { min-width: 0; margin: 0; background: var(--pale); border: 1px solid var(--line); }
.new-photo-card a { display: block; color: var(--navy); text-decoration: none; }
.new-photo-frame { display: flex; width: 100%; aspect-ratio: 4 / 3; align-items: center; justify-content: center; overflow: hidden; background: #e8edef; }
.new-photo-frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.new-photo-link { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px 2px; color: var(--orange); font-size: .8rem; font-weight: 700; }
.new-photo-card a:hover .new-photo-link { text-decoration: underline; }
.new-photo-card figcaption { padding: 2px 12px 14px; color: var(--muted); font-size: .85rem; line-height: 1.4; }
.project-category-intro { margin-top: clamp(56px, 7vw, 92px); }
@media (max-width: 900px) { .new-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 650px) { .new-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 350px) { .new-photo-grid { grid-template-columns: minmax(0, 1fr); } }
