* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #111416;
}

body {
  margin: 0;
  background: #f2f0eb;
  color: #17191a;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body,
button,
input,
select,
textarea {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

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

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

.empty-state,
.not-found {
  min-height: 28vh;
}

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

img {
  max-width: 100%;
}

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

.section {
  padding: 118px 0;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 20px;
  left: 0;
  width: 100%;
  pointer-events: none;
  transition: top .35s ease;
}

.header-shell {
  width: min(1180px, calc(100% - 48px));
  min-height: 72px;
  margin: 0 auto;
  padding: 0 14px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(22,25,27,.78);
  box-shadow: 0 16px 50px rgba(0,0,0,.16);
  backdrop-filter: blur(18px);
  pointer-events: auto;
  transition: min-height .35s ease, background .35s ease, box-shadow .35s ease;
}

.site-header.is-scrolled {
  top: 10px;
}

.site-header.is-scrolled .header-shell {
  min-height: 62px;
  background: rgba(17,20,22,.95);
  box-shadow: 0 14px 44px rgba(0,0,0,.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #f8aa38;
  color: #f8aa38;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  transform: skew(-6deg);
}

.brand-name {
  display: grid;
  line-height: 1;
}

.brand-name strong {
  font-size: 14px;
  letter-spacing: .21em;
}

.brand-name small {
  margin-top: 5px;
  color: #f8aa38;
  font-size: 8px;
  letter-spacing: .34em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(17px, 2vw, 29px);
}

.main-nav > a:not(.nav-cta) {
  position: relative;
  padding: 24px 0;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .25s ease;
}

.main-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 1px;
  background: #f8aa38;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.main-nav > a:hover,
.main-nav > a.active {
  color: #fff;
}

.main-nav > a:hover::after,
.main-nav > a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  min-height: 42px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: #f8aa38;
  color: #121517;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .25s ease, transform .25s ease;
}

.nav-cta:hover {
  background: #ffbd55;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 790px;
  height: 100svh;
  max-height: 980px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #111416;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11,13,14,.96) 0%, rgba(11,13,14,.76) 44%, rgba(11,13,14,.17) 78%),
    linear-gradient(180deg, transparent 58%, rgba(11,13,14,.66)),
    url("../images/kmijo-hero.webp") 68% center / cover;
  transform: scale(1.02);
  animation: hero-in 1.4s ease-out both;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: linear-gradient(90deg, #000, transparent 75%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
}

.hero-copy {
  width: min(720px, 68%);
}

.eyebrow {
  margin: 0 0 26px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #b85f00;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .23em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 34px;
  height: 1px;
  display: inline-block;
  background: #f8aa38;
}

.eyebrow.light {
  color: #f8aa38;
}

.hero h1,
.interior-hero h1,
.project-hero h1,
.quote-page-intro h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .97;
}

.hero h1 {
  max-width: 690px;
  font-size: clamp(64px, 7.1vw, 108px);
}

.hero-text {
  max-width: 570px;
  margin: 30px 0 38px;
  color: rgba(255,255,255,.72);
  font-size: 18px;
  line-height: 1.75;
}

.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 52px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease, border .25s ease, transform .25s ease;
}

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

.button-primary {
  background: #f8aa38;
  color: #121517;
}

.button-primary:hover {
  background: #ffbd55;
}

.button-ghost {
  border-color: rgba(255,255,255,.38);
  color: #fff;
}

.button-ghost:hover {
  border-color: #f8aa38;
  color: #ffbd55;
}

.button-dark {
  border-color: #34383a;
  background: #1a1d1f;
  color: #fff;
}

.hero-index {
  position: absolute;
  right: 0;
  bottom: -160px;
  display: flex;
  border-top: 1px solid rgba(255,255,255,.2);
}

.hero-index > div {
  width: 160px;
  padding: 18px 19px;
  display: grid;
  border-left: 1px solid rgba(255,255,255,.2);
}

.hero-index strong {
  color: #f8aa38;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
}

.hero-index span {
  margin-top: 3px;
  color: rgba(255,255,255,.55);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: 30px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: rgba(255,255,255,.5);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  transform: rotate(90deg);
  transform-origin: right;
}

.scroll-cue i {
  width: 52px;
  height: 1px;
  overflow: hidden;
  background: rgba(255,255,255,.35);
}

@keyframes hero-in {
  from { opacity: .4; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1.02); }
}

.section-about {
  position: relative;
  background:
    linear-gradient(115deg, transparent 0 72%, rgba(248,170,56,.1) 72% 72.1%, transparent 72.1%),
    #f2f0eb;
}

.split-intro,
.story-grid,
.project-story-grid,
.partner-page-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

.page-intro h2,
.numbers-lead h2,
.cta-content h2,
.story-copy blockquote,
.inline-cta h2,
.service-detail-copy h2,
.contact-info h2,
.quote-layout aside h2,
.form-success h2,
.partnership-grid h2,
.project-story h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.page-intro h2 {
  max-width: 640px;
  font-size: clamp(42px, 4.6vw, 68px);
}

.page-intro.light h2 {
  color: #fff;
}

.page-intro.light .eyebrow {
  color: #f8aa38;
}

.split-copy {
  max-width: 590px;
  padding-top: 49px;
}

.split-copy p,
.story-copy > p,
.heading-copy,
.partner-page-grid > p {
  color: #636566;
  font-size: 17px;
  line-height: 1.85;
}

.split-copy p:first-child {
  color: #252829;
  font-size: 20px;
}

.arrow-link {
  width: fit-content;
  margin-top: 28px;
  padding-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid #d98213;
  color: #2b2e2f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: gap .25s ease, color .25s ease;
}

.arrow-link:hover {
  gap: 38px;
  color: #b85f00;
}

.arrow-link.light {
  color: #fff;
}

.section-services {
  padding-top: 104px;
  background: #e8e5de;
}

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

.section-heading .arrow-link {
  flex: 0 0 auto;
  margin-bottom: 11px;
}

.heading-copy {
  max-width: 410px;
  margin: 0 0 8px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 280px;
  gap: 16px;
}

.service-card {
  position: relative;
  grid-column: span 4;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  color: #fff;
  isolation: isolate;
}

.service-card:first-child,
.service-card:nth-child(5) {
  grid-column: span 6;
}

.service-card:nth-child(2),
.service-card:nth-child(6) {
  grid-column: span 6;
}

.service-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(10,12,13,.1);
  transition: background .35s ease, inset .35s ease, border-color .35s ease;
}

.service-card:hover::after {
  inset: 10px;
  border-color: rgba(248,170,56,.75);
  background: rgba(10,12,13,.08);
}

.card-number {
  color: #f8aa38;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.service-card h3 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
}

.service-card p {
  max-width: 390px;
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 13px;
}

.card-action {
  max-height: 0;
  margin-top: 0;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  color: #f8aa38;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .15em;
  opacity: 0;
  text-transform: uppercase;
  transition: max-height .35s ease, margin .35s ease, opacity .35s ease;
}

.service-card:hover .card-action {
  max-height: 30px;
  margin-top: 14px;
  opacity: 1;
}

.section-portfolio,
.timeline-section,
.process-section,
.partnership-section {
  background: #171a1c;
  color: #fff;
}

.portfolio-mosaic,
.portfolio-list {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 50px 20px;
}

.project-card {
  display: block;
}

.project-card.featured {
  grid-row: span 2;
}

.project-image {
  position: relative;
  height: 295px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  transition: filter .35s ease, transform .35s ease;
}

.project-card.featured .project-image {
  height: 655px;
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(10,12,13,.38));
}

.project-card:hover .project-image {
  filter: brightness(.85);
}

.project-arrow {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #f8aa38;
  color: #121517;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}

.project-card:hover .project-arrow {
  opacity: 1;
  transform: translateY(0);
}

.project-meta {
  padding: 17px 0 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
}

.project-meta span,
.project-meta small {
  color: rgba(255,255,255,.43);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.project-meta h3 {
  margin: 3px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
}

.project-meta small {
  padding-top: 8px;
}

.numbers-band {
  overflow: hidden;
  background: #d0aa62;
  color: #111416;
}

.numbers-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(4, 1fr);
  gap: 0;
}

.numbers-lead {
  padding-right: 50px;
}

.numbers-lead .eyebrow {
  color: #5c4520;
}

.numbers-lead .eyebrow > span {
  background: #5c4520;
}

.numbers-lead h2 {
  font-size: 50px;
}

.number-card {
  min-height: 190px;
  padding: 6px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid rgba(17,20,22,.25);
}

.number-card strong {
  font-size: 11px;
  letter-spacing: .13em;
}

.number-card span {
  max-width: 120px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-transform: uppercase;
}

.partners-section {
  background: #f2f0eb;
}

.section-heading.compact .page-intro h2 {
  font-size: clamp(38px, 4vw, 58px);
}

.partner-marquee {
  min-height: 120px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid #c9c5bb;
  border-bottom: 1px solid #c9c5bb;
}

.partner-marquee span {
  display: grid;
  place-items: center;
  border-right: 1px solid #d8d4cb;
  color: #6d7071;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  filter: grayscale(1);
  transition: color .25s ease, background .25s ease;
}

.partner-marquee span:last-child {
  border: 0;
}

.partner-marquee span:hover {
  background: #e8e5de;
  color: #c96f09;
}

.cta-section {
  position: relative;
  min-height: 580px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}

.cta-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13,15,16,.9), rgba(13,15,16,.55)),
    url("../images/kmijo-interior.webp") center / cover;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  max-width: 850px;
  margin-bottom: 38px;
  font-size: clamp(48px, 6vw, 80px);
}

.footer {
  padding: 52px 0 20px;
  background: #111416;
  color: rgba(255,255,255,.62);
}

.footer-minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-slogan {
  margin: 18px 0 34px;
  color: rgba(255,255,255,.55);
  font-size: 11px;
  letter-spacing: .08em;
}

.footer-bottom {
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.34);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Internal pages */

.interior-hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: end;
  overflow: hidden;
  background: #111416;
  color: #fff;
}

.interior-media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.interior-media::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px);
  background-size: 90px 90px;
}

.interior-content {
  position: relative;
  z-index: 1;
  padding-bottom: 80px;
}

.interior-content h1 {
  max-width: 890px;
  font-size: clamp(58px, 6.5vw, 90px);
}

.interior-content > p:last-child {
  max-width: 610px;
  margin: 26px 0 0;
  color: rgba(255,255,255,.69);
  font-size: 17px;
}

.story-copy {
  padding-top: 53px;
}

.story-copy .lead,
.partner-page-grid .lead,
.project-story .lead {
  color: #282b2c;
  font-size: 22px;
}

.story-copy blockquote {
  margin: 45px 0 0;
  padding: 26px 0 0 33px;
  border-top: 1px solid #c8c2b7;
  border-left: 3px solid #f8aa38;
  color: #333637;
  font-size: 29px;
}

.timeline {
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,.16);
}

.timeline article {
  padding: 34px 0;
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.timeline strong {
  color: #f8aa38;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 400;
}

.timeline h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.timeline p {
  max-width: 620px;
  margin: 0;
  color: rgba(255,255,255,.55);
}

.values-section {
  background: #e8e5de;
}

.values-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #c9c5bb;
  border-bottom: 1px solid #c9c5bb;
}

.values-grid article {
  min-height: 270px;
  padding: 25px;
  border-right: 1px solid #c9c5bb;
}

.values-grid article:last-child {
  border: 0;
}

.values-grid span,
.process-grid span,
.quote-step {
  color: #c96f09;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
}

.values-grid h3,
.process-grid h3 {
  margin: 105px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
}

.values-grid p,
.process-grid p {
  margin: 0;
  color: #67696a;
  font-size: 13px;
}

.inline-cta {
  margin-top: 80px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  background: #25282a;
  color: #fff;
}

.inline-cta span {
  color: #f8aa38;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.inline-cta h2 {
  max-width: 610px;
  margin-top: 8px;
  font-size: 34px;
}

.service-detail-list {
  display: grid;
}

.service-detail {
  padding: 68px 0;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  align-items: center;
  border-bottom: 1px solid #cfcbc2;
  scroll-margin-top: 90px;
}

.service-detail:nth-child(even) .service-detail-image {
  order: 2;
}

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

.service-detail-image::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,.4);
}

.service-detail-image > span {
  position: absolute;
  z-index: 1;
  top: 30px;
  left: 30px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: #f8aa38;
  color: #111416;
  font-size: 10px;
  font-weight: 800;
}

.service-detail-copy h2 {
  max-width: 620px;
  font-size: clamp(36px, 4vw, 54px);
}

.service-detail-copy > p:not(.eyebrow) {
  margin: 24px 0;
  color: #656768;
}

.service-detail-copy ul,
.quote-layout aside ul,
.project-story ul {
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.service-detail-copy li,
.quote-layout aside li,
.project-story li {
  padding: 11px 0;
  border-bottom: 1px solid #d0ccc3;
  color: #444748;
  font-size: 13px;
}

.service-detail-copy li::before,
.quote-layout aside li::before,
.project-story li::before {
  content: "—";
  margin-right: 14px;
  color: #d98213;
}

.service-detail-copy > a {
  display: inline-flex;
  gap: 22px;
  color: #86652e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.process-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.17);
}

.process-grid article {
  min-height: 260px;
  padding: 25px;
  border-right: 1px solid rgba(255,255,255,.17);
}

.process-grid h3 {
  margin-top: 100px;
  color: #fff;
}

.process-grid p {
  color: rgba(255,255,255,.5);
}

.portfolio-list {
  margin-top: 20px;
}

.portfolio-list .project-card:not(.featured) .project-meta,
.portfolio-list .project-card.featured .project-meta {
  color: #17191a;
}

.portfolio-list .project-meta span,
.portfolio-list .project-meta small {
  color: #777a7b;
}

.project-hero {
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: end;
  color: #fff;
}

.project-hero-image {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.project-hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 70px;
}

.back-link {
  position: absolute;
  bottom: 620px;
  left: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.project-hero h1 {
  font-size: clamp(62px, 8vw, 112px);
}

.project-hero-content > div > p:last-child {
  margin: 18px 0 0;
  color: rgba(255,255,255,.65);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.project-story {
  background: #f2f0eb;
}

.project-story h2 {
  max-width: 520px;
  font-size: 53px;
}

.project-story-grid > div:last-child {
  padding-top: 43px;
}

.project-story-grid h3 {
  margin: 35px 0 0;
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.project-gallery {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}

.project-gallery > div {
  min-height: 570px;
  background-position: center;
  background-size: cover;
}

.project-gallery > div:last-child {
  min-height: 430px;
  margin-top: 110px;
}

.project-next {
  margin-top: 90px;
}

.partner-page-grid {
  padding-bottom: 70px;
  border-bottom: 1px solid #cbc7bd;
}

.partner-page-grid > p {
  padding-top: 44px;
}

.logo-wall {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #cbc7bd;
  border-left: 1px solid #cbc7bd;
}

.logo-wall > div {
  position: relative;
  min-height: 190px;
  display: grid;
  place-items: center;
  border-right: 1px solid #cbc7bd;
  border-bottom: 1px solid #cbc7bd;
  transition: background .25s ease;
}

.logo-wall > div:hover {
  background: #e8e5de;
}

.logo-wall span {
  position: absolute;
  top: 14px;
  left: 16px;
  color: #989a9b;
  font-size: 9px;
}

.logo-wall strong {
  color: #555859;
  font-size: 18px;
  letter-spacing: .1em;
}

.partnership-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 90px;
}

.partnership-grid h2 {
  max-width: 650px;
  font-size: clamp(48px, 6vw, 75px);
}

.partnership-grid > div:last-child {
  padding-top: 55px;
}

.partnership-grid > div:last-child p {
  margin: 0 0 30px;
  color: rgba(255,255,255,.55);
}

.contact-section {
  background: #e8e5de;
}

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(42px, 4.5vw, 61px);
}

.contact-info > p:not(.eyebrow) {
  color: #656768;
}

.contact-cards {
  margin: 35px 0;
  border-top: 1px solid #c8c4ba;
}

.contact-cards article {
  padding: 18px 0;
  display: flex;
  gap: 20px;
  border-bottom: 1px solid #c8c4ba;
}

.contact-cards article > span {
  color: #c96f09;
  font-size: 9px;
}

.contact-cards div {
  display: grid;
}

.contact-cards small {
  color: #858788;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contact-cards strong {
  font-size: 14px;
}

.quote-form {
  padding: 42px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(20,22,23,.07);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: #66696a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.quote-form > label {
  margin-top: 22px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid #cbc8c0;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: #212425;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  transition: border .2s ease;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: #c96f09;
}

.form-bottom {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.form-bottom p {
  max-width: 260px;
  margin: 0;
  color: #929495;
  font-size: 10px;
}

.quote-page {
  min-height: 100vh;
  background: #e8e5de;
}

.quote-page-intro {
  padding: 220px 0 85px;
  background:
    linear-gradient(90deg, rgba(14,16,17,.94), rgba(14,16,17,.69)),
    url("../images/kmijo-workspace.webp") center / cover;
  color: #fff;
}

.quote-page-intro h1 {
  max-width: 900px;
  font-size: clamp(60px, 7vw, 98px);
}

.quote-page-intro > div > p:last-child {
  max-width: 630px;
  color: rgba(255,255,255,.64);
}

.quote-form-section {
  padding: 90px 0 120px;
}

.quote-layout {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 70px;
  align-items: start;
}

.quote-layout aside {
  padding-top: 38px;
}

.quote-layout aside h2 {
  margin-top: 12px;
  font-size: 44px;
}

.quote-layout aside > p {
  color: #686a6b;
}

.form-success {
  padding: 48px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(20,22,23,.07);
}

.success-mark {
  width: 48px;
  height: 48px;
  margin-bottom: 32px;
  display: grid;
  place-items: center;
  background: #f8aa38;
  color: #111416;
  font-weight: 900;
}

.form-success h2 {
  font-size: 44px;
}

.form-success > p:not(.eyebrow) {
  color: #66696a;
}

.form-success pre {
  margin: 28px 0;
  padding: 20px;
  overflow-x: auto;
  border-left: 3px solid #f8aa38;
  background: #f0eee8;
  color: #353839;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
}

@media (max-width: 1024px) {
  .container,
  .header-shell {
    width: min(100% - 32px, 900px);
  }

  .main-nav {
    gap: 16px;
  }

  .main-nav > a:not(.nav-cta) {
    font-size: 9px;
  }

  .hero-copy {
    width: 78%;
  }

  .split-intro,
  .story-grid,
  .project-story-grid,
  .partner-page-grid {
    gap: 55px;
  }

  .numbers-grid {
    grid-template-columns: 1.5fr repeat(2, 1fr);
    row-gap: 40px;
  }

  .number-card:nth-last-child(-n+2) {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 35px;
  }
}

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

  .site-header {
    top: 10px;
  }

  .header-shell {
    position: relative;
    min-height: 62px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    padding: 12px 9px;
    display: grid;
    align-content: center;
    gap: 7px;
    border: 0;
    background: transparent;
  }

  .menu-toggle span {
    height: 1px;
    display: block;
    background: #fff;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    max-height: 0;
    padding: 0 22px;
    display: grid;
    gap: 0;
    overflow: hidden;
    background: rgba(17,20,22,.98);
    opacity: 0;
    transition: max-height .4s ease, padding .4s ease, opacity .3s ease;
  }

  .main-nav.is-open {
    max-height: 570px;
    padding-top: 18px;
    padding-bottom: 24px;
    opacity: 1;
  }

  .main-nav > a:not(.nav-cta) {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 11px;
  }

  .main-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 15px;
    justify-content: space-between;
  }

  .hero {
    min-height: 760px;
  }

  .hero-media {
    background:
      linear-gradient(90deg, rgba(11,13,14,.94), rgba(11,13,14,.46)),
      linear-gradient(180deg, transparent 50%, rgba(11,13,14,.8)),
      url("../images/kmijo-hero.webp") 60% center / cover;
  }

  .hero-copy {
    width: 90%;
  }

  .hero-index {
    position: relative;
    bottom: auto;
    margin-top: 70px;
  }

  .hero-index > div {
    width: auto;
    min-width: 145px;
  }

  .scroll-cue {
    display: none;
  }

  .split-intro,
  .story-grid,
  .project-story-grid,
  .partner-page-grid,
  .contact-grid,
  .quote-layout,
  .partnership-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .split-copy,
  .story-copy,
  .project-story-grid > div:last-child,
  .partner-page-grid > p,
  .partnership-grid > div:last-child {
    padding-top: 0;
  }

  .service-grid {
    grid-auto-rows: 300px;
  }

  .service-card,
  .service-card:first-child,
  .service-card:nth-child(2),
  .service-card:nth-child(5),
  .service-card:nth-child(6) {
    grid-column: span 6;
  }

  .portfolio-mosaic,
  .portfolio-list {
    grid-template-columns: 1fr 1fr;
  }

  .project-card.featured {
    grid-column: span 2;
    grid-row: auto;
  }

  .project-card.featured .project-image {
    height: 520px;
  }

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

  .numbers-lead {
    grid-column: span 2;
  }

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

  .partner-marquee span {
    min-height: 95px;
    border-bottom: 1px solid #d8d4cb;
  }

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

  .footer-brand {
    grid-column: span 2;
  }

  .service-detail {
    gap: 45px;
  }

  .service-detail-image {
    min-height: 410px;
  }

  .values-grid,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .values-grid article:nth-child(2),
  .process-grid article:nth-child(2) {
    border-right: 0;
  }

  .logo-wall {
    grid-template-columns: 1fr 1fr;
  }

  .quote-layout aside {
    padding: 0;
  }
}

@media (max-width: 620px) {
  .container,
  .header-shell {
    width: calc(100% - 24px);
  }

  .section {
    padding: 72px 0;
  }

  .brand-name {
    display: none;
  }

  .hero {
    min-height: 760px;
    height: 100svh;
  }

  .hero-content {
    padding-top: 50px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(54px, 16vw, 76px);
  }

  .hero-text {
    font-size: 15px;
  }

  .button-row .button {
    width: 100%;
  }

  .hero-index {
    margin-top: 45px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-index > div {
    min-width: 0;
    padding: 13px 10px;
  }

  .hero-index strong {
    font-size: 21px;
  }

  .hero-index span {
    font-size: 7px;
  }

  .page-intro h2 {
    font-size: 40px;
  }

  .section-heading {
    margin-bottom: 38px;
    align-items: start;
    flex-direction: column;
    gap: 0;
  }

  .service-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 330px;
  }

  .service-card,
  .service-card:first-child,
  .service-card:nth-child(2),
  .service-card:nth-child(5),
  .service-card:nth-child(6) {
    grid-column: auto;
  }

  .portfolio-mosaic,
  .portfolio-list {
    grid-template-columns: 1fr;
  }

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

  .project-card.featured .project-image,
  .project-image {
    height: 390px;
  }

  .project-meta {
    display: block;
  }

  .project-meta small {
    display: inline-block;
  }

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

  .numbers-lead h2 {
    font-size: 42px;
  }

  .number-card {
    min-height: 145px;
    padding: 10px 14px;
  }

  .partner-marquee {
    grid-template-columns: 1fr 1fr;
  }

  .partner-marquee span {
    font-size: 10px;
  }

  .cta-section {
    min-height: 520px;
  }

  .cta-content h2 {
    font-size: 45px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 25px;
  }

  .footer-brand {
    grid-column: span 2;
  }

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

  .interior-hero {
    min-height: 610px;
  }

  .interior-content {
    padding-bottom: 55px;
  }

  .interior-content h1 {
    font-size: 54px;
  }

  .timeline article {
    grid-template-columns: 90px 1fr;
  }

  .values-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .values-grid article,
  .process-grid article {
    min-height: 210px;
    border-right: 0;
    border-bottom: 1px solid #c9c5bb;
  }

  .process-grid article {
    border-color: rgba(255,255,255,.17);
  }

  .values-grid h3,
  .process-grid h3 {
    margin-top: 55px;
  }

  .inline-cta {
    padding: 32px 25px;
    align-items: start;
    flex-direction: column;
  }

  .inline-cta h2 {
    font-size: 30px;
  }

  .service-detail,
  .service-detail:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .service-detail:nth-child(even) .service-detail-image {
    order: 0;
  }

  .service-detail-image {
    min-height: 360px;
  }

  .project-hero {
    min-height: 690px;
  }

  .back-link {
    bottom: 540px;
  }

  .project-hero h1 {
    font-size: 61px;
  }

  .project-story h2 {
    font-size: 42px;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-gallery > div,
  .project-gallery > div:last-child {
    min-height: 400px;
    margin: 0;
  }

  .logo-wall {
    grid-template-columns: 1fr;
  }

  .partnership-grid h2 {
    font-size: 48px;
  }

  .quote-form {
    padding: 28px 20px;
  }

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

  .form-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .form-bottom .button {
    width: 100%;
  }

  .quote-page-intro {
    padding: 180px 0 70px;
  }

  .quote-page-intro h1 {
    font-size: 58px;
  }

  .form-success {
    padding: 32px 22px;
  }
}

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

/* Direção visual Kmijo — carvão, arquitetura e detalhes dourados */

body {
  background: #25292c;
  color: #f4f3ef;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.section {
  position: relative;
  padding: 112px 0;
}

.page-intro h2,
.numbers-lead h2,
.story-copy blockquote,
.inline-cta h2,
.service-detail-copy h2,
.contact-info h2,
.quote-layout aside h2,
.form-success h2,
.partnership-grid h2,
.project-story h2,
.hero h1,
.interior-hero h1,
.project-hero h1,
.quote-page-intro h1 {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.eyebrow {
  margin-bottom: 22px;
  color: #f8aa38;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .26em;
}

.eyebrow > span {
  width: 44px;
  background: linear-gradient(90deg, #c96f09, #ffc05a);
}

.page-intro h2 {
  max-width: 710px;
  color: #fff;
  font-size: clamp(38px, 4.1vw, 58px);
  font-weight: 300;
  letter-spacing: -.025em;
  line-height: 1.12;
  text-transform: uppercase;
}

.page-intro h2::after {
  content: "";
  width: 64px;
  height: 2px;
  margin-top: 24px;
  display: block;
  background: linear-gradient(90deg, #f8aa38, transparent);
}

.site-header {
  top: 0;
  padding: 0;
}

.header-shell {
  width: 100%;
  max-width: none;
  min-height: 88px;
  margin: 0;
  padding: 0 clamp(28px, 4.8vw, 78px);
  border: 0;
  background: rgba(27,31,34,.76);
  box-shadow: none;
  backdrop-filter: blur(2px);
  transition:
    min-height .4s ease,
    padding .4s ease,
    background .4s ease,
    box-shadow .4s ease,
    backdrop-filter .4s ease;
}

.site-header:not(.is-scrolled) .header-shell {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.site-header.is-scrolled {
  top: 0;
  padding: 0;
}

.site-header.is-scrolled .header-shell {
  width: 100%;
  max-width: none;
  min-height: 66px;
  margin: 0;
  padding: 0 clamp(28px, 4.8vw, 78px);
  border: 0;
  background: rgba(28,32,35,.96);
  box-shadow: 0 10px 34px rgba(0,0,0,.25);
  backdrop-filter: blur(16px);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-color: rgba(248,170,56,.78);
  color: #f8aa38;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 23px;
  font-weight: 300;
  transform: none;
}

.brand-logo {
  flex: 0 0 auto;
}

.brand-logo img {
  width: clamp(148px, 13vw, 184px);
  height: auto;
  display: block;
  filter: drop-shadow(0 1px 1px rgba(255,255,255,.24)) drop-shadow(0 4px 12px rgba(0,0,0,.3));
  transition: width .35s ease, filter .35s ease;
}

.site-header.is-scrolled .brand-logo img {
  width: clamp(132px, 11.5vw, 164px);
}

.footer-logo {
  width: min(190px, 100%);
  justify-content: center;
}

.footer-logo img {
  width: 100%;
}

.site-header.is-scrolled .brand-mark {
  width: 36px;
  height: 36px;
  font-size: 19px;
}

.brand-name strong {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .25em;
}

.brand-name small {
  color: #f8aa38;
  font-size: 7px;
}

.main-nav {
  gap: clamp(18px, 2.25vw, 34px);
}

.main-nav > a:not(.nav-cta) {
  padding: 25px 0 23px;
  color: rgba(255,255,255,.72);
  font-size: 10px;
  letter-spacing: .14em;
  transition: color .28s ease, text-shadow .28s ease, transform .28s ease;
}

.main-nav > a:not(.nav-cta)::after {
  right: auto;
  left: 50%;
  bottom: 18px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d98213, #ffc05a);
  box-shadow: 0 0 12px rgba(248,170,56,.48);
  transform: none;
  transition: width .3s ease, left .3s ease;
}

.main-nav > a:not(.nav-cta):hover {
  color: #ffc05a;
  text-shadow: 0 0 18px rgba(248,170,56,.28);
  transform: translateY(-2px);
}

.main-nav > a:not(.nav-cta):hover::after,
.main-nav > a:not(.nav-cta).active::after {
  left: 0;
  width: 100%;
  transform: none;
}

.nav-cta {
  min-height: 42px;
  padding: 0 21px;
  border: 1px solid #e98f16;
  background: linear-gradient(135deg, #e98f16, #f8aa38);
  color: #181b1d;
  font-size: 9px;
  font-weight: 700;
  box-shadow: 0 7px 20px rgba(0,0,0,.13);
}

.nav-cta:hover {
  border-color: #ffc96f;
  background: linear-gradient(135deg, #f8aa38, #ffc96f);
  color: #171a1c;
  box-shadow: 0 0 28px rgba(248,170,56,.24);
}

.hero {
  min-height: 760px;
  height: 100svh;
  max-height: 940px;
  background: #1d2124;
}

.hero-media {
  background:
    radial-gradient(ellipse at 7% 0%, rgba(255,248,232,.38) 0%, rgba(221,214,199,.2) 23%, transparent 47%),
    linear-gradient(90deg, rgba(25,29,32,.84) 0%, rgba(25,29,32,.66) 39%, rgba(25,29,32,.21) 69%, rgba(25,29,32,.07)),
    linear-gradient(180deg, rgba(22,25,28,.02) 48%, rgba(28,32,35,.63) 100%),
    url("../images/kmijo-hero.webp") 68% center / cover;
  filter: saturate(1.08) brightness(1.06);
}

.hero-grid {
  opacity: .09;
  background-size: 110px 110px;
}

.hero-content {
  padding-top: 80px;
}

.hero-copy {
  width: min(760px, 72%);
}

.hero h1 {
  max-width: 780px;
  color: #fff;
  font-size: clamp(54px, 6vw, 82px);
  font-weight: 300;
  letter-spacing: -.035em;
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 8px 28px rgba(0,0,0,.24);
}

.hero-text {
  max-width: 570px;
  margin: 25px 0 34px;
  color: rgba(255,255,255,.69);
  font-size: 16px;
  line-height: 1.75;
}

.button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 1px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
}

.button-primary {
  background: linear-gradient(135deg, #e98f16, #f8aa38);
  color: #171a1c;
  box-shadow: 0 8px 24px rgba(248,170,56,.12);
}

.button-primary:hover {
  background: linear-gradient(135deg, #f0a12a, #ffc96f);
  box-shadow: 0 10px 32px rgba(248,170,56,.25);
}

.button-ghost {
  border-color: rgba(248,170,56,.62);
  color: #e5d2a9;
}

.button-ghost:hover {
  border-color: #ffc05a;
  background: rgba(248,170,56,.07);
  box-shadow: 0 0 25px rgba(248,170,56,.11);
}

.hero-index {
  right: 0;
  bottom: -150px;
  border-color: rgba(248,170,56,.24);
}

.hero-index > div {
  border-color: rgba(248,170,56,.2);
}

.hero-index strong {
  color: #f4a72f;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 23px;
  font-weight: 300;
}

.scroll-cue {
  right: 34px;
  color: rgba(255,255,255,.45);
}

.section-about {
  z-index: 3;
  margin-top: -64px;
  padding: 165px 0 150px;
  background: #2c3033;
  clip-path: polygon(0 7%, 100% 0, 100% 93%, 0 100%);
}

.about-layout {
  display: grid;
  grid-template-columns: .98fr 1.02fr;
  gap: 88px;
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 510px;
  background:
    linear-gradient(180deg, rgba(20,23,25,.03), rgba(20,23,25,.28)),
    url("../images/kmijo-interior.webp") center / cover;
  box-shadow: 0 25px 65px rgba(0,0,0,.24);
}

.about-frame {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255,190,85,.46);
  pointer-events: none;
}

.about-experience {
  position: absolute;
  right: -25px;
  bottom: -25px;
  min-width: 130px;
  padding: 20px 22px;
  display: grid;
  background: linear-gradient(135deg, #d98213, #f4a72f);
  color: #1a1d1f;
  font-size: 25px;
  font-weight: 300;
  letter-spacing: .03em;
}

.about-experience strong {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.split-copy {
  max-width: 610px;
  padding: 0;
}

.split-copy .page-intro {
  margin-bottom: 31px;
}

.split-copy p,
.story-copy > p,
.heading-copy,
.partner-page-grid > p {
  color: rgba(255,255,255,.59);
  font-size: 15px;
  line-height: 1.85;
}

.split-copy p:first-of-type {
  color: rgba(255,255,255,.84);
  font-size: 17px;
}

.arrow-link {
  border-color: #d98213;
  color: #f8aa38;
  font-size: 9px;
}

.arrow-link.light {
  color: #f8aa38;
}

.section-services {
  z-index: 2;
  margin-top: -75px;
  padding: 185px 0 165px;
  background:
    linear-gradient(115deg, transparent 0 72%, rgba(248,170,56,.055) 72% 72.1%, transparent 72.1%),
    #202427;
}

.section-services::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -110px;
  bottom: 70px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(248,170,56,.07);
  transform: rotate(45deg);
  pointer-events: none;
}

.section-services .container {
  position: relative;
  z-index: 1;
}

.section-heading {
  margin-bottom: 48px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 340px;
  gap: 14px;
}

.service-card,
.service-card:first-child,
.service-card:nth-child(2),
.service-card:nth-child(5),
.service-card:nth-child(6) {
  grid-column: auto;
}

.service-card {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.08);
  background-position: center;
  filter: saturate(1.02) brightness(1.03);
  transition: border-color .35s ease, filter .35s ease, transform .35s ease, box-shadow .35s ease;
}

.service-card-1 {
  border-radius: 0 54px 0 54px;
}

.service-card-1::after {
  border-radius: 0 44px 0 44px;
}

.service-card-2 {
  clip-path: polygon(0 0, 100% 0, 100% 88%, 90% 100%, 0 100%);
}

.service-card-3 {
  clip-path: polygon(7% 0, 100% 4%, 94% 100%, 0 96%);
}

.service-card-4 {
  border-radius: 48px 3px 48px 3px;
}

.service-card-4::after {
  border-radius: 39px 1px 39px 1px;
}

.service-card-5 {
  clip-path: polygon(0 10%, 9% 0, 100% 0, 100% 100%, 0 100%);
}

.service-card-6 {
  clip-path: polygon(0 0, 91% 0, 100% 11%, 100% 100%, 9% 100%, 0 89%);
}

.service-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,23,25,.06), rgba(16,18,20,.82));
  transition: background .35s ease;
}

.service-card::after {
  inset: 10px;
  border-color: rgba(248,170,56,.16);
  background: transparent;
}

.service-card:hover {
  z-index: 2;
  border-color: rgba(255,190,85,.58);
  filter: saturate(1.12) brightness(1.06);
  transform: translateY(-7px);
  box-shadow: 0 22px 48px rgba(0,0,0,.3);
}

.service-card:hover::before {
  background: linear-gradient(180deg, rgba(20,23,25,.02), rgba(16,18,20,.72));
}

.service-card:hover::after {
  inset: 10px;
  border-color: rgba(255,190,85,.62);
}

.card-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(248,170,56,.5);
  color: #f8aa38;
  font-size: 9px;
}

.service-card h3 {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.service-card p {
  color: rgba(255,255,255,.56);
  font-size: 12px;
}

.section-portfolio {
  z-index: 3;
  margin-top: -58px;
  padding: 168px 0 145px;
  background: #2b2f32;
  clip-path: polygon(0 5%, 100% 0, 100% 96%, 0 100%);
}

.portfolio-mosaic,
.portfolio-list {
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-card,
.project-card.featured {
  grid-row: auto;
}

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

.project-image,
.project-card.featured .project-image {
  height: 390px;
  border: 1px solid rgba(255,255,255,.08);
  filter: saturate(1.03) brightness(1.03);
  transition: filter .35s ease;
}

.project-image::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 0 solid rgba(248,170,56,.58);
  transition: inset .35s ease, border-width .35s ease;
}

.project-card:hover .project-image::before {
  inset: 11px;
  border-width: 1px;
}

.project-card:hover .project-image {
  filter: saturate(1.12) brightness(1.06);
}

.project-meta {
  padding-top: 18px;
}

.project-meta h3 {
  color: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.project-meta span,
.project-meta small {
  color: #e98f16;
}

.numbers-band {
  z-index: 2;
  margin-top: -40px;
  padding: 130px 0 115px;
  background: #202427;
  color: #fff;
}

.numbers-lead .eyebrow {
  color: #f8aa38;
}

.numbers-lead .eyebrow > span {
  background: #f8aa38;
}

.numbers-lead h2 {
  color: #fff;
  font-size: 42px;
  font-weight: 300;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.number-card {
  border-color: rgba(248,170,56,.24);
}

.number-card strong {
  color: #f8aa38;
}

.number-card span {
  color: rgba(255,255,255,.67);
}

.partners-section {
  padding: 125px 0 135px;
  background: #2b2f32;
}

.partner-marquee {
  border-color: rgba(248,170,56,.22);
}

.partner-marquee span {
  border-color: rgba(255,255,255,.08);
  color: rgba(255,255,255,.53);
}

.partner-marquee span:hover {
  background: rgba(248,170,56,.06);
  color: #f8aa38;
}

.partners-summary {
  max-width: 680px;
  margin: -34px 0 44px;
  color: rgba(255,255,255,.58);
  font-size: 16px;
  line-height: 1.75;
}

.partner-marquee {
  grid-template-columns: repeat(5, 1fr);
}

.partner-home-logo {
  min-width: 0;
  min-height: 128px;
  padding: 24px 20px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(255,255,255,.08);
  color: inherit;
  text-decoration: none;
  transition: background .25s ease;
}

.partner-home-logo:last-child {
  border-right: 0;
}

.partner-home-logo:hover {
  background: rgba(248,170,56,.06);
}

.partner-logo-asset {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 74px;
  display: grid;
  place-items: center;
}

.partner-logo-fallback {
  color: #f8aa38;
  font-size: 19px;
  font-weight: 300;
  letter-spacing: .12em;
}

.partner-logo-asset img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  opacity: 0;
  transition: opacity .25s ease, filter .25s ease;
}

.partner-logo-asset.is-loaded img {
  opacity: .78;
}

.partner-logo-asset.is-loaded .partner-logo-fallback {
  opacity: 0;
}

.partner-home-logo:hover .partner-logo-asset img {
  opacity: 1;
}

.partner-card-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.partner-card {
  position: relative;
  min-height: 360px;
  padding: 30px;
  display: grid;
  grid-template-columns: 124px 1fr;
  grid-template-rows: 1fr auto;
  gap: 24px 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  background: #25292c;
  color: inherit;
  text-decoration: none;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

.partner-card:nth-child(5) {
  grid-column: 1 / -1;
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(248,170,56,.42);
  background: #292e31;
}

.partner-card-index {
  position: absolute;
  top: 19px;
  right: 21px;
  color: rgba(255,255,255,.3);
  font-size: 10px;
  letter-spacing: .14em;
}

.partner-card-logo {
  width: 124px;
  height: 124px;
  align-self: center;
  display: grid;
  place-items: center;
  border: 1px solid rgba(248,170,56,.25);
  border-radius: 50%;
  background: rgba(248,170,56,.035);
}

.partner-card-logo .partner-logo-asset {
  min-height: 0;
  padding: 13px;
}

.partner-card-copy {
  align-self: center;
}

.partner-card-copy > p {
  margin: 0 0 13px;
  color: #f8aa38;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.partner-card-copy h2 {
  margin: 0 0 15px;
  color: #fff;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.08;
  text-transform: uppercase;
}

.partner-card-copy > span {
  display: block;
  max-width: 510px;
  color: rgba(255,255,255,.58);
  font-size: 14px;
  line-height: 1.7;
}

.partner-card-action {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.38);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  text-align: right;
  text-transform: uppercase;
}

a.partner-card .partner-card-action {
  color: #f8aa38;
}

@media (max-width: 1100px) {
  .partner-marquee {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-home-logo:nth-child(2n) {
    border-right: 0;
  }

  .partner-home-logo:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .partners-summary {
    margin-top: -16px;
  }

  .partner-marquee,
  .partner-card-grid {
    grid-template-columns: 1fr;
  }

  .partner-home-logo,
  .partner-home-logo:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .partner-home-logo:last-child {
    grid-column: auto;
    border-bottom: 0;
  }

  .partner-card,
  .partner-card:nth-child(5) {
    grid-column: auto;
  }

  .partner-card {
    min-height: 0;
    padding: 26px 22px;
    grid-template-columns: 82px 1fr;
    gap: 20px;
  }

  .partner-card-logo {
    width: 82px;
    height: 82px;
  }

}

.footer {
  padding-top: 52px;
  border-top: 1px solid rgba(248,170,56,.18);
  background: #191d1f;
}

/* Páginas internas com a mesma linguagem visual */

.interior-hero {
  min-height: 610px;
  background: #202427;
}

.interior-media {
  filter: saturate(1.04) brightness(1.03);
}

.project-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 8% 0%, rgba(243,245,242,.5) 0%, rgba(220,224,220,.18) 23%, transparent 43%),
    linear-gradient(180deg, rgba(18,21,23,.28) 0%, transparent 30%);
  pointer-events: none;
}

.interior-content h1 {
  max-width: 950px;
  font-size: clamp(48px, 5.6vw, 76px);
  font-weight: 300;
  letter-spacing: -.03em;
  line-height: 1.08;
  text-transform: uppercase;
}

.interior-content > p:last-child {
  color: rgba(255,255,255,.62);
}

.story-grid,
.project-story-grid,
.partner-page-grid {
  color: #fff;
}

.story-copy .lead,
.partner-page-grid .lead,
.project-story .lead {
  color: rgba(255,255,255,.82);
}

.story-copy blockquote {
  border-color: rgba(248,170,56,.4);
  color: #fff;
  font-size: 25px;
}

.timeline-section,
.process-section,
.partnership-section {
  background: #202427;
}

.values-section,
.contact-section,
.project-story {
  background: #2b2f32;
}

.values-grid {
  border-color: rgba(248,170,56,.2);
}

.values-grid article {
  border-color: rgba(255,255,255,.09);
}

.values-grid h3,
.process-grid h3 {
  color: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
}

.values-grid p,
.process-grid p {
  color: rgba(255,255,255,.55);
}

.service-detail {
  border-color: rgba(248,170,56,.2);
}

.service-detail-image {
  filter: saturate(1.05) brightness(1.03);
  box-shadow: 0 24px 54px rgba(0,0,0,.2);
}

.service-detail:nth-child(1) .service-detail-image {
  border-radius: 0 78px 0 78px;
}

.service-detail:nth-child(1) .service-detail-image::after {
  border-radius: 0 62px 0 62px;
}

.service-detail:nth-child(2) .service-detail-image {
  clip-path: polygon(0 0, 100% 7%, 96% 100%, 0 93%);
}

.service-detail:nth-child(3) .service-detail-image {
  border-radius: 76px 0 76px 0;
}

.service-detail:nth-child(3) .service-detail-image::after {
  border-radius: 60px 0 60px 0;
}

.service-detail:nth-child(4) .service-detail-image {
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%, 0 13%);
}

.service-detail:nth-child(5) .service-detail-image {
  border-radius: 0 0 92px 0;
}

.service-detail:nth-child(5) .service-detail-image::after {
  border-radius: 0 0 72px 0;
}

.service-detail:nth-child(6) .service-detail-image {
  clip-path: polygon(0 0, 91% 0, 100% 11%, 100% 100%, 8% 100%, 0 88%);
}

.service-detail-copy h2,
.contact-info h2,
.project-story h2 {
  color: #fff;
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 300;
  text-transform: uppercase;
}

.service-detail-copy > p:not(.eyebrow),
.contact-info > p:not(.eyebrow) {
  color: rgba(255,255,255,.59);
}

.service-detail-copy li,
.project-story li {
  border-color: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
}

.service-detail-copy > a {
  color: #f8aa38;
}

.inline-cta {
  border: 1px solid rgba(248,170,56,.25);
  background: #202427;
}

.project-hero h1 {
  font-size: clamp(54px, 7vw, 94px);
  font-weight: 300;
  text-transform: uppercase;
}

.project-gallery > div {
  border: 1px solid rgba(248,170,56,.18);
}

.partner-page-grid,
.logo-wall {
  border-color: rgba(248,170,56,.2);
}

.logo-wall > div {
  border-color: rgba(255,255,255,.09);
}

.logo-wall > div:hover {
  background: rgba(248,170,56,.06);
}

.logo-wall strong {
  color: rgba(255,255,255,.65);
}

.quote-page {
  background: #272b2e;
}

.quote-page-intro h1 {
  font-size: clamp(52px, 6vw, 84px);
  font-weight: 300;
  text-transform: uppercase;
}

.quote-layout aside h2 {
  color: #fff;
  font-weight: 300;
  text-transform: uppercase;
}

.quote-layout aside > p {
  color: rgba(255,255,255,.58);
}

.quote-layout aside li {
  border-color: rgba(255,255,255,.1);
  color: rgba(255,255,255,.67);
}

@media (max-width: 1024px) {
  .header-shell {
    width: min(100% - 34px, 960px);
  }

  .main-nav {
    gap: 15px;
  }

  .about-layout {
    gap: 55px;
  }

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

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

@media (max-width: 860px) {
  .site-header {
    top: 0;
    padding: 0;
  }

  .header-shell,
  .site-header.is-scrolled .header-shell {
    width: 100%;
    max-width: none;
    min-height: 64px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    background: rgba(31,35,38,.94);
    backdrop-filter: blur(17px);
  }

  .site-header:not(.is-scrolled) .header-shell {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .brand-logo img,
  .site-header.is-scrolled .brand-logo img {
    width: 132px;
  }

  .main-nav {
    background: rgba(31,35,38,.98);
  }

  .main-nav > a:not(.nav-cta) {
    color: rgba(255,255,255,.73);
  }

  .hero h1 {
    font-size: clamp(48px, 10vw, 68px);
  }

  .hero-index {
    position: relative;
    bottom: auto;
  }

  .section-about {
    clip-path: polygon(0 4%, 100% 0, 100% 97%, 0 100%);
  }

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

  .about-visual {
    min-height: 470px;
  }

  .split-copy {
    padding-top: 20px;
  }

  .portfolio-mosaic,
  .portfolio-list {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio-mosaic .project-card:first-child,
  .portfolio-list .project-card:first-child {
    grid-column: span 2;
  }

  .project-image,
  .project-card.featured .project-image {
    height: 360px;
  }
}

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

  .hero {
    min-height: 760px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(43px, 12.6vw, 59px);
    line-height: 1.07;
  }

  .hero-text {
    max-width: 430px;
    font-size: 14px;
  }

  .hero-index {
    margin-top: 38px;
  }

  .section-about {
    margin-top: -42px;
    padding: 120px 0 110px;
  }

  .about-visual {
    min-height: 370px;
  }

  .about-experience {
    right: 12px;
    bottom: -22px;
  }

  .page-intro h2 {
    font-size: 34px;
  }

  .section-services {
    margin-top: -42px;
    padding: 145px 0 125px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 330px;
  }

  .section-portfolio {
    margin-top: -35px;
    padding: 130px 0 115px;
    clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
  }

  .portfolio-mosaic,
  .portfolio-list {
    grid-template-columns: 1fr;
  }

  .portfolio-mosaic .project-card:first-child,
  .portfolio-list .project-card:first-child {
    grid-column: auto;
  }

  .project-image,
  .project-card.featured .project-image {
    height: 390px;
  }

  .numbers-band {
    margin-top: -20px;
  }

  .numbers-lead h2 {
    font-size: 34px;
  }
}

/* Home carousel */
.hero-media {
  background: none;
  filter: none;
  transform: none;
  animation: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(1.08) brightness(1.06);
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 1.15s ease, transform 7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.075);
}

.hero-slide-smart-home {
  filter: saturate(1.1) brightness(1.18);
}

.hero-media::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(ellipse at 8% -2%, rgba(242,244,241,.54) 0%, rgba(222,225,221,.23) 24%, transparent 46%),
    linear-gradient(25deg, rgba(18,21,23,.92) 0%, rgba(18,21,23,.74) 35%, rgba(18,21,23,.21) 68%, transparent 86%),
    linear-gradient(180deg, transparent 52%, rgba(18,21,23,.66) 100%);
  pointer-events: none;
}

.hero-media:has(.hero-slide-smart-home.is-active)::after {
  background:
    radial-gradient(ellipse at 8% -2%, rgba(248,250,247,.66) 0%, rgba(229,232,228,.3) 26%, transparent 47%),
    linear-gradient(25deg, rgba(18,21,23,.72) 0%, rgba(18,21,23,.53) 35%, rgba(18,21,23,.1) 68%, transparent 86%),
    linear-gradient(180deg, transparent 58%, rgba(18,21,23,.4) 100%);
}

.hero-slider-nav {
  position: absolute;
  z-index: 4;
  bottom: 38px;
  left: clamp(28px, 4.8vw, 78px);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-slider-nav button {
  width: 38px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hero-slider-nav button span {
  width: 100%;
  height: 2px;
  display: block;
  background: rgba(255,255,255,.42);
  transform-origin: left;
  transition: background .3s ease, transform .3s ease;
}

.hero-slider-nav button:hover span,
.hero-slider-nav button.is-active span {
  background: #f8aa38;
  box-shadow: 0 0 10px rgba(248,170,56,.38);
  transform: scaleX(1.18);
}

/* Contact form */
.file-field {
  margin-top: 22px;
}

.file-control {
  padding: 15px 16px;
  display: grid;
  gap: 8px;
  border: 1px dashed #bdb9af;
  background: #f5f3ee;
}

.file-control input {
  padding: 0;
  border: 0;
  font-size: 12px;
}

.file-control > span {
  color: #858788;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px;
  overflow: hidden;
}

.form-error {
  margin: 22px 0 0;
  padding: 12px 14px;
  border-left: 3px solid #c4512c;
  background: #fff0eb;
  color: #8d3216;
  font-size: 12px;
}

.quote-form button:disabled {
  cursor: wait;
  opacity: .68;
  transform: none;
}

.submission-reference {
  margin: 24px 0;
  padding: 14px 16px;
  border-left: 3px solid #f8aa38;
  background: #f0eee8;
  color: #555859 !important;
  font-size: 12px;
}

.submission-reference strong {
  display: block;
  margin-top: 5px;
  color: #212425;
  font-size: 14px;
  letter-spacing: .05em;
}

@media (max-width: 860px) {
  .hero-slide {
    background-position: 62% center !important;
  }

  .hero-media::after {
    background:
      radial-gradient(ellipse at 8% -2%, rgba(242,244,241,.48) 0%, rgba(222,225,221,.18) 23%, transparent 43%),
      linear-gradient(35deg, rgba(18,21,23,.94) 0%, rgba(18,21,23,.77) 46%, rgba(18,21,23,.27) 73%, transparent 90%),
      linear-gradient(180deg, transparent 45%, rgba(18,21,23,.76) 100%);
  }

  .hero-media:has(.hero-slide-smart-home.is-active)::after {
    background:
      radial-gradient(ellipse at 8% -2%, rgba(248,250,247,.58) 0%, rgba(229,232,228,.24) 24%, transparent 44%),
      linear-gradient(35deg, rgba(18,21,23,.78) 0%, rgba(18,21,23,.57) 46%, rgba(18,21,23,.14) 73%, transparent 90%),
      linear-gradient(180deg, transparent 52%, rgba(18,21,23,.5) 100%);
  }
}

@media (max-width: 620px) {
  .hero-slider-nav {
    bottom: 20px;
    left: 16px;
  }

  .hero-slider-nav button {
    width: 30px;
  }

  .file-control {
    padding: 13px;
  }
}

/* Portfolio gallery */
.portfolio-gallery-section {
  background: #2b2f32;
  color: #fff;
}

.portfolio-gallery-compact {
  padding-top: 68px;
}

.portfolio-gallery-section .heading-copy {
  color: rgba(255,255,255,.58);
}

.portfolio-list .project-meta {
  color: #fff !important;
}

.portfolio-list .project-meta h3 {
  color: #fff;
}

.portfolio-list .project-meta span,
.portfolio-list .project-meta small {
  color: #e98f16;
}

.portfolio-list .project-arrow {
  opacity: 1;
  transform: translateY(0);
}

.project-image.is-transparent-art,
.project-card.featured .project-image.is-transparent-art {
  border-color: transparent;
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: contain;
  filter: none;
}

.project-image.is-transparent-art::before,
.project-image.is-transparent-art::after {
  display: none;
}

.project-card:hover .project-image.is-transparent-art {
  filter: none;
}

.project-gallery-viewer {
  margin-top: 90px;
  outline: none;
}

.project-gallery-viewer:focus-visible {
  outline: 1px solid rgba(248,170,56,.7);
  outline-offset: 8px;
}

.project-gallery-heading {
  margin-bottom: 32px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
}

.project-gallery-heading h2 {
  margin: 0;
}

.project-gallery-heading > p {
  max-width: 420px;
  margin: 0 0 8px;
  color: rgba(255,255,255,.56);
  font-size: 14px;
  line-height: 1.7;
}

.project-gallery-stage {
  position: relative;
  min-height: clamp(500px, 62vw, 760px);
  overflow: hidden;
  border: 1px solid rgba(248,170,56,.28);
  background: #171a1c;
}

.project-gallery-stage::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(13,15,16,.74));
  pointer-events: none;
}

.project-gallery-stage.has-transparent-art {
  border-color: transparent;
  background: transparent;
}

.project-gallery-stage.has-transparent-art::after {
  display: none;
}

.project-gallery-main-image {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  animation: project-gallery-in .45s ease both;
}

.project-gallery-main-image.is-transparent-art {
  inset: clamp(42px, 6vw, 86px);
  background-size: contain;
}

.project-gallery-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(20,23,25,.7);
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  transform: translateY(-50%);
  transition: border-color .25s ease, background .25s ease, color .25s ease;
}

.project-gallery-arrow:hover,
.project-gallery-arrow:focus-visible {
  border-color: #f8aa38;
  background: #f8aa38;
  color: #171a1c;
  outline: none;
}

.project-gallery-arrow.is-previous {
  left: 24px;
}

.project-gallery-arrow.is-next {
  right: 24px;
}

.project-gallery-status {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 25px;
  left: 30px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  color: #fff;
}

.project-gallery-status span {
  color: #f8aa38;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
}

.project-gallery-status p {
  max-width: 520px;
  margin: 0;
  font-size: 12px;
  letter-spacing: .05em;
  text-align: right;
}

.project-gallery-thumbnails {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.project-gallery-thumbnails button {
  position: relative;
  height: 120px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  background-position: center;
  background-size: cover;
  cursor: pointer;
  filter: saturate(.72) brightness(.68);
  transition: border-color .25s ease, filter .25s ease, transform .25s ease;
}

.project-gallery-thumbnails button.is-transparent-art {
  border-color: transparent;
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: contain;
  filter: none;
}

.project-gallery-thumbnails button.is-transparent-art::after {
  display: none;
}

.project-gallery-thumbnails button.is-transparent-art:hover,
.project-gallery-thumbnails button.is-transparent-art:focus-visible,
.project-gallery-thumbnails button.is-transparent-art.is-active {
  border-color: transparent;
  filter: none;
}

.project-gallery-thumbnails button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15,17,18,.22);
  transition: background .25s ease;
}

.project-gallery-thumbnails button:hover,
.project-gallery-thumbnails button:focus-visible,
.project-gallery-thumbnails button.is-active {
  border-color: #f8aa38;
  filter: saturate(1.05) brightness(1);
  transform: translateY(-3px);
  outline: none;
}

.project-gallery-thumbnails button:hover::after,
.project-gallery-thumbnails button:focus-visible::after,
.project-gallery-thumbnails button.is-active::after {
  background: transparent;
}

.project-gallery-thumbnails button span {
  position: absolute;
  z-index: 1;
  right: 9px;
  bottom: 8px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-shadow: 0 1px 5px rgba(0,0,0,.8);
}

@keyframes project-gallery-in {
  from {
    opacity: .35;
    transform: scale(1.025);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 860px) {
  .project-gallery-heading {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }

  .project-gallery-stage {
    min-height: 520px;
  }
}

@media (max-width: 620px) {
  .portfolio-gallery-compact {
    padding-top: 48px;
  }

  .project-gallery-viewer {
    margin-top: 65px;
  }

  .project-gallery-stage {
    min-height: 360px;
  }

  .project-gallery-arrow {
    width: 44px;
    height: 44px;
  }

  .project-gallery-arrow.is-previous {
    left: 12px;
  }

  .project-gallery-arrow.is-next {
    right: 12px;
  }

  .project-gallery-status {
    right: 16px;
    bottom: 14px;
    left: 16px;
  }

  .project-gallery-status p {
    max-width: 210px;
    font-size: 10px;
  }

  .project-gallery-thumbnails {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .project-gallery-thumbnails button {
    height: 90px;
  }
}
