/*
Theme Name: O Agente Gabriel
Theme URI: https://gabrielbraga.pt
Author: Gabriel Braga
Author URI: https://gabrielbraga.pt
Description: Tema WordPress para consultoria imobiliária orientada a proprietários, com o conceito Antes do Anúncio.
Version: 2.0.0
Text Domain: o-agente-gabriel
Requires PHP: 7.4
*/

:root {
  --ink: #181b19;
  --ink-soft: #424844;
  --graphite: #252926;
  --green: #23483e;
  --paper: #f0f1ed;
  --paper-strong: #e3e5e0;
  --white: #fbfbf8;
  --line: #d2d5cf;
  --line-dark: rgba(251, 251, 248, 0.18);
  --copper: #a35d43;
  --copper-dark: #713d2d;
  --shadow: 0 24px 64px rgba(24, 27, 25, 0.16);
  --max: 1240px;
  --gutter: 56px;
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Iowan Old Style", Baskerville, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

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

figure,
p,
h1,
h2,
h3,
ol,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1,
h2 {
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: 88px;
}

h2 {
  max-width: 920px;
  font-size: 64px;
}

h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

p {
  text-wrap: pretty;
}

::selection {
  background: var(--copper);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 90;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px var(--gutter);
  color: var(--white);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.admin-bar .site-header {
  top: 32px;
}

body:not(.home) .site-header,
.site-header.is-scrolled,
.site-header.is-open {
  border-bottom: 1px solid rgba(24, 27, 25, 0.12);
  background: rgba(251, 251, 248, 0.96);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 21px;
}

.brand-copy strong,
.brand-copy small {
  display: block;
  line-height: 1.15;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
}

.brand-copy small {
  margin-top: 4px;
  font-size: 11px;
  opacity: 0.74;
}

.site-nav,
.nav-links {
  display: flex;
  align-items: center;
}

.site-nav {
  gap: 24px;
  font-size: 13px;
}

.nav-links {
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  font-weight: 700;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: currentColor;
  content: "";
  transition: transform 160ms ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 2px;
  padding: 10px 16px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.site-header.is-open .nav-toggle span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.button,
.wp-block-button__link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover,
.wp-block-button__link:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--copper);
  color: var(--white);
}

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

.button--ghost {
  border-color: rgba(251, 251, 248, 0.64);
  color: var(--white);
}

.button--ghost:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.button--light {
  background: var(--white);
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 800;
}

.text-link::after {
  content: "\2192";
  transition: transform 160ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.eyebrow,
.section-kicker {
  margin-bottom: 18px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section {
  padding: 120px var(--gutter);
}

.section-intro {
  width: min(var(--max), 100%);
  margin: 0 auto 64px;
}

.section-intro > p:last-child {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: 19px;
}

.section-intro--wide h2 {
  max-width: 980px;
}

.section-intro--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.5fr);
  gap: 70px;
  align-items: end;
}

.section-intro--split > p {
  margin-bottom: 28px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 720px;
  height: 80svh;
  max-height: 840px;
  align-items: end;
  overflow: hidden;
  padding: 122px var(--gutter) 86px;
  background: #101311;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: 68% 28%;
  transform: scale(1.015);
}

.hero-overlay {
  background: rgba(12, 15, 13, 0.6);
}

.hero::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 58%;
  background: rgba(8, 11, 9, 0.4);
  content: "";
}

.hero-frame {
  position: absolute;
  z-index: 2;
  inset: 96px 28px 46px;
  pointer-events: none;
}

.hero-frame span {
  position: absolute;
  width: 34px;
  height: 34px;
  border-color: rgba(251, 251, 248, 0.45);
}

.hero-frame span:nth-child(1) {
  top: 0;
  left: 0;
  border-top: 1px solid;
  border-left: 1px solid;
}

.hero-frame span:nth-child(2) {
  top: 0;
  right: 0;
  border-top: 1px solid;
  border-right: 1px solid;
}

.hero-frame span:nth-child(3) {
  right: 0;
  bottom: 0;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.hero-frame span:nth-child(4) {
  bottom: 0;
  left: 0;
  border-bottom: 1px solid;
  border-left: 1px solid;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(var(--max), 100%);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.45fr);
  gap: 72px;
  align-items: end;
}

.hero-copy {
  max-width: 840px;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 18px;
  color: rgba(251, 251, 248, 0.92);
  font-size: 22px;
  line-height: 1.4;
}

.hero-support {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(251, 251, 248, 0.72);
  font-size: 16px;
}

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

.hero-sequence {
  border-left: 1px solid rgba(251, 251, 248, 0.34);
  padding-left: 24px;
}

.hero-sequence > p {
  margin-bottom: 18px;
  color: var(--copper);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-sequence ol {
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.hero-sequence li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  border-top: 1px solid rgba(251, 251, 248, 0.18);
  padding: 12px 0;
  color: rgba(251, 251, 248, 0.86);
  font-size: 13px;
}

.hero-sequence li span {
  color: rgba(251, 251, 248, 0.44);
  font-variant-numeric: tabular-nums;
}

.hero-legal {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: 20px;
  color: rgba(251, 251, 248, 0.56);
  font-size: 11px;
}

.market-problem {
  padding-top: 72px;
  background: var(--white);
}

.market-timeline {
  display: grid;
  width: min(var(--max), 100%);
  margin: 0 auto;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.market-stage {
  position: relative;
  min-height: 390px;
  padding: 26px 26px 30px;
  border-right: 1px solid var(--line);
}

.market-stage:first-child {
  padding-left: 0;
}

.market-stage:last-child {
  border-right: 0;
  padding-right: 0;
}

.market-stage::before {
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--copper);
  content: "";
}

.stage-heading {
  min-height: 116px;
}

.stage-heading span {
  display: block;
  margin-bottom: 24px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
}

.market-stage > p {
  color: var(--ink-soft);
}

.market-stage > strong {
  display: block;
  margin-top: 34px;
  font-size: 14px;
}

.vision {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.62fr);
  gap: 48px 90px;
  background: var(--paper);
}

.vision-statement,
.vision-copy,
.positioning-contrast {
  width: 100%;
  max-width: 760px;
}

.vision-statement {
  justify-self: end;
}

.vision-copy {
  align-self: end;
}

.vision-copy p {
  color: var(--ink-soft);
  font-size: 18px;
}

.positioning-contrast {
  grid-column: 1 / -1;
  max-width: var(--max);
  justify-self: center;
  border-top: 1px solid var(--ink);
}

.contrast-line {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) 1fr;
  gap: 42px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 25px 0;
}

.contrast-line span {
  font-family: var(--font-display);
  font-size: 30px;
}

.contrast-line p {
  margin-bottom: 0;
}

.contrast-line--muted {
  color: #777c78;
}

.contrast-line--muted span {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.contrast-line--active span {
  color: var(--copper-dark);
}

.method {
  background: var(--white);
}

.method-heading,
.method-workbench {
  width: min(var(--max), 100%);
  margin-right: auto;
  margin-left: auto;
}

.method-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.46fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 68px;
}

.method-heading > p:last-child {
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 18px;
}

.method-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.52fr);
  gap: 80px;
  align-items: start;
}

.method-list {
  margin-bottom: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.method-step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 150px;
  gap: 24px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 25px 0;
  cursor: default;
  transition:
    background-color 160ms ease,
    padding 160ms ease;
}

.method-step:hover,
.method-step:focus-visible,
.method-step.is-active {
  padding-right: 14px;
  padding-left: 14px;
  background: var(--paper);
}

.method-number {
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
}

.method-step h3 {
  font-size: 25px;
}

.method-step p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.method-step small {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
  text-align: right;
  text-transform: uppercase;
}

.method-artifact {
  position: sticky;
  top: 112px;
}

.artifact-sheet {
  min-height: 470px;
  border: 1px solid var(--ink);
  padding: 30px;
  background: var(--paper);
  box-shadow: 18px 18px 0 var(--paper-strong);
}

.artifact-sheet > span {
  display: block;
  margin-bottom: 80px;
  color: var(--copper);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.artifact-sheet strong {
  display: block;
  min-height: 96px;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
}

.artifact-lines {
  display: grid;
  gap: 13px;
  margin: 30px 0;
}

.artifact-lines i {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--line);
}

.artifact-lines i:nth-child(2),
.artifact-lines i:nth-child(4) {
  width: 72%;
}

.artifact-sheet p {
  color: var(--ink-soft);
  font-size: 14px;
}

.method-artifact .text-link {
  margin-top: 34px;
}

.case-study {
  display: grid;
  min-height: 860px;
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1fr);
  background: var(--ink);
  color: var(--white);
}

.case-media {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: 1fr 0.56fr;
  overflow: hidden;
  background: #303530;
}

.case-media > img,
.case-media > .wp-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-image-main {
  min-height: 860px;
  object-position: 47% center;
}

.case-image-detail {
  border-left: 1px solid rgba(251, 251, 248, 0.32);
  object-position: center;
}

.case-coordinate {
  position: absolute;
  bottom: 24px;
  left: 24px;
  padding: 9px 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.case-content {
  align-self: center;
  padding: 96px 70px;
}

.case-content h2 {
  max-width: 720px;
}

.case-lead {
  max-width: 660px;
  color: rgba(251, 251, 248, 0.75);
  font-size: 18px;
}

.case-facts {
  display: grid;
  margin: 52px 0 42px;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.case-facts div {
  min-height: 134px;
  padding: 22px 18px;
  border-right: 1px solid var(--line-dark);
}

.case-facts div:first-child {
  padding-left: 0;
}

.case-facts div:last-child {
  border-right: 0;
  padding-right: 0;
}

.case-facts dt {
  margin-bottom: 18px;
  color: rgba(251, 251, 248, 0.5);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.case-facts dd {
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1.05;
}

.case-process {
  margin: 0 0 36px;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.case-process li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--line-dark);
  padding: 15px 0;
  color: rgba(251, 251, 248, 0.78);
  font-size: 14px;
}

.case-process span {
  color: var(--copper);
}

.case-actions {
  display: grid;
  gap: 20px;
}

.case-actions small {
  max-width: 640px;
  color: rgba(251, 251, 248, 0.48);
  font-size: 11px;
}

.difference {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 0.7fr);
  gap: 90px;
  align-items: center;
  background: var(--white);
}

.difference-copy {
  width: 100%;
  max-width: 720px;
  justify-self: end;
}

.difference-copy p {
  max-width: 660px;
  color: var(--ink-soft);
  font-size: 18px;
}

.difference-visual {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 170px;
  align-items: end;
}

.difference-visual figure {
  position: relative;
  margin-bottom: 0;
}

.difference-visual figure::before {
  position: absolute;
  z-index: 2;
  inset: 18px;
  border: 1px solid rgba(251, 251, 248, 0.56);
  content: "";
  pointer-events: none;
}

.difference-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 58% 25%;
}

.production-notes {
  margin-left: -1px;
  border: 1px solid var(--ink);
}

.production-notes span {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 16px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.production-notes span:last-child {
  border-bottom: 0;
}

.situations {
  background: var(--paper);
}

.situation-list {
  display: grid;
  width: min(var(--max), 100%);
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}

.situation {
  border-right: 1px solid var(--line);
  padding: 26px 26px 0;
}

.situation:first-child {
  padding-left: 0;
}

.situation:last-child {
  border-right: 0;
  padding-right: 0;
}

.situation img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.76);
  transition:
    filter 240ms ease,
    transform 240ms ease;
}

.situation:hover img {
  filter: saturate(1);
  transform: scale(1.01);
}

.situation-content {
  padding: 24px 0 12px;
}

.situation-content > span {
  display: block;
  margin-bottom: 28px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
}

.situation-content p {
  min-height: 96px;
  color: var(--ink-soft);
}

.exclusivity {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(400px, 0.7fr);
  gap: 50px 90px;
  align-items: start;
  padding: 110px max(var(--gutter), calc((100% - var(--max)) / 2));
  background: var(--green);
  color: var(--white);
}

.exclusivity-intro p:last-child {
  max-width: 620px;
  color: rgba(251, 251, 248, 0.74);
  font-size: 18px;
}

.commitment-list {
  border-top: 1px solid var(--line-dark);
}

.commitment-list p {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line-dark);
  padding: 18px 0;
  font-weight: 700;
}

.commitment-list span {
  color: rgba(251, 251, 248, 0.44);
  font-size: 12px;
}

.exclusivity > .button {
  grid-column: 1 / -1;
  justify-self: start;
}

.trust {
  background: var(--white);
}

.trust-grid {
  display: grid;
  width: min(var(--max), 100%);
  margin: 0 auto;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
}

.trust-grid > div {
  min-height: 220px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.trust-grid > div:first-child {
  padding-left: 0;
}

.trust-grid > div:last-child {
  border-right: 0;
  padding-right: 0;
}

.trust-grid strong {
  display: block;
  min-height: 72px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.05;
}

.trust-grid p {
  color: var(--ink-soft);
  font-size: 14px;
}

.properties {
  background: var(--paper);
}

.property-grid {
  display: grid;
  width: min(var(--max), 100%);
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.property-card {
  min-width: 0;
  border-top: 1px solid var(--ink);
  background: transparent;
}

.property-card a {
  display: block;
}

.property-card figure {
  position: relative;
  min-height: 240px;
  margin-bottom: 0;
  overflow: hidden;
  background: var(--paper-strong);
}

.property-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 300ms ease;
}

.property-card:hover img {
  transform: scale(1.025);
}

.property-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.property-card-content {
  padding-top: 22px;
}

.property-card-topline {
  display: flex;
  min-height: 34px;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  color: var(--copper-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.property-card-topline strong {
  color: var(--ink);
  text-align: right;
}

.property-card h3 {
  font-size: 29px;
}

.property-card p {
  color: var(--ink-soft);
  font-size: 14px;
}

.property-meta {
  color: var(--ink) !important;
  font-size: 12px !important;
  font-weight: 800;
  text-transform: uppercase;
}

.property-action {
  display: inline-block;
  margin-top: 8px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 800;
}

.properties-empty {
  display: flex;
  width: min(var(--max), 100%);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}

.properties-empty p {
  margin-bottom: 0;
}

.analysis {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(560px, 0.7fr);
  gap: 80px;
  align-items: start;
  padding: 120px max(var(--gutter), calc((100% - var(--max)) / 2));
  background: var(--ink);
  color: var(--white);
}

.analysis-copy {
  position: sticky;
  top: 112px;
}

.analysis-copy > p:not(.section-kicker) {
  max-width: 620px;
  color: rgba(251, 251, 248, 0.72);
  font-size: 18px;
}

.analysis-next {
  margin: 44px 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.analysis-next li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  border-bottom: 1px solid var(--line-dark);
  padding: 14px 0;
  color: rgba(251, 251, 248, 0.78);
  font-size: 14px;
}

.analysis-next span {
  color: var(--copper);
}

.analysis-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.analysis-direct a {
  color: var(--white);
  font-weight: 800;
}

.analysis-form {
  display: grid;
  gap: 18px;
  border-top: 1px solid var(--line-dark);
  padding-top: 28px;
}

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

.analysis-form label {
  display: grid;
  gap: 8px;
  color: rgba(251, 251, 248, 0.76);
  font-size: 13px;
  font-weight: 800;
}

.analysis-form input,
.analysis-form select,
.analysis-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(251, 251, 248, 0.24);
  border-radius: 2px;
  background: rgba(251, 251, 248, 0.07);
  color: var(--white);
  padding: 12px 13px;
}

.analysis-form select {
  color-scheme: dark;
}

.analysis-form textarea {
  min-height: 110px;
  resize: vertical;
}

.analysis-form input::placeholder,
.analysis-form textarea::placeholder {
  color: rgba(251, 251, 248, 0.4);
}

.analysis-form input:focus,
.analysis-form select:focus,
.analysis-form textarea:focus {
  border-color: var(--copper);
  outline: 2px solid transparent;
}

.optional-fields {
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 16px 0;
}

.optional-fields summary {
  min-height: 44px;
  cursor: pointer;
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.optional-grid {
  margin-top: 18px;
}

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

.consent {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px !important;
  font-weight: 500 !important;
}

.consent input {
  min-height: 20px;
  margin-top: 1px;
  padding: 0;
  accent-color: var(--copper);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
}

.form-explainer {
  margin-bottom: 0;
  color: rgba(251, 251, 248, 0.54);
  font-size: 12px;
}

.form-submit {
  width: 100%;
}

.form-status {
  min-height: 22px;
  margin-bottom: 0;
  color: var(--paper);
  font-size: 13px;
}

.site-footer {
  padding: 72px var(--gutter) 34px;
  background: var(--graphite);
  color: rgba(251, 251, 248, 0.74);
}

.footer-top,
.footer-grid,
.footer-bottom {
  width: min(var(--max), 100%);
  margin-right: auto;
  margin-left: auto;
}

.footer-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-signature strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
}

.footer-signature p {
  margin: 7px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.6fr;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.footer-grid > div {
  min-height: 160px;
  padding: 24px;
  border-right: 1px solid var(--line-dark);
}

.footer-grid > div:first-child {
  padding-left: 0;
}

.footer-grid > div:last-child {
  border-right: 0;
}

.footer-label {
  display: block;
  margin-bottom: 22px;
  color: rgba(251, 251, 248, 0.42);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin-bottom: 7px;
  color: var(--white);
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  font-size: 12px;
}

.footer-bottom p {
  margin-bottom: 0;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.mobile-contact-bar {
  display: none;
}

.archive-page,
.content-page {
  min-height: 80svh;
  background: var(--white);
}

.page-hero,
.article-shell {
  padding-right: var(--gutter);
  padding-left: var(--gutter);
}

.page-hero {
  padding-top: 170px;
  padding-bottom: 74px;
}

.page-hero h1,
.article-header h1 {
  color: var(--ink);
  font-size: 72px;
}

.page-hero p,
.article-header p {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 18px;
}

.post-grid-section {
  padding: 0 var(--gutter) 110px;
}

.journal-grid {
  display: grid;
  width: min(var(--max), 100%);
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.journal-card {
  border-top: 1px solid var(--ink);
}

.journal-card a {
  display: block;
  padding-top: 20px;
}

.journal-card figure {
  margin-bottom: 20px;
}

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

.journal-card > a > span {
  display: block;
  color: var(--copper-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.journal-card h2,
.journal-card h3 {
  font-size: 30px;
}

.journal-card p {
  color: var(--ink-soft);
}

.pagination-wrap {
  width: min(var(--max), 100%);
  margin: 40px auto 0;
}

.article-shell {
  width: min(calc(var(--max) + (var(--gutter) * 2)), 100%);
  margin: 0 auto;
  padding-top: 170px;
  padding-bottom: 110px;
}

.article-header {
  max-width: 900px;
  margin-bottom: 44px;
}

.article-price {
  display: block;
  margin: -8px 0 18px;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 500;
}

.article-property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.article-property-meta span {
  border-bottom: 1px solid var(--line);
  padding: 7px 0;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.article-image {
  margin-bottom: 52px;
}

.article-image img {
  width: 100%;
  max-height: 700px;
  object-fit: cover;
}

.article-content {
  max-width: 780px;
  font-size: 18px;
}

.article-content h2,
.article-content h3 {
  margin-top: 48px;
}

.article-content h2 {
  font-size: 46px;
}

.article-content a {
  color: var(--copper-dark);
  font-weight: 800;
  text-decoration: underline;
}

.property-contact {
  display: flex;
  max-width: 780px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}

.property-contact p {
  max-width: 420px;
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.1;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

html.preview-capture .site-header {
  position: absolute;
}

html.preview-capture .method-artifact,
html.preview-capture .analysis-copy {
  position: static;
}

html.preview-capture [data-reveal] {
  opacity: 1;
  transform: none;
}

@media (max-width: 1180px) {
  :root {
    --gutter: 36px;
  }

  h1 {
    font-size: 72px;
  }

  h2 {
    font-size: 54px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    right: 18px;
    left: 18px;
    display: none;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .admin-bar .site-nav {
    top: 110px;
  }

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

  .nav-links {
    display: grid;
    gap: 0;
  }

  .nav-links a {
    display: block;
    min-height: 48px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    margin: 12px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 42px;
  }

  .method-workbench {
    gap: 48px;
  }

  .case-study {
    grid-template-columns: 0.8fr 1fr;
  }

  .case-content {
    padding: 80px 48px;
  }

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

  .case-facts div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
    padding: 18px 0;
  }

  .case-facts div:last-child {
    border-bottom: 0;
  }

  .case-facts dt {
    margin-bottom: 8px;
  }

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

  .trust-grid > div:nth-child(2) {
    border-right: 0;
  }

  .trust-grid > div:nth-child(3),
  .trust-grid > div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .analysis {
    grid-template-columns: minmax(0, 0.72fr) minmax(500px, 0.8fr);
    gap: 48px;
  }
}

@media (max-width: 900px) {
  :root {
    --gutter: 24px;
  }

  .admin-bar .site-header {
    top: 46px;
  }

  .admin-bar .site-nav {
    top: 124px;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 46px;
  }

  .section {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .hero {
    min-height: 740px;
    height: auto;
    max-height: none;
    padding-top: 136px;
    padding-bottom: 82px;
  }

  .hero::after {
    width: 100%;
    background: rgba(8, 11, 9, 0.48);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-sequence {
    max-width: 560px;
  }

  .market-timeline {
    grid-template-columns: 1fr 1fr;
  }

  .market-stage {
    min-height: 340px;
    border-bottom: 1px solid var(--line);
  }

  .market-stage:nth-child(2) {
    border-right: 0;
  }

  .market-stage:first-child,
  .market-stage:last-child {
    padding-right: 26px;
    padding-left: 26px;
  }

  .vision,
  .method-heading,
  .method-workbench,
  .difference,
  .exclusivity,
  .analysis {
    grid-template-columns: 1fr;
  }

  .vision-statement,
  .vision-copy,
  .difference-copy {
    max-width: none;
    justify-self: stretch;
  }

  .positioning-contrast {
    grid-column: auto;
  }

  .method-heading {
    gap: 18px;
  }

  .method-workbench {
    gap: 60px;
  }

  .method-artifact,
  .analysis-copy {
    position: static;
  }

  .case-study {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .case-media {
    min-height: 620px;
  }

  .case-image-main {
    min-height: 620px;
  }

  .difference {
    gap: 60px;
  }

  .difference-visual {
    max-width: 620px;
  }

  .situation-list,
  .property-grid {
    grid-template-columns: 1fr;
  }

  .situation {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) 1fr;
    gap: 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 26px 0;
  }

  .situation img {
    height: 100%;
    min-height: 280px;
  }

  .situation-content p {
    min-height: auto;
  }

  .exclusivity {
    gap: 44px;
  }

  .exclusivity > .button {
    grid-column: auto;
  }

  .section-intro--split {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .property-grid {
    gap: 52px;
  }

  .analysis {
    gap: 70px;
  }

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

  .footer-grid > div:nth-child(2) {
    border-right: 0;
  }

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
    min-height: auto;
    border-top: 1px solid var(--line-dark);
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 18px;
  }

  body {
    padding-bottom: 62px;
  }

  h1 {
    font-size: 46px;
    line-height: 0.98;
  }

  h2 {
    font-size: 38px;
    line-height: 1;
  }

  h3 {
    font-size: 25px;
  }

  .site-header {
    min-height: 72px;
    padding: 12px 16px;
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .brand-copy small {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .site-nav {
    top: 72px;
    right: 12px;
    left: 12px;
  }

  .admin-bar .site-nav {
    top: 118px;
  }

  .section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .section-intro {
    margin-bottom: 42px;
  }

  .section-intro > p:last-child {
    font-size: 16px;
  }

  .hero {
    min-height: 680px;
    padding-top: 104px;
    padding-bottom: 58px;
  }

  .hero-media {
    object-position: 62% 24%;
  }

  .hero-overlay {
    background: rgba(10, 13, 11, 0.62);
  }

  .hero-frame {
    inset: 86px 10px 28px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-support {
    font-size: 14px;
  }

  .hero-actions {
    display: grid;
  }

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

  .hero-sequence {
    display: none;
  }

  .hero-legal {
    right: 18px;
    bottom: 12px;
    left: 18px;
  }

  .market-problem {
    padding-top: 44px;
  }

  .market-timeline {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .market-stage,
  .market-stage:first-child,
  .market-stage:last-child {
    min-height: auto;
    border-top: 1px solid var(--ink);
    border-right: 0;
    padding: 24px 0 32px 26px;
  }

  .market-stage::before {
    left: 0;
  }

  .stage-heading {
    min-height: auto;
  }

  .market-stage > strong {
    margin-top: 22px;
  }

  .vision {
    gap: 28px;
  }

  .contrast-line {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contrast-line span {
    font-size: 26px;
  }

  .method-heading {
    margin-bottom: 44px;
  }

  .method-step {
    grid-template-columns: 42px 1fr;
    gap: 16px;
  }

  .method-step small {
    grid-column: 2;
    text-align: left;
  }

  .method-step:hover,
  .method-step:focus-visible,
  .method-step.is-active {
    padding-right: 8px;
    padding-left: 8px;
  }

  .artifact-sheet {
    min-height: 390px;
    padding: 24px;
    box-shadow: 10px 10px 0 var(--paper-strong);
  }

  .artifact-sheet > span {
    margin-bottom: 54px;
  }

  .artifact-sheet strong {
    font-size: 36px;
  }

  .case-media {
    min-height: 520px;
    grid-template-columns: 1fr;
  }

  .case-image-main {
    min-height: 520px;
  }

  .case-image-detail {
    display: none;
  }

  .case-content {
    padding: 68px 18px;
  }

  .case-facts dd {
    font-size: 24px;
  }

  .difference-visual {
    grid-template-columns: 1fr;
  }

  .production-notes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: -1px 0 0;
  }

  .production-notes span:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

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

  .situation img {
    min-height: 0;
  }

  .exclusivity {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .exclusivity .button {
    width: 100%;
  }

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

  .trust-grid > div,
  .trust-grid > div:first-child,
  .trust-grid > div:last-child {
    min-height: auto;
    border-top: 1px solid var(--line);
    border-right: 0;
    padding: 24px 0;
  }

  .trust-grid > div:first-child {
    border-top: 0;
  }

  .trust-grid strong {
    min-height: auto;
    margin-bottom: 18px;
  }

  .properties-empty {
    display: grid;
  }

  .analysis {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .form-row,
  .optional-grid {
    grid-template-columns: 1fr;
  }

  .form-field--full {
    grid-column: auto;
  }

  .site-footer {
    padding-top: 54px;
  }

  .footer-top,
  .footer-bottom {
    display: grid;
  }

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

  .footer-grid > div,
  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    min-height: auto;
    grid-column: auto;
    border-top: 1px solid var(--line-dark);
    border-right: 0;
    padding: 24px 0;
  }

  .footer-bottom {
    gap: 14px;
  }

  .mobile-contact-bar {
    position: fixed;
    z-index: 80;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    height: 62px;
    grid-template-columns: 0.72fr 1fr;
    border-top: 1px solid var(--line);
    background: var(--white);
  }

  .mobile-contact-bar a {
    display: grid;
    place-items: center;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
  }

  .mobile-contact-bar a + a {
    background: var(--copper);
    color: var(--white);
  }

  .page-hero,
  .article-shell {
    padding-right: var(--gutter);
    padding-left: var(--gutter);
  }

  .page-hero {
    padding-top: 130px;
  }

  .page-hero h1,
  .article-header h1 {
    font-size: 48px;
  }

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

  .article-shell {
    padding-top: 130px;
  }

  .article-content {
    font-size: 16px;
  }

  .property-contact {
    display: grid;
  }

  .property-contact .button {
    width: 100%;
  }
}

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

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
