:root {
  --cw-red: #e31837;
  --cw-red-dark: #a81226;
  --cw-ink: #17191f;
  --cw-charcoal: #24272e;
  --cw-muted: #626a76;
  --cw-line: #dfe4ea;
  --cw-mist: #f4f6f8;
  --cw-soft-red: #fff1f3;
  --cw-steel: #e8eef3;
  --cw-sage: #dfe9e3;
  --cw-white: #ffffff;
  --cw-shadow: 0 18px 42px rgba(18, 22, 30, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--cw-ink);
  background: var(--cw-white);
  line-height: 1.6;
}

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

a:hover {
  color: var(--cw-red);
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

p {
  color: var(--cw-muted);
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(23, 25, 31, 0.08);
  backdrop-filter: blur(14px);
}

.header-strip {
  background: var(--cw-charcoal);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.84rem;
}

.header-strip-inner {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  min-height: 34px;
  align-items: center;
  flex-wrap: wrap;
}

.header-strip a:hover {
  color: var(--cw-white);
}

.header-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  color: rgba(255, 255, 255, 0.84);
  white-space: nowrap;
}

.header-contact-item svg,
.contact-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  gap: 28px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 224px;
  height: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--cw-line);
  border-radius: 6px;
  background: var(--cw-white);
  color: var(--cw-ink);
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--cw-red);
  color: var(--cw-red);
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before {
  top: -7px;
}

.nav-toggle-icon::after {
  top: 7px;
}

.site-header.is-menu-open .nav-toggle-icon {
  transform: rotate(45deg);
}

.site-header.is-menu-open .nav-toggle-icon::before {
  transform: translateY(7px) rotate(90deg);
}

.site-header.is-menu-open .nav-toggle-icon::after {
  opacity: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 750;
  color: #343943;
}

.nav a,
.nav-parent-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 6px;
}

.nav a:hover,
.nav a.is-active,
.nav-item.is-active > .nav-parent-link,
.nav-item-has-submenu:hover > .nav-parent-link,
.nav-item-has-submenu:focus-within > .nav-parent-link {
  background: var(--cw-soft-red);
  color: var(--cw-red);
}

.nav-item {
  position: relative;
}

.nav-parent-link::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 50;
  display: grid;
  min-width: 210px;
  padding: 8px;
  border: 1px solid var(--cw-line);
  border-radius: 8px;
  background: var(--cw-white);
  box-shadow: var(--cw-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-item-has-submenu:hover .nav-submenu,
.nav-item-has-submenu:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-submenu a {
  justify-content: flex-start;
  width: 100%;
  min-height: 40px;
}

.nav .portal-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--cw-red);
  border-radius: 6px;
  background: var(--cw-red);
  color: var(--cw-white);
  font-weight: 800;
}

.nav .portal-link:hover,
.button:hover {
  background: var(--cw-red-dark);
  border-color: var(--cw-red-dark);
  color: var(--cw-white);
}

.button.secondary {
  background: var(--cw-white);
  color: var(--cw-red);
}

.button.secondary:hover {
  background: var(--cw-soft-red);
  color: var(--cw-red-dark);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(620px, calc(100svh - 112px));
  overflow: hidden;
  color: var(--cw-white);
  background: #15171c;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0.78;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 15, 20, 0.92), rgba(13, 15, 20, 0.68) 54%, rgba(13, 15, 20, 0.22));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 74px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--cw-red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffccd3;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--cw-white);
  font-size: 4.7rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 710px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.credibility-band {
  background: var(--cw-charcoal);
  color: var(--cw-white);
}

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

.credibility-item {
  min-height: 118px;
  padding: 26px 24px;
  background: rgba(255, 255, 255, 0.045);
}

.credibility-item strong {
  display: block;
  color: var(--cw-white);
  font-size: 1.55rem;
  line-height: 1.1;
}

.credibility-item span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: 88px 0;
}

.section.compact {
  padding: 64px 0;
}

.section-alt {
  background: var(--cw-mist);
}

.section-soft {
  background: linear-gradient(180deg, var(--cw-white), var(--cw-soft-red));
}

.section-dark {
  background: #15181e;
  color: var(--cw-white);
}

.section-dark p,
.section-dark .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

.section-dark .section-title {
  color: var(--cw-white);
}

.section-full-visual {
  padding: 0;
  background: var(--cw-mist);
}

.section-head {
  max-width: 790px;
  margin-bottom: 38px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-title {
  margin-bottom: 14px;
  color: var(--cw-ink);
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-lead {
  margin-bottom: 0;
  color: var(--cw-muted);
  font-size: 1.08rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 54px;
}

.wide-split {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 72px;
}

.wide-split.reverse {
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
}

.split.top {
  align-items: start;
}

.media-panel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--cw-steel);
  box-shadow: var(--cw-shadow);
}

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

.media-panel.tall img {
  aspect-ratio: 3 / 4;
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 14px;
}

.media-grid img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  border-radius: 8px;
}

.media-grid img:first-child {
  grid-row: span 2;
}

.photo-ribbon {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr 0.9fr;
  min-height: 360px;
}

.photo-ribbon img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.photo-ribbon img:nth-child(even) {
  min-height: 430px;
}

.showcase-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.showcase-panel img {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 8px;
}

.showcase-panel img:first-child {
  grid-column: 1 / -1;
  min-height: 360px;
}

.service-grid,
.gallery-grid,
.staff-grid,
.value-grid,
.process-grid,
.contact-grid {
  display: grid;
  gap: 22px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.value-grid,
.process-grid {
  grid-template-columns: repeat(4, 1fr);
}

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

.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-grid-wide {
  grid-template-columns: repeat(4, 1fr);
}

.contact-grid {
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
}

.card,
.service-card,
.staff-card,
.contact-panel,
.process-card,
.value-card {
  border: 1px solid var(--cw-line);
  border-radius: 8px;
  background: var(--cw-white);
  overflow: hidden;
}

.service-card,
.staff-card,
.contact-panel,
.process-card,
.value-card {
  box-shadow: 0 10px 30px rgba(24, 28, 36, 0.07);
}

.service-card img,
.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card-body,
.gallery-card-body,
.staff-card,
.contact-panel,
.process-card,
.value-card {
  padding: 24px;
}

.service-card h3,
.gallery-card h3,
.staff-card h3,
.process-card h3,
.value-card h3,
.contact-panel h3 {
  margin-bottom: 10px;
  color: var(--cw-ink);
  font-size: 1.22rem;
  line-height: 1.25;
}

.service-card p,
.gallery-card p,
.staff-card p,
.process-card p,
.value-card p,
.contact-panel p {
  margin-bottom: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 14px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--cw-soft-red);
  color: var(--cw-red);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-list,
.footer-links,
.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 30px;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: #343943;
  font-weight: 650;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cw-red);
  box-shadow: inset 0 0 0 4px var(--cw-soft-red);
}

.process-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--cw-charcoal);
  color: var(--cw-white);
}

.page-hero {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  color: var(--cw-white);
  background: #15171c;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0 74px;
}

.page-hero h1 {
  max-width: 740px;
  margin-bottom: 12px;
  color: var(--cw-white);
  font-size: 3.5rem;
  line-height: 1.04;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
}

.staff-card {
  min-height: 100%;
  padding: 18px;
}

.staff-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--cw-mist);
}

.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.staff-photo-placeholder img {
  object-fit: contain;
}

.staff-photo-placeholder .staff-initial {
  position: absolute;
  right: 10px;
  bottom: 10px;
  margin-bottom: 0;
  box-shadow: 0 10px 22px rgba(24, 28, 36, 0.18);
}

.staff-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: var(--cw-charcoal);
  color: var(--cw-white);
  font-size: 1.15rem;
  font-weight: 900;
}

.staff-card h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.staff-card p {
  font-size: 0.94rem;
  line-height: 1.55;
}

.role {
  display: block;
  margin-bottom: 6px;
  color: var(--cw-red);
  font-size: 0.94rem;
  font-weight: 850;
}

.staff-contact {
  display: grid;
  gap: 4px;
  margin: 12px 0 0;
  color: #3d424c;
  font-size: 0.9rem;
}

.gallery-card {
  border-radius: 8px;
  background: var(--cw-white);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(24, 28, 36, 0.09);
}

.gallery-card.featured {
  grid-column: span 2;
}

.gallery-card.featured img {
  aspect-ratio: 16 / 9;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-list li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--cw-line);
  border-radius: 8px;
  background: var(--cw-white);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--cw-soft-red);
  color: var(--cw-red);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-detail {
  min-width: 0;
  color: var(--cw-muted);
}

.contact-detail strong {
  display: block;
  color: var(--cw-red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-detail a {
  color: #303640;
  overflow-wrap: anywhere;
}

.contact-detail a:hover {
  color: var(--cw-red);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

label {
  display: block;
  margin-bottom: 7px;
  color: #303640;
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd2da;
  border-radius: 6px;
  padding: 12px 13px;
  background: var(--cw-white);
  color: var(--cw-ink);
  font: inherit;
}

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

.map-frame {
  width: 100%;
  min-height: 390px;
  border: 0;
  display: block;
}

.site-footer {
  background: #14171c;
  color: rgba(255, 255, 255, 0.76);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 0.85fr 0.75fr;
  gap: 32px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0;
}

.footer-logo {
  width: 220px;
  margin-bottom: 18px;
  background: var(--cw-white);
  border-radius: 6px;
}

.footer-inner h3 {
  margin-bottom: 14px;
  color: var(--cw-white);
  font-size: 1rem;
}

.footer-inner p,
.footer-inner a {
  color: rgba(255, 255, 255, 0.74);
}

.footer-inner a:hover {
  color: var(--cw-white);
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.not-found {
  min-height: 560px;
  display: grid;
  align-items: center;
}

.not-found h1 {
  margin-bottom: 18px;
  color: var(--cw-ink);
  font-size: 4rem;
  line-height: 1;
}

@media (max-width: 1040px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .section-title,
  .page-hero h1 {
    font-size: 2.6rem;
  }

  .service-grid,
  .value-grid,
  .process-grid,
  .staff-grid,
  .gallery-grid,
  .gallery-grid-wide,
  .split,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .wide-split,
  .wide-split.reverse,
  .showcase-panel {
    grid-template-columns: 1fr;
  }

  .photo-ribbon {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-ribbon img,
  .photo-ribbon img:nth-child(even) {
    min-height: 280px;
  }

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

@media (min-width: 1041px) and (max-width: 1280px) {
  .staff-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container,
  .container-wide,
  .container-narrow,
  .header-inner,
  .hero-content,
  .page-hero-content,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: auto;
    padding: 14px 0;
  }

  .header-strip-inner {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 4px 12px;
    padding: 7px 0;
  }

  .header-contact-item {
    min-height: 28px;
    font-size: 0.79rem;
  }

  .header-contact-item svg {
    width: 15px;
    height: 15px;
  }

  .brand-mark img {
    width: 180px;
  }

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

  .nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    padding-top: 12px;
    border-top: 1px solid var(--cw-line);
    width: 100%;
    gap: 6px;
  }

  .site-header.is-menu-open .nav {
    display: flex;
  }

  .nav a {
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
  }

  .nav-item {
    width: 100%;
  }

  .nav-parent-link {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
  }

  .nav-parent-link::after {
    display: none;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    margin: 2px 0 8px;
    padding: 0 0 0 12px;
    border: 0;
    border-left: 2px solid var(--cw-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .nav-submenu a {
    min-height: 40px;
  }

  .nav .portal-link {
    width: 100%;
    margin-top: 4px;
  }

  .hero {
    min-height: min(540px, calc(100svh - 154px));
  }

  .hero-content {
    padding: 72px 0 54px;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .hero p,
  .page-hero p,
  .section-lead {
    font-size: 1rem;
  }

  .section,
  .section.compact {
    padding: 58px 0;
  }

  .section-title,
  .page-hero h1 {
    font-size: 2.15rem;
  }

  .service-grid,
  .value-grid,
  .process-grid,
  .staff-grid,
  .gallery-grid,
  .gallery-grid-wide,
  .split,
  .contact-grid,
  .footer-inner,
  .form-grid,
  .credibility-grid,
  .media-grid,
  .photo-ribbon,
  .showcase-panel {
    grid-template-columns: 1fr;
  }

  .media-grid img:first-child {
    grid-row: auto;
  }

  .photo-ribbon img,
  .photo-ribbon img:nth-child(even),
  .showcase-panel img,
  .showcase-panel img:first-child {
    min-height: 220px;
  }

  .gallery-card.featured {
    grid-column: auto;
  }

  .gallery-card.featured img {
    aspect-ratio: 4 / 3;
  }

  .button {
    width: 100%;
  }

  .contact-list li {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .contact-icon svg {
    width: 20px;
    height: 20px;
  }
}
