@import "semantic.css";

:root {
  --max: 1180px;
  --radius: var(--radius-8);
  --shadow: var(--shadow-strong);
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, var(--overlay-ink-soft) 1px, transparent 1px),
    linear-gradient(180deg, var(--overlay-ink-v-soft) 1px, transparent 1px),
    var(--surface-primary);
  background-size: 44px 44px;
  color: var(--text-primary);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
  overflow-wrap: anywhere;
  transition:
    color .18s ease,
    background-color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

a:hover {
  color: var(--link-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.nav-button:focus-visible {
  outline: 3px solid var(--focus-outline);
  outline-offset: 3px;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: 2.35rem;
  max-width: 920px;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.15rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

.skip-link {
  position: absolute;
  left: .75rem;
  top: .75rem;
  z-index: 20;
  padding: .6rem .8rem;
  background: var(--surface-white);
  border: 2px solid var(--text-primary);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 246, 243, .96);
  border-bottom: 1px solid var(--border-default);
  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(100% - 1.5rem, var(--max));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.05;
  border-radius: var(--radius);
}

.brand span {
  color: var(--text-secondary);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .6rem .85rem;
  border: 1px solid var(--text-primary);
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  transition:
    color .18s ease,
    background-color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.site-nav {
  position: absolute;
  left: .75rem;
  right: .75rem;
  top: 66px;
  display: none;
  padding: .85rem;
  background: var(--surface-white);
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-nav a {
  display: block;
  max-width: 100%;
  min-height: 44px;
  padding: .65rem .3rem;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--surface-secondary);
  color: var(--text-primary);
}

.nav-toggle:checked ~ .site-nav {
  display: block;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .75rem 1rem;
  border: 2px solid var(--btn-primary-bg);
  border-radius: var(--radius);
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
  transition:
    color .18s ease,
    background-color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.button.secondary {
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
}

.button.ghost {
  background: transparent;
  color: var(--text-primary);
}

.button:hover,
button:hover {
  transform: translateY(-1px);
  border-color: var(--btn-primary-hover-border);
  background: var(--btn-primary-hover-bg);
  color: var(--btn-primary-text);
  box-shadow: 0 14px 28px rgba(47, 111, 78, .18);
}

.button.secondary:hover,
.button.ghost:hover {
  background: var(--btn-secondary-hover-bg);
  color: var(--text-primary);
  border-color: var(--btn-secondary-hover-border);
}

.button:active,
button:active,
.nav-button:active,
.link-card:active,
.chip:active,
.entity-card:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .08);
}

button:disabled,
.button[aria-disabled="true"],
input:disabled,
textarea:disabled,
select:disabled {
  cursor: not-allowed;
  opacity: .55;
  transform: none;
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--text-inverse);
  background: var(--surface-dark);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--overlay-light), var(--overlay-medium));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 1.5rem, var(--max));
  margin: 0 auto;
  padding: 5.5rem 0 3rem;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: .9rem;
  color: var(--accent-gold);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lead {
  max-width: 760px;
  margin-top: 1rem;
  color: inherit;
  font-size: 1.08rem;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.4rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.25rem;
}

.hero-facts span {
  padding: .38rem .65rem;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 999px;
  background: rgba(0, 0, 0, .24);
  font-size: .92rem;
  font-weight: 800;
}

.section {
  padding: 3.25rem 0;
}

.section.white {
  background: var(--surface-white);
}

.section.green {
  background: var(--surface-secondary);
}

.section.blue {
  background: var(--surface-blue);
}

.section.dark {
  background: var(--surface-dark);
  color: var(--text-inverse);
}

.container {
  width: min(100% - 1.5rem, var(--max));
  margin: 0 auto;
}

.section-head {
  display: grid;
  gap: .75rem;
  margin-bottom: 1.35rem;
}

.section-head p {
  max-width: 760px;
  color: var(--text-secondary);
}

.dark .section-head p,
.dark .muted {
  color: var(--stone-300);
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid > *,
.contact-stack > *,
.team-grid > *,
.faq-grid > * {
  min-width: 0;
}

.grid.two,
.grid.three,
.grid.four {
  grid-template-columns: 1fr;
}

.card,
.entity-card,
.team-card,
.faq-card {
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  background: var(--surface-white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .045);
}

.card,
.entity-card,
.faq-card {
  padding: 1rem;
}

.card h3,
.entity-card h3,
.faq-card h3 {
  margin-bottom: .55rem;
}

.entity-card {
  display: grid;
  align-content: start;
  gap: .65rem;
  transition:
    border-color .18s ease,
    transform .18s ease,
    box-shadow .18s ease;
}

.entity-card:hover,
.entity-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(47, 111, 78, .45);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .08);
}

.entity-card-media {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border-default);
  background: var(--surface-primary);
}

.entity-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--surface-primary);
}

.entity-card .meta {
  color: var(--text-secondary);
  font-size: .92rem;
}

.card-link {
  margin-top: auto;
  font-weight: 800;
  width: fit-content;
}

.card-link:hover,
.card-link:focus-visible {
  color: var(--link-hover);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: .55rem 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: .28rem .58rem;
  border: 1px solid var(--border-default);
  border-radius: 999px;
  background: var(--surface-primary);
  color: var(--text-primary);
  font-size: .88rem;
  overflow-wrap: anywhere;
  text-decoration: none;
  transition:
    color .18s ease,
    background-color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

a.chip:hover,
a.chip:focus-visible {
  border-color: var(--border-accent);
  background: var(--surface-secondary);
  color: var(--text-primary);
  box-shadow: 0 8px 18px rgba(47, 111, 78, .12);
  transform: translateY(-1px);
}

.media-band {
  display: grid;
  gap: 1.2rem;
  align-items: center;
}

.media-band img,
.media-image,
.case-cover,
.service-cover,
.gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border-default);
  background: var(--surface-white);
}

.image-zoom {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-inverse);
  text-align: left;
  cursor: zoom-in;
  overflow: hidden;
  transition:
    box-shadow .18s ease,
    transform .18s ease;
}

.image-zoom img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.image-zoom span {
  position: absolute;
  right: .65rem;
  bottom: .65rem;
  padding: .32rem .55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, .58);
  color: var(--text-inverse);
  font-size: .82rem;
  font-weight: 800;
  opacity: 0;
  transition: opacity .18s ease;
}

.image-zoom:hover span,
.image-zoom:focus-visible span {
  opacity: 1;
}

.image-zoom:hover {
  border-color: transparent;
  background: transparent;
  color: var(--text-inverse);
  transform: none;
  box-shadow: 0 16px 32px rgba(0, 0, 0, .12);
}

.image-zoom:active {
  transform: none;
}

.team-grid {
  display: grid;
  gap: 1.1rem;
  max-width: 1040px;
  margin: 0 auto;
}

.team-card {
  overflow: hidden;
  display: grid;
  align-items: stretch;
  min-width: 0;
}

.team-media {
  position: relative;
  background: var(--surface-primary);
}

.team-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface-primary);
}

.team-card.no-photo {
  display: block;
}

.team-main {
  display: grid;
  align-content: start;
  gap: .95rem;
  padding: 1.1rem;
}

.team-head h3 {
  margin-bottom: .35rem;
}

.team-head p,
.team-info p {
  margin: 0;
}

.team-role {
  display: inline-flex;
  width: fit-content;
  margin: .25rem 0 .65rem;
  padding: .25rem .5rem;
  border-radius: 999px;
  background: var(--status-published-bg);
  color: var(--status-published-text);
  font-weight: 800;
}

.team-info-grid {
  display: grid;
  gap: .75rem;
}

.team-info {
  padding-top: .75rem;
  border-top: 1px solid var(--border-default);
}

.team-info .chips {
  margin-top: .45rem;
}

.label {
  display: block;
  margin-bottom: .2rem;
  color: var(--text-accent);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-list {
  display: grid;
  gap: .75rem;
}

.detail-list div {
  padding: .8rem;
  border-left: 4px solid var(--border-accent);
  background: var(--surface-white);
}

.breadcrumb {
  padding-top: 1rem;
  color: var(--text-secondary);
  font-size: .9rem;
}

.page-hero {
  padding: 3rem 0 2rem;
  background:
    linear-gradient(135deg, rgba(47, 111, 78, .12), rgba(242, 208, 92, .16)),
    var(--surface-white);
  border-bottom: 1px solid var(--border-default);
}

.page-hero p {
  max-width: 780px;
  margin-top: 1rem;
  color: var(--text-secondary);
}

.article-body,
.content-flow {
  max-width: 840px;
}

.article-body h2,
.content-flow h2 {
  margin-top: 2rem;
  margin-bottom: .75rem;
}

.related {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-default);
}

.faq-category {
  margin-top: 2rem;
}

.faq-grid {
  display: grid;
  gap: 1rem;
}

.faq-card .answer {
  color: var(--text-secondary);
}

.service-media {
  max-width: 760px;
  margin: 0 auto 2rem;
}

.service-cover {
  aspect-ratio: 16 / 9;
  max-height: 420px;
}

/* Updated Contacts Layout */
.contact-stack {
  display: grid;
  gap: 2.5rem;
  max-width: 840px;
  margin: 0 auto;
}

.contact-step {
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  background: var(--surface-white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .045);
  position: relative;
}

.contact-step-header {
  border-bottom: 1px solid var(--border-default);
  padding-bottom: 1.5rem;
}

.contact-step-header h2 {
  margin-bottom: .5rem;
}

.contact-step-header p {
  margin: 0;
  color: var(--text-secondary);
}

.contact-step.featured {
  border-color: var(--border-accent);
  box-shadow: 0 18px 40px rgba(47, 111, 78, .12);
}

.link-cards {
  display: grid;
  gap: .75rem;
}

.link-card {
  display: grid;
  gap: .25rem;
  min-height: 74px;
  padding: .85rem;
  border: 2px solid var(--surface-dark);
  border-radius: var(--radius);
  background: var(--surface-dark);
  color: var(--text-inverse);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
  transition:
    color .18s ease,
    background-color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.link-card:hover,
.link-card:focus-visible {
  border-color: var(--border-accent);
  background: var(--forest-700);
  color: var(--text-inverse);
  box-shadow: 0 18px 34px rgba(47, 111, 78, .2);
  transform: translateY(-2px);
}

.link-card span {
  color: var(--accent-gold);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.link-card strong {
  overflow-wrap: anywhere;
}

.link-cards.compact .link-card {
  min-height: 64px;
  border-color: var(--border-default);
  background: var(--surface-primary);
  color: var(--text-primary);
}

.link-cards.compact .link-card span {
  color: var(--text-accent);
}

.link-cards.compact .link-card:hover,
.link-cards.compact .link-card:focus-visible {
  background: var(--surface-secondary);
  color: var(--text-primary);
}

.price-teaser {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  background: var(--surface-primary);
}

.price-teaser h2 {
  font-size: 1.2rem;
}

.price-teaser ul {
  display: grid;
  gap: .55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.price-teaser li {
  display: grid;
  gap: .2rem;
  padding-top: .55rem;
  border-top: 1px solid var(--border-default);
}

.price-teaser a {
  font-weight: 800;
}

.price-teaser a:hover,
.price-teaser a:focus-visible {
  color: var(--link-hover);
}

.price-teaser span {
  color: var(--text-secondary);
}

.request-form {
  scroll-margin-top: 88px;
}

.form-feedback {
  margin-bottom: 1rem;
  padding: .8rem;
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  font-weight: 800;
}

.form-feedback.success {
  background: var(--status-published-bg);
}

.form-feedback.error {
  background: var(--status-error-bg);
  border-color: rgba(216, 79, 79, .35);
}

.request-cta-message {
  display: grid;
  gap: .75rem;
}

.request-cta-message .actions {
  margin-top: 0;
}

.form-consent {
  margin: 0;
  color: var(--text-secondary);
  font-size: .88rem;
  line-height: 1.55;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

form {
  display: grid;
  gap: .8rem;
}

label {
  display: grid;
  gap: .3rem;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  padding: .75rem;
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  background: var(--surface-white);
  color: var(--text-primary);
  font: inherit;
  max-width: 100%;
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background-color .18s ease;
}

input:hover,
textarea:hover,
select:hover {
  border-color: rgba(47, 111, 78, .48);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px rgba(47, 111, 78, .14);
}

textarea {
  min-height: 130px;
  max-height: 340px;
  resize: vertical;
}

.textarea-controlled {
  min-height: 118px;
  max-height: 240px;
}

.textarea-controlled.tall {
  min-height: 160px;
  max-height: 320px;
}

.required,
.field-counter,
.help {
  color: var(--text-secondary);
  font-size: .86rem;
  font-weight: 400;
}

.required {
  color: var(--text-danger);
  font-weight: 800;
}

.field-counter {
  justify-self: end;
}

.file-preview {
  display: grid;
  gap: .6rem;
}

.file-preview-note {
  margin: 0;
  color: var(--text-danger);
  font-size: .9rem;
  font-weight: 700;
}

.file-preview-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: .65rem;
  align-items: center;
  padding: .55rem;
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  background: var(--surface-primary);
}

.file-preview-item img {
  width: 72px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--surface-white);
}

.file-preview-item strong,
.file-preview-item span {
  display: block;
  overflow-wrap: anywhere;
}

.file-preview-item span {
  color: var(--text-secondary);
  font-size: .88rem;
  font-weight: 400;
}

.file-preview-remove {
  min-height: 36px;
  padding: .45rem .65rem;
}

.notice {
  padding: 1rem;
  border: 1px solid var(--border-default);
  border-left: 4px solid var(--text-danger);
  border-radius: var(--radius);
  background: var(--surface-white);
}

.footer {
  padding: 2rem 0;
  background: var(--surface-dark);
  color: var(--text-inverse);
}

.footer a:not(.chip),
.footer a:not(.chip):visited {
  color: var(--text-inverse);
}

.footer a:not(.chip):hover,
.footer a:not(.chip):focus-visible,
.footer a:not(.chip):active {
  color: var(--accent-gold);
}

.footer .chip,
.footer a.chip:visited {
  border-color: rgba(255, 255, 255, .4);
  background: var(--surface-white);
  color: var(--text-primary);
  font-weight: 800;
}

.footer a.chip:hover,
.footer a.chip:focus-visible {
  border-color: var(--accent-gold);
  background: var(--accent-gold);
  color: var(--text-primary);
  box-shadow: 0 12px 24px rgba(242, 208, 92, .16);
}

.footer-grid {
  display: grid;
  gap: 1rem;
}

.cta-band {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.muted {
  color: var(--text-secondary);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--surface-overlay);
  color: var(--text-inverse);
}

.lightbox[aria-hidden="false"] {
  display: flex;
}

.lightbox figure {
  width: min(100%, 1120px);
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.lightbox figcaption {
  margin-top: .7rem;
  color: var(--stone-100);
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  min-height: 44px;
  border-color: var(--surface-white);
  background: var(--surface-white);
  color: var(--text-primary);
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-open {
  overflow: hidden;
}

@media (min-width: 720px) {
  h1 {
    font-size: 3.45rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .nav-button {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-nav a {
    min-height: auto;
    padding: .2rem 0;
  }

  .grid.two,
  .media-band,
  .cta-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  }

  .team-media img {
    height: 100%;
  }

  .team-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-info-wide {
    grid-column: 1 / -1;
  }

  .grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .section {
    padding: 4.5rem 0;
  }

  .page-hero {
    padding: 4.25rem 0 3rem;
  }
}

@media (min-width: 1040px) {
  .link-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-card {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  }

  .team-main {
    padding: 1.35rem;
  }
}

@media (min-width: 720px) and (max-width: 1039px) {
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .file-preview-item {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .file-preview-item img {
    width: 56px;
  }

  .file-preview-remove {
    grid-column: 1 / -1;
    width: 100%;
  }
}
