:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #192b38;
  background: #f8f2ea;
}
* { box-sizing: border-box; }
body, h1, h2, p, figure { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #ad461b; outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 56px)); margin-inline: auto; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 25px; border-bottom: 1px solid #d9cfc4; }
.back, .footer a { font-size: .9rem; text-underline-offset: 4px; }
.brand { font-weight: 750; text-align: right; }
.intro { padding: clamp(52px, 8vw, 100px) 0 52px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 750; font-size: .75rem; }
.intro .eyebrow { color: #a63f17; }
h1 { font-size: clamp(3rem, 8vw, 7rem); line-height: .95; letter-spacing: -.07em; margin-block: 16px 24px; }
h1 span { color: #e66a25; }
.summary { font-size: clamp(1rem, 2vw, 1.2rem); color: #495963; }
nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
nav a { padding: 8px 13px; border: 1px solid #d9cfc4; border-radius: 30px; text-decoration: none; font-size: .875rem; font-weight: 650; }
nav a:hover { background: #fff; }
.client { border-top: 1px solid #d9cfc4; padding: 28px 0 48px; scroll-margin-top: 20px; }
.client-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.number { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 750; }
.tooup { --accent: #47610a; }
.transmobi { --accent: #006771; }
.alvim { --accent: #8a1725; }
.client .eyebrow { color: var(--accent); }
h2 { font-size: clamp(1.55rem, 4vw, 2.4rem); line-height: 1.1; letter-spacing: -.04em; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 22px); }
figure { overflow: hidden; border-radius: 12px; border: 1px solid #ded5ca; background: #fff; }
.art { display: grid; place-items: center; aspect-ratio: 5 / 7; background: #eee8e0; cursor: zoom-in; }
.art:focus-visible { outline-offset: -4px; }
.art img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
figcaption { padding: 12px 14px; font-weight: 650; font-size: .9rem; }
.footer { border-top: 1px solid #d9cfc4; padding-block: 24px 40px; }
dialog { border: 0; border-radius: 12px; padding: 10px; max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); color: inherit; }
dialog::backdrop { background: rgb(12 23 31 / 88%); }
dialog form { display: flex; justify-content: flex-end; margin-bottom: 8px; }
dialog button { padding: 6px 10px; cursor: pointer; font: inherit; color: inherit; background: #f8f2ea; border: 1px solid #d9cfc4; border-radius: 6px; }
dialog img { display: block; max-width: 100%; max-height: calc(100dvh - 94px); margin: auto; object-fit: contain; }
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .posts { grid-template-columns: minmax(0, 420px); }
}
