:root {
  --color-forest: #062e2a;
  --color-teal: #0f766e;
  --color-teal-2: #14a08f;
  --color-gold: #d4a017;
  --color-gold-soft: #fff4cf;
  --color-ink: #17211f;
  --color-muted: #63706b;
  --color-line: #dfe7e3;
  --color-paper: #f6f8f5;
  --color-white: #ffffff;
  --shadow-soft: 0 18px 38px rgba(6, 46, 42, 0.14);
  --shadow-card: 0 10px 24px rgba(23, 33, 31, 0.08);
  --radius: 8px;
  --container: 1180px;
}

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

body {
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

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

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

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 1000;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: var(--color-forest);
  color: var(--color-white);
  border-radius: 4px;
}

.site-container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  box-shadow: 0 2px 16px rgba(6, 46, 42, 0.08);
}

.admin-bar .site-header {
  top: 32px;
}

.topbar {
  background: var(--color-forest);
  color: var(--color-white);
  font-size: 12px;
}

.topbar__inner {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar__inner a,
.topbar__inner span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-main {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding-block: 8px;
}

.brand-logo {
  display: inline-flex;
  width: 100%;
  max-width: 286px;
}

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

.header-search,
.search-form {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.header-search input,
.search-form input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid var(--color-line);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  padding: 0 14px;
  background: var(--color-paper);
  color: var(--color-ink);
}

.header-search button,
.search-form button {
  min-width: 48px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 0 8px 8px 0;
  background: var(--color-teal);
  color: var(--color-white);
  cursor: pointer;
}

.search-form button {
  padding-inline: 14px;
  font-weight: 800;
}

.header-cta,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 800;
  line-height: 1.2;
}

.header-cta,
.button--primary {
  background: var(--color-gold);
  color: var(--color-forest);
}

.header-cta:hover,
.button--primary:hover {
  background: #e4b22b;
  color: var(--color-forest);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--color-white);
}

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

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-forest);
  padding: 0 12px;
  cursor: pointer;
}

.site-nav {
  background: var(--color-teal);
}

.site-nav__inner {
  min-height: 44px;
  display: flex;
  align-items: center;
}

.site-nav__list {
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav__list a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 800;
  padding: 0 15px;
}

.site-nav__list a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
}

.hero-section {
  overflow: hidden;
  background: var(--color-forest);
  color: var(--color-white);
}

.hero-grid {
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 560px);
  gap: 42px;
  align-items: center;
  padding-block: 54px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--color-teal);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-section .eyebrow,
.footer-cta .eyebrow,
.process-section .eyebrow {
  color: var(--color-gold);
}

.hero-copy h1,
.section-heading h2,
.entry-header h1,
.page-header h1,
.empty-state h1 {
  margin: 0;
  color: inherit;
  line-height: 1.16;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: 46px;
}

.hero-copy p:not(.eyebrow) {
  max-width: 640px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.quick-search {
  max-width: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 24px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.quick-search label {
  display: grid;
  gap: 4px;
}

.quick-search span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-search select {
  min-height: 42px;
  width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 0 12px;
  color: var(--color-ink);
}

.quick-search button {
  min-width: 118px;
  align-self: end;
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: var(--color-gold);
  color: var(--color-forest);
  font-weight: 800;
  cursor: pointer;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.hero-stats div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats strong {
  display: block;
  color: var(--color-gold);
  font-size: 28px;
  line-height: 1.1;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 28px 52px rgba(0, 0, 0, 0.26);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.market-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(6, 46, 42, 0.9);
  color: var(--color-white);
}

.market-card span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.market-card strong {
  font-size: 18px;
}

.section-pad {
  padding-block: 62px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-heading--left,
.section-heading--split {
  margin: 0 0 30px;
  text-align: left;
}

.section-heading--split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading h2 {
  font-size: 34px;
  color: var(--color-ink);
}

.section-heading p:not(.eyebrow) {
  color: var(--color-muted);
}

.services-section,
.posts-section,
.archive-layout,
.single-layout,
.not-found-layout {
  background: var(--color-paper);
}

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

.service-card,
.project-card,
.post-card,
.loop-card,
.entry-card,
.widget,
.empty-state {
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.service-card {
  min-height: 250px;
  padding: 22px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.service-card:hover,
.project-card:hover,
.post-card:hover,
.loop-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.3);
  box-shadow: var(--shadow-soft);
}

.service-card > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 8px;
  background: #e2f5f1;
  color: var(--color-teal);
}

.service-card h3,
.project-card h3,
.post-card h3,
.loop-card h2,
.widget-title {
  margin: 0;
  color: var(--color-ink);
  line-height: 1.25;
}

.service-card p,
.project-card p,
.post-card p,
.loop-card p,
.widget p,
.entry-content p {
  color: var(--color-muted);
}

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

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

.project-card {
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.project-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-paper);
}

.project-card__media img,
.post-card__image img,
.loop-card__media img,
.insight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card__body,
.post-card__body,
.loop-card__body {
  padding: 18px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-row span,
.tag-list a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 6px;
  background: var(--color-gold-soft);
  color: var(--color-forest);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
}

.text-link {
  color: var(--color-teal);
  font-weight: 800;
}

.process-section {
  background: var(--color-forest);
  color: var(--color-white);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: 34px;
  align-items: center;
}

.process-section .section-heading h2,
.process-section .section-heading p:not(.eyebrow) {
  color: var(--color-white);
}

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

.process-list li {
  min-height: 128px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.process-list strong {
  display: block;
  color: var(--color-gold);
  font-size: 24px;
}

.process-list span {
  color: rgba(255, 255, 255, 0.86);
}

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

.insight-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.05fr);
  gap: 30px;
  align-items: center;
}

.insight-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.insight-media img {
  aspect-ratio: 16 / 10;
}

.insight-copy h2 {
  margin: 0;
  color: var(--color-ink);
  font-size: 34px;
  line-height: 1.18;
}

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

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 800;
}

.check-list svg {
  flex: 0 0 auto;
  color: var(--color-teal);
}

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

.post-card {
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.post-card__image,
.loop-card__media {
  min-height: 184px;
  display: block;
  background: var(--color-paper);
}

.post-card h3 {
  font-size: 20px;
}

.footer-cta {
  background: var(--color-teal);
  color: var(--color-white);
  padding-block: 38px;
}

.footer-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.footer-cta h2 {
  margin: 0;
  max-width: 820px;
  font-size: 30px;
  line-height: 1.25;
}

.site-footer {
  background: #17211f;
  color: rgba(255, 255, 255, 0.82);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.9fr 0.95fr;
  gap: 28px;
  padding-block: 42px;
}

.site-footer .brand-logo {
  max-width: 246px;
  padding: 8px;
  border-radius: 8px;
  background: var(--color-white);
}

.footer-col h2 {
  margin: 0 0 14px;
  color: var(--color-white);
  font-size: 18px;
}

.footer-col p {
  margin: 12px 0 0;
}

.footer-menu,
.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-menu a,
.site-footer a {
  color: rgba(255, 255, 255, 0.86);
}

.footer-menu a:hover,
.site-footer a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 14px;
  font-size: 13px;
}

.archive-layout,
.single-layout,
.not-found-layout {
  padding-block: 48px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.narrow-content {
  max-width: 900px;
}

.page-header {
  margin-bottom: 24px;
}

.page-header h1,
.entry-header h1,
.empty-state h1 {
  font-size: 38px;
}

.post-list {
  display: grid;
  gap: 18px;
}

.loop-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.entry-card,
.empty-state,
.widget,
.comments-area {
  padding: 24px;
}

.entry-media {
  margin: 22px 0;
  overflow: hidden;
  border-radius: 8px;
}

.entry-content {
  font-size: 17px;
}

.entry-content a {
  color: var(--color-teal);
  font-weight: 800;
}

.entry-content img {
  border-radius: 8px;
}

.entry-footer {
  margin-top: 20px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar {
  display: grid;
  gap: 16px;
}

.widget-title {
  margin-bottom: 12px;
  font-size: 20px;
}

.widget a {
  color: var(--color-teal);
  font-weight: 800;
}

.widget-cta {
  background: var(--color-forest);
  color: var(--color-white);
}

.widget-cta .widget-title,
.widget-cta p {
  color: var(--color-white);
}

.empty-state {
  text-align: center;
}

.empty-state--large {
  max-width: 760px;
}

.comments-area {
  margin-top: 24px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-white);
}

.comment-list {
  padding-left: 20px;
}

.navigation.pagination,
.post-navigation,
.comments-area .comment-navigation {
  margin-top: 24px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-links a,
.nav-links span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  padding: 0 12px;
  background: var(--color-white);
}

.nav-links .current {
  background: var(--color-teal);
  color: var(--color-white);
}

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

@media (max-width: 1024px) {
  .header-main {
    grid-template-columns: minmax(210px, 1fr) auto;
  }

  .header-search,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    background: var(--color-teal);
    box-shadow: 0 18px 34px rgba(6, 46, 42, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    visibility: hidden;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav__inner {
    min-height: 0;
    padding-block: 10px;
  }

  .site-nav__list {
    display: grid;
    gap: 4px;
  }

  .site-nav__list a {
    width: 100%;
    min-height: 44px;
    border-radius: 6px;
    padding-inline: 14px;
  }

  .hero-grid,
  .process-grid,
  .insight-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    gap: 28px;
  }

  .hero-media {
    max-width: 640px;
    margin-inline: auto;
  }

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

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

@media (max-width: 760px) {
  .site-container {
    width: min(100% - 24px, var(--container));
  }

  .admin-bar .site-header {
    top: 0;
  }

  .topbar {
    display: none;
  }

  .header-main {
    min-height: 64px;
  }

  .brand-logo {
    max-width: 220px;
  }

  .brand-logo img {
    max-height: 48px;
  }

  .nav-toggle span {
    display: none;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .quick-search,
  .hero-stats,
  .services-grid,
  .project-grid,
  .process-list,
  .post-grid,
  .footer-cta__inner,
  .footer-main,
  .sidebar {
    grid-template-columns: 1fr;
  }

  .quick-search button {
    width: 100%;
  }

  .section-pad {
    padding-block: 44px;
  }

  .section-heading,
  .section-heading--split {
    display: block;
    text-align: left;
  }

  .section-heading h2,
  .footer-cta h2,
  .insight-copy h2 {
    font-size: 28px;
  }

  .loop-card {
    grid-template-columns: 1fr;
  }

  .loop-card__media {
    min-height: 180px;
  }

  .page-header h1,
  .entry-header h1,
  .empty-state h1 {
    font-size: 30px;
  }
}

@media (max-width: 430px) {
  .brand-logo {
    max-width: 188px;
  }

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