:root {
  --brand-navy: #292e68;
  --brand-blue: #3c71b7;
  --ink: #111827;
  --ink-soft: #1f2937;
  --forest: #2e568b;
  --forest-deep: #101827;
  --sage: #7ea7d8;
  --cream: #f3f6fa;
  --warm-white: #fbfcfe;
  --sand: #dce6f1;
  --line: rgba(41, 61, 97, 0.14);
  --white-line: rgba(255, 255, 255, 0.2);
  --font-display: "Manrope", Arial, sans-serif;
  --font-body: "DM Sans", Arial, sans-serif;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
}

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

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

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

.section {
  padding: 126px 0;
}

.eyebrow {
  margin: 0 0 19px;
  color: var(--forest);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.2;
}

.eyebrow.light {
  color: var(--sage);
}

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

h1,
h2 {
  font-family: var(--font-display);
  letter-spacing: -0.065em;
  line-height: 1.05;
}

h1 {
  margin-bottom: 27px;
  color: #fff;
  font-size: clamp(62px, 7vw, 104px);
  font-weight: 800;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 800;
}

h1 em,
h2 em {
  color: var(--sage);
  font-family: Georgia, serif;
  font-size: 1.09em;
  font-weight: 400;
  letter-spacing: -0.085em;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: 250ms ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 252, 254, 0.94);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(16, 24, 39, 0.08);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  color: inherit;
  line-height: 1;
}

.logo img {
  display: block;
  width: auto;
  height: 58px;
  object-fit: contain;
}

.site-header .logo img,
.footer-logo img {
  filter: brightness(0) invert(1);
}

.site-header.scrolled .logo img,
.subpage .site-header .logo img,
.admin-header .logo img {
  filter: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 31px;
  font-size: 13px;
  font-weight: 600;
}

.main-nav a {
  transition: color 180ms ease;
}

.main-nav a:not(.nav-cta):hover {
  color: var(--brand-blue);
}

.nav-cta {
  margin-left: 13px;
  padding: 13px 19px;
  background: var(--brand-blue);
  color: #fff;
}

.nav-cta:hover {
  background: var(--forest);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(640px, 100svh, 875px);
  overflow: hidden;
  align-items: end;
  background: var(--ink);
}

@supports (min-height: 100dvh) {
  .hero {
    min-height: clamp(640px, 100dvh, 875px);
  }
}

.hero-backdrop,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-backdrop {
  background-image: url("assets/web/entreprenad-drone.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(15, 24, 43, 0.95) 0%, rgba(19, 35, 60, 0.8) 34%, rgba(30, 56, 93, 0.2) 68%, rgba(15, 24, 43, 0.34) 100%),
    linear-gradient(0deg, rgba(15, 24, 43, 0.76) 0%, transparent 43%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 48px;
}

.hero-copy {
  max-width: 760px;
  padding-bottom: 92px;
}

.hero-text {
  max-width: 590px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 35px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 23px;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

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

.button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button-primary {
  background: var(--brand-blue);
  color: #fff;
}

.button-primary:hover {
  background: var(--forest);
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.button-dark:hover {
  background: var(--forest);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 13px;
  font-weight: 700;
}

.light-link {
  color: #fff;
}

.dark-link {
  color: var(--forest);
}

.text-link span {
  font-size: 18px;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.light-link:hover span {
  transform: translateY(4px);
}

.hero-trust {
  display: flex;
  gap: 0;
  width: max-content;
  border-top: 1px solid var(--white-line);
}

.trust-item {
  min-width: 175px;
  padding: 20px 40px 3px 0;
  border-right: 1px solid var(--white-line);
}

.trust-item:not(:first-child) {
  padding-left: 40px;
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: 29px;
  line-height: 1;
}

.trust-item span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.hero-side-label {
  position: absolute;
  z-index: 3;
  right: 32px;
  bottom: 46px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.23em;
  writing-mode: vertical-rl;
}

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

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}

.intro-copy {
  max-width: 565px;
  padding-top: 8px;
  color: #667085;
  font-size: 16px;
}

.intro-copy .large-text {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.55;
}

.intro-copy .dark-link {
  margin-top: 16px;
}

.services {
  background: var(--warm-white);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}

.section-heading > p {
  width: 100%;
  max-width: 410px;
  margin-bottom: 8px;
  color: #667085;
}

.service-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  position: relative;
  min-height: 374px;
  padding: 32px 28px 27px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition:
    background-color 220ms ease,
    transform 220ms ease;
}

.service-card:hover {
  z-index: 1;
  background: var(--forest);
  color: #fff;
  transform: translateY(-8px);
}

.service-number {
  display: block;
  color: #8490a3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.service-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 35px 0 26px;
  place-items: center;
  background: var(--cream);
  color: var(--forest);
  transition: background-color 220ms ease;
}

.service-card:hover .service-icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--sage);
}

.service-icon svg {
  width: 35px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.service-card h3 {
  margin-bottom: 11px;
  font-family: var(--font-display);
  font-size: 21px;
}

.service-card p {
  color: #6f7b8e;
  font-size: 14px;
  line-height: 1.65;
  transition: color 220ms ease;
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.68);
}

.service-card a {
  position: absolute;
  bottom: 27px;
  left: 28px;
  color: var(--forest);
  font-size: 12px;
  font-weight: 700;
  transition: color 220ms ease;
}

.service-card a span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 180ms ease;
}

.service-card:hover a {
  color: var(--sage);
}

.service-card:hover a span {
  transform: translateX(5px);
}

.build-story {
  overflow: clip;
  background: var(--ink);
  color: #fff;
}

.build-story-heading {
  display: grid;
  padding-top: 116px;
  grid-template-columns: 1fr 0.58fr;
}

.build-story-heading .eyebrow {
  grid-column: 1 / -1;
}

.build-story-heading h2 {
  color: #fff;
}

.build-story-heading > p:last-child {
  max-width: 420px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.build-scroll {
  display: grid;
  align-items: start;
  gap: 74px;
  grid-template-columns: 1.13fr 0.87fr;
}

.build-visual {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  align-self: start;
  background: #101d22;
}

.blueprint-grid,
.build-visual-shade {
  position: absolute;
  inset: 0;
}

.blueprint-grid {
  background-image:
    linear-gradient(rgba(134, 206, 214, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(134, 206, 214, 0.075) 1px, transparent 1px),
    linear-gradient(rgba(134, 206, 214, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(134, 206, 214, 0.025) 1px, transparent 1px);
  background-position: center;
  background-size:
    80px 80px,
    80px 80px,
    16px 16px,
    16px 16px;
}

.blueprint-house {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  max-width: 790px;
  max-height: 760px;
  overflow: visible;
  fill: none;
  stroke: rgba(195, 235, 237, 0.85);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 14px rgba(89, 196, 207, 0.14));
}

.blueprint-reference {
  opacity: 0.4;
  stroke: rgba(159, 221, 225, 0.78);
  stroke-dasharray: 2 5;
  stroke-width: 1;
}

.blueprint-reference text {
  fill: rgba(159, 221, 225, 0.74);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  stroke: none;
}

.blueprint-fill {
  fill: rgba(159, 221, 225, 0.7);
}

.blueprint-layer {
  opacity: 0;
  stroke-dasharray: 1100;
  stroke-dashoffset: 1100;
  transition:
    opacity 800ms ease,
    stroke-dashoffset 1700ms cubic-bezier(0.22, 0.72, 0.2, 1);
}

.blueprint-layer.active {
  opacity: 1;
  stroke-dashoffset: 0;
}

.blueprint-minor {
  opacity: 0.44;
  stroke-width: 1;
}

.blueprint-brace {
  opacity: 0.58;
  stroke: #79cbd3;
}

.blueprint-column {
  fill: rgba(112, 199, 206, 0.11);
  opacity: 0;
  stroke: rgba(207, 242, 242, 0.94);
  stroke-dasharray: none;
  stroke-width: 1.35;
  transform: scaleY(0.04);
  transform-box: fill-box;
  transform-origin: center bottom;
  transition:
    opacity 360ms ease,
    transform 850ms cubic-bezier(0.22, 0.72, 0.2, 1);
}

.blueprint-column-minor {
  fill: rgba(112, 199, 206, 0.055);
  stroke: rgba(159, 221, 225, 0.72);
  stroke-width: 1;
}

.blueprint-frame.active .blueprint-column {
  opacity: 1;
  transform: scaleY(1);
}

.blueprint-frame.active .blueprint-column:nth-child(2) {
  transition-delay: 70ms;
}

.blueprint-frame.active .blueprint-column:nth-child(3) {
  transition-delay: 140ms;
}

.blueprint-frame.active .blueprint-column:nth-child(4) {
  transition-delay: 210ms;
}

.blueprint-frame.active .blueprint-column:nth-child(5) {
  transition-delay: 280ms;
}

.blueprint-frame.active .blueprint-column:nth-child(6) {
  transition-delay: 350ms;
}

.blueprint-frame.active .blueprint-column:nth-child(7) {
  transition-delay: 420ms;
}

.blueprint-frame.active .blueprint-column:nth-child(8) {
  transition-delay: 490ms;
}

.blueprint-frame-lines {
  opacity: 0;
  transition: opacity 600ms ease 420ms;
}

.blueprint-frame.active .blueprint-frame-lines {
  opacity: 1;
}

.blueprint-surface {
  fill: rgba(112, 199, 206, 0.05);
}

.blueprint-roof {
  stroke: rgba(207, 242, 242, 0.9);
}

.blueprint-roof-surface {
  fill: rgba(108, 198, 207, 0.09);
}

.blueprint-finish {
  filter: url("#blueprint-glow");
  stroke: rgba(203, 241, 241, 0.94);
}

.blueprint-finish-surface {
  fill: url("#blueprint-finish");
}

.blueprint-window {
  fill: rgba(88, 195, 207, 0.22);
  stroke: #8cd5dc;
}

.blueprint-ground-glow {
  fill: rgba(90, 194, 204, 0.045);
  stroke: none;
}

.build-visual-shade {
  pointer-events: none;
  background:
    radial-gradient(circle at 53% 48%, transparent 20%, rgba(16, 29, 34, 0.24) 74%),
    linear-gradient(0deg, rgba(16, 29, 34, 0.84), transparent 24%);
}

.blueprint-axis {
  position: absolute;
  color: rgba(151, 218, 224, 0.52);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.axis-x {
  right: 31px;
  top: 50%;
}

.axis-y {
  top: 31px;
  left: 50%;
  writing-mode: vertical-rl;
}

.build-visual-meta {
  position: absolute;
  right: 27px;
  bottom: 28px;
  left: 27px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.build-visual-meta span,
.build-illustration-note {
  color: rgba(255, 255, 255, 0.63);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.build-current-label {
  margin: 5px 0 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.build-progress {
  display: flex;
  gap: 7px;
}

.build-progress span {
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  transition:
    background-color 400ms ease,
    width 400ms ease;
}

.build-progress span.active {
  width: 38px;
  background: var(--sage);
}

.build-illustration-note {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 7px 9px;
  border: 1px solid rgba(137, 211, 218, 0.24);
  background: rgba(13, 32, 38, 0.62);
  color: rgba(164, 226, 229, 0.68);
  backdrop-filter: blur(8px);
}

.build-steps {
  padding: 130px 0 80px;
}

.build-step {
  display: grid;
  min-height: 53vh;
  align-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.42);
  grid-template-columns: 58px 1fr;
  transition: color 450ms ease;
}

.build-step > span {
  color: var(--sage);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  opacity: 0.52;
  transition: opacity 450ms ease;
}

.build-step h3 {
  margin-bottom: 9px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 41px);
  letter-spacing: -0.055em;
}

.build-step p {
  max-width: 420px;
  margin-bottom: 0;
  font-size: 15px;
}

.build-step.active {
  color: rgba(255, 255, 255, 0.88);
}

.build-step.active > span {
  opacity: 1;
}

.projects {
  background: var(--cream);
}

.projects-heading {
  align-items: center;
}

.project-grid {
  display: grid;
  grid-auto-rows: 280px;
  grid-template-columns: 1.45fr 1fr;
  gap: 16px;
}

.project-card {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.project-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 24, 43, 0.9), transparent 62%);
  content: "";
}

.project-main {
  grid-row: span 2;
}

.project-image,
.project-visual {
  width: 100%;
  height: 100%;
  transition: transform 600ms ease;
}

.project-image {
  background-position: var(--project-focus, center);
  background-size: cover;
}

.project-image-main {
  background-image: url("assets/web/om-tillbyggnad-stomme.jpg");
  background-position: center;
  background-size: cover;
}

.project-image-team {
  background-image: url("assets/web/team-planering.jpg");
  background-position: center;
  background-size: cover;
}

.project-image-detail {
  background-image: url("assets/web/hantverk-detalj.jpg");
  background-position: center;
  background-size: cover;
}

.project-card:hover .project-image,
.project-card:hover .project-visual {
  transform: scale(1.045);
}

.project-overlay {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 22px;
  left: 26px;
  color: #fff;
}

.project-overlay p {
  margin-bottom: 8px;
  color: var(--sage);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.project-overlay h3 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: 24px;
}

.project-arrow {
  position: absolute;
  right: 0;
  bottom: 3px;
  font-size: 22px;
  transition: transform 180ms ease;
}

.project-card:hover .project-arrow {
  transform: translate(4px, -4px);
}

.process {
  background: var(--warm-white);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}

.process-intro > p:not(.eyebrow) {
  max-width: 435px;
  margin-top: 29px;
  color: #667085;
}

.process-intro .button {
  margin-top: 18px;
}

.steps {
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  padding: 24px 0 22px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 75px 1fr;
}

.step > span {
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.step h3 {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 19px;
}

.step p {
  margin-bottom: 0;
  color: #6f7b8e;
  font-size: 15px;
}

.testimonial {
  background: #e7eef7;
}

.testimonial-inner {
  max-width: 900px;
  padding: 93px 0 88px;
  text-align: center;
}

.quote-mark {
  height: 43px;
  margin-bottom: 13px;
  color: rgba(41, 46, 104, 0.48);
  font-family: Georgia, serif;
  font-size: 85px;
  line-height: 0.9;
}

blockquote {
  margin: 0 auto 28px;
  font-family: Georgia, serif;
  font-size: clamp(25px, 3vw, 37px);
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.testimonial-author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.author-initials {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.testimonial-author strong,
.testimonial-author span {
  display: block;
}

.testimonial-author strong {
  font-size: 13px;
}

.testimonial-author span {
  color: rgba(41, 46, 104, 0.66);
  font-size: 12px;
}

.contact {
  background: var(--forest-deep);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 430px;
  margin: 28px 0 31px;
  color: rgba(255, 255, 255, 0.65);
}

.contact-email {
  display: block;
  color: var(--sage);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
}

.contact-phone {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
}

.contact-address {
  margin-top: 18px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 14px;
}

.company-statement .statement-note {
  margin-bottom: 0;
  color: rgba(46, 86, 139, 0.78);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.clients {
  padding: 92px 0;
  background: var(--warm-white);
}

.clients-heading {
  margin-bottom: 46px;
}

.client-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.client-logo {
  display: grid;
  min-height: 158px;
  padding: 31px 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  place-items: center;
  transition:
    background-color 220ms ease,
    transform 220ms ease;
}

.client-logo:hover {
  z-index: 1;
  background: #f3f7fc;
  transform: translateY(-5px);
}

.client-logo img {
  display: block;
  width: 100%;
  height: 68px;
  object-fit: contain;
  transition: transform 220ms ease;
}

.client-logo:hover img {
  transform: scale(1.035);
}

.client-logo:nth-child(3) img {
  height: 62px;
}

.client-logo:nth-child(4) img,
.client-logo:nth-child(5) img {
  height: 58px;
}

.client-logo:nth-child(6) img {
  height: 74px;
}

.contact-form {
  padding: 30px;
  background: #f3f6fa;
  color: var(--ink);
}

.contact-page .contact-form {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 246, 250, 0.96));
  box-shadow: 0 30px 75px rgba(16, 24, 39, 0.12);
}

.contact-page .contact-form::before {
  position: absolute;
  top: 0;
  right: 30px;
  left: 30px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-navy), var(--brand-blue), var(--sage));
  content: "";
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.contact-form label {
  display: block;
  margin-bottom: 15px;
}

.contact-form label span {
  display: block;
  margin-bottom: 5px;
  color: #536174;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(41, 61, 97, 0.17);
  border-radius: 0;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  transition: border-color 180ms ease;
}

input,
select {
  height: 47px;
  padding: 0 13px;
}

textarea {
  min-height: 92px;
  padding: 11px 13px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--forest);
}

.contact-page input,
.contact-page textarea,
.contact-page select {
  border-color: rgba(41, 61, 97, 0.13);
  background: rgba(255, 255, 255, 0.88);
}

.contact-page input:focus,
.contact-page textarea:focus,
.contact-page select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(60, 113, 183, 0.1);
}

.form-submit {
  width: 100%;
  margin-top: 2px;
}

.form-note {
  margin: 11px 0 0;
  color: #758195;
  font-size: 12px;
  text-align: center;
}

.site-footer {
  padding: 52px 0 20px;
  background: #101827;
  color: rgba(255, 255, 255, 0.72);
}

.footer-main {
  display: grid;
  align-items: center;
  padding-bottom: 40px;
  grid-template-columns: 1fr 1fr 1fr;
}

.footer-logo {
  color: #fff;
}

.footer-logo img {
  width: auto;
  height: 74px;
}

.footer-main p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  line-height: 1.65;
}

.footer-nav {
  display: flex;
  justify-content: end;
  gap: 23px;
  font-size: 12px;
  font-weight: 700;
}

.footer-nav a:hover,
.footer-bottom a:hover {
  color: var(--sage);
}

.footer-bottom {
  display: flex;
  gap: 22px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
}

.footer-bottom a {
  margin-left: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.subpage .site-header {
  border-bottom-color: var(--line);
  background: rgba(251, 252, 254, 0.96);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(16, 24, 39, 0.06);
  backdrop-filter: blur(18px);
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 610px;
  overflow: hidden;
  align-items: end;
  background: var(--ink);
}

.page-hero-image,
.page-hero-shade {
  position: absolute;
  inset: 0;
}

.page-hero-image {
  background-position: center;
  background-size: cover;
}

.page-hero-shade {
  background:
    linear-gradient(90deg, rgba(15, 24, 43, 0.92), rgba(19, 35, 60, 0.58) 52%, rgba(30, 56, 93, 0.2)),
    linear-gradient(0deg, rgba(15, 24, 43, 0.66), transparent 50%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 810px;
  padding: 182px 0 74px;
}

.breadcrumbs {
  display: flex;
  gap: 9px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

.page-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(56px, 7vw, 88px);
}

.page-hero p:last-child {
  max-width: 670px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.service-overview {
  background: var(--cream);
}

.service-overview .service-grid {
  margin-top: 56px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 92px;
}

.detail-content {
  color: #667085;
}

.detail-content h3 {
  margin: 34px 0 9px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 21px;
}

.detail-content p {
  margin-bottom: 16px;
}

.detail-content .large-text {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.55;
}

.detail-points {
  display: grid;
  margin-top: 29px;
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr 1fr;
}

.detail-points span {
  padding: 14px 11px 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--forest);
  font-size: 13px;
  font-weight: 700;
}

.detail-points span::before {
  margin-right: 9px;
  color: var(--sage);
  content: "✓";
}

.detail-image {
  min-height: 540px;
  background-position: center;
  background-size: cover;
}

.service-nav {
  background: var(--cream);
}

.service-nav-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
}

.service-nav a {
  min-height: 166px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.service-nav a:hover,
.service-nav a.active {
  background: var(--forest);
  color: #fff;
}

.service-nav span,
.service-nav strong {
  display: block;
}

.service-nav span {
  color: #8490a3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.service-nav strong {
  margin-top: 36px;
  font-family: var(--font-display);
  font-size: 18px;
}

.contact-strip {
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  color: #fff;
}

.contact-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 56px 0;
}

.contact-strip h2 {
  max-width: 770px;
  font-size: clamp(38px, 4vw, 55px);
}

.contact-strip .button {
  flex: 0 0 auto;
}

.subpage .site-footer {
  margin-top: 0;
}

.about-intro {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(60, 113, 183, 0.13), transparent 30%),
    linear-gradient(180deg, #f7f9fd 0%, var(--cream) 100%);
}

.about-intro .container {
  position: relative;
  z-index: 1;
}

.about-intro::after {
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(60, 113, 183, 0.16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.about-proof-grid {
  display: grid;
  gap: 12px;
  margin-top: 36px;
  grid-template-columns: repeat(3, 1fr);
}

.about-proof-grid article {
  min-height: 175px;
  padding: 20px 18px;
  border: 1px solid rgba(41, 61, 97, 0.12);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 45px rgba(16, 24, 39, 0.05);
  backdrop-filter: blur(12px);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.about-proof-grid article:hover {
  border-color: rgba(60, 113, 183, 0.32);
  box-shadow: 0 24px 58px rgba(16, 24, 39, 0.09);
  transform: translateY(-4px);
}

.about-proof-grid span,
.about-proof-grid strong,
.about-proof-grid p {
  display: block;
}

.about-proof-grid span {
  margin-bottom: 28px;
  color: var(--brand-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.about-proof-grid strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.about-proof-grid p {
  margin: 9px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.about-stats {
  position: relative;
  overflow: hidden;
  padding: 34px 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(60, 113, 183, 0.11), transparent 30%),
    linear-gradient(180deg, var(--cream) 0%, var(--warm-white) 100%);
  color: var(--ink);
}

.about-stats-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}

.about-stat {
  position: relative;
  min-height: 176px;
  padding: 37px 25px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 55px rgba(16, 24, 39, 0.05);
}

.about-stat::before {
  position: absolute;
  top: 0;
  right: 25px;
  left: 25px;
  height: 2px;
  background: linear-gradient(90deg, var(--sage), transparent);
  content: "";
  opacity: 0.75;
}

.about-stat:first-child {
  border-left: 1px solid var(--line);
}

.about-stat strong,
.about-stat span {
  display: block;
}

.about-stat strong {
  color: var(--brand-blue);
  font-family: var(--font-display);
  font-size: 45px;
  letter-spacing: -0.07em;
  line-height: 1;
}

.about-stat span {
  margin-top: 14px;
  color: #667085;
  font-size: 13px;
}

.about-media {
  background: var(--warm-white);
}

.about-media-grid {
  display: grid;
  align-items: center;
  gap: 88px;
  grid-template-columns: 1.03fr 0.97fr;
}

.about-media-image {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(17, 24, 39, 0.12);
}

.about-media-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.about-image-card {
  position: absolute;
  right: 26px;
  bottom: 26px;
  max-width: 290px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(16, 24, 39, 0.72);
  color: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.about-image-card span,
.about-image-card strong {
  display: block;
}

.about-image-card span {
  margin-bottom: 10px;
  color: var(--sage);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.about-image-card strong {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.about-media-copy p:not(.eyebrow) {
  color: #667085;
}

.about-quality-list {
  display: grid;
  gap: 10px;
  margin: 32px 0 25px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.about-quality-list span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.about-quality-list span::before {
  width: 8px;
  height: 8px;
  border: 2px solid var(--brand-blue);
  border-radius: 50%;
  content: "";
}

.about-media-copy .dark-link {
  margin-top: 14px;
}

.portfolio-intro {
  background: var(--cream);
}

.portfolio {
  padding-top: 0;
  background: var(--cream);
}

.portfolio-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 290px;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.portfolio-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ink);
}

.portfolio-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 24, 43, 0.92), transparent 61%);
  content: "";
}

.portfolio-card-large {
  grid-row: span 2;
  grid-column: span 2;
}

.portfolio-card-wide {
  grid-column: span 2;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--project-focus, center);
  transition: transform 650ms ease;
}

.portfolio-card:hover img {
  transform: scale(1.045);
}

.portfolio-card > div {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 19px;
  left: 22px;
  color: #fff;
}

.portfolio-card span {
  display: block;
  margin-bottom: 7px;
  color: var(--sage);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.portfolio-card h3 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: 22px;
}

.portfolio-card b {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-card i {
  display: inline-block;
  margin-left: 5px;
  font-style: normal;
  transition: transform 180ms ease;
}

.portfolio-card:hover i {
  transform: translate(3px, -3px);
}

.project-detail-hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  background: var(--ink);
}

.project-detail-hero > img,
.project-detail-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.project-detail-hero > img {
  object-fit: cover;
  object-position: var(--project-focus, center);
}

.project-detail-shade {
  background:
    linear-gradient(90deg, rgba(15, 24, 43, 0.94), rgba(19, 35, 60, 0.54) 54%, rgba(30, 56, 93, 0.12)),
    linear-gradient(0deg, rgba(15, 24, 43, 0.76), transparent 50%);
}

.project-detail-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 390px;
  color: #fff;
}

.project-detail-hero h1 {
  max-width: 860px;
  font-size: clamp(58px, 7vw, 98px);
}

.project-detail-body {
  background: var(--cream);
}

.project-detail-meta {
  display: grid;
  margin: 32px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(2, 1fr);
}

.project-detail-meta div {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.project-detail-meta span,
.project-detail-meta strong {
  display: block;
}

.project-detail-meta span {
  color: #6f7b8e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-detail-meta strong {
  margin-top: 3px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
}

.project-detail-error {
  padding-top: 190px;
  background: var(--cream);
}

.project-detail-error h1 {
  color: var(--ink);
  font-size: clamp(45px, 6vw, 74px);
}

.contact-page {
  position: relative;
  overflow: hidden;
  padding-top: 110px;
  background:
    radial-gradient(circle at 15% 16%, rgba(60, 113, 183, 0.13), transparent 32%),
    radial-gradient(circle at 88% 82%, rgba(126, 167, 216, 0.16), transparent 28%),
    linear-gradient(180deg, #f7f9fd 0%, var(--cream) 100%);
  color: var(--ink);
}

.contact-page::before {
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(41, 61, 97, 0.08);
  content: "";
  pointer-events: none;
}

.contact-page .contact-grid {
  position: relative;
  z-index: 1;
}

.contact-page .eyebrow.light {
  color: var(--brand-blue);
}

.contact-page .contact-copy > p:not(.eyebrow) {
  color: #667085;
}

.form-heading {
  margin-bottom: 7px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.form-intro {
  max-width: 430px;
  margin: 0 0 23px;
  color: #667085;
  font-size: 14px;
  line-height: 1.55;
}

.contact-details {
  display: grid;
  gap: 13px;
  margin-top: 35px;
}

.contact-details div {
  position: relative;
  padding: 17px 18px 17px 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 40px rgba(16, 24, 39, 0.04);
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.contact-details div:hover {
  border-color: rgba(60, 113, 183, 0.28);
  background: #fff;
  transform: translateX(5px);
}

.contact-details div::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 2px;
  background: var(--sage);
  content: "";
}

.contact-details span,
.contact-details a,
.contact-details p {
  display: block;
}

.contact-details span {
  margin-bottom: 4px;
  color: var(--brand-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-details a {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.contact-details p {
  margin: 0 !important;
  color: #667085 !important;
  font-size: 15px;
}

.contact-assurance {
  max-width: 390px;
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(60, 113, 183, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(60, 113, 183, 0.08));
  box-shadow: 0 16px 42px rgba(16, 24, 39, 0.05);
}

.contact-assurance span,
.contact-assurance strong {
  display: block;
}

.contact-assurance span {
  margin-bottom: 8px;
  color: var(--brand-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.contact-assurance strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.contact-people {
  background: var(--warm-white);
}

.contact-people-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.contact-person-card {
  position: relative;
  min-height: 245px;
  padding: 30px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0%, rgba(60, 113, 183, 0.1), transparent 34%),
    #fff;
  box-shadow: 0 20px 55px rgba(16, 24, 39, 0.05);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.contact-person-card::before {
  position: absolute;
  top: 0;
  right: 30px;
  left: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-navy), var(--brand-blue), transparent);
  content: "";
}

.contact-person-card:hover {
  border-color: rgba(60, 113, 183, 0.3);
  box-shadow: 0 26px 70px rgba(16, 24, 39, 0.09);
  transform: translateY(-5px);
}

.contact-person-card span,
.contact-person-card h3,
.contact-person-card a {
  display: block;
}

.contact-person-card span {
  min-height: 32px;
  color: var(--brand-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.45;
  text-transform: uppercase;
}

.contact-person-card h3 {
  margin: 34px 0 18px;
  font-family: var(--font-display);
  font-size: 25px;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.contact-person-card a {
  width: fit-content;
  color: #536174;
  font-size: 15px;
  font-weight: 700;
  transition: color 180ms ease;
}

.contact-person-card a + a {
  margin-top: 6px;
}

.contact-person-card a:hover {
  color: var(--brand-blue);
}

.contact-facts {
  background:
    linear-gradient(180deg, var(--cream) 0%, #fff 100%);
}

.contact-facts-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.contact-facts-grid article {
  position: relative;
  min-height: 215px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 20px 55px rgba(16, 24, 39, 0.05);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.contact-facts-grid article:hover {
  border-color: rgba(60, 113, 183, 0.28);
  box-shadow: 0 26px 70px rgba(16, 24, 39, 0.09);
  transform: translateY(-5px);
}

.contact-facts-grid span {
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(60, 113, 183, 0.22);
  border-radius: 50%;
  background: rgba(60, 113, 183, 0.08);
  color: var(--brand-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  place-items: center;
}

.contact-facts-grid h3 {
  margin: 38px 0 7px;
  font-family: var(--font-display);
  font-size: 20px;
}

.contact-facts-grid p {
  margin-bottom: 0;
  color: #6f7b8e;
  font-size: 14px;
}

.admin-page {
  background: #f0f4f9;
}

.admin-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.admin-header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
}

.admin-header-inner > div {
  text-align: right;
}

.admin-header span,
.admin-header a:not(.logo) {
  display: block;
}

.admin-header span {
  color: var(--sage);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.admin-header a:not(.logo) {
  margin-top: 3px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 700;
}

.admin-main {
  padding: 72px 0;
}

.admin-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}

.admin-title h1 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(52px, 6vw, 78px);
}

.admin-title > p {
  max-width: 470px;
  margin-bottom: 8px;
  color: #68718a;
}

.admin-layout {
  display: grid;
  align-items: start;
  gap: 22px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.admin-panel {
  padding: 27px;
  border: 1px solid var(--line);
  background: #fff;
}

.admin-panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 23px;
}

.admin-panel-heading .eyebrow {
  margin-bottom: 8px;
}

.admin-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  letter-spacing: -0.045em;
}

.admin-text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.admin-text-button:hover {
  color: var(--sage);
}

.admin-form label {
  display: block;
  margin-bottom: 15px;
}

.admin-form label > span {
  display: block;
  margin-bottom: 5px;
  color: #596179;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-form small {
  display: block;
  margin-top: 5px;
  color: #7a8297;
  font-size: 11px;
}

.admin-form input[type="file"] {
  height: auto;
  padding: 11px;
  background: #f7f9fc;
  cursor: pointer;
}

.admin-image-preview {
  height: 190px;
  margin: -5px 0 17px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #eef2f8;
}

.admin-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--project-focus, center);
}

.admin-image-preview img.placeholder {
  opacity: 0.46;
  filter: grayscale(1);
}

.admin-checkbox {
  display: flex !important;
  align-items: center;
  gap: 9px;
}

.admin-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--forest);
}

.admin-checkbox span {
  margin: 0 !important;
  text-transform: none !important;
}

.admin-save {
  width: 100%;
}

.admin-form-message {
  min-height: 20px;
  margin: 11px 0 0;
  color: var(--forest);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.admin-form-message.error {
  color: #b94040;
}

.admin-project-list {
  display: grid;
  gap: 11px;
}

.admin-project-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  grid-template-columns: 136px 1fr;
}

.admin-project-card img {
  width: 100%;
  height: 100%;
  min-height: 132px;
  object-fit: cover;
  object-position: var(--project-focus, center);
}

.admin-focus-row small {
  line-height: 1.45;
}

.admin-form input[type="range"] {
  height: 26px;
  padding: 0;
  border: 0;
  accent-color: var(--brand-blue);
  cursor: pointer;
}

.admin-project-card > div {
  padding: 14px 15px;
}

.admin-project-card p {
  margin-bottom: 3px;
  color: var(--sage);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-project-card h3 {
  margin-bottom: 4px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: -0.035em;
}

.admin-project-card span {
  color: #68718a;
  font-size: 11px;
}

.admin-project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.admin-project-actions a,
.admin-project-actions button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.admin-project-actions .danger {
  color: #b94040;
}

.admin-empty {
  margin-bottom: 0;
  padding: 22px;
  border: 1px dashed var(--line);
  color: #68718a;
  font-size: 14px;
}

.admin-note {
  display: flex;
  gap: 18px;
  margin-top: 22px;
  padding: 18px 21px;
  border: 1px solid rgba(60, 113, 183, 0.22);
  background: rgba(60, 113, 183, 0.07);
  color: #596179;
  font-size: 13px;
}

.admin-note strong {
  flex: 0 0 auto;
  color: var(--forest);
}

.admin-note p {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .section {
    padding: 90px 0;
  }

  .site-header {
    border-bottom-color: var(--line);
    background: rgba(251, 252, 254, 0.96);
    color: var(--ink);
    box-shadow: 0 8px 28px rgba(16, 24, 39, 0.07);
    backdrop-filter: blur(18px);
  }

  .site-header .logo img {
    filter: none;
  }

  .main-nav {
    position: absolute;
    top: 79px;
    right: 0;
    left: 0;
    display: grid;
    visibility: hidden;
    gap: 0;
    padding: 12px 24px 23px;
    border-bottom: 1px solid var(--line);
    background: rgba(251, 252, 254, 0.98);
    color: var(--ink);
    opacity: 0;
    transform: translateY(-8px);
    transition: 180ms ease;
  }

  .main-nav.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 13px 0;
  }

  .nav-cta {
    margin: 10px 0 0;
    padding: 13px 16px !important;
    text-align: center;
  }

  .menu-toggle {
    display: grid;
    width: 36px;
    height: 36px;
    padding: 8px 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
    place-items: center;
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: 180ms ease;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: clamp(680px, 100svh, 795px);
    padding-top: 79px;
    align-items: end;
  }

  @supports (min-height: 100dvh) {
    .hero {
      min-height: clamp(680px, 100dvh, 795px);
    }
  }

  .hero-content {
    padding-bottom: 38px;
  }

  .hero-copy {
    max-width: 680px;
    padding-bottom: 58px;
  }

  .hero-backdrop {
    background-position: 60% center;
  }

  .hero-video {
    display: none;
  }

  .intro-grid,
  .process-grid,
  .contact-grid,
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

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

  .project-grid {
    grid-auto-rows: 250px;
  }

  .build-story-heading {
    display: block;
    padding-top: 90px;
  }

  .build-story-heading > p:last-child {
    margin-top: 19px;
  }

  .build-scroll {
    display: block;
  }

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

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

  .contact-people-grid {
    grid-template-columns: 1fr;
  }

  .about-media-grid {
    gap: 50px;
    grid-template-columns: 1fr;
  }

  .about-proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .portfolio-grid {
    grid-auto-rows: 240px;
    grid-template-columns: repeat(2, 1fr);
  }

  .process-intro > p:not(.eyebrow) {
    max-width: 600px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

@media (min-width: 961px) and (max-height: 760px) {
  .hero-content {
    padding-bottom: 32px;
  }

  .hero-copy {
    padding-bottom: 54px;
  }

  .hero h1 {
    margin-bottom: 22px;
    font-size: clamp(54px, 6vw, 84px);
  }

  .hero-text {
    margin-bottom: 28px;
  }

  .trust-item {
    padding-top: 16px;
  }

  .hero-side-label {
    bottom: 32px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 68px 0;
  }

  .nav-wrap {
    min-height: 69px;
  }

  .main-nav {
    top: 69px;
  }

  .logo img {
    width: auto;
    height: 47px;
  }

  .hero {
    min-height: clamp(690px, 100svh, 760px);
    padding-top: 69px;
  }

  @supports (min-height: 100dvh) {
    .hero {
      min-height: clamp(690px, 100dvh, 760px);
    }
  }

  .hero-content {
    padding-bottom: 31px;
  }

  .hero-copy {
    padding-bottom: 42px;
  }

  h1 {
    font-size: clamp(46px, 13vw, 58px);
    letter-spacing: -0.07em;
  }

  h2 {
    font-size: clamp(38px, 11vw, 46px);
  }

  .hero-text {
    max-width: 100%;
    margin-bottom: 28px;
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    gap: 18px;
    justify-items: start;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 290px;
  }

  .hero-trust {
    width: 100%;
  }

  .trust-item {
    min-width: 0;
    flex: 1;
    padding: 15px 14px 2px 0;
  }

  .trust-item:not(:first-child) {
    padding-left: 14px;
  }

  .trust-item:last-child {
    border-right: 0;
  }

  .trust-item strong {
    font-size: 22px;
  }

  .trust-item span {
    font-size: 10px;
  }

  .hero-side-label {
    display: none;
  }

  .section-heading {
    display: block;
    margin-bottom: 36px;
  }

  .section-heading > p {
    margin: 22px 0 0;
  }

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

  .service-card {
    min-height: 331px;
  }

  .project-grid {
    display: block;
  }

  .project-card {
    min-height: 260px;
    margin-bottom: 14px;
  }

  .project-overlay {
    right: 18px;
    bottom: 18px;
    left: 18px;
    padding-right: 36px;
  }

  .project-overlay h3 {
    font-size: 22px;
    line-height: 1.12;
  }

  .project-main {
    min-height: 400px;
  }

  .build-story-heading {
    padding-top: 68px;
  }

  .build-scroll {
    display: block;
  }

  .build-visual {
    position: sticky;
    z-index: 1;
    top: 69px;
    height: clamp(290px, 48svh, 380px);
    min-height: 0;
    margin-top: 30px;
    border: 1px solid rgba(137, 211, 218, 0.16);
    box-shadow: 0 18px 36px rgba(3, 12, 15, 0.26);
  }

  .blueprint-house {
    width: 108%;
    height: 108%;
  }

  .blueprint-axis {
    display: none;
  }

  .build-illustration-note {
    top: 15px;
    right: 15px;
    font-size: 8px;
  }

  .build-visual-meta {
    right: 15px;
    bottom: 15px;
    left: 15px;
    gap: 12px;
  }

  .build-current-label {
    font-size: 20px;
  }

  .build-progress span {
    width: 14px;
  }

  .build-progress span.active {
    width: 25px;
  }

  .build-steps {
    padding: 24px 0 54px;
  }

  .build-step {
    display: grid;
    min-height: 255px;
    align-content: center;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.58);
    grid-template-columns: 44px 1fr;
  }

  .build-step > span {
    display: block;
    margin-bottom: 0;
  }

  .build-step h3 {
    margin-bottom: 5px;
    font-size: 26px;
  }

  .build-step p {
    font-size: 14px;
  }

  .projects-heading .text-link {
    margin-top: 23px;
  }

  .step {
    grid-template-columns: 55px 1fr;
  }

  .contact-form {
    padding: 21px 18px;
  }

  .contact-page .contact-form::before {
    right: 18px;
    left: 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-main {
    display: block;
  }

  .footer-main p {
    margin-top: 22px;
  }

  .footer-nav {
    justify-content: start;
    margin-top: 26px;
    gap: 16px;
  }

  .footer-bottom {
    display: grid;
    gap: 4px;
  }

  .footer-bottom a {
    margin-left: 0;
  }

  .page-hero {
    min-height: 550px;
  }

  .page-hero-content {
    padding: 145px 0 60px;
  }

  .page-hero p:last-child {
    font-size: 16px;
  }

  .detail-image {
    min-height: 340px;
  }

  .detail-points,
  .service-nav-grid {
    grid-template-columns: 1fr;
  }

  .service-nav a {
    min-height: 106px;
  }

  .service-nav strong {
    margin-top: 16px;
  }

  .contact-strip-inner {
    display: block;
  }

  .contact-strip .button {
    margin-top: 23px;
  }

  .about-stats-grid,
  .contact-facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stat {
    min-height: 140px;
    padding: 27px 20px;
    border-bottom: 1px solid var(--line);
  }

  .about-stat strong {
    font-size: 39px;
  }

  .about-media-image,
  .about-media-image img {
    min-height: 365px;
  }

  .about-proof-grid {
    grid-template-columns: 1fr;
  }

  .about-proof-grid article {
    min-height: 0;
  }

  .about-proof-grid span {
    margin-bottom: 16px;
  }

  .about-image-card {
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: none;
    padding: 18px;
  }

  .about-image-card strong {
    font-size: 19px;
  }

  .contact-page::before {
    inset: 16px;
  }

  .contact-details div:hover,
  .contact-facts-grid article:hover,
  .contact-person-card:hover,
  .about-proof-grid article:hover {
    transform: none;
  }

  .portfolio-grid {
    display: block;
  }

  .portfolio-card {
    min-height: 260px;
    margin-bottom: 14px;
  }

  .portfolio-card > div {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .portfolio-card h3 {
    font-size: 21px;
    line-height: 1.12;
  }

  .portfolio-card-large {
    min-height: 390px;
  }

  .contact-page {
    padding-top: 73px;
  }

  .contact-facts-grid {
    grid-template-columns: 1fr;
  }

  .contact-facts-grid article {
    min-height: 170px;
  }

  .contact-person-card {
    min-height: 0;
    padding: 24px 22px;
  }

  .contact-person-card::before {
    right: 22px;
    left: 22px;
  }

  .contact-person-card h3 {
    margin-top: 24px;
    font-size: 23px;
  }

  .contact-person-card a {
    word-break: break-word;
  }

  .project-detail-hero {
    min-height: 570px;
  }

  .project-detail-hero-content {
    padding-top: 315px;
  }

  .admin-main {
    padding: 52px 0;
  }

  .admin-title {
    display: block;
  }

  .admin-title > p {
    margin-top: 13px;
  }

  .admin-panel {
    padding: 20px;
  }

  .admin-project-card {
    grid-template-columns: 105px 1fr;
  }

  .admin-note {
    display: block;
  }

  .admin-note p {
    margin-top: 4px;
  }

  .client-logo {
    min-height: 120px;
    padding: 23px 20px;
  }

  .clients {
    padding: 68px 0;
  }

  .client-logo img,
  .client-logo:nth-child(3) img,
  .client-logo:nth-child(4) img,
  .client-logo:nth-child(5) img,
  .client-logo:nth-child(6) img {
    height: 53px;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero {
    min-height: 715px;
  }

  @supports (min-height: 100dvh) {
    .hero {
      min-height: max(715px, 100dvh);
    }
  }

  .hero-copy {
    padding-bottom: 34px;
  }

  .button {
    width: 100%;
  }

  .hero-actions .text-link {
    width: auto;
  }

  .hero-trust {
    display: grid;
    border-top: 1px solid var(--white-line);
    grid-template-columns: 1fr 1fr;
  }

  .trust-item,
  .trust-item:not(:first-child) {
    padding-right: 12px;
    padding-left: 0;
  }

  .trust-item:not(:last-child) {
    border-right: 1px solid var(--white-line);
  }

  .trust-item:last-child {
    padding-left: 14px;
    border-right: 0;
  }

  .client-grid,
  .about-stats-grid,
  .contact-facts-grid {
    grid-template-columns: 1fr;
  }

  .client-logo {
    min-height: 126px;
    padding: 24px 28px;
  }

  .build-visual {
    height: 285px;
  }

  .build-visual-meta {
    display: block;
  }

  .build-progress {
    margin-top: 12px;
  }

  .build-step {
    min-height: 235px;
    grid-template-columns: 38px 1fr;
  }

  .contact-strip h2 {
    font-size: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
